1077 Commits

Author SHA1 Message Date
Charles Dang
d51d762385 Pre-release version bump (to 1.13.6) 2016-11-06 11:53:59 +11:00
Celtic Minstrel
551eb507f7 Move Mac-specific sources into main source tree and include in scons build
The server_main.m file turns out to be unnecessary (probably due to the SDL2
shift), so it was simply removed.
2016-11-03 14:46:50 -04:00
Celtic Minstrel
535fe6b35d XCode: Remove unused prefix header
This has been unused for awhile now and was just never deleted.
2016-11-03 14:46:50 -04:00
Charles Dang
755b6b8015 Codeblocks: properly include wesnoth_lua_config.h in lua sources 2016-10-23 03:56:36 +11:00
Charles Dang
0a3769a7de Updated CB wesnothd projectfile 2016-10-18 14:41:50 +11:00
Celtic Minstrel
00e412f3af Update XCode project (and minor comment fixups) 2016-10-17 23:23:40 -04:00
Charles Dang
2640caa16a Updated CB projectfile for Lua upgrade
The option -U__STRICT_ANSI__ was required to get this building (see http://stackoverflow.com/a/22167294).
There remain some warnings that need to be squashed.
2016-10-18 14:00:30 +11:00
Gregory A Lundberg
0c13f7ea20 Update project files
Update for Visual Studio, CMake and SCons.
2016-10-17 10:34:42 -05:00
GregoryLundberg
160a4611d6 Use strcmp instead of strcoll
This works for Visual Studio, CMake and SCons.
Still need to get it working on: CodeBlocks and Xcode
2016-10-17 10:34:41 -05:00
Jyrki Vesterinen
7edad9669a Update Visual Studio project 2016-10-17 17:14:58 +03:00
Wedge009
7b42ba2bea Add some missing Release build locations.
Correct build location for sp_options_configure.cpp.
2016-10-17 23:00:59 +11:00
Celtic Minstrel
d006d73c6e Update XCode project 2016-10-17 00:48:04 -04:00
Charles Dang
0c36463d3a Updated CB projectfile 2016-10-17 11:35:53 +11:00
Jyrki Vesterinen
3858b22073 Update Visual Studio project 2016-10-16 21:39:02 +03:00
Jyrki Vesterinen
c507b78f29 Merge pull request #825 from GregoryLundberg/GL_clang_cleanup
Clean up some issues compiling with clang and gcc
2016-10-16 21:02:06 +03:00
Celtic Minstrel
697a9a2edd Update XCode project 2016-10-16 13:05:53 -04:00
Gregory A Lundberg
0ecbbef033 Apply patch to boost
When using:

    scons strict=true ctool=clang

A number of issues appear concerning a known bug in Boost::Bind; applying the patch which should appear in Boost 1.63. Comments on the Boost ticket indicate this may also be an issue for earlier versions of GCC.

For the ticket, see

    https://svn.boost.org/trac/boost/ticket/12397

and the patch is at

    3c56630b54

NOTE: This does NOT create a dependency upon the patched header. If the header is changed, you must do a full re-build of all sources by hand.
2016-10-16 10:55:09 -05:00
Charles Dang
b6ea5106ca Moved marked-up_text.*pp to font/ 2016-10-16 22:54:07 +11:00
Charles Dang
b5d6186ea2 Move some pango formatting-related functions to their own file 2016-10-16 22:06:46 +11:00
Jyrki Vesterinen
313aa3241d Update Visual Studio project 2016-10-16 11:45:07 +03:00
Celtic Minstrel
9908335f3f XCode: Fix unit tests compilation 2016-10-16 00:24:10 -04:00
Celtic Minstrel
f7856c11d4 XCode: Build Lua as a separate static lib 2016-10-16 00:24:10 -04:00
Celtic Minstrel
c21a64863a XCode: Some targets cleanup 2016-10-16 00:24:10 -04:00
mattsc
d89af04a64 Update Xcode project 2016-10-15 18:52:41 -07:00
Charles Dang
c2f01ce228 Updated CB projectfile 2016-10-16 12:16:28 +11:00
Wedge009
e25a44bc72 Removing progress bar from VC project files (from commit 77488222). 2016-10-13 17:12:28 +11:00
Charles Dang
7748822248 Removed unused GUI1 progressbar widget 2016-10-13 15:15:29 +11:00
mattsc
1d5aba9e82 Update Xcode project 2016-10-12 13:09:00 -07:00
Jyrki Vesterinen
76582bcf29 Update Visual Studio project 2016-10-12 21:22:46 +03:00
Ignacio R. Morelle
4915f0349c desktop: Add functionality to enumerate paths of interest
This allows querying things such as the user's home dir, drive letters
(Windows-only), and game paths such as the data dir, preferences, user
data, and binaries. The results are presented in a format that's
suitable for UI use, with translatable labels used wherever applicable.

At some point there'll be support for listing user-defined bookmarks as
well.
2016-10-12 03:11:01 -03:00
Wedge009
0fe3e0ab13 Define _WIN32_WINNT for MSVC compilation (resolve warnings from boost).
Also suppress Winsock deprecation warning from boot's use of certain functions.
2016-10-06 14:11:07 +11:00
Wedge009
f10f4e8a28 Basic tidying of VC project files.
* Merged property groups added in ab636909.
* Strip out empty properties.
2016-10-06 13:21:35 +11:00
mattsc
ac1d8c886c Update Xcode project 2016-10-05 06:32:17 -07:00
Wedge009
4d172d6e11 Update VC project files for update of file menu from GUI1 to GUI2.
* Add file_dialog and remove filechooser & file_menu
* Add Shlwapi.lib to linker
2016-10-05 19:04:00 +11:00
Ignacio R. Morelle
285bbe7237 gui: Remove GUI1 filechooser
This switches all existing callsites to using gui2::tfile_dialog, and
fixes a build issue due to editor/controller/editor_controller.cpp
relying on an indirect include from gui/dialogs/editor/custom_tod.hpp
for a full type declaration.
2016-10-05 03:06:43 -03:00
Ignacio R. Morelle
6e1f6bb686 gui2/tfile_dialog: Initial port of the filechooser dialog to GUI2
This provides, as far as I can tell, all the filechooser functionality
that is actually in use in Open File mode except for the "type-ahead"
option that is used to set filename extension hints.

There's some newly-introduced border cases courtesy of Boost.Filesystem
that I really feel we shouldn't worry about for now:

 * // is handled weirdly thanks to BFS honoring the POSIX provision for
   implementation-defined behavior regarding it.
 * UNCs on Windows are not supported. Just like in mostly everywhere
   else in Wesnoth. Same applies to \\.\, \\?\ and \??\.
 * Non-directory path components on Windows are not handled very
   gracefully (particularly obvious with volumes mounted as NTFS
   junction points, or symbolic links for the Documents folder on
   Wine) due to quirks in BFS's path::canonical() method and how it
   relies on dereferencing individual path components to resolve dot
   entries.

Haven't tested all callers yet, they are still using the original
filechooser entry points for now. I need to remove those and make
everyone use gui2::tfile_dialog directly before this can be merged to
master.
2016-10-05 03:06:43 -03:00
Ignacio R. Morelle
ea9d077b89 fs: Add utility functions for the new file dialog
These include an alternate mode of normalize_path() that enforces the
platform's preferred path delimiter (i.e. backslash on Windows) on the
output, and a function to detect whether a path refers to a root
directory.

Unfortunately, the last bit requires introducing a new link-time
dependency on Windows, against a system library. It's guaranteed to be
always there but it seems kind of a waste. The alternative would be to
hand-parse the string but that seems even more of a waste. And no,
Boost.Filesystem can't do this in a straightforward fashion right now.
2016-10-05 03:06:43 -03:00
Jyrki Vesterinen
f3cdd5b2f0 Update Visual Studio project 2016-10-04 20:53:56 +03:00
Ignacio R. Morelle
ca5ef32636 Also drop mentions of SDL_net from documentation 2016-10-03 07:08:43 -03:00
mattsc
52a4f2a0d1 Update Xcode project 2016-10-01 19:18:08 -07:00
Jyrki Vesterinen
f7ee888456 Update Visual Studio project 2016-09-30 22:38:32 +03:00
Charles Dang
45ea8c6a43 Added GUI2 MP Join Game dialog
Note the faction select dialog doesn't appear for some reason.
2016-10-01 02:09:20 +11:00
Celtic Minstrel
357047db78 Update XCode readme 2016-09-29 11:35:35 -04:00
Charles Dang
9ccc4300b9 Update CB projfile 2016-09-26 04:02:52 +11:00
Jyrki Vesterinen
76d407e733 Expose preferences to Lua 2016-09-24 18:16:41 +03:00
Wedge009
6ba16e9bc6 Removing lingering references to scoped_resource.hpp. 2016-09-24 17:00:46 +10:00
Charles Dang
2657a323fb Removed custom scoped resource implementation
As mentioned before, std::unique_ptr or std::shared_ptr can now be used in place of this.
2016-09-24 17:52:53 +11:00
Wedge009
b98f8aab7c Updating VC project files. 2016-09-24 16:41:43 +10:00
Charles Dang
55ba8c95bc Cleaned up handling of basic alpha setting
This does a few things:
* Refactored adjust_surface_alpha to use SDL_SetSurfaceAlphaMod
* Made all uses of the legacy SDL_SetAlpha use adjust_surface_alpha
* Made adjust_surface_alpha now take a non-const reference and perform the operation on the surface directly.
2016-09-24 17:31:08 +11:00
Celtic Minstrel
fc8537f2f1 Fixup (MP compilation incompatible with minimal rebuild) 2016-09-23 21:01:48 -04:00