5114 Commits

Author SHA1 Message Date
Eugene Sandulenko
ccd0fec217
GUI: UX improvements to the IntegrityDialog
Now it at least shows the progress bar but the current approach
is hackish: we do a forced full redraw and huge files are not
updating mid-way
2024-06-16 00:46:27 +02:00
Eugene Sandulenko
2f9d77b0e8
GUI: Improvements to Integrity Dialog report and UX
Also ixed e-mail generation and disabled buttons.
2024-06-15 01:50:27 +02:00
Eugene Sandulenko
0beb356156
GUI: Solve accumulated mess with the cloud defines
We were disabling way too much things when the cloud was disabled,
e.g. icon packs are now available when cloud is disabled.

Also, now we enable local server when SDL_Net is present, even if the
cloud is disabled.
2024-06-14 15:21:34 +02:00
Eugene Sandulenko
28cf4aae6b
GUI: Disable calls to IntegrityDialog without libcurl 2024-06-14 14:37:02 +02:00
Eugene Sandulenko
da28e46929
GUI: Do not attempt to compile IntegrityDialog when libcurl is not available 2024-06-14 14:30:51 +02:00
Eugene Sandulenko
fb4ed4eaa3
GUI: Regenerated theme files 2024-06-14 01:19:21 +02:00
Eugene Sandulenko
154ba3b43d
GUI: Added integrity dialog to all themes and bumped theme version 2024-06-14 01:18:46 +02:00
Eugene Sandulenko
228b19dafd
GUI: Hid integrity checker behind config option 2024-06-14 01:15:44 +02:00
Abhinav Chennubhotla
8a986d51df
GUI: Add no_metadata error code to IntegrityDialog 2024-06-14 01:15:44 +02:00
Abhinav Chennubhotla
9b1fb61eee
GUI: Percent encode mailto link in IntegrityDialog 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
2d7559c772
GUI: Calculate checksums of rsrc forks correctly 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
18a47da6ce
GUI: User filesets dialog can launch email client 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
10211e6a2e
GUI: Update identifiers to avoid namespace clashes 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
d9fb4421f2
GUI: Fix relativePath in integrity JSON request
Also, results size is reduced
2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
b039adeb1f
GUI: Update email formatting in integrity dialog 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
bb46b4fc44
GUI: Display results in scrollable ListWidget 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
54d58463dc
GUI: Display results in IntegrityDialog
- Create percentEncodeString for escaping URL strings
2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
d98e371ad6
GUI: Update integrityDialog to not use pop-ups 2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
b4b86bad7d
GUI: Add button to copy email to clipboard
Copies message body to clipboard for unknown filesets containing fileset
id and game details
2024-06-14 01:15:43 +02:00
Abhinav Chennubhotla
17e695e8bf
GUI: Update translatable and debug strings 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
a1213ecb46
GUI: Calculate checksums of mac files correctly 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
f7919980d5
GUI: Update file validation endpoint 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
70eb3d654f
GUI: Update integrity dialog message text 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
1c423d5c06
GUI: Add dialog for calculation progress, results
- Display all OK / mismatched files
 - If fileset is unknown, add it to the db and show message with email
   body
2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
e9622b15ae
GUI: Add parseJSON() to IntegrityDialog 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
2d3db55e21
GUI: Add percentage bar for checksum calculation
Based on file size
2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
c8a2fc28ea
GUI: Update Checkintegrity button, endpoint
- Endpoint is a localhost url
2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
71121e18ec
GUI: Add Checkintegrity button to GameOptions_Path 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
d9c545bb9d
GUI: Fix JSON connection 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
31ffefa93d
GUI: Check Integrity button now sends JSON request 2024-06-14 01:15:42 +02:00
Abhinav Chennubhotla
5e173beaad
GUI: Create 'Check Integrity' button 2024-06-14 01:15:41 +02:00
Abhinav Chennubhotla
57f36e185b
GUI: Create IntegrityDialog class 2024-06-14 01:15:41 +02:00
Abhinav Chennubhotla
60e44c3590
GUI: Update integrity JSON to use relative paths 2024-06-14 01:15:41 +02:00
Abhinav Chennubhotla
d529ca5966
GUI: Fix filesize while calculating checksums 2024-06-14 01:15:41 +02:00
Abhinav Chennubhotla
65e7f23ae8
GUI: Implement checksum calculation for game files 2024-06-14 01:15:41 +02:00
Cameron Cawley
c17884608b GUI: Update the theme version and regenerate the archives 2024-06-14 01:15:12 +02:00
Cameron Cawley
e45f8edeb0 GUI: Improve the padding for the lowres themes 2024-06-14 01:15:12 +02:00
Cameron Cawley
afb383f3b1 GUI: Remove automatic scrollbars from TabWidget 2024-06-14 01:15:12 +02:00
Cameron Cawley
35077b3e95 GUI: Use a separate scroll container for the paths tab 2024-06-14 01:15:12 +02:00
Cameron Cawley
a6a369cdd3 GUI: Handle padding for the backend and engine options in the theme definitions 2024-06-14 01:15:12 +02:00
Cameron Cawley
fd7ebd7925 GUI: Fix scrolling the game tab in the options 2024-06-14 01:15:12 +02:00
Cameron Cawley
efec9b2d25 GUI: Remove built-in scroll containers from OptionsContainerWidget 2024-06-14 01:15:12 +02:00
Cameron Cawley
65e843c5da GUI: Separate the scroll container from the remap widget 2024-06-14 01:15:12 +02:00
Eugene Sandulenko
5ed3dd8d81
GUI: Print out more diagnostics when theme file is bad 2024-06-08 22:13:26 +02:00
Le Philousophe
3db0eef3d3 DLC: Fix signedness warnings 2024-06-08 11:15:57 +02:00
Le Philousophe
63c04eb700 EVENTRECORDER: Fix build and obvious mistype error 2024-06-05 19:02:18 +02:00
Eugene Sandulenko
f09cfc83d5
GUI: Put the help button back to [?]
The "Help" inscription was too wide for vertical mobile layout.

This effectively reverts 4b51ee1f98d222fb13092bab50a90a311dadce43
2024-06-03 20:30:20 +02:00
athrxx
d7e8a54756 AUDIO/GUI: add Mac sound option 2024-05-30 20:10:51 +02:00
sluicebox
697840c372 GUI: Improve save/load list input handling
- Selecting a list item with the keyboard no longer automatically enters
  edit mode; this makes keyboard navigation on the save list possible
  because subsequent keys are no longer trapped by the text field.
- Clicking a selected item that's not in edit mode will now correctly
  cause it to enter edit mode, instead of doing nothing.
- "Untitled saved game" edit mode initialization is no longer skipped
  when entering edit mode by pressing the Enter key.
- Deleting an item now leaves the slot selected so that the selection
  can be changed with the keyboard.
2024-05-22 21:47:07 -04:00
sluicebox
4308849811 GUI: Add ListWidget commands: single click and edit start
These commands allow greater control over editable ListWidgets, although
the save dialog's list is currently the only one.

kListItemSingleClickedCmd allows clients to respond to selection changes
based on the method used (mouse vs keyboard) and allows responding to
clicking on an already selected item. In the next commit, this will fix
multiple save issues.

kListItemEditModeStartedCmd allows clients to initialize edit mode
consistently. The save dialog has been doing custom initialization after
calling startEditMode, but this is incorrect because ListWidget calls
startEditMode in response to Enter, so the initialization is skipped.
2024-05-22 21:47:07 -04:00