Changesets: DarkRadiant

pybind11_upgrade b84b373b

2020-12-20 11:24:38


Details Diff
0005452: Upgrade pybind11 sources that are shipped with DR. Affected Issues
mod - libs/pybind/pybind11/attr.h Diff File
add - libs/pybind/pybind11/buffer_info.h Diff File
mod - libs/pybind/pybind11/cast.h Diff File
mod - libs/pybind/pybind11/chrono.h Diff File
rm - libs/pybind/pybind11/class_support.h Diff File
mod - libs/pybind/pybind11/common.h Diff File
mod - libs/pybind/pybind11/complex.h Diff File
rm - libs/pybind/pybind11/descr.h Diff File
add - libs/pybind/pybind11/detail/class.h Diff File
add - libs/pybind/pybind11/detail/common.h Diff File
add - libs/pybind/pybind11/detail/descr.h Diff File
add - libs/pybind/pybind11/detail/init.h Diff File
add - libs/pybind/pybind11/detail/internals.h Diff File
mod - libs/pybind/pybind11/eigen.h Diff File
add - libs/pybind/pybind11/embed.h Diff File
mod - libs/pybind/pybind11/eval.h Diff File
mod - libs/pybind/pybind11/functional.h Diff File
add - libs/pybind/pybind11/iostream.h Diff File
mod - libs/pybind/pybind11/numpy.h Diff File
mod - libs/pybind/pybind11/operators.h Diff File
mod - libs/pybind/pybind11/options.h Diff File
mod - libs/pybind/pybind11/pybind11.h Diff File
mod - libs/pybind/pybind11/pytypes.h Diff File
mod - libs/pybind/pybind11/stl.h Diff File
mod - libs/pybind/pybind11/stl_bind.h Diff File

master d029960a

2020-12-20 05:24:28


Details Diff
Add pthread linker flags when compiling the test binary
Attach Issues:
mod - test/CMakeLists.txt Diff File

master 3a720199

2020-12-20 05:22:41


Details Diff
Fix compilation in gcc
Attach Issues:
mod - radiant/ui/FileOverwriteConfirmationHandler.h Diff File

master 36180a45

2020-12-20 04:34:47


Details Diff
0005451: Add (failing) unit tests asserting that create, rename and delete layer operations mark the map as modified Affected Issues
mod - test/CMakeLists.txt Diff File
add - test/LayerManipulation.cpp Diff File
add - test/resources/tdm/maps/general_purpose.mapx Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File

master ce4df7b0

2020-12-20 04:03:11


Details Diff
0005448: Tell PNG to convert greyscale images to RGBA, with or without alpha channel. This fixes the corresponding unit test. Affected Issues
mod - radiantcore/imagefile/PNGLoader.cpp Diff File

master 906af044

2020-12-20 04:01:38


Details Diff
0005448: Add (currently failing) test case loading an 8-Bit Greyscale PNG with alpha channel Affected Issues
mod - test/ImageLoading.cpp Diff File
mod - test/resources/tdm/materials/ Diff File
add - test/resources/tdm/textures/pngs/transparent_greyscale.png Diff File

master ec5c1afe

2020-12-19 16:10:24


Details Diff
0005448: Tell libpng to scale down 16-bit values to 8-bit, PNGLoader can load 16-Bit PNG files now without crashing Affected Issues
mod - radiantcore/imagefile/PNGLoader.cpp Diff File

master 24f11b88

2020-12-19 11:53:28


Details Diff
Remove internal border in floating GroupDialog

GroupDialog in the Floating layout had a 12 pixel border between the window
edge and the tabbed widget, which was just a waste of space.
Attach Issues:
mod - radiant/ui/mainframe/FloatingLayout.h Diff File
mod - radiant/uimanager/GroupDialog.cpp Diff File
mod - radiant/uimanager/GroupDialog.h Diff File

master 6e99daf8

2020-12-19 11:39:51


Details Diff
Fix assertion on startup in Regular layout

Assertion caused by a recursive wxYield call: first in
LongRunningOperationHandler::onMessage and then in

The wxWidgets warn against use of wxYield presumably because it can cause
unexpected problems like this, so for now I have just removed the wxYield call
in RegularLayout without replacing it with anything. The startup behaviour
looks OK on Linux but if there are problems caused by window size, perhaps the
use of another function like ProcessPendingEvents() would be safer.
Attach Issues:
mod - radiant/ui/mainframe/RegularLayout.cpp Diff File

