49932 Commits

Author SHA1 Message Date
Ignacio R. Morelle
49b36663bc addon/state: Use .pbl files first to get local add-on versions...
...when applicable

This is used when an add-on has a .pbl file. This way it's possible to
highlight an add-on as 'outdated on the server' when a new version is
ready for uploading. Add-ons without a .pbl file should still use the
_info.cfg file.
2012-05-30 21:54:17 +00:00
Anonymissimus
26257fbcea cb project update 2012-05-30 16:42:04 +00:00
Anonymissimus
5cd90b05b1 vc project update 2012-05-30 16:41:45 +00:00
Nils Kneuper
f20d95bf50 updated Chinese (Traditional) translation 2012-05-30 16:32:57 +00:00
Dmitry Kovalenko
d7f6b2c26e LuaAI: fixed bug that always cause ai.attack() to use -1 as the weapon 2012-05-30 13:15:47 +00:00
Ignacio R. Morelle
d2ca37420b addon/mg: Add missing include 2012-05-30 04:29:52 +00:00
Ignacio R. Morelle
02257c7f1e Update xcode project file (patch by vultraz) 2012-05-30 03:54:21 +00:00
Ignacio R. Morelle
cc7dcbc511 gui2/taddon_filter_options: Forgot to address a...
...horizontal_alignment/grow mix complaint before committing
2012-05-29 23:57:31 +00:00
Ignacio R. Morelle
85980df6d3 addon/mg: Wire in the new Filter Options dialog
This provides the previous View Mode functionality, plus the option to
filter add-ons by type (defaults to displaying all types together).

This required moving quite a lot of stuff around, naturally.
2012-05-29 23:50:14 +00:00
Ignacio R. Morelle
4465f15b9a gui2/taddon_filter_options: Additional filtering options...
...dialog for the gui1 Add-ons Manager dialog
2012-05-29 23:49:57 +00:00
Steven Panek
f0a9f89ad7 Updated one of my credits entries. 2012-05-29 08:22:23 +00:00
Fabian Müller
9c9a8ad877 Fixed missing attributes usage and border_size...
...when the map is autogenerated by the usage of the generate_map
attribute.

This fixes bug #19642
2012-05-28 17:55:58 +00:00
Fabian Müller
f8fc1597ef Add additional attributes usage and border_size to a generated [map].
These are currently ignored (in case of a generated map) but that
might change in the future.
2012-05-28 17:53:13 +00:00
Mark de Wever
6037b5307b Update XCode project file (patch by vultraz). 2012-05-28 17:32:12 +00:00
Mark de Wever
625386430c Fixes MSVC compiler warning C4373.
Issue spotted by anonymissimus, who proposed the same fix.
2012-05-28 16:29:13 +00:00
Anonymissimus
98dec000d6 cb project update 2012-05-28 16:06:06 +00:00
Anonymissimus
94e8a9520f vc9 project update 2012-05-28 16:05:55 +00:00
Mark de Wever
f1753d92f1 Switch the default gui2 render engine.
In gui2 there are two render engines; one using the widget's position to
render and the other based on the requested coordinates. The later is
used in the new widgets (pane, viewport and matrix) exclusively, meaning
these widgets don't work with the old engine.

The new one has been tested a while under --new-widgets and seems to
have no glitches so make it the default.

