68070 Commits

Author SHA1 Message Date
Charles Dang
c204d3e1e2 Don't show GUI2 help by default (hide it behind --new-widgets switch)
Looks like it might be awhile before we get more progress on this, so I'm hiding it by default for now.
2017-03-24 11:43:34 +11:00
Charles Dang
1cf90d02d6 Initial implementation of GUI2 story viewer 2017-03-24 11:42:13 +11:00
Charles Dang
dd41514ea8 Password Box: removed an unnecessary set_cursor call
[ci skip]

This was rendered unnecessary by de090c16
2017-03-24 08:47:25 +11:00
Charles Dang
8d608f65f5 Adding missing and fixed incorrectly formatted copyright notices 2017-03-24 08:26:06 +11:00
Celtic Minstrel
f45d795134 fixup 0f01f97b (GNA25615) 2017-03-23 17:00:51 -04:00
mattsc
cada1d24ee Update Xcode project 2017-03-23 13:43:37 -07:00
Nils Kneuper
3073952332 updated British English translation 2017-03-23 19:32:19 +01:00
Nils Kneuper
05ee1a20c4 fixed wesnoth-sota files
* add headers to "completely untranslated files" (translated files had
  headers)
* added missing languages (fur/nb)
* ran a pot-update to verify everything works
2017-03-23 19:30:26 +01:00
Nils Kneuper
f12bf3345f add wesnoth-sota to CMake list (allow compilation + pot-update) 2017-03-23 19:30:25 +01:00
Jyrki Vesterinen
be4d1c1702 Suppress MSVC compiler warnings in md5.cpp 2017-03-23 19:36:14 +02:00
gfgtdf
cbd3c2644c add lua end_music setter/getter
this also refactors some play_controller members and moves them
to game_data