master d5025d88

2020-12-19 06:24:43


Details Diff
0005448: Add test cases to load 8 bit and 16 bit PNG files (16 bit is crashing in this revision) Affected Issues
mod - test/CMakeLists.txt Diff File
add - test/ImageLoading.cpp Diff File
add - test/resources/tdm/materials/ Diff File
add - test/resources/tdm/textures/pngs/twentyone_16bit.png Diff File
add - test/resources/tdm/textures/pngs/twentyone_8bit.png Diff File
mod - tools/msvc/Tests/Tests.vcxproj Diff File
mod - tools/msvc/Tests/Tests.vcxproj.filters Diff File

master 60bc7dbe

2020-12-19 03:33:05


Details Diff
0005440: Set last modification timestamp right in constructor, which is needed to make "save as" working without double asking for overwrite Affected Issues
mod - radiantcore/map/MapResource.cpp Diff File
mod - test/MapSavingLoading.cpp Diff File

master b99f6e6d

2020-12-18 18:58:31


Details Diff
0005440: Update last modification timestamp in MapResource after successful loading or saving Affected Issues
mod - radiantcore/map/MapResource.cpp Diff File
mod - radiantcore/map/MapResource.h Diff File

master 2bd99ba7

2020-12-18 18:52:47


Details Diff
0005440: Fix exception on writing layer mappings of an empty map to the .darkradiant file Affected Issues
mod - radiantcore/layers/LayerInfoFileModule.cpp Diff File

master d877f4db

2020-12-18 14:11:52


Details Diff
0005364: move some render code from Light into LightNode

Light and LightNode are so tightly bound they would be better off as one class
(witness the constant use of _light.blah() in LightNode and _owner.blah() in
Light). With this minor refactoring the call chain for rendering light volumes
is shortened slightly, so that renderWireframe() and renderSolid() in LightNode
now call a method renderLightVolume() on the same class, rather than delegating
to Light methods.

In addition, LightNode now implements OpenGLRenderable itself and submits *this
for rendering, rather than submitting _light. Note that LightNode::render()
only renders the light origin box, not the radius or frustum.

This is just a small step and there is still much rendering code in Light, as
well as use of Light's private members from LightNode's rendering methods.
Affected Issues
mod - include/icolourscheme.h Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/entity/light/LightNode.cpp Diff File
mod - radiantcore/entity/light/LightNode.h Diff File

master 7894a812

2020-12-18 13:50:06


Details Diff
0005364: connect 'Override light colour' to registry key

Checkbox initialised based on a new registry key and saves its value when
Affected Issues
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master 597347ec

2020-12-18 13:22:04


Details Diff
0005364: initial 'Override light volume colour' option

Checkbox added underneath the list of colour schemes, but does not do anything
Affected Issues
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master 95db3b83

2020-12-17 15:06:47


Details Diff
0005364: ColourSchemeEditor now uses plain wxDataViewListCtrl

Simplify the ColourSchemeEditor implementation by moving away from the
heavyweight custom TreeModel/TreeStore and switching to a simple
wxDataViewListCtrl instead.
Affected Issues
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master 45a25edb

2020-12-17 14:02:40


Details Diff
0005364: primitivise model parameter to TreeView::CreateWithModel()

