Alexander van Gessel
6eb9efd2fd
Revert "Add a warning for empty [remove_item]"
...
This reverts commit 2012-02-05T16:05:43Z!ai0867@gmail.com.
2012-02-05 23:08:03 +01:00
Simon Forsyth
2a5eefff75
Update Xcode project
...
Add/remove Lua files and mark them as C++ code to prevent compile errors
2012-02-05 20:13:00 +00:00
Mark de Wever
cee3ab2084
Fix compiler warnings.
2012-02-05 19:55:32 +00:00
Alexander van Gessel
86ef26478c
Add a warning for empty [remove_item]
2012-02-05 17:05:43 +01:00
Anonymissimus
9858f59e50
VC9 projectfile update
...
There are some (new) warnings for the lua source;
set warning level for subproject
liblua to 0. Not our job.
2012-02-04 22:22:25 +00:00
Anonymissimus
a846fac9cf
CB projectfile update
2012-02-04 22:22:00 +00:00
Ignacio R. Morelle
394c77f3d4
Restore leader unit image in Load Game dialog (bug #18683 )
...
(Candidate for 1.10 branch.)
This functionality is back with a slight change to 2010-11-29T19:46:11Z!shadowm@wesnoth.org in order to
left-align the map snapshot only when the leader image cannot be loaded.
We also no longer spam stderr with errors about missing leader images
(which can be caused by unloaded campaigns or eras).
Anonymissimus pointed out this functionality was still found in the GUI2
version of the dialog (--new-widgets). Whoever last changed the saved
games summary code probably only bothered to update this experimental
code without fixing the normal GUI1 dialog. As I pointed out in the
tracker, the layout code was still in place.
As a compromise for the time being, we always assume the "magenta"
palette for TC recoloring now. This doesn't seem to be a problem since
the old code already made an annoying assumption of side 1 using the 1
(red) color range instead of permiting the use of the side.color value,
or reflecting the currently playing side number at the time of the save
generation.
I may later extend the saved games summary to include additional
information to get rid of the magenta and side 1 limitations.
2012-02-04 20:45:05 +00:00
Iurii Chernyi
a7a9a5cb8f
attempt to fix a compiler warning with fwrite return value being not used
2012-02-04 15:37:55 +00:00
Iurii Chernyi
92da79025d
Fixed Bug #19402 : upgraded to lua 5.2. README documents the changes...
...
...that were made in the previous commits
2012-02-04 14:25:56 +00:00
Iurii Chernyi
43cd9b867b
Enable compatibility mode for Lua 5.2 (to be disabled after several releases)
2012-02-04 14:23:02 +00:00
Iurii Chernyi
19b4cd9076
reapply Mordante's patch allowing to throw some exceptions 'through' lua
2012-02-04 14:22:49 +00:00
Iurii Chernyi
c8659d5615
changes required to port from 5.1.4 to 5.2.0
2012-02-04 14:22:40 +00:00
Iurii Chernyi
03d625a08e
initial import of lua 5.2.0. Compilation is broken,
...
...but the commit is done to have a baseline version of lua
2012-02-04 14:22:01 +00:00
Gabriel Morin
46b997d11d
Added --username and --password options.
...
Together with the --server option they allow starting several clients
that all join the server automatically.
When these options are used, preferences are not saved.
man page updated, hope I didn't miss anything.
2012-02-04 12:02:41 +00:00
Gabriel Morin
ed8e9f9b59
Changelog entries for last two bugfixes.
2012-02-04 12:02:35 +00:00
Gabriel Morin
5e4c706754
Missed a return path which should set a variable to false. Fixes bug #19369 .
2012-02-04 12:02:29 +00:00
Gabriel Morin
80e8d6a44f
Moved action validation before checks which rely upon actions...
...
...being already validated. Fixes bug #19408 .
2012-02-04 12:02:22 +00:00
Ignacio R. Morelle
7d0a7afe6b
Move saved games cache file to save_index...
...
...instead of save_index.gz (patch #3115 )
The index file is compressed only when Compressed Saves is enabled in
Advanced Preferences from now on.
2012-02-04 06:15:23 +00:00
Ignacio R. Morelle
cc8e52973c
Miscellaneous & bugfixes is the last section in the changelog, always
2012-02-04 06:15:08 +00:00
Ignacio R. Morelle
383aa7e9a2
Restore code to update the add-ons server address in Preferences
...
This line was accidentally dropped during the refactoring in 2012-02-03T20:04:56Z!shadowm@wesnoth.org.
2012-02-04 06:01:15 +00:00
Ignacio R. Morelle
499f879d29
gui2/tunit_create: Right-align dialog control buttons
2012-02-04 05:57:47 +00:00
Ignacio R. Morelle
24dbf0b478
gui2/tunit_attack: Use standard margins for the central listbox
2012-02-04 05:57:33 +00:00
Ignacio R. Morelle
87e482b571
gui2/tsimple_item_selector: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 05:57:18 +00:00
Ignacio R. Morelle
d66571f0b8
gui2/tnetwork_transmission: Simplify layout removing an unneeded spacer
2012-02-04 05:57:03 +00:00
Ignacio R. Morelle
5ec456fa80
gui2/tmp_server_list: UI consistency changes
...
* Added standard margins for the central listbox
* Right-align dialog control buttons correctly, eliminating the large
gap between them
2012-02-04 05:56:49 +00:00
Ignacio R. Morelle
c1e2fa3ad1
gui2/tmp_method_selection: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 05:56:34 +00:00
Ignacio R. Morelle
8b159f268c
gui2/tmp_login: Use standard margins for the checkbox
2012-02-04 05:56:20 +00:00
Ignacio R. Morelle
45c7a5ffb7
gui2/tmp_host_network_game_prompt: Right-align dialog control buttons
2012-02-04 05:56:05 +00:00
Ignacio R. Morelle
18aecfcb6d
gui2/tmp_connect: Lay out dialog control buttons separately...
...
...and align them to the right
2012-02-04 05:55:50 +00:00
Ignacio R. Morelle
0933f459b3
gui2/tmp_create_game: UI consistency changes
...
* Use "OK" for the OK button label instead of "Create game" (sic)
* Right-align dialog control buttons
2012-02-04 05:55:20 +00:00
Ignacio R. Morelle
a8bbd00166
gui2/tlanguage_selection: Some consistency changes
...
* Replace "Change Language" button label with the shorter "OK"
* Right-align dialog control buttons correctly
2012-02-04 04:26:24 +00:00
Ignacio R. Morelle
602eec78f4
gui2/tgame_save*: Various consistency changes
...
* Give the three dialogs a maximum size of 500x600
* Lay out the dialog control buttons separately from the rest
* Right-align the dialog control buttons
* Removed the now unnecessary spacers
2012-02-04 04:20:01 +00:00
Ignacio R. Morelle
a05c551f92
wesnothd: Accept 1.11* instead of 1.10* by default on trunk
2012-02-04 03:59:47 +00:00
Ignacio R. Morelle
28cd33537d
gui2/tgame_save_message: We don't really need a placeholder...
...
...for a label's contents here
In particular, we don't need a single translatable "x" to confuse
translators.
2012-02-04 03:52:30 +00:00
Ignacio R. Morelle
73c3e54de1
gui2/tgame_save: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 03:46:21 +00:00
Ignacio R. Morelle
d66169f9da
gui2/tgame_load: Some UI consistency changes
...
* Vertically align the dialog to the center, not the top edge of the screen
* Gave various widgets a standard margin
2012-02-04 03:29:12 +00:00
Ignacio R. Morelle
41eb90818e
gui2/tgame_load: Will people ever pay attention to capitalization guidelines?
2012-02-04 03:19:53 +00:00
Ignacio R. Morelle
9809b728fd
gui2/tgame_delete: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 03:19:32 +00:00
Ignacio R. Morelle
867a9e1842
gui2/tfolder_create: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 03:16:36 +00:00
Ignacio R. Morelle
25ef4fed16
gui2/teditor_set_starting_position: Right-align dialog control...
...
...buttons correctly
2012-02-04 03:13:57 +00:00
Anonymissimus
27fe1e0ff5
CB projectfile update
2012-02-04 02:59:49 +00:00
Anonymissimus
9ae7de1fe7
MSVC projectfile update
2012-02-04 02:59:32 +00:00
Anonymissimus
130fc99c3a
change inclusion order (workaround for compilation errors on windows)
2012-02-04 02:59:11 +00:00
Ignacio R. Morelle
d9a3b6b3f5
gui2/teditor_resize_map: Various UI consistency changes
...
* Gave the expand/shrink direction box label a trailing colon, and
removed gratuituous blanks
* Gave certain widgets a standard margin
* Right-aligned dialog control buttons
* Shortened "Resize Map" button label to just "Resize"
2012-02-04 02:51:48 +00:00
Ignacio R. Morelle
583bc109f6
gui2/teditor_generate_map: Right-align dialog control buttons correctly
2012-02-04 02:51:27 +00:00
Ignacio R. Morelle
65188917ae
gui2/tcampaign_difficulty: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 02:40:00 +00:00
Ignacio R. Morelle
020a07894a
gui2/taddon_connect: Lay out the dialog control buttons independently...
...
...of the rest of the dialog
2012-02-04 02:38:27 +00:00
Ignacio R. Morelle
9cc53a86bf
gui2/taddon_list: Right-align dialog control buttons correctly,
...
...eliminating the large gap between them
2012-02-04 02:31:55 +00:00
Ignacio R. Morelle
a78f81f465
gui2/taddon_uninstall_list: Right-align dialog control buttons correctly
2012-02-04 02:28:15 +00:00
Ignacio R. Morelle
f730161174
gui2/teditor_new_map: Couple of consistency changes
...
* Separated button layout so they can be right-aligned independently of
other widgets in the dialog
* Replaced OK button label with a single word
2012-02-04 02:25:24 +00:00