this also adds a scenario_id getter in lua.
2017-03-23 18:08:16 +01:00
gfgtdf
23f1cc1349 change game_config::default_victory_music to vector type 2017-03-23 18:08:16 +01:00
gfgtdf
d13f76fdd6 cleanup a loop by using range for 2017-03-23 18:08:15 +01:00
gfgtdf
506fe190bb some indent fix 2017-03-23 18:08:15 +01:00
gfgtdf
6d5ec1368d remove unused game_data default ctor 2017-03-23 18:08:15 +01:00
Celtic Minstrel
16df1f3c43 wesnoth.create_animator: Set standing right after animation completed rather than at finalization 2017-03-23 12:44:28 -04:00
Celtic Minstrel
c3e0ce4745 Fixup wesnoth.get_end_level_data 2017-03-23 12:43:25 -04:00
Celtic Minstrel
9749689551 Update MSVC project files 2017-03-23 12:42:17 -04:00
Charles Dang
ecffef786a GUI2/Help Browser: display raw topic text
Not sure a multi page is the best way to go here. There's a 2 - 3 second lag when opening the browser.
2017-03-23 23:36:27 +11:00
Charles Dang
3281df4e2f Base framework for GUI2 Help Browser 2017-03-23 22:58:37 +11:00
Charles Dang
c8ed96f0eb Updated changelog
[ci skip]
2017-03-23 22:14:33 +11:00
Charles Dang
b9951dd39b Attack Predictions: used a lambda comparison instead of std::greater as @jyrkvie requested 2017-03-23 22:07:34 +11:00
Charles Dang
5e07b27500 File Dialog: update selection data when updating fileview
This fixes an issue where the relevant selection wasn't updated when, say, deleting a file.
2017-03-23 22:03:26 +11:00
Charles Dang
aeaf44da03 File Dialog: set path label to left (start) ellipse mode
This ensures the important part of the file path - the end - is always visible.
2017-03-23 22:01:37 +11:00
Charles Dang
db654cc0dc Styled Widget: allowed override of ellipsize mode fallback if can_wrap is false 2017-03-23 21:57:43 +11:00
Nils Kneuper
91f50aa0bc ran a pot-update to make sure new campaign works 2017-03-23 08:16:16 +01:00
Charles Dang
c0cfd2f054 Addon Manager: fixed a case of inconsistent label side
[ci skip]
2017-03-23 13:18:58 +11:00
Charles Dang
bed2622455 Addon Manager: shorten Uploaded/Updated labels
[ci skip]
2017-03-23 11:58:05 +11:00
Charles Dang
9f77919427 Addon Manager: cleaned up unnecessary vertical_alignment keys
[ci skip]
2017-03-23 11:56:43 +11:00
Charles Dang
e93d48cc8a Addon Manager: allow Language and Dependencies labels to shrink
[ci skip]
2017-03-23 11:46:53 +11:00
Charles Dang
26dadfc2fb Addon Manager: internal layout tweaks
Why in hell did I not have the description scroll_label's column not marked as grow :|
2017-03-23 11:39:20 +11:00
Charles Dang
736c222688 Addon Manager: switch to plain labels (as opposed to scroll labels) for Language and Dependency fields
I likely had this in to work around the labels not filling all available space before mordante made me realize
horizontal_grow = true was the way to go. Either way, we don't ever want a scrollable list here.
2017-03-23 11:22:55 +11:00
Charles Dang
01b955717c Addon Manager: fixed formatting for installed dependencies list
[ci skip]
2017-03-23 11:06:44 +11:00
Charles Dang
aa57974500 Reduced size of large addon manager action buttons based on feedback
[ci skip]
2017-03-23 11:01:19 +11:00
Charles Dang
d015f47632 Addon Manager: fix Enter closing the dialog
[ci skip]
2017-03-23 10:54:39 +11:00
Charles Dang
004fa50710 Attack Predictions: consistent formatting for ability modifiers 2017-03-23 08:23:11 +11:00
ln-zookeeper
8bbe4189ed Reverted FOREACH, NEXT and REPEAT to their original forms
This is because the changes (9fb175c9d6) possibly break some existing uses for no reason.
2017-03-22 19:45:21 +02:00
Charles Dang
9a288ab78c Attack Predictions: greatly simplified WML and fixed misalignment when rows are hidden 2017-03-23 03:51:40 +11:00
gfgtdf
395a040faf clean RELEASE_NOTES 2017-03-22 14:08:07 +01:00
Charles Dang
de0f119baa Made under_leadership return an int/loc pair instead of using an int ptr argument 2017-03-22 21:37:42 +11:00
Charles Dang
ae76bb0efb Scroll Label: removed hack to try to keep width consistent on setting value
The new code introduced in e149921 seems to accomplish this much better. Plus, this code causes weird behavior
in scroll labels where any change in scrollbar dimensions wil result in the widget area getting smaller and smaller.
2017-03-22 15:47:53 +11:00
Charles Dang
8654079ba5 Attempt to satisfy travis 2017-03-22 14:28:07 +11:00
Charles Dang
80d8b99c04 Attack Predictions: fixed display of dialog for no-attacks-available combatants 2017-03-22 14:24:56 +11:00
Charles Dang
faaf311981 Removed a FIXME
[ci_skip]

Was fixed in 6520c7c
2017-03-22 14:05:25 +11:00
Charles Dang
26d4e55500 Attack Predictions: temp fix to keep data values aligned with labels
[ci_skip]

Value rows still aren't aligned in the case of one side of the data not having the specified value. Will fix later.
2017-03-22 14:04:21 +11:00
Charles Dang
6520c7c81e Attack Predictions: fixup use of default arg syntax
[ci_skip]
2017-03-22 13:55:06 +11:00
Charles Dang
1387a647c3 Attack Predictions: added rest of the modifier fields and improved data readability 2017-03-22 13:47:01 +11:00
Charles Dang
a3cd8224f6 Removed now-unused blend_rgba function
Might want to implement something like this as part of color_t.
2017-03-22 12:18:38 +11:00
Jyrki Vesterinen
01035f0adc GUI2: When a label grows, attempt to only lay out the containing grid
This greatly improves responsiveness of the add-on manager (bug #25523).
2017-03-22 10:13:35 +11:00
Charles Dang
27f2826703 Attack Predictions: interface improvements 2017-03-22 05:18:26 +11:00