Commit Graph
95 Commits
Author SHA1 Message Date
Pengfei ZhuandGitHub 5299678880 Merge pull request #4807 from FearlessTobi/port-2550
Port yuzu-emu/yuzu#2550: "yuzu/CMakeLists: Pass compilation flags that make it more difficult to cause bugs in Qt code"
2019-07-06 23:54:08 +08:00
Pengfei ZhuandGitHub 46d552b4d7 Merge pull request #4822 from wwylele/mipmap-cub
gl_rasterizer: correct supress_mipmap_for_cube logic
2019-07-06 22:56:36 +08:00
Pengfei ZhuandGitHub 41f1963b9a Merge pull request #4805 from FearlessTobi/port-2454
Port yuzu-emu/yuzu#2454 and yuzu-emu/yuzu#2460: Add build flags
2019-06-25 22:12:02 +08:00
Pengfei ZhuandGitHub dad423fb68 Merge pull request #4801 from wwylele/gsp-state
GSP_GPU: move used_thread_ids into the class
2019-06-25 22:11:40 +08:00
Pengfei ZhuandGitHub 73bf92fb3a Merge pull request #4792 from FearlessTobi/port-2515
Port yuzu-emu/yuzu#2515: "yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call"
2019-06-10 22:03:32 +08:00
Pengfei ZhuandGitHub e26d9f5ef1 Merge pull request #4793 from FearlessTobi/port-2526
Port yuzu-emu/yuzu#2526: "core/telemetry_session: Remove usages of the global system accessor"
2019-06-10 21:57:00 +08:00
Pengfei ZhuandGitHub 49f6f11462 Merge pull request #4786 from FearlessTobi/port-minor
Port yuzu-emu/yuzu#2528 and yuzu-emu/yuzu#2530: Minor changes
2019-06-05 22:38:28 +08:00
Pengfei ZhuandGitHub af197c18e4 Merge pull request #4768 from FearlessTobi/stuff-undso
Port multiple minor yuzu PRs
2019-05-11 21:38:00 +08:00
Pengfei ZhuandGitHub ad34f86f3b Merge pull request #4762 from zhaobot/tx-update-20190430142734
Update translations (2019-04-30)
2019-05-02 08:56:13 +08:00
Pengfei ZhuandGitHub e0a0bca13a Merge pull request #4749 from zhaowenlan1779/webfix
web_service: Misc fixes
2019-05-01 17:00:17 +08:00
Pengfei ZhuandGitHub 37861526ff Merge pull request #4733 from zhaowenlan1779/ps
service/ps: Implement PS:EncryptDecryptAes
2019-04-29 21:39:53 +08:00
Pengfei ZhuandGitHub 536e4de499 Merge pull request #4700 from zhaowenlan1779/swkbd-2
applets/swkbd: Add callback support
2019-04-20 22:18:15 +08:00
zhupengfei 40ad54c5c7 citra_qt: Update the multiplayer dialogs when game list is repopulated
The multiplayer state object and dialogs hold a (modified) game list model, but it isn't updated when the actual game list changes. This updates the multiplayer dialogs with the new game list when it got repopulated.
2019-04-20 12:50:26 +08:00
zhupengfei 4a9ea65e49 core, citra_qt: Allow credentials update in multiplayer announce session
Allows updating the credentials of the announce session, thus allowing credentials changes to be reflected before citra restart. To avoid race conditions and web errors (you can only update the room that you created, i.e. changing credentials halfway will make it break), now you can only use the Citra Web Services settings when not hosting a public room.
2019-04-20 12:50:24 +08:00
zhupengfei d6b168d7ed citra_qt/multiplayer: Disallow hosting rooms when preferred game is not selected
which can happen if the game list is empty, and would result in a 400 being returned from the server as the preferred_game field is empty.
2019-04-20 12:50:20 +08:00
zhupengfei 36051204cc core, web_service: Check for error when registering rooms
The `Register()` function can now handle error results and the error will be passed immediately to the Qt frontend, instead of being ignored silently and failing later with a "Room is not registered".
2019-04-20 12:50:14 +08:00
zhupengfei 81988d96fe core/telemetry_session: Only create the backend when we really need it
The backend is not used until we decide to submit the testcase/telemetry, and creating it early prevents users from updating the credentials properly while the games are running.
2019-04-20 12:49:14 +08:00
zhupengfei 0f65dac964 service/ps: Address review 2019-04-16 22:17:07 +08:00
zhupengfei b34847d59e service/ps: Implement PS:EncryptDecryptAES 2019-04-15 22:56:55 +08:00
zhupengfei d7fbc1ca2c common/string_util: Move TextFromBuffer to string_util 2019-04-08 22:34:21 +08:00
zhupengfei 25be09c7a3 applets/swkbd: Address comments 2019-04-08 21:45:32 +08:00
zhupengfei 8078256a88 applets/swkbd: Add callback support 2019-04-08 21:45:29 +08:00
Pengfei ZhuandGitHub 3ea30fe2b3 Merge pull request #4610 from zhaowenlan1779/cheats-ui
Implement UI for adding/editing/deleting cheats
2019-03-05 22:07:40 +08:00
Pengfei ZhuandGitHub f6d0e43c77 Merge pull request #4654 from tgsm/video-nested
video_core: use nested namespaces
2019-02-19 21:44:38 +08:00
Pengfei ZhuandGitHub 820e3893de Merge pull request #4652 from tgsm/audio-nested
audio_core: use nested namespaces
2019-02-19 21:39:35 +08:00
Pengfei ZhuandGitHub 1d3cef319a Merge pull request #4653 from tgsm/core-nested
core: use nested namespaces
2019-02-19 21:38:59 +08:00
zhupengfei 1995e8ff32 service/soc_u: address review comments 2019-02-10 18:49:18 +08:00
zhupengfei 08bf899d70 service/soc_u: Implement getaddrinfo and getnameinfo 2019-02-09 20:12:09 +08:00
zhupengfei 433176a9b9 citra_qt: Implement UI for adding/editing/deleting cheats
The UI file is rewritten, to better make use of Qt's layouts (instead of depending on abstract geometry). "Add Cheat", "Save", "Delete" buttons are also added.

