xonotic/netradiant.git
5 months agoradiant/about: make issue tracker url clickable
Thomas Debesse [Sat, 4 Apr 2020 01:53:47 +0000 (03:53 +0200)]
radiant/about: make issue tracker url clickable

5 months agocontrib/bobtoolz: unify about dialog construction
Thomas Debesse [Sat, 4 Apr 2020 01:23:47 +0000 (03:23 +0200)]
contrib/bobtoolz: unify about dialog construction

5 months agocontrib/sunplug: unify about dialog construction
Thomas Debesse [Sat, 4 Apr 2020 01:14:50 +0000 (03:14 +0200)]
contrib/sunplug: unify about dialog construction

5 months agocontrib/prtview: unify about dialog construction
Thomas Debesse [Sat, 4 Apr 2020 01:10:12 +0000 (03:10 +0200)]
contrib/prtview: unify about dialog construction

5 months agocmake: install global.xlink
Thomas Debesse [Sat, 4 Apr 2020 01:36:42 +0000 (03:36 +0200)]
cmake: install global.xlink

5 months agoglobal.xlink: fix q3map2 handbook url (was dead link)
Thomas Debesse [Sat, 4 Apr 2020 01:30:28 +0000 (03:30 +0200)]
global.xlink: fix q3map2 handbook url (was dead link)

5 months agoglobal.xlink: update netradiant website url
Thomas Debesse [Sat, 4 Apr 2020 01:29:27 +0000 (03:29 +0200)]
global.xlink: update netradiant website url

5 months agodaemonmap: sync submodule to print own git version
Thomas Debesse [Sat, 4 Apr 2020 00:43:57 +0000 (02:43 +0200)]
daemonmap: sync submodule to print own git version

5 months agocmake: drop useless version.h
Thomas Debesse [Sat, 4 Apr 2020 00:35:21 +0000 (02:35 +0200)]
cmake: drop useless version.h

5 months agotools/cmake: do not compute git version again
Thomas Debesse [Sat, 4 Apr 2020 00:25:11 +0000 (02:25 +0200)]
tools/cmake: do not compute git version again

6 months agobundle: make daemonmap buildable and bundlable like other tools as submodule 162/head
Thomas Debesse [Mon, 30 Mar 2020 02:27:13 +0000 (04:27 +0200)]
bundle: make daemonmap buildable and bundlable like other tools as submodule

6 months agoeasy-builder: make possible to check for more than one submodule
Thomas Debesse [Tue, 31 Mar 2020 23:37:26 +0000 (01:37 +0200)]
easy-builder: make possible to check for more than one submodule

6 months agoeasy-builder: strip release binaries, support older cmake
Thomas Debesse [Tue, 31 Mar 2020 16:48:23 +0000 (18:48 +0200)]
easy-builder: strip release binaries, support older cmake

- use `install/strip` target for release build
- CMake used in Ubuntu bionic (currently used to build
  redistributable packages, old enough to be older than
  most of the commonly used distributions) does not
  support -S option yet

6 months agoreadme: use cmake -S instead of undocumented -H
Thomas Debesse [Tue, 31 Mar 2020 00:44:09 +0000 (02:44 +0200)]
readme: use cmake -S instead of undocumented -H

undocumented -H for source directory was replaced
by documented -S and -H is now an alias to --help

6 months agoeasy-builder: improvements
Thomas Debesse [Tue, 31 Mar 2020 00:40:34 +0000 (02:40 +0200)]
easy-builder: improvements

- handle arguments with spaces properly
- provide fallback for nproc
- replace cmake undocumented -H with -S
- do not require to change directory

6 months agobikeshedding: minor readme fix
Thomas Debesse [Sun, 29 Mar 2020 20:19:59 +0000 (22:19 +0200)]
bikeshedding: minor readme fix

6 months agoq3map2/smokinguns: fix .tex writing, <3 @vloup
Thomas Debesse [Sun, 29 Mar 2020 16:47:33 +0000 (18:47 +0200)]
q3map2/smokinguns: fix .tex writing, <3 @vloup

Thanks ElBarto (@vloup) for reporting this

6 months agobikeshedding: reduce diff noise with Garux tree
Garux [Sun, 29 Mar 2020 00:59:32 +0000 (01:59 +0100)]
bikeshedding: reduce diff noise with Garux tree

