65586 Commits

Author SHA1 Message Date
Charles Dang
ae6b8f97f2 Temporary fix for broken Objective dialog formatting (f866039e813b539) 2016-08-30 18:55:17 +11:00
Charles Dang
307192c147 MP Lobby: ensure the num games shown label is always updated when applying a filter 2016-08-30 17:54:35 +11:00
Charles Dang
95a2fb3a46 MP Lobby: refactored games filtering 2016-08-30 13:04:41 +11:00
Charles Dang
9b782931bb Removed cases of inheritance from the deprecated std::unary_function 2016-08-30 11:47:31 +11:00
Charles Dang
7baf9587ad MP Lobby: implement all replay view options 2016-08-30 11:11:39 +11:00
Charles Dang
a92f1751d4 MP Lobby: removed a unnecessary invalidate_layout call 2016-08-30 08:22:23 +11:00
Celtic Minstrel
85734a3068 Fixup hotkey category functionality 2016-08-29 16:47:17 -04:00
Celtic Minstrel
f866039e81 Add support for gettext plurals to Lua API 2016-08-29 16:47:17 -04:00
Celtic Minstrel
116ff67c6e Improvements to the config interfaces, mainly iterators
- config::attribute_count() now excludes blank (ie, unset) attributes
  Blank attributes in the map are generally a result of the mutating
  behaviour of operator[], so they're not "logically" existing attributes.
- Non-const versions of attribute iterator and all-children iterator
- Attribute iterators are now bi-directional
- vconfig all-children iterator is now a bi-directional Boost iterator range
- vconfig now has a bidirectional attribute iterator
2016-08-29 16:47:17 -04:00
Charles Dang
e5354766ce MP Lobby: enable self indicator in user list 2016-08-30 07:32:30 +11:00
Charles Dang
e5cbc0cb7b Player Info: removed an invalidate_layout call 2016-08-30 07:28:18 +11:00
Charles Dang
c4a7ca291b Player Info: fixed crash when using Kick/Bad admin controls 2016-08-30 07:22:43 +11:00
Charles Dang
5c2792556d Player Info: reworked layout 2016-08-30 06:45:13 +11:00
Charles Dang
c4a4751453 Attempt to appease travis on signed-ness 2016-08-30 05:18:52 +11:00
Charles Dang
3b739b73e9 MP Lobby: disable ESC closure 2016-08-30 03:43:37 +11:00
Charles Dang
af30309687 FLG Manager: sort leader list alphabetically, with Random first 2016-08-30 03:43:22 +11:00
Charles Dang
404f698a55 Preferences: cleaned up unused argument from initialize_tabs (fixup 0bbe26ec5e22) 2016-08-30 03:20:51 +11:00
Charles Dang
792e38b30f MP Lobby: some chat-related fixes
* Fixed a tab not properly closing if it's not the right-most one
* Fixed whisper headers spuriously complaining of invalid markup
* Fixed formatting for whisper area text
2016-08-30 01:52:35 +11:00
Charles Dang
0bbe26ec5e Made use of [list_data] for static lists in various dialogs 2016-08-29 19:10:04 +11:00
Charles Dang
0bc5e2ba4a Removed listbox toggle button definitions
A toggle_panel should be used instead
2016-08-29 18:41:05 +11:00
Charles Dang
6da41bffbe MP Method Selection: use a proper toggle panel for list 2016-08-29 18:32:18 +11:00
Wedge009
6ae79eaed6 Updating VC project files. 2016-08-29 17:20:00 +10:00
Charles Dang
7be3e45472 Preferences: fixed a crash in new hotkey categories 2016-08-29 17:45:44 +11:00
Celtic Minstrel
7bf1e33e50 Unit test for faction select dialog 2016-08-29 01:05:02 -04:00
Celtic Minstrel
24111e7a73 Update XCode projet 2016-08-29 01:05:02 -04:00
Celtic Minstrel
61aa9df286 Add hotkey categories filter to preferences
This allows the user to filter out certain types of hotkeys,
making it easier to locate a specific hotkey.
2016-08-29 01:05:02 -04:00
Celtic Minstrel
d99bea9651 Allow [list_data] to be used for listbox toggle-panels 2016-08-29 01:05:02 -04:00
Celtic Minstrel
82153b1da8 Implement new grid_listbox widget 2016-08-29 01:05:02 -04:00
Celtic Minstrel
943c1bdd57 Support has_minimum/has_maximum in horizontal listboxes 2016-08-29 01:05:02 -04:00
Celtic Minstrel
c355d52778 Don't assert when encountering an unknown linked group 2016-08-29 01:05:02 -04:00
Charles Dang
507d00d9d9 Refactored out wmi_pager
This is no longer needed after switching right-click menus to GUI2, since they have built-in
scrolling capability. This also removes the max_wml_menu_items preference.
2016-08-29 15:38:52 +11:00
Charles Dang
f338c48863 Depcheck Dialog: use a toggle panel for the listbox 2016-08-29 12:55:19 +11:00
Charles Dang
898d98ab8d Split image widget into two definitions, default and centered (redo of d2191297c58f) 2016-08-29 07:26:12 +11:00
Charles Dang
1a82a37ea1 tgroup: made group_operator private and did some formatting cleanup 2016-08-29 07:02:50 +11:00
Charles Dang
185724fc94 tgroup: added a function to set the callback for all members 2016-08-29 06:58:44 +11:00
Charles Dang
d2191297c5 Image: center drawn image on available space 2016-08-29 05:38:01 +11:00
Charles Dang
3d59b753c9 Drop Down List: provided a reasonable max height 2016-08-29 05:35:38 +11:00
Charles Dang
2bffd4af56 Convert Select Faction (FLG) dialog to GUI2 2016-08-29 05:33:15 +11:00
Charles Dang
4180a36d33 Fix issue in cfed64dd4f42 pointed out by @jyrkive
Apparently, my new method would cause the underlying iterator to be invalidated.
2016-08-28 22:43:18 +11:00
Charles Dang
b09bd5bbb5 Attempt to fix multiple leaders appearing in save_index 2016-08-28 21:58:19 +11:00
Charles Dang
eb2cff007b Attempt to appease travis 2016-08-28 21:46:14 +11:00
Charles Dang
ca8c944f52 Further Battle Princess animations by doofus-01
https://forums.wesnoth.org/viewtopic.php?p=601389#p601389
2016-08-28 19:58:09 +11:00
Charles Dang
1bd83cc65e Attempt to fixup e8ca1439be55 for travis 2016-08-28 17:22:45 +11:00
Charles Dang
cfed64dd4f Some cleanup to GUI2 MP Lobby auxiliary code 2016-08-28 17:00:55 +11:00
Charles Dang
e8ca1439be MP Create: always ensure the validity of saved selected type game type 2016-08-28 16:56:41 +11:00
Celtic Minstrel
f376bbc2c1 Update changelog 2016-08-28 00:38:06 -04:00
Celtic Minstrel
31f783b86d Enable adding, removing, and replacing unit attacks through the Lua unit attacks table 2016-08-28 00:24:25 -04:00
Celtic Minstrel
4d0d271383 Enable Lua attack references to outlive their owning unit 2016-08-28 00:24:24 -04:00
Celtic Minstrel
b143ea4397 Use intrusive pointers for unit attacks
This is primarily for the purpose of the Lua API, to enable attack data to persist
even if a unit no longer owns the attack.
2016-08-28 00:24:23 -04:00
Celtic Minstrel
496a523fa2 Fix crash when starting a campaign 2016-08-28 00:24:23 -04:00