Commit graph

2914 commits

Author SHA1 Message Date
John Hitchings
58e629dca6 Refactored DeckImporter and obsoleted DeckImporterUtil. Added/refactored a PlainTestDeckImporter as a base class for text formatted importers to extend. 2019-01-10 08:27:05 -08:00
Oleg Agafonov
bcbd1e87a6 Merge fix 2019-01-07 06:52:39 +04:00
Oleg Agafonov
f01b3d3ca3 Improved new version cleanup and more:
* fixed db cleanup on new version (sets + cards);
 * fixed empty sets list after update;
 * fixed NPE errors in sets list on new install/version;
 * added joke sets filter to deckeditor.
2019-01-06 15:41:30 +04:00
Oleg Agafonov
253c580639 Fixed broken tables selection in lobby 2018-12-22 06:21:17 +04:00
Oleg Agafonov
0d949ca7e6 Typos 2018-12-22 01:05:43 +04:00
Oleg Agafonov
0c18f96ce7 Added set codes info in download window; 2018-12-22 00:01:37 +04:00
Oleg Agafonov
fbca0f4fef Added RNA images support for scryfall, fixed MED set for scryfall, fixed bloated logs for machines without sound. 2018-12-21 20:09:01 +04:00
Oleg Agafonov
5d1289a66e
Merge pull request #5465 from magefree/ui-new-download-window
UI: added new download images window
2018-12-21 18:03:55 +04:00
Oleg Agafonov
c3ea8ddd7a UI: added images cache reset after downloads finish (no more xmage restart for new images); 2018-12-21 17:53:24 +04:00
Oleg Agafonov
97c9659f1e UI: fixed window download centered after startup complete 2018-12-21 17:35:41 +04:00
Oleg Agafonov
af5e48668e UI: added cancel button for images downloading startup; 2018-12-21 17:31:55 +04:00
Oleg Agafonov
2fdef83284
Merge pull request #5455 from SpikesCafe-google/AddSpinyStarfish3
Add Spiny Starfish from Alliances.
2018-12-21 05:33:04 +04:00
John Hitchings
7e621ee8af Make draft logs compatible with MTGO format #5450 - https://github.com/magefree/mage/issues/5450 2018-12-19 19:41:44 -08:00
Oleg Agafonov
8df4ba3871 UI: added images re-download mode and improved dialog UX; 2018-12-19 05:19:29 +04:00
Oleg Agafonov
110f8a20ab UI improved for mage dialogs:
* added working popup hints for buttons and cards while user in choose mode;
 * fixed wrong windows position after tray icon clicks or mouse moves;
 * added big combobox's popups support (now users can select/choose items from outer space);
2018-12-18 18:06:32 +04:00
Oleg Agafonov
617f4d4b4b UI: added new download images dialog:
* new option to download all modern cards;
 * new option with language selection;
 * new button for sets fast search;
 * new language support: Chinese Traditional;
 * all sets are sorted by date and have released date;
 * fixed selection reset on source changes;
