]> sigrok.org Git - libsigrokflow.git/log
libsigrokflow.git
5 years agoAdd tests/legacy_decoder.cpp and a simple unit test. master github/master
Uwe Hermann [Fri, 18 Jan 2019 00:02:30 +0000 (01:02 +0100)]
Add tests/legacy_decoder.cpp and a simple unit test.

5 years agoAdd LegacyDecoder::unitsize().
Uwe Hermann [Thu, 17 Jan 2019 23:54:00 +0000 (00:54 +0100)]
Add LegacyDecoder::unitsize().

5 years agoLegacyInput::chain(): Always name all parameters.
Uwe Hermann [Thu, 17 Jan 2019 23:25:41 +0000 (00:25 +0100)]
LegacyInput::chain(): Always name all parameters.

5 years agoFix a typo (unitsite_ -> unitsize_).
Uwe Hermann [Thu, 17 Jan 2019 23:15:10 +0000 (00:15 +0100)]
Fix a typo (unitsite_ -> unitsize_).

5 years agoAvoid "using namespace std" everywhere.
Uwe Hermann [Thu, 17 Jan 2019 23:13:47 +0000 (00:13 +0100)]
Avoid "using namespace std" everywhere.

5 years agoAdd some missing #includes.
Uwe Hermann [Fri, 11 Jan 2019 01:43:38 +0000 (02:43 +0100)]
Add some missing #includes.

5 years agoFactor out legacy_decoder.hpp.
Uwe Hermann [Fri, 11 Jan 2019 00:35:18 +0000 (01:35 +0100)]
Factor out legacy_decoder.hpp.

5 years agoFactor out legacy_output.hpp.
Uwe Hermann [Fri, 11 Jan 2019 00:30:07 +0000 (01:30 +0100)]
Factor out legacy_output.hpp.

5 years agoFactor out legacy_input.hpp.
Uwe Hermann [Fri, 11 Jan 2019 00:26:21 +0000 (01:26 +0100)]
Factor out legacy_input.hpp.

5 years agoFactor out legacy_capture_device.hpp.
Uwe Hermann [Fri, 11 Jan 2019 00:22:40 +0000 (01:22 +0100)]
Factor out legacy_capture_device.hpp.

5 years agoFactor out main.hpp.
Uwe Hermann [Fri, 11 Jan 2019 00:17:32 +0000 (01:17 +0100)]
Factor out main.hpp.

5 years agoFactor out init.hpp.
Uwe Hermann [Fri, 11 Jan 2019 00:10:53 +0000 (01:10 +0100)]
Factor out init.hpp.

5 years ago.gitignore: Add files generated by the unit tests.
Uwe Hermann [Thu, 10 Jan 2019 23:01:52 +0000 (00:01 +0100)]
.gitignore: Add files generated by the unit tests.

5 years agoCreate 8 logic channels on dummy device used for output.
Martin Ling [Thu, 10 Jan 2019 00:24:32 +0000 (00:24 +0000)]
Create 8 logic channels on dummy device used for output.

5 years agoFix implementation of LegacyInput.
Martin Ling [Thu, 10 Jan 2019 00:16:48 +0000 (00:16 +0000)]
Fix implementation of LegacyInput.

5 years agoUse a dummy device for LegacyOutput.
Martin Ling [Wed, 9 Jan 2019 23:25:43 +0000 (23:25 +0000)]
Use a dummy device for LegacyOutput.

5 years agolibsigrokflow.hpp: Use the 'override' keyword where possible.
Uwe Hermann [Wed, 9 Jan 2019 20:39:19 +0000 (21:39 +0100)]
libsigrokflow.hpp: Use the 'override' keyword where possible.

5 years agoAdd contrib/libsigrokflow_112x112.png.
Uwe Hermann [Wed, 9 Jan 2019 20:35:27 +0000 (21:35 +0100)]
Add contrib/libsigrokflow_112x112.png.

(used in the Doxygen HTML output)

