platform/upstream/gstreamer.git
9 years agoMake RangeFilteredLogModel internal to GUI.models
René Stadler [Thu, 23 Aug 2012 23:42:00 +0000 (01:42 +0200)]
Make RangeFilteredLogModel internal to GUI.models

9 years agoAlways use a filtered log model in the log view
René Stadler [Thu, 23 Aug 2012 23:40:24 +0000 (01:40 +0200)]
Always use a filtered log model in the log view

Preparing to phase out RangeFilteredLogModel.

9 years agomodels: cleanup dead code
René Stadler [Thu, 23 Aug 2012 23:37:27 +0000 (01:37 +0200)]
models: cleanup dead code

9 years agowindow: prevent default handler for delete-event from running
René Stadler [Fri, 30 Mar 2012 23:16:25 +0000 (01:16 +0200)]
window: prevent default handler for delete-event from running

9 years agowindow: set to insensitive during load/filter operations
René Stadler [Thu, 23 Aug 2012 23:26:32 +0000 (01:26 +0200)]
window: set to insensitive during load/filter operations

9 years agowindow: show error for unparseable files
René Stadler [Thu, 23 Aug 2012 23:20:05 +0000 (01:20 +0200)]
window: show error for unparseable files

9 years agowindow: replace progress and error dialogs with InfoBars
René Stadler [Thu, 23 Aug 2012 22:24:55 +0000 (00:24 +0200)]
window: replace progress and error dialogs with InfoBars

9 years agowindow: set wmclass, to have a nicer app name when running uninstalled
René Stadler [Thu, 23 Aug 2012 22:10:05 +0000 (00:10 +0200)]
window: set wmclass, to have a nicer app name when running uninstalled

9 years agoData: fix up out-of-order log lines
René Stadler [Wed, 16 Nov 2011 19:37:21 +0000 (20:37 +0100)]
Data: fix up out-of-order log lines

This is important because we rely on monotonically increasing timestamps for
binary searches in various places.

Overhead for an already sorted file with 1 million lines is less than 5%.

9 years agowindow: connect action handlers using a function decorator
René Stadler [Wed, 16 Nov 2011 19:23:31 +0000 (20:23 +0100)]
window: connect action handlers using a function decorator

A bit esoteric, but better than maintaining the list of action names.

9 years agoGUI: use 'with' statement
René Stadler [Wed, 16 Nov 2011 18:50:06 +0000 (19:50 +0100)]
GUI: use 'with' statement

9 years agoSwitch to new try..except syntax
René Stadler [Wed, 16 Nov 2011 18:45:16 +0000 (19:45 +0100)]
Switch to new try..except syntax

This is forward compatible to Python 3.

9 years agocolumns: auto size time column when setting base time
René Stadler [Sun, 6 Nov 2011 12:35:26 +0000 (13:35 +0100)]
columns: auto size time column when setting base time

Base time formatting adds + or - in front of the timestamp, so the column has
to grow a little to not hide the last digit.

Also fixes a crash when setting the base time while the time column is hidden.

9 years agocolumns: also auto size thread and pid column on zoom change
René Stadler [Sun, 6 Nov 2011 12:19:55 +0000 (13:19 +0100)]
columns: also auto size thread and pid column on zoom change

9 years agocolumns: cleanup default size calculation
René Stadler [Sun, 6 Nov 2011 12:18:19 +0000 (13:18 +0100)]
columns: cleanup default size calculation

Some unused parameters here.

9 years agoTimeline: small cleanup
René Stadler [Sun, 6 Nov 2011 11:49:43 +0000 (12:49 +0100)]
Timeline: small cleanup

9 years agoData: remove log line serialization
René Stadler [Sun, 6 Nov 2011 11:41:08 +0000 (12:41 +0100)]
Data: remove log line serialization

This is incomplete and prone to error. Move it out into the utility script
(which is the only user).

