27380 Commits

Author SHA1 Message Date
Pauli Nieminen
485e0e16f4 Optimized server ban manager using integer ip for wildcard matching
Added who_banned and group fields to ban

Made reason required for banning
2008-08-28 15:21:44 +00:00
Sergey Popov
c52419e638 Removed dummy_locales option from scons script since it's runtime option now. 2008-08-28 10:43:15 +00:00
Sergey Popov
f4699cb764 Ensure that xgettext creates a file using --force-po option instead of touch. 2008-08-28 09:47:37 +00:00
Nils Kneuper
71f33f7a23 updated Chinese (Traditional) translation 2008-08-28 09:46:15 +00:00
Lari Nieminen
524c9cb1d9 Added "The Dangerous Symphony" by gmlion. 2008-08-28 06:07:06 +00:00
Richard Kettering
aa54c1978a Remade animations for the saurian augur. 2008-08-28 04:08:34 +00:00
Ignacio R. Morelle
54790da754 Made this unit use the same portraits as Archmage. 2008-08-28 02:47:02 +00:00
Ignacio R. Morelle
80169e4334 Add new brazier graphics (and updated the static one) made by me,
...per Jetryl's request
2008-08-28 02:45:49 +00:00
Ignacio R. Morelle
5446d54966 Add Kitty's male silver mage portrait 2008-08-28 02:43:50 +00:00
Pauli Nieminen
a893903975 Added missing server configuration file keys and tags to man page 2008-08-27 21:58:59 +00:00
Pauli Nieminen
fb70f62c97 Changed game.cpp to use config_cache object for caching 2008-08-27 21:58:51 +00:00
Pauli Nieminen
98d065c731 Removed null terminations from data send to network 2008-08-27 21:58:41 +00:00
Pauli Nieminen
154f70da09 Finnished game class movedmed to wesnothd namespace 2008-08-27 21:58:35 +00:00
Pauli Nieminen
140f008049 Moved server game class to wesnothd namespace 2008-08-27 21:58:28 +00:00
Pauli Nieminen
dd7e728bb2 converted #ifdef MEDIUM to #ifdef NORMAL because that is what campaign has set 2008-08-27 21:58:21 +00:00
Pauli Nieminen
f0d3ba9f1e Fixed textdomain in test config cache 2008-08-27 21:58:14 +00:00
Pauli Nieminen
b28f8077a4 Fixed test/_main.cfg to include correct paths for test data 2008-08-27 21:58:06 +00:00
Elias Pschernig
672ec5cf16 Worked around a bug where the addon server sometimes sends...
...extra 0 bytes, so wesnoth_addon_manager works a bit better
now. (still no upload)
2008-08-27 19:02:37 +00:00
Lari Nieminen
1e7bb1a7e4 Use the new cavewall icon. 2008-08-27 18:38:25 +00:00
Lari Nieminen
673eb4c7fb Fixed several problems with the terrain help images,
...adding a couple of new tile icons.
2008-08-27 18:07:38 +00:00
Mark de Wever
5c1fe9bec3 Let the text widget use a font text object.
With this change a lot of helper code can be moved to pango. This is
also required since the text size between pango and the old SDL_TTF
library might differ. Also fixes some crashing bugs when special
characters were used in the text boxes.
2008-08-27 16:43:54 +00:00
Mark de Wever
bbede1d7f6 Extended the class.
Added some helper functions...

...and also keep track of the length in a cache variable.
2008-08-27 16:43:45 +00:00
David Philippi
0b58dc7e39 hungarian translation update 2008-08-27 15:20:28 +00:00
Nils Kneuper
ffd99ca249 running utils/wesnoth-optipng
*** Total saved: 44 KB on 45 files
2008-08-27 12:56:52 +00:00
Nils Kneuper
17ae64a59d set correct svn:ignore tags for the new textdomain 2008-08-27 11:36:41 +00:00
Nils Kneuper
89ea688d75 pot-update 2008-08-27 11:34:16 +00:00
Sergey Popov
8973b185f4 Fixed scons pot-update failing if (wml)xgettext doesn't produce a file. 2008-08-27 10:03:34 +00:00
Nils Kneuper
1f709fea92 update files to have the correct content
clean the files since the old refs are not needed

