Commit graph

1444 commits

Author SHA1 Message Date
Thibault Saunier
ad415424a1 Release 1.4.0 2014-10-20 13:24:29 +02:00
Thibault Saunier
26ef55d622 validate: Print position if it could properly be queried
Otherwize we will print meaningless garbage.
2014-10-13 16:30:05 +02:00
Thibault Saunier
4823d998fc validate:launcher: Minor enhancement in the documentation 2014-10-13 10:32:07 +02:00
Thibault Saunier
99045f7dbb validate: Rename action type playback_time to playback-time
Keeping backward compatiblity with the old naming
2014-10-12 20:19:42 +02:00
Thibault Saunier
02ab99fcbb validate: Rename gst_validate_add_action_type to gst_validate_register_action_type
The _register naming corresponds much better to what the method does
and makes it more similar to how we refer to this kind of action in
GStreamer.

It is a last minute API change, but that API should not change anymore
after 1.4 is released.
2014-10-12 20:10:19 +02:00
Thibault Saunier
9158bb36e3 validate: Fix the addition of playback_time in the parameter types 2014-10-12 20:00:03 +02:00
Thibault Saunier
8289f64904 validate: Rename --list-action-types to --inspect-action-type
Making clearer the meaning of the parameter and closer to the
usual naming in the GStreamer land.
2014-10-12 19:46:39 +02:00
Thibault Saunier
ce87de95ea validate: Add the 'flags' for the seek action type
This was always a mandatory field but was not documented
2014-10-12 19:16:08 +02:00
Anuj Jaiswal
83c0453d81 validate: mishandled pointer criticals
Free glist of criticals

Signed-off-by: Anuj Jaiswal <anuj.jaiswal@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=736313
2014-10-09 20:38:12 -03:00
Thibault Saunier
17bf802515 validate:docs: Add documentation about the default testsuite 2014-10-01 11:02:17 +02:00
Mathieu Duponchelle
8cfffb4a3a validate-runner: switch to using a GList for the reports.
+ Return a copy of that list in get_reports.
+ update tests.
2014-09-30 11:42:42 +02:00
Mathieu Duponchelle
1f1cf83af8 validate-runner: Hide implementation. 2014-09-30 11:42:42 +02:00
Mathieu Duponchelle
855f141453 gst-validate-runner: Add locking for the reports list. 2014-09-30 11:42:42 +02:00
Thibault Saunier
e7315aa78e Release 1.3.90 2014-09-29 15:37:40 +02:00
Thibault Saunier
b856d5985c validate:launcher: Factorize code to get a MediaDescriptor name for classname
Instead of copy/pasting that code badly
2014-09-12 11:26:48 +02:00
Edward Hervey
490a8f1ed9 validate/docs: Add location of Scenario/Action defines 2014-09-12 10:22:15 +02:00
Anuj Jaiswal
c98f7e7b38 validate: (performance issue)refactor to remove duplicate assignment
Signed-off-by: Anuj Jaiswal <anuj.jaiswal@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=736412
2014-09-12 09:57:05 +02:00
Thibault Saunier
1649b49f1c validate: docs: Always dist the launcher directoty
Fixing make distcheck
2014-09-12 09:57:05 +02:00
Thibault Saunier
332a51d1f0 validate: Get the Runner reports in order of arrival
Making sure they are printed in the right order
2014-09-12 09:57:05 +02:00
Thibault Saunier
7e85c9b0b5 validate: Start a testsuite
Currently implemented tests are:
  * Settup and cleanup on monitor is done properly
  * Some tests in the PadMonitor are done properly, namely:
        - Buffer before segment
        - Buffer outside segment
        - First buffer running time is always 0
        - The Demuxer flow aggregation is properly checked

https://bugzilla.gnome.org/show_bug.cgi?id=736379
2014-09-12 09:57:05 +02:00
Edward Hervey
80de4392ce validate/private: Avoid double typdef
Instead just include required (public and local) header

gst-validate-scenario.h:43:44: error: redefinition of typedef 'GstValidateActionParameter' is a C11 feature [-Werror,-Wtypedef-redefinition]
2014-09-12 09:49:35 +02: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
René Stadler
9474886d85 Data: add support for colored log files
Adds a ~5% penalty for loading stripped files.
2014-09-11 20:51:47 +02:00
René Stadler
409ae7e522 timeline: remove broken actions from context menu
Hide lines before/after doesn't work as expected in this case.
2014-09-11 20:51:47 +02:00
René Stadler
33a8efa93d Data: fix parsing of lines missing filename or function name
E.g. ffmpeg.
2014-09-11 20:51:47 +02:00
René Stadler
c8dc50da40 timeline: grab when scrolling in TimelineWidget
Also use gdk_event_request_motions.
2014-09-11 20:51:47 +02:00
René Stadler
bff238279d timeline: move mouse handling into TimelineWidget 2014-09-11 20:51:47 +02:00
René Stadler
039f5a1d7b timeline: replace self.connect calls with vmethod overrides 2014-09-11 20:51:47 +02:00
Andrzej Bieniek
ec31b51f85 setup: fix build 2014-09-11 20:51:47 +02:00
René Stadler
980aca88cf timeline: don't select row when changing position in the timeline
Behaves just like the scrollbar now.
2014-09-11 20:51:47 +02:00
René Stadler
ad959763af timeline: stop scanning the file while filtering 2014-09-11 20:51:47 +02:00
René Stadler
6d6f71049f timeline: small cleanup 2014-09-11 20:51:47 +02:00
René Stadler
fb9d9ca4cf Modernize menus a little
A bit in preparation to gtk3 app menus.
2014-09-11 20:51:47 +02:00
René Stadler
9864042ff8 Simplify and optimize filtered model implementation
RangeFilteredLogModel is gone. The functionality is trivially implemented in
FilteredLogModel now. Changing the range is now O(log n) at worst (was O(n) at
best, for rewriting the arrays). Stacking filtered models is not supported
anymore, which simplifies the code.
2014-09-11 20:51:47 +02:00