Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scopy2 main: get Scopy2 from the dev branch on main #1846

Merged
merged 1,462 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1462 commits
Select commit Hold shift + click to select a range
b10138a
core: add missing path for emu options when running from local build.
AlexandraTrifan Oct 3, 2024
6e12bca
core/iiotabwidget: Added sections for better separation in add page.
andreidanila1 Oct 7, 2024
a87dd69
gui/animationpushbutton: Save text and icon only if state is NotRunning.
andreidanila1 Oct 10, 2024
e6e11d1
iioutil/iioscantask: Acquire context description (along with uri).
andreidanila1 Oct 11, 2024
48760a7
core/iiotabwidget: Added uri label under the combobox of the scanned …
andreidanila1 Oct 11, 2024
510bb24
adc: typo dB marker
adisuciu Oct 14, 2024
d796d8e
dac: fix mismatch in signal/slot for DDS tone scale.
AlexandraTrifan Oct 14, 2024
6649269
adc/FFTPlotComponentSettings: Set min/max for autoscale
Andrei-Fabian-Pop Oct 14, 2024
e6a73b1
gui/MenuSpinBox: Fix invisible underline
Andrei-Fabian-Pop Oct 4, 2024
a1f8455
core/DeviceImpl: Only display the page from the highest priority plugin
Andrei-Fabian-Pop Oct 14, 2024
c8b1302
infopage: Add default info page to adc, dac and regmap plugins
Andrei-Fabian-Pop Oct 14, 2024
cb48f4d
adc: fix fft crash
adisuciu Oct 11, 2024
eb1dc69
regmap: fix autoread bug
IonutMuthi Oct 4, 2024
7a93e1c
regmap: hide search bar when no xml is available
IonutMuthi Oct 4, 2024
6c0547d
regmap: settings buttons style fix
IonutMuthi Oct 4, 2024
096e64a
regmap: redirect to documentation
IonutMuthi Oct 4, 2024
2ba71ec
regmap: fix bug where you can still click regmap after disconnect
IonutMuthi Oct 15, 2024
65a1138
datalogger: tool index reset
IonutMuthi Oct 8, 2024
d6325e6
datalogger: settings name update
IonutMuthi Oct 8, 2024
5c3f3aa
datalogger: fix toggle channels bug
IonutMuthi Oct 8, 2024
4f6a989
datalogger: move delete tool from settings to tool
IonutMuthi Oct 8, 2024
d0c1dbb
datalogger: changed name of tool and icon
IonutMuthi Oct 15, 2024
1bec211
datalogger: make channel menu expanded by default
IonutMuthi Oct 15, 2024
299cd31
gui/MenuSpinBox: Horizontal underline is invisible by default
Andrei-Fabian-Pop Oct 15, 2024
e7bf665
ci/macos: remove package relinking
bindea-cristian Oct 11, 2024
26d4ca6
ci/macos: change how the python version is found
bindea-cristian Oct 14, 2024
5372715
ci/macos: fix libserialport naming
bindea-cristian Oct 14, 2024
f310e06
core/emuwidget: Reorganizing the layout of emu page.
andreidanila1 Oct 15, 2024
55a10e3
generic: update icons for regmap and datalogger
IonutMuthi Oct 16, 2024
4483bf6
scopymainwindow: Set device manager exclusivity on false.
andreidanila1 Aug 27, 2024
1140e12
core: Added tool menu designs.
andreidanila1 Aug 30, 2024
248f93a
toolmenu: Added the first version of the new ToolBrowseMenu.
andreidanila1 Sep 13, 2024
a92ba66
dataloggerplugin: Use deleteLater for deleting TME objects.
andreidanila1 Sep 13, 2024
ee5f922
adcplugin: Changed toolList removal.
andreidanila1 Sep 13, 2024
4016854
gui/menucollapsesection: Use a BaseHeader instead of QLineEdit title.
andreidanila1 Sep 20, 2024
ea4a940
core/toolmenumanager: Added uri label for each menu item.
andreidanila1 Sep 20, 2024
6787f17
gui/res/icons: Added edit_pen icon.
andreidanila1 Sep 20, 2024
b0c6e8d
core: Changing the device name at runtime.
andreidanila1 Sep 20, 2024
8700e91
core/deviceiconimpl: Show the edit pen on hover.
andreidanila1 Sep 23, 2024
c0bdad3
plugins/dataloggerplugin: TME fixes.
andreidanila1 Sep 23, 2024
7f1dc33
plugins/m2kplugin: Cleanup fixes for TME.
andreidanila1 Sep 23, 2024
e8a64aa
plugins/regmapplugins: Cleanup fixes for TME.
andreidanila1 Sep 23, 2024
bd580f0
core/toolmenumanager: Save tool attached state on tool update.
andreidanila1 Sep 23, 2024
6c998af
gui/baseheader: Make BaseHeader an interface instead of abstract class.
andreidanila1 Sep 24, 2024
a13884c
gui/widgets: Added CompositeHeaderWidget.
andreidanila1 Sep 24, 2024
41ef0d9
gui/menucollapsesection: Add MenuHeaderWidgetType constructor parameter.
andreidanila1 Sep 24, 2024
ede5ee3
gui/stylehelper: Added tool menu styles.
andreidanila1 Sep 24, 2024
9838e81
core/browsemenu: Applied the style.
andreidanila1 Sep 24, 2024
b837176
toolmenuentry: Tools created at runtime cannot be detached.
andreidanila1 Sep 24, 2024
46f4d0e
core/toolmenu: Removed old ToolMenu.
andreidanila1 Sep 25, 2024
bf76f35
core/toolmenu: Renamed the new tool menu classes.
andreidanila1 Sep 25, 2024
c61f2cf
core/toolmenu: Minor changes.
andreidanila1 Sep 26, 2024
c2cbd44
core/doc/toolmenu: Update diagrams.
andreidanila1 Sep 26, 2024
2a1da94
pluginbase/toolmenuentry: Expose plugin param through TME.
andreidanila1 Oct 7, 2024
916d1d9
core/toolmenumanager: Use tme param instead of DeviceInfo struct.
andreidanila1 Oct 7, 2024
4eae32f
core/detachedtoolwindow: Add device uri to the window title.
andreidanila1 Oct 7, 2024
6e63e99
core/toolmenu: Layout alignments.
andreidanila1 Oct 15, 2024
b580850
m2kplugin: pass M2k* objects in the constructor rather than iio_context
AlexandraTrifan Oct 16, 2024
76388db
gui/ConnectionLoadingBar: Add loading bar when connecting to devices
Andrei-Fabian-Pop Oct 10, 2024
2e4945d
core: Fix connection crash with processEvents()
Andrei-Fabian-Pop Oct 16, 2024
0d8fa63
adc: add labels for measurements and statistics in the measurement menu.
AlexandraTrifan Oct 16, 2024
bb780eb
core: open external links from the About page.
AlexandraTrifan Oct 16, 2024
3288759
plotmanager: move plotmanager to gui
IonutMuthi Sep 24, 2024
f0a5cab
M2K: logic analyzer fix crash on annotation hover
andrei47w Oct 21, 2024
441489c
markercontroller: declare commented functions pure virtual.
AlexandraTrifan Oct 21, 2024
ff3b484
markercontroller: rename class to PlotMarkerController to avoid dupli…
AlexandraTrifan Oct 21, 2024
252c2d5
resourcemanager: Append device uri to resource name.
andreidanila1 Oct 17, 2024
9da0578
resourcemanager: Pass uri through constructor.
andreidanila1 Oct 21, 2024
ebcaa9d
core/toolmenumanager: Respond to tool requests from plugins.
andreidanila1 Oct 24, 2024
f970dfc
plugins: Added register map API
liealex Sep 3, 2024
a7214be
Added regmap js tests
liealex Sep 30, 2024
648bda1
gui/menusectioncollapsewidget: Changed the handling of the header.
andreidanila1 Oct 25, 2024
0a368dc
m2k: fix oversampling ratio == 0 bug causing division by 0
adisuciu Oct 28, 2024
359d6e5
m2k: fix signal generator run/stop button
adisuciu Oct 28, 2024
5b9349a
.cmake-format: preserve formatting of the copyright header
Adrian-Stanea Oct 22, 2024
037cce6
tools: add license scanner utility
Adrian-Stanea Oct 25, 2024
a290140
license headers: handle files with unknown license patterns
Adrian-Stanea Oct 28, 2024
354fbcc
license-headers: review GNU Radio Licenses
Adrian-Stanea Oct 28, 2024
218c728
license-headers: run batch_add_license_headers.sh script
Adrian-Stanea Oct 28, 2024
e5e4fde
license-headers: remove invisible symbol
Adrian-Stanea Oct 28, 2024
a287868
plugins/pqm: Added m_running member for each instrument.
andreidanila1 Oct 10, 2024
3b5d948
plugins/pqm: Added data logging infrastructure.
andreidanila1 Oct 10, 2024
3c1afe8
pqm: Fixes.
andreidanila1 Oct 22, 2024
716e0e5
pqm/emu: Added process_data attribute.
andreidanila1 Oct 25, 2024
3445def
pqm/waveform: Sync x axes of current plot and voltage plot.
andreidanila1 Oct 25, 2024
2df559f
pqm/harmonics: Changed harmonics min degree.
andreidanila1 Oct 25, 2024
104d969
generic: added redirect links to git docs on info btn click
IonutMuthi Oct 23, 2024
98ed4a2
datalogger: tutorial autostart first time tool is open
IonutMuthi Oct 25, 2024
cbdac51
dac: tutorial autostart on first time tool is open
IonutMuthi Oct 25, 2024
9f7c8dc
swiot: tutorial start first time tool is open
IonutMuthi Oct 25, 2024
7dfb0b6
core: added deviceconnecting signal
adisuciu Oct 21, 2024
454b11a
core: added Device statemachine, DeviceManager busy() and Scanner beh…
adisuciu Oct 21, 2024
464a5ce
core/scopymainwindow: pref variable was never used.
andreidanila1 Oct 18, 2024
f660042
core/devicemanager: Remove aboutToQuit connection.
andreidanila1 Oct 28, 2024
c79e4f2
core/autoconnect: Create device auto-connect infrastructure.
andreidanila1 Oct 18, 2024
66d24dc
cmake/scopyAbout: add git remote, branch and a git log in build info.
AlexandraTrifan Oct 29, 2024
7a4aa05
pqm: Added pqm icon.
andreidanila1 Oct 31, 2024
af13912
general: fix some warnings
adisuciu Oct 31, 2024
66b605e
general: fix clang-tidy and clazy fixits
adisuciu Oct 31, 2024
f80d3f5
adc: added description to the plugin
adisuciu Oct 31, 2024
b4147b4
iio-util: remove autogenerated file
adisuciu Oct 31, 2024
2e933c7
iioutil: make IIOScanTask quieter
adisuciu Oct 31, 2024
ad71ebd
docs: add documentation for home, add page, about, prefs and device l…
AlexandraTrifan Nov 1, 2024
0a37971
docs/user_guide: Minor changes.
andreidanila1 Nov 5, 2024
baa2b92
docs: do some final cleanup and link fixes.
AlexandraTrifan Nov 6, 2024
a03a7f8
generic/doc: update documentation to include informations about tutorial
IonutMuthi Oct 31, 2024
ea803cb
generic/doc: added redirect to wiki
IonutMuthi Oct 31, 2024
03af8c6
generic/doc: add bug report page
IonutMuthi Oct 31, 2024
0c91957
generic/doc: added troubleshooting page to doc
IonutMuthi Nov 1, 2024
4e57666
tools/license-header: improve header detection logic
Adrian-Stanea Oct 29, 2024
5561513
tools: automate the addition of license headers
Adrian-Stanea Oct 31, 2024
9f7d65a
ci: add license scanner job
Adrian-Stanea Nov 1, 2024
c4e647e
contributing: add step to ensure license headers is present
Adrian-Stanea Oct 31, 2024
ca3182a
tools/license_scan: performance improvement
Adrian-Stanea Nov 1, 2024
6716d7e
tools/license: fix report generation for false positives
Adrian-Stanea Nov 1, 2024
c342cdd
license-headers: handle inconsistent headers
Adrian-Stanea Oct 31, 2024
8b59164
tools/license: add exclude list for license check
Adrian-Stanea Nov 7, 2024
6e9736a
ci: change libiio branch to v0.26
bindea-cristian Oct 17, 2024
caa0f67
ci: update qwt
bindea-cristian Oct 17, 2024
13adca5
ci: add KDDockWidgets dependency
bindea-cristian Oct 17, 2024
4ef6b28
ci: update build-status format
bindea-cristian Oct 18, 2024
1cfc142
ci: build libserialport from sources
bindea-cristian Oct 18, 2024
6d98d46
ci/armhf: fix sysroot location and add header for wget download
bindea-cristian Oct 22, 2024
0e6dddd
ci: activate libiio DNS_SD switch
bindea-cristian Oct 31, 2024
923727b
Style: Implemented new styling infrastructure
andrei47w Oct 21, 2024
fde44ee
Style:: added m2k style
andrei47w Oct 21, 2024
93abb9b
Style: partial StyleHelper refactoring
andrei47w Oct 21, 2024
e1421dd
Style: CI fix
andrei47w Oct 21, 2024
7660ccb
Style: added legacy theme
andrei47w Oct 21, 2024
e6defcd
Style: added style previewer tool in test plugin
andrei47w Oct 15, 2024
2eb2089
Style: fix run and single buttons
andrei47w Oct 17, 2024
4fa48b0
Style: fixes from rebase with origin
andrei47w Oct 21, 2024
a58d989
Tool browser: update style
andrei47w Oct 22, 2024
8520012
Style: fix hardcoded icon theme folders
andrei47w Oct 22, 2024
2128765
Tool Browser: ToolMenuItem is now a button
andrei47w Oct 23, 2024
c1fa74c
ADC: Other menu is hidden when empty
andrei47w Oct 23, 2024
d907a54
GUI: MenuControlButton now changes label color
andrei47w Oct 23, 2024
f2770ea
GUI: MenuControlButton now changes label color
andrei47w Oct 23, 2024
5da89b2
gui: remove old unused stylesheets
andrei47w Oct 24, 2024
984d182
gui: add page added borders
andrei47w Oct 24, 2024
76c44d5
GUI: change yellow channel color and logo
andrei47w Oct 25, 2024
424465d
plugins/iioexplorer: Modify style to better reflect the design.
Andrei-Fabian-Pop Oct 24, 2024
d47a6b9
iio-widgets/DeviceAttrDataStrategy: Fix debug attrs operations
Andrei-Fabian-Pop Oct 25, 2024
32f5ff0
style/debugger: Change style to fully match design
Andrei-Fabian-Pop Oct 25, 2024
d3c68b3
style/debugger: change icon and tab bar size
andrei47w Oct 28, 2024
7ca4514
swiot: use menuspinbox instead of positionspinbutton where applicable.
AlexandraTrifan Oct 24, 2024
ade3917
swiot: modify style elements to fit the new style mechanism.
AlexandraTrifan Oct 24, 2024
c1f8f05
dac: style updates and stylehelper removal where needed.
AlexandraTrifan Oct 23, 2024
7b03a62
ADC: change complex and Sync btn style
andrei47w Oct 29, 2024
22c6647
Style: rename themes
andrei47w Oct 29, 2024
5102f91
Style: fix tutorial buttons and tab bars
andrei47w Oct 30, 2024
d650f84
gui/home page: fix style
andrei47w Oct 31, 2024
4f72506
generic/gui: update style for datalogger and regmap
IonutMuthi Oct 22, 2024
e37dff7
datalogger: icons update
IonutMuthi Oct 28, 2024
99c8b4e
generic/plot: update plot to use color from theme for labels
IonutMuthi Oct 28, 2024
b42d19c
regmap: style update
IonutMuthi Oct 28, 2024
a6e0898
generic: about page change documentation redirect from wiki to git
IonutMuthi Oct 30, 2024
eec0c6c
gui/browse menu: add line style
andrei47w Oct 31, 2024
532b176
gui/device icon: fix connection status line
andrei47w Oct 31, 2024
7786abe
style: Pqm updates.
andreidanila1 Oct 30, 2024
01f4548
core/toolmenumanager: Add left margin only for device menu items.
andreidanila1 Oct 24, 2024
18ef9fa
gui/stylehelper: Add fix size to CollapseCheckbox.
andreidanila1 Oct 24, 2024
285f668
gui/menusectioncollapsewidget: Added MenuSectionWidget getter.
andreidanila1 Oct 24, 2024
a0c4abd
gui/menucollapsesection: Remove line from header.
andreidanila1 Oct 30, 2024
a972a35
style: Add page changes.
andreidanila1 Oct 31, 2024
be53069
core/toolmenu: Added bottom border to section item.
andreidanila1 Oct 31, 2024
88cebce
iio-widgets: Apply new style for editable and combo strategies
Andrei-Fabian-Pop Oct 29, 2024
cbb48e8
gui: update text style for html
andrei47w Oct 31, 2024
e6f064f
pqm: Polar plot, waveform and settings style changes.
andreidanila1 Oct 31, 2024
e96a9e7
gui: general style fixes
andrei47w Nov 1, 2024
34757a9
adc: fix instrument name
adisuciu Oct 31, 2024
9715c3c
remove hover
IonutMuthi Nov 1, 2024
65449d8
gui: general style improvements
andrei47w Nov 5, 2024
e75a6d8
gui / smallOnOffSwitch: added lock mode
andrei47w Nov 6, 2024
3e6e91e
core/iiotabwidget: Style fixes.
andreidanila1 Nov 4, 2024
db93db6
core/emuwidget: Style fixes.
andreidanila1 Nov 4, 2024
105e8ea
plugins/m2kplugin: Apply basicButton style to extra buttons.
andreidanila1 Nov 4, 2024
7d087d8
plugins/pqm: Style fixes.
andreidanila1 Nov 5, 2024
fcba4c0
core/deviceimpl: Fix warning btn.
andreidanila1 Nov 5, 2024
9815627
style: add remaining fixes for the m2k plugin and revert some changes.
AlexandraTrifan Nov 5, 2024
f1cbe99
gui / browse menu: make save/load not checkable
andrei47w Nov 6, 2024
b00433e
style: Fix device, home and add button shadows
Andrei-Fabian-Pop Nov 1, 2024
cd7f3bf
style: Fix iio-widget inconsistencies
Andrei-Fabian-Pop Nov 4, 2024
2807646
style: Modify iioexplorer elements
Andrei-Fabian-Pop Nov 4, 2024
869443e
style/MeasurementSettings: Force BasicSmallButton to measurements
Andrei-Fabian-Pop Nov 6, 2024
03f53dd
style: Cleanup unnecesary functions
Andrei-Fabian-Pop Nov 6, 2024
fc95115
plugins/m2k: Adjust cursors settings size.
andreidanila1 Nov 7, 2024
795dc51
m2k/logic_analyzer: Adjust right menu to the new style.
andreidanila1 Nov 7, 2024
135ce4d
m2k/spectrum_analyzer: Set sweep menu min width.
andreidanila1 Nov 8, 2024
3eff040
m2k/ui: Removed right menu unnecessary margins for all instruments.
andreidanila1 Nov 8, 2024
2cea046
regmap: style updates
IonutMuthi Nov 1, 2024
cb9e871
general: add missing license headers
andrei47w Nov 8, 2024
b8245d1
CI: add .qss files to license exclude list
andrei47w Nov 8, 2024
37d7c0a
gui / style: qss cleanup
andrei47w Nov 8, 2024
4012806
style: fix bug where tutorial background was transparent
IonutMuthi Nov 11, 2024
07c69c8
gui / tutorial: remove chapter label style
andrei47w Nov 11, 2024
694d253
regmap: added tutorial
IonutMuthi Oct 24, 2024
ea1a81f
generic: bug fix for menu spinbox
IonutMuthi Nov 5, 2024
3dec6c3
datalogger: use menu spinbox for time
IonutMuthi Nov 5, 2024
d1da783
regmap: style updates
IonutMuthi Nov 14, 2024
5a08a0f
ci/arm: change folder name from armhf to arm
bindea-cristian Nov 4, 2024
422f8e4
ci/arm: add new workflow for scopy-arm64
bindea-cristian Nov 4, 2024
2fe0571
core/CMakeLists: change how Python links to Scopy on arm architectures
bindea-cristian Nov 18, 2024
dd79258
ci/arm: update copy-deps script
bindea-cristian Nov 18, 2024
38ed0ca
general: by default deactivate OpenGL rendering on armhf and arm64
bindea-cristian Nov 14, 2024
50f80ea
general: by default deactivate FPS information on plots
bindea-cristian Nov 14, 2024
d6ba772
m2k: deactivate runtime log
bindea-cristian Nov 14, 2024
faa6512
tools/js: Update readme.
andreidanila1 Nov 15, 2024
20bc11c
tools/js: Update the examples to the new scopy API.
andreidanila1 Nov 15, 2024
5c08949
ci/macos: overwrite already existing links when installing packages
bindea-cristian Nov 20, 2024
7db0e66
style/treeView: Add custom arrow icons for tree view items
Andrei-Fabian-Pop Nov 21, 2024
07cd855
iioexplorer/searchbar: Remove "Filter" label
Andrei-Fabian-Pop Nov 21, 2024
7f12ae0
gui: fixed detached tools background
andrei47w Nov 13, 2024
e78bf76
gui / iiowidgets: fix different color border
andrei47w Nov 14, 2024
efb57d5
gui / style: small fixes
andrei47w Nov 14, 2024
656c252
gui / preferences: added experimental font scaling
andrei47w Nov 20, 2024
a65b07d
gui / tab widget: fix alignment on MacOS
andrei47w Nov 20, 2024
27ba8f9
general: fix crash on exit at license menu
andrei47w Nov 21, 2024
1a8a138
gui / tooltips: fix style
andrei47w Nov 21, 2024
17f1f75
CMakeLists: Add optional fast compile using ccache
Andrei-Fabian-Pop Nov 21, 2024
6860e7f
pqm/logging: Make filename compatible across all operating systems.
andreidanila1 Nov 5, 2024
465d4d1
pqm/acqmanager: Adjust rms angle.
andreidanila1 Nov 6, 2024
66dbde2
pqm/acqmanager: Added adjust map function.
andreidanila1 Nov 8, 2024
55e463c
pqm/emu: Added PQEvents channels.
andreidanila1 Nov 11, 2024
86d14f2
pqm/acqmanager: Handle PQEvents.
andreidanila1 Nov 11, 2024
fed4c71
pqm/rms: Created log section.
andreidanila1 Nov 11, 2024
bfa715e
gui/res: Added notification bell.
andreidanila1 Nov 11, 2024
8f3a02e
pqm: Log validation changes (rms, harmonics and waveform).
andreidanila1 Nov 11, 2024
d9cb680
pqm: Added PQEvents notification button.
andreidanila1 Nov 12, 2024
d312ddc
pqm/settings: Removed calibration section.
andreidanila1 Nov 12, 2024
41b361a
pqm/pqmplugin: Fix ResourceManager bug.
andreidanila1 Nov 12, 2024
06a70a4
pqm/acqmanager: Destroy iio_buffer.
andreidanila1 Nov 13, 2024
40a8f76
pqm/pqmdatalogger: Wait for the file writing thread to finish.
andreidanila1 Nov 13, 2024
73823c8
pqm/pqmdatalogger: Use comma to separate the csv cells.
andreidanila1 Nov 19, 2024
09af156
pqm/pqmdatalogger: Rms data logging.
andreidanila1 Nov 19, 2024
0039c45
generic: info button with options
IonutMuthi Oct 22, 2024
0e2eb73
datalogger: info button added options for tutorial and documentation
IonutMuthi Oct 22, 2024
29351b8
swiot: info button added options for tutorial and documentation
IonutMuthi Nov 21, 2024
8de8823
regmap: info button added options for tutorial and documentation
IonutMuthi Nov 21, 2024
5771ed9
dac: info button added options for tutorial and documentation
IonutMuthi Nov 21, 2024
911db90
generic: add option to enable close btn for popup windet
IonutMuthi Nov 22, 2024
68b4e9e
debugger: fix spacing around splitters
adisuciu Nov 22, 2024
dc12c61
gui: tab width change and lineEdit border
andrei47w Nov 22, 2024
595c463
plugins / swiot: fix faults buttons
andrei47w Nov 25, 2024
0ae8000
logic analyzer: fix annotation empty string causing infinite loop
Adrian-Stanea Nov 25, 2024
b2fc1bf
gui / stylehelper: general refactoring
andrei47w Nov 26, 2024
40f9ad3
gui / popup and overlay: update on parent resize
andrei47w Nov 28, 2024
34ffd48
CI/MacOS: Disable the build workflow for MacOS 11
bindea-cristian Nov 24, 2023
fd7453b
ci/macos: remove macOS 12
bindea-cristian Oct 8, 2024
7e7bee2
ci/macos: add MacOS 14
bindea-cristian Apr 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
120 changes: 120 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
---
BasedOnStyle: LLVM
---
Language: Cpp
AccessModifierOffset: -8
AlignAfterOpenBracket: true
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: false
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: true
BinPackParameters: true
BraceWrapping:
AfterClass: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: false
AfterUnion: false
AfterExternBlock: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Mozilla
BreakBeforeInheritanceComma: false
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: BeforeComma
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: false
ConstructorInitializerIndentWidth: 8
ContinuationIndentWidth: 8
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"boost'
Priority: 6
- Regex: '^<boost'
Priority: 6
- Regex: '^"ui_'
Priority: 2
- Regex: '^"*"'
Priority: 1
- Regex: '^<iio.h'
Priority: 3
- Regex: '^<gnuradio'
Priority: 4
- Regex: '^<Q'
Priority: 5
- Regex: '^<*'
Priority: 6
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: false
IndentPPDirectives: None
IndentWidth: 8
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ObjCBlockIndentWidth: 8
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: false
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 8
UseTab: Always
...
Empty file added .clangformatignore
Empty file.
12 changes: 12 additions & 0 deletions .cmake-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bullet_char: '*'
dangle_parens: True
enum_char: .
line_ending: unix
line_width: 120
max_pargs_hwrap: 4
max_subgroups_hwrap: 3
separate_ctrl_name_with_space: false
separate_fn_name_with_space: false
tab_size: 8
use_tabchars: True
first_comment_is_literal: true
27 changes: 27 additions & 0 deletions .github/contributing/coding-guidelines.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Scopy C++ coding guidelines

