26017 Commits

Author SHA1 Message Date
Ali El Gariani
0474395f0c Better highlight special publish/remove add-on options:
- Use special icons (Wesnoth icon with a green plus or a red minus)

- Color the text of the option in green/red
2008-07-06 23:50:31 +00:00
Bartek Waresiak
10e76f2eb1 Changelog update 2008-07-06 22:59:07 +00:00
Nils Kneuper
39705b81a8 updated Russian translation 2008-07-06 22:34:44 +00:00
Ali El Gariani
2226e84d88 Change default action of delete/dismiss buttons when deleting the last item.
Now stop closing the dialog, because it may have other functions even
with no items, and this also prevent closing when using filtered view
only showing the item(s) to delete (which is much more common, who
delete/dismiss everything?)
2008-07-06 22:31:11 +00:00
Ali El Gariani
c59e1f5a7d clear the unit preview panel when filter returns no unit
(fix a bug causing the last unit to stay visible there) 

fix bad use of a size_t
2008-07-06 22:23:12 +00:00
Ali El Gariani
be2b27cf20 Use multline for the new traits column in the recall dialog:
- allow to reduce width, maybe needed for big names and small screens

- easier to identify traits and compare units (all traits are left-aligned)

- provide simple and clean support for "gifted" units (no problem for 4 traits,
  then just increase the row height)

- but maybe look a bit uneven, so I am still not sure about this.
2008-07-06 21:49:23 +00:00
Ali El Gariani
14903551e1 Change the abbreviation of "Level" from "Lv." to "Lvl." in units list...
...and also use this in the recall dialog to gain some recently needed
space there This also gave a better balance between the column width
and its content.
2008-07-06 20:28:43 +00:00
Ali El Gariani
a04d53e8b7 Add a "traits" column in the recall list dialog and allow filtering on it.
Seems just to fit in 800x600 and not activated for tiny gui (not
tested yet) but I will try to reduce its width. Thanks boucman for the
idea.
2008-07-06 20:14:44 +00:00
Ignacio R. Morelle
e73e50063c Replaced enum symbol CLOSE_BRACKED with CLOSE_BRACKET 2008-07-06 19:22:59 +00:00
Ignacio R. Morelle
06ad111ae8 Changed "wesnoth lan server" to "Wesnoth's LAN server" 2008-07-06 19:21:07 +00:00
Ignacio R. Morelle
167b931518 Capitalize an acronym in a translatable string. 2008-07-06 19:17:28 +00:00
Ignacio R. Morelle
a4f5ca7f0b Make the L2 Dark Sorcerer use the same portraits as L3 Necromancer
(currently only female portrait is available)
2008-07-06 19:14:35 +00:00
Tomasz Śniatowski
551483fa77 mouseover hex higlight in editor2 2008-07-06 19:01:35 +01:00
Tomasz Śniatowski
259316c8af gui() member function in editor_mouse_handler 2008-07-06 19:01:02 +01:00
Tomasz Śniatowski
a1aefe3202 indent fix 2008-07-06 19:00:08 +01:00
Gunter Labes
c0f190aa8e typo and indentation fixes 2008-07-06 17:45:42 +00:00
Nils Kneuper
d838e17984 updated Chinese (Traditional) translation 2008-07-06 15:39:52 +00:00
Nils Kneuper
ee8f996f9a updated Czech and Italian translation
regenerated doc files
2008-07-06 15:35:23 +00:00
Tomasz Śniatowski
5926df106a Make editor2 editor_controller derive from controller_base...
...and use editor_mouse_handler
2008-07-06 16:27:36 +01:00
Tomasz Śniatowski
5f7ae302c7 use covariant return types in play_controller's...
...get_display and get_mouse_handler_base
2008-07-06 16:26:01 +01:00
Tomasz Śniatowski
1e25957f1f Update editor2/editor_common.hpp with more forward decls, update comment 2008-07-06 16:25:03 +01:00
Tomasz Śniatowski
f16329941d Add editor2's mouse handler (derived from mouse_handler_base) 2008-07-06 16:24:04 +01:00
Tomasz Śniatowski
39acbf858e fix not initialized var introduced in 2008-07-06T14:49:19Z!kailoran@gmail.com 2008-07-06 16:07:54 +01:00
Mark de Wever
aee9e58b8e Added the freetype2 dependency needed for SDL_Pango...
...and changed the dependency to the pango with ft2 support.
2008-07-06 14:56:38 +00:00
Tomasz Śniatowski
1855ca47fc move some more functions up to controller_base 2008-07-06 15:49:19 +01:00
Mark de Wever
ccbfa8acf1 Updated changelog. 2008-07-06 13:01:01 +00:00
Mark de Wever
221196c43c Added the pango dependency.
I'm not sure yet what will be the minimum required version so I used
1.14.8 as shipped with Debian Etch as minimum.  The library isn't used
yet but will be soon. Only added autotools support.

