53276 Commits

Author SHA1 Message Date
Ignacio R. Morelle
1678bce91e Doxygen comment fixes 2013-08-17 23:37:35 -04:00
Ignacio R. Morelle
42bdb96e1c Doxygen comment fixes 2013-08-17 23:31:39 -04:00
Ignacio R. Morelle
21191cd520 Doxygen: update footer links
* Add GitHub organization link
 * Remove CIA.vc link, CIA.vc is dead forever
 * Replace forum.wesnoth.org with forums.wesnoth.org.
2013-08-17 22:29:46 -04:00
Ignacio R. Morelle
f62c9d647d Remove a .gitignore file that is not a .gitignore file
This thing was introduced in 492efa7b4bf687cada5d125d2fc4ab1c9ab097db
(from SVN r35965) due to a misapplication of a SVN property manipulation
command. I don't know what it is, but since it's part of the
decommissioned stats.w.o codebase and with the wrong filename to begin
with, I doubt anyone will miss it much.
2013-08-17 20:05:07 -04:00
Ignacio R. Morelle
6e69dd15fb Restrict some .gitignore patterns to the root of the working tree
This is necessary so files with similar names which are actually
versioned and important aren't matched by these patterns, otherwise
only intended to match build output files.
2013-08-17 19:47:41 -04:00
Groggy Dice
8b3aba7ccb wmllint: extend scenario check to include first scenario
Some newbie authors run into trouble at this point!
2013-08-17 19:27:00 -04:00
Groggy Dice
93af90d2db additions to wmllint help
Here's the rationale for these additions:

* There is so much focus on wmllint's role in conversion, that many people may not think of it as a validator also (I didn't). So often, stumped authors ask in the forums about problems that would have been fixed or pointed out if they'd run wmllint. I want to encourage awareness of wmllint as a validator.

* Folded a line to fit normal 80-width CLI.

* Help contained no mention of this rather redundant option.

* How many people don't realize that ESR's long introduction is there?

* Some users may not understand why they're being dumped back to wmllint's help.
2013-08-17 19:26:52 -04:00
Groggy Dice
db560619e8 wmllint: add switch -K --known for suppresing consistency_check()
I used "inconsistency" for the actual variable name, because "known" seems more likely to be accidentally reused.

I pondered whether to allow the scenario check to go forward, but decided to just make a clean break.

Note that this does not prevent any of the information-gathering for the consistency check, just the check itself.

Why would you want to use this option? Of course, you should run the consistency check at some point. But if you simply want to recheck if you've fixed all the bugs in your campaign, you might not want to have wmllint slog through data/core again.
2013-08-17 19:26:44 -04:00
Groggy Dice
46e9d8dc1d wmllint: bugfix missing "stringfreeze" long argument in getopt, and correct help description
According to the introduction, stringfreeze does *not* suppress the warning, and the code bears this out.

I wonder how often this option is actually used.
2013-08-17 19:26:36 -04:00
Groggy Dice
45fa75c082 change introduction's reference to checking out wmllint from 1.4 branch, to wmllint-1.4 2013-08-17 19:26:29 -04:00
Ignacio R. Morelle
cf8adf9014 Bump Doxyfile version number 2013-08-17 18:46:40 -04:00
JaMiT
054bee883c Eliminate a variable by inlining a function call. 2013-08-17 16:55:41 -05:00
JaMiT
e088435d6e Have pump() no longer pump events raised while it is running.
The main way I know of for getting into this situation is hitting
the recursion maximum within pump(), and if that happens you probably
have runaway WML. So it should be better to move on instead of
continuing to process events.
(Normally, events raised within an event handler are pumped before
that event handler exits, so would not be affected by this change.)

