Jonathan Thomas
10ed4baae3
Merge pull request #496 from OpenShot/emojis
...
Transform Improvements (Keyframe origin point)
2020-05-25 17:41:55 -05:00
Jeff Shillitto
5b5950c991
use reader instead of new_reader
2020-05-19 19:57:06 +10:00
Jeff Shillitto
4e6c1819b0
Set clip in constructor to resolve scale crop issue
2020-05-16 18:55:34 +10:00
Frank Dana
6336f30ee3
Various: Remove unused variables ( #467 )
...
Several data members and local variables were flagged by static
analysis tools as never being used anywhere in the code.
2020-04-22 02:02:55 -04:00
Jonathan Thomas
2bea436f3e
Adding keyframable origin point (for shear and rotation)
2020-04-13 16:55:29 -05:00
Jonathan Thomas
8b3167a99a
Adding ability for a Clip to auto-detect and instantiate a Timeline Reader from the *.osp file type. Added new Timeline constructor, to auto load UTF-8 JSON file, and regex convert all paths to absolute. Fixed a dead lock issue when a Timeline loads another Timeline.
2020-03-09 16:49:06 -05:00
Frank Dana
8ea7449363
Merge branch 'develop' into json-parsing
2020-01-20 15:25:40 -05:00
FeRD (Frank Dana)
e49f62247e
Use C++11 range-based for loops where we can
2019-12-28 09:50:09 -05:00
FeRD (Frank Dana)
22bf6edfba
Enhance Json data handling
...
- Parsing from string to Json::Value is now done by utility function
openshot::stringToJson() in Json.cpp, all SetJson() methods call it.
- Expand use of const member functions and args where appropriate.
- Use std::to_string() to format int/float values as strings.
- Correct mentions of nonexistent Json::JsonValue type in docstrings
2019-12-27 08:51:51 -05:00
FeRD (Frank Dana)
e502f97d8a
Don't compare differently-signed types
2019-12-15 14:22:59 -05:00
Jonathan Thomas
0347ad2073
Merge pull request #374 from musteresel/new-keyframe-implementation
...
New Keyframe implementation
2019-12-06 17:10:11 -06:00
Frank Dana
c04dc94cc8
Wrap assignment in conditional with () ( #379 )
2019-12-02 10:45:06 -05:00
Daniel Jour
504ea0c1ff
Make Keyframe::Values and Keyframe::Points vectors private
...
The Values vector should only be accessed from the outside through the
GetValue() function. The Points vector should only be accessed using
the AddPoint(), RemovePoint(), .. functions.
This helps maintain internal invariants (e.g. keeping Points sorted)
and allows for future removal / lazy evaluation of Values.
The size() of the vectors had been accessed from various parts of the
code; the GetLength() (for Values) and GetCount() (for Points) member
functions provide access to this information and are already part of
the public API.
2019-11-19 23:43:28 +01:00
Frank Dana
969e8320e6
Merge branch 'develop' into std-prefixes
2019-10-29 16:06:55 -04:00
FeRD (Frank Dana)
bcc62f900c
Fix juce:: prefixing
2019-10-27 03:56:13 -04:00
Frank Dana
8bde07682c
Merge branch 'develop' into std-prefixes
2019-10-22 21:00:27 -04:00
FeRD (Frank Dana)
366ff2c5e6
src: Don't pass "" file_path args to exceptions
2019-08-27 15:47:39 -04:00
FeRD (Frank Dana)
05a53784cb
Merge branch 'develop' into std-prefixes
2019-08-17 16:07:24 -04:00
FeRD (Frank Dana)
33cfb8b3dc
Clip/DummyReader: std:: prefixes
2019-08-04 23:08:19 -04:00
FeRD (Frank Dana)
c77f009038
Remove "dummy" args from ZmqLogger stragglers
...
I somehow missed a few calls, in #266 .
2019-08-04 16:06:54 -04:00
Jonathan Thomas
2f3c7bcc96
Merge pull request #285 from ferdnyc/enable-av-choices
...
Label "Enable Audio/Video" property values as Auto / Off / On
2019-07-29 17:32:35 -05:00
Jonathan Thomas
12fce8040f
Merge pull request #266 from ferdnyc/zmq-default-params
...
Default values for ZMQ logging calls
2019-07-29 16:30:22 -05:00
Jonathan Thomas
5f331e24df
Merge pull request #265 from ferdnyc/catch-by-reference
...
Exceptions: catch-by-reference and other cleanup
2019-07-29 16:27:40 -05:00
FeRD (Frank Dana)
7e5715627c
Enable Audio/Video choices show as Auto/Off/On
2019-07-26 19:33:33 -04:00
FeRD (Frank Dana)
35eb6adc55
Clean up allocated memory in JSON code
2019-07-11 05:00:47 -04:00