see:
https://github.com/Garux/netradiant-custom/commit/4292115ef741ff066b382c094f8c7814afaccf59#diff-386c03feac6f15ccc15c4dab7bb97320R342

that's not fair

6 months agoq3map2: pad with zero, not with null pointers, ref #160
Thomas Debesse [Sun, 29 Mar 2020 00:28:29 +0000 (01:28 +0100)]
q3map2: pad with zero, not with null pointers, ref #160

see:

https://gitlab.com/xonotic/netradiant/-/merge_requests/160#note_287938815

6 months agoradiant/buildmenu: rename ".[ExecutableType]" as "[ExecutableExt]"
Thomas Debesse [Fri, 27 Mar 2020 18:11:38 +0000 (19:11 +0100)]
radiant/buildmenu: rename ".[ExecutableType]" as "[ExecutableExt]"

- introduce GDEF_OS_EXE_EXT
- no need for RADIANT_EXECUTABLE anymore
- keep "[ExecutableType]" parsing but it looks useless

6 months agoradiant/buildmenu: fixup, ref #138
Thomas Debesse [Sat, 28 Mar 2020 00:52:57 +0000 (01:52 +0100)]
radiant/buildmenu: fixup, ref #138

6 months agoradiant/buildmenu: better executable extension strip, ref #138
Thomas Debesse [Fri, 27 Mar 2020 16:32:57 +0000 (17:32 +0100)]
radiant/buildmenu: better executable extension strip, ref #138

this fixes issue #138 on my end

6 months agobikeshedding: some touchup on library-bundler
Thomas Debesse [Fri, 27 Mar 2020 00:29:04 +0000 (01:29 +0100)]
bikeshedding: some touchup on library-bundler

6 months agoMerge branch 'missingarg' into 'master'
Thomas Debesse [Fri, 27 Mar 2020 15:43:17 +0000 (15:43 +0000)]
Merge branch 'missingarg' into 'master'

q3map2: fix segfault when missing bspfile arg on light stage

See merge request xonotic/netradiant!161

6 months agoq3map2: fix segfault when missing bspfile arg on light stage 161/head
Thomas Debesse [Fri, 27 Mar 2020 00:52:28 +0000 (01:52 +0100)]
q3map2: fix segfault when missing bspfile arg on light stage

8 months agoMerge branch 'memoryfixes' into 'master'
Thomas Debesse [Thu, 23 Jan 2020 21:53:18 +0000 (21:53 +0000)]
Merge branch 'memoryfixes' into 'master'

q3map2: fix memory errors and misuses

See merge request xonotic/netradiant!160

8 months agoq3map2: use safe_malloc0 when safe_malloc is followed by a memset to 0 with the same... 160/head
Thomas Debesse [Thu, 23 Jan 2020 21:27:12 +0000 (22:27 +0100)]
q3map2: use safe_malloc0 when safe_malloc is followed by a memset to 0 with the same size

8 months agoq3map2: zero the verts array on initialization, verts are tested to not be null in...
Thomas Debesse [Thu, 23 Jan 2020 18:54:31 +0000 (19:54 +0100)]
q3map2: zero the verts array on initialization, verts are tested to not be null in FindMetaVertex()

8 months agoq3map: magic string, know about the asctime's trailing \n
Thomas Debesse [Tue, 14 Jan 2020 08:01:29 +0000 (09:01 +0100)]
q3map: magic string, know about the asctime's trailing \n

8 months agoq3map: magic string, no closing parenthesis
Thomas Debesse [Tue, 14 Jan 2020 08:00:14 +0000 (09:00 +0100)]
q3map: magic string, no closing parenthesis

8 months agotools/quake2: use same strupr other tools use
Thomas Debesse [Tue, 14 Jan 2020 10:01:58 +0000 (11:01 +0100)]
tools/quake2: use same strupr other tools use

8 months agotools/hd2data: strupr is windows only, define it elsewhere
Thomas Debesse [Tue, 14 Jan 2020 10:00:47 +0000 (11:00 +0100)]
tools/hd2data: strupr is windows only, define it elsewhere

some compiler may ask if strstr would have to be used instead, which is wrong