Despite requiring a TreeModel::Ptr argument, CreateWithModel() never made any
use of either the shared_ptr or the TreeModel interface, since the passed
argument was immediately decomposed to a simple wxDataViewModel pointer. We now
pass the wxDataViewModel pointer directly, giving increased flexibility to code
which might want to use a TreeView with a simpler wxWidgets data model.
Affected Issues
mod - libs/wxutil/EntityClassChooser.cpp Diff File
mod - libs/wxutil/KeyValueTable.cpp Diff File
mod - libs/wxutil/TreeView.cpp Diff File
mod - libs/wxutil/TreeView.h Diff File
mod - libs/wxutil/fsview/FileSystemView.cpp Diff File
mod - plugins/dm.conversation/ConversationDialog.cpp Diff File
mod - plugins/dm.conversation/ConversationEditor.cpp Diff File
mod - plugins/dm.difficulty/DifficultyEditor.cpp Diff File
mod - plugins/dm.editing/AIHeadChooserDialog.cpp Diff File
mod - plugins/dm.editing/AIVocalSetChooserDialog.cpp Diff File
mod - plugins/dm.editing/MissionInfoEditDialog.cpp Diff File
mod - plugins/dm.gui/GuiSelector.cpp Diff File
mod - plugins/dm.gui/XDataSelector.cpp Diff File
mod - plugins/dm.gui/XdFileChooserDialog.cpp Diff File
mod - plugins/dm.objectives/ComponentsDialog.cpp Diff File
mod - plugins/dm.objectives/ObjectiveConditionsDialog.cpp Diff File
mod - plugins/dm.objectives/ObjectivesEditor.cpp Diff File
mod - plugins/dm.stimresponse/ClassEditor.cpp Diff File
mod - plugins/dm.stimresponse/ResponseEditor.cpp Diff File
mod - radiant/ui/commandlist/CommandList.cpp Diff File
mod - radiant/ui/common/ShaderSelector.cpp Diff File
mod - radiant/ui/eclasstree/EClassTree.cpp Diff File
mod - radiant/ui/einspector/EntityInspector.cpp Diff File
mod - radiant/ui/einspector/SkinChooser.cpp Diff File
mod - radiant/ui/entitylist/EntityList.cpp Diff File
mod - radiant/ui/filters/editor/FilterDialog.cpp Diff File
mod - radiant/ui/mapinfo/EntityInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/LayerInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/ModelInfoTab.cpp Diff File
mod - radiant/ui/mapinfo/ShaderInfoTab.cpp Diff File
mod - radiant/ui/modelselector/MaterialsList.cpp Diff File
mod - radiant/ui/particles/ParticleEditor.cpp Diff File
mod - radiant/ui/particles/ParticlesChooser.cpp Diff File
mod - radiant/uimanager/SoundChooser.cpp Diff File
mod - radiant/uimanager/SoundShaderPreview.cpp Diff File
mod - radiant/uimanager/animationpreview/MD5AnimationViewer.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.cpp Diff File
mod - radiant/uimanager/colourscheme/ColourSchemeEditor.h Diff File

master fbcee94e

2020-12-17 13:15:58


Details Diff
Set correct script path on Linux

Script path is now ApplicationContext::getRuntimeDataPath() + "scripts" on all
platforms, rather than using different logic on Linux. This should work for
both relocatable and non-relocatable builds because getRuntimeDataPath returns
a different value in each case.
Attach Issues:
mod - plugins/script/ScriptingSystem.cpp Diff File

master e649657d

2020-12-15 20:19:23


Details Diff
Remove RendererLight::intersectsAABB()

Now that RendererLight exposes a lightAABB() method to return the actual AABB
of the illuminated area, we can just do a simple intersection test between
lightAABB and worldAABB for each lit object, instead of calling the complex and
slow Light::intersectsAABB() method.
Attach Issues:
mod - include/irender.h Diff File
mod - radiantcore/brush/BrushNode.cpp Diff File
mod - radiantcore/entity/light/Light.cpp Diff File
mod - radiantcore/entity/light/Light.h Diff File
mod - radiantcore/model/md5/MD5ModelNode.cpp Diff File
mod - radiantcore/model/picomodel/StaticModelNode.cpp Diff File
mod - radiantcore/patch/PatchNode.cpp Diff File

master 279b9249

2020-12-15 02:41:21