The UI logic should be rather easy and usable (IMO), but the code may seem a bit dirty. If anyone has a better idea regarding UI logic design or code implementation, feel free to tell me about it.
2019-02-02 08:15:27 +08:00
zhupengfei 573036b38e core/cheats: Add and change a few functions
Added a few interfaces for adding/deleting/replacing/saving cheats. The cheats list is guarded by a std::shared_mutex, and would only need a exclusive lock when it's being updated.

I marked the `Execute` function as `const` to avoid accidentally changing the internal state of the cheat on execution, so that execution can be considered a "read" operation which only needs a shared lock.

Whether a cheat is enabled or not is now saved by a special comment line `*citra_enabled`.
2019-02-02 08:15:23 +08:00
Pengfei ZhuandGitHub a17a31a934 Merge pull request #4594 from lioncash/comma
vfp_helper: Remove odd use of the comma operator in vfp_single_unpack()
2019-01-23 21:36:07 +08:00
Pengfei ZhuandGitHub e3fb0efac3 Merge pull request #4591 from FearlessTobi/port-2032
Port yuzu-emu/yuzu#2032: "yuzu/configuration/configure_web: Amend verification string"
2019-01-22 21:54:40 +08:00
zhupengfei 2d65371c20 citra_qt/multiplayer: Update themed icon on theme change 2019-01-16 22:01:21 +08:00
zhupengfei 5f0dcd52ae multiplayer: minor UI fixes
Just two minor fixes:
1. Font color is black in dark theme. It is now only black for pings.
2. If a user is called `abc`, you can ping them by `@abc_`. Now a ping only takes effect when there are spaces around it.
2019-01-13 22:21:04 +08:00
Pengfei ZhuandGitHub f80f08b527 Merge pull request #4546 from FearlessTobi/port-1965
Port yuzu-emu/yuzu#1965: "externals: Update fmt to 5.3.0"
2019-01-02 17:53:18 +08:00
Pengfei ZhuandGitHub 0a3d9dd576 Merge pull request #4543 from wwylele/no-jwt
network: remove cpp-jwt library dependency
2019-01-01 13:32:27 +08:00
5a4c7c32d8 Update src/citra_qt/configuration/config.cpp
Co-Authored-By: valentinvanelslande <valentinvanelslandeacnl@gmail.com>
2018-12-29 08:14:37 -05:00
Pengfei ZhuandGitHub 3989c17cb0 Merge pull request #4531 from lioncash/mem
core/memory: Remove unnecessary memory zeroing in MemorySystem::Impl
2018-12-27 22:29:20 +08:00
Pengfei ZhuandGitHub 3bbd7fd39c Merge pull request #4530 from FearlessTobi/port-1946
Port yuzu-emu/yuzu#1946: "renderer_opengl: Correct forward declaration of FramebufferLayout"
2018-12-27 22:25:56 +08:00
Pengfei ZhuandGitHub eabc9727d8 Merge pull request #4468 from citra-emu/multiplayer-v4/main
Multiplayer version 4
2018-12-22 09:45:28 +08:00
Pengfei ZhuandGitHub 68a223b6e1 Merge pull request #4516 from zhaowenlan1779/multiplayer-v4/patch-1
multiplayer: minor UI fixes
2018-12-18 22:22:49 +08:00
zhupengfei 7a379ee03a citra_qt/multiplayer: Add View Profile option
Adds an UI action to navigate to the user's profile located in Citra Community.
2018-12-18 22:07:42 +08:00
zhupengfei 4df4b90795 citra_qt/multiplayer: Change style for pinged messages a bit
To allow it to be seen more clearly in dark themes
2018-12-16 23:08:47 +08:00
zhupengfei 4574bd1e5c web_service: Change endpoint to /lobby.
Preparation for shipping.
2018-12-16 10:48:42 +08:00
zhupengfei 13ec2abbf6 network: Make citra mods optional and disabled by default
To avoid extra legal responsibility, this should actually only be used on our self-hosted rooms.
2018-12-15 22:47:07 +08:00
zhupengfei 9d062d63da network, citra_qt: Give moderation permission to community mods
Based on the `roles` payload in the JWT, the rooms will now give mod permission to Citra Community Moderators. To notify the client of its permissions, a new response, IdJoinSuccessAsMod is added, and there's now a new RoomMember::State called Moderator.
2018-12-15 20:28:03 +08:00
zhupengfei 94be4050bc network/packet: Fix reading vectors/arrays of strings
Previously would break here, as it is trying to initialize a string with 0, which is then considered NULL.
2018-12-15 14:37:23 +08:00
zhupengfei 8b8b39ec0e citra_qt/multiplayer: Add user ping support
The user would be notified if the message contains "@" followed by the user's nickname or forum username. An alert would be shown, and the icon and message in the status bar would be changed. All notification is only shown if the chat window currently does not have focus.