8 months agoq3map2/vis: do not read outside of script before detecting end of script
Thomas Debesse [Tue, 14 Jan 2020 09:34:48 +0000 (10:34 +0100)]
q3map2/vis: do not read outside of script before detecting end of script

8 months agoautoexpand: add an alternative way to autoexpand while zeroing the allocated memory
Thomas Debesse [Tue, 14 Jan 2020 08:42:37 +0000 (09:42 +0100)]
autoexpand: add an alternative way to autoexpand while zeroing the allocated memory

use it to allocate shader lump, without that, garbage from uninitialized memory may be written
after the ending \0 of strings

8 months agobsp lump write: pad with zeros, not with random unitialized memory data
Thomas Debesse [Tue, 14 Jan 2020 07:06:47 +0000 (08:06 +0100)]
bsp lump write: pad with zeros, not with random unitialized memory data

8 months agoq3map2/vfs: free temporary allocated dirlist when not used
Thomas Debesse [Tue, 14 Jan 2020 06:28:50 +0000 (07:28 +0100)]
q3map2/vfs: free temporary allocated dirlist when not used

8 months agoLoadPNGBuffer: use safe_malloc0 to allocate a zeored imate buffer
Thomas Debesse [Tue, 14 Jan 2020 05:52:08 +0000 (06:52 +0100)]
LoadPNGBuffer: use safe_malloc0 to allocate a zeored imate buffer

valgrind reports there may be issues if this is not initialized

8 months agointroduce safe_malloc0, also 0 the memory before usage
Thomas Debesse [Tue, 14 Jan 2020 05:17:15 +0000 (06:17 +0100)]
introduce safe_malloc0, also 0 the memory before usage

note called safe_calloc because calloc does not have the same syntax
and this safe_malloc0 uses malloc syntax

8 months agounnecessary SAFE_MALLOC ifdef: always defined
Thomas Debesse [Tue, 14 Jan 2020 05:12:06 +0000 (06:12 +0100)]
unnecessary SAFE_MALLOC ifdef: always defined

8 months agovalgrind: Conditional jump or move depends on uninitialised value
Thomas Debesse [Tue, 14 Jan 2020 04:47:47 +0000 (05:47 +0100)]
valgrind: Conditional jump or move depends on uninitialised value

8 months agofix a buffer overflow due to a string not being large enough to store ending \0
Thomas Debesse [Tue, 14 Jan 2020 04:39:45 +0000 (05:39 +0100)]
fix a buffer overflow due to a string not being large enough to store ending \0

8 months agoMerge branch 'easy-builder' into 'master'
Thomas Debesse [Mon, 20 Jan 2020 19:52:02 +0000 (19:52 +0000)]
Merge branch 'easy-builder' into 'master'

introduce easy-builder script

See merge request xonotic/netradiant!157

8 months agoupdate readme 157/head
Thomas Debesse [Sat, 16 Nov 2019 15:42:01 +0000 (16:42 +0100)]
update readme

8 months agoadd simple easy-builder script
Thomas Debesse [Tue, 12 Nov 2019 09:34:49 +0000 (10:34 +0100)]
add simple easy-builder script

8 months agofail library-bundler script on error
Thomas Debesse [Tue, 12 Nov 2019 08:24:20 +0000 (09:24 +0100)]
fail library-bundler script on error

8 months agoenable crunch if available
Thomas Debesse [Tue, 12 Nov 2019 07:31:04 +0000 (08:31 +0100)]
enable crunch if available

9 months agocrn_rgba: use “algorithm” header to avoid std::min/max being unknown
Thomas Debesse [Wed, 25 Dec 2019 19:22:59 +0000 (20:22 +0100)]
crn_rgba: use “algorithm” header to avoid std::min/max being unknown

avoid this error on some systems (Clang on macOS or FreeBSD):

netradiant/libs/crnrgba/crn_rgba.cpp:93:38: error: no
      member named 'max' in namespace 'std'
    const crn_uint32 blocks_x = std::max(1U, (ti.m_width + 3) >> 2);

9 months agoMerge branch 'illwieckz/gcclt7' into 'master'
Thomas Debesse [Wed, 25 Dec 2019 17:41:48 +0000 (17:41 +0000)]
Merge branch 'illwieckz/gcclt7' into 'master'

