Merge pull request #1 from wesnoth/master

Merge updates from wesnoth:master
 Eastern Invasion: Polish translation update

Minor corrections.
The Eastern Invasion, small update (pl)
Merge pull request #233 from pjackowski/master

Eastern Invasion: Polish translation update (master)
fixup inefficient invisibility calculation for units

Units have a function with signature
bool unit::invisible(const map_location & loc, bool see_all)

which determines whether the unit, if it is invisible, would be
revealed if it were moved to map_location & loc.

The implementation of this function was needlessly inefficient, it
requires us to loop through the entire unit_map (all of the units)
to determine if any of them could ambush the unit.

However, in the course of this check, it filters out any units
whose location is not adjacent to the target location.

This function is called constantly whenever the display is updated
or the minimap is drawn, or when a unit is moved.

The improved implementation does not loop over all units, instead
it gets the list of (6) map locations which could be adjacent and
have a unit, and then queries for a unit at each of those
locations.
changelog
update changelog (forgot to update when wmi_pager was added)
fixup lines with two closers on a line in wml test directory

wmlindent chokes on these

commit made with the following command:

find data/test/scenarios/ -type f -print0 | xargs -0 sed -i
"s|^\([[:space:]]*\[\/.*\]\)[[:space:]]*)\}[[:space:]]*$|\1\n)}|"
wmlindent pass on data/themes/
wmlindent pass on data/core/
wmlindent pass on data/campaigns/
wmlindent pass on data/multiplayer/
wmlindent pass on data/

data/test/ excluded for now.
Xcode project: reenable strict compiling

The warnings that lead to it being disabled do not occur any more.
wmlindent pass on data/test/, safe subset

There is some WML in data/test/scenarios/ that causes wmlindent to
misbehave (bug #22264 and possibly others awaiting a more thorough
diagnosis), so that subdir is not part of this commit.
move unit_filter implementation out of unit

The purpose is to simplify the unit class, and perhaps allow for
some optimizations regarding how unit filters are impemented.
add filter_context class, use in unit_filter

The filter context is, game_board + tod manager.
game_display can (and now does) implement this interface,
also game_state. This permits both animations and engine
components to use it.
side_filter uses filter_context
terrain_filter uses filter_context instead of resources
Xcode: update project settings

Switch to settings recommended by newer Xcode versions.