[Gtkradiant] Crash fix patches for trunk
ttimo at idsoftware.com
Thu Dec 31 11:39:31 CST 2009
Markus Fischer wrote:
> I thought I'm going to communicate some patches, I assume it's not like
> everyone is jumping onto github not and watching the commits. I'm
> sparing the feature additions I'm doing for now, as I don't know what
> the goals of trunk at id are anyway.
> Compilation error on Windows with VC++2008 Express. Not sure if it's
> really necessary or if it's just my setup; Linux wasn't affected.
> Fix crash when no game configuration or installation packs were found
Didn't apply cleanly? Looked fine though so I manually put it in.
> Fix race condition crash: cannot open prefs when no game is selected.
> That change is rather big for what it does, may not be appropriate and
> well, isn't that necessary anyway.
> Fix crash in model plugin when shut down.
> [Linux] Fix crash and data loss when saving shader, report by Rambetter.
> [Linux] Fix attempt: models with upper case letters in the path are not
> shown, reported by Rambetter.
I don't know about this. The fix is simple enough, but a much better
policy is to *never* use uppercase for any reason whatsoever when
working with idtech3 on non windows operating systems.
Windows filesystem, for which the game engine, level editor and map
compiling tools were primarily developed is case insensitive (although
case "aware"). When files are packed into zip (pk3) files it just so
happens that the file search is case insensitive as well on non-windows
Still if you try to work with an expanded assets tree for day to day
level design and game production work with tech3 and GtkRadiant on a non
windows operating system, you will risk many subtle problems if you have
files and paths with uppercase letters.
This fix is really only the tip of the iceberg and I'd rather not go
there at all. Our policy at id is to refuse checkins to baseq3/ if some
files have uppercase letters (which can be easily enforced with a commit
hook script in subversion).
> All things I worked on so far are listed in
> http://github.com/mfn/GtkRadiant/blob/mfn/NEWS .
> - Markus
> Gtkradiant mailing list
> Gtkradiant at zerowing.idsoftware.com
More information about the Gtkradiant