9 years agoRemove odd-even row colors from log level column
René Stadler [Sun, 6 Nov 2011 11:19:52 +0000 (12:19 +0100)]
Remove odd-even row colors from log level column

This is more of visual clutter than aid. People also seem to be less likely to
spot the connection between the column and the timeline graph colors.

9 years agoResize time and log level columns after zoom change
René Stadler [Sat, 5 Nov 2011 23:16:29 +0000 (00:16 +0100)]
Resize time and log level columns after zoom change

9 years agoStore zoom level in state
René Stadler [Sat, 5 Nov 2011 22:47:47 +0000 (23:47 +0100)]
Store zoom level in state

9 years agoAdd zoom reset action
René Stadler [Sat, 5 Nov 2011 22:05:00 +0000 (23:05 +0100)]
Add zoom reset action

9 years agoClean up context menu
René Stadler [Sat, 5 Nov 2011 21:53:24 +0000 (22:53 +0100)]
Clean up context menu

These actions are not so commonly used, and also are not depending on the
context at all.

9 years agoRefactor and fix zoom handling
René Stadler [Sat, 5 Nov 2011 22:52:40 +0000 (23:52 +0100)]
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.

9 years agoAdd 'fixme' and 'trace' log levels
Stefan Kost [Tue, 6 Jul 2010 08:42:08 +0000 (11:42 +0300)]
Add 'fixme' and 'trace' log levels

9 years agotimeline: add tooltip to histogram as well
Stefan Kost [Wed, 30 Jun 2010 13:16:45 +0000 (16:16 +0300)]
timeline: add tooltip to histogram as well

9 years agoAdd zoom in/out actions, reduce vertical row padding
Stefan Kost [Fri, 16 Apr 2010 15:26:26 +0000 (18:26 +0300)]
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.

9 years agoFix tests
René Stadler [Sun, 25 Sep 2011 19:38:48 +0000 (21:38 +0200)]
Fix tests

Forgot to convert this when modules got split.

9 years agoFix --version option
Andrzej Bieniek [Sun, 11 Sep 2011 20:10:47 +0000 (21:10 +0100)]
Fix --version option

9 years agoImprove wording of hide lines actions
René Stadler [Fri, 9 Sep 2011 20:02:28 +0000 (22:02 +0200)]
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.

9 years agotimeline: fix grey background artifact when enlarging window
René Stadler [Fri, 9 Sep 2011 19:47:16 +0000 (21:47 +0200)]
timeline: fix grey background artifact when enlarging window

9 years agoFix glib warnings on model property access
René Stadler [Wed, 7 Sep 2011 14:11:58 +0000 (16:11 +0200)]
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.

9 years agotimeline: fix possible lag when dragging on timeline
René Stadler [Tue, 6 Sep 2011 20:27:33 +0000 (22:27 +0200)]
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).

9 years agoGUI: Work around GtkBuilder name property API break (gtk+ 2.20)
René Stadler [Fri, 2 Jul 2010 20:03:39 +0000 (23:03 +0300)]
GUI: Work around GtkBuilder name property API break (gtk+ 2.20)

9 years agosetup.py: fix installation
René Stadler [Tue, 20 Oct 2009 21:32:09 +0000 (00:32 +0300)]
setup.py: fix installation

9 years agoMain: fix import
René Stadler [Tue, 20 Oct 2009 21:31:46 +0000 (00:31 +0300)]
Main: fix import

9 years agoRemove stale GUI module
René Stadler [Tue, 20 Oct 2009 21:27:46 +0000 (00:27 +0300)]
Remove stale GUI module

9 years agoAdd new base time feature
René Stadler [Fri, 16 Oct 2009 18:45:29 +0000 (21:45 +0300)]
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.

9 years agoSplit giant GUI module into submodules
René Stadler [Thu, 6 Aug 2009 23:54:10 +0000 (02:54 +0300)]
Split giant GUI module into submodules

9 years agotimeline: fix timestamp binary search
René Stadler [Fri, 12 Jun 2009 21:58:36 +0000 (00:58 +0300)]
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.

