FeRD (Frank Dana)
f55c563ba5
Merge branch 'develop' into debug-to-stderr
2020-10-19 16:38:54 -04:00
FeRD (Frank Dana)
aa40ea29e0
Update include paths in all source/header files
2020-10-18 07:43:37 -04:00
FeRD (Frank Dana)
e5e7b27e14
Merge branch 'develop' into debug-to-stderr
2020-09-17 22:14:05 -04:00
Frank Dana
e500cae9f5
Replace sleep()/usleep() with std::chrono calls ( #473 )
2020-09-02 02:07:54 -04:00
FeRD (Frank Dana)
b3e5eec16b
Merge branch 'develop' into debug-to-stderr
2020-06-17 08:39:57 -04:00
Frank Dana
799e43a0a2
Merge branch 'develop' into zmqfix
2020-03-26 07:34:58 -04:00
Chiller Dragon
0a5dfd93ad
Fix zmq version check ( #478 )
2020-03-25 20:58:11 -04:00
FeRD (Frank Dana)
54f5fea201
ZeroMQ's std::string support is too new
2020-03-25 11:42:19 -04:00
Frank Dana
48028ef033
Merge branch 'develop' into debug-to-stderr
2020-03-23 08:18:19 -04:00
Frank Dana
4fad197fbe
Add version gating for Zmq and Qt deprecations ( #470 )
...
* ZmqLogger: Avoid deprecated send() in later ZMQ
* QtImageReader: byteCount() deprecated in QT 5.10+
2020-03-23 08:16:02 -04:00
FeRD (Frank Dana)
fc18366843
ZmqLogger: Add optional dumping to stderr
...
Add an openshot::Settings boolean `DEBUG_TO_STDERR`, which when
set true will direct all AppendDebugMethod() messages to std::clog,
in addition to (possibly) being sent over the ZeroMQ wire.
2020-02-01 02:00:43 -05:00
SuslikV
dfbcb4730b
Disable debug logger on close
...
The logger can be closed from the external thread (openshot-qt), while
same logger instance is still in use in libopenshot.
This change prevents crash on attempts to use debug logger if it was
closed.
Co-authored-by: Frank Dana <ferdnyc@users.noreply.github.com >
2019-08-12 14:09:26 +03: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
cf0e827a24
Adding logging support for resvg (which will output on stderr)
2019-07-23 17:11:55 -05:00
FeRD (Frank Dana)
2dc2fffa45
ZmqLogger: default AppendDebugMethod()'s extra params
...
Give the AppendDebugMethod() declaration a set of default values for
all parameters after the first. (It uses `""` and `-1.0`, which are
what callers were passing in anyway.) This way, callers have the
_option_ to eschew this kind of thing:
```
ZmqLogger::Instance()->AppendDebugMethod("Message", "start", start,
"length", length, "", -1, "", -1, "", -1, "", -1);
```
instead, they can use the functionally equivalent:
```
ZmqLogger::Instance()->AppendDebugMethod("Message", "start", start,
"length", length);
```
Passing meaningless args is the compiler's job, not the programmer's.
2019-07-03 14:06:44 -04:00
FeRD (Frank Dana)
f170fdd009
Update copyright range to current year
2019-06-11 06:48:32 -04:00
FeRD (Frank Dana)
0327c2ab5c
Remove license block from documentation comment
2019-06-09 08:31:04 -04:00
Jonathan Thomas
9d755c6d68
Revert "Check in code to handle missing clock_gettime() on most versions of M…"
2018-05-19 01:24:24 -05:00
Richard Alloway
eb6b48669b
Merge branch 'master' into ZmgLogger_hires_timestamp
2018-05-18 13:43:15 -04:00
Rich Alloway
01f20286ed
Check in code to handle missing clock_gettime() on most versions of Mac OS X
2018-04-23 11:11:18 -04:00
Jonathan Thomas
2a59184772
Revert "Prepend current time (hires) to messages logged via ZmqLogger"
2018-04-20 02:03:37 -05:00
Rich Alloway
5f38c112aa
Fix output width of nsec in new hires timestamps in ZmqLogger.cpp
2018-04-12 16:57:38 -04:00
Rich Alloway
01c2d38a6b
Prepend current time (hires) to messages logged via ZmqLogger
2018-04-06 16:33:26 -04:00
Jonathan Thomas
d79994a780
New cross platform exception handler for libopenshot! Logs basic stacktrace on segmentation fault. This will be a huge help in finding bugs and crashes.
2016-11-03 02:19:48 -05:00
Jonathan Thomas
4808be25ff
Added 4 new clip keyframes (channel mapping, channel filter, has_video, and has_audio). These are a bit different though, as they are evaluated as boolean (-1 = ignored, 0 = disabled, 1 = enabled). Also fixed some issues with video playback (where it gets stuck in fast forward), and fixed some race conditions when opening FFmpegReader. Also added more debug output.
2016-04-24 15:37:47 -05:00