Commit Graph

2523 Commits

Author SHA1 Message Date
Soeren Apel 7e5c839662 INSTALL: Clarify translation package requirements 2022-03-10 19:32:52 +01:00
Gerhard Sittig 4efbe9b667 DecodeSignal: Optionally send EOF to decoder session
Communicate EOF to the decoder session when the input stream of
sample data is exhausted (and when the library supports it).
2022-02-25 01:43:11 +01:00
makigumo 0136bd3b11 TraceView: Set a lower MinScale
This allows to view smaller scale (ps scalle) signals, e.g. from simulation.
2022-02-24 22:53:07 +01:00
Gerhard Sittig a00c1b6edc Device: Display "continuous" checkbox when settable in the driver.
This has gone unnoticed because the majority of acquisition devices
either have local memory or require streaming. Only few support both
approaches and users can select the most appropriate approach for
their respective use case. Observed with Kingst LA devices.
2022-02-22 22:07:39 +01:00
Gerhard Sittig fe94bf8255 cmake: check for optional libsigrokdecode features (send EOF)
Implement a feature check for the srd_session_send_eof() routine which
depends on the libsigrokdecode version. This test implementation is a
little more redundant than necessary, check_symbol_exists() would be
preferred instead but would not work in my local setup.
2021-12-26 14:01:10 +01:00
Soeren Apel 22dc404045 Application: Do not show unsupported device drivers in version info 2021-12-21 22:09:51 +01:00
Soeren Apel 6e8abc5e2d Device: Ignore some more false flags 2021-12-21 21:42:13 +01:00
Soeren Apel 4aaa5b8001 GlobalSettings: Use gsize instead of guint 2021-12-18 18:37:00 +01:00
Soeren Apel 978dbc9a3e Binary output view: Highlight byte range currently in view 2021-12-17 22:21:21 +01:00
Soeren Apel cf01091129 GlobalSettings: Use g_memdup2 if available 2021-09-29 23:22:29 +02:00
Ralf a6fa4d477d Fix Bug #1649 (Save dialog does not close automatically) 2021-06-22 20:23:29 +02:00
Ralf f931975573 Save data: Catch Error exception
How to reproduce: Save data to Read-Only disk
2021-06-22 19:25:19 +02:00
Ralf cd38c84cb2 Save dialog: Fix cancellation
Without the fix cancellation of save data does not work

How to reproduce:
	1. Start PV with demo device and generate sufficient data, e.g. demo device 1GSa/s, 10MSa
	2. Save data (should take at least 30s) and try to cancel saving
	3. PV continues saving data and dialog reappears after next progress update
2021-06-22 18:51:18 +02:00
Kyle Johnson b987d46cc2 Ensure QT plugin imports are only done when compiling statically 2021-06-22 18:48:04 +02:00
Stefan Brüns ed643f0b4a Fix broken build due to C++ template behind C linkage
glib/gatomic.h since 2.68 includes type_traits, which causes a compilation
error:
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/libsigrokdecode/libsigrokdecode.h:25,
                 from /home/abuild/rpmbuild/BUILD/pulseview-0.4.2/pv/data/decode/annotation.cpp:21:
/usr/include/c++/10/type_traits:2308:3: error: template with C linkage
2308 |   template<typename _CTp, typename _Rp>

As libsigrokdecode.h declares extern C linkage itself where necessary,
remove it from pulseviews include statements from the last two occasions.
2021-06-22 18:10:07 +02:00
Gerhard Sittig 852a25198b doc: update IRC reference to Libera.Chat 2021-06-16 21:55:07 +02:00
Soeren Apel 3ce5dd9a98 DecodeSignal: Support unitsize > 1 for logic output 2021-02-15 22:52:04 +01:00
Soeren Apel f4e61cbe0b DecodeSignal: Receive RLE-encoded PD logic output data 2021-02-13 22:37:41 +01:00
Soeren Apel 4c4f604f98 DecodeSignal: Increase robustness to catch errors in PDs 2021-02-13 22:37:41 +01:00
Soeren Apel cb6305433d DecodeSignal: Use better colors and names for decoder output signals 2021-02-13 22:37:41 +01:00
Soeren Apel 76da6e9e21 Use separate logic output muxing vectors for each decoder 2021-02-13 22:37:41 +01:00
Soeren Apel 883041605c Continue work on SRD_OUTPUT_LOGIC 2021-02-13 22:37:41 +01:00
Soeren Apel 30cdef99af Allow re-loading sessions to work with PD output signals 2021-02-13 22:37:41 +01:00
Soeren Apel 04b0467582 Initial support for SRD_OUTPUT_LOGIC 2021-02-13 22:37:41 +01:00
Soeren Apel 89b7b94a04 Don't set unicode to true
NSIS 2.x doesn't know the unicode switch and chokes, 3.07 defaults
it to true as well.