- Member variables should be prefixed with `m_`
- Getters and setters should be like in the following example:
```c++
bool m_enable;
bool enabled() const { return m_enable; }
void setEnabled(bool en) { m_enable = en; }
```
- `Variables` are `camelCase` (start with lowercase, and each word after that is uppercase)
- `Class names` always start with an `uppercase` letter.
- File names should be in full lowercase (header and source files)
- The class name should match the file name (case-insensitive)
- Always use explicit Qt macros (e.g. use `Q_SLOTS`, do not use slots)
- When naming classes, refrain from using Manager/Controller too much - https://stackoverflow.com/questions/1866794/naming-classes-how-to-avoid-calling-everything-a-whatevermanager and https://gist.github.com/hurricane-voronin/9ceccace0fd530bbf17c83b059c86eb7
- When implementing design patterns keep naming consistent so everyone is on the same page
- Strategy pattern example - https://github.com/analogdevicesinc/scopy/tree/dev/plugins/regmap/src/readwrite
- Singleton pattern example - https://github.com/analogdevicesinc/scopy/blob/dev/pluginbase/include/pluginbase/preferences.h
- Factory pattern example - https://github.com/analogdevicesinc/scopy/blob/dev/core/include/core/devicefactory.h
- Are factories singleton?
- Or are they static classes?
- Do they have QObject parents?
- Resources for design patterns:
- https://refactoring.guru/
- https://www.youtube.com/watch?v=v9ejT8FO-7I&list=PLrhzvIcii6GNjpARdnO4ueTUAVR9eMBpc
- Design Patterns: Elements of Reusable Object-Oriented Software Design patterns – Gang of Four
- Be aware of code smells - https://refactoring.guru/refactoring/smells , while not errors in the common sense, these "signs" suggest a deeper problem in design/architecture.
108 changes: 108 additions & 0 deletions .github/contributing/project-structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Git Process

