64982 Commits

Author SHA1 Message Date
gfgtdf
735b70ec01 Update RELEASE_NOTES 2016-07-29 16:03:35 +02:00
gfgtdf
d92c711051 fix some accidently inserted testing code. 2016-07-29 14:38:01 +02:00
gfgtdf
36d14951c6 less config copying in unit::generate_traits 2016-07-29 14:36:22 +02:00
gfgtdf
daf7b90b72 use std::move in some places 2016-07-29 14:36:22 +02:00
gfgtdf
6f021631e1 replace some std::bind with lambdas 2016-07-29 14:36:22 +02:00
gfgtdf
8bc8efb04d Revert "explicitly use std::placeholders for the second std::bind parameter"
This reverts commit b87d8e5ede060e10b5927b8721933c05d1295c0d.

This didn't completeley fix the issue, also this casues merging conflicts
with some other commits so i'm reverting this.
2016-07-29 14:36:22 +02:00
loonycyborg
24d0d4fe65 Fix "End of file" error if client is redirected 2016-07-29 13:43:00 +03:00
ancestral
f3d14a3145 Removed macOS bugs which have now been resolved. 2016-07-29 03:10:25 -05:00
Charles Dang
4cd73ff590 Clear some fixed known bugs (General and Windows) 2016-07-29 18:07:03 +11:00
Charles Dang
db7d94f4f4 tunit_attack: few layout tweaks 2016-07-29 18:00:08 +11:00
Charles Dang
32e1d2ba45 Add space between weapon specials in list 2016-07-29 17:43:51 +11:00
Charles Dang
4c259e4a1d Post-release version bump 2016-07-29 16:30:12 +11:00
Charles Dang
33f33eade1 Pre-release version bump 2016-07-29 16:19:15 +11:00
gfgtdf
b87d8e5ede explicitly use std::placeholders for the second std::bind parameter
done by using this regex replace:
'(std::bind[\ \t\n\r]*\([\ \t\n\r]*[^\,]*[\ \t\n\r]*,[\
\t\n\r]*)_([1-9])' to '$1std::placeholders::_$2' (msvc syntax)

