Commit graph

432 commits

Author SHA1 Message Date
Christian Ratzenhofer
5ed7a304a7 Properly name game configuration files, fixes #43 and other issues related to stringcompares against config filename 2012-05-04 00:18:30 +02:00
Timothee 'TTimo' Besset
a2a93d30df fix bobtoolz patch caulk crash 2012-04-22 19:43:26 -05:00
Timothee 'TTimo' Besset
c40e0b3e57 unused 2012-04-15 11:24:38 -05:00
Timothee 'TTimo' Besset
6873f53847 only Q3 and UrT pack for now. will need maintainers on the others to re-add them 2012-04-15 11:24:08 -05:00
Timothee 'TTimo' Besset
943424faa1 fix q3map2 2012-04-14 17:31:10 -05:00
Timothee 'TTimo' Besset
85a66c9519 fix unzip code 2012-04-14 17:15:55 -05:00
Timothee TTimo Besset
ea08af07fe moved to the web repository. online at http://icculus.org/gtkradiant/documentation/windows_compile_guide/ 2012-04-08 18:45:33 -05:00
Timothee TTimo Besset
0280c898c6 Merge branch 'master' of github.com:TTimo/GtkRadiant 2012-04-07 18:53:20 -05:00
Timothee TTimo Besset
c64cd0cd05 Q2Tools source - didn't import this in initially 2012-04-07 18:53:01 -05:00
Timothee "TTimo" Besset
961fb5bd5f Merge pull request #27 from freemancw/master
Issue #15 - fixed about dialog / Updated 1.5.0 icon
2012-04-01 18:42:22 -07:00
Clinton Freeman
6a2288bb90 centered about on parent window 2012-04-01 21:01:18 -04:00
Clinton Freeman
5a4c0cc6bc reorganized about dialog code, added updated 1.5.0 .ico 2012-04-01 20:37:53 -04:00
Clinton Freeman
adeab050ef reorganized about dialog and updated logo. fixed
broken links
2012-04-01 16:54:44 -04:00
alex8664
b6d70499bf This is fix for failure of compilation on new libpng 2012-03-31 17:33:33 +04:00
alex8664
67411cb18e This is fix for failure of compilation on new libpng 2012-03-31 17:31:50 +04:00
Timothee "TTimo" Besset
686a211fc3 Merge pull request #21 from merlin1991/Q3-gamepack-fix
copy shaderlist for Q3 if missing and make sure the config folder for *.game files exists
2012-03-26 06:56:22 -07:00
Christian Ratzenhofer
075e39d582 Check if games folder exists, and copy shaderlist for Q3 if missing 2012-03-26 13:57:19 +02:00
Timothee "TTimo" Besset
f3eedecd09 Merge pull request #19 from merlin1991/scons-update
Scons update
2012-03-25 16:33:16 -07:00
Christian Ratzenhofer
5b54de9bf2 updated Windows compile guide to include git
and the newest changes to the scons script (no more full blown msys)
2012-03-26 01:13:24 +02:00
Christian Ratzenhofer
d4f7c67be1 Remove calls to wget unzip and cp in the setup target of scons
This allows to build on windows without msys
2012-03-26 01:12:56 +02:00
Timothee TTimo Besset
6ac1b9cfd3 Merge branch 'master' of github.com:TTimo/GtkRadiant 2012-03-22 22:59:40 -05:00
Timothee TTimo Besset
a5a1d8287b new version of glib is touchy 2012-03-22 22:57:36 -05:00
Timothee "TTimo" Besset
02e6ff2dcb Merge pull request #6 from bnoordhuis/cleanup
cleanup + q3map2 crash fix
2012-03-18 06:52:13 -07:00
Ben Noordhuis
d3e3a8e063 build: re-enable optimizations in release builds
Commit f961a54 fixes the q3map2 crash at startup so it's safe to enable
optimizations again.
2012-03-18 02:18:26 +01:00
Ben Noordhuis
f961a547ff q3map2: bump MAX_OS_PATH to 4096
Fixes a "buffer overflow detected" abort when compiled with _FORTIFY_SOURCE=1.

The realpath(3) function in glibc checks if the destination buffer is large
enough to hold up to PATH_MAX characters and aborts if that is not the case.
PATH_MAX doesn't have to be defined so assume that it's equal to 4096.

We should really be using pathconf(_PC_PATH_MAX) instead of a hard-coded value
but that means we can no longer use static buffers to hold paths.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
3a959349ac q3map2: harden UNIX path sniffer against buffer overflows 2012-03-18 02:17:09 +01:00
Ben Noordhuis
808e1c9f6f q3map2: fix dangling pointer dereference
`last` was used but not initialized.