Also added a connected_notification icon for showing in the status bar.
2018-12-15 11:03:35 +08:00
zhupengfei 6feeaed77e citra: add errors callback and add status message types 2018-12-15 11:03:35 +08:00
zhupengfei bd29f1facb dedicated_room: load and save ban list
The ban list is stored in a format so-called CitraRoom-BanList-1 and just first stores username ban list, one entry per line, then an empty line and then store the ip ban list.
2018-12-15 11:03:34 +08:00
zhupengfei deb398d190 citra_qt: Save ban list for room hosting 2018-12-15 11:03:33 +08:00
zhupengfei 15540df140 citra_qt/multiplayer/chat_room: Add moderation to context menu 2018-12-15 11:03:33 +08:00
zhupengfei 6359b6094c citra_qt: Add a moderation dialog
The dialog currently supports accessing the ban list and removing entries from it.
2018-12-15 11:03:32 +08:00
zhupengfei 7acd2664dd network/room_member: Add moderation functions
To allow for passing moderation errors around without impacting the State, this commit also separates the previous State enum into two enums: State, and Error. The State enum now only contains generic states like disconnected or connected, and the Error enum describes the specific error happened.

citra_qt/multiplayer/{state, message} is changed accordingly.
2018-12-15 11:03:31 +08:00
zhupengfei 38f86cce94 network/room: Moderation implementation
Currently consist of 4 moderation commands (kick, ban, unban and get ban list).
2018-12-15 11:03:28 +08:00
zhupengfei 6c29d441f4 multiplayer: fix "Connected" message not appearing on first connection 2018-12-15 11:03:10 +08:00
zhupengfei 0823d8e009 citra: add status messages and fix missing errors 2018-12-15 11:03:09 +08:00
zhupengfei 0319e51960 multiplayer: Add status message for user joining/leaving
The room server is now able to send a new type of packet: IdStatusMessage which is parsed and displayed by the client.
2018-12-15 11:03:06 +08:00
zhupengfei 386bf5c861 citra_qt: Use the new verify backend; UI changes
Displayed username along with nickname (when they are not identical); Requested and displayed user's avatar; Made the dialog bigger for extended names.

