Commit Graph
100 Commits
Author SHA1 Message Date
zhupengfeiandzhupengfei 1970178cc0 citra_qt: rename the menu to Tools
Also made Movie a sub-menu of Tools.
2018-11-30 14:14:41 +08:00
zhupengfeiandzhupengfei 071b41cb61 citra_qt, video_core: Screenshot functionality
Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
2018-11-30 14:14:41 +08:00
zhupengfeiandzhupengfei 90f9d32f13 citra_qt: Add Game List configuration
This adds a Game List configuration group box which is similar to yuzu's, with features including icon size setting, row 1/2 text, and ability to hide invalid titles (those without a valid SMDH). I also added a UI tab and moved the language and theme settings there.
2018-10-09 22:37:21 +08:00
zhupengfeiandzhupengfei 8cf1132b2e ncch_container: choose the first id as extdata id when extended save data access is used 2018-10-02 08:15:10 +08:00
zhupengfei bbf391abb9 citra_qt, core: game list "Open XXX Location" improvements 2018-10-01 08:42:22 +08:00
zhupengfei 9d142f981d movie: fix default value in StartPlayback 2018-09-30 14:26:38 +08:00
zhupengfei ae5c658997 movie: Add clock init time to CTM header
This adds a clock init time field to the CTM header. The clock settings would be overridden when playing a movie. And when recording a movie, if the clock is set to System Time, it would be set to fixed init time at the current moment as well. In this way this keeps consistency with the RNG even if the user does just no setting.
2018-09-27 22:18:10 +08:00
Pengfei ZhuandGitHub d6a9b01624 Merge pull request #4183 from zhaowenlan1779/multiplayer-ui
citra_qt/multiplayer: three minor fixes
2018-09-24 13:20:32 +08:00
Pengfei ZhuandGitHub 6b538a49ac Merge pull request #4246 from FearlessTobi/port-1346
Port yuzu-emu/yuzu#1346: "svc_wrap: Convert the PARAM macro into a function"
2018-09-23 13:10:11 +08:00
Pengfei ZhuandJames Rowe 5d597d6339 Fix icon licenses (#4250)
* Fix license.txt and Fix license.md
2018-09-22 14:26:14 -06:00
zhupengfei 31dc9003c5 citra_qt/configuration: Add Play Coins setting 2018-09-20 22:42:39 +08:00
Pengfei ZhuandGitHub dc863724ac Merge pull request #4231 from CaptV0rt3x/port-1336
Port #1336 from yuzu
2018-09-17 22:37:40 +08:00
Pengfei ZhuandGitHub 9a1446886c Merge pull request #4223 from FearlessTobi/port-1301
Port #1301 from yuzu: "game_list: Resolve variable shadowing within LoadCompatibilityList()"
2018-09-17 22:25:04 +08:00
Pengfei ZhuandGitHub 4377d12549 Merge pull request #4222 from FearlessTobi/port-1298
Port #1298 from yuzu: "audio_core/sink_details: Change std::string parameter into std::string_view"
2018-09-17 22:24:49 +08:00
Pengfei ZhuandGitHub 9a8959d0a1 Merge pull request #4215 from zhaowenlan1779/tx-update
Update translations (2018-9-15)
2018-09-15 14:20:51 +08:00
zhupengfei 9bd8edb3b6 citra_qt: add Camera tab to "System" category 2018-09-15 14:19:45 +08:00
zhupengfei 9ae4b72b80 Update translations (2018-9-15) 2018-09-15 06:18:53 +08:00
zhupengfei 458f8d103b service/ptm: Add Get/SetPlayCoins functions 2018-09-14 22:28:38 +08:00
Pengfei ZhuandGitHub f86c993e11 Merge pull request #4188 from tgsm/fix-sdl-logging
citra: fix SDL logging
2018-09-08 17:20:04 +08:00
zhupengfei a3625b544f citra_qt/configuration: misc input tab improvements
* Added a context menu on the buttons including Clear & Restore Default

* Allow clearing (unsetting) inputs. Added a Clear All button

* Allow restoring a single input to default (instead of all)
2018-09-08 11:26:10 +08:00
zhupengfei ad6b140cb0 service/apt: Implement soft reset & CloseApplication 2018-09-08 11:05:23 +08:00
Pengfei ZhuandGitHub 0d2c027a9d Merge pull request #4191 from valentinvanelslande/minor-fix
room_member: RakNet -> ENet
2018-09-08 10:05:33 +08:00
Pengfei ZhuandGitHub 5b8820ba29 Merge pull request #4190 from valentinvanelslande/typos-pt2
room_member: fix 3 typos
2018-09-08 10:04:20 +08:00
zhupengfei cdd3bd72e5 citra_qt/multiplayer: three minor fixes
* Fix the issue that icons for owned games do not appear

* Fix the issue where you would double click on a room and connect to another

* Fix the issue that room name and nickname does not have size limitation
2018-09-05 22:46:33 +08:00
Pengfei ZhuandGitHub 3b3b0bbdf5 Merge pull request #4152 from citra-emu/port-1030
Port yuzu-emu/yuzu#1030 from yuzu: "externals: Update to SDL2-2.0.8"
2018-09-01 12:08:13 +08:00
Pengfei ZhuandGitHub 987e1279a3 Merge pull request #4155 from FearlessTobi/port-1062
Port yuzu-emu/yuzu#1062 from yuzu: "common: Remove unused old breakpoint source files"
2018-09-01 10:27:18 +08:00
Pengfei ZhuandGitHub ac419c8612 Merge pull request #4159 from FearlessTobi/port-1067
Port yuzu-emu/yuzu#1067 from yuzu: "emu_window: Ensure WindowConfig members are always initialized"
2018-08-31 19:44:33 +08:00
Pengfei ZhuandGitHub 13f2cc9964 Merge pull request #4162 from FearlessTobi/port-1126
Port yuzu-emu/yuzu#1126 from yuzu: "Don't allocate std::string instances for program lifetime in GetTelemetryId() and RegenerateTelemetryId()"
2018-08-31 17:39:49 +08:00
Pengfei ZhuandGitHub 1016d288c5 Merge pull request #4160 from FearlessTobi/port-1133
Port #1133 from yuzu: "gl_stream_buffer: Add missing header guard"
2018-08-31 16:18:10 +08:00
Pengfei ZhuandGitHub 0fe57d075a Merge pull request #4158 from FearlessTobi/port-933
Port #933 from yuzu: Multiple cleanups in memory
2018-08-31 14:38:43 +08:00
Pengfei ZhuandGitHub 270155066c Merge pull request #4154 from FearlessTobi/port-1063
Port #1063 from yuzu: "common/xbyak_abi: Mark defined functions in header as inline "
2018-08-31 12:59:29 +08:00
Pengfei ZhuandGitHub f82517f91d Merge pull request #4153 from FearlessTobi/port-1066
Port #1066 from yuzu: "CMakeLists: Add architecture detection for AArch64"
2018-08-31 12:56:58 +08:00
zhupengfei f28bc28d6b core, citra_qt: unify status of system archives and shared fonts
Shared fonts is no different from any other system archives, and there is not really any point to make a separate status for it. This also fixes the incorrect error message that was introduced when I made the UI text improvements.
2018-08-27 22:40:35 +08:00
zhaowenlan1779andTobias 3b37818e5e Port "externals: Update catch to 2.3.0" from yuzu (#4060)
* externals: Update catch to 2.3.0

Updates the library from 2.2.3 to 2.3.0

* fix catch2/catch.hpp includes
2018-08-24 19:45:57 +02:00
zhaowenlan1779andTobias 642f0bd62b Port "kernel/event: Make data members private" from yuzu (#4077)
* kernel/event: Make data members private

Instead we can simply provide accessors to the required data instead of
giving external read/write access to the variables directly.

* fix compile error
2018-08-24 19:43:28 +02:00
zhaowenlan1779andTobias 75927ee462 Port "client_port: Make all data members private" from yuzu (#4064)
* client_port: Make all data members private

These members don't need to be entirely exposed, we can instead expose
an API to operate on them without directly needing to mutate them

We can also guard against overflow/API misuse this way as well, given
active_sessions is an unsigned value.

* make the condition an assert
2018-08-24 19:31:20 +02:00
zhupengfeiandfearlessTobi 9d056282df citra_qt: record movie record/playback path 2018-08-20 11:36:00 +02:00
zhupengfeiandfearlessTobi 3b459f6eb3 citra_qt, movie: allow recording/playback before emulation starts 2018-08-20 11:34:27 +02:00
zhupengfeiandfearlessTobi a9ad8daf47 citra_qt: Add movie frontend 2018-08-20 11:34:26 +02:00
zhupengfeiandfearlessTobi 0f44f7b481 core/movie: Movie refactor, add a completion callback 2018-08-20 11:27:25 +02:00
zhaowenlan1779andBen 96c025e4c2 qt_themes: replace game_list icons (#4002)
* qt_themes: replace game_list icons

The original icons were drawn by @BreadFish64 and they do not look that good. So I got some icons in similar styles (black and white) from https://icons8.com to replace the old icons. I'm pretty sure I'm licensed to use them for Citra, by the way.

* icon licenses
2018-08-16 12:39:46 +02:00
zhaowenlan1779andBen 5c5aad09ce qt_themes: add two colorful themes (#4004)
* qt_themes: add two colorful themes

These two colorful themes are based on the Default and Dark themes, and contain icons that are colored rather than black and white. These icons come from https://icons8.com and they have been slightly revised by me. I'm pretty sure I was licensed to use them for Citra.

* Add license for icons
2018-08-16 10:39:23 +02:00
zhaowenlan1779andGitHub e837717592 citra_qt: set object name for LLEServiceModulesWidget
Gets rid of a qt error that occurs when Citra is closed.
2018-08-14 20:28:47 +08:00
zhupengfei 8db6822ee9 citra_qt: add motion/touch config 2018-08-11 14:16:44 +08:00
zhupengfei 8af89b6979 input_common, common: Add a few functions
These functions include reloading udp client, testing communication and configuring calibration. I also added a function to common/thread.h to use WaitFor.
2018-08-11 14:09:35 +08:00
zhupengfei e1ae14d508 input_common/udp: allow changing pad index 2018-08-11 13:23:10 +08:00
zhupengfei a51c700f59 Port "qt/main: Collapse if statement in UpdateRecentFiles()" from yuzu 2018-08-08 16:55:23 +08:00
zhupengfei b71fbe62a8 game_list: Use QString::fromStdString() where applicable instead of c_str() 2018-08-08 16:43:59 +08:00
zhupengfei 6a1f9afbba citra_qt: add Clear Recent Files menu action
I had to edit a bit of the Restart action so that it does not go wrong because recent files are cleared.
2018-08-06 09:19:35 +08:00
zhupengfei 0c37140690 video_core: Allow changing background color while emulation is running
As @jroweboy stated, this is just one more atomic in VideoCore.
2018-08-04 15:11:51 +08:00
zhupengfei 9937cab2cd citra: default_ini bg color default value fix
I discovered this while making changing background color.. Just a minor nit.
2018-08-04 12:20:47 +08:00
zhupengfei 650c20eebf citra_qt: Settings (configuration) rework 2018-08-03 13:49:30 +08:00
zhupengfei 60edddac7d citra_qt/configuration: Add background color config
This is actually very easy to do. I added a label and a push button for it, and used the Qt standard dialog QColorDialog for picking colors.
2018-08-02 11:39:27 +08:00
zhupengfei 51d05bd42b citra_qt/configuration: retranslate camera tab
It was really a stupid mistake..
2018-08-01 21:51:38 +08:00
zhupengfei 383dd967d1 citra_qt: UI text improvements
Changed a few texts that are not so good in the UI according to
@neobrain.
2018-08-01 17:32:33 +08:00
zhupengfei 5a47cbed17 no need to cast to u32 according to @wwylele comment 2018-07-30 22:40:56 +08:00
zhupengfei 5d7ccfb920 citra_qt/CMakeLists: get rid of a warning
This got rid of a warning of CMake Policy CMP0071 not set. In fact, setting it to either OLD or NEW is same for Citra (I tested on MSVC and MinGW), and the OLD option is deprecated, so I am using NEW here.
2018-07-30 22:32:48 +08:00
zhupengfei b1bbe0441e qt_themes: add themed connected/disconnected icons for dark and fix status bar theme updating
In dark theme, it is very hard to see the connected/disconnected icons because they are dark too. So I added two white-coloured icons for the dark theme. This also fixed an issue where theme update does not change the icon on the status bar.
2018-07-28 11:50:46 +08:00
zhupengfei cc1f44f7bd common/string_utils: replace boost::transform with std counterpart
Note: according to cppreference it is necessary to convert char to unsigned char when using std::tolower and std::toupper, otherwise the behaviour would be undefined.
2018-07-25 08:04:00 +08:00
zhupengfei 44db59be2b applet_manager: disable loading LLE applets
Currently LLE applets cannot exit properly in Citra and causes Citra to hang. We are already providing HLE for applets, and the LLE applets are preventing users who dumped their system files from using the applets correctly. Before the further fix is done, I think we should temporaily disable loading LLE applets.
2018-07-24 23:24:27 +08:00
zhupengfei 3a8b002ede citra_qt: minor retranslation fix
When you change the language when a game is running, the "Continue" action in the "Emulation" menu would become "Start". This commit fixes the issue by checking and setting it if it should be "Continue". It seems that this is the only place with this issue.
2018-07-24 19:49:49 +08:00
zhupengfei 76465dd0f5 citra_qt: retranslate status bar 2018-07-24 19:20:00 +08:00
zhupengfei 921037a7c3 citra_qt/multiplayer: allow blocking other players in chat room 2018-07-24 15:24:21 +08:00
zhupengfei 2cf7576351 citra_qt/configuration: retranslate hotkey widget on language change
The hotkey widget has a separate class defined for it, and qt cannot automatically retranslate it when retranslateUi is called. This commit explicitly calls the function to retranslate the hotkey dialog.
2018-07-24 12:32:09 +08:00
zhupengfei 79a38f8782 citra_qt/configuration: fix input configuration disappearing after changing languages
Previously, once you change language, the texts in the buttons in the Input tab will disappear. It is because the default text in the buttons are empty, and we did not update the text after translations are reloaded, aka texts are reset. This commit fixed the issue.
2018-07-24 12:19:47 +08:00
zhupengfei f70dc9198c game_list: fix untranslated texts
Due to a bug of Qt Linguist, the spliters in numbers cannot be parsed correctly and will cause strange issues. As far as I know, this caused 4 texts to be untranslated (translation source for them are not generated). Before the Qt bug is fixed (and we move to that version), I think we can temporarily remove the spliters from the numbers.
2018-07-23 23:44:43 +08:00
zhupengfei 11da018ea6 game_list: move SearchField to game_list_p.h and fix untranslated text
I have tested and made sure the text is translatable, but this would require a translation update to take effect.
2018-07-23 21:26:55 +08:00
zhupengfei 4fb16098a4 core/loader: avoid "different type" warning for .app
Previously for installed titles, the file type would be NCCH (assumed as CXI) and the extension would be ".app". This would trigger a warning of the file "having a different type than its extension", which is actually not true here.
2018-07-23 17:37:52 +08:00
zhupengfei 872e505cc6 common/timer: use std::chrono, avoid platform-dependent code
* core/timer: use even more std::chrono

* common/timer: convert GetLocalTimeSinceJan1970
2018-07-22 15:40:07 +08:00
zhupengfei e8ac58c480 settings: move log code to settings 2018-07-19 08:38:57 +08:00
zhupengfei e61b7d265f service/cfg, citra_qt: add country code configuration 2018-07-18 20:09:34 +08:00
zhupengfei bcbfac4081 configure_system: fix an untranslated text 2018-07-18 14:50:38 +08:00
zhupengfeiandWeiyi Wang a9e922e68f service/fs: implement obsoleted Create/DeleteExtSaveData (#3948)
* service/fs: implement obsoleted Create/DeleteExtSaveData

* service/fs: remove the STUBBED warning
2018-07-17 17:59:42 +03:00
zhupengfei b54e3b7aa9 frontend/applets/swkbd: use system username 2018-07-17 22:42:53 +08:00
zhupengfei 82aa45d9fa citra_qt/configuration: log on config dialog close 2018-07-17 15:33:59 +08:00
zhupengfei 250cf584e3 citra_qt: Log settings on launch 2018-07-17 15:33:58 +08:00
zhupengfei 40aea8d6b8 citra_qt: use Citra Web Service username as default multiplayer nickname 2018-07-17 15:25:00 +08:00
zhupengfei a398bceb93 citra_qt: disable hw shader by default for macos
Also show an warning when turning it on.
2018-07-17 10:07:02 +08:00
zhupengfeiandGitHub bebe04d58e Revert "CMake: Avoid non-compliant standard library extensions in MSVC" 2018-07-13 19:54:00 +08:00
朱鹏飞andWeiyi Wang aaeba160a1 telemetry: Add a few fields of UserConfig (#3927)
* telemetry: Add a few fields of UserConfig

* telemetry: change entry names a bit
2018-07-11 09:51:02 +03:00
zhupengfei dcaf4a8e83 citra_qt: Add length validation 2018-07-10 13:05:13 +08:00
zhupengfei 5407ed8b5e citra_qt/applets/swkbd: QtKeyboard and misc fixes
* Addressed comments and removed the applet interface

* swkbd: address @lioncash's comments

* core: more fixes

** Moved registered_swkbd to System

** Removed an usused virtual

** Removed functionality of DrawScreenKeyboard

** Removed src/core/settings.h change

* swkbd: address @lioncash's 2nd review

* swkbd: update logging macro

* QtKeyboard: Make dialog modal and hide help
2018-07-10 12:49:55 +08:00
朱鹏飞andGitHub 4414d311c9 Try to fix clang-format CI 2018-07-08 19:34:48 +08:00
zhupengfei f23443b921 applets/swkbd: Implement DefaultCitraKeyboard 2018-06-30 08:01:50 +08:00
zhupengfei 18664c719e frontend/applets: misc fixes
* Renamed applet to applets

* Added log classes Applet and Applet.SWKBD

* Fixes to get it compile
2018-06-30 08:01:49 +08:00
zhupengfei c52e0cdfa8 CI: add imageformats plugins 2018-06-28 22:53:23 +08:00
zhupengfei 0bd843f324 citra_qt: Fix image file selection dialog 2018-06-28 22:35:12 +08:00
zhupengfei 7b4738ad33 service/ac: fix clang format 2018-06-20 09:42:39 +08:00
zhupengfei fa80ba9846 citra-qt: Improve Title Bar display 2018-06-20 09:30:29 +08:00
zhupengfei ddc97b15f4 common: Parse Nightly/Canary build version 2018-06-20 09:30:26 +08:00
zhupengfei 6c4f3257b7 citra-qt: Add build date in about dialog 2018-06-18 21:21:00 +08:00
zhupengfei cb52033133 game_list: fix system title display 2018-06-07 18:50:35 +08:00
zhupengfei 3c554153c7 StillImageCamera: fix multiple prompt 2018-06-07 14:57:07 +08:00
zhupengfei a15e4e80c6 QtMultimediaCamera: fix invalid settings 2018-06-07 14:57:07 +08:00
zhupengfei 7c48160beb StillImageCamera: move GetFilePath to UI thread 2018-06-07 14:57:06 +08:00
zhupengfei 341c07156a camera: Single/Double (QtMultimediaCamera) 2018-06-07 14:57:05 +08:00
zhupengfei 3cb91338e9 camera: migrate logging macros 2018-06-07 14:57:05 +08:00
zhupengfei 6e410dcef5 camera: refactor (add qt_camera_base) 2018-06-07 14:57:04 +08:00
zhupengfei 5ebd466869 camera: Add camera flip config 2018-06-07 14:57:03 +08:00
朱鹏飞andJames Rowe 84728cb8d3 Update README.md to describe current condition more accurately (#3737)
Update README.md to describe current condition more accurately
2018-05-29 23:51:25 -06:00