839 Commits

Author SHA1 Message Date
Celtic Minstrel
21bda20859 Update XCode project 2016-03-03 16:19:38 -05:00
Celtic Minstrel
9a77b81fc7 Update XCode and MSVC projects 2016-02-26 00:20:21 -05:00
Charles Dang
90ae1151c7 CB: add -Wunused compiler flag 2016-02-26 12:53:02 +11:00
Charles Dang
dfe7fcca88 gui2: implement widget groups
Groups are handled on a per-dialog basis, and are currently specialized for tselectable_
inheritors. They provide a convenient vector-of-pairs interface that ensure only one
widget is selected at one time and allows binding of values to widgets which can be
fetched at a later point.
2016-02-25 20:28:18 +11:00
Celtic Minstrel
18bcd519e0 XCode: Suppress warnings about unknown warnings 2016-02-23 10:18:00 -05:00
Celtic Minstrel
43e3f8e631 XCode: Split up copy files phase a little
May or may not speed up the build.
Definitely improves the progress indicator a little bit.
2016-02-22 21:57:40 -05:00
Celtic Minstrel
33da7920cf Add new orb selection dialog to unit tests and other build systems 2016-02-18 01:13:11 -05:00
Celtic Minstrel
38ddbb98f2 Preferences: Reimplement orb color options 2016-02-18 01:13:10 -05:00
Celtic Minstrel
f4c3d97f55 Update XCode project (again) 2016-02-14 15:17:02 -05:00
Celtic Minstrel
534299e645 Update XCode project 2016-02-14 15:02:55 -05:00
aquileia
7815744c61 vcproj: Add preference_dialog
Additionally, remove duplicate entry in src/Sconscript
2016-02-11 18:01:30 +01:00
Charles Dang
5d60f991a1 Merge pull request #581 from Vultraz/prefs_dialog_refactor
GUI2 prefs dialog refactor
2016-02-10 21:09:18 +11:00
Charles Dang
a5b2f5cd7b Updated build lists + cb projfile 2016-02-06 20:19:40 +11:00
Wedge009
4d26cf909e vcproj: Add missing combobox and drop_down_list files. 2016-02-06 11:17:33 +11:00
Charles Dang
cb71b330e9 Updated codeblocks build readme with updated last tested versions 2016-02-02 02:28:35 +11:00
Charles Dang
fb5b4b0e99 Updated codeblocks projfile 2016-01-21 05:51:55 +11:00
Celtic Minstrel
eb1d0e2876 XCode: Fix bundle signature warning 2016-01-13 12:15:49 -05:00
ancestral
3cf38b651a Updated version number; set High Resolution Capable per SDL2 guidelines; updated copyright date 2016-01-02 00:40:40 -06:00
ancestral
b7595d4a2c New hi-res icon using new logo for OS X 2015-12-29 19:36:09 -06:00
Martin Proud
44cf166010 Update SDLMain.m
Fixes crash on launch for SDL2 on OS X.
2015-12-29 08:14:12 -06:00
Charles Dang
c951043d58 Resave lua codeblocks projfile
File generated with CB 13.12
2015-12-22 16:36:23 +11:00
Charles Dang
b8a821e388 Enable SDL2 building by default in codeblocks project 2015-12-22 16:35:56 +11:00
aquileia
ed780b0058 vcproj: Disable stack validity check
The instructions to confirm the stack pointer position led to poorly
optimized code and abysmal performance. This made the debug configuration
basically useless.

This fix is based on
randomascii.wordpress.com/2011/07/22/visual-c-debug-buildsfast-checks-cause-5x-slowdowns/
2015-12-03 08:58:37 +01:00
Andreas Löf
81480d1d77 Merge branch 'master' into sdl2 2015-12-01 22:33:24 +13:00
aquileia
5d825d4aca vcproj: Update for 53ed94d & aae8e70
[skip ci]
2015-11-24 22:02:33 +01:00
Ignacio R. Morelle
53ed94da25 log/windows: Integrate implementation of --wconsole
This makes it so we no longer try to steal the console back to a log
file when using --wconsole with the new redirection code. Now the
--wconsole switch triggers a special mode of the log file manager that
uses a native console instead of log files.

As a necessary bonus to appease compilers, the GUI2 version info dialog
now uses the correct log file path when not started with the --wconsole
switch. Yay!
2015-11-23 03:42:14 -03:00
Ignacio R. Morelle
aae8e70c7a log/windows: Add our own stdout/stderr redirection on Windows
This replaces SDL 1.2's built-in stdout/stderr redirection, which writes
the log file to the process working directory (usually an
admin-restricted location) instead of a more accessible user-writable
location.