Added a few functions to web_backend (GetImage, GetPlain) to support getting data in multiple content-types.

Added a no_avatar icon for users without avatars.
2018-12-15 11:02:54 +08:00
zhupengfei 4906c8ce7b citra-room: Add verify backend and use new announce api 2018-12-15 11:02:53 +08:00
zhupengfei e04f75e1bf web_backend: added GetExternalJWT function
To support requesting external JWTs to use them as verification tokens.
2018-12-15 11:02:53 +08:00
zhupengfei ab335ccf1b core, web_service: Changes to announce service
Separated registering and updating to correspond to the new announce API endpoint. Also added a verify_UID for JWT audience verification.
2018-12-15 11:02:52 +08:00
zhupengfei 1a8841f96e network, web_service: Add Verification backend and use new lobby API
Added verify_backend to load user_data for members. and removed method to generate UID as this is now done server-side.

Added GetUsername function and a "token" param to room_member.
Also added a username to ChatEntry, so that the username can be shown (along with nicknames) in the chat dialog.
2018-12-15 11:02:51 +08:00
zhupengfei c396e3c6e5 network: check Console ID conflicts
As Console ID can be sensitive data sometimes, this implementation sent a SHA256 hash of it instead.
2018-12-15 11:02:47 +08:00
zhupengfei 3c589f473f multiplayer: check nickname regex server side 2018-12-15 10:40:27 +08:00
zhupengfei a9c9ffd32c network: bump multiplayer version 2018-12-15 10:40:25 +08:00
Pengfei ZhuandGitHub d2003dae4a Merge pull request #4498 from valentinvanelslande/patch-2
host_room: change minimum members to 2
2018-12-15 09:39:11 +08:00
Pengfei ZhuandGitHub 65d62b1b87 Merge pull request #4497 from valentinvanelslande/patch-1
dedicated_room: allow maximum members = 254
2018-12-12 19:45:00 +08:00
Pengfei ZhuandGitHub cd80a0df8c Merge pull request #4418 from FearlessTobi/port-1441
Port yuzu-emu/yuzu#1441: "logging: Add DebuggerBackend for logging to Visual Studio"
2018-12-04 22:20:41 +08:00
Pengfei ZhuandGitHub 58b24b9e40 Merge pull request #4164 from zhaowenlan1779/brand-new-screenshot
citra_qt, video_core: Screenshot functionality
2018-12-02 08:06:25 +08:00
Pengfei ZhuandGitHub b194f238cb Merge pull request #4129 from ccawley2011/clang-format-docker
travis: Use Docker for clang-format target
2018-12-02 07:57:42 +08:00
Pengfei ZhuandGitHub 4ae977cb19 Revert "travis: Add missing flags for flatpak build" 2018-11-30 22:07:22 +08:00
Pengfei ZhuandGitHub 7f5df10f12 Merge pull request #4474 from zhaowenlan1779/flatpak-patch
travis: Add missing flags for flatpak build
2018-11-30 20:37:07 +08:00
Pengfei ZhuandGitHub 28d089c8f3 travis: Add missing flags for flatpak build 2018-11-30 18:11:00 +08:00
Pengfei ZhuandGitHub f7fb5875a0 Merge pull request #4461 from wwylele/bitrise-badge
README: add bitrise badge
2018-11-28 19:41:50 +08:00
Pengfei ZhuandGitHub 607b384d86 Merge pull request #4447 from B3n30/cheats_comp_16bit
Fix 16bit comparison operations
2018-11-18 21:49:53 +08:00
Pengfei ZhuandGitHub 39cbd4166c Merge pull request #4409 from valentinvanelslande/cro
ldr_ro: change std::tie to structured binding
2018-11-08 21:39:56 +08:00
zhupengfei ab07d44193 citra_qt/configuration: fix language configuration issues 2018-11-03 09:34:01 +08:00
Pengfei ZhuandGitHub c5b7018625 citra_qt: add seconds section to clock settings (#4347)
* citra_qt: add seconds section to clock settings

Simple fix to make the UI more usable.

* Use an ISO styled format string

Not actually tested locally
2018-10-25 21:29:43 +08:00
Pengfei ZhuandGitHub 9458ae0977 Merge pull request #4259 from zhaowenlan1779/game-list
citra_qt: Add Game List configuration
2018-10-18 21:29:33 +08:00
Pengfei ZhuandGitHub c4ed7e75f4 Merge pull request #4340 from wwylele/disable-scripting
CMake: disable scripting on default
2018-10-17 17:48:11 +08:00
Pengfei ZhuandGitHub 0df32275a7 Merge pull request #4282 from zhaowenlan1779/frame-advance
core, citra_qt: add frame advancing to framelimiter
2018-10-15 21:25:41 +08:00
zhupengfei 8ecd31db41 citra_qt: use enum classes for the settings 2018-10-14 22:55:28 +08:00
Pengfei ZhuandGitHub 84ddb1cba0 Merge pull request #4331 from zhaowenlan1779/cemuhook-fix
citra: fix cemuhook module crash
2018-10-14 21:35:38 +08:00
zhupengfei b459164c2a citra: fix cemuhook module crash
fixes #4144. Updated inih to use the newly added GetString function which returns the default value on empty string.
2018-10-12 22:58:30 +08:00
Pengfei ZhuandGitHub efc0d502ed Merge pull request #4326 from zhaowenlan1779/multiplayer-retranslate
citra_qt/multiplayer: retranslate multiplayer dialogs
2018-10-11 09:44:33 -05:00
Pengfei ZhuandGitHub 8195d8ff82 Merge pull request #4327 from ccawley2011/patch-1
travis: Ignore binary files when checking for trailing whitespace
2018-10-11 09:44:13 -05:00
zhupengfei 748a9849ec citra_qt/multiplayer: retranslate multiplayer dialogs 2018-10-10 18:21:22 +08:00
Pengfei ZhuandGitHub 0e42fa9fa7 Merge pull request #4307 from valentinvanelslande/movie
movie: fix some checks
2018-10-05 17:37:52 -05:00
Pengfei ZhuandWeiyi Wang 008242c5f3 appveyor: fix mingw build (#4303)
* Try to manually overwrite

* Update appveyor.yml

* Update appveyor.yml

* what about don't overwrite?

* what if only syyu once?

* still need to syyu twice it seems

* add comment as well as trigger rebuild

what happened to msvc

* it seems that I can just remove the -Syy
2018-10-05 10:58:33 -04:00
Pengfei ZhuandGitHub 2a90426cb8 Merge pull request #4267 from zhaowenlan1779/movie
movie: Add clock init time to CTM header
2018-10-05 08:20:33 -05:00
Pengfei ZhuandGitHub 87e16c80ac Merge pull request #4229 from zhaowenlan1779/open-folder
citra_qt, core: game list "Open XXX Location" improvements
2018-10-05 00:46:43 -05:00
Pengfei ZhuandGitHub c709ac0021 travis: disable scripting for transifex push job
Fixes transifex push.
2018-10-02 18:50:54 +08:00
zhupengfei cb775eb1ba core, citra_qt: add frame advancing to framelimiter
Frame advancing is a commonly used TAS feature which basically means running the game frame by frame. TASers use this feature to press exact buttons at the exact frames. This commit added frame advancing to the framelimiter and two actions to the Movie menu. The default hotkey is `\` for advancing frames, and `Ctrl+A` for toggling frame advancing. The `Advance Frame` hotkey would automatically enable frame advancing if not already enabled.
2018-10-02 07:28:58 +08:00
Pengfei ZhuandGitHub b2bfcfcbd7 Merge pull request #4140 from zhaowenlan1779/input-config
citra_qt/configuration: misc input tab improvements
2018-10-01 03:05:31 -05:00