2018-12-18 18:01:35 +04:00
Oleg Agafonov
79370108eb Refactor: extract make window centered code; 2018-12-18 17:57:46 +04:00
Oleg Agafonov
c799fa94ec Refactor: removed closed images source magiccards.info (it was migrated to scryfall); 2018-12-18 17:52:28 +04:00
Oleg Agafonov
70012af6db Refactor: improved language support in card images sources; 2018-12-18 17:50:19 +04:00
Oleg Agafonov
4495d75d8a Fixed NPE error on AI calcs 2018-12-18 17:17:10 +04:00
Oleg Agafonov
3960ad7444 UI: fixed error and improved stability on lobby's table selection/click; 2018-12-15 22:25:09 +04:00
Oleg Agafonov
0a2f312da7 Added build time to version info, cleanup manifest files; 2018-12-15 18:29:10 +04:00
SpikesCafe-google
a852d5c9e5 Add Spiny Starfish from Alliances. 2018-12-09 13:48:55 -05:00
LevelX2
e6ce58d6bf XMage 1.4.32V0 2018-11-26 19:30:22 +01:00
LevelX2
e7d129a074
Merge branch 'master' into add-minimum-rating-option 2018-11-26 17:18:35 +01:00
Oleg Agafonov
f15d8a0da8 Code cleanup; 2018-11-19 15:39:05 +04:00
Oleg Agafonov
d78d818a66 * Fixed not working deck generation for some settings (#5413); 2018-11-19 01:03:05 +04:00
Oleg Agafonov
5ffb6e1fd7 * Changed default US server from vaporservermtg.com to mtg.powersofwar.com 2018-11-18 04:15:47 +04:00
Oleg Agafonov
30c373c40b Removed bloated log on non text clipboard data 2018-11-17 11:43:24 +04:00
Oleg Agafonov
6fa014d1a9
Merge pull request #5420 from hitch17/load-deck-content-from-clipboard
Prepopulate DeckImportFromClipboardDialog content with string content…
2018-11-17 11:36:43 +04:00
John Hitchings
b1df464e8f refactor deck import content to include hints 2018-11-16 21:57:25 -08:00
Oleg Agafonov
92d1b5c51a * UI: added new skill level column with star icons instead text; 2018-11-17 02:48:50 +04:00
Oleg Agafonov
0b089895a7 Fixed scryfall images download for PUMA set; 2018-11-12 04:14:53 +04:00
Oleg Agafonov
b298a621fb Added scryfall download for new set: GNT, UMA, PUMA 2018-11-12 01:39:31 +04:00
John Hitchings
baeb9d8b00 Prepopulate DeckImportFromClipboardDialog content with string contents of clipboard. 2018-11-08 09:25:03 -08:00
Oleg Agafonov
706ed23bdc * Added ignored list to tournaments (users from ignored list can't join to your tournaments too); 2018-11-05 09:28:24 +04:00
Oleg Agafonov
a806e79abd * Improved chat help about ignore command (it's not only chat, but game joins too); 2018-11-05 09:06:31 +04:00
John Hitchings
c9719488ca Fix GAME_CHOOSE_ABILITY event submitted to appendJsonEvent. 2018-11-04 11:19:16 -08:00
LevelX2
e6b78d7a2e Updated some libs to newer versions. 2018-10-21 21:36:53 +02:00
Oleg Agafonov
2bd5d0ddf6 * UI: Fixed wrong game selection by double click on tables list (#5239); 2018-10-13 01:11:26 +04:00
Oleg Agafonov
9a4fb4adb1 Tests: fixed error on missing db files; 2018-10-12 22:19:45 +04:00
LevelX2
2367ff5940 Fixed a problem that caused netbeans design view to fail. 2018-10-10 16:10:54 +02:00
LevelX2
189984d3d6 DeckEditorPanel - Fixed some existing exceptions. 2018-10-10 15:37:26 +02:00
Oleg Agafonov
1c95ed3b08 * Added new set Arena New Player Experience (ANA) with 39 cards (18 new); 2018-10-09 20:54:46 +04:00
Oleg Agafonov
10f56fb2a1 [ANA] - added White Spirit token 2018-10-09 19:37:56 +04:00
Oleg Agafonov
0181bf4f41 [ANA] - added goblin token 2018-10-09 18:17:15 +04:00
Oleg Agafonov
72d23bfe95 * UI: deck editor - added cards sorting by rarity (#4414); 2018-10-03 23:59:51 +04:00
Oleg Agafonov
64721675f2 Merge remote-tracking branch 'remote-production/master' into local-production 2018-10-03 22:10:23 +04:00
Evan Kranzler
1f239b28b3 added GRN guild kit set 2018-10-03 13:01:40 -04:00
Oleg Agafonov
69546c82ce * Added missing images for WPN and Gateway Promos (GRC) set in scryfall source; 2018-10-03 20:32:58 +04:00
Oleg Agafonov
fccae9b8cd * Added new set Anthologies (ATH) with 85 cards; 2018-10-03 01:52:16 +04:00
Aaron Miller
5cd57199c7 Merge branch 'master' into add-minimum-rating-option 2018-09-29 19:15:46 -07:00
Aaron Miller
81c2a62250 Add "minimum rating" option to matches and tournaments 2018-09-29 19:14:39 -07:00
Oleg Agafonov
8df97aa6f6 * Added missing images for 2 sets in scryfall source:
* Grand Prix Promos (GPX);
   * European Land Program (EURO).
2018-09-27 16:28:09 +04:00
Oleg Agafonov
82168ded34 Images: added direct images download for scryfall source (promos support); 2018-09-27 14:12:37 +04:00
Oleg Agafonov
1ff849bac2 Fixed DPA rarity 2018-09-27 13:12:51 +04:00
Oleg Agafonov
85c391394c * Added new set "Duels of the Planeswalkers" (113 cards); 2018-09-27 12:24:18 +04:00
Ingmar Goudt
a0e54fbb7b remove redundant null checks, remove some static fields 2018-09-26 22:02:03 +02:00
Ingmar Goudt
f04d7c9b03 remove redundant null checks before instanceof 2018-09-17 21:09:42 +02:00
LevelX2
7bc160c7ca Added some allowed sets to download sources. 2018-09-14 10:29:12 +02:00
Oleg Agafonov
38a45c2e8e Refactor: removed outdated code for non implemented cards 2018-09-09 16:06:40 +04:00
Michael Simons
b78bfabe86 Update image sources for available recent sets 2018-08-25 23:56:45 -04:00
Michael Simons
28f3e52b57 Update Set Symbols for recent sets and client errors on download 2018-08-25 23:13:18 -04:00
Oleg Agafonov
3f16a83fd3 * Cleanup logs from load svg/gif errors (show total errors instead each symbol) 2018-08-26 01:15:11 +04:00
Oleg Agafonov
09f5af154e Fixed too large temp files creation for svg icons on startup 2018-08-20 17:52:30 +04:00
L_J
f9c52b4859
Adaptive Enchantment fix (fixes #5232) 2018-08-16 22:47:30 +00:00
LevelX2
deb675a74a Xmage 1.4.30V0 2018-08-15 11:35:40 +02:00
LevelX2
21b67af7f5
Merge pull request #5213 from rkfg/master
Perform the action on double click in the game list.
2018-08-15 08:20:00 +02:00
LevelX2
a30ed4fee5
Merge pull request #5157 from ninthworld/master
Add Star Wars Expansion sets to the Star Wars set
2018-08-15 08:09:19 +02:00
rkfg
18dbd06450 Perform the action on double click in the game list. 2018-08-11 23:55:19 +03:00
spjspj
824637d33e
Merge pull request #5207 from spjspj/master
Update Penny Dreadful
2018-08-08 00:10:45 +10:00
spjspj
589a542cbc Update Penny Dreadful 2018-08-08 00:09:03 +10:00
LevelX2
7f4573f8ce Added some sets to the download sources. 2018-08-07 00:14:22 +02:00
spjspj
4ce9addcc0 4 decks for C18 2018-08-04 01:14:57 +10:00
ninthworld
2a2df685a9 Merge branch 'master' of https://github.com/magefree/mage.git 2018-08-01 18:40:58 -07:00
spjspj
f58e33524d Implement 1 card C18 2018-07-27 18:53:34 +10:00
Chris Swenson
0484f4f453
undo CardImageUtils change 2018-07-20 23:54:47 -07:00
ninthworld
d7c1b8b9c9 fix card bugs for Star Wars set 2018-07-17 13:01:19 -07:00
ninthworld
88c049f44a add Star Wars Expansion Set images 2018-07-16 22:22:44 -07:00
ninthworld
86107de54e Merge remote-tracking branch 'upstream/master'
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-07-16 21:16:20 -07:00
igoudt
cd0c0b3bdd fix planeswalker check in EDH powerlevel comparator 2018-07-15 20:42:14 +02:00
LevelX2
98793e4511 Added download from M19 CM2 from Wizard source. 2018-07-14 18:26:48 +02:00
Oleg Agafonov
69465fd9b6 * Fixed svg symbols download from scryfall (#5135); 2018-07-10 05:49:21 +04:00
spjspj
1f39a3df51 .. 2018-07-09 01:35:57 +10:00
spjspj
5744bfa843 Add in new bar chart distribution for the 'M' mana analyse button. 2018-07-09 01:15:07 +10:00
spjspj
6b9a2bb12c Add in new bar chart distribution for the 'M' mana analyse button. 2018-07-08 21:28:25 +10:00
spjspj
e0bffcc521 Add in new bar chart distribution for the 'M' mana analyse button. 2018-07-08 13:09:38 +10:00
spjspj
9ececbbda8 Add in new bar chart distribution for the 'M' mana analyse button. 2018-07-08 12:59:59 +10:00
spjspj
35022d4ed3 Add in new bar chart distribution for the 'M' mana analyse button. 2018-07-08 12:53:30 +10:00
spjspj
56526d5413 Copy Paste image source 2018-06-24 21:13:35 +10:00
Oleg Agafonov
90b2a287e1 UI: added info about image download sources and modes; 2018-06-23 19:03:14 +04:00
Oleg Agafonov
6c20ee4a74 * Images: added localized card images download from scryfall source; 2018-06-23 16:27:34 +04:00
LevelX2
443558406c Enabled M19 Scryfall image download. 2018-06-21 23:06:38 +02:00
Michael Simons
dbb3120199
Update ScryfallImageSource.java
Remove CM2 until full list available on Scryfall
2018-06-10 22:32:13 -04:00
Michael Simons
845bb0d90e
Merge branch 'master' into add_CM2 2018-06-10 01:42:24 -04:00
LevelX2
52270a11c8 Merge origin/master
Conflicts:
	Mage.Client/src/main/java/mage/client/dialog/ConnectDialog.java
2018-06-10 01:13:30 +02:00
LevelX2
2627cb2914 Changed us server url for fast connect button. 2018-06-10 01:12:05 +02:00
Evan Kranzler
56777cb0d0 Updated the default US server link 2018-06-09 14:20:43 -04:00
Michael Simons
663a6d3471 Add DDU set to Image download sources. 2018-06-07 23:24:06 -04:00
Michael Simons
4d5018bef0 Fixed typos/misspellings based on IntelliJ's suggestions. 2018-06-07 22:39:53 -04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files 2018-06-02 17:59:49 +02:00
GrayedFox
1aee67db5d
remove dated license txt from release folder 2018-06-02 17:48:28 +02:00
spjspj
bb5d601ff4 New plane (Panopticon) with 'PW to' ability checked 2018-05-31 23:14:56 +10:00
Evan Kranzler
6636fb3b3a fixed an annoying error that didn't affect anything 2018-05-28 18:52:19 -04:00
GrayedFox
e84907c252
remove unecessary column restructuring and renaming
rename "constructed rating" column to just "rating"
remove setting setAutoCreateColumnsFromModel to false since changing the
default behaviour is no longer required
2018-05-28 12:50:07 +02:00
LevelX2
a19c257e50 XMage 1.4.30V0 2018-05-27 01:28:42 +02:00
LevelX2
66cc29325c * Some fixes to some Battleebond cards. 2018-05-27 00:41:53 +02:00
LevelX2
d743864bbd * Try to fix URL handling. 2018-05-27 00:41:30 +02:00
LevelX2
fcc6174e5e Some null exceptions checking and fixed some other minor problems. 2018-05-26 01:22:28 +02:00
LevelX2
af2d55f8aa Deck editor - Fixed a bug that the card list could not be sorted by color text. 2018-05-26 01:20:55 +02:00
LevelX2
4a0427a54e
Merge pull request #4965 from GrayedFox/issue-4952-fix-touranment-lobby-prefs
Issue 4952 fix touranment lobby column width and order
2018-05-24 23:32:26 +02:00
GrayedFox
f3cdad97e7
add default width for History (also fixes stored width not being used) 2018-05-23 19:06:01 +02:00
GrayedFox
9da01a1270
remove logging 2018-05-23 18:50:12 +02:00
GrayedFox
49fd99a45b
fix columns being resized due to auto creation flag 2018-05-23 18:00:25 +02:00
GrayedFox
42b539c41f
renamed utility functions for clarity 2018-05-23 16:49:48 +02:00
GrayedFox
32cb438e7c
minor refactor - code ordering and variable reference 2018-05-22 21:26:17 +02:00
GrayedFox
ebc36c503e
add restoring tournament table chat divider location
refactor getting current bounds into utility function
2018-05-22 20:36:05 +02:00
GrayedFox
5822a7d94d
refactor divider setting and saving into utility functions
refactor setting and saving filters into utility functions
2018-05-22 20:11:07 +02:00
LevelX2
f89c3cc65b
Merge pull request #4953 from GrayedFox/issue-4952-fix-touranment-lobby-prefs
Issue 4952 fix touranment lobby prefs (WIP)
2018-05-22 16:56:43 +02:00
LevelX2
edc7daf126
Merge pull request #4916 from Faxn/enhancement/startArgs
Enhancement/Autoconnect by Argument
2018-05-22 06:57:38 +02:00
GrayedFox
f1f2a80f4f
add logging for restoring/saving column width and order (remove later) 2018-05-20 21:24:59 +02:00
GrayedFox
0fe129f817
remove todo (column wodth and sort order persists through restarts) 2018-05-20 20:12:22 +02:00
GrayedFox
a3e433f7bd
remove offending line setting width incorrectly (was always 1647) 2018-05-20 19:25:31 +02:00
GrayedFox
06392f510c
refactor code
reorder import statemets
tableSeats renamed to jTableSeats to follow naming scheme
setGUISize called sooner (as it is in PlayersChatPanel.java)
2018-05-20 18:33:06 +02:00
Evan Kranzler
30922924f5 added TheElk801 as a dev 2018-05-15 20:22:05 -04:00
Michael Simons
f39a6e9411 Set Commander Anthology Vol II added 2018-05-12 19:11:05 -04:00
Blake Curry
5e6474c06e Improved command line autoconnect
Changed how the  command line autoconnect was handled to leverage the existing autoconnect code.
2018-05-10 14:05:34 -04:00
campb
6ad23a2f3d Parsing connect arguments and connecting. 2018-05-10 14:05:34 -04:00
Michael Simons
15c72f6d8d Token image changes for DOM 2018-05-10 00:25:49 -04:00
Michael Simons
969bf282cd Merge dom_tokens 2018-05-09 23:33:10 -04:00
Michael Simons
e654635211 Token changes for C17 2018-05-09 22:13:30 -04:00
LevelX2
bf8acb6d8c
Merge pull request #4923 from magefree/rystan-patch-2
Added Chandra Bold Pyromancer planeswalker deck from Dominaria
2018-05-09 12:39:27 +02:00
Michael Simons
e6d56999e8
Added Chandra Bold Pyromancer planeswalker deck from Dominaria 2018-05-09 02:17:23 -04:00
Michael Simons
fe1bc0fa1a
Added remaining 2011 Commander pre-constructed decks 2018-05-09 02:15:05 -04:00
LevelX2
dcd3e7c039 * Some more fixed/reworked card movement handling. 2018-05-08 23:46:34 +02:00
Oleg Agafonov
c44127e238 Removed gray background file from random folder (#3152) 2018-05-07 21:53:56 +04:00
LevelX2
feb17320c5 Some minor changes. 2018-05-06 09:44:14 +02:00
Oleg Agafonov
e9d5afd530 Refactoring: replace custom creature tokens with basic class 2018-05-06 00:50:02 +04:00
LevelX2
cddd81123b Some changes related to #4893. 2018-05-03 01:33:21 +02:00
Oleg Agafonov
b6bad9ca96 * Fixed viewer's error on tokens show up (Mirage and other); Fixed some tokens. 2018-05-02 15:16:39 +04:00
spjspj
4b4d7989cd
Merge pull request #4879 from spjspj/master
Add planechase to new tournament window as well.
2018-05-02 18:31:59 +10:00
Oleg Agafonov
4d31294ee9 Refactor images path code 2018-05-02 00:16:41 +04:00
LevelX2
bdb0254274 Added 3 AI suitable decks. 2018-04-30 17:21:36 +02:00
spjspj
1dbffe70b5 Add planechase to tournaments 2018-04-29 23:47:08 +10:00
Oleg Agafonov
f682bfb527 * [Start Wars] Fixed all tokens (viewer, image download); 2018-04-29 01:20:40 +04:00
Oleg Agafonov
bb3c7232ea * [Start Wars] Fixed Obi-Wan Kenobi emblem (viewer, image download); 2018-04-28 22:43:28 +04:00
Oleg Agafonov
7cb90e2475 * Fixed same images download bug for basic lands in Star Wars set. 2018-04-28 22:23:10 +04:00
Oleg Agafonov
c24ba742f6 Fixed equal or == errors -- 23 cards and more (see #4407) 2018-04-28 21:24:48 +04:00
LevelX2
b3d62865d9 * Fixed a problem of deck generator to use cards from sets not legal to the format (fixes #4642). 2018-04-28 01:13:58 +02:00
spjspj
96f8fb0cb7
Merge pull request #4877 from spjspj/master
Fix mana dialog box.
2018-04-27 23:55:40 +10:00