9 years agoGUI: remove unused imports
René Stadler [Fri, 12 Jun 2009 18:53:28 +0000 (21:53 +0300)]
GUI: remove unused imports

9 years agosetup.py: Fix version number
René Stadler [Sat, 14 Mar 2009 21:50:03 +0000 (23:50 +0200)]
setup.py: Fix version number

9 years agoCleanup whitespace
René Stadler [Sat, 14 Mar 2009 21:02:45 +0000 (23:02 +0200)]
Cleanup whitespace

9 years agoUpdate copyright statement in about dialog
René Stadler [Sat, 14 Mar 2009 18:40:52 +0000 (20:40 +0200)]
Update copyright statement in about dialog

9 years agoRename UIManager file
René Stadler [Sat, 14 Mar 2009 18:06:16 +0000 (20:06 +0200)]
Rename UIManager file

9 years agoRe-write builder files with glade3
René Stadler [Sat, 14 Mar 2009 18:03:37 +0000 (20:03 +0200)]
Re-write builder files with glade3

9 years agoMigrate from glade to GtkBuilder
René Stadler [Sat, 14 Mar 2009 17:38:36 +0000 (19:38 +0200)]
Migrate from glade to GtkBuilder

9 years agoRemove glade project file
René Stadler [Tue, 10 Mar 2009 22:41:26 +0000 (00:41 +0200)]
Remove glade project file

9 years agoFix logging being on by default with recent Python
René Stadler [Sat, 29 Nov 2008 19:06:52 +0000 (21:06 +0200)]
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.

9 years agoUse mmap in a portable way
René Stadler [Sat, 29 Nov 2008 19:00:20 +0000 (21:00 +0200)]
Use mmap in a portable way

9 years agoAdd FIXME comments
René Stadler [Wed, 26 Nov 2008 21:21:57 +0000 (23:21 +0200)]
Add FIXME comments

9 years agoGUI: Fix edit-copy-line action crashing/copying wrong line
René Stadler [Wed, 26 Nov 2008 21:13:05 +0000 (23:13 +0200)]
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.

9 years agoMigrate .bzrignore -> .gitignore
René Stadler [Tue, 4 Nov 2008 22:00:48 +0000 (00:00 +0200)]
Migrate .bzrignore -> .gitignore

9 years agoMove more attribute lookups out of loops for speed
René Stadler [Mon, 30 Jun 2008 16:48:34 +0000 (19:48 +0300)]
Move more attribute lookups out of loops for speed

9 years agoAdd support for recent log format changes, be more tolerant on whitespaces, cope...
René Stadler [Sun, 29 Jun 2008 18:14:07 +0000 (21:14 +0300)]
Add support for recent log format changes, be more tolerant on whitespaces, cope with object names containing '>'

9 years agoUse correct license in about dialog
René Stadler [Fri, 13 Jun 2008 19:58:54 +0000 (22:58 +0300)]
Use correct license in about dialog

9 years agoFix installation by including missing packages
René Stadler [Sun, 2 Mar 2008 13:24:16 +0000 (15:24 +0200)]
Fix installation by including missing packages

9 years agoAdd (placeholder) SVG icon file
René Stadler [Sat, 1 Mar 2008 18:44:53 +0000 (20:44 +0200)]
Add (placeholder) SVG icon file

9 years agoUpdate vertical timeline when the widget size changes
René Stadler [Tue, 5 Feb 2008 15:29:52 +0000 (17:29 +0200)]
Update vertical timeline when the widget size changes

9 years agoFix bottom view showing the wrong selected log line
René Stadler [Mon, 4 Feb 2008 15:36:57 +0000 (17:36 +0200)]
Fix bottom view showing the wrong selected log line

9 years agoFix bottom view line activating the wrong line after filtering
René Stadler [Mon, 4 Feb 2008 15:26:48 +0000 (17:26 +0200)]
Fix bottom view line activating the wrong line after filtering