Also fixes a segmentation fault if PATH is not in the environment.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
d7e9dab03d q3map2: getpwent() result may not be persistent
Use getpwuid_r() instead and store the path in a static buffer.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
c2be26a9bd q3map2: add safe string copy functions
* Q_strncpyz()
* Q_strncat()
* Q_strcat()

Guard against buffer overruns, always zero terminate the result.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
997811d430 q3map2: fix bogus empty string checks
qdir is an array, not a pointer, so `if (qdir)` is always true.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
ca8d032cfb fix warning: unused variable 'foo' 2012-03-18 02:17:09 +01:00
Ben Noordhuis
cd725d680a fix warning: array subscript is above array bounds
Simplify and flatten the code while we're at it.
2012-03-18 02:17:09 +01:00
Ben Noordhuis
3311b00ae6 fix warning: format not a string literal and no format arguments 2012-03-18 02:13:11 +01:00
Ben Noordhuis
7c4e1f1fcb .gitignore build artifacts 2012-03-18 02:13:11 +01:00
Timothee TTimo Besset
830125fad0 uncrustify! now the code is only ugly on the *inside* 2012-03-17 15:01:54 -05:00
Timothee TTimo Besset
515673c08f trash a bunch of outdated and confusing things 2012-03-17 14:07:19 -05:00
git-svn-migrate
31c68a8299 Convert svn:ignore properties to .gitignore. 2012-03-16 22:20:47 -05:00
rambetter
75220350bc Switching order of picoModuleLWO and picoModuleOBJ as a quick
and dirty workaround to problems in libs/picomodel/pm_obj.c which
passes files that aren't Wavefront ASCII.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@491 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-02-14 18:31:09 +00:00
rambetter
ce733d8b78 Moved windows build paks from Zerowing to icculus.org.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@490 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-01-04 00:47:49 +00:00
rambetter
493a05caab Updating some links in the Windows compile guide.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@489 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-01-02 04:48:47 +00:00
rambetter
82aeb6acea Updating Windows compile guide with new SVN repo location.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@488 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-01-02 02:10:52 +00:00
rambetter
b5b1482c98 Changing the SVN respository of game packs to correct one after
the SVN repo switch.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@487 8a3a26a2-13c4-0310-b231-cf6edde360e5
2012-01-01 21:59:26 +00:00
rambetter
c6b22295b6 Removing optimization GCC flags because q3map2 crashes on Ubuntu 10.10 32 bit,
ever since certain updates in that distribution.  This fixes the q3map2 crash,
but no more optimizations.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@486 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-23 22:23:31 +00:00
rambetter
88f8603d62 8MB stack size linker options on all VC2008 proj files.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@485 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 04:12:34 +00:00
rambetter
33da149be0 Backing out commit 483. Going to set linker flags instead.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@484 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 04:08:22 +00:00
rambetter
e39f6f4bae Increasing stack size on Windows build.
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@483 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-04-06 03:56:18 +00:00
rambetter
a62e98a1f9 Fixing a Sys_Printf() in main() for "q3map2 -convert". The usage message was
copied from "-scale" and was incorrect.  Thanks to Ensiform from ioquake3 IRC
room for reporting this bug.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@482 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-03-06 19:14:50 +00:00
TTimo
772fdfe0b9 bring the libraries back to id hosting
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@481 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-03-05 21:08:28 +00:00
TTimo
b0978b99ca fix Linux x86_64 compile (Debian Sid, gcc 4.4.5)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@480 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-03-05 20:06:42 +00:00
rambetter
8d530e8707 - Updated Windows build doc, very slight revision. Changed 37 targets to 38.
- Added plugins/imagehl to list of modules built (both	Windows and Linux).
    Not	really sure what this does, but it's the only module (as defined by
    stuff in plugins/ or contrib/) that exists and isn't currently part of the
    build.
- The code to disable desktop composition in Windows has been moved from start
    of main() to an option in Preferences.  The	pref reads as follows:
    "NVIDIA/Aero bug - disable Windows composition".  It is enabled by default.
- Color themes controlled by "Misc" -> "Colors" -> "Themes" options are now
    saved as soon as you select them.  The color theme is no longer clobbered
    when opening Preferences.
- The ATI broken driver (bug #802) pref has been reworded since it applies to
    Intel cards as well.  Before:
    "ATI cards with broken drivers - bug #802".  After:
    "ATI and Intel cards w/ buggy drivers (disappearing polygons)".


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@479 8a3a26a2-13c4-0310-b231-cf6edde360e5
2011-03-03 15:51:44 +00:00