Commit graph

615 commits

Author SHA1 Message Date
Zangetsu38
bee56386cc gui/vita3k updater: Refactor and fix get commit descriptions.
- Refactored page count calculation for clarity and efficiency with also adding thread safe.
- Improved and fix per-page commit handling to correctly display remaining commits when exceeding 100.
2025-03-31 18:37:15 +03:00
Zangetsu38
723c76a792 gui/manual: Refactor page loading logic.
- Simplified by replacing directory iteration with direct use of indexed filenames (e.g., 001.png, 002.png).
2025-02-06 02:05:06 +03:00
LinAGKar
e60095f104 Fix some language codes in get_firmware_file
Otherwise you get sent to an error page when trying to download firmware in those languages.
2025-02-05 23:52:56 +03:00
Saturnsky
f0c22ea2e9 gui/highdpi: auto adjust font size based on DPI and window scale 2025-01-21 10:30:25 +03:00
SaturnSky
57afbc4f75 gui/highdpi: Split DPI scaling into system and manual handling 2025-01-21 10:30:25 +03:00
SaturnSky
134d9e6446 gui/highdpi: Separate logical and drawable viewport management 2025-01-21 10:30:25 +03:00
Pedro Montes Alcalde
4a14d546ba
Tick Tick Tick, thats the sound of 2024 flying by (#3503) 2025-01-19 18:51:43 -03:00
Zangetsu38
251ef08eec gui/initial setup: Fix path of serialize config.
- Using config path instead of base path, should fix issue on linux and in portable mode.
2025-01-12 00:52:44 +03:00
Zangetsu38
69a04925a6 interface: Adding support of pup file in drag and drop. 2025-01-09 18:48:42 +03:00
Zangetsu38
9de942316d gui/initial setup: Add two gui setting.
- Fix size of column of select language.
- Save config any time press on next.
- Small clean code.
- Change bg color.
2025-01-09 18:15:20 +03:00
Zangetsu38
5720241850 packages: Implement decrypt fself in a fly.
- Refactor license.
2025-01-02 18:55:43 +03:00
Saturnsky
c8e621f328
gui/controllers: align controller assignment behavior with Vita TV (#3447)
* gui/controllers: align controller assignment behavior with Vita TV

* controllers: separate port indexing between sceCtrl and SDL_GameController logic

* controllers: handle null controller and name during initialization
2025-01-01 23:57:53 +01:00
SaturnSky
880365afb8 gui/imgui: Backport imgui_impl_sdl from vita3k-android
Co-authored-by: Macdu <Macdu@users.noreply.github.com>
2024-12-31 14:47:43 +01:00
Zangetsu38
d0d7d75c62 gui/common dialog: Refactor display list mode.
- fix when game using delete mode like select new save or exist.
2024-12-31 02:02:47 +03:00
Zangetsu38
0a3ba020c3 gui/save data dialog: fix display slot with empty param in load list.
- Same app display empty save in load mode when empty param is give on this mode.
- fix position of title of list when is too long.
gui/ime dialog: Fix enter name with delete submit and cancel button mapped on keyboard.
2024-12-25 18:02:39 +03:00
Zangetsu
ad1ba0c083
gui/home screen: refactor App filtered, moving to string. (#3452)
- Is better code more cleaner.
2024-12-13 22:43:16 +01:00
nishinji
7c04fd250a
gui/trophy_collection: Allow to display hidden trophy (#3431) 2024-12-03 23:54:20 +01:00
nishinji
b06cdf6105 gui/app_context_menu: Improvements to update_history
- Improved code readability.
- Fixed so that the latest update is at the top in the update history.
2024-11-27 14:14:18 +03:00
bookmist
15a9e614aa gui: fix bug in previous commit (PR #3425). Can't close settings dialog 2024-11-09 13:32:09 +03:00
bookmist
410eaf4d0e gui: refactoring and cleanup
* extract functions to draw text centered
* fix a bug when one button could be mapped to two commands (for screenshots and texture replacement)
* replace magic strings to enum types, move static vars inside corresponding functions, fix datatypes
* global vars as static, add or remove ref if needed
2024-11-09 02:18:08 +03:00
bookmist
f1df4b3b33 gui: Settings dialog: more translatable strings 2024-11-09 02:18:08 +03:00
Zangetsu38
70a42a7125 package: Add support installation of Preinstalled firmware.
- Add support of exfat partition for installing it.
gui/initial setup: Add button for download Preinstalled Firmware.
2024-11-08 19:52:46 +03:00
Zangetsu
d30f4a962a
gui/settings: Skip theme list refresh if no recent updates detected. (#3413) 2024-10-28 22:16:55 +01:00
oltolm
c61895e6f4
vita3k: Add support for mingw-w64 (#3406)
* make the code compile on mingw-w64

* make compile with Clang 19

* make compile with GCC
2024-10-26 23:41:51 +02:00
Zangetsu
f8893fbfe8
gui: Refactor notice handling and app selection. (#3404)
- Switch from opening app to selecting it for newly installed apps.
- Implement erase app notice when corresponding app is deleted.
- Refactor structures to remove redundant variables.
2024-10-26 21:16:39 +02:00
双子叶植物
9fb28ae7ce
gui/ime: Fix IME crash when backspace button is pressed when the input box is empty (#3405)
Co-authored-by: Dicot0721 <dicot1450@qq.com>
2024-10-13 15:34:47 +02:00
Zangetsu
383d14020b
gui/controllers dialog: Implement swap for controller ports. (#3383) 2024-10-06 21:38:28 +02:00
scribam
01f6ec6de2 gui: Fix load_image pointer validity check 2024-10-05 20:36:11 +02:00
Saturnsky
288869fb1c
gui/information bar: Fix iterator invalidation bug in notice list processing (#3389) 2024-10-05 18:14:42 +02:00
nishinji
1f6ce2fc67
gui/pkg_install_dialog: Allow license files to be automatically selected if it is already exist (#3370)
Co-authored-by: bookmist <roshst@yandex.ru>
2024-10-03 20:57:50 +02:00
Zangetsu38
10b8bf32d9 gui/perf overlay: Fix window size on Mininum detail. 2024-09-28 02:42:45 +03:00
nishinji
048e83c262
vita3k: Use hex for error codes (#3387)
* vita3k: Use hex as it is preferred in error codes

* vita3k: Fixed small mistakes
2024-09-25 00:31:28 +02:00
Zangetsu
9ad860e14e
util/net utils: Implement file download resume. (#3375)
gui/vita3k update: Restore download resume for the latest vita3k build.
2024-09-23 21:53:41 +02:00
Zangetsu
3e66dcac00
gui/perf overlay: Refactor calcul window size. (#3381)
- Fix Window size when using scaling.
2024-09-22 20:53:20 +02:00
scribam
77abeaa167
vita3k: More cleanup (#3379)
* vita3k: Use C++17 nested namespace definition

* vita3k: Remove redundant call to c_str()

* vita3k: Prefer C++ header

* vita3k: Use structured bindings

* shader: Add explicit fallthrough

* vita3k: Cleanup headers and dependencies

* util: Add WIN32_LEAN_AND_MEAN before <Windows.h>

* modules: Remove redundant 'const' specifier on a constexpr variable

* modules: Remove redundant return statement at the end of a function with a void return type

* clang-format: Use C++20 standard

* vita3k: Insert new line at EOF

* host: rename filesystem.hpp to filesystem.h
2024-09-18 21:48:08 +02:00
scribam
206f152433 gui/interface: Fix reinstall using DnD and Vulkan 2024-09-10 22:38:48 +02:00
Zangetsu38
2624242770 gui/vita3k updater: Fix batch script path handling on Windows.
- Replaced '/' with '\\' to fix path handling and resolve issues caused by incorrect path interpretation.
2024-09-07 14:04:17 +02:00
scribam
f80e3eaf55 gui: free sdl cursors for all backends 2024-09-04 21:18:12 +02:00
scribam
0a56702e7d external: update imgui to version v1.91.1 2024-09-04 21:18:12 +02:00
scribam
313ffcee9e imgui: ImGuiChildFlags_Border migration 2024-09-02 14:48:17 +02:00
scribam
612d1f8d81
vita3k: cleanup (#3357)
* module: add missing pragma once

* cmake/vita3k: delete unused files

* vita3k: delete useless semi-colons

* vita3k: cleanup headers

* audio: add missing override to destructors

* vita3k: fix typos

* external: disable unused curl targets
2024-09-02 13:03:58 +02:00
nishinji
541631822c gui: some small improvements
- Add option to disable motion
- Add jpeg format support for screenshots
2024-08-08 18:45:55 +02:00
nishinji
b3b0b22210 vita3k/interface: support JPEG screenshot format 2024-08-08 18:45:55 +02:00
scribam
839e8d393f sdl: build compatibility with version < 2.24.0 2024-08-06 08:10:48 +02:00
CeruleanSky
048a873151
[gui] common_dialog.cpp fix save info dialog crash (#3337)
* [gui] common_dialog.cpp fix save info dialog crash

If you click the [I] button to view info for a save file in the save dialog then press down a few times there is an access violation.

* clang-format
2024-07-27 12:12:15 +02:00
Pedro Montes Alcalde
2711a71af6
gui: Fix char* comparasion being made over string literal 2024-07-19 21:12:01 -03:00
scribam
80074c8f19
external: Update submodules (#3329)
* external: Update CLI11 to version v2.4.2

* external: Update cubeb

* external: Update curl to 8.8.0

* external: Update fmt to 11.0.1

* external: Update googletest to version v1.15.0

* external: Update imgui to version v1.90.9

* external: Update imgui_club

* external: Update nativefiledialog-extended to version v1.2.0

* external: Update pugixml to version v1.14

* external: Update spdlog to v1.14.1

* external: Update stb

* external: Update tracy to version v0.11.0

* external: Update vita-toolchain
2024-07-17 07:59:00 +02:00
Zangetsu
aeed5df8c9
gui/info bar: fix position of notice count. (#3309) 2024-06-19 13:31:04 +02:00
bookmist
e478c033f9 gui: wrap tooltips on window border 2024-06-14 01:25:46 +03:00
nishinji
b8ef1dd732 vita3k: Use constexpr for constants and small optimize 2024-05-21 23:42:57 +02:00