The open source, cross platform level editor for idtech games
Go to file
rambetter b1b208f12e Improving native Windows file dialog in Rambetter-temp-fixes branch some
more.  This adds new code and improves code committed in revision 351.

- Calling GetOpenFileName() and GetSaveFileName() from a new thread, thus
allowing the main thread to continue refreshing GtkRadiant while the native
Windows file dialog is open.  Prevents the ugly "hall of mirrors" effect.
A similar approach is used in the open source Inkscape, so I'm not doing
anything too dangerous here.  However, this _is_ hacky in my opinion.

- Using memset() to zero out the memory of the OPENFILENAME structure.
This is safer than selectively setting fields on this structure.  We no
longer need to explicity set certain field to NULL now.

- "all files" filter now lowercase to be consistent with other code.

These changes have been tested on Windows XP and Windows 7.

THIS COMMIT SHOULD BE MERGED INTO TRUNK AT SOME POINT!!!


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@352 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-18 03:03:55 +00:00
Doxygen_files ABToSVK commit 2008-08-24 03:20:51 +00:00
contrib Backing out r347 and r345. Keeping r346. 2010-12-15 06:56:33 +00:00
docs/manual merge branch work back into trunk 2008-09-01 17:34:10 +00:00
include updated the setup functionality on windows, new deps file, bumped version up 2010-11-29 01:12:35 +00:00
install fix and improve the game selection and game configuration dialogs - added dir dialog, using GtkComboBox (added support for GtkComboBox too) 2008-04-12 23:01:39 +00:00
libs fix Linux compile from mhash stuff 2010-11-26 06:46:05 +00:00
plugins Backing out r347 and r345. Keeping r346. 2010-12-15 06:56:33 +00:00
po * synced german translation with latest pot updates 2008-07-05 07:32:06 +00:00
radiant Improving native Windows file dialog in Rambetter-temp-fixes branch some 2010-12-18 03:03:55 +00:00
radiant.xcode transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
tools Backing out r347 and r345. Keeping r346. 2010-12-15 06:56:33 +00:00
BSD * eol-style native 2008-06-25 22:07:02 +00:00
CHANGES-MACOS * changed eol-style to native 2008-06-25 22:05:08 +00:00
COMPILING * removed SETUP=0 (only valid for 1.5) 2008-06-30 18:09:38 +00:00
CONTRIBUTORS * changed eol-style to native 2008-06-25 22:05:08 +00:00
CONTRIBUTOR_AGREEMENT transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
ChangeLog * add compiling file from 1.5 with minor changes 2008-06-26 06:47:18 +00:00
DarwinCompileInfo.rtf transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
DoxyConfig transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
Doxyfile transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
GPL * eol-style native 2008-06-25 22:07:02 +00:00
GtkRadiant.prj transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
LGPL * eol-style native 2008-06-25 22:07:02 +00:00
LICENSE * changed eol-style to native 2008-06-25 22:05:08 +00:00
README * changed eol-style to native 2008-06-25 22:05:08 +00:00
README.doxygen transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
SConscript.lib some updates to the Linux build system - obtained a core binary and all required modules 2007-10-24 04:00:48 +00:00
SConscript.module * fixed libpng linkage (2nd try) 2008-03-19 07:20:06 +00:00
SConscript.q3map2 fix Linux compile from mhash stuff 2010-11-26 06:46:05 +00:00
SConscript.radiant add q3map2 build to scons 2008-01-02 04:47:59 +00:00
SConstruct get the basics of a new scons build system together 2007-09-30 19:39:29 +00:00
TODO * removed todo entry 2008-06-26 18:50:38 +00:00
TRANSLATING * some notes for running the translated version of radiant 2008-06-26 11:01:07 +00:00
compile_ibuild_win32.bat add build script for win32 2008-04-05 19:14:42 +00:00
config.py Progressing on bringing Radiant 1.6.x to a workable state on Windows. 2010-12-15 09:52:26 +00:00
gen.readme transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
gen.vcproj merge branch work back into trunk 2008-09-01 17:34:10 +00:00
gendox transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
install.py eol 2007-11-04 04:09:22 +00:00
makeversion.py eol 2007-11-04 04:09:22 +00:00
osx_setup.py transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
radiant.pot * reactivated some old quake2 code 2008-07-05 08:53:43 +00:00
radiant.sln merge branch work back into trunk 2008-09-01 17:34:10 +00:00
radiant_VC9.sln merge branch work back into trunk 2008-09-01 17:34:10 +00:00
run_python.bat transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
uncrustify.cfg uncrustify config - not applying until more sync with internal versions are done 2008-03-16 15:51:12 +00:00
utils.py eol 2007-11-04 04:09:22 +00:00

README

Terms and Conditions of Use


-------

GTKRadiant contains software developed by Id Software, Loki Software and third 
party contributors.

All portions of GTKRadiant which are licensed by Id Software are subject to the 
terms of its LIMITED USE SOFTWARE LICENSE AGREEMENT, a copy of which is included 
with GTKRadiant. If you did not receive a LIMITED USE SOFTWARE LICENSE 
AGREEMENT, please contact Id Software immediately at info@idsoftware.com.

All portions of GTKRadiant which have been developed by Loki Software and/or 
third party contributors are licensed under the terms set forth below.

-------

Copyright (c) 1999-2000, Loki Software, Inc. 
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, 
are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list 
of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this 
list of conditions and the following disclaimer in the documentation and/or 
other materials provided with the distribution.

Neither the name of Loki Software nor the names of its contributors may be used 
to endorse or promote products derived from this software without specific prior 
written permission. No license is hereby granted to any trademarks, tradenames 
or logos.

THIS SOFTWARE IS PROVIDED BY LOKI AND THE CONTRIBUTORS "AS IS." ANY AND ALL 
WARRANTUES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED 
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
NONINFRENGEMENT ARE HEREBY DISCLAIMED. IN NO EVENT SHALL LOKI OR THE 
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, PROCUREMENT OF 
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 
OF SUCH DAMAGE.

-------