Commit graph

342 commits

Author SHA1 Message Date
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
Philippe Normand a11b78a57d debug-viewer: remove broken/unimplemented plugins 2018-04-14 14:34:18 +01:00
Xabier Rodriguez Calvar 8db603f8c8 debug-viewer: solved crash when maximum freq sentinel is 0
https://bugzilla.gnome.org/show_bug.cgi?id=794282
2018-03-13 10:21:36 -03:00
Thibault Saunier 70dcd99599 debug-viewer: Fix copying current line 2018-03-12 12:11:18 -03:00
Thibault Saunier 2028291219 debug-viewer: Add an appdata file 2018-03-12 11:27:18 -03:00
Xabier Rodriguez Calvar 831a70bf9a debug-viewer: fix names of actions/functions
https://bugzilla.gnome.org/show_bug.cgi?id=793241
2018-02-22 21:48:59 -05:00
Xabier Rodriguez Calvar 07cd72be78 debug-viewer: Added filter for threads
https://bugzilla.gnome.org/show_bug.cgi?id=793241
2018-02-22 21:48:58 -05:00
Xabier Rodriguez Calvar 8c93cc156f debug-viewer: Added filter for function
https://bugzilla.gnome.org/show_bug.cgi?id=793241
2018-02-22 21:48:58 -05:00
Xabier Rodriguez Calvar 47415e50e1 debug-viewer: Fixed C++ destructors detection
https://bugzilla.gnome.org/show_bug.cgi?id=793447
2018-02-16 13:12:42 +00:00
Xabier Rodriguez Calvar 50db93006e debug-viewer: Fix C++ detection of lambdas as function
https://bugzilla.gnome.org/show_bug.cgi?id=793422
2018-02-14 00:40:07 +00:00
Olivier Crête 0aea5f29e3 debug-viewer; Store thread as long instead of int
On 64-bit platforms, the thread id can be over 2^32 so use a long
to handle it.
2018-02-08 08:20:55 -07:00
Stefan Sauer 9ca26b661d debug-viewer: inline expression 2016-12-20 08:24:57 +01:00
Stefan Sauer 3b1e2833a3 debug-viewer: window: add helper to get visible range
Move this code to the window class, as multiple plugins are going to need it.
2016-10-10 15:59:49 +02:00
Stefan Sauer 561c612472 degbug-viewer: models: only temporarilly modify the row for filtering
This avoid that we have to chek the type in the getter.
Also update the comment - we need the strip since the readline call
will not strip the newline.
2016-10-10 12:33:06 +02:00
Stefan Sauer 0ccab37b65 debug-viewer: app: Switch for rc_parse to css
This gets us the line shading back and some size savings.
2016-10-08 22:52:21 +02:00
Stefan Sauer 2019397059 debug-viewer: models: allow filter to check COL_MESSAGE
COL_MESSAGE contains the message offset as an internal optimization. When
preparing a row for filters, we need to replace this. Otherwise filters
get an 'int' instead of the 'string' they expect.
2016-10-08 22:52:21 +02:00
Stefan Sauer 3f06e2baaa debug-viewer: small code cleanups
Inline a few statements. Remove unused variables.
2016-09-30 22:34:25 +02:00
Stefan Sauer 0e4d6664d4 debug-viewer: add a few doc strings 2016-09-30 22:34:25 +02:00
Stefan Sauer 9e4e2b5542 debug-viewer: initialize all features from tuples
Also add a first doc string about the plugin initialisation.
2016-09-28 21:19:29 +02: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 3da48e7d61 debug-viewer: cleanup imports in plugins
Don't use * imports. Don't rely on package level imports.
2016-09-28 20:34:53 +02:00
Nicolas Dufresne 498e78897b debug-viewer: Allow running uninstalled with symlink
When uninstalled, we look at the directory of the executable to find
the resources. This patch uses realpath in replacement to abspath so
the path get expended, and symlink are followed.
2016-05-03 15:53:09 -04:00
Xabier Rodriguez Calvar 82910a13af Added menu opts to filter in instead of only out
Added also menu option to filter a log level and all above that