9 years agoFix bottom view not showing current line until you add something there
René Stadler [Fri, 25 Jan 2008 13:44:38 +0000 (15:44 +0200)]
Fix bottom view not showing current line until you add something there

9 years agoFaster handling of partial expose events in timeline
René Stadler [Fri, 25 Jan 2008 10:40:51 +0000 (12:40 +0200)]
Faster handling of partial expose events in timeline

9 years agoMention GStreamer in --help output
René Stadler [Fri, 25 Jan 2008 09:17:02 +0000 (11:17 +0200)]
Mention GStreamer in --help output

9 years agoAllow to cancel a running filter process
René Stadler [Fri, 25 Jan 2008 09:12:48 +0000 (11:12 +0200)]
Allow to cancel a running filter process

9 years agoMake hide before/after action insensitive when first/last line is selected
René Stadler [Thu, 24 Jan 2008 14:19:15 +0000 (16:19 +0200)]
Make hide before/after action insensitive when first/last line is selected

9 years agoAdd filtering for object name and source code filename
René Stadler [Thu, 24 Jan 2008 13:18:37 +0000 (15:18 +0200)]
Add filtering for object name and source code filename

9 years agoAdd FIXME comment
René Stadler [Thu, 24 Jan 2008 12:29:39 +0000 (14:29 +0200)]
Add FIXME comment

9 years agoCreate own menu structure for log view context menu
René Stadler [Thu, 24 Jan 2008 10:16:41 +0000 (12:16 +0200)]
Create own menu structure for log view context menu

9 years agoSync show-timeline action state before connecting signal handler
René Stadler [Thu, 24 Jan 2008 09:49:41 +0000 (11:49 +0200)]
Sync show-timeline action state before connecting signal handler

9 years agoTimeline.py: Move per-window management into own class
René Stadler [Thu, 24 Jan 2008 09:47:27 +0000 (11:47 +0200)]
Timeline.py: Move per-window management into own class

9 years agoRe-format long line
René Stadler [Thu, 24 Jan 2008 09:12:05 +0000 (11:12 +0200)]
Re-format long line

9 years agoReplace gdk.ALL_EVENTS_MASK with proper minimal set of event flags
René Stadler [Thu, 24 Jan 2008 08:59:14 +0000 (10:59 +0200)]
Replace gdk.ALL_EVENTS_MASK with proper minimal set of event flags

9 years agoMove performance test program into its own file
René Stadler [Wed, 23 Jan 2008 15:13:07 +0000 (17:13 +0200)]
Move performance test program into its own file

9 years agoAllow creation of more than one window
René Stadler [Wed, 23 Jan 2008 15:07:55 +0000 (17:07 +0200)]
Allow creation of more than one window

9 years agoAdd TODO comment
René Stadler [Wed, 23 Jan 2008 15:07:51 +0000 (17:07 +0200)]
Add TODO comment

9 years agoUse GdkColors for level column, cleanup color handling
René Stadler [Wed, 23 Jan 2008 12:51:14 +0000 (14:51 +0200)]
Use GdkColors for level column, cleanup color handling

9 years agoReplace linear-time filtered index search with usage of bisect module
René Stadler [Wed, 23 Jan 2008 09:03:47 +0000 (11:03 +0200)]
Replace linear-time filtered index search with usage of bisect module

9 years agoRestore visible range of log view when changing filter
René Stadler [Tue, 22 Jan 2008 14:28:09 +0000 (16:28 +0200)]
Restore visible range of log view when changing filter

9 years agoResolve small FIXME in SubRange
René Stadler [Tue, 22 Jan 2008 11:50:04 +0000 (13:50 +0200)]
Resolve small FIXME in SubRange

9 years agoCleanup FilteredLogModel.super_model_changed_range
René Stadler [Tue, 22 Jan 2008 11:40:36 +0000 (13:40 +0200)]
Cleanup FilteredLogModel.super_model_changed_range

