ingmargoudt
3019991473
removed the Session out of local scope and introduced a static SessionHandler that acts as interface to remote.Session
2016-09-15 20:52:41 +02:00
fwannmacher
9b5a02c09c
- Fixed issue #2075
2016-08-04 09:52:56 -03:00
LevelX2
a0fbcddeb9
* Added preference option to set the size of the enlarged image popup window.
2016-08-02 12:00:36 +02:00
fwannmacher
10778cdd6b
- Converted CardImpl.cardNumber from int to String
...
- Fixed Issue #1953
- Fixed Issue #1914
- Fixed Issue #739
2016-07-24 15:18:54 -03:00
LevelX2
8e76430d07
Revert "Use a dedicated thread pool for audio"
2016-07-10 22:01:06 +02:00
LevelX2
ce91f6aae7
Fixed a problem with transformed image cache.
2016-07-02 19:07:26 +02:00
LevelX2
7cfdd80c57
Chnaged permanent row handling so creatures are always shown towards the opponent side.
2016-07-02 13:45:34 +02:00
LevelX2
3b0f7b074f
* Some changes to distance calculation of enchantments on the battlefield. Added minimal permanet size preference setting (not working correctly yet).
2016-07-01 15:08:40 +02:00
LevelX2
0733729382
Merge pull request #2029 from draxdyn/audio_threadpool
...
Use a dedicated thread pool for audio
2016-06-28 13:27:18 +02:00
LevelX2
d220c739a8
Merge pull request #2030 from draxdyn/performance
...
Improve GUI performance
2016-06-28 13:26:44 +02:00
draxdyn
e3d84ca212
Cache resized and rotated images
...
RotatedResizedImageCache and MultiRotatedResizedImageCache contain the caching
machinery.
A cache of rotated and resized images is added to ImageCache, and is used by
the resizing functions there.
All the resizing and rotation functions in ImageHelper are redirected to the
ones in ImageCache.
This is slightly inefficient because it will cache some calls that are never
repeated, but it prevents developers from mistakenly using uncached functions
when calls are repeated, seriously impacting performance.
Also resizing functions that only take a width or an height have been removed,
and their calls fixed to provide the other dimension. It's still possible to
specify -1 as width or height to ignore constraints in that dimension, though.
Greatly speeds up UI performance.
2016-06-23 16:21:34 +02:00
draxdyn
1999dfe5c0
Add mechanism to register image caches and flush them all on GUI size change
...
This should avoid the issue of having lots of unused entries in caches if the
GUI size is changed multiple times.
2016-06-23 16:21:34 +02:00
draxdyn
d8b791a506
Use a dedicated thread pool for audio
...
Audio threads are busy while the sound plays, which could be several seconds,
potentially stalling other tasks competing for the thread pool.
So use a dedicated thread pool, which also allows to have it sized based
on the number of the audio lines.
2016-06-23 16:16:48 +02:00
draxdyn
d671a22398
Fix ArrayIndexOutOfBoundsException in ButtonColumn.actionPerformed
...
Don't call convertRowIndexToModel with a -1 row.
2016-06-14 18:31:33 +02:00
Kenny Wottrich
f3c83d54f5
Remove Unused Imports
...
Delete unused java imports that cause compiler warnings
2016-04-24 19:50:29 -05:00
drmDev
5ab54142de
W16 fix. Eldrazi Obligator fix and test
2016-04-15 12:24:04 -04:00
Fenhl
430ae503c7
Change all line endings to LF
2016-04-14 16:18:01 +00:00
Jared Hall
3f2611de76
Fixes #1836
2016-04-12 08:16:15 -04:00
rkfg
8be72c404e
Add debug logging to LinePool.
2016-03-09 14:37:59 +03:00
rkfg
b513f3c7b6
Properly close, free and stop lines.
2016-03-09 14:37:58 +03:00
rkfg
d7cdfa016e
Minor change, add comments.
2016-03-09 14:37:57 +03:00
rkfg
d8ff28c7f7
Refactor audio manager, add line pool.
2016-03-08 02:09:57 +03:00
LevelX2
dd9431c8ea
* Added scrolling to the game dialog area. Some more GUI resizing. Removed some unwanted borders of viewports.
2016-03-05 21:00:55 +01:00
LevelX2
3f57012c85
Merge origin/master
...
Conflicts:
Mage.Client/src/main/java/org/mage/card/arcane/ManaSymbols.java
2016-03-03 23:22:06 +01:00
rkfg
3658a8c7bc
Prevent NPE if client never connected to any server and doesn't have
...
sets downloaded.
2016-02-29 19:39:59 +03:00
LevelX2
6d4a3bac28
Fixed that wathcing games did not work correctly.
2016-02-28 10:52:55 +01:00
LevelX2
f87c5bbbec
Fixed that the flag on avatar image could be to big.
2016-02-27 12:33:08 +01:00
LevelX2
e04c82a227
Some more changes to GUI to better support high screen resolutions.
2016-02-21 11:30:12 +01:00
LevelX2
249d709cc7
Sizable GUI - game dialog area elements resize now.
2016-02-20 02:31:47 +01:00
LevelX2
e15807b9ed
* Some more changes to adjustment possibilities of GUI size.
2016-02-19 16:30:52 +01:00
LevelX2
35505b29bb
Some more changes to GUI to better support high screen resolutions.
2016-02-19 01:56:15 +01:00
LevelX2
77eff0984a
Some more changes to GUI to better support high screen resolutions.
2016-02-18 00:27:48 +01:00
LevelX2
28b129018f
* Some more changes to adjustment possibilities of GUI size.
2016-02-17 18:08:21 +01:00
LevelX2
5ca4e3bc7a
Some more changes to GUI to better support high screen resolutions.
2016-02-16 23:15:34 +01:00
LevelX2
f54c675c4b
* Fixed a bug of colorless mana (e.g. caused Heartbeat of Spring not working with Urza's lands).
2016-02-16 17:15:47 +01:00
LevelX2
f7a7b2e7a0
Some more changes to GUI to better support high screen resolutions.
2016-02-14 23:34:36 +01:00
LevelX2
1835671f3d
Some more changes to GUI to better support high screen resolutions.
2016-02-14 13:41:43 +01:00
LevelX2
7ef0a0a7f0
Some more changes to GUI to better support high screen resolutions.
2016-02-13 02:30:05 +01:00
LevelX2
706d319f81
Some more changes to GUI to better support high screen resolutions.
2016-02-12 13:35:04 +01:00
LevelX2
7b79de8e40
Some more changes to GUI to better support high screen resolutions.
2016-02-10 23:34:16 +01:00
LevelX2
a0ff08b0b9
Some more changes to GUI to better support high screen resolutions.
2016-02-10 08:31:21 +01:00
LevelX2
a07db4cb8e
Some more changes to support GUI size for high resolutions.
2016-02-09 03:06:32 +01:00
LevelX2
ac2570f982
Added a chat font size option to preferences.
2016-02-08 08:49:57 +01:00
LevelX2
cdbda6a7e6
* Fixed ArrayIndexOutOfBoundsException by trying to do actions on tables removed meanwhile.
2016-01-15 21:03:39 +01:00
Neil Gentleman
bfb428b13a
always use log4j
...
removed all references to mage.util.Logging, java.util.logging
transient static doesn't mean anything, since static fields are never
included in serialization
2015-11-28 21:11:25 -08:00
Neil Gentleman
deb4608c00
Don't try to play null audio
...
a message is already logged when loadClip fails; this avoids showing an error
dialog over and over afterwards.
2015-11-08 22:32:43 -08:00
LevelX2
9ab323a89c
Deck editor - renamed sort type "Color Detailed" to "Color Identity" and compare for the sort also with mana symbols in casting cost and rules.
2015-09-21 08:11:58 +02:00
LevelX2
322eae2ec6
Deck editor - renamed sort type "Color Detailed" to "Color Identity" and compare for the sort also with mana symbols in casting cost and rules.
2015-09-21 00:31:42 +02:00
LevelX2
39e62095e4
Fixed some dialogs for human players that were not shown after a reconnect to a game (e.g choose mulligan, any use Yes/No choice, amount choice, Pile choice).
2015-08-28 14:29:54 +02:00
LevelX2
532d4e0af0
* Added automatic handling for order of triggered abilities going to stack ( fixes #701 / related to #328 ).
2015-08-22 19:29:57 +02:00