Commit Graph

1381 Commits

Author SHA1 Message Date
Rudolf Polzer cb0f0daa02 vars don't work the way I think... 2010-12-20 08:29:52 +01:00
Rudolf Polzer 3fc0434acf more release-win32 fixes 2010-12-20 08:27:43 +01:00
Rudolf Polzer 35554d1b10 properly brand the builds 2010-12-20 08:14:46 +01:00
Rudolf Polzer 0fed63bc8f add a comment 2010-12-20 08:09:34 +01:00
Rudolf Polzer 4d8ac8bf0b release building: more stuff 2010-12-20 08:09:10 +01:00
Rudolf Polzer fd02c5f803 shorten the file names 2010-12-20 08:07:24 +01:00
Rudolf Polzer 80bcec6979 fix make release-all 2010-12-20 07:51:25 +01:00
Rudolf Polzer 9fd00a1826 a release-all target 2010-12-20 07:50:24 +01:00
Rudolf Polzer 839a76da2c add makefile targets for source tarballs 2010-12-20 07:49:38 +01:00
Rudolf Polzer 96854914dc remove a LOT of unused symbols from qgl.cpp 2010-12-19 21:06:42 +01:00
rambetter 36a1c4bbad Cleaning up some file dialog tidbits in Rambetter-temp-fixes branch.
Just some code maintenence.  Like removing unused local vars.

PLS MERGE TO TRUNK.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@356 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-19 04:12:29 +00:00
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
rambetter 2c799718d7 Slight fix to r353 in Rambetter-fixes temp: the file suffix in
save operation is case sensitive now w.r.t. to checking a registered
suffix.  The problem was that saving a file foo.MAP does not work.

PLEASE MERGE THIS TO TRUNK.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@354 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-19 01:31:52 +00:00
rambetter 6412c5ca77 Another Windows file dialog change in Rambetter-temp-fixes branch.
Handling file extensions better	during save operations.	 This is more
Windows-compliant.  For	example, when saving map:
- If ".xmap" filter is selected	and user types "foo.map", map will be
saved as "foo.map" (previous behavior was "foo.xmap").
- If an	unrecognized file extension is typed, GtkRadiant will now honor	that
but issue a warning popup window: "Unknown file extension for this save         
operation.  Attempt to save anyways?". 	All known extensions for the type
are checked.  Previous behavior	was that the extension is always changed
based on selected filter.

I will continue	making lots of incremental fixes to Rambetter-temp-fixes.

THIS PATCH SHOULD BE MERGED INTO TRUNK.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@353 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-19 01:08:29 +00:00
Rudolf Polzer 03ff4dbbfe in "GimpRadiant" mode, make the focused XY view the current one for nudgeSelection 2010-12-19 00:27:12 +01:00
Rudolf Polzer af702de039 be more specific about depcheck errors (show whether compile or link stage failed) 2010-12-18 22:40:31 +01:00
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
rambetter f482df40a1 Fixing the native Windows file dialog in Rametter-temp-fixes branch
of GtkRadiant. 	The previous code was Plain Old	Wrong (TM) in the way that
it handled determining which "Save as type" was	selected in the	file save
dialog.  This change affects the function file_dialog() in gtkmisc.cpp.
Fix has	been tested on Windows 7 when the pattern input	parameter is something
such as	"map" and when it's null.  Will	test Windows XP	shortly	and follow
up with	another	commit if it's not working correctly there.

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


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@351 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-16 07:08:00 +00:00
rambetter 1f99ab9e81 Progressing on bringing Radiant 1.6.x to a workable state on Windows.
This commit:
1. Reverts to using GtkR-deps-1.6-3.zip (instead of GtkR-deps-1.6-4.zip).
Some font-related DLLs are therefore no longer used with this patch.
2. Because of the above #1, now using the really old OpenGL font rendering
code on Windows systems.  This is controlled via "#ifdef _WIN32" blocks.
Linux still uses the new and improved OpenGL font rendering.
Note that this old font rendering that Windows now uses (err, has used in the
past too) makes use of gdk_gl_font_use_pango_font(), which is really old
and crufty.

So, with this commit Radiant is fully working (modulo bugs) on Linux and
Windows, and OpenGL fonts work too.

I WOULD NOT SUGGEST MERGING THIS CHANGE INTO TRUNK.  THE CORRECT APPROACH
IS TO INSTEAD FIX THE DLL LIBRARY DEPENDENCIES IN TRUNK.  I AM ONLY COMMITTING
THIS SO THAT I CAN CONTINUE FIXING BUGS IN RADIANT IN THE MEANTIME.

