Commit graph

3686 commits

Author SHA1 Message Date
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
1914313d6e images: fixed miss phyrexian mana symbol for Rage Extractor 2024-07-31 22:05:52 +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
jimga150
82a7769cbd
Update Rage Extractor's Phyrexian mana symbol (#12612)
* Switch Rage Extractor's Phyrexian mana symbol letter code to {H} instead of {P}
2024-07-30 00:40:21 -04:00
PurpleCrowbar
4f90270fa1 Add BLB token images 2024-07-29 22:07:02 +01: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
921e656e3c images: fixed miss images of War Room and Revenge in Star Wars (closes #10411) 2024-07-25 14:36:44 +04:00
Oleg Agafonov
1403b3aa37 images: fixed Star Wars images download, added Star Wars tokens (closes #12602) 2024-07-25 14:27:01 +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
theelk801
7b5330fee3 [BLC] add set 2024-07-09 16:32:01 -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
theelk801
3c3af396ef [FDN] add set 2024-06-28 11:06:53 -04:00
theelk801
b99fa71444 [DSK] add set 2024-06-27 13:42:21 -04:00
tiera3
0a23521ece
images: removed redundant download links for scryfall cards (#12508)
Found the include_variations flag so no need for a third search to check for variations - combined it with the second search (that drops the language code).
2024-06-25 07:34:36 +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
PurpleCrowbar
77aba627b0 Add all missing Secret Lairs 2024-06-22 16:26:50 +01:00
PurpleCrowbar
f83073081d Add M3C token images 2024-06-15 01:41:10 +01:00
PurpleCrowbar
993ffd8894 Add MH3 token images 2024-06-15 01:22:00 +01:00
Oleg Agafonov
1750797036 images: made normal images size as default download source, improved description and info messages 2024-06-13 01:04:30 +04:00
tiera3
b0f08d278f
images: added normal images size download from scryfall source - 2/3 of BIG sizes but with same quality (#12450) 2024-06-13 00:05:01 +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