Philippe Normand [Sun, 28 Oct 2018 11:03:54 +0000 (11:03 +0000)]
debug-viewer: Python3 port follow-up
One print statement wasn't ported to Python3.
Xavier Claessens [Sat, 27 Oct 2018 13:01:53 +0000 (09:01 -0400)]
meson: add option to disable translation
https://bugzilla.gnome.org/show_bug.cgi?id=797342
Wonchul Lee [Wed, 19 Sep 2018 02:50:09 +0000 (11:50 +0900)]
validate: Update for g_type_class_add_private() deprecation in recent GLib
https://gitlab.gnome.org/GNOME/glib/merge_requests/7
Thibault Saunier [Sat, 8 Sep 2018 22:24:41 +0000 (19:24 -0300)]
Update for g_type_class_add_private() deprecation in recent GLib
Thibault Saunier [Sat, 8 Sep 2018 14:12:32 +0000 (11:12 -0300)]
launcher:scenario: Fix the way we compute scenario path/name when paths supplied
We were just iterating over the list without any check and could end
up with a patch that was not corresponding to the actual scenario.
Thibault Saunier [Fri, 7 Sep 2018 18:59:49 +0000 (15:59 -0300)]
validate:launcher: Just wait for a while before considering Xvfb is ready if xset is not present
This is what xvfb-run so let's consider it good enough
Thibault Saunier [Thu, 2 Aug 2018 01:05:32 +0000 (21:05 -0400)]
validate:launcher: Use fakevideosink everywhere it makes sense.
Nirbheek Chauhan [Thu, 6 Sep 2018 11:59:24 +0000 (17:29 +0530)]
validate: Export the plugin symbol correctly
Otherwise it doesn't get correctly exported when building with MSVC
Nirbheek Chauhan [Sat, 1 Sep 2018 06:39:32 +0000 (12:09 +0530)]
meson: Add a feature option for tests
This autodetection is needed on iOS inside Cerbero where
gstreamer-check-1.0 is not available.
Nirbheek Chauhan [Fri, 31 Aug 2018 09:51:05 +0000 (15:21 +0530)]
meson: gst_version_* are ints, convert them early
Fixes error reported by ceyusa:
gst-devtools/meson.build:23:0: ERROR: Multiplication works only with integers.
Nirbheek Chauhan [Fri, 31 Aug 2018 09:22:04 +0000 (14:52 +0530)]
meson: Maintain macOS ABI through dylib versioning
Requires Meson 0.48, but the feature will be ignored on older versions
so it's safe to add it without bumping the requirement.
Documentation:
https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
Nirbheek Chauhan [Tue, 31 Jul 2018 17:59:57 +0000 (23:29 +0530)]
meson: Build gstvalidate-default-overrides-1.0
Needed by Cerbero.
Alicia Boya García [Mon, 30 Jul 2018 19:36:48 +0000 (21:36 +0200)]
gst-validate-launcher: Print copypaste-friendlier commands
This patch removes the quotes surrounding the command shown by
gst-validate to reproduce the issues -- which were troublesome when
copying and pasting.
It also introduces escaping for the arguments, so that the command line
can be copied and pasted in the terminal without further changes.
https://bugzilla.gnome.org/show_bug.cgi?id=796897
Nirbheek Chauhan [Wed, 25 Jul 2018 11:57:03 +0000 (17:27 +0530)]
meson: Convert common options to feature options
The rest will be converted later, these are necessary for gst-build to
set options correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=795107
Thibault Saunier [Sat, 14 Jul 2018 19:55:34 +0000 (15:55 -0400)]
validate:scenario: Add an action type to validate last sample checksum
Thibault Saunier [Fri, 20 Jul 2018 02:00:17 +0000 (22:00 -0400)]
validate: launcher: Print some ERROR log when inspecting scenario fails
Thibault Saunier [Thu, 19 Jul 2018 22:27:32 +0000 (18:27 -0400)]
validate:scenario: Add a way to define constants to be used in actions
Allowing writing simpler to read scenarios.
Thibault Saunier [Sat, 14 Jul 2018 12:27:05 +0000 (08:27 -0400)]
validate:scenario: Add a way to set rank on all features of a plugin
You often want to make sure that elements from a particular plugins
are always/never plugged, `set-rank,name=plugin-name,rank=XXX` allows
you to simply do that.
Thibault Saunier [Thu, 12 Jul 2018 23:13:09 +0000 (19:13 -0400)]
validate:launcher: Minor output string message
Edward Hervey [Tue, 10 Jul 2018 11:16:36 +0000 (13:16 +0200)]
validate: Use 'skipped' keyword in xunit xml
It was always meant to be 'skipped' to be 100% compatible with xunit
xsl.
Makes jenkins happy again
Thibault Saunier [Sun, 8 Jul 2018 21:02:59 +0000 (17:02 -0400)]
validate:launcher: Stop spamming envvars in unit tests command printing.
We used to print the whole environment, making it ugly and hard to
read.
Thibault Saunier [Sun, 1 Jul 2018 15:32:10 +0000 (11:32 -0400)]
validate:launcher: Allow retrieving coredumps from within flatpak
Edward Hervey [Tue, 19 Jun 2018 05:12:20 +0000 (07:12 +0200)]
pad-monitor: Reset stream-related variables when deactivating
Any local variable related to the stream should be resetted
when the pad is deactivated
Avoids weird issues when elements are re-used (and pads are deactivated
and reactivated).
Thibault Saunier [Sun, 17 Jun 2018 12:34:09 +0000 (08:34 -0400)]
validate:launcher: Fix the --forever switch
It was not stopping on error.
https://bugzilla.gnome.org/show_bug.cgi?id=796608
Thibault Saunier [Fri, 15 Jun 2018 21:52:47 +0000 (17:52 -0400)]
validate: Update .def
Thibault Saunier [Fri, 15 Jun 2018 20:42:32 +0000 (16:42 -0400)]
validate:launcher: Add a TestManager to run python tests
Add a stupid simple testsuite made to be configured from the outside
Thibault Saunier [Fri, 15 Jun 2018 19:01:32 +0000 (15:01 -0400)]
validate: Fix mixup in variable check
Thibault Saunier [Fri, 15 Jun 2018 14:25:33 +0000 (10:25 -0400)]
meson: Rename the gtkdoc option to gtk_doc
This is what other modules use
Thibault Saunier [Thu, 24 May 2018 12:41:27 +0000 (14:41 +0200)]
validate: media-check: Avoid spamming the MediaInfo file on stdout
Thibault Saunier [Wed, 23 May 2018 15:57:23 +0000 (17:57 +0200)]
validate: launcher: Add support for running tests with a pushfile source
Introducing the `.media_info.push` media info extension, which is meant
to let the launcher know that those file should run with the "pushfile://"
protocol.
And allow symlinking "normal" `.media_info` to their `.pushfile` variant
so that both can share the exact same content.
Thibault Saunier [Fri, 25 May 2018 13:35:10 +0000 (15:35 +0200)]
validate: media-check: Add a way to skip pluggin parsers
This is useful when you want to check only the demuxer output.
- Keep the information in the media file so that we can launch media-check
with the proper arguments in the launcher. Update it accordingly.
- Refactor compare_streams to simplify it, which in the end leads to
reporting all the issues instead of exiting on the first one.
Thibault Saunier [Tue, 22 May 2018 23:11:32 +0000 (01:11 +0200)]
validate: media-descriptor: Add a way to specify when a field value is unknown
And this way is to set the attribute to... `unknown`
Thibault Saunier [Tue, 22 May 2018 17:43:01 +0000 (19:43 +0200)]
validate: media-check: Also check that segments are correct
Philippe Normand [Thu, 14 Jun 2018 17:01:54 +0000 (18:01 +0100)]
debug-viewer: Fix reload file action.
Copy the log file only we're loading a file different from the previous file.
The previous version of this code was broken because the existing tmpfile was
removed from disk before being copied to a new temporary file.
Edward Hervey [Tue, 5 Jun 2018 14:38:10 +0000 (16:38 +0200)]
validate/media-descriptor: Fix indentation
Edward Hervey [Tue, 5 Jun 2018 14:36:24 +0000 (16:36 +0200)]
validate: Add a new issue to detect invalid event seqnum
Events should always have a valid seqnum. Add a new issue which
allows detecting such events. And use that check in the
pad monitor
Edward Hervey [Tue, 5 Jun 2018 14:25:46 +0000 (16:25 +0200)]
validate: Update all gitignore
Alicia Boya García [Fri, 25 May 2018 10:03:46 +0000 (12:03 +0200)]
gst-validate-launcher: let gdb handle SIGINT itself
Otherwise both gdb and gst-validate-launcher will react to ^C at the
same time, gdb will be killed by SIGHUP (because gst-validate-launcher
quitted in consequence of the ^C) and the terminal state will be left
garbled because readline inside gdb had disabled echo.
https://bugzilla.gnome.org/show_bug.cgi?id=796396
Alicia Boya García [Fri, 25 May 2018 10:06:22 +0000 (12:06 +0200)]
gst-validate-launcher: disable timeouts when debugging in gdb interactively
An interactive debugging session can be going for a long time, we don't
want any timeouts in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=796397
Alicia Boya García [Thu, 24 May 2018 16:25:59 +0000 (18:25 +0200)]
gst-validate-launcher: Stop in --gdb by default, add --gdb-non-stop
This patch modifies the default behavior of --gdb to not run and quit
automatically the test, but rather wait for user input. This is
usually much more convenient to debug all kinds of bugs.
The automatic run behavior has been moved to a new command switch:
--gdb-non-stop
https://bugzilla.gnome.org/show_bug.cgi?id=796389
Thibault Saunier [Fri, 18 May 2018 15:50:18 +0000 (11:50 -0400)]
validate: Error out if gst_parse_launch sets an error.
https://bugzilla.gnome.org/show_bug.cgi?id=796240
Thibault Saunier [Tue, 15 May 2018 18:40:45 +0000 (14:40 -0400)]
validate:launcher: Error out loudly if the testlist changes
When --fail-on-testlist-change is set.
Thibault Saunier [Tue, 15 May 2018 18:35:30 +0000 (14:35 -0400)]
validate:launcher: Do not print time spent if the testsuite never started
Thibault Saunier [Sat, 28 Apr 2018 08:15:17 +0000 (10:15 +0200)]
validate: launcher: Make sure testsuites are used/configured once only
Thibault Saunier [Sun, 13 May 2018 20:30:25 +0000 (16:30 -0400)]
validate:launcher: Add a way to check if a gst feature is present
And make sure iqa is present to run IQA tests.
Thibault Saunier [Thu, 3 May 2018 09:27:31 +0000 (11:27 +0200)]
validate:launcher: Cleanup the way we find where -validate tools are
Thibault Saunier [Sat, 21 Apr 2018 02:57:32 +0000 (23:57 -0300)]
validate: launcher: Add a way to simply run SSIM checks on rendered files
We will run a simple pipeline with the IQA element to run ssim (dssim)
tests on the rendered files, comparing it with a reference file.
For now we use the very empiric 1.0 value as a ssim error threshold and
the goal is basically to detect completely broken renderings.
Thibault Saunier [Fri, 20 Apr 2018 01:13:29 +0000 (22:13 -0300)]
validate: Add support for the new testbin protocol
Thibault Saunier [Fri, 20 Apr 2018 01:13:03 +0000 (22:13 -0300)]
debug-viewer: Ignore broken utf8 errors
Not much we can do if the input file is not perfectly valid UTF8
but we should just do as good as we can.
Philippe Normand [Sun, 13 May 2018 12:02:11 +0000 (13:02 +0100)]
debug-viewer: MEMDUMP debug level support
Edward Hervey [Mon, 7 May 2018 15:30:13 +0000 (17:30 +0200)]
validate: Remove hls.*seek_with_stop blacklisting
The issue is closed upstream (because of concentrating on decodebin3
instead), and initial forever testing seems to show the issue doesn't
happen anymore
Nirbheek Chauhan [Sat, 5 May 2018 14:25:14 +0000 (19:55 +0530)]
meson: Update option names to omit disable_ prefixes
Also yield common options to the outer project (gst-build in our case)
so that they don't have to be set manually.
Thibault Saunier [Fri, 27 Apr 2018 15:32:38 +0000 (17:32 +0200)]
validate: pipeline: Handle the case where a pad has no monitor
We do not monitor ghost pads, only real pads, so this is a totally
legitimate case.
https://bugzilla.gnome.org/show_bug.cgi?id=792536
Kai Kang [Wed, 25 Apr 2018 02:57:14 +0000 (10:57 +0800)]
validate: fix out of source tree build error
It fails to generate gst-validate-enum-types.h and gst-validate-enum-types.c
when build out of source tree. Add the path for template files.
https://bugzilla.gnome.org/show_bug.cgi?id=795531
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Thibault Saunier [Thu, 19 Apr 2018 17:26:23 +0000 (14:26 -0300)]
debug-viewer: Fix raising unhandled exception
Old code was uselessly complex
Thibault Saunier [Thu, 19 Apr 2018 11:44:50 +0000 (08:44 -0300)]
debug-viewer: Fix stacktrace after port to py3
Thibault Saunier [Wed, 18 Apr 2018 12:34:57 +0000 (09:34 -0300)]
debug-viewer: Copy log files in temporaries before using them
They are mmap'ed and it gets wrong if the file is changed.
There is high probablility the user will generate new logs while
inspecting some logs in the same file
Thibault Saunier [Wed, 18 Apr 2018 12:03:01 +0000 (09:03 -0300)]
debug-viewer: Add a shortcut to show/hide timeline
Thibault Saunier [Sun, 15 Apr 2018 19:31:36 +0000 (16:31 -0300)]
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
Thibault Saunier [Sun, 15 Apr 2018 23:47:36 +0000 (20:47 -0300)]
validate:launcher: Add support for specifying a workdir in tests
Thibault Saunier [Sun, 15 Apr 2018 22:45:43 +0000 (19:45 -0300)]
validate:launcher: printc is accepting object as arguments
Make sure in all code paths those are converted to strings
Philippe Normand [Sun, 15 Apr 2018 10:28:33 +0000 (11:28 +0100)]
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)
Philippe Normand [Sat, 14 Apr 2018 15:04:22 +0000 (16:04 +0100)]
debug-viewer: PEP8 all the things
Philippe Normand [Sat, 14 Apr 2018 13:22:11 +0000 (14:22 +0100)]
debug-viewer: Port to Python3
And fix unit-tests.
https://bugzilla.gnome.org/show_bug.cgi?id=795260
Philippe Normand [Sat, 14 Apr 2018 10:27:48 +0000 (11:27 +0100)]
debug-viewer: remove broken/unimplemented plugins
Thibault Saunier [Fri, 13 Apr 2018 02:24:16 +0000 (23:24 -0300)]
Update python hook with the new pycodestyle
Thibault Saunier [Fri, 13 Apr 2018 02:11:04 +0000 (23:11 -0300)]
validate:launcher: Add a method to find tests in a TestManager
Thibault Saunier [Fri, 13 Apr 2018 02:05:01 +0000 (23:05 -0300)]
validate:launcher: Extract method to set a validate configuration on tests
Thibault Saunier [Fri, 13 Apr 2018 02:03:04 +0000 (23:03 -0300)]
validate: Handle having a list of structure based/file path configs
Thibault Saunier [Fri, 23 Mar 2018 23:58:38 +0000 (20:58 -0300)]
launcher: Print test number in the order they finish
Instead of the test index in the list of tests as it is
meaningless to the user and feels weird.
Also minor fix in the test name display when running with --forever.
Thibault Saunier [Fri, 23 Mar 2018 21:02:43 +0000 (18:02 -0300)]
launcher: Minor indentation issue fixes
Thibault Saunier [Fri, 23 Mar 2018 20:44:06 +0000 (17:44 -0300)]
launcher: Clean up outpout
Make our stdout output simpler to follow by:
- Not printing the tests we launch (it is not really useful in the end)
- Using `\r` when printing the passed tests
- Not reprinting all the test in a now useless summary
Thibault Saunier [Sun, 18 Mar 2018 13:38:42 +0000 (10:38 -0300)]
check: Use meson introspect to list meson tests
Tim-Philipp Müller [Tue, 20 Mar 2018 10:56:57 +0000 (10:56 +0000)]
Back to development
Tim-Philipp Müller [Mon, 19 Mar 2018 20:29:07 +0000 (20:29 +0000)]
Release 1.14.0
Thibault Saunier [Wed, 14 Mar 2018 00:14:51 +0000 (21:14 -0300)]
validate: Fix the way we set the testsuite version
The testuite version should be 'master' during development
and the version number on releases, during the pre-release
cycle, there is no nano version, thus our detection handling
was mistaking.
Tim-Philipp Müller [Tue, 13 Mar 2018 22:20:52 +0000 (22:20 +0000)]
meson: update version
Tim-Philipp Müller [Tue, 13 Mar 2018 19:30:43 +0000 (19:30 +0000)]
Release 1.13.91
Tim-Philipp Müller [Tue, 13 Mar 2018 13:58:07 +0000 (13:58 +0000)]
validate: GST_EXPORT -> GST_VALIDATE_API
We need different export decorators for the different libs.
For now no actual change though, just rename before the release,
and add prelude headers to define the new decorator to GST_EXPORT.
Xabier Rodriguez Calvar [Tue, 13 Mar 2018 12:48:00 +0000 (13:48 +0100)]
debug-viewer: solved crash when maximum freq sentinel is 0
https://bugzilla.gnome.org/show_bug.cgi?id=794282
Thibault Saunier [Mon, 12 Mar 2018 15:11:18 +0000 (12:11 -0300)]
debug-viewer: Fix copying current line
Thibault Saunier [Mon, 12 Mar 2018 14:18:02 +0000 (11:18 -0300)]
debug-viewer: Add an appdata file
Tim-Philipp Müller [Sat, 3 Mar 2018 22:54:57 +0000 (22:54 +0000)]
Release 1.13.90
Mathieu Duponchelle [Thu, 1 Mar 2018 17:49:21 +0000 (18:49 +0100)]
meson: enable more warnings
Xabier Rodriguez Calvar [Wed, 7 Feb 2018 09:13:44 +0000 (10:13 +0100)]
debug-viewer: fix names of actions/functions
https://bugzilla.gnome.org/show_bug.cgi?id=793241
Xabier Rodriguez Calvar [Wed, 7 Feb 2018 09:05:35 +0000 (10:05 +0100)]
debug-viewer: Added filter for threads
https://bugzilla.gnome.org/show_bug.cgi?id=793241
Xabier Rodriguez Calvar [Wed, 7 Feb 2018 08:52:26 +0000 (09:52 +0100)]
debug-viewer: Added filter for function
https://bugzilla.gnome.org/show_bug.cgi?id=793241
Tim-Philipp Müller [Wed, 21 Feb 2018 19:50:33 +0000 (19:50 +0000)]
meson: simplify GST_DISABLE_GST_DEBUG check and don't use add_global_*
add_global_arguments() can't be used in subprojects. It's
entirely possible that devtools is a subproject but gstreamer
is picked up from an installed location, so we should
really use add_project_arguments() in both cases.
Tim-Philipp Müller [Mon, 19 Feb 2018 12:02:04 +0000 (12:02 +0000)]
validate: tools: fix build dependencies for validate-rtsp-server
In file included from ../subprojects/gst-devtools/validate/tools/gst-validate-rtsp-server.c:21:0:
.../gst/gst.h:31:10: fatal error: gst/gstenumtypes.h: No such file or directory
Sebastian Dröge [Sun, 18 Feb 2018 10:21:34 +0000 (12:21 +0200)]
validategtk: Stop using deprecated keymap API
gstvalidategtk.c:184:7: error: ‘gdk_keymap_get_default’ is deprecated: Use 'gdk_keymap_get_for_display' instead [-Werror=deprecated-declarations]
gdk_keymap_get_entries_for_keyval (gdk_keymap_get_default (),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Xabier Rodriguez Calvar [Wed, 14 Feb 2018 12:30:41 +0000 (13:30 +0100)]
debug-viewer: Fixed C++ destructors detection
https://bugzilla.gnome.org/show_bug.cgi?id=793447
Tim-Philipp Müller [Thu, 15 Feb 2018 21:00:57 +0000 (21:00 +0000)]
Fix versions
Tim-Philipp Müller [Thu, 15 Feb 2018 19:44:37 +0000 (19:44 +0000)]
Back to development
Tim-Philipp Müller [Thu, 15 Feb 2018 17:30:08 +0000 (17:30 +0000)]
Release 1.13.1
Tim-Philipp Müller [Thu, 15 Feb 2018 18:27:37 +0000 (18:27 +0000)]
validate: dist enum types templates
Xabier Rodriguez Calvar [Tue, 13 Feb 2018 13:02:39 +0000 (14:02 +0100)]
debug-viewer: Fix C++ detection of lambdas as function
https://bugzilla.gnome.org/show_bug.cgi?id=793422
Edward Hervey [Sat, 10 Feb 2018 13:20:44 +0000 (14:20 +0100)]
validate-pad-monitor: Use GST_SEQNUM_INVALID
Instead of 0 (which is valid)
Olivier Crête [Thu, 8 Feb 2018 15:20:55 +0000 (08:20 -0700)]
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.
Wonchul Lee [Fri, 29 Dec 2017 02:25:05 +0000 (11:25 +0900)]
tools: gst-validate-images-check: Fix typo
https://bugzilla.gnome.org/show_bug.cgi?id=792035
Tim-Philipp Müller [Tue, 30 Jan 2018 20:36:00 +0000 (20:36 +0000)]
meson: use -fno-strict-aliasing where supported
https://bugzilla.gnome.org/show_bug.cgi?id=769183