5 years agoDoxyfile: Add libsigrokflow specific config.
Uwe Hermann [Wed, 9 Jan 2019 02:15:11 +0000 (03:15 +0100)]
Doxyfile: Add libsigrokflow specific config.

5 years agoDoxyfile: Add file generated by 'doxygen -g'.
Uwe Hermann [Wed, 9 Jan 2019 02:02:24 +0000 (03:02 +0100)]
Doxyfile: Add file generated by 'doxygen -g'.

5 years agoUse https instead of http when referring to sigrok.org.
Uwe Hermann [Wed, 9 Jan 2019 01:51:44 +0000 (02:51 +0100)]
Use https instead of http when referring to sigrok.org.

5 years agoAvoid underscore suffix in member function names.
Uwe Hermann [Wed, 9 Jan 2019 01:47:00 +0000 (02:47 +0100)]
Avoid underscore suffix in member function names.

5 years agoFactor out src/legacy_decoder.cpp.
Uwe Hermann [Wed, 9 Jan 2019 01:32:53 +0000 (02:32 +0100)]
Factor out src/legacy_decoder.cpp.

5 years agoFactor out src/legacy_output.cpp.
Uwe Hermann [Wed, 9 Jan 2019 01:28:15 +0000 (02:28 +0100)]
Factor out src/legacy_output.cpp.

5 years agoFactor out src/legacy_input.cpp.
Uwe Hermann [Wed, 9 Jan 2019 01:25:29 +0000 (02:25 +0100)]
Factor out src/legacy_input.cpp.

5 years agoFactor out src/legacy_capture_device.cpp.
Uwe Hermann [Wed, 9 Jan 2019 01:20:38 +0000 (02:20 +0100)]
Factor out src/legacy_capture_device.cpp.

5 years agoFactor out src/init.cpp.
Uwe Hermann [Wed, 9 Jan 2019 01:15:47 +0000 (02:15 +0100)]
Factor out src/init.cpp.

5 years agoAvoid underscore prefix for private member variables.
Uwe Hermann [Wed, 9 Jan 2019 01:09:34 +0000 (02:09 +0100)]
Avoid underscore prefix for private member variables.

Names starting with underscore or containing two consecutive underscores
are reserved, so we should avoid using those.

Use the common convention of an underscore *suffix* instead.

5 years agoVarious whitespace/consistency/cosmetic fixes.
Uwe Hermann [Wed, 9 Jan 2019 00:42:46 +0000 (01:42 +0100)]
Various whitespace/consistency/cosmetic fixes.

5 years agoSrf::init(): Throw an exception if Gst::init() has not run yet.
Uwe Hermann [Wed, 9 Jan 2019 00:19:56 +0000 (01:19 +0100)]
Srf::init(): Throw an exception if Gst::init() has not run yet.

5 years agotests/init: Srf::init() before successful Gst::init() should throw.
Uwe Hermann [Wed, 9 Jan 2019 00:19:35 +0000 (01:19 +0100)]
tests/init: Srf::init() before successful Gst::init() should throw.

5 years agoSrf::deinit(): Throw an exception upon multiple deinit() calls.
Uwe Hermann [Tue, 8 Jan 2019 22:36:10 +0000 (23:36 +0100)]
Srf::deinit(): Throw an exception upon multiple deinit() calls.

5 years agotests/init: Multiple Srf::deinit() calls should throw.
Uwe Hermann [Tue, 8 Jan 2019 22:29:37 +0000 (23:29 +0100)]
tests/init: Multiple Srf::deinit() calls should throw.

5 years agoSrf::deinit(): Add initial implementation.
Uwe Hermann [Tue, 8 Jan 2019 22:27:41 +0000 (23:27 +0100)]
Srf::deinit(): Add initial implementation.

5 years agotests/init: Srf::deinit() should not throw.
Uwe Hermann [Tue, 8 Jan 2019 22:27:04 +0000 (23:27 +0100)]
tests/init: Srf::deinit() should not throw.

5 years agoSrf::init(): Throw an exception upon multiple init() calls.
Uwe Hermann [Tue, 8 Jan 2019 22:17:27 +0000 (23:17 +0100)]
Srf::init(): Throw an exception upon multiple init() calls.