### Some resources

- https://opensource.com/article/18/6/anatomy-perfect-pull-request

#### When working on a new feature:
- Move to the starting point
- Resynchronize tree with remote
- Create new branch from starting branch

#### Example:

```bash
git checkout dev
git pull
git checkout -b <new_branch_name>
```

> [!NOTE]
> Prefixing branch name:
> - dev_ for branches starting from dev
> - ci_ for ci work
> - exp_ for experimental work – will never be merged back
> - v<x.xx.xx> - for releases and release candidates
>
> Example:
> ```bash
> git checkout -b dev_cursor_refactor origin/dev
> ```

- Implement feature – commit and push work as needed – refer to commit message structure
- Apply code styling - (usually done by running `./tools/format.sh`)
- Run license header completion - (usually done by running `./tools/license.sh`)
- Resynchronize with latest changes to starting point and push again. Example
```bash
git fetch
git rebase origin/dev
git push
```
- Create pull request
- Make sure CI tests pass. Assign reviewers.
- Discuss review, and implement changes as needed. Try to refrain from force pushing at this point as it makes everyones job a little harder. When finished, all the commits can be squashed/reorganized as needed
- Make sure PR is synchronized with starting point. Test feature before merge.
- Close PR - use only `Rebase and merge` or `Squash and merge`. Do not use Create merge commit