Fix compiling using GCC older than 7, obsolete !143, fix #122, <3 @zturtleman, bananovenc

Closes #122

See merge request xonotic/netradiant!159

9 months agoFix compiling using GCC older than 7, obsolete !143, fix #122, <3 @zturtleman, bananovenc 159/head
Thomas Debesse [Wed, 25 Dec 2019 03:07:10 +0000 (04:07 +0100)]
Fix compiling using GCC older than 7, obsolete !143, fix #122, <3 @zturtleman, bananovenc

9 months agoMerge branch 'fixpng' into 'master'
Thomas Debesse [Sat, 7 Dec 2019 04:12:31 +0000 (04:12 +0000)]
Merge branch 'fixpng' into 'master'

radiant: redo 6011367 (!102), fix alpha channel for tRNS cheap transparency PNG

See merge request xonotic/netradiant!158

9 months agoradiant: redo 6011367, fix alpha channel for tRNS cheap transparency PNG 158/head
Thomas Debesse [Sat, 7 Dec 2019 03:38:39 +0000 (04:38 +0100)]
radiant: redo 6011367, fix alpha channel for tRNS cheap transparency PNG

11 months agoMerge branch 'packonce' into 'master'
Thomas Debesse [Sun, 13 Oct 2019 02:53:43 +0000 (02:53 +0000)]
Merge branch 'packonce' into 'master'

q3map2/light: add option to only store lightmaps on very last bounce, q3map2/bsp: add fast meta option

See merge request xonotic/netradiant!156

11 months agoq3map2/bsp: introduce -fastmeta option 156/head
Thomas Debesse [Sun, 22 Sep 2019 08:48:48 +0000 (10:48 +0200)]
q3map2/bsp: introduce -fastmeta option

set lightmap and surface verts and indexes values like quake3, known to be fast

equivalent to:
-maxlightmapverts 64 -maxsurfaceverts 999 -maxsurfaceindexes 6000

11 months agoq3map2/bsp: introduce -maxsurfacevertices, rename -mv and -mi
Thomas Debesse [Sun, 22 Sep 2019 08:09:43 +0000 (10:09 +0200)]
q3map2/bsp: introduce -maxsurfacevertices, rename -mv and -mi

- introduce -maxsurfaceverts (was missing as command line option)
- rename -mv to -maxlightmapvertices
- rename -mi to -maxsurfaceindexes

11 months agoq3map2/light: introduce -nobouncestore
Thomas Debesse [Sun, 22 Sep 2019 00:16:08 +0000 (02:16 +0200)]
q3map2/light: introduce -nobouncestore

