The open source, cross platform level editor for idtech games
Find a file
rambetter b292b8db59 This is a big big GTK file dialog change in Rambetter-temp-fixes branch.
Thank you to Markus Fischer who	provided some example code on how to
use the	"new" method of	GTK file dialogs.  I then did a	lot of research	into
how to shape his code into exactly what	I wanted.

This is	an incomplete change in	that I have not	cleaned	up the code such
as removing unused local variables and unused functions	yet.  However, I
wanted to commit this now because it really works beautifully (the GTK file
dialog that is).

- In CFileType,	m_pstrGTKMasks now contains string like
"quake3 maps (*.map)" instead of like "quake3 maps <*.map>".  Nobody else
is using this code except in gtkmisc.cpp so it's a safe	change.

- Removing all FILEDLG_DBG blocks in gtkmisc.cpp.  It really clutters up the
code and since it's completely overhauled, it's	OK to remove.

- Instead of the "old" way of gtk_file_selection_new(),	now using
gtk_file_chooser_dialog_new() instead. 	Thx to Markus Fischer for examples.

- Actually adding GTK file dialog filters.  It works really nice!  :-)

- Now using the	same file extension logic on Windows file dialogs and GTK
file dialogs.

- Improved file	extension logic.  "No file extension specified in file to       
be saved.  Attempt to save anyways?"

Tested on Win7 and Linux.
More related changes on the way.

THIS SHOULD BE MERGED INTO TRUNK.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@355 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-19 03:44:26 +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
Doxygen_files ABToSVK commit 2008-08-24 03:20:51 +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 This is a big big GTK file dialog change in Rambetter-temp-fixes branch. 2010-12-19 03:44:26 +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
ChangeLog * add compiling file from 1.5 with minor changes 2008-06-26 06:47:18 +00:00
CHANGES-MACOS * changed eol-style to native 2008-06-25 22:05:08 +00:00
compile_ibuild_win32.bat add build script for win32 2008-04-05 19:14:42 +00:00
COMPILING * removed SETUP=0 (only valid for 1.5) 2008-06-30 18:09:38 +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
CONTRIBUTOR_AGREEMENT transfer from internal tree r5311 branches/1.4-gpl 2007-09-12 18:54:28 +00:00
CONTRIBUTORS * changed eol-style to native 2008-06-25 22:05:08 +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
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
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
install.py eol 2007-11-04 04:09:22 +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
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
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
run_python.bat 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
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

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.

-------