Oleg Agafonov
17c7ea63ba
Merge fix
2020-01-18 13:02:41 +04:00
Oleg Agafonov
7da62e13ec
UI: changed ESC to BACKSPACE in choose dialog hotkeys (compatibility fixes);
2020-01-18 09:34:02 +04:00
Oleg Agafonov
ce60a9d75b
* UI: choose ability to play improves (see 8add25fa12)
2020-01-18 08:02:31 +04:00
Oleg Agafonov
8add25fa12
* UI: choose modes dialog improves:
...
* Added hotkeys to select options (1-9 for choice, SPACE/ENTER for done, ESC for cancel);
* "Up to" modes choose dialog - added "done" button in dialog;
* "Up to" modes choose dialog - fixed that user can't cancel if already selected one mode;
* Added extra info about source object, selected and remaining modes to select, ability number for hotkey;
* Fixed that mode choose dialog doesn't close on cancel (#6199 );
2020-01-18 06:30:44 +04:00
Ingmar Goudt
3359c1f3f1
sonar 220219, criticals
2019-02-22 12:06:11 +01:00
Oleg Agafonov
79370108eb
Refactor: extract make window centered code;
2018-12-18 17:57:46 +04:00
Evan Kranzler
50b5377a8e
fixed mana pool errata
2018-04-15 14:30:01 -04:00
LevelX2
b073ce1c42
* Added to all toUpperCase/toLowerCase calls the Locale.ENGLISH to prevent problems with some languages (e.g. Turkish). Removed some unused import statements. ( #4634 ).
2018-03-18 18:18:54 +01:00
ingmargoudt
2b91b88551
fixing some additional singleton classes
2017-03-16 09:48:02 +01:00
vraskulin
11dc1e10f1
Few lambda's and removed explicit type from creating lists and hashmaps
2017-02-28 13:46:57 +03:00
vraskulin
0a3c95dde5
Inner classes should be static. It reduces memory usage and gives perfomance boost + DeckImporter rollback
2017-02-28 12:40:12 +03:00
vraskulin
af3986df46
All final strings became static - it will give a little perfomance boost, due to not instantiating same string every time
2017-02-27 16:33:32 +03:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
076840df53
Big refactoring
...
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3) Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
LevelX2
d7dd635bca
Revert "introduced StringUtil class with .isEmpty(String input) and .isNotEmp…"
2016-09-16 23:55:54 +02:00
ingmargoudt
f1cf9e7adb
introduced StringUtil class with .isEmpty(String input) and .isNotEmpty(String input), to replace str != null && str.length()>0 statements
2016-09-16 21:23:31 +02:00
LevelX2
ce004cc2b7
* Added some missing static SessionHandler usages.
2016-09-16 00:40:37 +02:00
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
Fenhl
430ae503c7
Change all line endings to LF
2016-04-14 16:18:01 +00:00
rkfg
abff5c1958
Filter HTML in ability picker.
2016-02-29 20:53:03 +03:00
LevelX2
5ca4e3bc7a
Some more changes to GUI to better support high screen resolutions.
2016-02-16 23:15:34 +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
magenoxx
d1a8678086
[UI] Capitalize first leffer of abilities in ability (mode) picker
2014-08-09 10:41:17 +04:00
LevelX2
dda33f86a4
Removed more memory leaks in game and editor panes and panels of client.
2014-02-01 18:15:42 +01:00
LevelX2
cc96a55523
Some changes to logging.
2013-03-04 00:01:12 +01:00
magenoxx
7bcd512351
Not included changes (can be ignored for now)
2012-06-28 16:40:46 +04:00
North
239a4fb100
[refactoring][minor] Replaced all tabs with four spaces.
2012-06-19 23:50:20 +03:00
North
06a185a3a5
removed unused imports
2012-05-26 20:08:39 +03:00
BetaSteward
2e0662e295
cleanup
2011-08-19 22:19:09 -04:00
magenoxx
4ee06c2b85
ability picker: single click
2011-07-16 12:34:49 +04:00
magenoxx
cc5a76e62b
Finished ability picker. +even dispatching. +fixed bug in horizontal scrool bar.
2011-07-16 12:17:22 +04:00
North
40ca005ec3
imports fix
2011-07-15 20:44:18 +03:00
magenoxx
616aea619d
New ability picker (though not turned on yet)
2011-07-15 17:27:22 +04:00