Using boost::placeholder with std::bind seeed to cause compilation
erros with some libc++ version used by dafault on some OSX versions.
2016-07-28 20:32:51 +02:00
Charles Dang
1dafd22365 Further text clipping fixes (bug #24707) 2016-07-29 05:21:38 +11:00
Charles Dang
c18fbf90da Moved some newlines around in the carryover report
Makes the minimal carryover report popups don't have excess newlines
2016-07-29 02:51:07 +11:00
Charles Dang
84dc059429 Set restore flags on a few dialogs 2016-07-29 02:51:06 +11:00
Celtic Minstrel
f828ad0eea Reduce max font scaling to avoid crashes 2016-07-28 11:48:11 -04:00
Charles Dang
7538142719 Hide GUI2 unhandled event warnings behind a define guard 2016-07-29 01:59:19 +11:00
Charles Dang
9f3639d5bb Tweaked minimal slider magic numbers again so maximum value can be reached (bug #24531)
There seems to possibly be an internal issue with the slider (and more generally, the
scrollbar implementation form which it inherits) where is min/maximum_positioner_length
equal an even number, sliders with an even number of options will reach max value.

Setting it to what, in this case is 1 below the actual width of the slider image (15)
means both even and odd-numbered sliders will reach max value, however the edge is cut off.

Attempting to set the right_offset to 1 and using the above off value for the positioned
width means only sliders with an odd number of options reach max value.

The magic numbers in this commit seem to give the widget enough space to reach the end of
the slider and max values regardless of the number of options, but the internal widget dimension
calculation should perhaps be investigated in the future.
2016-07-29 01:50:19 +11:00
Charles Dang
6c98f52b82 Don't show BfW text in loadscreen, only logo 2016-07-29 01:08:53 +11:00
Charles Dang
772f78b5a0 Fixed some ext clipping with Lato in sidebar (bug #24707) 2016-07-29 00:22:50 +11:00
Andreas Löf
abc64e62c8 Fix crash by reintroduce splice.
This fixes a crash that would be caused by memory incorrectly being freed
when removed from a list. Relying on splice stops that from happening.

This also fixes an exit condition when deleting handlers as depth could
sometimes not be decremented.

Finally, checks are made to made sure that an sdl_handler is either
exclusively in the global context or a different context, ensuring
that they cannot be in both.
2016-07-29 00:20:05 +12:00
Charles Dang
1cfad2404f Simpler and safer GUI2 text positioning formulas 2016-07-28 23:01:35 +11:00
Charles Dang
95ab7971f8 Fixup GUI2 centered text formula 2016-07-28 21:52:48 +11:00
mattsc
3f2df87bed Recruit rushers AIs: adapt syntax to recent AI changes
This caused an error message and recruiting to be abandoned when the
recruit rushers Micro AI was used for two different sides in the same
scenario.  It was only presents since the AI refactoring done during
1.13.4+dev and did not affect any release.
2016-07-27 19:58:22 -07:00
Bär Halberkamp
0d823eba1f Update changelog for the OTHER UI commit 2016-07-27 14:49:09 -04:00
Bär Halberkamp
a3f7274f28 Update changelog for the UI commit 2016-07-27 14:39:49 -04:00
Nils Kneuper
95cf110293 updated Scottish Gaelic translation 2016-07-27 18:58:57 +02:00
Nils Kneuper
55ed041b4c updated British English translation 2016-07-27 18:56:56 +02:00
Charles Dang
b5cf79424f Removed compatibility code for pre-VS2013 (MSVC12) compilers 2016-07-27 18:39:41 +11:00
Bär Halberkamp
f31578a545 Improve the unit help topics, especially on smaller monitors 2016-07-26 22:16:20 -04:00
Charles Dang
fcd90d0533 Removed floating_point_emulation.hpp from CB projfile 2016-07-27 03:23:53 +11:00
Charles Dang
2826881eef Bumped button text size by 1 point and fixed text centering. 2016-07-27 03:18:29 +11:00
Jyrki Vesterinen
c2abe3a622 Kill floating_point_emulation.hpp with fire (#713)
Ability to emulate floating point calculations makes sense only if we
intend to support platforms without native floating point support. Such
platforms haven't been relevant since mid-1990s or so. Besides, supporting
such platforms would require converting the entire codebase to use the
tfloat class instead of native float and double types, which would be
outright Herculean effort.

As a bonus, killing floating_point_emulation.cpp also eliminates two uses
of boost::enable_if_c.

I also removed the nonexistent file SDL_SavePNG/savepng.hpp from the
Visual Studio project, and added #include <string> to
formula/debugger_fwd.hpp because the build failed otherwise
(maybe compilation order changed when I removed
floating_point_emulation.hpp?).
2016-07-26 11:45:15 -04:00
Charles Dang
771936ad95 Update unit tests 2016-07-26 11:41:03 +11:00
Charles Dang
0631dfdd00 Merge pull request #712 from GregoryLundberg/GL_newid
Missing newline on stderr
2016-07-26 01:55:31 +11:00
Gregory A Lundberg
10e008a841 Missing newline on stderr 2016-07-25 09:45:24 -05:00
Charles Dang
23c2dd0c94 Un-constify a unique_ptr consted in error 2016-07-25 17:55:17 +11:00
Charles Dang
a1f6884555 Refactor uses of boost::tuple to std::tuple or std::pair as appropriate 2016-07-25 17:26:24 +11:00
Celtic Minstrel
e6b8681de8 Boost type traits / enable_if -> <type_traits> 2016-07-25 01:31:43 -04:00
Jyrki Vesterinen
531e05af9e Implement tod_manager::resolve_random() without Boost.Range (#711)
In order to do this, it was necessary to switch from boost::copy to
standard library algorithms, which is less space-efficient.
2016-07-25 01:31:20 -04:00
Celtic Minstrel
09153f07bc Eliminate boost::bind in wesnothd 2016-07-24 23:44:14 -04:00
Celtic Minstrel
9d39a06ae2 Fix some missing <string> 2016-07-24 23:44:12 -04:00
Charles Dang
7a8f3ff110 Refactored formula's use of boost::intrusive_ptr
This removes all the custom reference counting code from the
formula variant class, and also removes the WFL refcount() function.
The reference counting base class is also removed, since it is no longer used.
2016-07-24 23:43:58 -04:00
Wedge009
76d8111c82 Add missing reference_counted_object.hpp to VC project. 2016-07-25 13:30:32 +10:00
Wedge009
0672a7dad6 Grammar correction for Legend of Wesmere. 2016-07-25 13:09:59 +10:00
Charles Dang
563947e1b3 Refactored GUI2's uses of boost::intrusive_ptr 2016-07-25 09:28:43 +11:00
Charles Dang
05092ba2f6 Refactor most boost pointer related stuff to use their stdlib counterparts
This constitutes drop-in replacements for:

* boost::shared_ptr
* boost::scoped_ptr
* boost::weak_ptr
* boost::enable_shared_from_this
* boost::static_pointer_cast
* boost::dynamic_pointer_cast

This excludes boost::intrusive_ptr, except for stray includes. Refactoring that is more complicated.
2016-07-25 09:28:42 +11:00
loonycyborg
b63d6f7e2a pot-update and regenerate doc files 2016-07-24 23:41:13 +03:00