As there doesn't seem to be a graceful way to handle 2.x versions,
we have to remove the unicode switch and the warning in 3.x (< 3.7)
installers shall be ignored.
2021-01-07 10:03:23 +01:00
Soeren Apel 5dea27d688 Fix NSIS warning 7998
Thanks to knarfS for the tip!
2021-01-06 16:50:32 +01:00
Soeren Apel d023660ff0 Simplify segment complete notifications and fix error msg handling 2021-01-03 00:26:57 +01:00
Soeren Apel 8fa8412e30 Fix some clang-tidy complaints 2020-12-31 20:31:51 +01:00
riktw 4f654de1ec Fix handling of 64 channel devices 2020-12-31 11:51:32 +01:00
Soeren Apel c259400566 Fix some clang-tidy complaints 2020-12-30 22:27:13 +01:00
Soeren Apel 1c552f400e Fix malformed declaration in MathSignal and add missing signal call 2020-12-29 23:25:25 +01:00
Soeren Apel 76c2f5b847 Signal: Add clarifying comment 2020-12-15 15:57:26 +01:00
Soeren Apel 052898db2c AnalogSignal: Enforce min neg/pos div count for logic 2020-12-15 15:57:23 +01:00
Soeren Apel 66a43b4f9c Make AnalogSignal inherit LogicSignal
This way, we can re-use the logic drawing methods and don't
have them duplicated in two different trace types.
2020-12-15 15:57:19 +01:00
Soeren Apel 1804b9700b Fix remaining invalid disconnect() calls 2020-12-12 23:27:33 +01:00
Soeren Apel db51130df7 Fix #1629 more by fixing the notification handling 2020-12-12 23:27:33 +01:00
Soeren Apel e6c8d58bde Add "allow vertical dragging in the view" setting 2020-11-26 22:17:34 +01:00
Soeren Apel c583ea05e3 DecodeTrace: Add annotation class to hover text 2020-11-26 21:46:58 +01:00
Soeren Apel 9431e2d3d2 Fix #1629 by not reallocating DecodeSegments
Doing so called the empty DecodeSegment copy constructor,
creating empty DecodeSegment instances.

Also fixes an off-by-one bug that prevented the final input
segment from being processed.
2020-11-23 23:49:11 +01:00
Soeren Apel c3c07a5f4b Prevent Qt from crashing PV by only showing the first error 2020-11-18 19:10:19 +01:00
Soeren Apel 8ff61402dc Fix #1637 by auto-assigning only to unused signals 2020-11-15 20:58:40 +01:00
Soeren Apel 5d58e6ce2b Add "start acquisition for all devices" option 2020-11-13 21:56:22 +01:00
Soeren Apel e505bec82f Fix #1591 by updating Logic and Analog if needed 2020-11-13 21:56:22 +01:00
xorloser 1acc207a76 nsis: Fix for installing 64bit Windows programs into 'Program Files'
This fixes bug #1082.
2020-10-26 22:56:50 +01:00
Soeren Apel ab10caf927 MainWindow: Make on_run_stop_clicked() public 2020-10-25 21:47:05 +01:00
Mickael Bosch f1e9295aa5 handle SIGUSR1 signal to run/stop the capture, UNIX only 2020-10-25 21:47:05 +01:00
Soeren Apel d1b479f74c Fix #1607 by ignoring common read-only config keys 2020-10-16 23:40:43 +02:00
Uwe Hermann d8cdab78d4 CMakeLists.txt: Only use -Wa,-mbig-obj and -O3 on Windows.
Note: -mbig-obj has been available on 64bit bit builds for a while now, but
on 32bit builds it needs a rather recent binutils version (2.35, 07/2020).
2020-09-28 22:40:19 +02:00
xorloser 0ac6b18f9e Fix for cross-compiling for Windows using mingw MXE.
The -mbig-obj param fixes a 'too many sections for PE file' error.

The -O3 param fixes a 'section or string table size too large for PE file'
error.
2020-09-28 22:31:41 +02:00
Soeren Apel 2823de2c82 MathSignal: Implement custom math signal dialog 2020-09-27 23:19:29 +02:00