Commit graph

1784 commits

Author SHA1 Message Date
Charles Dang
84929f69a6 Update CB projectfile again (forgot to remove a file)
[ci skip]
2017-06-02 23:47:12 +11:00
Charles Dang
648ca5cd04 Updated CB projectfile 2017-06-02 22:52:54 +11:00
Jyrki Vesterinen
7507f3cc65 Copy string_view implementation from Boost
@gfgtdf asked me for this in IRC.
2017-06-02 14:24:29 +03:00
Jyrki Vesterinen
9c1b9af525 Use std::unique_ptr to manage the layout and context in pango_text
This makes it easier for one canvas to manage multiple layouts.
2017-06-02 13:54:37 +03:00
Charles Dang
1e28a54cf2 Update CodeBlocks projectfiles for Boost 1.64
Also added a missing include to the wesnothd projfile.
2017-06-01 10:53:04 +11:00
Wedge009
82f7568bb2 Properly update VC project files for 56433d12.
[ci skip]
2017-05-24 15:54:08 +10:00
Charles Dang
922cc201bc Updated CB projectfile
[ci skip]
2017-05-23 10:02:37 +11:00
Celtic Minstrel
80a87d0b49 Update MSVC project 2017-05-22 14:39:20 -04:00
Jyrki Vesterinen
56433d12a3 Merge branch 'login_save_crypt' 2017-05-22 20:10:09 +03:00
mattsc
451e22ddda Update Xcode project 2017-05-22 07:24:01 -07:00
Charles Dang
246ea98dd9 GUI2: moved common swap_grid util function into new widget_helpers file 2017-05-22 14:50:16 +11:00
Celtic Minstrel
96ca0b026e Replace config_of with new variadic config constructor 2017-05-21 16:27:46 -04:00
mattsc
a774ebad09 Update Xcode project 2017-05-19 08:34:29 -07:00
Jyrki Vesterinen
5bd52c2063 Update Visual Studio project 2017-05-19 06:29:40 +03:00
Charles Dang
db582c09ea Removed iterator_extend util class
The WMI container was the last use of it, and there are similar equivalents in boost if we ever need
such a thing in the future.
2017-05-19 06:58:34 +11:00
Charles Dang
1ea8e0f05c Renamed wmi_container to wmi_manager
Since it's not a container anymore, it shouldn't be called such.
2017-05-19 06:50:57 +11:00
Jyrki Vesterinen
fb8506dbac Fix build with Visual Studio
First, VS2015 doesn't appear to support importing alias templates directly,
so let's make an alias template ourselves and import every alias we need.

That approach doesn't work with VS2013, apparently due to lack of support
for expression SFINAE. Thus, we now use our custom alias templates on
VS2013.

Also, I moved type_trait_aliases.hpp to the wesnothlib project where it
belongs.

Note that because of requiring expression SFINAE on VS2015, building
Wesnoth on VS2015 now requires that Update 1 or above is installed.
2017-05-16 21:08:26 +03:00
Wedge009
4d84f08354 Update VC projects for 13b00f73, cdaa588e, and 3fce91a8.
[ci skip]
2017-05-15 19:37:43 +10:00
Charles Dang
07791257bc Updated CB projectfile
[ci skip]
2017-05-15 18:12:44 +11:00
Charles Dang
f497b02ad9 Updated CB projectfile
[ci skip]
2017-05-15 17:35:59 +11:00
Charles Dang
bfa5ec1619 Pre-release version bump 2017-05-14 10:12:20 +11:00
Jyrki Vesterinen
692013272b Visual Studio: always treat warning C4239 as an error
See https://msdn.microsoft.com/en-us/library/186yxbac.aspx

Suggested by @CelticMinstrel.

[ci skip]
2017-05-13 12:58:43 +03:00
Celtic Minstrel
c9191c9812 Add OpenSSL's libcrypto as a dependency
This also removes the included SHA1 and MD5 implementations
in favour of those from OpenSSL.

Thanks to @jyrkive for helping to get the CMake build working and
ensuring the game still compiles with OpenSSL 1.1.0.
(The SHA_xxx() aliases were removed in OpenSSL 1.1.0.)
2017-05-12 15:57:13 -04:00
Celtic Minstrel
9365538b3b Don't store the user's password in plaintext in the prefs file
The game now supports @ or = in usernames for the purpose of saving them to a file.