The old code hasn't been removed since doing so will force a huge
recompilation and it's desired to quickly switch back in case there
has been a regression.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 09:55:55 +00:00
Mark de Wever
c0dee4ea4b Update changelog. 2012-05-28 09:02:05 +00:00
Mark de Wever
2737a99bf2 Use the new matrix code in the debug clock.
This is only used for testing.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 08:54:32 +00:00
Mark de Wever
c93d7d1484 Add a new matrix widget.
This widget is slated to replace the current listbox in the
future. The code however is only ready as proof-of-concept code, and
not usable in real code yet.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 08:52:47 +00:00
Mark de Wever
83b510cb16 Add a new instance dummy widget.
This widget is used to postpone instantiation of a widget. This will be used
in the new matrix widget where the definition needs a widget which will only
be available when the matrix widget is instantiated in a window.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 08:21:28 +00:00
Mark de Wever
b2a8da1f0e Let the viewport return a proper best size.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 07:54:31 +00:00
Mark de Wever
c706b64807 Properly set the parent of the viewport's widget.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 07:54:28 +00:00
Mark de Wever
cbf8c70230 Properly ask for a resize when adding a new item.
This allows the parents of the pane to react to new items.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 07:54:25 +00:00
Lari Nieminen
18c0eae2e0 Image fix to last commit. 2012-05-27 21:56:21 +00:00
Lari Nieminen
45ca07bd96 New battle markers and improved journey dots from Blarumyrran,
with the "new battle" marker having a simple blinking animation.
2012-05-27 21:45:08 +00:00
Silas Brill
ce457966cb Added changelog entry for 2012-05-27T15:46:05Z!fabianmueller5@gmx.de 2012-05-27 20:41:40 +00:00
Fabian Müller
ed902f5393 Applied patch #3198 fixing bug #19565 2012-05-27 15:46:05 +00:00
Anonymissimus
e41ba4cec0 cb project update 2012-05-27 14:03:41 +00:00
Anonymissimus
4238ec7177 vs project update 2012-05-27 14:03:31 +00:00
Mark de Wever
950169d49e Add a builder for a pane.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-27 10:03:47 +00:00
Simon Forsyth
2d966e6d52 update changelog 2012-05-26 14:41:35 +00:00
Simon Forsyth
156ec480af Fix bug#19753: missing transition 2012-05-26 14:35:14 +00:00
Simon Forsyth
a97f37cc66 Update file list for Xcode project 2012-05-26 14:34:33 +00:00
Simon Forsyth
2c8b36b3f8 Make a team name translatable 2012-05-26 14:15:38 +00:00
Anonymissimus
4847d21673 cb project update 2012-05-26 14:00:00 +00:00
Anonymissimus
1f1ee0e938 VC9 projetcfile update 2012-05-26 13:59:50 +00:00
Mark de Wever
036f932414 Add a builder for a viewport.
It allows to use a viewport in a grid. It's now also possible to own the
widget in the viewport.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-26 12:29:49 +00:00
Ignacio R. Morelle
60b4a2d8ab addon/mg: Fix inconsistent/unintuitive add-ons list column sorting behavior
It seems I forgot to take care of the sorter instance when rearranging
columns in 2012-05-21T03:56:39Z!shadowm@wesnoth.org. As a result, some columns were sorted by inadequate
criteria (e.g. Type by numeric comparison).
2012-05-26 08:19:14 +00:00
Mark de Wever
5723f26fe7 Made create_builder_widget a public function.
At the moment it's only used by the grid builder, but the pane builder will use
it later as well.
2012-05-26 08:10:42 +00:00
Ignacio R. Morelle
d25365eb0e gui1: Add border case for gui::dialog::BUTTON_TOP
When there's only one button with this hint, and there's a textbox, try
to align the button to the textbox. This makes the Filter/View Mode row
in the Add-ons Manager dialog look tidier.
2012-05-26 05:09:42 +00:00
Ignacio R. Morelle
f8e9e64c18 addon/mg: Make the View Mode button use the gui::dialog::BUTTON_TOP hint 2012-05-26 04:49:10 +00:00
Ignacio R. Morelle
045bda037d gui1: Add and implement gui::dialog::BUTTON_TOP layout hint
This allows placing a button at the top-right corner in a stock gui1
dialog.

This implementation might not be bug-free (has only been tested against
the Add-ons Manager dialog for now), but it works and doesn't introduce
or fix bugs in other current dialogs.
2012-05-26 04:48:46 +00:00
Steven Panek
ec2ae1b818 Fixed bug #19763. 2012-05-25 22:13:06 +00:00
Jérémy Rosen
48ff31c551 change duration to turn in new macros, since it's supported in trunk 2012-05-25 18:41:27 +00:00
Jérémy Rosen
6e3fad4079 add markers for doc generation of teleport macros 2012-05-25 18:00:52 +00:00
Nils Kneuper
6bee40f9d9 updated Galician translation 2012-05-24 17:41:36 +00:00
Richard Kettering
6ec956165f New portrait for the troll rocklobber. 2012-05-24 08:30:44 +00:00
Jérémy Rosen
e525252c48 add some macros for generic teleport animations.
These are not used by default and need to be enabled by WML authors
(or added to unit's wml individually)
2012-05-23 18:07:44 +00:00