Commit Graph
1958 Commits
Author SHA1 Message Date
Thomas Wilshaw 92db735022 Add Delete functionality. Still buggy. 2020-09-29 00:06:38 +01:00
Thomas Wilshaw 602f96b2b6 Cleanup comment 2020-09-28 14:33:58 +01:00
Thomas Wilshaw 5bb9cb0cca Make Offlining footage an UndoCommand
Created a new UndoCommand in ProjectViewModel that set the footage
input to a nullptr and resets it to the correct stream on undo.
2020-09-28 14:33:58 +01:00
Thomas Wilshaw c1e345611d Cleanup. 2020-09-28 14:33:56 +01:00
Thomas Wilshaw 0f1d4ec1b8 Make sure image sequences are caught. 2020-09-28 14:33:55 +01:00
Thomas Wilshaw 0e272b6bba Cleanup and add warning message. 2020-09-28 14:33:54 +01:00
Thomas Wilshaw 3ed0cb2ab9 Move search code to seperate function. 2020-09-28 14:33:54 +01:00
Thomas Wilshaw 7c7db5c933 Check footage in use before deleteing
Initial very hacky implementation that checks if the footgae is in
use before deleting it and makes sure all refernences to it are
properly cleaned up.

Also added IsMedia() function to Node to simplify things a bit.
2020-09-28 14:33:53 +01:00
itsmattkc dac68cabc2 timeline: made ReplaceBlocksWithGaps more accessible for other parts of the program 2020-09-28 14:28:56 +10:00
itsmattkc a313fb525c use QGraphicsView::FullViewportUpdate on TimelineViewBase
Since this appears to be necessary for all derivatives anyway, we'll add
this directly to the base class.
2020-09-28 14:21:17 +10:00
itsmattkc 909dd37cc2 files: continue using temp location for temp files and use cache location just for ocio 2020-09-28 14:20:48 +10:00
itsmattkc a82e2d5ae5 use cache location instead of temp location for ocio extraction
Workaround for Linux not having a user-specific temp directory, causing
potential permission issues if more than one user is accessing the extraction.

Fixes #1239.
2020-09-28 04:53:17 +10:00
itsmattkc 79d8b95f4e bug: actually use the absolute path we generate for crashpad
Fixes #1230
2020-09-27 00:43:17 +10:00
itsmattkc d71c1870f4 Merge branch 'master' of https://github.com/olive-editor/olive 2020-09-27 00:40:10 +10:00
itsmattkc 4290d9b897 oiio: removed unused enum 2020-09-25 16:59:56 +10:00
itsmattkc fd143f1d51 Merge pull request #1220 from ThomasWilshaw/Fix_#1218
Fix Issue #1218
2020-09-25 11:18:58 +10:00
Thomas Wilshaw 378708c9d3 Exporter falls back to timeline if all else fails
If no recent TimeBasedPanel can be found the exporter defaults to the
first timeline. If this also fails an error is shown.
2020-09-24 17:46:11 +01:00
itsmattkc 0a1cd0e1c0 ui: force full screen border on Windows
Fixes #1226

Workaround for known Qt issue: https://doc.qt.io/qt-5/windows-issues.html
2020-09-25 00:04:23 +10:00
itsmattkc 654370425d crashpad: detect when crashpad handler is missing 2020-09-24 23:56:58 +10:00
Thomas Wilshaw 615ce8ef79 Fix Issue #1218
Add an error message if there is no active sequence.

