Mike-Solar
03d4087124
refactor: cut engine-to-UI include violations ahead of the liboakengine split
...
- slider DisplayType enums sink to node/sliderdisplaytype.h (canonical
engine home); FloatSlider/RationalSlider alias them for compatibility
- DropWithoutSequenceBehavior enum sinks to common/dropworkflowbehavior.h
- Config errors now go through a registered ErrorHandler hook instead of
QMessageBox with a MainWindow parent; the style default no longer
depends on the UI style manager
- MainWindowLayoutInfo moves to node/project/serializer/ and its panel
dependency is reduced to a plain std::map alias (PanelLayoutInfo),
breaking the engine -> PanelWidget -> KDDockWidgets chain
- ProjectImportErrorDialog moves from task/ to dialog/projectimport/
- remove confirmed-redundant UI includes and give project.h/import.h/
project.cpp the direct includes they were borrowing transitively
- project.h includes folder/sequence headers directly (it used both
types in its own API all along)
2026-07-20 00:52:12 +08:00
Mike-Solar
bb40b4923e
style: unify identifier naming per updated conventions
...
Automated with clang-tidy readability-identifier-naming (config added to
.clang-tidy) plus scripted passes, per the updated rules now documented
in CONTRIBUTING.md:
- types (class/struct/enum/alias/template params): PascalCase
- functions, variables, members: snake_case (incl. rational -> Rational)
- private/protected members: trailing underscore; static member
variables likewise (instance_, available_themes_)
- constants and enum values: snake_case (kLinear -> k_linear,
F32P -> f32p); ALL_CAPS reserved for macros
- macros: OAK_ prefix (OLIVE_ADD_TEST/OLIVE_ASSERT/OLIVE_CONFIG ->
OAK_ADD_TEST/OAK_ASSERT/OAK_CONFIG, GL_PREAMBLE -> OAK_GL_PREAMBLE,
include guards -> OAK_*)
- file names: all lowercase (Current/Plugin/OliveHost/OliveClip/
OlivePluginInstance -> current/plugin/olivehost/oliveclip/
oliveplugininstance)
- getters share the member name sans underscore, setters set_foo()
- Qt and third-party (OpenFX) virtual overrides and framework callbacks
keep their original names (exempt in .clang-tidy)
Manual follow-ups required where automation could not reach:
- string-based QMetaObject/SIGNAL/SLOT references updated to renamed
methods (AddTask, CreatedFile, DeleteSpecificFile, moveSelectionUp, ...)
- macro bodies referencing renamed methods (OLIVE_CONFIG,
NODE_DEFAULT_DESTRUCTOR, MANAGEDDISPLAYWIDGET_*)
- self-shadowing locals renamed where signals/methods became same-named
(size_changed, worker_count, selected_items, import param, filters)
- third_party OFX member/namespace usages restored (OFX::Host::*,
_created, _clipPrefsDirty, createInstance, clearPersistentMessage)
- STL protocol aliases restored (const_iterator) with .clang-tidy
ignore rules; qHash overloads restored
Full build and test suite pass: ctest 4/4, ~1960 gtest cases green.
2026-07-19 16:10:54 +08:00
Mike-Solar
bfb1b2fce4
update copyright back
2026-01-16 21:22:05 +08:00
Mike-Solar
b8669f6a11
Change project name;
2026-01-05 16:22:26 +08:00
Mike Solar
6fdfd03ffd
update: update copyright
2025-08-05 17:12:49 +08:00
Mike Solar
74f73ab3be
change: change code style to Linux style except indent.
2025-08-03 03:09:40 +08:00
itsmattkc
dd9c52ab59
start moving core frameworks to external libraries
2023-01-19 09:51:47 -08:00
itsmattkc
49ad3a1e34
timecode: fix issue converting seconds to timecode and vice versa
...
Fixes #2091
2022-11-05 13:45:21 -07:00
itsmattkc
4b366a9b73
update copyright year to 2022
2022-05-10 10:38:56 -07:00
itsmattkc
77d4b18a60
updated copyright year for 2021 [skip ci]
2021-04-17 18:56:50 +10:00
itsmattkc
9328539373
slider: reworked sliderbase and derivatives
...
Mostly cleaning up code, SliderBase was fairly messy.
2021-04-17 12:49:21 +10:00
Thomas Wilshaw
579a409078
Properly remove a/b display type
2021-04-14 13:24:18 +01:00
Thomas Wilshaw
139adbdb31
Cleanup for merge.
2021-04-14 12:48:44 +01:00
Thomas Wilshaw
48f841db9c
Remove unused signals and slots
2021-04-12 10:40:49 +01:00
Thomas Wilshaw
6a4f292ae2
Use customContextMenu for changing the display type
2021-04-12 10:35:44 +01:00
Thomas Wilshaw
cb0cfebf40
Fix clamping bug,
2021-04-09 11:57:49 +01:00
Thomas Wilshaw
4d8233e7ac
Add display type context menu to RationalSlider
2021-04-09 10:52:07 +01:00
Thomas Wilshaw
76f8c12a96
Initilise timbase when creating nodeparamviewitem
2021-04-08 11:26:37 +01:00
Thomas Wilshaw
7c123c56c3
Get rational slider mostly working with new slider changes
2021-04-08 11:26:35 +01:00
Thomas Wilshaw
b636b77fbe
Cleanup unused variable
2021-04-08 11:26:34 +01:00
Thomas Wilshaw
191a8bb6ff
Use QVariant::fromValue().
2021-04-08 11:26:33 +01:00
Thomas Wilshaw
fae7ead021
Add a lock on changing the display type
2021-04-08 11:26:32 +01:00
Thomas Wilshaw
3b2cf9d0a7
Overload set default to allow rationals.
2021-04-08 11:26:32 +01:00
Thomas Wilshaw
50c4586fe0
Cleanup
2021-04-08 11:26:31 +01:00
Thomas Wilshaw
3bc26f6ce0
Finish implementation
2021-04-08 11:26:31 +01:00
Thomas Wilshaw
b12518af9e
Initial implementation.
2021-04-08 11:26:30 +01:00