Changesets: DarkRadiant

core_module c4d252cc

24.07.2020 04:58

greebo


Details Diff
0005231: Fix SetEntityKeyValue command signature Affected Issues
0005231
mod - radiantcore/selection/algorithm/General.cpp Diff File

core_module 921be0fc

24.07.2020 04:04

greebo


Details Diff
0005231: Fix ExportSelectedAsModel command signature Affected Issues
0005231
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/algorithm/Export.cpp Diff File

master 84dc6a89

22.07.2020 20:09

orbweaver


Details Diff
Use $HOME/.cache/darkradiant for log output

Log output now separated from config files, and placed under $HOME/.cache
rather than $HOME/.config. On Windows the log location should be unchanged.
mod - include/imodule.h Diff File
mod - radiant/log/LogFile.cpp Diff File
mod - radiant/modulesystem/ApplicationContextImpl.cpp Diff File
mod - radiant/modulesystem/ApplicationContextImpl.h Diff File

master 945e21b4

22.07.2020 19:40

orbweaver


Details Diff
Config directory on Linux now complies with FreeDesktop standard

Instead of using $HOME/.darkradiant as the settings directory, we are now using
$HOME/.config/darkradiant in accordance with modern standards. Currently this
also includes the log file, which is permissible but not ideal since this is
not configuration data ($HOME/.cache/darkradiant would be a better location for
temporary output like log files).

Also fix a possible (although unlikely) crash bug: assigning the result of
getenv() directly to a std::string is dangerous because getenv() can return
NULL and it is (surprisingly) undefined behaviour to construct a std::string
from a NULL pointer. This would only occur in released builds if either $HOME
(Linux) or %APPDATA% (Windows) are missing, which seems exceptionally unlikely.
mod - include/imodule.h Diff File
mod - radiant/modulesystem/ApplicationContextImpl.cpp Diff File
mod - radiant/xmlregistry/XMLRegistry.cpp Diff File

master 820b19c8

21.07.2020 19:36

orbweaver


Details Diff
Bump Linux version to 2.8.1
mod - configure.ac Diff File

master f1ad0314

21.07.2020 19:24

orbweaver


Details Diff
Remove debug printout
mod - radiant/image/dds.cpp Diff File

core_module 673bc981

18.07.2020 04:13

greebo


Details Diff
0005231: Fix insert prefab command invocations Affected Issues
0005231
mod - radiant/ui/MapCommands.cpp Diff File
mod - radiant/ui/ortho/OrthoContextMenu.cpp Diff File

core_module 5a11be86

18.07.2020 04:05

greebo


Details Diff
0005231: MapFileManager is now merely dispatching the FileSelectionRequest, to remove any wx/wxutil references. Affected Issues
0005231
mod - libs/messages/FileSelectionRequest.h Diff File
add - radiant/ui/FileSelectionRequestHandler.h Diff File
mod - radiant/ui/UserInterfaceModule.cpp Diff File
mod - radiant/ui/UserInterfaceModule.h Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/MapFileManager.cpp Diff File
mod - radiantcore/map/MapFileManager.h Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

core_module 36c9248f

17.07.2020 04:53

greebo


Details Diff
0005231: Introduce file selection request, to be handled by the UI modules. Affected Issues
0005231
mod - include/imessagebus.h Diff File
add - libs/messages/FileSelectionRequest.h Diff File
mod - radiantcore/map/MapFileManager.cpp Diff File

master 8c4c31ce

15.07.2020 19:51

orbweaver


Details Diff
Working upload of uncompressed RGB DDS images

If the DDS header does not have a FOURCC indicating compressed data, we make a
lookup into another map which associates DDS bit depths (24 for RGB, 32 for
RGBA) with OpenGL memory layouts (GL_RGB or GL_RGBA), and pass an additional
parameter to setFormat() indicating that the image is uncompressed and should
be uploaded with glTexImage2D rather than glCompressedTexImage2D.

The vertexcolors_break_shading test map now renders correctly including the
uncompressed DDS placeholder texture, which is in RGB8 (24 bit) format. No
testing of RGBA8 textures so far.
mod - radiant/image/dds.cpp Diff File

master 3d6a74e0

13.07.2020 20:10

orbweaver


Details Diff
Calculate mipmap sizes for uncompressed DDS formats

Calculated sizes look good (we are reading the correct number of bytes each
time), but there is not yet any handling of the uncompressed format at the GL
level, so the image still gives the "unrecognised format 0" warning.
mod - radiant/image/dds.cpp Diff File

master 127fea8d

13.07.2020 19:55

orbweaver


Details Diff
Use some of the new DDSHeader methods in LoadDDSFromStream()

Switch to using the new public methods on DDSHeader e.g. getWidth(),
getHeight(), getCompressionFormat() etc. Compression formats are now looked up
by FOURCC string rather than ddsPF_t enum values.
mod - radiant/image/dds.cpp Diff File
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

core_module bc6d7ad5

12.07.2020 12:44

greebo


Details Diff
0005231: Implement the shutdown handler, to ask for saving any pending changes to the map.
Fix crash at shutdown if the progress dialog is not cleaned up before the module it has been instantiated from is unloaded.
Affected Issues
0005231
mod - radiant/ui/mainframe/ScreenUpdateBlocker.cpp Diff File
mod - radiantcore/map/Map.cpp Diff File
mod - radiantcore/map/Map.h Diff File

