AnalogSignal: Recalculate scale when restoring div height When restoring analog signal settings from a *.pvs file changes the div height, the vertical scale must be recalculated. Otherwise, the signal is scaled as if the div height had not changed, until a UI event triggers recalculation.
trace: fix crash on empty channel name in popup form sr_dev_channel_name_set returns SR_ERR_ARG when a channel name is empty and pulseview crashes once user deletes all characters from a channel name in trace popup form. This patch forbids to set empty channel name and keeps last non-empty name provided by user.
Fix warning and remove cursor pair selected state Fixes warning "QObject::connect: Cannot connect (nullptr)::closed() to pv::views::trace::Ruler::on_popup_closed()" and removes showing the selected state for the cursor pair as it doesn't serve a purpose.
Flags: Always save raw text, not display text in session setup Before, get_text() would return the delta time to a selected flag, so if one was selected as the session was saved, this delta time would be saved as the name.
MainWindow: Move show_session_error to signals Before various capture error handlers called Mainwindow::show_session_error() directly, and thus outside of the main UI thread. Qt widgets aren't thread- safe and thus this resulted in crashes or freezes at least on OSX.
pv: adjust application source code for Qt6 support Prepare application source code (C++ programming language files) for Qt6 compatibility. Implement alternative code paths where the API has changed compared to Qt5. This unbreaks Mac OSX 12 builds with homebrew. This change is based on work that was submitted by Dominik Sliwa <redacted>.
Signal: Add missing item separator in channel names list The SCL item in the ChannelNames[] table lacked the separator, which made it "run into" the next item (preprocessor string concatenation). Add the missing separator. This amends commits 9e40e83daf6a (which introduced the lack of the separator while it did not take effect yet) and 7d5a9c3e79cb (which made it take effect when items got added and rearranged). Reported-By: Dominik Sliwa <redacted>
Settings: Fix the default item in the language combobox If the language is not set, the default language will be English, but the combobox will show "German"(The first item in language combobox) This is because the current_language will set to "" if the language is not set, and it doesn't match the default language "en"
DecodeSignal: Process late annotations which are sent upon EOF When protocol decoders learn about the end of the input data, they may emit more annotations before their operation terminates or gets reset and re-fed. Do process these late annotations in the application, too. Without this change, the last annotations are not seen. See bug #292 for an example.