Changesets: DarkRadiant

master 41451ae4

08.03.2024 05:18

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'

# Conflicts:
# libs/xmlutil/Document.cpp
# libs/xmlutil/Document.h
mod - .gitlab-ci.yml Diff File
mod - CMakeLists.txt Diff File
add - libs/pugixml/pugiconfig.hpp Diff File
add - libs/pugixml/pugixml.cpp Diff File
add - libs/pugixml/pugixml.hpp Diff File
mod - libs/wxutil/GLWidget.cpp Diff File
mod - libs/xmlutil/CMakeLists.txt Diff File
mod - libs/xmlutil/Document.cpp Diff File
mod - libs/xmlutil/Document.h Diff File
mod - libs/xmlutil/Node.cpp Diff File
mod - libs/xmlutil/Node.h Diff File
rm - libs/xmlutil/XmlModule.cpp Diff
rm - libs/xmlutil/XmlModule.h Diff
mod - radiant/eventmanager/ShortcutSaver.h Diff File
mod - radiantcore/Radiant.cpp Diff File
mod - radiantcore/map/format/portable/PortableMapWriter.cpp Diff File
mod - radiantcore/xmlregistry/RegistryTree.cpp Diff File
mod - test/RadiantTest.h Diff File
mod - test/XmlUtil.cpp Diff File
mod - test/algorithm/XmlUtils.h Diff File
add - test/resources/xml/darkmod.game Diff File
add - test/resources/xml/input.xml Diff File

master df2f7a96

06.03.2024 20:25

orbweaver


Details Diff
0005502: set depth buffer size to 24 bits

Although the wxGLCanvas wiki tutorial uses a depth buffer of 16 bits, this is
extremely low precision for a depth buffer, and is likely the cause of
the Z fighting issues described in 0005502.

We now set it to the more usual 24 bits, as confirmed by OpenGL
tutorials such as https://learnopengl.com/Advanced-OpenGL/Depth-testing
Affected Issues
0005502
mod - libs/wxutil/GLWidget.cpp Diff File

master d837e020

05.03.2024 20:34

Matthew Mott


Details Diff
Attempt to invoke asciidoctor in CI configuration
mod - .gitlab-ci.yml Diff File

master c3b67e55

21.02.2024 20:01

orbweaver


Details Diff
Remove remnants of libxml2
mod - CMakeLists.txt Diff File
mod - libs/xmlutil/CMakeLists.txt Diff File
mod - libs/xmlutil/Document.cpp Diff File
mod - libs/xmlutil/Node.cpp Diff File
rm - libs/xmlutil/XmlModule.cpp Diff
rm - libs/xmlutil/XmlModule.h Diff
mod - radiantcore/Radiant.cpp Diff File

master 46192738

30.01.2024 20:19

orbweaver


Details Diff
Replace usage of libxml2 with pugixml

pugixml is a lightweight C++ XML parsing library with a much more
ergonomic interface than libxml2, and more importantly fixes the
mysterious problem with XPaths that xmlReadFile() on Linux seems to
introduce.

Since our usage of XML was already wrapped in the xmlutil::Node and
Document classes, and well covered by unit tests, this replacement was
much more straightforward that it might otherwise have been. Very few
changes to the application outside of the xmlutil library were required,
and the only change to a unit test involved making the "round-trip"
SaveDocumentTo{String,File} tests more tolerant of formatting changes
since pugixml does not preserve formatting.

The pugixml library itself has been imported into libs/pugixml and the
HEADER_ONLY option set in its config, which will hopefully make the
Windows integration easy (or even a no-op).
add - libs/pugixml/pugiconfig.hpp Diff File
add - libs/pugixml/pugixml.cpp Diff File
add - libs/pugixml/pugixml.hpp Diff File
mod - libs/xmlutil/Document.cpp Diff File
mod - libs/xmlutil/Document.h Diff File
mod - libs/xmlutil/Node.cpp Diff File
mod - libs/xmlutil/Node.h Diff File
mod - radiant/eventmanager/ShortcutSaver.h Diff File
mod - radiantcore/map/format/portable/PortableMapWriter.cpp Diff File
mod - radiantcore/xmlregistry/RegistryTree.cpp Diff File
mod - test/XmlUtil.cpp Diff File
mod - test/algorithm/XmlUtils.h Diff File

master 25117a18

30.01.2024 20:15

orbweaver


Details Diff
Add basic unit tests for reading input.xml and a .game file

XmlTest now tests reading some real-world XML files as used by
DarkRadiant, rather than just a test XML file.
mod - test/XmlUtil.cpp Diff File
add - test/resources/xml/darkmod.game Diff File
add - test/resources/xml/input.xml Diff File

master dcb8a65c

28.01.2024 14:54

orbweaver


Details Diff
RadiantTest re-throws exception instead of abort() on Linux

abort() does not provide any information about the exception itself,
whereas re-throwing it results in the what() description appearing on
the console.
mod - test/RadiantTest.h Diff File

run_linux_tests a561c060

28.01.2024 08:30

greebo


Details Diff
Manually set DISPLAY environment variable
mod - .github/workflows/build.yml Diff File

run_linux_tests e97fdf7e

28.01.2024 07:58

greebo


Details Diff
Check if running the tests is working just like that
mod - .github/workflows/build.yml Diff File

master 0d5ca6ff

28.01.2024 05:10

greebo