core_module 80cfb357

11.07.2020 04:12

greebo


Details Diff
0005231: Let's not keep these flags uninitialised Affected Issues
0005231
mod - libs/messages/ApplicationShutdownRequest.h Diff File
mod - libs/messages/AutomaticMapSaveRequest.h Diff File

core_module f394ef18

11.07.2020 04:11

greebo


Details Diff
0005231: Convert call to askForSave() to a veto-able ApplicationShutdownRequest sent over the message bus Affected Issues
0005231
mod - include/imessagebus.h Diff File
add - libs/messages/ApplicationShutdownRequest.h Diff File
mod - radiant/ui/mainframe/MainFrame.cpp Diff File
mod - tools/msvc/libs.vcxproj Diff File
mod - tools/msvc/libs.vcxproj.filters Diff File

core_module 6ec1bd39

09.07.2020 04:14

greebo


Details Diff
0005231: Move clipboard handling to separate module to prevent crashes at shutdown due to memory allocation/deallocation problems. Affected Issues
0005231
add - include/iclipboard.h Diff File
mod - libs/wxutil/Makefile.am Diff File
rm - libs/wxutil/clipboard.cpp Diff
rm - libs/wxutil/clipboard.h Diff
add - radiant/clipboard/ClipboardModule.cpp Diff File
add - radiant/clipboard/ClipboardModule.h Diff File
mod - radiantcore/selection/clipboard/Clipboard.cpp Diff File
mod - tools/msvc/DarkRadiant.vcxproj Diff File
mod - tools/msvc/DarkRadiant.vcxproj.filters Diff File
mod - tools/msvc/include.vcxproj Diff File
mod - tools/msvc/wxutillib.vcxproj Diff File
mod - tools/msvc/wxutillib.vcxproj.filters Diff File

master 55d8e4f7

08.07.2020 19:41

orbweaver


Details Diff
Add more metadata methods to DDSHeader

New methods getCompressionFormat() and getRGBBits(), which are used by the
debug operator<< but not in any calling code so far. Also removed some unused
byte-swapping functions in ddslib.cpp, and simplified the naming of the ones
which are used.
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

master 59126f9f

07.07.2020 20:08

orbweaver


Details Diff
Add some metadata extraction to DDSHeader

A couple of public methods to extract data, including isValid() and
isCompressed(), and a non-member operator<< for dumping a DDSHeader to an
output stream and printing certain information such as its size and mipmap
count.
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

master 83645a81

07.07.2020 19:41

orbweaver


Details Diff
Modernise and C++-ify definitions in ddslib.{h,cpp}

Remove "extern C" wrapper, convert "typedef struct" to "struct", switch to
uint32_t instead of unsigned int for certain fields which require a
precisely-defined size.
mod - radiant/image/ddslib.cpp Diff File
mod - radiant/image/ddslib.h Diff File

core_module 239df580

04.07.2020 18:16

greebo


Details Diff
0005231: Disable menu items without any associated event (like the MRU placeholder item) Affected Issues
0005231
mod - radiant/uimanager/menu/MenuItem.cpp Diff File

core_module e624366f

01.07.2020 04:18

greebo


Details Diff
0005231: Make OpenMap command algorithm more robust Affected Issues
0005231
mod - radiantcore/map/Map.cpp Diff File

core_module 48b9553e

01.07.2020 03:58

greebo


Details Diff
0005231: Prevent divisions by zero using the entry box in the TransformationDialog's scale controls Affected Issues
0005231
mod - radiant/ui/transform/TransformDialog.cpp Diff File

core_module a829a7f2

01.07.2020 03:52

greebo


Details Diff
0005231: Remove CommandNotAvailableException.h, fall back to the more widely used cmd::ExecutionNotPossible Affected Issues
0005231
mod - libs/command/ExecutionNotPossible.h Diff File
mod - radiantcore/map/Map.cpp Diff File
rm - radiantcore/selection/algorithm/CommandNotAvailableException.h Diff
mod - radiantcore/selection/algorithm/Group.cpp Diff File
mod - radiantcore/selection/algorithm/Group.h Diff File
mod - radiantcore/selection/group/SelectionGroupModule.cpp Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj Diff File
mod - tools/msvc/DarkRadiantCore.vcxproj.filters Diff File

master 49f11acc

30.06.2020 20:02

orbweaver


Details Diff
Map DDS formats to GLenum using an std::map

The C++11 initialiser list syntax makes an std::map much more streamlined to
use as a hard-coded mapping between two sets of values (much like what would be
done in Python).
mod - radiant/image/dds.cpp Diff File

master 09e8c823

30.06.2020 19:47

orbweaver


Details Diff
Streamline DDSImage mipmap loading

No need for a separate getMipMapPixels() method, since addMipMap() can
immediately return the pointer to the mipmap's byte data which is used in the
next line of LoadDDSFromStream() to stream in the actual data.
mod - radiant/image/dds.cpp Diff File
 First  Prev  1 2 3 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 201 202 203 204 205 206 207 ... 210 ... 240 ... 264 265 266  Next  Last