Commit graph

2333 commits

Author SHA1 Message Date
Oleg Agafonov
b5527a28db download: added debug logs/stats for http requests (DebugUtil.NETWORK_PROFILE_REQUESTS) 2024-08-01 11:23:54 +04:00
Oleg Agafonov
27e7d4432f refactor: added lazy loading to preferences dialog, fixed tests in headless mode (travis) 2024-07-31 22:50:07 +04:00
Oleg Agafonov
e1cffbde40 download: reworked connection:
- added shareable code with default proxy, headers and other settings for download tasks like images, symbols, mtgjson, etc;
- use XmageURLConnection.downloadText for text resources
- use XmageURLConnection.downloadBinary for any file resources
- added user agent with app version for all requests;
- added http logs and improved error messages;
2024-07-31 21:25:56 +04:00
Oleg Agafonov
1d701df0e8 GUI: added gui scale support for skip and phase button on game panel (part of #969, #6887):
- reworked skip and phase buttons to use layouts instead IDE designer;
- added GUI scale support skip and phase buttons (depend on dialogs font size from preferences settings);
2024-07-28 18:01:15 +04:00
Oleg Agafonov
8186b35dfb GUI: improved gui scale support (part of #969, #6887):
- added GUI scale support for dialog titles;
- added GUI scale support for hints tool;
- fixed broken font in chat and game logs on settings change;
- fixed wrong size of pick choice dialog in some use cases;
2024-07-28 11:47:12 +04:00
Oleg Agafonov
f9b59ca411 GUI, deck editor: added gui scale support for sort/order labels, fixed wrong label hints (part of #969, #6887) 2024-07-27 22:39:29 +04:00
Oleg Agafonov
53a072b759 GUI, preferences: removed 4 useless size settings, fixed wrong fonts in few places like miss image path (part of #969, #6887) 2024-07-27 21:35:33 +04:00
Oleg Agafonov
ba929d5692 GUI: improved GUI scale support (fixed font sizes in card icons popup, ability picker dialog, part of #969) 2024-07-27 17:05:54 +04:00
Oleg Agafonov
21ad11dbdc GUI: added GUI scale support for ability choice dialog (related to #12155, #969) 2024-07-27 11:58:35 +04:00
Oleg Agafonov
2bf6e3e3a2 GUI: added mana and other symbols support in choose spell dialog (closes #12155) 2024-07-27 10:17:22 +04:00
Oleg Agafonov
521a0f6e32 GUI: introduced default card hints:
* refactor: added helper emblems instead rad counter's inherent emblems (use initGameDefaultHelperEmblems to define new card hints or other fake objects);
* refactor: added card hints support for emblems, planes and other command objects;
* GUI: added storm counter as default card hint (use hints tool to see it, closes #12360);
2024-07-27 09:40:41 +04:00
Oleg Agafonov
83823acec7 GUI, performance: fixed memory/resources leaks on some components rendering 2024-07-26 03:27:10 +04:00
Oleg Agafonov
1f3fad6594 GUI, preferences: reworked size settings:
- added size settings for player's panel size (closes #12455, closes #12451, closes #5605);
- size settings can be edit by slider or by text edit;
- size settings for fonts has preview button with real text sample;
- improved some tabs and hints for better UX;
- improved GUI rendering performance;
2024-07-26 03:27:10 +04:00
Oleg Agafonov
2a88745388 GUI, pick choice: fixed slow opening and searching on big lists like card names (related to #8671); 2024-07-19 13:20:47 +04:00
Oleg Agafonov
b07e7b3733 GUI: fixed that pick choice dialog can freeze on search text deleting (closes #8671); 2024-07-19 11:55:16 +04:00
Oleg Agafonov
e5912b227a GUI: improved pick card/trigger dialog (cards list sorted by name now, closes #11874); 2024-07-19 11:24:55 +04:00
Oleg Agafonov
a974af3c61 GUI: improved choose creature type dialog - important creature types added to the start of the list and marked as my/opponent (closes #8478) 2024-07-19 03:17:53 +04:00
Oleg Agafonov
77df387e06 GUI: improved pick choice (dialogs with searchable list, related to #12420):
- dialog: added mana symbols and html support in headers and list;
- dialog: added custom hints for each list's item (use setHintData);
- dialog: added game object hint type (use object id as hint value);
- dialog: added fast way to add key, value, sort and hint data (use choice.withItem());
- cheats: added commands list in popup hint;
2024-07-18 23:04:47 +04:00
Oleg Agafonov
bf3f26ccc1 server: database improves:
- fixed broken database in some use cases (example: AI and choose name dialog, related to #11285);
- added docs and debug tools for sql queries, caches and memory analyse (see DebugUtil);
- refactor code to use shared settings;
- deleted outdated and un-used code (db logs, stats, etc);
2024-07-18 21:22:10 +04:00
Oleg Agafonov
c1244a71ef GUI: added gui size support in pick choice dialogs (dialogs with searchable list, related to #12420) 2024-07-07 12:58:30 +04:00
Oleg Agafonov
f3db9cb8af GUI: added card hint popup support in pick choice dialogs (dialogs with searchable list, related to #12420) 2024-07-07 11:39:29 +04:00
Oleg Agafonov
9864cdd46c GUI, preferences: improved theme switch at runtime (fixed skip and step buttons update); 2024-07-05 18:11:09 +04:00
Oleg Agafonov
6c0f7ebb90 GUI: reworked error dialog:
* added client version and improved stack trace;
* added copy to clipboard button;
* added button to create new issue on github (with prefilled form fields like error text);
* added GUI size settings support;
* some old errors now use new error dialog instead message box;
2024-07-05 17:42:36 +04:00
Oleg Agafonov
2631b31b8a GUI, preferences: improved theme switch at runtime (fixed main menu update); 2024-07-03 23:46:12 +04:00
Oleg Agafonov
2848ba69d4 GUI, preferences: improved background images settings, moved it from images to theme tab (related to #10809); 2024-07-03 05:22:36 +04:00
Oleg Agafonov
64f3df035b GUI, preferences: added theme switch without app restart (for preview only, app must be restarted anyway for full GUI refresh); 2024-07-03 04:31:07 +04:00
Oleg Agafonov
e3dee4eac1 GUI, preferences: improved proxy tab, removed un-used servers list 2024-07-02 13:17:23 +04:00
Oleg Agafonov
3b188340fa refactor: actual form file format for preferences dialog 2024-07-02 12:25:27 +04:00
Oleg Agafonov
3c8d70c64e refactor: clean code 2024-06-24 06:15:08 +04:00
Oleg Agafonov
72586616ae GUI: added HD screen support (resizing) for player panels (preferences settings under development, part of #12455, #12451, #7563); 2024-06-23 16:07:18 +04:00
Oleg Agafonov
7d675de876 server: fixed server app freeze on another instance already running, improved threads usage (related to #11285); 2024-06-23 15:58:25 +04:00
Oleg Agafonov
f0c38cdb87 GUI: fixed that server's lobby do not remember divider position after app restart (tables, matches and chat sizes) 2024-06-23 15:55:46 +04:00
Oleg Agafonov
f78177a540 debug: added command line param to disable full screen mode on mac os (-Dxmage.fullScreen=false - useless); 2024-06-23 15:51:40 +04:00
Oleg Agafonov
11bd8c29b2 refactor: removed un-used balloontooltip library 2024-06-13 00:02:15 +04:00
Oleg Agafonov
e2b1d980b6 other: added java version in app's starting logs 2024-06-12 06:33:04 +04:00
Oleg Agafonov
c8b5c1fa35 AI: fixed wrong quick start button for MCTS game 2024-06-10 21:51:55 +04:00
Oleg Agafonov
88a451bb4f GUI: fixed wrong font size in debug menu and quick game buttons 2024-06-10 21:51:05 +04:00
Oleg Agafonov
93221f8452 GUI: improved small mode detection on some desktop resolutions (mode without avatars); 2024-06-10 00:00:46 +04:00
Evan Kranzler
cdf91e66fb
Change tribal card type to kindred, update viashino and naga (#12271)
* change tribal card type to kindred

* update viashino to lizard

* update naga to snake
2024-06-08 13:55:52 -04:00
Oleg Agafonov
e33a5f4861 GUI: fixed app freeze on images download or connection for systems like macOS (related to #12261); 2024-06-07 17:29:19 +04:00
Susucre
20b7a115da
prevent direct access of Player->counters ; some cleanup on counter removal effects ; implement [MH3] Izzet Generatorium (#12314) 2024-05-29 22:34:54 +02:00
Oleg Agafonov
ba36eac7f8 fixed error on deck editor usage, related to 2298ebc5f5 2024-05-28 22:22:20 +04:00
Oleg Agafonov
1b5f8ce1af GUI: fixed wrong background rendering of card's popup window (related to #12261), deleted un-used code; 2024-05-20 23:19:51 +04:00
Oleg Agafonov
492269c473 return fix for #12261 2024-05-20 23:19:51 +04:00
Oleg Agafonov
72d7d6e353 reverted changes for #12261 2024-05-20 16:37:43 +04:00
Oleg Agafonov
fb453cce18 GUI: fixed wrong render of attack and other arrows over dialogs (closes #12261); 2024-05-20 16:09:15 +04:00
Oleg Agafonov
bd1ab573f1 GUI: fixed that attack/block arrows was visible after disconnect (closes #12258) 2024-05-20 14:29:31 +04:00
grimreap124
f53c9da3e4
GUI: added stacked feature for a same creature tokens (#12256) 2024-05-20 09:15:15 +04:00
Oleg Agafonov
d138e33b04 GUI: fixed wrong font sizes in table's and feedback panel popup hints 2024-05-07 15:33:40 +04:00
Oleg Agafonov
d3437c9b1e GUI: fixed that size settings changes do not work in-game sometimes (broken fonts in feedback panel); 2024-05-07 15:25:15 +04:00