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
e5eeaddf2f
format: reformatting files
2026-07-13 15:30:43 +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
963d3b4b51
move add tool items to main menu
...
Makes them shortcut-assignable. Fixes #2158
2023-02-17 11:58:36 -08:00
itsmattkc
dd9c52ab59
start moving core frameworks to external libraries
2023-01-19 09:51:47 -08:00
itsmattkc
4d80044d6d
upgrade to qt 6 compliance
2022-10-28 19:42:14 -07:00
itsmattkc
df97df635d
timeline: implement nest function
...
Also includes some improved cache/request code
2022-10-01 13:04:51 -07:00
itsmattkc
f2e604c2cb
ui: add rename shortcut
2022-07-22 13:25:46 -07:00
itsmattkc
ac207e8fe7
timeline: implement add default transition
...
Fixes #1939
2022-06-28 12:09:10 -07:00
itsmattkc
4b366a9b73
update copyright year to 2022
2022-05-10 10:38:56 -07:00
itsmattkc
9617436584
ui: disable native OS styling
...
There really isn't much point to maintaining this and it directly opposes Qt's code so we'll be fighting them forever
2022-03-30 15:07:33 -07:00
itsmattkc
53154df9b2
menu: add extra actions when clips are selected
2022-03-18 14:18:28 -07:00
itsmattkc
5e7cb068d9
revise keyboard shortcuts to be translatable
...
Fixes #1459
2021-08-12 14:31:31 -07:00
itsmattkc
c36efddf86
speeddurdialog now sets speed correctly
2021-08-01 13:34:42 -07:00
itsmattkc
b20a839332
began reimpl of speed/dur diag
2021-08-01 11:25:23 -07:00
itsmattkc
6ff9ab9f54
menu: added hidden secondary delete option to pick up backspace shortcut
2021-05-23 10:16:39 +10: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
139adbdb31
Cleanup for merge.
2021-04-14 12:48:44 +01:00
Thomas Wilshaw
b9ebc6be18
Fix the easy comments.
2021-04-12 10:14:18 +01:00
Thomas Wilshaw
4d8233e7ac
Add display type context menu to RationalSlider
2021-04-09 10:52:07 +01:00
Thomas Wilshaw
2cea45268f
TimeLineRulerMenu: only show drop or non-drop timecode depending
...
on timebase
2021-04-08 12:56:42 +01:00
itsmattkc
ad4b83a098
new undo system
...
Also enables undoing when working with node input arrays
2021-01-29 16:10:34 +11:00
itsmattkc
b4dd976e90
revised UI color system when showing nodes
...
Olive now has a set of colors that categories can be "assigned" to. The timeline also shares the same colors as the NodeView. Colors can be configured per node (aka per clip).
2021-01-15 18:44:34 +11:00
itsmattkc
75d4cd899b
use hardcoded namespace
...
The macro defined namespaces confused the hell out of lupdate and more or less broke translations permanently. Looks like the only way we can do it is to have a hardcoded namespace, which goes against my instinct, but honestly how likely is it that we'll change the namespace anyway (I guess forks might want to do it, but that's their problem ;) )
2020-11-17 20:24:42 +11:00
itsmattkc
d241090a9f
finally updated the copyright year
2020-11-17 20:13:22 +11:00
itsmattkc
5b69137edf
timeruler: add context menu
...
Should have more stuff in it, this is a basic implementation
2020-10-12 00:19:01 +11:00
itsmattkc
9d9b25dc11
menu: removed unused function
...
Hold-over from 0.1, we have better ways of achieving this now.
2020-10-11 23:27:56 +11:00
itsmattkc
920a15d2ea
ui: hack to disable embossing
...
Fixes #1217 while Qt 5.15's palette system is still broken
2020-10-10 20:53:10 +11:00
itsmattkc
65ccac1dfe
renderer: fixed bug that would render frames even after hash matching
...
Also enables the -Wshadow GCC warning to warn against the code bug that
caused this issue (and has caused other issues like it in the past).
2020-06-19 20:25:05 +10:00
itsmattkc
0abfdd1b65
timeline: improved context menu for selected clips
2020-06-12 21:55:43 +10:00
itsmattkc
b2acb5c326
style: use native menu styling on macOS too
2020-05-03 17:15:09 +10:00
itsmattkc
13dc79d0cd
nodeview: implemented duplicate feature
2020-04-29 15:04:53 +10:00
itsmattkc
b947b2224a
nodeview: support multiple flow directions
2020-04-27 16:08:48 +10:00
itsmattkc
410f3d25dc
fixed menu bugs introduced in f2bff5f150
...
Turns out setting a QMenu parent *not* in the constructor leads to very strange
behavior. All parents are now set in the constructor.
2020-04-19 16:19:08 +10:00
itsmattkc
f73c41d3fa
various: implemented multiple project support
...
This required various changes to various parts of the infrastructure (mostly
using paths to finding the "root project" of any given object throughout).
Now theoretically infinite projects can be opened and accounted for at any
given time.
2020-04-18 01:50:47 +10:00
itsmattkc
832cc986b7
timeline/block: reimplemented enabling/disabling blocks
2020-04-17 02:16:04 +10:00
itsmattkc
42905d1d51
mainmenu/menushared: rewrote convenience functions to use new qt signal/slot syntax
...
Code improvement
2020-04-17 00:20:46 +10:00
itsmattkc
1aa87cbda6
various: encapsulate all code in the olive namespace to avoid name collisions
...
Large-scale code cleanup. Also adds a license to the top of all files that were
missing it.
2020-04-06 15:29:53 +10:00
itsmattkc
59fa80ae57
ui: on windows, use native menus
...
Minor UI improvement for Windows users.
2020-04-06 00:14:36 +10:00
itsmattkc
920a0a27a7
menu: set keyboard shortcuts to application-wide so they continue to work in
...
viewerwindows
2020-04-01 19:29:41 +11:00
itsmattkc
34f60e639a
nodeview: implemented copying/pasting nodes
...
Re-uses XML-based project saving/loading functions to store nodes, their
parameters, and their connections in a text-based format in the clipboard.
2020-03-15 20:01:58 +11:00
itsmattkc
02e7c68104
timeline: reimplemented linking/unlinking functionality
2020-03-15 13:41:46 +11:00
itsmattkc
dc37389d02
timeline: implemented in/out points
2020-03-08 01:06:45 +11:00
itsmattkc
c1680ad420
menushared: added menu/panel proxy for ripple deletion
2020-03-03 20:07:14 +11:00
itsmattkc
61c60e00d6
various small code cleanups and improvements
...
Largely refactoring work to make the code somewhat nicer to work with.
2019-12-26 19:00:08 +11:00
itsmattkc
d140094cf5
moved PanelManager to a more traditional singleton form
2019-12-26 17:27:30 +11:00