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
bec52b46b3
nodes: fix serialized ID typos with backward compatibility
...
- ChromaKey tolerance inputs are now spelled "upper/lower_tolerance_in";
old projects with the misspelled "tolerence" IDs keep loading (values
and connections) via a new Node::GetInputIDForLegacyID() hook applied
in LoadInput and connection deserialization
- flip/ripple/swirl/tile/wave node IDs moved to the consistent
org.olivevideoeditor.Olive.* domain; NodeFactory::CreateFromID maps
the old org.oliveeditor.* IDs so old projects still resolve
- Regression tests: legacy ChromaKey IDs (values + connections) and
legacy factory IDs
2026-07-17 08:38:25 +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
490677fbca
chromakey: add invert mask option
2022-09-25 10:37:02 -07:00
itsmattkc
c0d8ff403f
nodes: rework so that jobs can be completely deferred
...
Big optimization requiring a lot of refactoring.
2022-09-24 18:44:59 -07:00
itsmattkc
5ea97f7a64
render: remove alpha request option
2022-07-20 23:14:16 -07:00
itsmattkc
b88e15b8cf
accleratedjob: simplified function calls
2022-05-09 15:16:46 -07:00
itsmattkc
58c4600d04
nodevalue: begin abstracting qvariant
2022-05-09 13:07:34 -07:00
itsmattkc
71a7b3d128
chromakey: temporarily disable limits
2022-05-08 11:56:52 -07:00
Thomas Wilshaw
0f824d180c
Chromakey: ensure upper tolerence is always greater than lower tolerence
2022-05-08 00:13:17 +01:00
itsmattkc
862e462b20
chromakey: add base properties
2022-05-07 15:38:05 -07:00
itsmattkc
b4bf57ad50
update chroma key GetShaderCode sig
2022-05-07 13:55:05 -07:00
itsmattkc
dabd6d5d3d
chromakey: regen processor on config change
2022-05-07 09:37:20 -07:00
Thomas Wilshaw
2827758fae
Cleanup
2022-05-04 20:04:43 +01:00
itsmattkc
50ec381537
remove latent kColorTransformJob types
2022-05-03 18:55:39 -07:00
Thomas Wilshaw
a508bd8cad
Add mask controls to the chroma key node
2022-05-03 22:50:59 +01:00
Thomas Wilshaw
5d0e90e6e4
Set default connection
2022-05-03 22:15:00 +01:00
itsmattkc
985131af55
pass colortransformjob alpha setting to shader
2022-05-02 15:16:27 -07:00
Thomas Wilshaw
4c8407a882
Add keying tolerance controls
2022-05-02 22:02:31 +01:00
Thomas Wilshaw
2c31fdfc0e
Fix PR comments and generate mask
2022-05-02 20:47:18 +01:00
Thomas Wilshaw
f9f8622682
Add ability to set custom OCIO function names
2022-04-27 22:48:41 +01:00
itsmattkc
3c13e32620
further implement colortransformjob
2022-04-26 13:13:28 -07:00
Thomas Wilshaw
4d2f8f775c
Add ability to add custom shaders to ColorProcessorJobs
2022-04-24 18:50:06 +01:00