119 Commits

Author SHA1 Message Date
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
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
ln-zookeeper
6a0aa3bdc9 Project file fix to account for ad4f6b122 2017-05-11 15:13:50 +03:00
Wedge009
8225e8d4b0 Updating VC project files for 194b5ef1.
[ci skip]
2017-05-10 17:03:58 +10:00
Wedge009
265a0e9bd5 Updating VC project files for e4f03fe4. 2017-05-04 15:56:40 +10:00
Wedge009
974315f9b7 Updating VC project files for e97b9923.
[ci skip]
2017-05-03 23:13:06 +10: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
Jyrki Vesterinen
076c47cd3e Update Visual Studio project 2017-04-30 12:57:21 +03: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
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
Celtic Minstrel
d01834e210 Update MSVC project 2017-04-19 04:08:34 -04:00
Celtic Minstrel
1793133a59 Fix menu_button widget trying to be two things at the same time.
The menu_button is now only a drop-down menu that supports a single selection.
A new multimenu_button widget supports a drop-down menu with multiple selections.
The new multimenu_button widget displays its current selection while not open.
2017-04-16 00:08:50 -04:00
Celtic Minstrel
dde91f9a77 Move canvas shape class definitions into private header 2017-04-11 01:01:16 -04:00
Jyrki Vesterinen
cec90f5379 Update Visual Studio project 2017-04-09 18:56:15 +03:00
Jyrki Vesterinen
3e0a22ec9f Remove the Debug_with_VLD configuration from the Visual Studio project
No one has used the configuration for a long time. In addition, the code
specific to that configuration was removed in commit 19e0d86e6dc3387196d8c2a8b5236b0828d97178:
after that, the configuration no longer had any differences relative to
Debug.
2017-04-04 19:06:09 +03:00
Jyrki Vesterinen
2143741617 Update Visual Studio project 2017-04-02 15:57:16 +03:00
Wedge009
9451452fb4 Updating VC project files for 1cf90d02.
Also tidy some filters.

[ci skip]
2017-03-24 12:38:59 +11:00
Celtic Minstrel
9749689551 Update MSVC project files 2017-03-23 12:42:17 -04:00
Jyrki Vesterinen
ba8a1188ac Update Visual Studio project 2017-03-21 19:43:11 +02:00
Jyrki Vesterinen
4d069bc8c2 Fix MSVC release builds
Regressed in commit e0b85e5ddad793dee0b1e9e8cf0770e351c7eba4.
2017-03-18 19:45:50 +02:00
Jyrki Vesterinen
2c00677d4b Add lexical_cast.hpp to wesnothlib.vcxproj 2017-03-18 12:26:44 +02:00
Wedge009
b78f13810a Didn't properly save all the files before committing 60f05e32. :/
[ci skip]
2017-03-17 17:04:38 +11:00
Wedge009
60f05e3284 Update VC project files for e1658881 and 18a7e802.
[ci skip]
2017-03-17 16:19:27 +11:00
Celtic Minstrel
e0b85e5dda Some unit test fixups
- WFL tokenizer had a conditionally-compiled test; this is now moved to the official unit tests
- MSVC was not including one of the unit test source files
2017-03-16 14:56:38 -04:00
Wedge009
2813195985 Updating VC project files for 581aba7e.
[ci skip]
2017-03-16 14:57:57 +11:00
Wedge009
e2a9889d8a Update VC project files for e7cdb76a.
[ci skip]
2017-03-15 16:13:43 +11:00
Jyrki Vesterinen
ceee890397 Update Visual Studio project 2017-03-07 19:00:37 +02:00
Jyrki Vesterinen
8f39aa92dc Update Visual Studio project 2017-03-02 19:18:37 +02:00
Jyrki Vesterinen
ef6b57aa25 Fix build with Visual Studio 2017-02-18 17:47:17 +02:00
Jyrki Vesterinen
261bf4fcab Allow building campaignd with Visual Studio
This makes it easier for me to test add-on uploading.
2017-02-09 22:11:56 +02:00
Jyrki Vesterinen
678a21b4fe Replace the 'Install Dependencies' dialog with a GUI2 version 2017-02-02 21:44:15 +02:00
Jyrki Vesterinen
575326c74d Move linked group definition to a shared location
@Vultraz suggested this change.
2017-01-31 20:29:02 +02:00
Wedge009
ee7ea31eb2 addon_list.cpp: Add missing configuration for VC Release build.
[ci skip]
2017-01-29 23:17:08 +11:00
Jyrki Vesterinen
dc71d9d671 WIP: make the add-on list a widget
The purpose of this change is ability to create more dialogs which present
a list of add-ons, such as a GUI2 version of the "Install Dependencies"
dialog.

This change is still highly incomplete. First of all, I disabled inline
install buttons and ability to sort the add-on list. In addition, a lot of
functionality that belongs in the add-on list widget is still in the GUI2
add-on manager instead. It is also notable that the widget relies on
several linked groups being defined in the window.

I plan to finish the transition to the add-on list widget, and address the
problems in the previous paragraph, in the future. The linked group issue
is going to require a lot of work in particular: I plan to either make
linked groups grid-specific instead of window-specific (like they are now)
or allow widgets to inject linked groups to the containing window. Either
way, I'm going to change the operation of GUI2 fairly deeply.
2017-01-21 22:57:51 +02:00
Jyrki Vesterinen
fc928d6841 Renamed manager_old.hpp back to manager.hpp
There isn't anything obsolete in manager.hpp.
Hence having _old in its name is unnecessary and misleading.
2017-01-12 20:34:23 +02:00
Celtic Minstrel
3621a38a29 Remove MSVC schema generator project 2016-12-19 01:15:45 -05:00
Wedge009
d472c7a8c5 Update VC project.
[ci skip]
2016-12-19 15:59:35 +11:00
Celtic Minstrel
d46d713fb9 Update MSVC project and fix warnings 2016-12-18 13:19:02 -05:00
Wedge009
7ff076b890 Updating VC project.
[ci skip]
2016-12-18 10:22:57 +11:00
Celtic Minstrel
3ecd34e3b4 Implement std::put_time wrapper for GCC < 5 2016-12-16 09:24:07 -05:00
Wedge009
f535b6a9f7 Minor updates to VC project.
[ci skip]
2016-12-11 20:25:04 +11:00
Celtic Minstrel
76f725415d Update MSVC project 2016-12-10 20:55:39 -05:00
Wedge009
4ee8ee7e71 Updating VC project.
[ci skip]
2016-12-08 23:51:27 +11:00
Celtic Minstrel
c2ed9c5c19 MSVC project file cleanup
- Add a few missing headers
- Remove redundant headers
- Remove duplicate include of filesystem sources
- Remove an empty source file

[ci skip]
2016-12-01 16:18:03 -05:00