26605 Commits

Author SHA1 Message Date
Tomasz Śniatowski
f1eae0eec7 Editor2:
* use display redraw observers to redraw the palettes (this is a quick
  fix for something that needs a larger redesign)

* draw current tool outline

* make the refresh_all more thorough
2008-08-10 21:52:32 +01:00
Tomasz Śniatowski
c38da99039 add redraw observers functionality in display:
...allow void (display&) callbacks to be placed in a display object
that will be called on each redraw_everything call
2008-08-10 21:33:36 +01:00
Sergey Popov
38aff56452 Unit tests require all game and server's dependencies.
Reflected this in scons recipe.
2008-08-10 18:30:56 +00:00
Mark de Wever
2b94cfa4f3 Fixed some compiler warnings. 2008-08-10 17:17:46 +00:00
Pauli Nieminen
6c5a6aa32a Added scons compilation output files to svn:ignore
Made send_file  test sending multiple files simultanously

Added test_utils:one_of<class T> which test if value matches any one
in the given list

Made send_file report if there is problems streaming file for networking

Improved javascript code creating mouseover full text elements in test
website
2008-08-10 16:37:28 +00:00
Tomasz Śniatowski
c9bd6576c2 editor2 theme update: tool butons 2008-08-10 17:30:30 +01:00
Tomasz Śniatowski
04aa3bdece editor2: set report for selected mouse action (tool) 2008-08-10 17:30:21 +01:00
Lari Nieminen
242f19151d Made it impossible to win the scenario by defeating both enemy leaders. 2008-08-10 16:03:05 +00:00
Tomasz Śniatowski
fe332ecb32 editor2: default resize direction 2008-08-10 16:37:31 +01:00
Tomasz Śniatowski
722c446b2c add gui/dialogs/helper.hpp with a template callback helper,
...convert  two dialogs to use it
2008-08-10 16:34:28 +01:00
Mark de Wever
1342e2b467 Initialize all members. 2008-08-10 15:19:30 +00:00
Nils Kneuper
82592a10a2 updated files to match locations on new server 2008-08-10 14:48:34 +00:00
Mark de Wever
2c34c6535f Initialize all members. 2008-08-10 14:25:30 +00:00
Mark de Wever
ef6ffe60e3 Initialize all members. 2008-08-10 14:19:06 +00:00
Nils Kneuper
3e32e13a2f updated Chinese (Traditional) translation 2008-08-10 14:07:23 +00:00
Mark de Wever
8fff72ef0e Initialize all members. 2008-08-10 13:54:17 +00:00
Mark de Wever
a663689b4c Add an extra test for the size whether or not to allow multiple lines
(not too much tested yet).
2008-08-10 13:51:53 +00:00
Mark de Wever
a4cb3afe0e Allow the canvas to configure the sizes of the texts. 2008-08-10 13:42:35 +00:00
Mark de Wever
47f56ab01a Initialize all members. 2008-08-10 13:41:35 +00:00
Mark de Wever
4ad63a8a9a Adjust the sizes for the pango scale. 2008-08-10 13:41:35 +00:00
Mark de Wever
1529f89a6e Initialize all members. 2008-08-10 13:22:16 +00:00
Mark de Wever
0e5d84abf3 Added constructor to initialize all members and initialize all members. 2008-08-10 13:04:56 +00:00
Mark de Wever
1725142801 Fix a compilation error, caused by 2008-08-10T11:49:05Z!koraq@xs4all.nl. 2008-08-10 12:27:33 +00:00
Mark de Wever
8e1400aa59 Remove the wrap since it's triggered automatically...
...when setting the width of the Pango layout.
2008-08-10 11:49:05 +00:00
Mark de Wever
a799b38daf Move the setting of the text in the setter function. 2008-08-10 11:38:35 +00:00
Mark de Wever
bf58060085 Initialize all members. 2008-08-10 10:53:11 +00:00
Pauli Nieminen
843c0dd4e2 Changed test name for auto parameterized test case
Added test for network::send_file

Changed test website error version reporting to show when error was
first found
2008-08-10 10:50:11 +00:00
Mark de Wever
dc74d7ce2c Initialize all members. 2008-08-10 10:08:40 +00:00
Nils Kneuper
15542d48d2 updated Chinese (Traditional) translation 2008-08-10 09:59:44 +00:00
Pauli Nieminen
2beb53d1c4 Minor tweaks to index.php look 2008-08-09 21:15:38 +00:00
Mark de Wever
d633bcc8a2 Add workaround for older Pango versions,
...the code might not fully work as expected with this option
disabled.
2008-08-09 20:57:33 +00:00
Lari Nieminen
a3c21ab64b Fixed a stupid coordinate bug. 2008-08-09 20:52:50 +00:00
Pauli Nieminen
3439af1d6a Made improvements to unit test website. 2008-08-09 19:59:06 +00:00
Mark de Wever
6a1ccc09cf Allow to set a default value for a formula. 2008-08-09 19:40:39 +00:00
Ignacio R. Morelle
5d30dc9882 Added const qualifiers in appropriate places.
Always prepend the default ignore pattern list, even in the user
supplies a *.ign file.

Added some logging instructions.
2008-08-09 19:27:26 +00:00
Tomasz Śniatowski
f2aea15b1f editor2: allow resizing the map in any direction,
...the dialog needs some more work (use icons instead of text in the
descriptions). Also use the map sizes sans the border in dialogs.
2008-08-09 17:32:45 +01:00
Mark de Wever
5dd7f5c3e5 Remove a small hack and some header cleanups. 2008-08-09 10:26:56 +00:00
Mark de Wever
915d70d14c Initialize all members. 2008-08-09 10:12:26 +00:00
Mark de Wever
e54d7f2d38 Initialize all members. 2008-08-09 09:57:56 +00:00
Mark de Wever
e5920dead0 Add a helper class for the pango font. 2008-08-09 09:28:31 +00:00
Mark de Wever
48e8d07856 Switch the control class to use pango for text size determination.
NOTE: This change makes wesnoth feel a bit sluggy, but there is still room for
optimization, which will follow later.
2008-08-09 09:11:26 +00:00
Mark de Wever
5ce185a85c Split the rendering in a calculation and rendering phase,
...this way get_size() only needs to calculate and not to render.
2008-08-09 08:42:13 +00:00
Mark de Wever
ade21f24a2 Initialize all members. 2008-08-09 08:22:22 +00:00
Mark de Wever
766ad542fd Add some more features to the new ttext class...
...to make it possible to query sizes and setting the behaviour.
2008-08-09 07:19:39 +00:00
Mark de Wever
2b9d1e5c48 Added constructor to initialize all members and initialize all members. 2008-08-09 07:14:12 +00:00
Pauli Nieminen
03ba3a86cd game_event.cpp detect any tag starting filter as valid
Made run_unit_tests.sh work when starting from cron

Added error detection to TestRunner class
2008-08-09 07:13:44 +00:00
Ignacio R. Morelle
c2234ffe06 command_handlers::call_handler():
...recognize filter_attack and filter_second_attack filter nodes.
2008-08-08 22:45:27 +00:00
Mark de Wever
804572f9cc Initialize all members. 2008-08-08 22:41:03 +00:00
Pauli Nieminen
95c8956e67 minor adition 2008-08-08 21:05:10 +00:00
Pauli Nieminen
56d173be89 Added css file to unit test website. 2008-08-08 20:54:38 +00:00