# Git commit message structure

Some resources:
- https://cbea.ms/git-commit/
- https://github.blog/2022-06-30-write-better-commits-build-better-projects/
- https://dhwthompson.com/2019/my-favourite-git-commit

A commit message should have the following structure:

```text
prefix/subprefix: short description (max 80 char)

longer description that explains why the change is needed as well as some
subtleties of the change. Can refer to other commit SHA as well as github
issues

Signed-off by: author.name <[email protected]>
```

Refer to project specific documentation for module names and description

Some possible prefixes:

| Module name | Description |
|-------------|-----------------------------------------------------------------------------------------------------------|
| project | A change in project structure – nonfunctional changes |
| tree | Change that applies to many files in the project – such as styling, addressing a warning, etc |
| cmake | Changes related to general project cmake or cmake modules. (assuming cmake is the project config tool) |
| ci | CI and deployment |
| doc | Add documentation or documentation infrastructure |
| tests | Add tests or testing infrastructure |
| toolsTools | related to the project |
| general | A change that affects multiple parts of Scopy – should not be used unless other module names do not apply |
| \<module> | Project specific module |


# Default Branches

| Branch name | Description |
|--------------------|--------------------------------------------------------------------------------------------------------------------|
| dev | Contains next major features of the project – contains multiple features bundled together. Will be merged to main. |
| main | main branch – used to integrate changes and create releases. Locked – history cannot be overwritten |
| maint-1.5 | maintenance branch for the projectv1.5 – bug fixes for scopy 1.5 are created here. Used to create v1.5.x releases |
| v<x.xx.xx>[-rc<x>] | Version branch of the project. Versioned releases and release candidates. Locked. |