(Also some minor tab->spaces changes in the changelog.)
2008-07-06 12:20:54 +00:00
Mark de Wever
b810815212 Fixed some compiler warnings about unused variables and missing braces.
The latter is fatal on gcc-4.3.
2008-07-06 08:12:40 +00:00
Patrick Parker
5950d80a4b fix bug #3697, bug #4124, and bug #11239...
...preserving unit.role in next scenario

fix and/or remove some no-op code in unit::read and unit::get_checksum

remove redundant unit.value (use unit.cost instead)
2008-07-06 00:23:06 +00:00
Ali El Gariani
58c59179c9 Add a filter text box to the recall dialog
Filter works on type, name and level (but not xp)
allowing to see all level 2 units by just typing "2"

This also make the "rename unit" feature more useful :)
2008-07-05 22:44:42 +00:00
Ali El Gariani
1856d1e00d Fix some some messy half-translated generated topic id for abilities in help.
Previously, these topic id was "ability_"+translated name of ability,
which was ugly and forced to translate hyperlink's url too (and that
was not done)

This also fix these few broken hyperlinks in help too.
2008-07-05 22:20:59 +00:00
Benoît Timbert
1129444f68 Quick explanation in comment of why those xgettext directives 2008-07-05 21:45:44 +00:00
Tomasz Śniatowski
655aac3171 Separate a part of play_controller into a base class in controller_base...
...(for future code reuse with the editor). This is partial, there are
some more parts that need to be moved to controller_base.
2008-07-05 22:10:16 +01:00
Sergey Popov
4e00dc4c43 Moved Mordante's gui2 sources from libwesnoth to their proper place...
...thus eliminating circular references between libwesnoth and
libwesnoth_core.
2008-07-05 21:00:30 +00:00
Tomasz Śniatowski
7e787f5c27 Move unit_preview_pane::details constructor to the .cpp file...
...to remove a hidden dependency that would sometimes break
compilation.
2008-07-05 21:45:31 +01:00
Pauli Nieminen
79af36c34c Removed linker groups from autotools completely 2008-07-05 20:21:48 +00:00
Mark de Wever
422962e767 Make some functions which aren't exported static. 2008-07-05 20:17:11 +00:00
Pauli Nieminen
6d42f42c76 Moved group to be only in test_LDADD 2008-07-05 20:15:44 +00:00
Pauli Nieminen
1e8880e604 [[frame counter and build recipe fixes]]
Changed test_utils::fake_event_source to use frame counter as time
source instead of real time. This makes test cases more predictable
and easier to write.

Removed linker workarounds and added --start-group --end-group linker
parameters
2008-07-05 19:09:24 +00:00
Pauli Nieminen
bf6355c760 Improved for ever loop protections 2008-07-05 18:20:29 +00:00
Ali El Gariani
65395c40cc fix a broken link in the healing section of the help
and add more hyperlinks to show the difference bewteen heals+4 and +8 abilities
2008-07-05 18:15:58 +00:00
Ali El Gariani
9b50dade4c Unify the use of quotes in all hyperlinks text of the help.
This prevent some weird parsing bug and is cleaner since those are
strings separated by spaces, but may also contains spaces.
2008-07-05 18:08:27 +00:00
Ali El Gariani
1c62d0f2af Use the broken link highlighter and start to fix those in help.cfg
Thanks to arose to have noticed them when those were invisible.

PS: more to do, and also some translation problem to fix
2008-07-05 17:15:01 +00:00
Ali El Gariani
e37bdf6445 fix an error in my previous commit 2008-07-05T16:43:25Z!alinkmaze@gmail.com
(all hyperlinks was deactivated for normal users)
2008-07-05 16:56:53 +00:00
Ali El Gariani
6bfcc04af5 Help to detect broken link in help:
Now are displayed in red when using debug-mode, cliking on it pop-up
an error message with the bad topic-id.

When not using debug mode, the hyperlink is quietly deactivated as before.
2008-07-05 16:43:25 +00:00
Pauli Nieminen
07b2f2bf00 Fixed compilation with boost 1.34 2008-07-05 15:50:45 +00:00
Sergey Popov
75f3b3faa7 Made boost autodetection prefer boost in /usr to boost in $prefix. 2008-07-05 15:23:36 +00:00
Tomasz Śniatowski
42add73555 change #define to a static const int 2008-07-05 15:38:11 +01:00
Pauli Nieminen
669d8fadc5 Fixed renamed filename...
...and added missing ones to autotools and cmake build system
2008-07-05 14:02:42 +00:00
Pauli Nieminen
5482f37657 Added WESNOTH_PARAMETERIZED_TEST_CASE macro to unit test utils
Add SDLK_KP_ENTER to get_save_name test
2008-07-05 13:43:04 +00:00