5 years agotests/init: Multiple Srf::init() calls should throw.
Uwe Hermann [Tue, 8 Jan 2019 22:16:37 +0000 (23:16 +0100)]
tests/init: Multiple Srf::init() calls should throw.

5 years agoAdd tests/init.cpp and first unit test.
Uwe Hermann [Tue, 8 Jan 2019 22:10:37 +0000 (23:10 +0100)]
Add tests/init.cpp and first unit test.

5 years agoAdd initial tests/main.cpp (main Catch2 file).
Uwe Hermann [Tue, 8 Jan 2019 22:08:25 +0000 (23:08 +0100)]
Add initial tests/main.cpp (main Catch2 file).

No unit tests have been added so far.

5 years agoAdd Catch2 unit testing framework.
Uwe Hermann [Tue, 8 Jan 2019 22:06:13 +0000 (23:06 +0100)]
Add Catch2 unit testing framework.

The file tests/catch2/catch.hpp is the version 2.5.0 release of Catch2.

https://github.com/catchorg/Catch2/releases/download/v2.5.0/catch.hpp

5 years agolibsigrokflow.hpp: Add a temporary workaround.
Uwe Hermann [Tue, 8 Jan 2019 22:01:39 +0000 (23:01 +0100)]
libsigrokflow.hpp: Add a temporary workaround.

Assume libsigrokcxx and libsigrokdecode are always available for now.

5 years agoconfigure.ac: Add -Wformat-security to the default flags.
Uwe Hermann [Tue, 8 Jan 2019 21:48:07 +0000 (22:48 +0100)]
configure.ac: Add -Wformat-security to the default flags.

5 years agoCheck for the (optional) libsigrokdecode dependency.
Uwe Hermann [Tue, 8 Jan 2019 21:32:35 +0000 (22:32 +0100)]
Check for the (optional) libsigrokdecode dependency.

5 years agoCheck for the (optional) libsigrokcxx dependency.
Uwe Hermann [Tue, 8 Jan 2019 21:18:11 +0000 (22:18 +0100)]
Check for the (optional) libsigrokcxx dependency.

5 years agoFix the build wrt gstreamermm-1.0.
Uwe Hermann [Tue, 8 Jan 2019 21:08:45 +0000 (22:08 +0100)]
Fix the build wrt gstreamermm-1.0.

Also, make gstreamermm-1.0 a required dependency (not optional).

5 years agoImplement LegacyInput.
Martin Ling [Sun, 30 Dec 2018 09:33:33 +0000 (10:33 +0100)]
Implement LegacyInput.

5 years agoAdd missing copyright lines.
Uwe Hermann [Sun, 30 Dec 2018 06:07:06 +0000 (07:07 +0100)]
Add missing copyright lines.

5 years agoInitial LegacyDecoder implementation.
Uwe Hermann [Sun, 30 Dec 2018 03:42:53 +0000 (04:42 +0100)]
Initial LegacyDecoder implementation.

5 years agoCreate LegacyOutput from format, device and options.
Martin Ling [Sun, 30 Dec 2018 03:29:10 +0000 (04:29 +0100)]
Create LegacyOutput from format, device and options.

5 years agoDon't create pad, already done by BaseSink.
Martin Ling [Sun, 30 Dec 2018 03:10:17 +0000 (04:10 +0100)]
Don't create pad, already done by BaseSink.

5 years agoImplement LegacyOutput.
Martin Ling [Sun, 30 Dec 2018 03:02:35 +0000 (04:02 +0100)]
Implement LegacyOutput.

5 years agoMove device open and config_set calls to client.
Martin Ling [Sun, 30 Dec 2018 02:08:28 +0000 (03:08 +0100)]
Move device open and config_set calls to client.

5 years agoSet correct variant type.
Martin Ling [Sun, 30 Dec 2018 01:34:02 +0000 (02:34 +0100)]
Set correct variant type.

