49903 Commits

Author SHA1 Message Date
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
Nils Kneuper
5ef3d562ef updated Galician translation 2012-05-22 19:07:43 +00:00
Richard Kettering
163eb88783 New portrait for the troll shaman. 2012-05-22 04:07:23 +00:00
Richard Kettering
5feafeac54 New images for HttT portraits of Konrad and Lisar.
Breaks usage of the previous image filenames by the campaign, but
these will need to be altered anyways to utilize all the new emotional
variants.
2012-05-22 03:58:42 +00:00
Ignacio R. Morelle
ef6671b768 addon/state: Untracked (_info.cfg-less) add-ons are installed too 2012-05-22 01:17:58 +00:00
Ignacio R. Morelle
073947f27e addon/mg: Display old/new versions of upgradable or outdated add-ons...
...together in regular view modes

This is done by making the Version text for applicable entries two lines
long. The first line contains the local version; the seocnd line, the
remote version. The text is also highlighted in the same color as the
status line.
2012-05-22 01:14:47 +00:00
Elvish_Hunter
189291a109 THoT: in Mages and Drakes, Perrin has two different messages...
...about apprentices, depending on the difficulty level. Fixes bug #19743
2012-05-21 09:06:17 +00:00
Ignacio R. Morelle
c51d3bff5c gui2/taddon_description: Let the type and status fields wrap...
...if the contents don't fit in a single line
2012-05-21 04:12:36 +00:00
Ignacio R. Morelle
1d3b959915 gui2/taddon_description: Add rows for displaying add-on type and download count 2012-05-21 04:06:46 +00:00
Ignacio R. Morelle
6c56137305 addon/mg: Rearrange list columns in roughly descending order of importance
With translations, running out of space due to the Type column and the
status line (which expands the Title column) is an inevitability. Thus
we need another compromise.

Type has to go last since it can be the longest due to the non-obvious
acronym usage (e.g. "MP scenario"). A later commit will introduce more
advanced filtering to make up for it when it goes missing due to space
constraints.

It should be noted that this is mostly relevant only for horizontal
resolutions < 1024.

The old column order:

  AM: Icon Name Version Author Type Downloads Size
  DP: Icon Name Version Author Type Size
  UA: Icon Name OldVersion NewVersion Author Size

The new order:

  AM: Icon Name Version Author Size Downloads Type
  DP: Icon Name Version Author Size Type
  UA: Icon Name OldVersion NewVersion Author Size

(AM being the Add-ons Manager; DP, the Dependency Prompt; and UA, the
Upgradable Add-ons view.)

The most important difference is that Size goes always before Downloads
and after Author now since people with low resolution displays are very
likely using services with poor/restricted Internet traffic; making sure
they can see the Size without reading the Description dialog seems only
logical.

An upcoming commit with make the gui2::taddon_description dialog display
all of the information just in case.
2012-05-21 03:56:39 +00:00
Ignacio R. Morelle
fa79b6f86f addon/mg: Use the add-on's title for the overwrite prompt, not its id 2012-05-21 01:01:45 +00:00
Ignacio R. Morelle
1b936b436c addon/mg: Update dependency prompt list format to match the Add-ons Manager 2012-05-21 00:57:43 +00:00
Ignacio R. Morelle
ee5501ee34 Add utils::ellipsis_truncate() function 2012-05-21 00:48:07 +00:00
J. Tyne
597fcf49d7 Stop sending invalid actions between the redo and undo stacks.
If an action could not be undone, it makes no sense to "redo" it, and
vice-versa.

(In particular, certain movement undos produce a message stating
"Possible abuse of [allow_undo]" without crashing, but then redoing
that move caused an assertion failure before this change.)
2012-05-20 21:56:37 +00:00
Ignacio R. Morelle
28b20f8aaf addon/mg: New add-on installation prompt for add-ons with VCS/.pbl files
Until now there was only a single, verbose prompt for the .pbl case.
Since people may use a VCS to contribute to an add-on without having a
.pbl file, that case is also now covered by this commit.

There's a single prompt with a list of sensible content that might be
"permanently lost" on installation. The list may contain VCS or .pbl
files for now, but perhaps at some point in the future someone might
want to make it into a full list of extra files or something.
2012-05-20 21:37:17 +00:00
Alexander van Gessel
ef19b2586a Add a case for pulling from non-initialized repositories 2012-05-20 22:05:42 +01:00
Ignacio R. Morelle
e0e55682c0 addon/mg: Consider local untracked add-ons as installed for the main list...
...and elaborate on their state in gui2::taddon_description instead

This means they get both the "Installed" (or "Published") line, and the
green highlight. gui2::taddon_description displays their detailed status
as "not tracking local version". This approach seems sensible since we
have limited space for the status line in the GUI1 Add-ons Manager
dialog.

As a side effect there's a hypothetical "Unknown" status line that's
only there to keep gcc 4.7 happy.
2012-05-20 20:42:55 +00:00
Ignacio R. Morelle
2b85532aef addon/mg: Greatly simplify describe_addon_status() 2012-05-20 20:42:31 +00:00
Sergey Popov
7c866fce16 Add simpler scons commands to examples in INSTALL. 2012-05-20 19:55:04 +00:00
Mark de Wever
3912e88b54 Remove some unneeded headers. 2012-05-20 19:19:32 +00:00
Mark de Wever
6eb1781c80 Remove some unneeded headers. 2012-05-20 19:19:29 +00:00
Mark de Wever
d1a96e91a2 Add the .tpp files to Doxygen. 2012-05-20 19:19:24 +00:00
Ignacio R. Morelle
109b644f5b addon/mg: Merge get_addon_status_gui1_color_markup()...
...into describe_addon_status()

Also moved describe_addon_status() around so it can be used for the
dependency prompt dialog later as well.
2012-05-20 18:38:18 +00:00
Anonymissimus
6b56c96ab0 mute MSVC warnings C4099 and disable them globally
according to mordante's suggestion
2012-05-20 16:30:10 +00:00
Anonymissimus
25eefaedea VC9 projectfile update
- add new files

- remove HAS_ITERATOR_DEBUGGING=0 define, since the functionality is
too useful and it should be _HAS_ITERATOR_DEBUGGING with a leading _
2012-05-20 16:30:00 +00:00
Anonymissimus
7edc7677b9 CB projectfile update 2012-05-20 16:29:51 +00:00
Mark de Wever
202e833210 Replace tconst_duplicator with tconst_clone.
Both did about the same, so removed one of them.
2012-05-20 14:00:17 +00:00
Mark de Wever
cbc0cf5827 Move the enumerate file to utils.
Seems to fit better in that directory.
Also set the properties of the new file.
2012-05-20 13:50:25 +00:00
Mark de Wever
50bc28dedb Add some logging when a WML child is not found.
This happens rather often in valid code as well, so make it debug
messages. But at least in debug mode it's possible to get more
information regarding the missing child.
2012-05-20 09:56:20 +00:00
Mark de Wever
eb165d1885 Allow better error messages for missing children.
The caller's code still need to be changed but at least gives the option
to create better error messages.
2012-05-20 09:56:17 +00:00