Commit graph

2386 commits

Author SHA1 Message Date
Oleg Agafonov
30d44ce869 Improved server's reconnection and drafts stability:
* draft: fixed miss or empty draft panels on reconnect;
* draft: fixed tourney freezes for richman drafts on disconnects;
* draft: fixed tourney freezes on rare use cases with bad connection;
2025-04-18 09:38:52 +04:00
Oleg Agafonov
c3b57f1973 connection: fixed really disabled proxy usage (related to #13549); 2025-04-17 22:23:39 +04:00
Oleg Agafonov
571605e224 server: now it disable draft's clicks protection timeout in test mode; 2025-04-17 21:05:53 +04:00
PurpleCrowbar
dfb6896453
Skip prompting player with no blockers to select blockers (#13496)
* Don't prompt creatureless player to select blockers

* Move getting possible blockers back to while loop

* Several preferences text improvements, always skip select blockers prompt if no blockers
2025-04-03 18:34:04 +01:00
spjspj
b7bebfd93f
Update CardViewEDHPowerLevelComparator.java 2025-03-29 01:49:50 +11:00
PurpleCrowbar
f83a162d30 Achieve parity with 411100e, improve hints button text 2025-02-26 15:19:07 +00:00
PurpleCrowbar
411100e442 Minor grammar and text fixes 2025-02-25 02:23:37 +00:00
Johannes Wolf
216826b513
GUI, game: fixed game error in choose ability dialog on using CTRL and mouse wheel (#13186) 2025-02-16 23:33:47 +04:00
Oleg Agafonov
a102a7d614 GUI, game: added auto-resize to new popup windows like reveal/graveyard (#4351, #12281) 2025-02-13 08:01:29 +04:00
Oleg Agafonov
62ba9f02ba connection: disabled outdated proxy settings (#13323) 2025-02-09 19:51:10 +04:00
PurpleCrowbar
e1c114174b
Delete empty tooltips (#13276) 2025-01-30 23:26:23 +00:00
Oleg Agafonov
c076f4925f Turn under control reworked:
- game: added support for human games (cards like Emrakul, the Promised End, #12878);
 - game: added support of 720.1. to reset control in the turn beginning instead cleanup step (related to #12115);
 - game: added game logs for priorities in cleanup step;
 - game: fixed game freezes and wrong skip settings usages (related to #12878);
 - gui: added playable and choose-able marks for controlling player's cards and permanents, including switched hands;
 - gui: added controlling player name in all choice dialogs;
 - info: control of computer players is it not yet supported;
2025-01-07 12:38:01 +04:00
Oleg Agafonov
fbd5cca14a GUI: fixed rare error while draging/moving card on first play (close #13201) 2025-01-04 12:46:19 +04:00
Oleg Agafonov
7e0c9bb5c5 images: fixed symbols download from gatherer website, removed custom cacert key storage (close #13159, close #13157, related to #9266) 2025-01-02 02:11:23 +04:00
Oleg Agafonov
2955535927 tests: added tests for auto-lands suggestion in deck editor and tourney (related to #13127) 2024-12-16 21:50:27 +04:00
Oleg Agafonov
15a1e618fa client: improved default run scripts for better compatibility with non-ascii paths, increased default memory limit to 2 GB (#13121) 2024-12-10 18:17:55 +04:00
Oleg Agafonov
de34a98208 client: added java version and charset info to error report (related to #13121) 2024-12-07 14:54:02 +04:00
spjspj
7ae61944f5
Update ChatPanelBasic.java 2024-11-10 22:05:25 +11:00
Oleg Agafonov
1ec277631f GUI, game: added card popup support in choose target amount dialogs (example: damage distribution, related to #9827) 2024-10-24 16:30:17 +04:00
Oleg Agafonov
2b9ae8e0aa GUI, table: improved save/load table config for new tourney dialog (miss num seats, decks, skill, player types and other params, related to #12981) 2024-10-12 11:31:42 +04:00
Oleg Agafonov
3475249c99 GUI, table: improved save/load table config to support player types, AI skill level and deck files (closes #12981) 2024-10-11 17:09:15 +04:00
Oleg Agafonov
f652665f87 merge fix 2024-10-11 16:40:27 +04:00
Oleg Agafonov
bad782244f GUI: added new error dialog for more use cases 2024-10-11 16:38:46 +04:00
Oleg Agafonov
8d6ba84556 dev: added support of client code debugging without disconnection (no more connection/pings validation in server's test mode);
server: improved disconnection logs, fixed some race conditional bugs;
2024-10-09 16:03:38 +04:00
Oleg Agafonov
f0c6835d36 GUI, preferences: removed outdated settings with images download threads (it's 5 by default now) 2024-10-06 13:42:27 +04:00
Oleg Agafonov
5e1dace946 GUI: fixed black colored card hint popup on some systems (#12857) 2024-09-28 21:05:44 +04:00
TandEm
571eb69890
GUI, deck editor: improved toolbar icons in dark themes (#12873, #12920)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-09-28 19:44:19 +04:00
Oleg Agafonov
f7d702d5df images: added The Ring image support (part of #12274, #12899);
images: fixed miss dungeon image in choose dungeon dialog (part of #12274);
2024-09-21 18:41:53 +04:00
Oleg Agafonov
b40e7222b3 Dungeon improves:
* Dungeons: added dungeon name hint to room's game log and choices (part of #12274);
* GUI, game: added card popup hints support in feedback panel (yes/no choices);
* Images: fixed miss images for dungeons in command zone, game logs and choice dialogs;
2024-09-19 13:42:23 +04:00
Oleg Agafonov
cd51954208 tests: added verify check for wrong predicates usage in filters (ClassCastException errors like #12774) 2024-09-19 04:32:21 +04:00
Oleg Agafonov
6625db1be1 GUI: reworked GUI to support non-blocking UI:
- GUI: added non-blocking UI to almost all app and game dialogs;
- GUI: it allows to switch between UI dialogs and use any UI elements at any moment;
- GUI: it allows to use chat, card popup, battlefield, concede and other features while choosing (related to #12670);
- GUI: it allows to download images while playing (related to #4160, not fully tested);
- GUI: enabled by default, can be disabled by java option: -Dxmage.guiModalMode=true
- connection: auto-connect will be visible in main menu on startup;
- connection: removed some unused features (auto-connect by command line);
- connection: added <ESC> button to close connection dialog;
- download: added background images download (see non-blocking UI);
- download: improved cancel stability and fixes that it can't stop preparing/downloading process in some use cases;
- app: fixed freezes on macOS systems in some use cases (related to #12431, #11292, #9300, #4920);
2024-09-08 00:40:13 +04:00
xenohedron
54874a59b0
refactor: rename "remixed" to "reshuffled" (#12755) 2024-09-01 01:08:26 -04:00
TandEm
8b57b7ee75
GUI: fix some text colors not using the theme color (#12737)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-08-26 12:17:34 -04:00
TandEm
5cab53c848
New GUI theme: Carbon Fiber (#12733)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-08-25 23:14:02 -04:00
Oleg Agafonov
e386210b91 other: fixed rare errors on images download opening, fixed wrong code in chats and preferences store; 2024-08-16 17:42:33 +04:00
Oleg Agafonov
664ac24dfd GUI, preferences: added some docs/hints about DPI and rendering (part of #969) 2024-08-14 20:06:34 +04:00
Oleg Agafonov
3823e95c4f GUI, preferences: added default gui size settings on app's first run (preset selected due screen resolution, part of #969) 2024-08-14 13:31:47 +04:00
Oleg Agafonov
9733df0afd GUI, preferences: added predefined settings for different screen resolutions from 720p to 4k (closes #6887 part of #969) 2024-08-14 06:08:45 +04:00
Oleg Agafonov
d15f12cdd3 GUI, preferences: added fast buttons with predefined size settings for diff screen sizes (part of #6887 and #969) 2024-08-14 03:29:55 +04:00
Oleg Agafonov
58400833bc GUI, game: improved battlefield sizing (part of #6887 and #969):
- fixed wrong restore of card hint and chat panels;
- now it keep hidden state too (e.g. hidden card hint);
- reworked and share splitters code;
- removed some useless hotkeys to show/hide card hint panel;
2024-08-13 23:49:39 +04:00
Oleg Agafonov
9321c694ca GUI, game: introduced sizeable hand/stack zones (part of #6887 and #969):
- added splitter/divider between hand and stack zone;
- users can resize it by mouse drag;
- users can hide/minimize hand or stack zones by mouse clicks on splitter arrows;
- splitter settings shared between games and stored between app runs;
2024-08-13 16:07:05 +04:00
Oleg Agafonov
bc64ebca14 refactor, preferences: min/max permanents size settings replaced by single size, removed un-used code, fixed starting tab on game preferences use; 2024-08-13 00:08:13 +04:00
Oleg Agafonov
754e5fc41a GUI, preferences: removed rare/useless settings:
* Show ability picker forced - removed and keep enabled for all;
* Show turn info in logs - removed and keep enabled for all;
2024-08-12 21:25:16 +04:00
Oleg Agafonov
4d89fcd72d GUI, game: fixed wrong player panels size on reconnect 2024-08-12 20:58:41 +04:00
Oleg Agafonov
7811bcf4c1 GUI, menu: reworked switch panels from main menu - fixed random positions, now it group buttons by related tables and sort by creating date; 2024-08-11 19:34:29 +04:00
Oleg Agafonov
7916af0e52 server, refactor: added client side info about current table and parent table (tourney's sub-tables with matches); 2024-08-11 19:29:42 +04:00
Oleg Agafonov
f105828e1c GUI: reworked battlefield panels to use layouts and dynamic settings (no needs in NetBeans to modify it, no needs in size calculations, improved positions and sizes, deleted outdated code); 2024-08-05 19:00:42 +04:00
Oleg Agafonov
546fc1ed9a GUI, preferences: fixed that auto-target settings doesn't save, removed outdated code (phase stops settings are global now, not per game); 2024-08-05 03:18:20 +04:00
Oleg Agafonov
76db1d3e65 GUI: combined symbols and images download menus in one, fixed menu colors on theme switch 2024-08-05 02:20:12 +04:00
Oleg Agafonov
42ae6f0f7e Merge fix 2024-08-05 00:54:51 +04:00