Commit graph

98 commits

Author SHA1 Message Date
Pedro Montes Alcalde
4a14d546ba
Tick Tick Tick, thats the sound of 2024 flying by (#3503) 2025-01-19 18:51:43 -03:00
nishinji
7c04fd250a
gui/trophy_collection: Allow to display hidden trophy (#3431) 2024-12-03 23:54:20 +01:00
bookmist
5857acd8e9 lang: more verbose error on wrong lang.xml 2024-11-09 02:18:08 +03:00
bookmist
f1df4b3b33 gui: Settings dialog: more translatable strings 2024-11-09 02:18:08 +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
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
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
Croden1999
624b57b685 vita3k/interface: More detailed error message. 2024-05-20 17:41:12 +02:00
Croden1999
4785a89cbd gui, lang: Cleanup and improvements.
- gui/lang: Minor lang strings code cleanup.
- gui: Unified window interface.
- gui/user management: Fixed the Open User Folder menuitem.
- lang: Remove initial_setup in id/ms.xml.
2024-03-30 22:32:19 +01:00
bookmist
1fda880a94 vita3k: big code cleanup
Improvements
* lang: a bit more verbose error on wrong lang xml

Bugfixes
* kernel/sync_primitives: fix theoretically possible AV
* modules/SceAudio: a bit more correct sceAudioOutSetConfig
* fix wrong objects initialisation ({0} -> {})

Warning fixes
* clang warning: Macro argument should be enclosed in parentheses
[bugprone-macro-parentheses]
* modules: set unsigned type for Sce*ErrorCode enums
* clang warning: variable might be not be initialized
* clang warning: Function returns by const value. Consider returning by non-const value instead.
* clang warning: Prefer transparent functors [modernize-use-transparent-functors]

Refactoring
* io/device: move functions implementation from .h to .cpp file
* vita3k: fix fs::path usage
* clang warning: 'if' statement is unnecessary; deleting null pointer has no effect
* vita3k: use structured bindings and references in for-each-loops
* vita3k: simplify container operations, extract frequent operations to utility functions
* clang⚠️ 'contains' member function can be used
* kernel/sync_primitives: refactoring. drop unused parameter of handle_timeout
* vita3k: drop unused function parameters

* vita3k: fix typecasts
use static_cast instead of reinterpret casts if possible
use correct constants (1/1.0/1.0f)
correct variable types to minimise typecasts
use explicit typecasts (not everywhere)
replace c-style typecasts to c++ style typecasts (not everywhere)
* clang warning: remove redundant typecasts
* clang warning: Cast drops const qualifier

Optimisation
* vita3k: remove unused includes
* clang warning: Constness of returning variable prevents automatic move
[performance-no-automatic-move]
* clang warning: String concatenation results in allocation of unnecessary temporary strings
[performance-inefficient-string-concatenation]
* vita3k: use std::move
* vita3k: optimization. push_back -> emplace_back
* vita3k: fix datatypes to avoid unnesessary conversions
* clang warning: remove unneeded string->c_str->string conversion
* clang warning: The parameter is copied for each invocation but only used as a const reference; consider making it a const reference [performance-unnecessary-value-param]
* clang warning: 'find' called with a string literal consisting of a single character
[performance-faster-string-find]
* clang warning: Result of a postfix operator is discarded, consider replacing it with a prefix operator
* clang warning: Pass value parameters by const reference

Code cleanup
* io/io: remove once used variables
* net/posixsocket: remove struct keyword
* vita3k: use raw string literals to avoid excessive escaping
* vita3k: refactoring. replace Ptr<> to pointer in Sce functions
* vita3k: drop unused variables and incorrect comments
* clang warning: readability-inconsistent-declaration-parameter-name
* clang warning: Extra ';' after member function definition
* clang warning: Possible misuse of comma operator (, is used instead of ;)
* clang warning: Algorithm accepting an iterator and a count can be used
* clang warning: Declaration and assignment can be joined
* clang warning: Type trait can be simplified using a template alias or a variable template

* vita3k: cleanup class methods
remove unimplemented (and obviously not used) methods
move deleted methods to public
change empty body to =default
remove auto constructors
set member default values
2024-03-18 15:44:56 +03:00
HuanJiCanShang
1b0e65e66d
gui/settings: Add audio tab translation (#3215)
* gui/settings dialog: Fixed a bug.

* gui/settings dialog: Fixed a bug.
2024-02-18 19:10:48 +01:00
Croden
bfb270c613
gui/lang: Update minor lang strings. (#3206) 2024-02-08 12:35:56 +01:00
Zangetsu
ed9a01a2f9
build: fix openssl pre-build path. (#3205)
lang: fix typo of audio settings.
2024-02-04 10:40:36 +01:00
Zangetsu
b5aa1ec5dd
gui/settings dialog; Add audio tab & small refactor. (#3198)
audio: remove double init oF global volume value.
2024-02-01 23:29:43 +01:00
Steveice10
b0ef22a1a2
gui, audio: Implement global volume percent setting. (#3194) 2024-01-28 23:25:32 +01:00
Croden
b1f8cb510d
gui/settings_dialog: Update lang strings and adjust debug options. (#3168)
- gui/content_manager: Fixed small issue about missing addcont (DLC) title.
- lang: Fixed pl.xml and ms.xml load error.
2024-01-14 21:33:28 +01:00
Pedro Montes Alcalde
34565e3ef4
Vita2024K: Happy 2024 2024-01-01 12:36:32 -03:00
Croden
62a72bd7c6
gui/lang: Updated translations and fixed typos. (#3020) 2023-12-11 14:15:05 +01:00
Zangetsu
4ac8a41669
lang: Add two static user languages. (#3100)
- Indonesia and Malaysia.
gui/settings dialog: Add current system languages used.

Co-authored-by: Kitakatarashima <secretstarsgoldenid@gmail.com>
2023-11-29 22:23:40 +01:00
Croden1999
b94c5f5dff gui/main_menubar: Add the Open Texture Path menuitem.
gui/app_context_menu: Add the Open/Delete Textures Folder menuitem.
2023-11-26 16:10:33 +01:00
Zangetsu
7674912063
lang: Add support of user custom language. (#3083) 2023-11-21 12:43:13 +01:00
Pedro Montes Alcalde
1bf9a0fbc5
io: Fix export/import textures path being same place as exec in linux 2023-11-19 18:00:32 -03:00
Croden
ecdeb625d6
gui/lang: Improve dialog for some lang strings. (#3067)
- gui/lang: Update lang strings in Settings Dialog and Initial Setup.
- Other fixes and translation update.

Co-authored-by: HuanJiCanShang <HuanJiCanShang@users.noreply.github.com>
2023-11-14 23:09:31 +01:00
redpolline
f165e43409 emuenv: use XDG_DATA_DIRS / XDG_CACHE_HOME / XDG_CONFIG_HOME to init paths on Linux only
app: Fixes to support changes to emuenv, move path init from main.cpp to app::init_paths()
compat: Fixes to support changes to emuenv
config: Fixes to support changes to emuenv
lang: Fixes to support changes to emuenv
util: Fixes to support changes to emuenv

Note: End-users wishing to use the base_dir as their storage for user-data (original behavior)
can do so under Linux by running the following in a terminal or shell script (Windows and other OSes are not affected by this commit):
'XDG_DATA_DIRS="./" XDG_CACHE_HOME="./" XDG_CONFIG_HOME="./" ./Vita3K'

This change is needed to build flatpaks (Issue Vita3K/Vita3K#1418) and to fix Issue Vita3K/Vita3K#664 (use XDG directory standard for store config and logs).
2023-10-17 13:31:19 +02:00
Croden1999
eb6c81b633 gui/app context menu: Add lang strings in time_used.
gui, lang: Small lang strings refactor and fixed the description.
2023-10-14 14:58:13 +02:00
Croden1999
0e6537fb85 gui/main_menubar: Add the exit button. 2023-09-20 02:46:51 +02:00
HuanJiCanShang
513263a8ba gui/controllers_dialog: Add the lang strings for led color. 2023-09-19 22:39:32 +02:00
Croden1999
abcbd688fd gui/lang: Some minor improvements and fixes. 2023-09-16 13:35:16 +02:00
Croden1999
93a0524317 gui/license_install_dialog: Changed work to license.
lang: Minor update.
2023-09-12 13:46:39 +02:00
nishinji
59e6362e34 gui/pkg_install_dialog: Allow rif license for pkg installation. 2023-09-09 04:23:22 +02:00
Croden1999
c1b7a65062 gui/controllers: Update tiny lang strings.
lang: Update pt-br translation.

Co-authored-by: pedrozzz0 <pedrozzz0@users.noreply.github.com>
2023-09-02 10:49:25 +02:00
Croden1999
5224f4c843 gui/firmware install dialog: improve dialog window. 2023-08-30 12:53:59 +02:00
Croden1999
da428857a5 gui/ime: Fix the tiny punctuation and add IsKeyPressed to the buttons.
gui: Adjust the text length.
2023-08-28 11:09:42 +02:00
Croden1999
24f5de6ebb gui/lang: Move search to common. 2023-08-16 19:57:05 +02:00
Croden1999
d99c40932e gui: Add the IsKeyPressed control to the buttons
gui/live area: Correct the description in live area help

Co-authored-by: Zangetsu38 <dante38@free.fr>
2023-08-08 13:44:37 +02:00
Croden1999
b39d9bc427 gui/settings dialog: small typo fix. 2023-08-04 16:22:30 +02:00
Croden1999
f615ef0726 gui/compat: Add lang to info message. 2023-06-27 21:19:26 +02:00
Croden1999
5268c0e514 gui/user management: Fixed typos 2023-05-17 21:05:31 +02:00
Croden1999
3abd4e362c gui/controllers dialog: Align text in controllers dialog
- lang: a few of lang strings improve
2023-05-17 11:42:52 +02:00
Croden1999
ca4e2bb576 gui: Some improve for gui
gui/manual: Improve D-pad in slider
gui/live area: Remove the zoom instructions
gui/settings dialog: Add lang to main buttons
2023-05-05 05:43:42 +02:00
Zangetsu38
871456f587 README: Add supporters section.
FUNDING: Move from patreon to ko-fi.
gui/about dialog: remove note useless and update contributors list.
2023-04-24 14:39:03 +02:00
Zangetsu38
922391bf3b gui/about dialog: Add first supporter.
- reworks list move to column to table.
2023-04-23 21:28:57 +02:00
Zangetsu38
82e4fc98cc gui/about dialog: Added ko-fi subscription link. 2023-04-22 21:52:41 +02:00
Zangetsu38
18b858234f gui/about dialog: Add open github author history for contributors.
- Add credit of designer of Vita3K icon.
- refactor open link.
2023-04-20 14:38:43 +02:00
bookmist
d34159c328 gui: better align in controls_dialog and live area help page. make gui controls configurable
and some optimization and refactoring
2023-04-17 23:50:12 +03:00
CoffeeBrewer64
75a6bf0d86
Typo fixes #2475 2023-04-06 23:04:05 +02:00
Zangetsu38
e395624811 gui/home screen: Add app filter by compat state.
compat: fix typo of CompatibilityState enum.
gui: fix day on format dd/mm/yyyy for start screen.
2023-04-01 18:47:28 +02:00
Croden1999
a46fd1463f gui/app context menu: Add delete DLC/license dialog
- lang: update a few of lang
2023-04-01 04:51:11 +02:00
Croden1999
a8f48d7192 gui/pref overlay: revert minor changes 2023-03-28 10:39:22 +02:00