Details Diff
0006472: Revert to xmlParseFile for Linux for the moment being Affected Issues
0006472
mod - libs/xmlutil/Document.cpp Diff File

python_commands f2dcaa3c

28.01.2024 04:35

greebo


Details Diff
0006473: The WIP state of my investigations - leaving this topic for now Affected Issues
0006473
mod - install/scripts/builtin/brush.py Diff File
add - install/scripts/builtin/internal.py Diff File
mod - plugins/script/PythonModule.cpp Diff File
mod - plugins/script/PythonModule.h Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
mod - plugins/script/interfaces/ScriptingSystemInterface.cpp Diff File
mod - plugins/script/interfaces/ScriptingSystemInterface.h Diff File

master 173ce643

27.01.2024 17:29

orbweaver


Details Diff
XmlTest no longer depends on RadiantTest on Linux

RadiantTest was only used for a single purpose: locating the test
resources directory. By using TEST_BASE_PATH on Linux, we can avoid the
Catch-22 situation of basic XML tests depending on a module which cannot
be initialised without correctly setting up the XML registry, as well as
improving performance by not initialising the core module for each test.

The original behaviour is retained on Windows because it is not clear
that TEST_BASE_PATH is actually available on that platform (it is
defined in the CMake build system).
mod - test/RadiantTest.h Diff File
mod - test/XmlUtil.cpp Diff File

python_commands 9ac6de8e

27.01.2024 14:04

greebo


Details Diff
0006473: Some ground work to load script algorithms from builtin/*.py. Add ScriptingSystemInterface skeleton. Refactoring. Affected Issues
0006473
add - install/scripts/builtin/brush.py Diff File
mod - plugins/script/CMakeLists.txt Diff File
mod - plugins/script/PythonModule.cpp Diff File
mod - plugins/script/ScriptModule.cpp Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
mod - plugins/script/ScriptingSystem.h Diff File
add - plugins/script/interfaces/ScriptingSystemInterface.cpp Diff File
add - plugins/script/interfaces/ScriptingSystemInterface.h Diff File
mod - tools/msvc/script.vcxproj Diff File
mod - tools/msvc/script.vcxproj.filters Diff File

master dacbe452

27.01.2024 09:39

greebo


Details Diff
Move hard-coded constants into anonymous namespace
mod - plugins/script/ScriptingSystem.cpp Diff File

master 2382c8d5

27.01.2024 09:13

greebo


Details Diff
Refactoring, move pybind11-related code to the PythonModule type.
mod - plugins/script/PythonModule.cpp Diff File
mod - plugins/script/PythonModule.h Diff File
mod - plugins/script/ScriptCommand.h Diff File
mod - plugins/script/ScriptingSystem.cpp Diff File
mod - plugins/script/ScriptingSystem.h Diff File

master 89b0289d

27.01.2024 08:45

greebo


Details Diff
Instead of statically allocate the module_def, use a unique ptr.
mod - plugins/script/PythonModule.cpp Diff File
mod - plugins/script/PythonModule.h Diff File

master f95b3248

27.01.2024 07:13

greebo


Details Diff
Fix a compiler warning, remove unused object.
mod - test/ContinuousBuffer.cpp Diff File

master aa81e8d8

27.01.2024 06:09

greebo


Details Diff
Use the build macro to specify the precompiled header to include throughout the projects.
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/dm.objectives.vcxproj Diff File
mod - tools/msvc/dm.stimresponse.vcxproj Diff File
mod - tools/msvc/script.vcxproj Diff File

master 4efeba85

27.01.2024 06:05

greebo


Details Diff
Configure precompiled headers when compiling the test projects. It's grown large enough to save a couple of minutes.
add - test/precompiled.cpp Diff File
add - test/precompiled.h Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File
mod - tools/msvc/properties/Tests.props Diff File

master d6fc7f8a

27.01.2024 05:47

greebo


Details Diff
0006467: Update google test adapter package reference Affected Issues
0006467
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/packages.config Diff File

master 8345fb0e

27.01.2024 05:39

greebo


Details Diff
0006467: Escape quotes and line breaks when writing entity key values. Affected Issues
0006467
mod - radiantcore/map/format/Doom3MapWriter.cpp Diff File

master 2319e6e4

27.01.2024 05:36

greebo


Details Diff
0006467: Add unit test checking serialising/deserialising entity key values with double quotes. Deduplicate file loading code. Affected Issues
0006467
mod - test/Brush.cpp Diff File
mod - test/MapExport.cpp Diff File
mod - test/MapSavingLoading.cpp Diff File
mod - test/Settings.cpp Diff File
mod - test/algorithm/FileUtils.h Diff File
mod - test/algorithm/XmlUtils.h Diff File

master 530f7b1c

19.01.2024 10:08

greebo


Details Diff
0006332: Fix compiler warnings Affected Issues
0006332
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File

master c302dbfb

19.01.2024 10:04

greebo


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
mod - doc/manual.adoc Diff File
rm - install/ui/overlaydialog.fbp Diff
rm - install/ui/overlaydialog.xrc Diff
mod - radiant/ui/overlay/OrthoBackgroundPanel.cpp Diff File
mod - radiant/ui/overlay/OrthoBackgroundPanel.h Diff File

master 61879986

17.01.2024 20:17

orbweaver


Details Diff
0006332: document background image functionality Affected Issues
0006332
mod - doc/manual.adoc Diff File
 First  Prev  1 2 3 4 5 6 7 8 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 264 265 266  Next  Last