Commit graph

550 commits

Author SHA1 Message Date
Clinton Freeman
a6c7474450 try to fix 2012-05-07 23:24:01 -04:00
Clinton Freeman
a9142e69d2 Merge remote branch 'upstream/master' 2012-05-07 23:22:54 -04:00
Timothee 'TTimo' Besset
9b5ba1fe10 error check and bail if permission denied during gamepack install 2012-05-06 16:59:07 -05:00
Timothee 'TTimo' Besset
6476802ae8 dunno what happened there, someone brain farted hard 2012-05-06 15:55:10 -05:00
Timothee "TTimo" Besset
377547668d Merge pull request #50 from merlin1991/ETPack
Add support for W:ET to the game setup dialog
2012-05-06 11:23:11 -07:00
Timothee "TTimo" Besset
fd89b34bbb Merge pull request #47 from mrwonko/MapLoading
Ability to open .map files with Radiant
2012-05-06 11:21:44 -07:00
Timothee "TTimo" Besset
ef66faa7fe Merge pull request #49 from mrwonko/FloatingWindowWorkaround
Workaround for broken floating windows
2012-05-06 11:20:31 -07:00
Christian Ratzenhofer
f0cb191f52 Add support for W:ET to the game setup dialog 2012-05-06 17:24:12 +02:00
Timothee 'TTimo' Besset
57376baa40 typo fix 2012-05-05 08:46:41 -05:00
Timothee "TTimo" Besset
4152f5b41f Merge pull request #48 from mrwonko/ModelAlpha
Fixed transparency (qer_trans) not working on models
2012-05-04 20:32:27 -07:00
Willi Schinmeyer
e35aa24c74 Workaround for broken floating windows (XY Window etc. always in front of e.g. surface inspector, properties) 2012-05-04 10:45:49 +02:00
Willi Schinmeyer
069d2350eb Fixed transparency (qer_trans) not working on models 2012-05-04 10:32:48 +02:00
Willi Schinmeyer
ead68d8884 Fixed spelling in a comment 2012-05-04 10:07:28 +02:00
Willi Schinmeyer
22de3606a6 If the first argument ends in .map, try to load it as a map (instead of as a project) 2012-05-04 10:02:31 +02:00
Timothee "TTimo" Besset
fc61d44bc1 Merge pull request #46 from merlin1991/confignamefix
Properly name game configuration files
2012-05-03 20:12:53 -07:00
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
Clinton Freeman
7afc1ea8ec pulled in updates from ttimo branch 2012-04-26 13:40:42 -04: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
Clinton Freeman
6a00062843 If user cancels model selection, I trigger
a selectiondelete call. Fixes the problem
but I'm a little bit sketchy on how I'm
handling the Undo stack...
2012-04-02 00:31:26 -04:00
Clinton Freeman
e99c0e5370 added a "all types" file filter when loading
misc_models... works for win32 native dialog
but i need to make sure it works for the gtk
file chooser
2012-04-02 00:08:43 -04: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