Details Diff
Merge remote-tracking branch 'remotes/orbweaver/master'
Attach Issues:
mod - .gitignore Diff File
add - CMakeLists.txt Diff File
rm - Diff File
mod - Diff File
rm - Diff File
rm - compile Diff File
rm - config.guess Diff File
add - Diff File
rm - config.rpath Diff File
rm - config.sub Diff File
rm - Diff File
mod - debian/changelog Diff File
mod - debian/compat Diff File
mod - debian/control Diff File
mod - debian/darkradiant-plugins-darkmod.install Diff File
mod - debian/darkradiant.install Diff File
mod - debian/rules Diff File
rm - doc/ Diff File
rm - install-sh Diff File
mod - install/ Diff File
rm - libs/ Diff File
add - libs/math/CMakeLists.txt Diff File
rm - libs/math/ Diff File
mod - libs/module/ApplicationContextBase.cpp Diff File
add - libs/module/CMakeLists.txt Diff File
rm - libs/module/ Diff File
mod - libs/render/CamRenderer.h Diff File
add - libs/scene/CMakeLists.txt Diff File
rm - libs/scene/ Diff File
add - libs/wxutil/CMakeLists.txt Diff File
rm - libs/wxutil/ Diff File
mod - libs/wxutil/TreeModel.cpp Diff File
add - libs/xmlutil/CMakeLists.txt Diff File
rm - libs/xmlutil/ Diff File
rm - m4/ax_cxx_compile_stdcxx.m4 Diff File
rm - m4/boost.m4 Diff File
rm - m4/gettext.m4 Diff File
rm - m4/iconv.m4 Diff File
rm - m4/lib-ld.m4 Diff File
rm - m4/lib-link.m4 Diff File
rm - m4/lib-prefix.m4 Diff File
rm - m4/nls.m4 Diff File
rm - m4/po.m4 Diff File
rm - m4/progtest.m4 Diff File
rm - m4/python.m4 Diff File
rm - m4/wxwin.m4 Diff File
rm - missing Diff File
rm - plugins/ Diff File
rm - plugins/dm.conversation/ Diff File
add - plugins/dm.difficulty/CMakeLists.txt Diff File
rm - plugins/dm.difficulty/ Diff File
add - plugins/dm.editing/CMakeLists.txt Diff File
rm - plugins/dm.editing/ Diff File
add - plugins/dm.gameconnection/CMakeLists.txt Diff File
rm - plugins/dm.gameconnection/ Diff File
add - plugins/dm.gui/CMakeLists.txt Diff File
rm - plugins/dm.gui/ Diff File
add - plugins/dm.objectives/CMakeLists.txt Diff File
rm - plugins/dm.objectives/ Diff File
add - plugins/dm.stimresponse/CMakeLists.txt Diff File
rm - plugins/dm.stimresponse/ Diff File
add - plugins/script/CMakeLists.txt Diff File
rm - plugins/script/ Diff File
add - plugins/sound/CMakeLists.txt Diff File
rm - plugins/sound/ Diff File
add - radiant/CMakeLists.txt Diff File
rm - radiant/ Diff File
mod - radiant/camera/CamWnd.cpp Diff File
mod - radiant/selection/SelectionMouseTools.cpp Diff File
add - radiantcore/CMakeLists.txt Diff File
rm - radiantcore/ Diff File
mod - radiantcore/layers/LayerManager.cpp Diff File
mod - radiantcore/model/export/ScaledModelExporter.cpp Diff File
mod - radiantcore/patch/algorithm/General.cpp Diff File
rm - test-driver Diff File
add - test/CMakeLists.txt Diff File
rm - test/ Diff File
mod - test/PatchWelding.cpp Diff File
rm - tools/debian/changelog Diff File
rm - tools/debian/compat Diff File
rm - tools/debian/control Diff File
rm - tools/debian/dirs Diff File
rm - tools/debian/docs Diff File
rm - tools/debian/files Diff File
rm - tools/debian/rules Diff File

master a8a19bec

2020-12-14 20:25:02


Details Diff
Skip lighting calculations in non-lit render mode

CamRenderer::calculateLightIntersections() was being invoked even when lights
were not being rendered, which is a complete waste of CPU cycles.
Attach Issues:
mod - libs/render/CamRenderer.h Diff File
mod - radiant/camera/CamWnd.cpp Diff File

master 8b74197d

2020-12-14 16:39:11


Details Diff
0005440: Add a couple of test scenarios - unit tests are pretty red right now since it's warning way too often and blocking the save Affected Issues
mod - test/MapSavingLoading.cpp Diff File

master 35364ec7

2020-12-14 12:05:44


Details Diff
0005440: Add FileOverwriteConfirmationHandler to UI module Affected Issues
mod - libs/messages/FileOverwriteConfirmation.h Diff File
add - radiant/ui/FileOverwriteConfirmationHandler.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File

master e836a292

2020-12-14 11:55:45


Details Diff
0005440: Add FileOverwriteConfirmation message. An unhandled message will cancel the save process. Affected Issues
mod - include/imessagebus.h Diff File
add - libs/messages/FileOverwriteConfirmation.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 37 38 39 40 41 42 43 ... 50 ... 60 ... 70 ... 80 ... 90 ... 100 ... 110 ... 120 ... 128 129 130  Next  Last