when storing computed lightmap on each bounce, user can interrupt compilation and
get working files, but it spends allocation time (which is slow and single-threaded

with this option, user can decide to only allocate lightmaps on the very final
bounce, it means it can't be interrupted, but it can save a lot of time

11 months agoq3map2/light: rename -fastallocate to -fastlightmapsearch
Thomas Debesse [Sun, 22 Sep 2019 00:24:08 +0000 (02:24 +0200)]
q3map2/light: rename -fastallocate to -fastlightmapsearch

11 months agoMerge branch 'deprecate-makefile' into 'master'
Thomas Debesse [Sun, 13 Oct 2019 00:57:37 +0000 (00:57 +0000)]
Merge branch 'deprecate-makefile' into 'master'

deprecate the legacy Makefile

See merge request xonotic/netradiant!138

11 months agomakefile: remind future ourselves that conftest.cpp belongs to the legacy Makefile 138/head
Thomas Debesse [Sun, 13 Oct 2019 00:52:52 +0000 (02:52 +0200)]
makefile: remind future ourselves that conftest.cpp belongs to the legacy Makefile

11 months agomakefile: move conftest.cpp back right to legacy Makefile since it's required by it
Thomas Debesse [Sun, 13 Oct 2019 00:50:27 +0000 (02:50 +0200)]
makefile: move conftest.cpp back right to legacy Makefile since it's required by it

11 months agomakefile: deprecate the legacy Makefile
Thomas Debesse [Fri, 5 Jul 2019 01:45:26 +0000 (03:45 +0200)]
makefile: deprecate the legacy Makefile

requires make to be called this way:

make I_KNOW_MAKEFILE_IS_DEPRECATED=1

11 months agoMerge branch 'restart' into 'master'
Thomas Debesse [Sat, 12 Oct 2019 21:38:40 +0000 (21:38 +0000)]
Merge branch 'restart' into 'master'

do not prompt for game when restarting after switching game, <3 @Garux

See merge request xonotic/netradiant!155

11 months agoimport some improvements from garux tree 155/head
Thomas Debesse [Sat, 12 Oct 2019 21:34:24 +0000 (23:34 +0200)]
import some improvements from garux tree

see https://github.com/Garux/netradiant-custom/commit/1a18246a1fcb08ad15da046382684f7754d6aae1

11 months agofix cancel button
Thomas Debesse [Sat, 12 Oct 2019 21:25:15 +0000 (23:25 +0200)]
fix cancel button

12 months agodo not remember game was switched when selected at startup, <3 @Garux
Thomas Debesse [Sat, 14 Sep 2019 18:47:22 +0000 (20:47 +0200)]
do not remember game was switched when selected at startup, <3 @Garux

12 months agodo not prompt for game when restarting after switching game, <3 @Garux
Thomas Debesse [Thu, 5 Sep 2019 21:23:10 +0000 (23:23 +0200)]
do not prompt for game when restarting after switching game, <3 @Garux

13 months agoMerge branch 'cleanup' into 'master'
Thomas Debesse [Thu, 8 Aug 2019 00:00:43 +0000 (00:00 +0000)]
Merge branch 'cleanup' into 'master'

some cleanup to make the repository cooler

See merge request xonotic/netradiant!146

13 months agoreadme: lots of improvements 146/head
Thomas Debesse [Tue, 23 Jul 2019 05:16:57 +0000 (07:16 +0200)]
readme: lots of improvements

- compatibility matrix
- Ubuntu build requirements
- a lot of rewrites

13 months agocleanup: make appveyor file an hidden dot file
Thomas Debesse [Tue, 23 Jul 2019 04:28:34 +0000 (06:28 +0200)]
cleanup: make appveyor file an hidden dot file

13 months agocleanup: move old stuff to oldstuff/
Thomas Debesse [Tue, 23 Jul 2019 04:28:16 +0000 (06:28 +0200)]
cleanup: move old stuff to oldstuff/

also move in the old COMPILING file that was deleted in 8ac6cfa

We may decide later what to do with them

13 months agoMerge branch 'bundle' into 'master'
Thomas Debesse [Wed, 7 Aug 2019 23:44:45 +0000 (23:44 +0000)]
Merge branch 'bundle' into 'master'

more bundling fixes and improvements, <3 @SpiKe @Calinou

See merge request xonotic/netradiant!154

13 months agobundle: make linux bundle that is known to work on both Ubuntu, Arch and Fedora,... 154/head
Thomas Debesse [Wed, 7 Aug 2019 18:42:10 +0000 (20:42 +0200)]
bundle: make linux bundle that is known to work on both Ubuntu, Arch and Fedora, <3 @SpiKe @Calinou

13 months agobundle: fix some minor mistakes (had no bad consequences)
Thomas Debesse [Wed, 7 Aug 2019 18:46:53 +0000 (20:46 +0200)]
bundle: fix some minor mistakes (had no bad consequences)

produced the same bundle, but with error messages at build time, and some actions uselessly done more than once

13 months agoMerge branch 'bundle' into 'master'
Thomas Debesse [Mon, 5 Aug 2019 18:57:11 +0000 (18:57 +0000)]
Merge branch 'bundle' into 'master'

last-minute bundling fixes, <3 @SpiKe

See merge request xonotic/netradiant!153

13 months agocmake: fix a mistake introduced while revamping bundling code, <3 @SpiKe 153/head
Thomas Debesse [Mon, 5 Aug 2019 18:53:52 +0000 (20:53 +0200)]
cmake: fix a mistake introduced while revamping bundling code, <3 @SpiKe

13 months agobundle: do not bundle libstdc++, pango, and some remaining X11 stuff on Linux
Thomas Debesse [Mon, 5 Aug 2019 18:07:29 +0000 (20:07 +0200)]
bundle: do not bundle libstdc++, pango, and some remaining X11 stuff on Linux

- it's a bad idea to bundle libstdc++ as it may conflict in non-obvious manner
  (like failing on X11 stuff)
- pango is known to conflict with newer distros
- no need to bundle libICE and libSM since we expect user to have a working x11 install

13 months agoMerge branch 'bundle' into 'master'
Thomas Debesse [Mon, 5 Aug 2019 17:02:16 +0000 (17:02 +0000)]
Merge branch 'bundle' into 'master'

factorize the bundling code then implement linux library bundling

See merge request xonotic/netradiant!151

13 months agobundle: do not bundle gtk and other deps on linux 151/head
Thomas Debesse [Mon, 5 Aug 2019 03:02:55 +0000 (05:02 +0200)]
bundle: do not bundle gtk and other deps on linux

- gtk is not easily bundlable on linux because it looks for harcoded system path to optional
  shared libraries like image codecs, theme engines, sound notification system, etc.
  so expect user to install gtk first
- since we ask user to instal gtk, we can also ask them to install gtkglext,
  which is likely to pull gtk itself, x11 and gl dependencies
- old fontconfig does not work correctly if newer fontconfig configuration is installed
- if gtk and fontconfig is installed, freetype is

13 months agobundle: more linux bundling
Thomas Debesse [Mon, 5 Aug 2019 01:27:37 +0000 (03:27 +0200)]
bundle: more linux bundling

13 months agobundle: linux shared lib bundling
Thomas Debesse [Thu, 1 Aug 2019 19:15:08 +0000 (21:15 +0200)]
bundle: linux shared lib bundling

- always rely on up-to-date x11 and gl libraries, bundling them will break on future distros

13 months agobundle: a bunch of improvements
Thomas Debesse [Thu, 1 Aug 2019 19:20:23 +0000 (21:20 +0200)]
bundle: a bunch of improvements

13 months agobundle: chmod +x library-bundler
Thomas Debesse [Thu, 1 Aug 2019 20:30:27 +0000 (22:30 +0200)]
bundle: chmod +x library-bundler

13 months agocmake: BUNDLE_LIBRARIES disables FHS_INSTALL
Thomas Debesse [Thu, 1 Aug 2019 22:28:49 +0000 (00:28 +0200)]
cmake: BUNDLE_LIBRARIES disables FHS_INSTALL

13 months agobikeshedding: spacing
Thomas Debesse [Thu, 1 Aug 2019 19:15:34 +0000 (21:15 +0200)]
bikeshedding: spacing

13 months agoMerge branch 'floating' into 'master'
Thomas Debesse [Sun, 4 Aug 2019 19:38:19 +0000 (19:38 +0000)]
Merge branch 'floating' into 'master'

floating window: use HINT_UTILITY on Windows but normal window everywhere else, <3 @SpiKe, ref !140 !147

See merge request xonotic/netradiant!152

13 months agofloating window: use HINT_UTILITY on Windows but normal window everywhere else, ref... 152/head
Thomas Debesse [Sun, 4 Aug 2019 19:29:24 +0000 (21:29 +0200)]
floating window: use HINT_UTILITY on Windows but normal window everywhere else, ref !140 !147

GDK_WINDOW_TYPE_HINT_UTILITY would have been a good option for any OS but KDE is known to be broken (such window is not put in focus).

We must use GDK_WINDOW_TYPE_HINT_UTILITY on Windows to be sure the window is resizeable and to avoid the infinite minimize-restore loop.

<3 @SpiKe

14 months agoMerge branch 'kingpin' into 'master'
Thomas Debesse [Sat, 27 Jul 2019 20:21:53 +0000 (20:21 +0000)]
Merge branch 'kingpin' into 'master'

add Kingpin gamepack

See merge request xonotic/netradiant!149

14 months agoadd Kingpin gamepack 149/head
Thomas Debesse [Wed, 24 Jul 2019 23:22:07 +0000 (01:22 +0200)]
add Kingpin gamepack

14 months agoMerge branch 'q3map2-cmdline-help' into 'master'
Thomas Debesse [Sat, 27 Jul 2019 20:15:35 +0000 (20:15 +0000)]
Merge branch 'q3map2-cmdline-help' into 'master'

q3map2: add more to q3map2 -help and fix some issues with command-line processing

See merge request xonotic/netradiant!150

14 months agoq3map2: add missing help for q3map2 stage arguments 150/head
Zack Middleton [Wed, 24 Jul 2019 06:24:09 +0000 (01:24 -0500)]
q3map2: add missing help for q3map2 stage arguments

Move -keeplights help from -light stage to -bsp. Add other ~40 arguments
that were missing from help. My main focus was on the -convert stage
but I tried to document the rest as well. Some descriptions are copied
from message when enabling the option.

14 months agoq3map2: fix crash if command-line argument is missing
Zack Middleton [Wed, 24 Jul 2019 06:11:58 +0000 (01:11 -0500)]
q3map2: fix crash if command-line argument is missing

Running `q3map2 -fs_forbiddenpath -v mapname.map` would crash because
-v gets replaced with NULL in main().

Running `q3map2 -threads` would crash because missing next argument
for number of threads.

14 months agoq3map2: fix not displaying default args for some q3map2 stages
Zack Middleton [Tue, 23 Jul 2019 04:50:17 +0000 (23:50 -0500)]
q3map2: fix not displaying default args for some q3map2 stages

Fix not displaying default arguments, and possibly segfaulting, when
running q3map2 -bsp, -analyze, -convert, -exportents, -export, or
-import.

14 months agoMerge branch 'radiant-cmdline-null-mapname' into 'master'
Thomas Debesse [Tue, 23 Jul 2019 23:19:47 +0000 (23:19 +0000)]
Merge branch 'radiant-cmdline-null-mapname' into 'master'

radiant: fix command-line error message for non-map filename

See merge request xonotic/netradiant!148

14 months agoradiant: fix command-line error message for non-map filename 148/head
Zack Middleton [Tue, 23 Jul 2019 20:32:47 +0000 (15:32 -0500)]
radiant: fix command-line error message for non-map filename

mapname wasn't set so "(null)" was printed.

Fixes 6ba43753 ("radiant: fix command-line opening on windows").

14 months agoMerge branch 'floating' into 'master'
Thomas Debesse [Tue, 23 Jul 2019 19:57:27 +0000 (19:57 +0000)]
Merge branch 'floating' into 'master'

make floating windows resizable on Windows, ref !140

See merge request xonotic/netradiant!147

14 months agomake floating windows resizable on Windows, ref !140 147/head
Thomas Debesse [Tue, 23 Jul 2019 19:47:14 +0000 (21:47 +0200)]
make floating windows resizable on Windows, ref !140

“hint menu” windows are resizeable on Linux but not on Windows,
that's why it's better to use the “hint utility” type instead.

14 months agoMerge branch 'readme-no-redownload' into 'master'
Thomas Debesse [Tue, 23 Jul 2019 04:13:05 +0000 (04:13 +0000)]
Merge branch 'readme-no-redownload' into 'master'

add how to avoid redownloading gamepacks to README.md

See merge request xonotic/netradiant!145

14 months agoadd how to avoid redownloading gamepacks to README.md 145/head
Zack Middleton [Tue, 23 Jul 2019 03:42:30 +0000 (22:42 -0500)]
add how to avoid redownloading gamepacks to README.md

14 months agoMerge branch 'bintarget' into 'master'
Thomas Debesse [Tue, 23 Jul 2019 03:23:49 +0000 (03:23 +0000)]
Merge branch 'bintarget' into 'master'

add a "binaries" target, fix #135, <3 @zturtleman

Closes #135

See merge request xonotic/netradiant!144

14 months agoadd a "binaries" target, fix #135, <3 @zturtleman 144/head
Thomas Debesse [Tue, 23 Jul 2019 02:21:22 +0000 (04:21 +0200)]
add a "binaries" target, fix #135, <3 @zturtleman

add a "binaries" target to be able to rebuild everything without
redownloading gamepacks

14 months agoMerge branch 'cleanup' into 'master'
Thomas Debesse [Tue, 23 Jul 2019 02:20:57 +0000 (02:20 +0000)]
Merge branch 'cleanup' into 'master'

some clean up

Closes #134

See merge request xonotic/netradiant!142