CodeBlocks project update
Don't let :show_var create variables

Reported at http://r.wesnoth.org/t40533
Fix utf8::lowercase (bug #22139)

As ucs4::char is unsigned, we don't need to compare against the min value of
the type. Worse, we cast the (possibly signed) min value to ucs4::char, which
on plenty of systems, results in 2^31, excluding all valid unicode codepoints.

Fix by gfgtdf.
Patch by iceiceice. (PR #189)
Commit message by ai0867.
move utf8::lowercase tests to the right test file

fixes up b6508091a23c92b6752e9f8e5257aaa58cdc2cde
campaignd: Tiny variable refactoring
campaignd: Quick-and-dirty implementation of upload-time blacklisting

A path to a blacklist WML file may be provided in the campaignd
configuration file (server.cfg). The BL file, in turn, may contain
attributes for comma-delimited lists of wildcard patterns, accepting
shell-style '*' and '?', by leveraging utils::wildcard_string_match()'s
functionality.

The following lists of patterns are recognized at this time:

  ip=<numeric IPv4 address masks>
  email=<add-on author email masks>
  name=<add-on id/name masks>
  title=<add-on title masks>
  author=<add-on author masks>
  description=<add-on description masks>

Currently, the IP address mask list also takes '*' and '?' wildcards. My
intention is to use CIDR subnet masks instead of or in addition to this.

The blacklist WML file is only read by campaignd once at startup and
it's never written to, thus allowing to preserve any WML comment lines
that may be included in the file by admins for convenience.

The IP, email, name, title, author, and description of a (new or
existing) uploaded add-on are matched against the blacklist in that
order. If the add-on matches, the upload is aborted and the user is
shown a generic message in English, just like with every other possible
campaignd-side error (on the plus side, this means it can be backported
to 1.12).

All matches (except for IP matches, which only contain digits and
punctuation) are done case-insensitively.

Because of campaignd protocol limitations, the upload is only checked
and aborted after the client has already uploaded a weighty WML document
including the add-on archive. Such is life, I guess.
campaignd: Forgot to add a Doxygen comment to the last commit
Add test cases for utils::wildcard_string_match()
Test a few counterintuitive wildcard_string_match() border cases

It's probably best to leave them alone for now, though.
campaignd: Use utf8::lowercase() instead of a direct call to libc tolower()

Note that the next loop in the same chunk of code already uses
utf8::lowercase() even though both strings are really of the same
nature.
campaignd: Remove dead code
Return Grüü's gold to Kapou'e only if positive
AToTB S3: fixed story date inconsistency
TSG S3: "foul undead" -> "foul creatures", since there are no undead on EASY
add error reporting when [if] is evaluated with no actions

I frequently make the mistake of using {IF_VAR} but forgetting to
use [then] with it. One solution is to use my own macro, but the
better solution is to add proper error reporting to if. If the
engine parses an [if] tag with no [then], [else], or [elseif], it
should flag an error... otherwise these mistakes are generally
silent and very difficult to find.
update changelog
clear unused forward declarations
remove game_state::write_snapshot
split savegame.cpp into 2
Merge pull request #193 from gfgtdf/gamestate_refactor

Gamestate refactor part2