Commit graph

23568 commits

Author SHA1 Message Date
Marc Zwart
ea7c75cb52 move locks to try block to ensure unlocking along all execution paths 2018-03-20 15:47:34 +01:00
Marc Zwart
d299ee0882 remove commented code 2018-03-20 15:37:46 +01:00
Marc Zwart
f883d6b0a8 ensure closing resources after finishing/canceling download of pictures 2018-03-20 15:37:25 +01:00
Marc Zwart
1e18875725 ensure closing of fileoutputstream in ScryfallSymbolsSource 2018-03-20 15:27:14 +01:00
Marc Zwart
9402c4a59c ensured closing of zipinputstream resource 2018-03-20 15:19:59 +01:00
Marc Zwart
ccb0d3da52 ensure closing of plugin classloader 2018-03-20 15:11:59 +01:00
Marc Zwart
1ec5a3fb4d ensure resource closing in deckimport from clipboard 2018-03-20 15:00:08 +01:00
Marc Zwart
338e9833cc ensure closing of datagram socket in arcane Util 2018-03-20 14:59:41 +01:00
Marc Zwart
63dbfb8a9b ensure proper closing of Stream in arcane UI 2018-03-20 14:48:22 +01:00
Marc Zwart
a0a2ac1b5a ensure closing of filewriter in manasymbols 2018-03-20 14:40:58 +01:00
Marc Zwart
b2e2f48ad9 closed unclosed resources in copyCompressed method in Copier 2018-03-20 14:20:31 +01:00
Marc Zwart
dc25eedfc3 fixed unclosed resources in copy method in mage framework Copier 2018-03-20 14:18:42 +01:00
Marc Zwart
91b538be63 further proper resource closing in ServerMessagesUtil 2018-03-20 14:10:03 +01:00
Marc Zwart
2a9d23221e properly close resources in loadGame method of GameReplay class 2018-03-20 13:58:46 +01:00
Marc Zwart
532a190587 closed resources in savegame method of gamecontroller 2018-03-20 13:52:23 +01:00
LevelX2
48cfe249f7 * Fixed a problem that a gained "is all creature types" from continous effects were not propertly reset on permanents. 2018-03-20 13:39:48 +01:00
Marc Zwart
4bc5a9bd61 Merge branches 'hotfix/close-unclosed-resources-mage-client', 'hotfix/close-streams-in-updater', 'hotfix/fix-non-closed-scanner' and 'hotfix/manapiechart-potential-zero-division' into feature/SonarqubeFixes 2018-03-20 13:03:28 +01:00
Marc Zwart
7233f5d86f added quiet closing to saveobjectutil 2018-03-20 12:55:37 +01:00
Danny Plenge
1799143be0 Fix small typo 2018-03-20 12:53:04 +01:00
Marc Zwart
9912a23007 added quiet closing method in new streamutils class, used to clean up the connectdialog 2018-03-20 12:46:53 +01:00
Danny Plenge
22d8a4ab36 Refactored method in NaturesWill to not always return same value. 2018-03-20 12:13:11 +01:00
Danny Plenge
3ab65c1d86 Refactored method in LegionsInitiative to not always return same value. 2018-03-20 12:05:12 +01:00
Danny Plenge
dfba153519 Refactored method in KjeldoranRoyalGuard to not always return same value. 2018-03-20 12:03:09 +01:00
Danny Plenge
becae01f73 Refactored method in IceCave to not always return same value. 2018-03-20 12:02:48 +01:00
Marc Zwart
9187248e85 fixed left open resources, ensured quiet closing of the streams 2018-03-20 12:01:25 +01:00
Danny Plenge
a490f9e468 Refactored method in GilderBairn to not always return the same value. 2018-03-20 11:58:10 +01:00
Danny Plenge
5096410aec Refactored method in FalkenrathAristocrat to not always return same value. 2018-03-20 11:57:49 +01:00
Danny Plenge
d0bde94ffe Refactored method in EmpyrialArchAngel to not always return same value. 2018-03-20 11:57:15 +01:00
LevelX2
3ced3fde11 Merge origin/master 2018-03-20 11:29:47 +01:00
LevelX2
dcb3d5fb27 * Fixed a bug of Mizzixs Mastery that could lead to a endless loop. 2018-03-20 11:29:09 +01:00
LevelX2
46ad2cb081
Merge pull request #4641 from chasevedder/master
Fix Mana#containsAny to account for Any mana
2018-03-20 11:13:34 +01:00
Danny Plenge
b64bf15c5f
Merge pull request #2 from magefree/master
Update Master
2018-03-20 11:08:35 +01:00
Marc Zwart
7b3d6a60b6 ensure closing of scanner if it was opened 2018-03-20 10:52:53 +01:00
Chase
491a05b2df Fix Mana#containsAny to account for Any mana 2018-03-20 01:39:26 -07:00
spjspj
8ff4f81cea
Merge pull request #4640 from spjspj/master
New M15 Rendering for Unstable lands
2018-03-20 16:49:00 +11:00
spjspj
6e15835232 New M15 Rendering for Unstable lands
(Way to default to 'UST' for the cheat button.
2018-03-20 16:15:08 +11:00
spjspj
a368c93845 New M15 Rendering for Unstable lands 2018-03-20 16:12:43 +11:00
Jeff
92b76b7c09 - Added Bamboozle. 2018-03-19 17:18:40 -05:00
Jeff
ab5fe47ce7 - Added Aven Shrine. 2018-03-19 14:56:31 -05:00
Oleg Agafonov
1635766262 * Added localized card images download for Russian, Korean and Portuguese from wizards.com; 2018-03-19 22:01:54 +04:00
LevelX2
077d041623 Merge origin/master 2018-03-19 18:41:36 +01:00
LevelX2
ad215a054d * Unified spelling of Kongming, 'Sleeping Dragon' for all sets it is included. 2018-03-19 18:40:56 +01:00
Jeff
a71c16b033 - Added Tattoo Ward. 2018-03-19 11:38:14 -05:00
Jeff
b9c3f353e3 - Added requested card Verdant Succession. 2018-03-19 09:21:50 -05:00
Oleg Agafonov
4774c0290e * Deck editor: unique filter disabled by default now (#4612); 2018-03-19 18:06:11 +04:00
igoudt
af130859e1 Add Invoke the Divine, Lyra Dawnbringer 2018-03-19 11:21:06 +01:00
spjspj
da7bca48df
Merge pull request #4638 from spjspj/master
Fix for mana symbols indexoutofbounds exception
2018-03-19 21:18:20 +11:00
spjspj
de6eb6ece1 Fix for mana symbols indexoutofbounds exception 2018-03-19 21:16:32 +11:00
LevelX2
de0333936a
Merge pull request #4636 from sinsedrix/card-implement
Implemented card: Kaervek's Purge
2018-03-18 23:41:37 +01:00
LevelX2
4afdcc860a * Alhammarret, High Arbiter - Fixed not working ability that prevents spell casting (fixes #4561). 2018-03-18 23:38:24 +01:00