9 years agoFix crash with unparsable files
René Stadler [Tue, 22 Jan 2008 10:59:37 +0000 (12:59 +0200)]
Fix crash with unparsable files

9 years agoMake option parser work with glib before 2.13.2
René Stadler [Tue, 22 Jan 2008 09:22:38 +0000 (11:22 +0200)]
Make option parser work with glib before 2.13.2

9 years agos/get_cells/get_cell_renderers/ again
René Stadler [Mon, 21 Jan 2008 12:45:02 +0000 (14:45 +0200)]
s/get_cells/get_cell_renderers/ again

9 years agoCorrectly parse categories with digits in them (fixes flump3dec, v4l2src messages)
René Stadler [Mon, 21 Jan 2008 11:24:02 +0000 (13:24 +0200)]
Correctly parse categories with digits in them (fixes flump3dec, v4l2src messages)

9 years agoFix filtered range transformation (finally!)
René Stadler [Mon, 21 Jan 2008 09:15:42 +0000 (11:15 +0200)]
Fix filtered range transformation (finally!)

9 years agoAdd simple identity filter model tests
René Stadler [Fri, 11 Jan 2008 09:11:00 +0000 (11:11 +0200)]
Add simple identity filter model tests

9 years agoFix filtered model index translation and improve tests
René Stadler [Thu, 10 Jan 2008 14:15:53 +0000 (16:15 +0200)]
Fix filtered model index translation and improve tests

9 years agoAdd test suite for filtered models
René Stadler [Thu, 10 Jan 2008 12:14:12 +0000 (14:14 +0200)]
Add test suite for filtered models

9 years agoFix off-by-one error in filtered model range reclamping
René Stadler [Thu, 10 Jan 2008 12:12:34 +0000 (14:12 +0200)]
Fix off-by-one error in filtered model range reclamping

9 years agoImprove filtered model interacting with range changes
René Stadler [Thu, 10 Jan 2008 11:49:58 +0000 (13:49 +0200)]
Improve filtered model interacting with range changes

9 years agoUnify two very similar methods
René Stadler [Wed, 2 Jan 2008 19:54:33 +0000 (20:54 +0100)]
Unify two very similar methods

9 years agoAdd FIXME about broken index translation logic
René Stadler [Fri, 21 Dec 2007 14:10:15 +0000 (15:10 +0100)]
Add FIXME about broken index translation logic

9 years agoPrevent crash with older bindings
René Stadler [Tue, 18 Dec 2007 16:48:28 +0000 (18:48 +0200)]
Prevent crash with older bindings

9 years agoFix more problems when clamping with filter turned on
René Stadler [Tue, 18 Dec 2007 15:10:08 +0000 (17:10 +0200)]
Fix more problems when clamping with filter turned on

9 years agoFix off-by-one error causing display of spurious line when clamping with filter turned on
René Stadler [Tue, 18 Dec 2007 13:26:05 +0000 (15:26 +0200)]
Fix off-by-one error causing display of spurious line when clamping with filter turned on

9 years agoFix selection of line after changing filter, add logging
René Stadler [Tue, 18 Dec 2007 11:46:55 +0000 (13:46 +0200)]
Fix selection of line after changing filter, add logging

9 years agoPreserve clamped timestamp range when filtering and vice versa
René Stadler [Mon, 17 Dec 2007 15:50:10 +0000 (17:50 +0200)]
Preserve clamped timestamp range when filtering and vice versa

9 years agoFix color stripping script
René Stadler [Thu, 13 Dec 2007 11:43:28 +0000 (13:43 +0200)]
Fix color stripping script

9 years agoAdd gst-debug-strip-color.py, a script to strip color codes
René Stadler [Thu, 13 Dec 2007 11:36:45 +0000 (13:36 +0200)]
Add gst-debug-strip-color.py, a script to strip color codes

9 years agoImplement idle filtering (with progress display)
René Stadler [Wed, 12 Dec 2007 16:35:28 +0000 (18:35 +0200)]
Implement idle filtering (with progress display)