set a uniform header for all po files

corrected FINDCFG string to find all *.cfg files inside data/test
2008-08-27 09:46:08 +00:00
Pauli Nieminen
0c4702df6c Renamed pot file to wesnoth-editor 2008-08-27 09:13:20 +00:00
Pauli Nieminen
8d5ef3b348 Added typedef for list of languages 2008-08-27 09:13:11 +00:00
Pauli Nieminen
fd90310daf Added support for passing config object as reference to config_cache 2008-08-27 09:13:02 +00:00
Pauli Nieminen
43ca9ef2cc Created wesnoth-test domain for unit tests 2008-08-27 09:12:52 +00:00
Pauli Nieminen
65e4eec6f5 Made sanity_check script detect correct path to top directory 2008-08-27 09:12:14 +00:00
Nils Kneuper
4b6824160d add the new textdomain wesnoth-test to g.w.o 2008-08-27 09:11:40 +00:00
Eric S. Raymond
b2ff257454 Another comment fix. No code changes. 2008-08-27 08:08:30 +00:00
Eric S. Raymond
8435fcc1d1 Fix typos and bad comment formats. No code changes. 2008-08-27 08:01:22 +00:00
Hogne Håskjold
864952e84f Tweaked disabled buttons to differ more from enabled 2008-08-27 07:33:56 +00:00
Patrick Parker
5e925b7da5 remove some old debug code 2008-08-27 04:13:13 +00:00
Ignacio R. Morelle
ac3df3bd02 Apply patch #1081 2008-08-26 23:16:40 +00:00
Ignacio R. Morelle
f47ed28793 Moved some border tiles around for better appearance 2008-08-26 23:15:08 +00:00
Mark de Wever
4bdf1ea24a Change the text storage type to std::string.
I thought the t_string had some magic to automatically change it's text
when the translation changes. That's not the case so no longer need it
to be a t_string. Also future changes to the text widgets will get
problems since I want to return references which might be temporaries
due to the conversions in t_string so rather avoid that as well.
2008-08-26 22:21:04 +00:00
Mark de Wever
865b0cf060 Added constness to the font::ttext class.
A lot of functions weren't marked const since they change internal
variables. All those variables are internal caching values and don't
change the state of the object. Marked the logical functions const and
added mutable to the internal variables.
2008-08-26 22:20:58 +00:00
Mark de Wever
a4fafab681 Fixed a crash when moving and selecting.
Then moving the cursor in the textbox the bounds check didn't look at
the length of the selection and the cursor could be placed out of
bounds. Now properly check whether the new position is within bounds.
2008-08-26 22:20:53 +00:00
Mark de Wever
4ad1d1c5d2 Cleanup.
Removed some direct access to member via a non const reference.

Renamed sel_len to selection_length and sel_start to selection_start.
2008-08-26 22:20:47 +00:00
Mark de Wever
44babd5019 Add some query functions to ttext.
The functions aren't used yet, but the text widgets will.
2008-08-26 22:20:32 +00:00
Mark de Wever
4cb5d77635 Fix a compiler warning. 2008-08-26 22:12:51 +00:00
Eric S. Raymond
a14f6470e3 Address bug #12233: Never push an invalid iterator onto the healers array. 2008-08-26 21:10:28 +00:00
Pauli Nieminen
ac4609580a Removed comented out code from game_events.cpp 2008-08-26 20:11:12 +00:00
Pauli Nieminen
6cf0752a21 Fixed cache to write in requested format 2008-08-26 20:11:03 +00:00
Mark de Wever
c591a22cc1 Added libwesnoth_extras.a to to svn:ignore upon AI0867's request. 2008-08-26 16:24:32 +00:00