5 years agoSet valid license.
Martin Ling [Sun, 30 Dec 2018 01:29:44 +0000 (02:29 +0100)]
Set valid license.

5 years agoAdd base class constructors.
Martin Ling [Sun, 30 Dec 2018 01:26:35 +0000 (02:26 +0100)]
Add base class constructors.

5 years agoInclude gstreamermm/private/element_p.h header to subclass Element.
Martin Ling [Sun, 30 Dec 2018 01:10:09 +0000 (02:10 +0100)]
Include gstreamermm/private/element_p.h header to subclass Element.

5 years agoWIP on plugin registration.
Martin Ling [Sun, 30 Dec 2018 01:01:43 +0000 (02:01 +0100)]
WIP on plugin registration.

5 years agoThrow exception on failure to create element.
Martin Ling [Sun, 30 Dec 2018 00:25:39 +0000 (01:25 +0100)]
Throw exception on failure to create element.

5 years agoRevised implementation without using constructor.
Martin Ling [Sun, 30 Dec 2018 00:17:36 +0000 (01:17 +0100)]
Revised implementation without using constructor.

5 years agoImplement LegacyCaptureDevice.
Martin Ling [Sat, 29 Dec 2018 22:29:26 +0000 (23:29 +0100)]
Implement LegacyCaptureDevice.

5 years agoInitial class hierarchy.
Martin Ling [Sat, 29 Dec 2018 21:01:09 +0000 (22:01 +0100)]
Initial class hierarchy.

5 years agoAdd libsigrokflow.pc.in.
Uwe Hermann [Sat, 29 Dec 2018 15:27:48 +0000 (16:27 +0100)]
Add libsigrokflow.pc.in.

5 years agoconfigure.ac: Add check for gstreamermm-1.0 >= 1.8.0.
Uwe Hermann [Sat, 29 Dec 2018 17:02:52 +0000 (18:02 +0100)]
configure.ac: Add check for gstreamermm-1.0 >= 1.8.0.

5 years agoAdd an Srf namespace and an empty Srf::init().
Uwe Hermann [Sat, 29 Dec 2018 16:08:59 +0000 (17:08 +0100)]
Add an Srf namespace and an empty Srf::init().

5 years agoAdd Makefile.am.
Uwe Hermann [Sat, 29 Dec 2018 16:08:31 +0000 (17:08 +0100)]
Add Makefile.am.

5 years agoAdd configure.ac.
Uwe Hermann [Sat, 29 Dec 2018 16:07:33 +0000 (17:07 +0100)]
Add configure.ac.

5 years agoAdd empty src/main.cpp and include/libsigrokflow/libsigrokflow.hpp.
Uwe Hermann [Sat, 29 Dec 2018 15:50:00 +0000 (16:50 +0100)]
Add empty src/main.cpp and include/libsigrokflow/libsigrokflow.hpp.

5 years agoAdd .gitignore.
Uwe Hermann [Sat, 29 Dec 2018 15:33:28 +0000 (16:33 +0100)]
Add .gitignore.

5 years agoAdd AUTHORS, ChangeLog, COPYING, NEWS.
Uwe Hermann [Sat, 29 Dec 2018 15:31:34 +0000 (16:31 +0100)]
Add AUTHORS, ChangeLog, COPYING, NEWS.

5 years agoAdd autogen.sh.
Uwe Hermann [Sat, 29 Dec 2018 15:24:09 +0000 (16:24 +0100)]
Add autogen.sh.

5 years agoAdd m4/sigrok.m4.
Uwe Hermann [Sat, 29 Dec 2018 15:21:47 +0000 (16:21 +0100)]
Add m4/sigrok.m4.

5 years agoAdd m4/ax_cxx_compile_stdcxx.m4.
Uwe Hermann [Sat, 29 Dec 2018 15:21:30 +0000 (16:21 +0100)]
Add m4/ax_cxx_compile_stdcxx.m4.

5 years agoAdd initial README.
Uwe Hermann [Sat, 29 Dec 2018 14:58:13 +0000 (15:58 +0100)]
Add initial README.