# Review process
After creating a pull request, the developer should ask reviewers to review their code. Ideally the pull request
should contain only one feature/bug which can be easily understood by the reviewer.

When reviewing keep a few things in mind

- Does the pull request pass automated tests/ styling checks/ etc. ?
- Is the intent clear ?
- Is the solution directly addressing the problem ?
- Is the solution clear ?
- Is the code implementing the solution clear ? Can it be simplified ?
- Does the code introduce any maintenance effort ?
- Are there any side effects to the solution ?
- Can the solution be tested ?
- Can the solution be automatically tested ? Is the automatic test implemented ?
- Are code commits structured nicely ? Commits shouldn't be too big, each commit should address a single change in the code. There should be no "

46 changes: 46 additions & 0 deletions .github/workflows/android-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: android-apk build

on: [push, pull_request]

env:
BUILD_HOST: ubuntu-latest
USERNAME: github-actions

jobs:

make-apk:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Pull the Docker Image
run: docker pull analogdevices/scopy-build:1.4.1-android
- name: Run Docker Image
run: |
$GITHUB_WORKSPACE/CI/appveyor/gen_ci_envs.sh > $GITHUB_WORKSPACE/CI/appveyor/gh-actions.envs
docker run --privileged --net=host \
-v `pwd`:$GITHUB_WORKSPACE:rw \
-e "BRANCH=${GITHUB_REF#refs/heads/}" \
--env-file $GITHUB_WORKSPACE/CI/appveyor/gh-actions.envs \
analogdevices/scopy-build:1.4.1-android /bin/bash -xe $GITHUB_WORKSPACE/CI/appveyor/build_scopy_apk.sh
- uses: actions/upload-artifact@v2
with:
name: scopy-android
path: |
${{ github.workspace }}/*.apk
${{ github.workspace }}/*.aab
${{ github.workspace }}/scopy*android-native-symbols.zip


- name: Upload master apk and aab builds to continous prerelease
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: |
ARTIFACTS_ARCHIVE=scopy-${GITHUB_SHA::7}-android.zip
zip ${ARTIFACTS_ARCHIVE} *.apk *.aab

wget https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz
tar xvf ghr_v0.13.0_linux_amd64.tar.gz

ghr_v0.13.0_linux_amd64/ghr -u ${{ github.repository_owner }} -r scopy -name "Continuous build" -b "Latest succesful master build " -prerelease -debug -replace continous ${ARTIFACTS_ARCHIVE}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46 changes: 0 additions & 46 deletions .github/workflows/android-build.yml

This file was deleted.

Loading
Loading