TimePath [Fri, 21 Jul 2017 14:20:42 +0000 (00:20 +1000)]
Wrap gtkutil/entry
TimePath [Fri, 21 Jul 2017 14:06:07 +0000 (00:06 +1000)]
Wrap gtkutil/dialog
TimePath [Fri, 21 Jul 2017 13:34:47 +0000 (23:34 +1000)]
Wrap gtkutil/button
TimePath [Fri, 21 Jul 2017 12:24:28 +0000 (22:24 +1000)]
Wrap GtkListStore
TimePath [Fri, 21 Jul 2017 12:00:51 +0000 (22:00 +1000)]
Align with GTK object hierarchy
TimePath [Wed, 19 Jul 2017 11:33:18 +0000 (21:33 +1000)]
Propagate ui::Window
TimePath [Mon, 17 Jul 2017 11:55:47 +0000 (21:55 +1000)]
Wrap GTK
TimePath [Sun, 16 Jul 2017 11:29:13 +0000 (21:29 +1000)]
Remove 156 files
TimePath [Mon, 31 Jul 2017 12:33:03 +0000 (22:33 +1000)]
CMake: really fix installing gamepacks
TimePath [Sat, 29 Jul 2017 15:59:57 +0000 (01:59 +1000)]
CMake: mark modules as a dependency of radiant
TimePath [Sat, 29 Jul 2017 13:45:26 +0000 (23:45 +1000)]
CMake: switch minizip casing
TimePath [Mon, 31 Jul 2017 11:57:39 +0000 (21:57 +1000)]
CMake: Make dll bundling optional
TimePath [Mon, 31 Jul 2017 11:39:38 +0000 (21:39 +1000)]
Fix the mapping wiki link
TimePath [Mon, 31 Jul 2017 11:35:11 +0000 (21:35 +1000)]
CMake: fix installing gamepacks
TimePath [Mon, 31 Jul 2017 10:58:16 +0000 (20:58 +1000)]
CMake: make default install prefix actually work
TimePath [Mon, 31 Jul 2017 10:48:39 +0000 (20:48 +1000)]
CMake: install all tools
TimePath [Sun, 30 Jul 2017 12:22:39 +0000 (22:22 +1000)]
CMake: add install target
TimePath [Sun, 30 Jul 2017 01:30:28 +0000 (11:30 +1000)]
Default symbol visibility to hidden
TimePath [Sun, 30 Jul 2017 05:38:34 +0000 (05:38 +0000)]
Merge branch 'subdiv' into 'master'
[q3map2] allow to set arbitrary default light subdivision value
See merge request !67
TimePath [Sun, 30 Jul 2017 04:11:48 +0000 (14:11 +1000)]
Merge branch 'illwieckz/files'
TimePath [Sun, 30 Jul 2017 02:11:00 +0000 (12:11 +1000)]
Remove leading . in CMAKE_EXECUTABLE_SUFFIX if it has one, but don't modify it
TimePath [Sun, 30 Jul 2017 01:50:32 +0000 (11:50 +1000)]
Remove leading . in CMAKE_EXECUTABLE_SUFFIX if it has one
Thomas Debesse [Thu, 13 Jul 2017 15:03:31 +0000 (17:03 +0200)]
remove version string from home config path
- GtkRadiant uses ~/.radiant/1.6.0/
- UFORadiant uses `~/.ufoai/radiant/
- DarkRadiant uses ~/.darkradiant/
- NetRadiant was using uses both ~/.netradiant/1.5.0/ and ~/.netradiant/1.1.5/, which is not defined by the version but the way you build it.
- AARadiant uses `~/.aaradiant/1.5.0/
- XrealRadiant used ~/.rxealradiant/
I guess no one Radiant out there needs a version number in config path to not mess with other Radiants.
Thomas Debesse [Wed, 12 Jul 2017 00:09:11 +0000 (02:09 +0200)]
supports XDG_CONFIG_HOME on Linux
- stores NetRadiant config in ~/.config/netradiant
or in ${XDG_CONFIG_HOME}/netradiant if set
instead of ~/.netradiant
Thomas Debesse [Tue, 11 Jul 2017 07:03:42 +0000 (09:03 +0200)]
fix homedir version
- was ~/.netradiant/1.1.5 (1.MAJOR.MINOR)
instead of ~/.netradiant/1.5.0 (MAJOR.MINOR.0)
Thomas Debesse [Sun, 23 Jul 2017 21:33:29 +0000 (23:33 +0200)]
really filter notex (filter fallback)
- filter all /notex and /shadernotex
- filter both shadername and texture name
- only add group if shader isn't notex
- refresh the tree (hence groups) on toggling
- rename "filter notex" to "filter missing"
to avoid confusion, because that's what that
does
Thomas Debesse [Tue, 11 Jul 2017 06:15:15 +0000 (08:15 +0200)]
remember last opened folder
Thomas Debesse [Sat, 15 Jul 2017 14:46:09 +0000 (16:46 +0200)]
add command line support
- enable generic Gtk options
- allow to pass map filename as argument
and open it
Thomas Debesse [Sat, 22 Jul 2017 19:57:34 +0000 (21:57 +0200)]
[dpkdir] introducing dpkdeps.h
It was a change included in a commit by Neumond I haven't picked-up
because I disagreed with some other changes this commit introduced.
But this part is legit, it moves some DPK's DEPS file read and
version computation code to its own file. This clean-up a bit the
vfspk3 code and by the way it will be needed by future code to write
DEPS file from NetRadiant itself.
This commit is only about reorganizing code a better way.
Thomas Debesse [Tue, 18 Jul 2017 11:04:26 +0000 (13:04 +0200)]
[dpkdir] restart VFS only for Map_Free() and Map_LoadFile(), refresh others
Since there is no map file observer anymore for that stuff,
we Restart or Refresh it explicitely when needed.
- Opening map or New map needs Restarting VFS.
- Saving map or Renaming map (Save as) needs Refreshing VFS.
The Refresh also triggers the Texture browser.
A previous fix for #105 was done Refreshing VFS instead of Restarting it
but it was not perfect, for example map opening behavior is better with
VFS restart, and map saving needs to refresh the VFS and the texture
browser but not restart (that was the earlier fault). So, it's clearly
not a good idea to trigger either Refresh or Restart on any map event
since the behavior differs according to the event.
If one day one plugin wants to act on VFS on map event, it must refresh or
restart VFS according to what the plugin does. It does not make sense to
trigger the same task for different events.
Thomas Debesse [Tue, 18 Jul 2017 10:52:59 +0000 (12:52 +0200)]
[dpkdir] revert *MapFileObservers() addition, fix #105
Neumond probably thoughts it would be cool to make a file observer
that reloads the VFS each time the map change, was a nice idea.
Badly, it makes the VFS reloading itself before saving a map,
losing the current work done.
Would be easier to not rely on that observer mechanism and just
make an explicit call to reload VFS when needed instead, so we
revert this part.
This VFS reload mechanism will be reintroduced in next commit.
This commit fixes #105 even if DPK VFS is not yet fully restored.
Note: this observer mechanism was also made available to plugins, so
it's not available to plugins anymore (it was not used, and it's a bad
idea, see the next commit).
TimePath [Sat, 29 Jul 2017 14:55:12 +0000 (14:55 +0000)]
Update README.md (spaces are bad)
TimePath [Sat, 29 Jul 2017 11:48:57 +0000 (21:48 +1000)]
Remove attempt to default CMAKE_BUILD_TYPE, it does not work correctly
TimePath [Sat, 29 Jul 2017 11:32:02 +0000 (21:32 +1000)]
Update README (restore MSYS2 workaround)
TimePath [Sat, 29 Jul 2017 11:06:01 +0000 (21:06 +1000)]
Update README (compiling in release mode)
TimePath [Sat, 29 Jul 2017 10:59:55 +0000 (20:59 +1000)]
Update README
TimePath [Sat, 29 Jul 2017 10:28:12 +0000 (20:28 +1000)]
MSYS2: automatically copy dlls as part of build
TimePath [Sat, 29 Jul 2017 04:18:04 +0000 (04:18 +0000)]
Merge branch 'fix-lightanglehl' into 'master'
Fix argument parsing for -lightanglehl
See merge request !65
TimePath [Sat, 29 Jul 2017 04:13:26 +0000 (04:13 +0000)]
Merge branch 'iqmmodel' into 'master'
import iqmmodel support from aaradiant
See merge request !62
TimePath [Sat, 29 Jul 2017 03:42:29 +0000 (03:42 +0000)]
Merge branch 'fix-minizip' into 'master'
Fix build for Windows when using CMake
See merge request !68
maek [Thu, 27 Jul 2017 22:22:36 +0000 (23:22 +0100)]
Fix build for Windows when using CMake
Thomas Debesse [Thu, 27 Jul 2017 03:45:11 +0000 (05:45 +0200)]
[q3map2] allow to set arbitrary default light subdivision value
to be used without -fast
maek [Tue, 21 Mar 2017 17:03:03 +0000 (17:03 +0000)]
Fix argument parsing for -lightanglehl
Thomas Debesse [Mon, 24 Jul 2017 01:53:52 +0000 (03:53 +0200)]
add iqmmodel to cmake build
harveynik [Mon, 13 Jan 2014 01:48:44 +0000 (02:48 +0100)]
Apply Max's iqm support patch.
Apply Max's iqm support patch.
This has only been tested on Arch and Mint linux.
TimePath [Sat, 22 Jul 2017 14:22:00 +0000 (00:22 +1000)]
Switch to minizip
Mario [Tue, 18 Jul 2017 14:56:09 +0000 (14:56 +0000)]
Merge branch 'dpkdir' into 'master'
refresh DPK VFS before refreshing textures
Closes #105
See merge request !53
Thomas Debesse [Tue, 18 Jul 2017 11:26:30 +0000 (13:26 +0200)]
refresh VFS on map change instead of restarting VFS, fix #105
Neumond probably thoughts it would be cool to make a file observer
that reloads the VFS each time the map change, was a nice idea.
Badly, it makes the VFS reloading itself before saving a map,
losing the current work done.
Hopefull, since I added a “Refresh” ability that refreshes the VFS
without reloading the map, we can just use that Regresh ability
instead.
TimePath [Sun, 16 Jul 2017 10:00:19 +0000 (20:00 +1000)]
Fix the build on my system
Mario [Sun, 16 Jul 2017 08:14:33 +0000 (08:14 +0000)]
Merge branch 'fixurl' into 'master'
little url fixup
See merge request !52
Mario [Sun, 16 Jul 2017 08:13:00 +0000 (08:13 +0000)]
Merge branch 'export' into 'master'
Name _Export_ option ”Export”
See merge request !54
Thomas Debesse [Sat, 15 Jul 2017 13:48:00 +0000 (15:48 +0200)]
Name _Export_ option ”Export”
It's called “Export” everywhere except in menu!
Thomas Debesse [Sat, 15 Jul 2017 12:08:24 +0000 (14:08 +0200)]
refresh DPK VFS before refreshing textures
DPK VFS allows to add and remove pak dependencies.
Reloading VFS before refreshing textures ensures
added or removed dependencies are handled without
reloading the whole map.
It allows the user to edit the DEPS file while radiant
is running, he just has to reload the VFS asking for
texture refresh.
Mario [Wed, 12 Jul 2017 20:52:35 +0000 (20:52 +0000)]
Merge branch 'fixpk3' into 'master'
[regression] fix pk3 archive loading [currently broken]
See merge request !49
Thomas Debesse [Tue, 11 Jul 2017 11:53:38 +0000 (13:53 +0200)]
little url fixup
Thomas Debesse [Tue, 11 Jul 2017 11:17:43 +0000 (13:17 +0200)]
fix pk3 archive loading
pk3dir/dpkdir directories were working, not pk3/dpk archives because of
wrong extension comparison.
Mario [Tue, 11 Jul 2017 06:29:28 +0000 (06:29 +0000)]
Merge branch 'fixurl' into 'master'
Fix menu and about url, remove “check for update” , use xdg-open, enable https
Closes #28 and #87
See merge request !45
Thomas Debesse [Tue, 11 Jul 2017 03:36:00 +0000 (05:36 +0200)]
use xdg-open to open url on Linux, fix #87
Thomas Debesse [Tue, 11 Jul 2017 03:34:28 +0000 (05:34 +0200)]
remove "Check for updates" menu entry, fix #28"
Thomas Debesse [Tue, 11 Jul 2017 03:08:45 +0000 (05:08 +0200)]
Fix menu and about url
- remove dead url and set usable ones instead
- allow to open https:// urls
Mario [Mon, 10 Jul 2017 17:13:28 +0000 (17:13 +0000)]
Merge branch 'sysfprintf' into 'master'
import sys_fprintf changes by Pan7 from GtkRadiant tree
See merge request !35
Mario [Mon, 10 Jul 2017 17:12:52 +0000 (17:12 +0000)]
Merge branch 'dpkdir' into 'master'
add pk3dir and dpkdir support
See merge request !39
Mario [Mon, 10 Jul 2017 17:08:38 +0000 (17:08 +0000)]
Merge branch 'unvdeluxe' into 'master'
[q3map2] dæmon engine expects model space deluxe maps
See merge request !40
Mario [Mon, 10 Jul 2017 17:08:02 +0000 (17:08 +0000)]
Merge branch 'unvpack' into 'master'
add unvanquished game pack [the real one]
See merge request !41
Mario [Mon, 10 Jul 2017 17:04:11 +0000 (17:04 +0000)]
Merge branch 'fixcflags' into 'master'
[cmake] assign CMAKE_CXX_FLAGS as a string instead of a list
See merge request !44
Mario [Mon, 10 Jul 2017 17:03:47 +0000 (17:03 +0000)]
Merge branch 'importfixes' into 'master'
[q3map2] import fixes from Thomas Köppe
See merge request !33
Mario [Mon, 10 Jul 2017 13:39:47 +0000 (13:39 +0000)]
Merge branch 'libpng16fix' into 'master'
[q3map2] do not copypaste zlib, fix 96
Closes #96
See merge request !42
Thomas Debesse [Sun, 9 Jul 2017 20:01:46 +0000 (22:01 +0200)]
[cmake] assign CMAKE_CXX_FLAGS as a string instead of a list
- fix command line -DCMAKE_CXX_FLAGS expansion
spotted by !43
Thomas Debesse [Tue, 25 Apr 2017 23:02:51 +0000 (01:02 +0200)]
do not copypaste zlib
unzip.c contains many bits from an older zlib which mismatches with newer zlib loaded by libpng.
This fix just make unzip.c relying on zlib like libpng does, without copypasting it.
Thanks to `Ishq who figured out the issue.
Thomas Debesse [Sun, 23 Apr 2017 01:24:27 +0000 (03:24 +0200)]
[q3map2] unvanquished expects white minimap
Thomas Debesse [Tue, 4 Oct 2016 23:21:44 +0000 (01:21 +0200)]
add unvanquished game pack
Thomas Debesse [Thu, 20 Apr 2017 17:28:11 +0000 (19:28 +0200)]
[q3map2] dæmon engine expects model space deluxe maps
Thomas Debesse [Sun, 26 Mar 2017 01:44:21 +0000 (03:44 +0200)]
do not load tex-* dpk by default, only rely on map DEPS
Thomas Debesse [Mon, 13 Mar 2017 02:41:55 +0000 (03:41 +0100)]
introduce dpk / dpkdir support
- do not rely on game name but on new dpk format
to check for DEPS and versions
- pk3 / pk3dir support is for legacy paks only
- add pk4dir support for free (legacy paks)
replace unvanquished references by daemon ones
in function/variable name for versionned vfs code
Thomas Debesse [Mon, 13 Mar 2017 01:52:04 +0000 (02:52 +0100)]
do not crash on missing pak dependency
neumond [Thu, 3 Jul 2014 22:00:21 +0000 (02:00 +0400)]
Add texturebrowser tree updates on vfs restart
neumond [Mon, 30 Jun 2014 22:24:10 +0000 (02:24 +0400)]
load all tex-* paks, remove VFS double start
neumond [Sun, 29 Jun 2014 15:29:26 +0000 (19:29 +0400)]
unvanquished filesystem
Mario [Fri, 7 Apr 2017 04:01:52 +0000 (04:01 +0000)]
Merge branch 'fix-floodentities' into 'master'
Fix FloodEntities origin-less check
Closes #57
See merge request !38
maek [Fri, 24 Mar 2017 10:15:47 +0000 (10:15 +0000)]
Fix FloodEntities origin-less check
Mario [Sun, 12 Mar 2017 22:47:19 +0000 (22:47 +0000)]
Merge branch 'matthiaskrgr/no_store_on_no_bnc' into 'master'
q3map2: don't store lightmap if the last bounce computation ran empty.
See merge request !9
Matthias Krüger [Thu, 3 Sep 2015 00:29:27 +0000 (02:29 +0200)]
q3map2: don't store lightmap if the last bounce computation ran empty.
Mario [Sun, 12 Mar 2017 19:42:42 +0000 (19:42 +0000)]
Merge branch 'Melanosuchus/fix_build' into 'master'
Fix compilation
See merge request !36
Mattia Basaglia [Sun, 12 Mar 2017 19:34:42 +0000 (19:34 +0000)]
Fix compilation
Rudolf Polzer [Wed, 19 Oct 2016 19:22:12 +0000 (15:22 -0400)]
Sorry - nullptr doesn't work with the default Makefile and I don't trust the rest of the code to compile with -std=c++11 yet.
Thomas Debesse [Sat, 15 Oct 2016 18:00:27 +0000 (20:00 +0200)]
More: Using Sys_FPrintf with SYS_WRN and SYS_ERR
This commit do the same as “Using Sys_FPrintf with SYS_WRN and SYS_ERR” commit by @Pan7 (
a288b9c) for occurrences that were left untouched (tools/ subtree only).
Pan7 [Mon, 16 May 2016 19:20:20 +0000 (21:20 +0200)]
Using Sys_FPrintf with SYS_WRN and SYS_ERR
Timothee Besset [Sun, 24 Apr 2016 20:05:09 +0000 (15:05 -0500)]
phrasing..
Thomas Köppe [Sun, 14 Aug 2016 00:08:28 +0000 (01:08 +0100)]
[tools/quake3/q3map2] Fix memset size bugs
Thomas Köppe [Tue, 16 Aug 2016 21:50:14 +0000 (22:50 +0100)]
[quake3/q3map2/brush.c] Fix misnamed variable
Thomas Köppe [Sun, 14 Aug 2016 11:13:18 +0000 (12:13 +0100)]
[tools/quake3/q3map2/light{,maps}_ydnar.c] Fix float-to-int conversion by preventing NaN values
Thomas Köppe [Sun, 14 Aug 2016 00:21:30 +0000 (01:21 +0100)]
[quake3/common/aselib.c] Remove unused local variables
Thomas Köppe [Sun, 14 Aug 2016 00:14:17 +0000 (01:14 +0100)]
[quake3/q3map2/brush.c] Fix arithmetic bug
Thomas Köppe [Wed, 3 Aug 2016 14:50:54 +0000 (15:50 +0100)]
[unzip.c{,pp}] Change zc{alloc,free} to internal linkage
Thomas Köppe [Wed, 3 Aug 2016 11:12:27 +0000 (12:12 +0100)]
[regression_tests] Convert line endings to Unix style uniformly
TimePath [Fri, 7 Oct 2016 13:57:13 +0000 (13:57 +0000)]
Merge branch 'nobigfirst' into 'master'
revert "allocate bigger first"
partial revert of
d4fa608 ([L2313](https://gitlab.com/xonotic/netradiant/commit/
8bc246a01343d9c9dd3a8b678681710cf04a2953#416ec0c19ddc04c6485e9853a0c8a125f98dca13_2295_2313))
see #54 ([
13326399](https://gitlab.com/xonotic/netradiant/issues/54#note_13326399))
"allocate bigger first" change was meant to save allocation time keeping same lightmap file size, actually wastes both time and size
See merge request !32
Thomas Debesse [Fri, 7 Oct 2016 12:45:36 +0000 (14:45 +0200)]
revert "allocate bigger first"
partial revert of
d4fa608
see #54
"allocate bigger first" change was meant to save allocation time keeping same lightmap file size, actually wastes both time and size
TimePath [Sun, 24 Jul 2016 03:58:46 +0000 (03:58 +0000)]
Merge branch 'qfusion_updates' into 'master'
-game qfusion updates
See merge request !29
Victor Luchits [Wed, 13 Jul 2016 23:00:20 +0000 (02:00 +0300)]
-game qfusion updates
TimePath [Thu, 30 Jun 2016 11:33:02 +0000 (11:33 +0000)]
Merge branch 'default-srgb-color-fix' into 'master'
Fix default minimum/ambience color for sRGB lightmaps
Having _minlight or _ambient set in "worldspawn" without explicitly specifying the respective value resulted in overbright lights if -sRGB mode was specified.
See merge request !27