Commit Graph
21 Commits
Author SHA1 Message Date
itsmattkc 3e3cacbc85 various: update Qt code deprecated in 5.15
- Replaces QLinkedList with std::list as recommended by Qt docs.
- Replaces QWheelEvent::delta() with QWheelEvent::angleDelta(). This
  should also benefit trackpad behavior.
2020-05-27 02:54:05 +10:00
itsmattkc 89ae6e026f cache: reimplemented auto-caching
Implemented a smarter auto-cache that's context sensitive. Caching will
automatically pause when playback begins or values are being changed and resume
when inactive.
2020-05-24 15:20:35 +10:00
itsmattkc b9cd83eff1 task: massively simplified task system
Made various changes and fixes to the task system:

- Tasks are built around QtConcurrent rather than QThread. Reduces
  code complexity significantly.
- Task error reporting is now streamlined in both TaskManager and
  TaskDialog.
- Moved ProjectImport/Save/LoadManager to the app/task folder
2020-05-19 02:44:32 +10:00
itsmattkc 2eb03bf386 various: removed constructor.h include 2020-04-14 00:53:25 +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 02909c6ba9 statusbar: added basic task UI feedback without requiring the task
manager to be open
2020-03-03 01:50:51 +11:00
itsmattkc 21755c7f20 taskmanager: ensure task is finished before deleting it
Fixes race condition that could result in a segfault if a Task hadn't emitted
Finished() before it was destroyed by TaskManager.
2020-02-16 13:01:38 +11:00
itsmattkc 080fe22969 taskmanager: made AddTask() a slot so it can be queued from other threads 2020-02-16 10:29:11 +11:00
itsmattkc 653709dc84 try to index media immediately on import
Since indexing is supplemental, it can be made a background task that can occur
at more or less any time. So we run it as soon as possible.
2020-01-17 03:58:29 +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 5e3c2fb7e4 documented (nearly) ever class 2019-07-06 23:32:01 -05:00
itsmattkc a9ff2389e6 minor code cleanup 2019-07-06 21:17:19 -05:00
itsmattkc 3038af3482 tasks are shared ptrs that can be cancelled and undone 2019-07-06 13:22:47 -05:00
itsmattkc 8e006f3883 automatically delete tasks that have completed successfully 2019-06-30 12:28:40 -07:00
itsmattkc 2e6b36b2ae remove UI objects when a task is deleted 2019-06-29 02:30:42 -07:00
itsmattkc 84720b39cb simple UI for tasks 2019-06-29 01:42:07 -07:00
itsmattkc 76eaee65e0 documented task manager 2019-06-27 11:23:17 -07:00
itsmattkc bf9dd68d58 task manager will trigger new tasks as old tasks end 2019-06-27 11:11:49 -07:00
itsmattkc 8117e13c15 base task and taskmanager class 2019-06-27 11:03:08 -07:00
itsmattkc e435f6ee83 licenses for task source files 2019-06-27 09:46:29 -07:00
itsmattkc f0f74e0f3b created task manager classes 2019-06-27 09:45:45 -07:00