Though I don't think these are allowed currently, it's probably better to
support it from the start rather than having things break if they later
become allowed.
2017-05-12 15:56:41 -04:00
mattsc
fa090237e9 Update Xcode project 2017-05-11 08:35:35 -07:00
ln-zookeeper
6a0aa3bdc9 Project file fix to account for ad4f6b122 2017-05-11 15:13:50 +03:00
Charles Dang
ad4f6b122d Rename animated_game.cpp -> animated.cpp
Makes it clearer which header it's a companion to.
2017-05-11 21:17:54 +11:00
mattsc
e0f8b52204 Update Xcode project 2017-05-10 10:23:25 -07:00
Wedge009
8225e8d4b0 Updating VC project files for 194b5ef1.
[ci skip]
2017-05-10 17:03:58 +10:00
Charles Dang
194b5ef17d Removed unused help_button class and its associated GUI1 components
Looking at this more I realized the help_button was a GUI1 dialog component meant to open the Help
dialog. Since all dialogs invoking Help now use GUI2, there's no need for this class anymore. It
also allows a bunch of remaining GUI1 stuff to be cleaned up.
2017-05-10 10:50:46 +11:00
mattsc
6e1abcca1e Update Xcode project with preferences files moves 2017-05-06 06:54:06 -07:00
Wedge009
265a0e9bd5 Updating VC project files for e4f03fe4. 2017-05-04 15:56:40 +10:00
Charles Dang
e4f03fe459 Moved all preferences source files into a single folder 2017-05-04 11:04:19 +11:00
mattsc
2fec050050 Update Xcode project 2017-05-03 11:05:16 -07:00
Wedge009
974315f9b7 Updating VC project files for e97b9923.
[ci skip]
2017-05-03 23:13:06 +10:00
Charles Dang
e97b992393 Storyscreen: split common WML parsing code into a helper class 2017-05-03 20:07:03 +11:00
mattsc
ad4a65c8ef Update Xcode project 2017-04-30 07:15:19 -07:00
Wedge009
5b6860ec65 Add missing Release build option for VC project files. 2017-04-30 21:09:25 +10:00
Jyrki Vesterinen
eeeb54c2ff Update Visual Studio project 2017-04-30 13:19:43 +03:00
Charles Dang
b0f91e7d2e GUI2: removed unused Campaign Settings dialog
This was a dialog used early in 1.13 during the SP/MP codepath unification to configure certain options.
The modification selection is now built into the Selection dialog, and we decided not to enable other options
like Era selection in SP. The only option we might look to restoring in the future is the "show_connect"
option, but that requires some additional code elsewhere and probably won't be used anyway.
2017-04-30 21:15:39 +11:00
Jyrki Vesterinen
076c47cd3e Update Visual Studio project 2017-04-30 12:57:21 +03:00
Charles Dang
47d77c79d4 Story Viewer: delegate storyscreen controller creation to dialog
I left the controller passed in an argument for compatibility with the GUI1 dialog, but since that's removed
it makes sense that the dialog handle the creation of the controller, especially since due to an oversight
it made a copy instead of holding a reference.

This also allows storyscreen/interface.*pp to be removed. The START_POSITION was part of the GUI1 implementation
and isn't needed anymore.
2017-04-30 16:46:53 +11:00
Charles Dang
6eab63a71d Updated CB projectfile 2017-04-30 14:41:32 +11:00
Celtic Minstrel
cdca6b79d8 Merge pull request #962 from wesnoth/wml_tag_porting
Porting WML tags to Lua (part 2)
2017-04-29 02:25:10 -04:00
Celtic Minstrel
0828c2bdf8 MSVC: Add Test_Debug and Test_Release to solution configurations 2017-04-28 18:22:55 -04:00
Celtic Minstrel
f142ed6170 Fix MSVC misconfiguration for unit tests 2017-04-28 17:53:40 -04:00
Celtic Minstrel
77cce6edbe MSVC: Exclude wesnoth.cpp from unit tests configuration
[ci skip]
2017-04-27 18:18:26 -04:00
Celtic Minstrel
6906ced4e7 Properly port [music] to Lua 2017-04-27 17:09:03 -04:00
mattsc
ea9c4b849f Update Xcode project 2017-04-20 19:37:39 -07:00
Wedge009
46acff818b Update VC project files for d8ed11c2 (dropping _new suffix).
Also add missing configuration for Release build in multimenu_button.cpp and general tidying.
2017-04-20 20:43:20 +10:00