63568 Commits

Author SHA1 Message Date
Charles Dang
0bcd76867f tpreferences: some layout tweaks 2016-03-01 14:07:40 +11:00
Charles Dang
cc87fcbb58 Further cleanup, hopefully fixed build 2016-03-01 13:39:01 +11:00
Charles Dang
05b0d478ee Cleaned out old GUI1 hotkeys dialog implementation 2016-03-01 08:07:40 +11:00
Charles Dang
fdb8b392c1 tpreferences: removed old Hotkey button under General 2016-03-01 08:02:11 +11:00
Charles Dang
cc8b2d0cd0 tpreferences: renamed pref panel files in order of appearance (fixup 7f5fe8c7f62b)
Since these files are included directly by WML and their number prefixes determines
the order in which the preprocessor reads them, they have to be renamed.
2016-03-01 07:52:53 +11:00
Charles Dang
40edd58872 tpreferences: formatting and minor code cleanup 2016-03-01 07:49:59 +11:00
Charles Dang
073188f727 tpreferences: switch Hotkeys status section to an icon view 2016-03-01 07:43:15 +11:00
Charles Dang
7f5fe8c7f6 tpreferences: moved Hotkeys option second 2016-03-01 07:23:20 +11:00
Charles Dang
854acb192b tpreferences: restore display of optional hotkey icons 2016-03-01 07:22:02 +11:00
Charles Dang
84ae04a5ce tpreferences: some formatting of the Reassign prompt 2016-03-01 07:03:22 +11:00
Charles Dang
be5164df22 tpreferences: different icon for Hotkey section 2016-03-01 06:56:10 +11:00
Charles Dang
2bc3faf1b6 tpreferences: used fixed_height = true to enforce side panel icon sizes
For some reason, the 72 px height of the space wasn't functioning as expected.
This does the same job correctly
2016-03-01 06:55:11 +11:00
gfgtdf
908b7bda1a make gui2 reset hotkeys button work. 2016-02-29 20:48:04 +01:00
gfgtdf
e2a097ac38 fix gui2 hotkey preferences page. 2016-02-29 20:48:03 +01:00
Charles Dang
12ba9bd5c7 tlistbox: move header and footer grids out of main grid (workaround for bug #23752)
This isn't a perfect solution, as it renders horizontal scrollbars incapable of
affecting either. However, I'm working on the assumption that most listbox uses
have (or should have) horizontal_scrollbar_mode = "never" in their WML.
2016-03-01 06:40:00 +11:00
Charles Dang
858c3fbe69 tpreferences: added Defaults button to hotkeys panel (WML only) 2016-03-01 06:20:28 +11:00
Charles Dang
65fe7ddea6 tpreferences: cleaned up layout of Hotkeys panel 2016-03-01 06:15:22 +11:00
Charles Dang
cff3f4afd9 tmp_connect: enable undrawing of dialog and sub-dialog 2016-03-01 05:46:29 +11:00
gfgtdf
1bb7489e31 implement tpreferences::default_hotkey_callback 2016-02-29 19:33:02 +01:00
gfgtdf
0efda655b8 port hotkey preferences dialog to gui2 2016-02-29 19:33:00 +01:00
gfgtdf
43f7fced78 split out show_binding_dialog function from gui1 hotkey_preferences_dialog
so that it can also be used by a gui2 hotkey preferences dialog
2016-02-29 19:32:59 +01:00
Charles Dang
56d8b9e365 tgame_load: attempt to fix unit tests 2016-03-01 04:46:10 +11:00
Charles Dang
91f79a956d ttext: move maximum_length validity check to member function 2016-03-01 04:26:16 +11:00
Charles Dang
ce8ca0a9df Small indent fixup for 7adf43a4a201 2016-03-01 02:11:04 +11:00
Charles Dang
7adf43a4a2 Don't truncate savefile names on disk (bug bug #23632) 2016-03-01 02:07:38 +11:00
Charles Dang
5c897703ec tgame_save: specify a maximum savefile name length
The value is taken from a suggestion by shadowm on bug #23632
2016-03-01 02:06:38 +11:00
Charles Dang
fb0285c27f ttext_box: added support for defining a maximum input length 2016-03-01 02:05:15 +11:00
Charles Dang
3baba9235e Add missing copyright notices 2016-02-29 22:43:06 +11:00
Charles Dang
2febafd7f9 Added dedicated fallback message if a replay is loaded from mp create 2016-02-29 22:33:43 +11:00
Charles Dang
fb904c6b31 Pass savegame summary config to loadgame class 2016-02-29 22:30:30 +11:00
Charles Dang
032ab4557e tunit_create: made alignment tooltip use translated text again 2016-02-29 19:08:43 +11:00
Charles Dang
01168d50c8 tunit_create: fixed alignment icon paths being language-sensitive 2016-02-29 18:58:17 +11:00
Andreas Löf
dff0957088 Merge branch 'master' of github.com:wesnoth/wesnoth 2016-02-29 19:59:28 +13:00
Andreas Löf
2a0631c6da Fix bug #24477: Segfault when launching credits screen
Guifixes introduced a regression where the code would try to iterate
over a pointer to a vector without checking if it was non-null. This
adds the check to ensure that it is non-null before attempting to
iterate.
2016-02-29 19:57:36 +13:00
Charles Dang
c17e1448f5 Removed warning for loading mp save from titlescreen 2016-02-29 11:30:31 +11:00
Charles Dang
5349552515 Add more comprehensive check for invalid button image loading (improves 0babe82b5b0f)
Also extends to button overlays
2016-02-29 11:24:44 +11:00
Charles Dang
0babe82b5b Don't load button images if none were provided 2016-02-29 10:53:08 +11:00
Charles Dang
800d2d8ab0 Fixed dialogs using unit_preview_pane having their Profile button invisible 2016-02-29 09:03:41 +11:00
Andreas
504ed49e01 Merge pull request #595 from wesnoth/guifixes
SDL2 related guifixes
2016-02-29 08:39:45 +13:00
gfgtdf
efcfe3b38a reset 'ignore oos messages' when starting a new game 2016-02-28 20:23:56 +01:00
gfgtdf
f60ee0b48f fix upkeep= parsing in unit constructor 2016-02-28 20:23:54 +01:00
gfgtdf
4a1b330279 rewrite team::change_controller_by_wml to use nonthrowing functions
we use enum.parse() instead of lexical_cast so that we don't have to
catch bad_enum_cast anymore.
2016-02-28 20:23:53 +01:00
Celtic Minstrel
9965f9e644 Fix missing prototype errors caused by typos 2016-02-28 14:14:34 -05:00
Charles Dang
0d2fe9b322 Made [effect] apply_to=status modifications take comma separated lists 2016-02-29 02:18:49 +11:00
gfgtdf
39b61a081b attempt to fix replay 'play turn' and 'play side turn'
http://gna.org/bugs/?24447

This also replaces  broken 'new replay_stop_condition();' instruction
with 'stop_replay();'
2016-02-28 15:37:46 +01:00
Charles Dang
944f68b136 Renamed the replay variable since it's no longer mp-exclusive 2016-02-29 00:57:13 +11:00
Charles Dang
85430507de Remove the correct superfluous const (fixup 540df80ff5cb) 2016-02-29 00:08:12 +11:00
Charles Dang
540df80ff5 Remove superfluous const (fixup ddb873d492db) 2016-02-29 00:00:39 +11:00
Charles Dang
ddb873d492 Fixed assertion in replays with all AI sides (bug #24439) 2016-02-28 23:28:48 +11:00
Andreas Löf
2ad8939de7 Merge branch 'guifixes' of github.com:wesnoth/wesnoth into guifixes 2016-02-28 23:17:32 +13:00