There are still a zillion bugs on Windows.  For example, I can't even save
a .map file at this point.  That is my next task, to fix saving of .map files.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@350 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-15 09:52:26 +00:00
rambetter 7f2f9610ba Backing out r347 and r345. Keeping r346.
So, this branch is now r344 with patch r346.
DO NOT MERGE THIS CHANGE INTO TRUNK!!!!


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@349 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-15 06:56:33 +00:00
rambetter ab7d2b5680 Creating a temporary branch for Rambetter to use in order to
fix some outstanding issues while the lib-reassembly is taking place.
This branch is starting out as a copy of r347.
I [Rambetter] am not able to work on trunk at the moment because it
is broken on Windows due to the DLL nightmare that is going on.  I would
like to fix some bugs in the meantime.  Commits that should be imported back
into trunk will be clearly marked as such.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/Rambetter-temp-fixes@348 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-15 06:42:34 +00:00
Rudolf Polzer 0e0197b793 add [BspFile] to be used in compile command lines to explicitly refer to the .bsp 2010-12-14 22:08:25 +01:00
TTimo 09337b8992 damn macro is still there
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@347 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-13 05:37:08 +00:00
rambetter eb77a1bc39 ixing a big problem on Windows platforms that has to do with copying over
game packs to the game install directory.  Before this patch, users of
Radiant	weren't	able to	start Radiant without doing some manual	copying	of
game pack files over by hand (and	I'm sure nobody	figured	that out).
The problem is in radiant/missing.cpp. 	CopyTree() didn't correctly recursively
copy directories because of a problem in FindFiles::FindFiles() on Windows.


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@346 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-13 04:50:40 +00:00
TTimo 7c46911658 rebuilt gtk binary dependencies file
fixed/optimized a number of VC9 project settings
fixed sprintf being hijacked by intl.dll stuff


git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@345 8a3a26a2-13c4-0310-b231-cf6edde360e5
2010-12-13 04:21:05 +00:00
Rudolf Polzer ce4cab638b enable WarsowPack and Quake2WorldPack again as their servers seem up again 2010-12-11 18:17:42 +01:00
Rudolf Polzer f5340d619a more text 2010-12-11 17:53:55 +01:00
Rudolf Polzer 2b06fe2609 update URL to the netradiant dependencies 2010-12-11 17:10:15 +01:00
Rudolf Polzer 9beafe8050 explain how to deal with missing DLL 2010-12-11 16:20:42 +01:00
Rudolf Polzer 0fea7f972d fix the start workaround 2010-12-11 16:08:13 +01:00
Rudolf Polzer 69cea8edbc workaround problems with wget and svn 2010-12-11 16:06:07 +01:00
Rudolf Polzer d60e6ed803 PATH trick does not work, so let's ignore the problem and use explicit paths 2010-12-11 16:01:20 +01:00
Rudolf Polzer 0976b5f508 improve instructions 2010-12-11 15:54:56 +01:00
Rudolf Polzer 6720b86e05 update the radiant deps link 2010-12-11 15:44:00 +01:00
Rudolf Polzer a6f747ac13 update win32 instructions a bit 2010-12-11 15:27:29 +01:00
Rudolf Polzer 257292c06e on mingw, use the "utils" as path too 2010-12-11 15:14:45 +01:00
Rudolf Polzer 5d074cfc12 default to Arial 9 on Windows (NOT Courier New 8) 2010-12-11 14:53:23 +01:00
Rudolf Polzer 50218d2883 Revert "fix some more of the weird workarounds"
This reverts commit b8ef001e49.
2010-12-11 14:52:52 +01:00
Rudolf Polzer b8ef001e49 fix some more of the weird workarounds 2010-12-09 07:08:34 +01:00
Rudolf Polzer 1e68dbb153 fix typo 2010-12-09 06:58:33 +01:00
Rudolf Polzer d5a678f5d0 we need a fonts.conf file for fontconfig to work on win32 2010-12-09 06:57:25 +01:00
Rudolf Polzer d792d26da8 add an ifdeffed out font size workaround 2010-12-09 06:54:14 +01:00
Rudolf Polzer ceaa322eef be a little nicer to switching font system at compile time 2010-12-09 06:52:52 +01:00
Rudolf Polzer ced815377c fix another dll name typo 2010-12-08 19:47:36 +01:00
Rudolf Polzer 88e8ef8fac one more DLL 2010-12-08 19:38:25 +01:00
Rudolf Polzer 97b6e42415 Revert "we no longer need fixprefix", because we do need it. On cross compiling. On mingw it is harmless.
This reverts commit 189385d856.
2010-12-08 19:37:36 +01:00
Rudolf Polzer 189385d856 we no longer need fixprefix 2010-12-08 14:41:47 +01:00
Rudolf Polzer 896f840e29 mark the package as outdated 2010-12-08 14:41:13 +01:00
Rudolf Polzer 0891d8b03f comment out Quake2WorldPack as the server is currently unreachable 2010-12-08 13:31:22 +01:00
Rudolf Polzer e92d32fdb9 updates to make win32 building work again 2010-12-08 13:30:58 +01:00