Commit Graph

531 Commits

Author SHA1 Message Date
Anne de Jong 628ba898c9 Merged in develop.
continuous-integration/drone/push Build is failing Details
2023-08-30 21:44:20 +02:00
Anne de Jong dbd9c7c1af Updated drone to use all cpus available
continuous-integration/drone/push Build encountered an error Details
2023-08-30 16:01:08 +02:00
Thijs Hekman 77a7e46f9d Reset the interrupt frame counter when muting signal generator
continuous-integration/drone Build is running Details
2023-08-29 16:23:18 +02:00
Anne de Jong 376e0dc85c Working interrupted noise 2023-08-29 15:46:51 +02:00
Anne de Jong 1bf022d648 ci: Ubuntu build: added git to list of install packages
continuous-integration/drone/push Build was killed Details
continuous-integration/drone Build is failing Details
2023-07-24 20:02:18 +02:00
Anne de Jong c9243b1143 build(Pre-commit-drone-file-cannot-be-checked): Removed check-yaml hook, updated drone config
continuous-integration/drone/push Build is failing Details
2023-07-24 18:11:45 +02:00
Anne de Jong 8397779a2a ci: Fixed build script for Ubuntu build (2)
continuous-integration/drone/push Build was killed Details
2023-07-24 18:01:51 +02:00
Anne de Jong 94f0ec1d84 ci(scripts/build_ubuntu.sh): Fixed build script for Ubuntu builds 2023-07-24 18:01:02 +02:00
Anne de Jong a29f72a592 Updated tests with build scripts in docker containers
continuous-integration/drone/push Build is failing Details
2023-07-24 17:24:12 +02:00
Anne de Jong 89b303497b fix(lasp_version.py): Added patch to tuple unpack
continuous-integration/drone/push Build is failing Details
2023-07-23 15:24:17 +02:00
Anne de Jong aa0803e2f1 build(pyproject.toml): Added pybind11 build dependency
continuous-integration/drone/push Build is failing Details
2023-07-20 15:22:56 +02:00
Anne de Jong 01a6c35f6e bump: version 1.0.0 → 1.0.1
continuous-integration/drone/push Build is failing Details
2023-07-19 17:00:27 +02:00
Anne de Jong ff1cfddf97 fix: Added patch number to semver in pyproject.toml 2023-07-19 17:00:22 +02:00
Anne de Jong d96c591183 build(Removed-requirements,-they-are-in-pyproject.toml.-Added-lasp_version.py-that-will-obtain-version-from-metadata.): Black changed single quotes to double quotes. This commit should be tested now we have a patch number in the version 2023-07-19 16:56:50 +02:00
Anne de Jong 37048c54fa build(Testing-with-pre-commit): Not yet 2023-07-18 17:17:28 +02:00
Anne de Jong 9f81db8eeb Bla 2023-07-18 17:12:34 +02:00
Anne de Jong 914da89819 build(Testing): Not yet 2023-07-18 17:06:40 +02:00
Anne de Jong 72716ecd39 Updated .gitignore 2023-07-14 16:42:05 +02:00
Anne de Jong 790eb41a26 Switch to pyproject build structure 2023-07-14 16:40:57 +02:00
Anne de Jong 2727bb5582 Docs for build on Windows with MSYS2
continuous-integration/drone/push Build is failing Details
2023-07-14 13:57:02 +02:00
Anne de Jong a70f124f89 Updated README 2023-07-14 13:54:26 +02:00
Anne de Jong 26343fda79 Doc improvement Measurement.fromnpy
continuous-integration/drone/push Build is failing Details
2023-07-14 13:48:26 +02:00
Anne de Jong da80dbf075 Some improvements before stepping over to pyproject.toml
continuous-integration/drone/push Build is failing Details
2023-07-14 13:40:43 +02:00
Anne de Jong 33132e2c9d Execute permissions on build scripts
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build is failing Details
2023-07-14 10:13:45 +02:00
Anne de Jong fc681f3b6c Test virtualenvs and build envs
continuous-integration/drone/push Build is failing Details
2023-07-14 10:12:42 +02:00
Anne de Jong ddbb842c14 Fixed Doxkerfile for documentation to build in a virtualenv. This is required for Archlinux
continuous-integration/drone/push Build is failing Details
2023-07-14 09:38:51 +02:00
Thijs Hekman 30ce35d29b Completed all flush statements. Now on Thijs machine, it looks like it does not crash anymore under normal circumstances
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build was killed Details
2023-06-21 11:00:38 +02:00
Thijs Hekman 839ca4f77c Added extra flush statements for hdf5 file. This helps for Thijs' machine
continuous-integration/drone/push Build is failing Details
2023-06-21 10:57:03 +02:00
Anne de Jong 8711c6c57d More GIL releases while possibly waiting for a lock. Improves throughput, when also PyIndataHandlers are running (in case of a recording, for example
continuous-integration/drone/push Build is failing Details
2023-06-20 17:16:56 +02:00
Anne de Jong 4ca8866cb7 Avoid a deadlock: GIL release in constructor and destructor of threadedindatahandler.
continuous-integration/drone/push Build is failing Details
2023-06-20 17:08:55 +02:00
Anne de Jong 2420e6cb28 Bugfix: stop the streams in the destructor of streammgr to avoid that the signal generator is detructed while the streams are still running
continuous-integration/drone/push Build is failing Details
2023-06-18 21:13:09 +02:00
Anne de Jong 3681e7adac Changed hard-coded 8 to sizeof(double) 2023-06-18 21:05:47 +02:00
Anne de Jong 1a22a33c0f Finally: some align_val_t that did not work on Windows!
continuous-integration/drone/push Build is failing Details
2023-06-17 07:03:14 -07:00
Anne de Jong f160b696fb Merge branch 'windows_ready' of ssh://code.ascee.nl:12001/ASCEE/lasp into windows_ready 2023-06-15 10:42:18 -07:00
Anne de Jong 6353282e24 Merge branch 'develop' into windows_ready
continuous-integration/drone/push Build is failing Details
2023-06-15 10:00:40 +02:00
Anne de Jong d9a3cfd627 Made default preset for compiled in DAQ backends in CMakeLists
continuous-integration/drone/push Build is failing Details
2023-06-15 09:57:06 +02:00
Anne de Jong 64a268e277 Portaudio backend seems to be working. No extensive checks performed yet. 2023-06-15 09:48:45 +02:00
Anne de Jong 77b1848bb4 Made functions without correct return type compile time error 2023-06-14 21:24:29 +02:00
Anne de Jong 88624764e7 Rudymentary portaudio support. A stream callback is running. 2023-06-14 21:23:53 +02:00
Anne de Jong 303e15e2d6 Renamed ThreadSafeThreadPool to GlobalThreadPool. As of https://github.com/bshoshany/thread-pool/issues/112, the thread pool itself is thread-safe, so we removed the (extra, unnecessary) mutexes around it.
continuous-integration/drone/push Build is failing Details
2023-06-12 09:11:08 +02:00
Anne de Jong e61d71b08a Merge remote-tracking branch 'origin/develop' into windows_ready 2023-06-11 05:45:50 -07:00
Anne de Jong ee4b230947 Bugfix for compiling without uldaq
continuous-integration/drone/push Build is failing Details
2023-06-11 05:45:28 -07:00
Anne de Jong 3904abfcf9 Merged in develop 2023-06-11 05:45:02 -07:00
Anne de Jong a58be3ab87 Simple input tests script
continuous-integration/drone/push Build is failing Details
2023-06-11 14:44:15 +02:00
Anne de Jong f9640a5f99 Some small changes. 2023-06-11 05:33:16 -07:00
Anne de Jong 9b724ab9d5 Made thread pool itself thread safe. Besides, added some extra safety for StreamMgr singleton instance allocation.
continuous-integration/drone/push Build is failing Details
2023-06-10 15:47:52 +02:00
Anne de Jong 21df1bc6cf Incallbacks should not return anything anymore. From inheritance to composition for InDataHandler code. StreamMgr singleton only weak ptr stored, this makes sure destruction from Python is more often done. UlDAQ code back to working.
continuous-integration/drone/push Build is passing Details
2023-06-09 10:43:04 +02:00
Anne de Jong 028bed9229 One forgotten debugtrace back to disabled 2023-06-07 21:51:03 +02:00
Anne de Jong c87a5cec25 StreamMgr handle now via shared pointers. InDataHandler stores weak pointers. Reset callback in PyInDataHandler could be problematic. Refactored the UlDaq code and moved to a subfolder. 2023-06-07 21:49:07 +02:00
Anne de Jong 6fc1bd90b1 Moved IndataHandler to its own implementation file. Refactored some code. Fixed race conditions when starting and stopping indatahandlers. It appears that this does not solve the segfault, but is at least mitigates some race conditions when constructors are not ready on an object, and avoiding the call of virtual functions of an object which destructor has already been called. Added some extra assert check that a function is called from the right thread. Put explicit start and stop methods in constructor / destructor of PyInDataHandler. WARNING: this means all .start() and .stop() methods should be removed. THIS IS AN API break!
continuous-integration/drone/push Build is passing Details
2023-06-06 16:05:24 +02:00