Changesets: DarkRadiant
favourites 1c447548 02.01.2021 03:00 Details Diff |
0005127: Minor refactoring |
Affected Issues 0005127 |
|
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/ResourceTreeView.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp | Diff File | ||
favourites e643aa60 01.01.2021 16:34 Details Diff |
0005127: Move more responsibilities to the ResourceTreeView class. It owns a reference to the TreeModel it's using, and it takes care of setting up the TreeModelFilter according to the selected view mode (show all vs. favourites only). As a benefit, the MediaBrowserTreeView specialisation is becoming slimmer, and the EntityClassChooser can re-use more code. |
Affected Issues 0005127 |
|
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
mod - libs/wxutil/ResourceTreeView.cpp | Diff File | ||
mod - libs/wxutil/ResourceTreeView.h | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowser.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowser.h | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowserTreeView.h | Diff File | ||
master b52664a6 01.01.2021 14:30 Details Diff |
Update manual with camera toolbar changes Add the new 'Toggle far clip' button to the documentation for camera window toolbar options. |
||
add - doc/img/toggleFarClip.png | Diff File | ||
mod - doc/manual.adoc | Diff File | ||
mod - doc/manual.html | Diff File | ||
master c0df1a8d 01.01.2021 14:19 Details Diff |
Install documentation images Copy the contents of doc/img/*.png to the final documentation location. |
||
mod - doc/CMakeLists.txt | Diff File | ||
master 6503a363 01.01.2021 14:10 Details Diff |
Initial CMake scripts to build manual.html Add a custom target/command which uses asciidoctor to build the manual.html from manual.adoc, just as the Automake script did. |
||
mod - CMakeLists.txt | Diff File | ||
add - doc/CMakeLists.txt | Diff File | ||
master 93595966 31.12.2020 13:42 Details Diff |
Enlarge and flatten stop/play icons on camera toolbar | ||
mod - install/bitmaps/media-playback-start-ltr.png | Diff File | ||
mod - install/bitmaps/media-playback-stop.png | Diff File | ||
favourites c2391a23 30.12.2020 16:17 Details Diff |
0005127: Split MediaBrowser's treeview functionality into two classes: ResourceTreeView > MediaBrowserTreeView, with the ResourceTreeView managing the tree along with the context menu and favourite handling. The rest of the MediaBrowser tree functionality has been moved to the MediaBrowserTree, like populating, selection changing, etc. The idea is to re-use the ResourceTreeView as common base view for EntityClassChooser, SoundSelector, and the other views that display "resources" that support favourites. The EntityClassChooser is WIP in this commit. |
Affected Issues 0005127 |
|
mod - libs/wxutil/CMakeLists.txt | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
add - libs/wxutil/ResourceTreeView.cpp | Diff File | ||
add - libs/wxutil/ResourceTreeView.h | Diff File | ||
mod - radiant/CMakeLists.txt | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowser.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowser.h | Diff File | ||
add - radiant/ui/mediabrowser/MediaBrowserTreeView.cpp | Diff File | ||
add - radiant/ui/mediabrowser/MediaBrowserTreeView.h | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj | Diff File | ||
mod - tools/msvc/DarkRadiant.vcxproj.filters | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
master a428c88a 30.12.2020 14:52 Details Diff |
New icon for far clip toggle button Use the more modern flat design style for improved legibility at 16x16 pixels. |
||
mod - install/bitmaps/view_cubicclipping.png | Diff File | ||
master 8f5540cb 30.12.2020 13:57 Details Diff |
Toggle far clip button now on camera toolbar The toggle far clip button is now next to the other far clip buttons (in/out) on the camera toolbar, making the link between them more clear. |
||
mod - install/ui/camwnd.fbp | Diff File | ||
mod - install/ui/camwnd.xrc | Diff File | ||
mod - install/user.xml | Diff File | ||
mod - libs/wxutil/XmlResourceBasedWidget.h | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/camera/CamWnd.h | Diff File | ||
mod - radiant/camera/CameraSettings.cpp | Diff File | ||
mod - radiant/camera/GlobalCameraWndManager.cpp | Diff File | ||
master d3d2f565 30.12.2020 12:17 Details Diff |
Merge CamWnd toolbars into a single toolbar Instead of two separate toolbars (CamToolbar and MiscToolbar) placed side-by-side and treated as a single unit, all of the tools are now placed on one CamToolbar. Due to the separators, the appearance is largely unchanged. |
||
mod - install/ui/camwnd.fbp | Diff File | ||
mod - install/ui/camwnd.xrc | Diff File | ||
mod - radiant/camera/CamWnd.cpp | Diff File | ||
mod - radiant/camera/CamWnd.h | Diff File | ||
master 347a1c73 29.12.2020 14:25 Details Diff |
Consolidate hot reload options There are now just two hot reload options: "Update entities on every change", a toggle, plus the one-shot "Update entities now". Both of these options will show the error dialog if the connection fails. |
||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
master c8f62fe5 29.12.2020 13:45 Details Diff |
Reload map option now checks connection status Trying to activate "Game reloads .map file on save" without a valid game connection will now show an error dialog and keep the toggle unchecked. |
||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
master efd76755 29.12.2020 13:37 Details Diff |
Consolidate hot reload options into toggles "Enable/disable map update mode" condensed into a single toggle, while "Always update map immediately on change" is upgraded from a simple menu option to a toggle. Because of the strange semi-three-state configuration of these options, some refactoring might be needed to avoid nonsensical combinations. |
||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
master 4972b07f 28.12.2020 20:34 Details Diff |
Avoid activating camera sync toggle if connection failed Introduce a new method IEventManager::addAdvancedToggle() which adds a toggle callback that returns a bool to indicate whether the toggle succeeded or not. If it returns false, the state is not changed and the menu option does not appear checked. This new advanced toggle is used by the 'Game position follows camera' menu item, which no longer appears checked after failing to connect to the game process. |
||
mod - include/ieventmanager.h | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.h | Diff File | ||
mod - radiant/eventmanager/EventManager.cpp | Diff File | ||
mod - radiant/eventmanager/EventManager.h | Diff File | ||
mod - radiant/eventmanager/RegistryToggle.h | Diff File | ||
mod - radiant/eventmanager/Toggle.cpp | Diff File | ||
mod - radiant/eventmanager/Toggle.h | Diff File | ||
mod - radiant/eventmanager/WidgetToggle.h | Diff File | ||
master 7127ccbb 28.12.2020 18:19 Details Diff |
0005454: Improve resizing behavior of script dialogs |
Affected Issues 0005454 |
|
mod - libs/wxutil/dialog/Dialog.cpp | Diff File | ||
master 6b10c158 28.12.2020 17:12 Details Diff |
0005469: Fix crash due to pybind11::dict being initialised too early. |
Affected Issues 0005469 |
|
mod - plugins/script/PythonModule.cpp | Diff File | ||
mod - plugins/script/PythonModule.h | Diff File | ||
master edf400a8 28.12.2020 14:19 Details Diff |
Show an error dialog if game connection fails A simple error box is shown if the connection fails. Currently this is quite limited: not all commands trigger the dialog, and the error does not prevent the toggle from becoming checked in the menu even if the connection failed. |
||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
master 7ea61591 28.12.2020 13:36 Details Diff |
Consolidate reload-on-save options Replace 'Enable/disable automation map reload on save' options with a single toggle 'Game reloads .map file on save', and added a separator between these map-file based options and the subsequent dynamic map update options (which do not involve saving the map to disk). |
||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
master 842d7e7f 28.12.2020 13:21 Details Diff |
Consolidate 'Enable/Disable camera sync' commands Instead of separate commands to enable or disable camera sync with no indication of the current status, there is now a single toggle option 'Game position follows DarkRadiant camera'. Also renamed "Sync camera back now" to "Move camera to current game position", and added a menu separator underneath these two camera options to separate them from the following map-related options. |
||
mod - include/iuimanager.h | Diff File | ||
mod - plugins/dm.gameconnection/GameConnection.cpp | Diff File | ||
favourites 2864d595 27.12.2020 18:15 Details Diff |
0005127: Move common tree view item formatting code to wxutil. Remove wxutil namespace specifies from EntityClassChooser, it's part of wxutil |
Affected Issues 0005127 |
|
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
add - libs/wxutil/TreeViewItemStyle.h | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowser.cpp | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj | Diff File | ||
mod - tools/msvc/wxutillib.vcxproj.filters | Diff File | ||
favourites bd2a1b4e 27.12.2020 17:22 Details Diff |
0005127: Prepare eclass tree to highlight favourites |
Affected Issues 0005127 |
|
mod - include/idecltypes.h | Diff File | ||
mod - libs/wxutil/EntityClassChooser.cpp | Diff File | ||
mod - libs/wxutil/EntityClassChooser.h | Diff File | ||
mod - radiantcore/decl/FavouritesManager.cpp | Diff File | ||
favourites 83546cd2 27.12.2020 16:51 Details Diff |
0005127: Add unit test covering favourites persistence to user.xml |
Affected Issues 0005127 |
|
mod - test/Favourites.cpp | Diff File | ||
favourites cf98ee48 27.12.2020 16:37 Details Diff |
0005127: Add unit test covering the import of legacy media browser favourites |
Affected Issues 0005127 |
|
mod - test/Favourites.cpp | Diff File | ||
add - test/resources/settings/old_mediabrowser_favourites.xml | Diff File | ||
favourites 6796334b 27.12.2020 07:18 Details Diff |
0005127: Add a few unit test cases covering the add/remove functionality |
Affected Issues 0005127 |
|
mod - radiantcore/decl/FavouritesManager.cpp | Diff File | ||
mod - test/CMakeLists.txt | Diff File | ||
add - test/Favourites.cpp | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj | Diff File | ||
mod - tools/msvc/Tests/Tests.vcxproj.filters | Diff File | ||
favourites 8be6c5e6 27.12.2020 06:22 Details Diff |
0005127: Migrate MediaBrowser to use the new Favourites manager. |
Affected Issues 0005127 |
|
mod - radiant/ui/mediabrowser/MediaBrowser.cpp | Diff File | ||
mod - radiant/ui/mediabrowser/MediaBrowser.h | Diff File |