Selected a Sequence panel as opposed to a generic time based panel as
we will only ever export a sequence. Also makes error logic slightly
easier.
2020-09-23 17:59:15 +01:00
itsmattkc 08c0931016 crashhandler: stay on top so it's hard to miss 2020-09-23 15:41:23 +10:00
Simran d196689c2d Improve cmake crashpad/breakpad discovery, compilation & installation under Unix (#1184)
* Clean up Crashpad library discovery code

* Find and install Breakpad binary

* Copy crashpad_handler and minidum_stackwalk POST_BUILD (macOS only)

* Install crashpad_handler and minidum_stackwalk for AppImage
2020-09-22 23:58:44 +02:00
itsmattkc 76d73b17aa block: made speed a percentage 2020-09-23 02:29:38 +10:00
itsmattkc d69e478a62 paramview: ensure item time target is set upon creation
Fixes #1213
2020-09-23 01:44:11 +10:00
itsmattkc cd47676043 crashpad: updated crash handler 2020-09-22 18:42:51 +10:00
itsmattkc 871bc08c12 Revert "renderer: if texture is null, don't allocate a frame unless exporting"
This reverts commit 8e0c86a6fa.

Fixes #1209
2020-09-21 17:28:28 +10:00
itsmattkc 9a46fc5891 cache: invalidate AFTER iterating map
Fixes #1183
2020-09-21 12:28:47 +10:00
itsmattkc 7bdaf78af8 oiio: assume it's not an image sequence if the dimensions aren't equal 2020-09-21 12:21:17 +10:00
itsmattkc 82ceef2013 audio: don't write samples if channel count is zero 2020-09-21 04:44:55 +10:00
itsmattkc f9af69ca81 mathbase: use sample indices and copy rather than zeroing out 2020-09-21 04:15:52 +10:00
itsmattkc 9e49224406 crashpad: correct handler path on non-Windows systems 2020-09-21 00:51:31 +10:00
itsmattkc 8e0c86a6fa renderer: if texture is null, don't allocate a frame unless exporting 2020-09-19 12:53:07 +10:00
itsmattkc 7bc841904a viewer: display image infinitely if video length is null
Allows for displaying still images in viewer without a finite length.
2020-09-19 12:52:50 +10:00
itsmattkc 855c460ff3 footageviewer: use sequence functions to set video/audio params
Code improvement by re-using existing code. Existing code prevents crash
when loading a still image.
2020-09-19 12:30:42 +10:00
itsmattkc 9c57899ae2 mainwindow: auto-close footage in footage viewer when closing parent project 2020-09-19 12:07:52 +10:00
itsmattkc 6117ca44e9 sequence: ignore disabled streams 2020-09-19 12:07:36 +10:00
itsmattkc 3103359cd6 slider: fixed crash when clicking another mouse button while dragging 2020-09-18 23:49:40 +10:00
itsmattkc 27a4dbc85f import: fixed progres reporting 2020-09-18 13:19:18 +10:00
itsmattkc 01428276f7 export: alternate method of checking video/audio parameters based on ticket type
Fixes #1196
2020-09-18 13:06:10 +10:00
itsmattkc 9c488d9a37 timeline: use full viewport update
Fixes #1190
2020-09-18 12:59:16 +10:00
itsmattkc 8506c82a0c import: safely handle unsupported files
Fixes #1191
2020-09-18 12:58:55 +10:00
itsmattkc 9a46d4a57f ci: install visual c++ 2010 redist on windows installer 2020-09-18 12:17:05 +10:00
itsmattkc b5863fdadd workaround: don't use standardPalette on Qt 5.15 2020-09-18 11:34:10 +10:00
itsmattkc 6a6aaddb74 crashpad: ask users before submitting report 2020-09-16 16:41:23 +10:00
itsmattkc 9b9af17a73 mainmenu: add send feedback option 2020-09-16 14:11:29 +10:00
itsmattkc 3ab36eb7fc deserialization: tolerate missing vector values 2020-09-15 12:00:25 +10:00
itsmattkc 22c5b61898 fixed compile issue with qt 5.15.1 2020-09-14 17:49:23 +10:00
itsmattkc 4f65e83322 gcc: fixed shadowed parameter 2020-09-06 18:33:22 +10:00
itsmattkc 83c7596038 viewer: extended scrolling/panning functionality 2020-09-06 17:40:53 +10:00
itsmattkc ba64313dd7 Merge branch 'issue_70' of https://github.com/ThomasWilshaw/olive into ThomasWilshaw-issue_70
# Conflicts:
#	app/widget/viewer/viewerwindow.cpp
2020-09-06 17:40:14 +10:00