René Stadler
200c732056
Resize time and log level columns after zoom change
2014-09-11 20:51:46 +02:00
René Stadler
d7c5942403
Store zoom level in state
2014-09-11 20:51:46 +02:00
René Stadler
5b07a1fc39
Add zoom reset action
2014-09-11 20:51:46 +02:00
René Stadler
b866669ae1
Refactor and fix zoom handling
...
ColumnManager has to apply the zoom factor to newly added columns. Otherwise,
showing a previously hidden column appears with scale 1.0.
This also drops the value-changed signal emission for the vadjustment, as it is
apparently not needed.
2014-09-11 20:51:46 +02:00
Stefan Kost
4e334e0e00
Add 'fixme' and 'trace' log levels
2014-09-11 20:51:46 +02:00
Stefan Kost
5fae4aa235
timeline: add tooltip to histogram as well
2014-09-11 20:51:46 +02:00
Stefan Kost
aa9db8ef8e
Add zoom in/out actions, reduce vertical row padding
...
Add two actions to shrink and enlarge the text in the log pane. Add a theme
overide to set expander size to 1 (see bug #615985 ) and also turn focus lines
off. Remove extra ypadding on cells.
2014-09-11 20:51:46 +02:00
Andrzej Bieniek
ce72ad583e
Fix --version option
2014-09-11 20:51:46 +02:00
René Stadler
1b724edcac
Improve wording of hide lines actions
...
These also appear in the context menu of the timeline. The more generic wording
makes more sense for the timeline, since you do not pinpoint any specific line
in this case.
2014-09-11 20:51:46 +02:00
René Stadler
c89cada72a
timeline: fix grey background artifact when enlarging window
2014-09-11 20:51:46 +02:00
René Stadler
05aa65551a
Fix glib warnings on model property access
...
Seems like pygobject can all of the sudden not handle a NULL model on a
property. Using the getter works around this. Also using the setter now for
consistency.
2014-09-11 20:51:46 +02:00
René Stadler
e46367c073
timeline: fix possible lag when dragging on timeline
...
I need to idle-aggregate scroll updates, since gtk performs heavy operations in
a synchronous fashion here (ironically, they do that to make scrolling smooth).
2014-09-11 20:51:46 +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
4adee5c7f0
Main: fix import
2014-09-11 20:51:46 +02:00
René Stadler
8cfe17d064
Remove stale GUI module
2014-09-11 20:51:46 +02:00
René Stadler
097cacebbd
Add new base time feature
...
The log view context menu gains a new action "Set base time", which changes the
time column to show the delta to the selected row.
2014-09-11 20:51:46 +02:00
René Stadler
d71d09759b
Split giant GUI module into submodules
2014-09-11 20:51:46 +02:00
René Stadler
7b57fe2423
timeline: fix timestamp binary search
...
Fixes dragging the mouse over bigger gaps of log activity making the red
position rectangle come out next to the mouse pointer. Also selects the proper
row now, not randomly 1-2 rows before or after the gap.
2014-09-11 20:51:45 +02:00
René Stadler
3a90836f82
GUI: remove unused imports
2014-09-11 20:51:45 +02:00
René Stadler
390262a363
Cleanup whitespace
2014-09-11 20:51:45 +02:00
René Stadler
63e62b670f
Rename UIManager file
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
7dcd3db661
Use mmap in a portable way
2014-09-11 20:51:45 +02:00
René Stadler
984549d45a
Add FIXME comments
2014-09-11 20:51:45 +02:00
René Stadler
867a312f93
GUI: Fix edit-copy-line action crashing/copying wrong line
...
When the view was unfiltered, this crashed. When the view was range filtered,
this copied the wrong line.
Spotted by Stefan Kost.
2014-09-11 20:51:45 +02:00
René Stadler
7fdbfa2cf4
Move more attribute lookups out of loops for speed
2014-09-11 20:51:45 +02:00
René Stadler
ff146e1cb1
Add support for recent log format changes, be more tolerant on whitespaces, cope with object names containing '>'
2014-09-11 20:51:45 +02:00
René Stadler
c9aeb0ce2b
Update vertical timeline when the widget size changes
2014-09-11 20:51:45 +02:00
René Stadler
c96c55a62c
Fix bottom view showing the wrong selected log line
2014-09-11 20:51:45 +02:00
René Stadler
29ce10fb46
Fix bottom view line activating the wrong line after filtering
2014-09-11 20:51:45 +02:00
René Stadler
e75b817b72
Fix bottom view not showing current line until you add something there
2014-09-11 20:51:45 +02:00
René Stadler
43badaea0c
Faster handling of partial expose events in timeline
2014-09-11 20:51:45 +02:00
René Stadler
ebda9480c3
Mention GStreamer in --help output
2014-09-11 20:51:45 +02:00
René Stadler
be38bc2906
Allow to cancel a running filter process
2014-09-11 20:51:44 +02:00
René Stadler
313d671fbf
Make hide before/after action insensitive when first/last line is selected
2014-09-11 20:51:44 +02:00
René Stadler
53becaa72c
Add filtering for object name and source code filename
2014-09-11 20:51:44 +02:00
René Stadler
35c11f13ab
Add FIXME comment
2014-09-11 20:51:44 +02:00
René Stadler
b5caf22bdb
Create own menu structure for log view context menu
2014-09-11 20:51:44 +02:00
René Stadler
04d90a4e38
Sync show-timeline action state before connecting signal handler
2014-09-11 20:51:44 +02:00
René Stadler
8b6e0d193f
Timeline.py: Move per-window management into own class
2014-09-11 20:51:44 +02:00
René Stadler
500e68ca3e
Re-format long line
2014-09-11 20:51:44 +02:00
René Stadler
e1182e28c3
Replace gdk.ALL_EVENTS_MASK with proper minimal set of event flags
2014-09-11 20:51:44 +02:00
René Stadler
aa7c3747ba
Move performance test program into its own file
2014-09-11 20:51:44 +02:00
René Stadler
2b2e3c11c8
Allow creation of more than one window
2014-09-11 20:51:44 +02:00
René Stadler
f998069d6b
Add TODO comment
2014-09-11 20:51:44 +02:00
René Stadler
e5d490cabe
Use GdkColors for level column, cleanup color handling
2014-09-11 20:51:44 +02:00
René Stadler
9fe8b55ecb
Replace linear-time filtered index search with usage of bisect module
2014-09-11 20:51:44 +02:00
René Stadler
e971bda1ae
Restore visible range of log view when changing filter
2014-09-11 20:51:44 +02:00
René Stadler
b155f21610
Resolve small FIXME in SubRange
2014-09-11 20:51:44 +02:00