My approach combines stdout and stderr into a single log file which
includes the process id and timestamp in its filename in order to
accomodate multiple instances and (coming later) log rotation. The log
file is created in the user's temporary directory defined by Windows,
and then relocated to the game user data dir as soon as it is set-up the
first time, placed in the Windows-specific logs/ subdir.

The most pressing issues this solves are the lack of built-in
stdout/stderr redirection in SDL 2's SDL2main.lib entry point, and
Unicode path issues with SDL 1.2 (bug #22897). Additionally, it allows
us to not have to rely on UAC virtualization anymore; this is arguably
far more important because it has been known to break on occasion (e.g.
<http://r.wesnoth.org/t42970>), and starting with version 1.13.2 we want
to declare Windows Vista - 10 compatibility in our side-by-side manifest
(see commit e119f4071f047c6d740ebec4636985fdf39349bc).

Currently missing features coming later:

 * Log rotation (otherwise the logs/ dir may grow forever)
 * wesnothd support (although the code is already required to be linked
   into wesnothd due to it being required by the FS API)
 * Integration with the version info dialog
2015-11-23 03:21:42 -03:00
Andreas Löf
1890e948e4 Merge branch 'master' into sdl2 2015-10-26 18:57:32 +13:00
aquileia
74c1b6fade vcproj: Remove unneeded tools
The Proxy Generaor Tool is obsolete since VC10, we don't use the IDL compiler.
2015-10-25 19:12:23 +01:00
Charles Dang
c7aa47443d CB Project: replaced DWINVER with _WIN32_IE
The former doesn't appear to do anything and was probably a typo
2015-10-21 14:44:01 +11:00
Andreas Löf
ae1d364318 Merge branch 'master' into sdl2 2015-10-15 09:57:15 +13:00
aquileia
45c1872777 vcproj: Improve formatting
Delete occurences of the UTF-8 BOM, fix version recognition of 'Visual Studio Version Selector' for Visual C++ 2008
2015-09-27 14:20:28 +02:00
aquileia
eb55fe772f vcproj: SDL2 update 2015-09-25 21:35:34 +02:00
aquileia
02563ac176 vcproj: Update for 3c11aa6 & 3ed4eed 2015-09-25 14:25:20 +02:00
aquileia
74bf61c424 vcproj: Update for 3c11aa6 & 3ed4eed 2015-09-25 14:22:01 +02:00
Celtic Minstrel
eebe3cfb75 Revert f0a837227824a055362296b7db423bcdc7354c38 for SDL1.2 only 2015-09-23 23:34:24 -04:00
Celtic Minstrel
f0a8372278 OSX: Remove SDLApplication class as SDL2 also implements it
This fixes a runtime warning about duplicate class definitions
(All the menu stuff still works.)
2015-09-23 23:26:27 -04:00
Celtic Minstrel
c68fc094d7 XCode: Fix unresolved merge conflict 2015-09-23 22:42:24 -04:00
Andreas Löf
9ae3b29f4a Merge with master 2015-09-21 23:07:49 +12:00
Celtic Minstrel
a3e3f5e719 Update XCode project file 2015-09-20 19:37:21 -04:00
Celtic Minstrel
6a09ef61e7 Update XCode project file 2015-09-20 19:30:54 -04:00
Charles Dang
a4fe9c0474 Updated codeblocks projectfile 2015-09-21 07:44:23 +11:00
mattsc
6a3a346e41 Xcode project: do not warn about unused local typedefs
Otherwise Xcode 7 (and its version of clang) produce more than 100
boost related unused typedef warnings.
2015-09-19 15:27:17 -07:00
aquileia
6dd554c979 Update vcproj for 7875501, 20fafde & 0abde38 2015-09-19 21:31:58 +02:00
Andreas Löf
22cff55dc8 Merge pull request #475 into sdl2 from CelticMinstrel:quit-confirm2 2015-09-11 18:55:11 +12:00
Charles Dang
9ca044abdb Updated codeblock projectfile 2015-09-10 15:00:53 +11:00
Celtic Minstrel
480a2a746c XCode project: Remove -Werror setting 2015-09-09 22:49:04 -04:00
Celtic Minstrel
348f3b480b Update XCode project 2015-09-09 21:55:05 -04:00
Celtic Minstrel
b0ecf09ee9 Finish changes for XCode SDL2 compilation to work 2015-09-09 11:42:35 -04:00
Andreas Löf
9204d0af45 Remove SDL_main from OSX entry point under SDL2
SDL_main is not used any longer in SDL2. These changes instead call
direcly into the wesnoth main function after setting up the OSX
environment.
2015-09-09 11:42:27 -04:00