28 Commits

Author SHA1 Message Date
Chris Gorman
504102b4b9 GRC: config directory creation shouldn't create dir named as config file
- we want to make a directory to to contain the file grc.conf,
  newpath is the full pathname with the file included.  Make
  the directory without using newpath as it creates directories
  $HOME/.config/gnuradio/grc.conf.
- In exception block we need to run os.makedirs on the directory part
  of the path only.

Signed-off-by: Chris Gorman <chrisjohgorman@gmail.com>
2024-06-27 17:08:27 -04:00
Marcus Müller
38435f7fe9 GRC: GR conf&persistent paths instead of ~/.gnuradio || ~/.grc_gnuradio
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
2024-06-09 06:57:11 -04:00
Volker Schroer
0990cb2029 grc-qt: grc --qt filename.grc doesn't open filename.grc
Now the list of files specified on the cl for grc is appended to
the list of files to be opened on startup.

fixes #7291

Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
2024-05-08 18:17:04 -04:00
Volker Schroer
c137c59657 grc_qt: save panel settings
In View-> Panels four panels can be enabled and disabled.
But these settings are not saved and restored.
This is done now

Remove wiki option from commandline.
Remove display_wiki from available preferences, use panel settings instead.

Signed-off-by: Volker Schroer <3470424+dl1ksv@users.noreply.github.com>
2024-04-15 15:40:20 -04:00
Jeff Long
5b5234d519 grc: formatting for qt-gui
Signed-off-by: Jeff Long <willcode4@gmail.com>
2024-03-15 15:11:27 -04:00
Håkon Vågsether
ee6fc4a419 grc: Add GRC Qt
Signed-off-by: Håkon Vågsether <hakon.vagsether@gmail.com>
2024-03-15 15:11:27 -04:00
Seth Hitefield
7e89601fd1 grc: fixing logger prefix
Signed-off-by: Seth Hitefield <sdhitefield@gmail.com>
2023-01-07 12:52:22 -05:00
Seth Hitefield
bc4d72188b grc: set the gtk version before importing
Importing gtk before requiring a specific version can cause issues
if multiple versions of gtk are installed on a system.

Signed-off-by: Seth Hitefield <sdhitefield@gmail.com>
2023-01-07 12:52:22 -05:00
Josh Morman
b7828c950c grc: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
2021-11-24 14:41:53 -05:00
Seth Hitefield
17d6d6607c grc: Remove extra logger in grc/core/platform
This is an update for PR #2424. The extra debug output from GRC was
being generated by another logger instance in grc/core/platform that
did not respect the command line arguments.

This removes the extra logger and sets the logger level in main to
whatever is requested from the command line. See grc/main.py:43 for more
detail.
2021-01-11 12:27:55 -08:00
Clayton Smith
d07416e123 grc: fix pylint C0303: Trailing whitespace 2020-10-20 15:16:48 +02:00
devnulling
9a453c2ca6 Update license header to SPDX format 2020-01-27 19:56:21 -08:00
Ron Economos
2aef75b639 grc: Increase logging level to INFO. 2019-03-31 23:31:10 +02:00
Brennan Ashton
f131a399f9 grc: remove dead GTK2 call to window_set_default_icon 2018-11-15 15:44:05 -08:00
Seth Hitefield
566f61e23d grc: Starts on both Python 2 and 3 2017-07-30 17:58:36 -04:00
Sebastian Koslowski
113d266349 grc: added yaml/mako support
Includes basic converter from XML/Cheetah to YAML/Mako based block format.
2017-06-29 09:16:49 -07:00
Seth Hitefield
eb27074a35 grc: gtk3: Small fixes for PR 1299 2017-05-11 12:52:11 -07:00
Seth Hitefield
b4cd681e1c grc: gtk3: Converted actions to Gio.Action instead of Gtk.Action 2017-05-03 07:07:59 -07:00
Seth Hitefield
1bad79ca62 grc: refactor: Added logging 2016-09-23 16:18:10 -04:00
Seth Hitefield
871fa4b213 grc: gtk3: Renamed the ActionHandler to Application 2016-09-23 16:18:10 -04:00
Seth Hitefield
1dde868ffb grc: gtk3: Converted to Gtk.Application (ActionHandler) and Gtk.ApplicationWindow (MainWindow) 2016-09-22 12:05:42 -04:00
Sebastian Koslowski
b80c4dbddb grc: refactor: make gr.prefs() optional (for testing) 2016-09-19 04:17:40 -06:00
Sebastian Koslowski
6c689a1af9 grc: gtk3: update main and checks 2016-07-13 17:22:22 +02:00
Sebastian Koslowski
6a4e210aa1 Merge remote-tracking branch 'grcwg/next_grcwg' into gtk3 2016-07-13 16:30:36 +02:00
Sebastian Koslowski
b9881b6ff5 grc: py3k compat using python-modernize 2016-06-09 14:47:35 +02:00
Seth Hitefield
f337362360 grc: Main window opens with pygobject and gtk3. Still throws tons of errors. 2016-05-24 11:11:33 -04:00
Jiří Pinkava
0dc1923a1f grc: gnuradio-companion use ArgumentParser 2016-05-03 07:21:30 +02:00
Sebastian Koslowski
9391e844b6 grc-refactor: CMake fixes, start-up script cleaned up 2016-04-15 22:57:22 +02:00