I think the old behavior is an artifact of the old implementation,
but I'm making this a separate commit in case removing this causes
problems (easier to diagnose, especially if I'm not the one diagnosing).
2013-08-17 16:55:41 -05:00
JaMiT
b4ce6a6b3a Refactor how game events are pumped.
game_events::pump() now records the events in the event queue at
the time it is called. This isolates those events from any that
might be fired within one of the events (e.g. with [fire_event]).
For an example of what was happening, see bug #21031.

Fixes bug #21031.
2013-08-17 16:55:41 -05:00
JaMiT
af3a323c62 Use NULL instead of 0. 2013-08-17 16:55:40 -05:00
Charles Dang
1816c8e1b6 Bumped XCode projfile version string 2013-08-18 02:43:02 +11:00
Nils Kneuper
7e4d2aef19 post release version bump to 1.11.6+dev 2013-08-17 16:54:19 +02:00
Nils Kneuper
46bca8a22f pot-update, now really preparing for 1.11.6 1.11.6 2013-08-17 15:18:21 +02:00
Nils Kneuper
5708f34d22 bumped version to 1.11.6 2013-08-17 15:16:48 +02:00
Mark de Wever
4db9b30926 Remove a C-style-cast. 2013-08-17 13:47:13 +02:00
Nils Kneuper
d97bc773bd pot-update (preparing for 1.11.6) 2013-08-17 11:32:40 +02:00
ln-zookeeper
9b13a182e6 New bigmap and journey markers for DiD. 2013-08-17 10:56:24 +03:00
Alexander van Gessel
4627909045 Merge pull request #65 from Gallaecio/gl
[Galician Translation] Update
2013-08-16 22:28:54 -07:00
Adrián Chaves Fernández (Gallaecio)
665bdd4be4 [Galician Translation] Update 2013-08-17 00:30:42 +02:00
Groggy Dice
f062853e68 update changelog with highlights of wmllint developments 2013-08-15 23:25:45 -04:00
Groggy Dice
8335d131bd wmllint-1.4: revise help to reflect its current status as an adjunct to current wmllint 2013-08-15 20:43:57 -04:00
Groggy Dice
a315603d2c wmllint: bugfix "unresolved scenario" check 2013-08-15 19:20:50 -04:00
Groggy Dice
b999da8774 "wmllint: unwho ALL" who entries at LoW's final battle 2013-08-15 19:20:24 -04:00
Groggy Dice
c3863ac222 implement keyword 'unwho ALL' for clearing all "wmllint: who" entries at end of campaign
I realized that as it stood, my dictionary would linger, bad if wmllint were being run on multiple campaigns. A special unwho keyword, 'all', clears the dictionary.
2013-08-15 19:13:22 -04:00
lipk
faee03bbf0 Merge pull request #63 from Vultraz/master
Allowed [modify_side] to modify the scroll_to_leader key
2013-08-15 02:27:03 -07:00
Groggy Dice
17e2c93efd Liberty utils.cfg: typo fix: born -> borne 2013-08-15 01:22:27 -04:00
Groggy Dice
76134b5bfe Legend_of_Wesmere: convert main characters and key loyals of LoW to 'wmllint: who' system
Also, get rid of now-unnecessary 'recognize' magic comments
2013-08-15 01:22:17 -04:00
Groggy Dice
a8a65c25b2 add explanation about how to use "wmllint: who" magic comments to introduction 2013-08-15 01:22:05 -04:00
Groggy Dice
ab18d94117 magic comment to remove items from whopairs dictionary
If no more scenarios will be using a macro, you can remove it from the dictionary with "unwho".
2013-08-15 01:21:46 -04:00
Groggy Dice
56be5f2f6b recognize characters from "wmllint: who" macros and append to present
Now that we see how the whopairs are recognized, we can see that the magic comment accepts a comma-separated list, for macros that deal with more than one character.

We also see that if it is necessary to remove a character who leaves the party, this can be done with another entry prefixed by double minuses.
2013-08-15 01:21:28 -04:00
Groggy Dice
21c50ccb2e create magic comment for persistent macro character recognition, "wmllint: who"
The "recognize" magic comment only covers one scenario; but what about macros that are used in many scenarios?

This new magic comment creates dictionary pairs of macros with the characters they are associated with. If this is not yet clear, hopefully the following commits will show the full picture.
2013-08-15 01:21:14 -04:00
Charles Dang
98c31764c5 Fixed a whitespace usage 2013-08-15 11:24:52 +11:00
Espreon
7fa157c8ca Updated l10n-track.
Yes, people, doing this is actually very important!
2013-08-14 17:56:19 -04:00
lipk
d9507933d5 Merge branch 'master' of git://stikonas.eu/wesnoth 2013-08-14 21:19:03 +02:00
Charles Dang
93fe69482f Removed unused variable 2013-08-15 06:16:46 +11:00
lipk
cfed346a20 Merge pull request #62 from bumbadadabum/personal
Added a notification when toggling accelerated speed
2013-08-14 12:06:34 -07:00
Bär Halberkamp
5c0dee4486 Added a missing line 2013-08-14 20:44:14 +02:00
Andrius Štikonas
a23f2ed0e4 Reduce the size of Galician images by 90%. 2013-08-14 21:08:55 +03:00
Andrius Štikonas
c964780c0a Updated Lithuanian translation. 2013-08-14 20:41:56 +03:00
Andrius Štikonas
fd32960043 [Lithuanian Translation] Updated map localization of AoI and HttT. 2013-08-14 20:36:03 +03:00
Charles Dang
1087439c97 Allowed [modify_side] to modify the scroll_to_leader key 2013-08-15 02:53:23 +11:00
Bär Halberkamp
6c12537fa8 Added a notification when toggling accelerated speed 2013-08-14 15:08:22 +02:00
Charles Dang
7454353459 Fixed image path of last frame in Elvish Outrider ranged anim (pointed out by bumbadadabum) 2013-08-14 00:57:48 +11:00
Charles Dang
c6655fdecc Fixed paths to stonebridge and tropical forest icons in their respective help topics 2013-08-13 14:11:20 +11:00
JaMiT
cab1c823b8 Refactor static_wml_actions as class wml_action.
It's a bit more C++-like, but more importantly puts related static
variables in the same file (so this should cure the static
initialization fiasco known as bug #21020).
2013-08-12 21:44:35 -05:00