https://bugzilla.gnome.org/show_bug.cgi?id=763857
2016-04-04 22:28:15 +02:00
Xabier Rodriguez Calvar ba4afd7b66 Added support to filter in instead of only out
Added support to filter a log level and all above it

https://bugzilla.gnome.org/show_bug.cgi?id=763857
2016-04-04 22:28:15 +02:00
Stefan Sauer 580c3a55d7 filter: add more logging 2016-04-04 22:23:26 +02:00
Stefan Sauer 379e3970c6 menu: port menu.popup calls
Add 1 extra arg.
2016-03-25 22:20:11 +01:00
Philippe Normand 66a6d948a6 debug-viewer: use the gi GLib version rather than the old gobject glib package 2016-03-25 18:58:49 +01:00
Philippe Normand ae13b16205 debug-viewer: explicitely require GTK+3 2016-03-25 18:58:49 +01:00
Stefan Sauer 016449a53c debug-viewer: add more logging and some profiling how-to
The port is much slower than the gtk3 version. Try to figure why.
2016-03-25 18:58:49 +01:00
Stefan Sauer 248d18ee72 GstDebugViewer/Timeline: port timeline widgets to gtk3 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 658690c296 timeline: disable tooltip while scrolling 2014-09-11 20:51:48 +02:00
René Stadler 44d94c72e0 Hide some columns by default 2014-09-11 20:51:48 +02:00
René Stadler 1a4374809b columns: optimize cell data functions a little 2014-09-11 20:51:48 +02:00
René Stadler a83c471d00 Fix crash when copying row to clipboard 2014-09-11 20:51:48 +02:00
René Stadler b3960cf8e0 timeline: fix incorrect position after scrolling using the timeline
Apparently events are dropped internally, so the last position after you stop
dragging can be off.
2014-09-11 20:51:48 +02:00
René Stadler 8e2000a3e2 models: store line offsets in arrays 2014-09-11 20:51:48 +02:00
René Stadler 66ed3bb258 Use pango markup instead of attributes
Attributes don't work from introspection, so this blocks porting to gtk3.

In MessageColumn, admit that multiple highlighters don't actually work.
2014-09-11 20:51:48 +02:00
René Stadler 634f17ed7d findbar: highlight multiple matches in a message 2014-09-11 20:51:48 +02:00
René Stadler 6cfca1c322 timeline: only redraw updated parts of the graph
Improves rendering performance a lot.
2014-09-11 20:51:48 +02:00
René Stadler af308379b4 timeline: fix position rectangle missing on first click
Regression caused by previous commit.
2014-09-11 20:51:48 +02:00
René Stadler 985ef29bb3 timeline: only redraw required areas when updating position rectangle 2014-09-11 20:51:48 +02:00
René Stadler bf28e9464e Fix crash when range filtering
Regression from 25cfe9 (timeline: make log level calculation a lot faster).
2014-09-11 20:51:48 +02:00
René Stadler ca6aee7388 timeline: clean up widget drawing 2014-09-11 20:51:48 +02:00
René Stadler 2d508773cc timeline: make log level calculation a lot faster
This is the step where the timeline graph gets colored with the individual log
level colors. It's roughly 4.5 times faster now. Probably can be made even
better, the code also needs a cleanup.
2014-09-11 20:51:48 +02:00
René Stadler 103700a254 Data: improve stripped log file loading performance
A ~9% improvement for files without colors. This now slightly outperforms the
code before color support was added.
2014-09-11 20:51:48 +02:00
René Stadler 6061f34506 Data: also yield while loading unparseable files
Otherwise, the UI would be blocked while loading something big that is not a
log file at all.
2014-09-11 20:51:48 +02:00
René Stadler fb032c177f Remove color stripping script 2014-09-11 20:51:48 +02:00