Commit graph

28 commits

Author SHA1 Message Date
Thibault Saunier
6f9e5d4494 Pass python files through autopep8 2019-04-03 13:38:42 +00:00
Thibault Saunier
48c7ccdc94 debug-viewer: Fix raising unhandled exception
Old code was uselessly complex
2018-04-19 14:26:23 -03:00
Thibault Saunier
cb4342b8f2 debug-viewer: Port to meson
This allows us to run unit test as part of ninja test and have versionning
in sync. Also the goal is to have everything inside meson.

https://bugzilla.gnome.org/show_bug.cgi?id=795282
2018-04-15 20:50:22 -03:00
Philippe Normand
1533775381 debug-viewer: Dispatcher source ID clean-up
This patch fixes this runtime warning:
GstDebugViewer/Common/Data.py:67: Warning: Source ID 17 was not found when attempting to remove it
  GObject.source_remove(self.source_id)
2018-04-15 11:28:33 +01:00
Philippe Normand
8a9d72b7e6 debug-viewer: PEP8 all the things 2018-04-15 10:56:12 +01:00
Philippe Normand
e557b5326d debug-viewer: Port to Python3
And fix unit-tests.

https://bugzilla.gnome.org/show_bug.cgi?id=795260
2018-04-15 10:56:12 +01:00
Stefan Sauer
d783c9cf36 formatting: run autopep8 over all files
We have a commit hook on the repo. Get all files to match the pep8 guidelines.
2016-09-28 20:38:55 +02:00
Stefan Sauer
379e3970c6 menu: port menu.popup calls
Add 1 extra arg.
2016-03-25 22:20:11 +01:00
Philippe Normand
ae13b16205 debug-viewer: explicitely require GTK+3 2016-03-25 18:58:49 +01:00
Stefan Sauer
9deda12d08 GstDebugViewer: basic port to gtk3 and python gobject 2016-03-25 18:58:49 +01:00
René Stadler
421b437167 GUI: use 'with' statement 2014-09-11 20:51:47 +02:00
René Stadler
7a05a716d2 Switch to new try..except syntax
This is forward compatible to Python 3.
2014-09-11 20:51:47 +02:00
René Stadler
1d009ac3c5 GUI: Work around GtkBuilder name property API break (gtk+ 2.20) 2014-09-11 20:51:46 +02:00
René Stadler
390262a363 Cleanup whitespace 2014-09-11 20:51:45 +02:00
René Stadler
6369acee76 Migrate from glade to GtkBuilder 2014-09-11 20:51:45 +02:00
René Stadler
b468acd836 Fix logging being on by default with recent Python
The fix for Python issue #1021 uncovered a mistake of mine.  I was under the
impression that logging.NOTSET level means "off", but in fact it means to not
modify the level, and setting that on the root logger with basicConfig leads to
turning on all levels.
2014-09-11 20:51:45 +02:00
René Stadler
9e3ebe40cd Make option parser work with glib before 2.13.2 2014-09-11 20:51:44 +02:00
René Stadler
e3d2cfb035 When right clicking to open a context menu, pass the event on (which selects the row) 2014-09-11 20:51:43 +02:00
René Stadler
a6f268ab4b Add GUI utility function to add a popup menu to a widget 2014-09-11 20:51:42 +02:00
René Stadler
635659a6b9 Correctly set sensitivity of row action group 2014-09-11 20:51:40 +02:00
René Stadler
b948b7b6e5 Fix handling of filename command line argument 2014-09-11 20:51:40 +02:00
René Stadler
6f371b8b3a Use low idle priority for dispatching, to fix initial vtimeline display 2014-09-11 20:51:40 +02:00
René Stadler
d4237c5600 Save state of timeline visibility 2014-09-11 20:51:39 +02:00
René Stadler
6e056f8e20 Refactor state/config classes to be more flexible 2014-09-11 20:51:39 +02:00
René Stadler
13a1310e44 Fix copyright/license headers and module docstrings 2014-09-11 20:51:39 +02:00
René Stadler
7cda31f6c7 Don't make timeline data processing block the GUI 2014-09-11 20:51:38 +02:00
René Stadler
5a0fff722b Ease importing of modules from the Common package 2014-09-11 20:51:38 +02:00
René Stadler
71cddb7d78 New import (the old repo got busted, just had 4 revs anyways) 2014-09-11 20:51:36 +02:00