Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan Thomas
9c4a98a1cd Merge pull request #704 from ferdnyc/py_message
Exceptions: Add py_message() for Python
2021-11-10 22:13:57 -06:00
FeRD (Frank Dana)
59108504e3 Code changes for compatibility with JUCE 6.x
- Replace all juce::CriticalSection with std::recursive_mutex
- Replace all juce::AudioSampleBuffer with juce::AudioBuffer<float>
- Eliminate implicit reliance on 'using namespace juce;'
- Replace OpenShotAudio.h includes with targeted juce modules
2021-11-09 06:22:25 -05:00
Frank Dana
2d2a062bdc Remove (broken) BlackMagic DeckLink support (#760) 2021-10-20 06:49:08 -04:00
Frank Dana
59138ea3e4 Adopt license management via Reuse project/tool (#711)
* reuse-managed license/copyright headers

reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.

* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
  - Add headers to source files
  - Change blanket licensing in .reuse/dep5 to only cover binary media
  - Import CC-BY-3.0 license and assign to sintel_trailer
2021-10-16 01:26:26 -04:00
FeRD (Frank Dana)
b39ff359ad Exceptions: Add py_message() for Python
- Most exceptions are now based on two new base classes,
  FileExceptionBase and FrameExceptionBase.
- All exception classes now export a `py_message()` method
  (inherited or defined) which constructs a message for Python
  that includes **all** arguments to the exception, not just
  the why() text.
- Python's exception handling is updated to catch
  openshot::ExceptionBase and display py_message() instead of why()
- (I didn't modify why() because it returns char*; py_message()
  returns a std::string.)
2021-07-12 22:47:43 -04:00
Frank Dana
09eb807507 CMake: USE_SWIG_DEPENDENCIES for CMake 3.20+ (#691) 2021-06-25 01:05:59 -04:00
FeRD (Frank Dana)
5df3f8aef0 Add TrackedObjectBBase to Python SWIG 2021-06-04 20:05:32 -04:00
Brenno
2e8ff3b982 Added TrackedObjectBBox to python bindings 2021-05-17 11:38:45 -03:00
FeRD (Frank Dana)
0fe84d36f6 Keyframe: Get rid of vector aliases, Coord ctor 2021-01-29 03:42:56 -05:00
FeRD (Frank Dana)
37bb2f6f9f Fraction: Restore __str__ for Python
The Python code expects __str__() on a Fraction to return a
"{num}:{den}" representation, which __repr__() no longer does.
2021-01-29 03:41:54 -05:00
FeRD (Frank Dana)
00d458210e KeyFrame.h: Avoid shadowing SWIG templates 2021-01-29 01:08:50 -05:00
Jonathan Thomas
47afa205c7 Merge pull request #585 from OpenShot/opencv
3 New OpenCV Effects (Tracker, Stabilization, and Object Detection)
2021-01-28 17:28:15 -06:00
FeRD (Frank Dana)
72e09dc033 Fraction: Implement dict type methods 2021-01-27 05:48:06 -05:00
Frank Dana
dbaac4debd Merge branch 'develop' into frac-python-types 2021-01-27 03:50:45 -05:00
FeRD (Frank Dana)
d1019f204e Merge branch 'fix-swig-flags' into opencv_build_config 2021-01-13 11:16:10 -05:00
FeRD (Frank Dana)
3a0d88adcf Property fixes for bindings 2021-01-13 10:59:13 -05:00
FeRD (Frank Dana)
0cb9286da3 Merge branch 'fix-swig-flags' into opencv_build_config 2021-01-13 09:20:35 -05:00
FeRD (Frank Dana)
b445d6df6c Propagate library defs to swig 2021-01-13 08:31:34 -05:00
FeRD (Frank Dana)
1b82a3c97a Fraction: Restore __string__ for Python
The Python code expects __string__() on a Fraction to return a
"{num}:{den}" representation, which __repr__() no longer does.
2021-01-02 18:33:39 -05:00
FeRD (Frank Dana)
5cfe52b9f7 CMake: Add ENABLE_OPENCV option, use targets 2020-12-24 10:07:08 -05:00
Brenno
5b5763eebb Merge remote-tracking branch 'origin/develop' into opencv 2020-12-17 22:19:10 -03:00
FeRD (Frank Dana)
b280fbd082 Bindings: Add template specializations 2020-12-04 11:28:59 -05:00
FeRD (Frank Dana)
2a9cf280f5 Merge branch 'develop' into frac-python-types 2020-12-04 09:34:55 -05:00
Jonathan Thomas
ac73bd965d Fixing an issue caused by timeline::GetClip returning a ClipBase instead of a Clip (broke waveform generation).
Also adding a swig definition for the Caption effect.
2020-12-03 10:52:27 -06:00
FeRD (Frank Dana)
762f0e716d Fraction: New ctors accept STL container args 2020-11-21 15:17:18 -05:00