Commit graph

800 commits

Author SHA1 Message Date
Wim Taymans
c78c637a77 task: use bionic/libc friendly arguments to prctl
prctl is supposed to take 5 arguments. It used to work with 2 arguments on some
versions of libc because it is defined as a varags function there.

See #611911
2010-03-15 17:07:59 +01:00
Wim Taymans
f9c74afe62 task: configure the object name as thread name
When we have prctl available, use it to set the configured object name as the
thread name for better debugging.

Based on patch by Robert Swain.
2010-03-15 14:48:19 +01:00
Benjamin Otte
f8a6a088e6 Remove -Winline flag again
It triggers for a lot of GStreamer API (even though those triggers are
wrong most of the time).
I missed it because it only triggers with -O2, and I was using -O0.
2010-03-11 11:39:40 +01:00
Benjamin Otte
12129e44ec Add a bunch more warning flags to configure
None of these flags cause warnings anymore, so no fixes necessary.
The flags are:
 -Wformat-nonliteral
 -Wformat-security
 -Wold-style-definition
 -Wcast-align
 -Winline
 -Winit-self
 -Wmissing-include-dirs
 -Waddress
 -Waggregate-return
 -Wno-multichar
 -Wnested-externs
2010-03-11 11:10:44 +01:00
Benjamin Otte
7e7f51f617 Fixes for -Wmissing-declarations -Wmissing-prototypes
Also adds those flags to the configure warning flags

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-11 10:59:57 +01:00
Stefan Kost
a184419ec5 buffer: allow configurable memory alignment. Fixes #596832
The alignment guaranteed by malloc is not always sufficient. E.g. vector
instructions or hardware subsystems want specifically aligned buffers. The
attached patch will use posix_memalign if available to allocate buffers.
The desired alignment can be set when running configure using the new
--with-buffer-alignment option.
2010-03-11 10:00:28 +02:00
Benjamin Otte
a9d1a493a7 Fixes for -Wwrite-strings
This changes some APIs in compatible ways:
- Some functions now take "const char *" arguments, not "char *"
- Some structs now have "conts char *" members, not "char *"
The changes may cause warnings when compiling with the right warning
flags. You've been warned.

Also adds -Wwrite-strings as a warning flag in configure.ac.

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:50:10 +01:00
Benjamin Otte
22f87a529f Fixes -Wundef warnings
... and adds that flag to configure.ac

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:46:09 +01:00
Benjamin Otte
e8f65e8bff Make code safe for -Wredundant-decls
Adds that warning to configure.ac

Includes a tiny change of the GST_BOILERPLATE_FULL() macro:
The get_type() function is no longer declared before being defined.

https://bugzilla.gnome.org/show_bug.cgi?id=611692
2010-03-10 20:45:33 +01:00
Benjamin Otte
766ac7ec3c Update to common/ changes to ERROR_CFLAGS 2010-03-10 19:27:09 +01:00
Sebastian Dröge
3a48930a02 configure: Use automake 1.11 silent rules instead of shave if available
This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.
2010-03-09 20:57:16 +00:00
Tim-Philipp Müller
b74d73980b Back to development 2010-03-09 17:37:45 +00:00
Tim-Philipp Müller
3d9213ffa2 Release 0.10.28 2010-03-08 23:09:01 +00:00
Tim-Philipp Müller
cebc1a1396 Release 0.10.27 2010-03-05 23:43:26 +00:00
Tim-Philipp Müller
2586004e85 0.10.26.4 pre-release 2010-03-03 19:54:50 +00:00
Tim-Philipp Müller
4818f60cd5 0.10.26.3 pre-release 2010-02-24 00:30:02 +00:00
Tim-Philipp Müller
6a4491efa9 0.10.26.2 pre-release 2010-02-18 20:08:39 +00:00
Tim-Philipp Müller
b6e061b4ea build: make sure gst-plugin-scanner gets installed where we expect it
Add check to make sure gst-plugin-scanner really gets installed where
we will look for it later, ie. paths and prefixes are set at configure
time and not specified via make.

Fixes #609941.
2010-02-16 11:33:19 +00:00
Tim-Philipp Müller
a23a2f97d3 configure: back to development
Slushy freeze remains in effect.
2010-02-12 00:02:03 +00:00
Tim-Philipp Müller
d0ed2b0fd6 Release 0.10.26 2010-02-10 19:17:28 +00:00
Tim-Philipp Müller
72dc037ac5 configure: define GST_PLUGIN_SCANNER_INSTALLED in win32 config.h
Even if it's not used, it still needs to be defined for things to
compile.
2010-02-10 14:28:16 +00:00
Tim-Philipp Müller
edfabdfca9 0.10.25.3 pre-release 2010-02-04 18:30:56 +00:00
Tim-Philipp Müller
4f4c98e57b 0.10.25.2 pre-release 2010-01-27 00:24:50 +00:00
Sebastian Dröge
f137d188cb build: Define G_THREADS_MANDATORY everywhere
We require threads to be supported in any case and defining this
will simplify the mutex, condition variable, etc. macros from gthread
to not always check if threads are really supported.

Fixes bug #607481.
2010-01-20 09:51:16 +01:00
Tim-Philipp Müller
9a4f0d8ca3 configure: move SHAVE_INIT behind all checks
Move SHAVE_INIT behind all other checks, in particular AG_GST_CHECK_CHECKS.
This should fix problems with header checking and checking for localtime_r,
which causes compilation errors with clean checkouts where common/shave has
not been created yet when those checks are run. It seems like SHAVE_INIT
changes the environment so that checks depending on a compiler need shave
to exist at that point, which will fail if AC_OUTPUT hasn't created it yet.

Fixes #605930.
2010-01-06 18:50:43 +00:00
Tim-Philipp Müller
db1acc3520 configure: always call our check checks for the SUBUNIT conditional
The SUBUNIT conditional needs to be set even if check is disabled. Also
remove a FIXME that is not needed any longer / after all.
2009-12-19 14:28:20 +00:00
Руслан Ижбулатов
dd77e42e91 check: update autotools and docs stuff for new check version 2009-12-19 14:03:42 +00:00
Sebastian Dröge
59d68619f4 configure: Use new AG_GST_PLATFORM macro 2009-12-01 14:30:26 +01:00
Sebastian Dröge
43b157b775 check: Only check for gmp/gsl if building of tests is not disabled 2009-11-20 09:33:48 +01:00
Tim-Philipp Müller
3c7c9692ac plugin-scanner: rename plugin-scanner helper binary to gst-plugin-scanner
and install into a different directory $(libexecdir/gstreamer-0.10) so that
everything is versioned properly.

NOTE: run 'make clean' after updating; if you are running an uninstalled setup,
you will need to update your gst-uninstalled script (unless it's symlinked
to gstreamer core master) and exit/enter your uninstalled environment to get
the updated environment. If you are running an installed setup, you should
run 'make uninstall' before merging this change or remove the old
plugin-scanner binary manually.

Fixes #601698.
2009-11-18 09:28:08 +00:00
Edward Hervey
b90360473b configure.ac: Detect broken poll() 2009-10-12 09:47:59 +02:00
Jan Schmidt
31218013a3 configure: Beef up the test for __uint128_t on GCC
GCC 3.4.3 on the SPARC buildbot crashes when actually
using __uint128_t. Beef up the configure test to detect that the
type is actually usable.
2009-10-07 13:59:47 +01:00
Tim-Philipp Müller
85f6ef121a configure: bump GLib requirement to 2.18
Bump GLib requirement as per the release planning docs.
2009-10-07 09:58:43 +01:00
Jan Schmidt
8bf3d8cec2 registry: Support installed/uninstalled plugin-scanner helper
Add a simple version check when starting the plugin-scanner so we can
verify we're talking to one that talks the same language.
First try a plugin-scanner in the installed path, then try one via the
GST_PLUGIN_SCANNER env var if that doesn't work.
Update the uninstalled script.
Install the plugin-scanner to the libexec dir
2009-10-06 19:51:44 +01:00
Jan Schmidt
6eee943b36 Remove checking for and mentions of fork where possible.
We no longer use fork() directly, instead using glib's spawn
functionality, so don't check for it, and don't use it in the
documentation notes.
2009-10-06 19:51:44 +01:00
Jan Schmidt
51675e0c2a registry: Add registry helper phase 1
Phase 1 of adding the registry scan helper
2009-10-06 19:51:42 +01:00
Jan Schmidt
46812eeb7f Back to development -> 0.10.25.1 2009-10-06 19:41:38 +01:00
Jan Schmidt
fe5106cee0 Release 0.10.25 2009-10-05 12:57:03 +01:00
Jan Schmidt
0993f3adba 0.10.24.4 pre-release 2009-10-01 16:24:52 +01:00
Jan Schmidt
95c438cf85 0.10.24.3 pre-release 2009-09-17 01:20:03 +01:00
David Schleef
ebe095420a Fix out-of-tree build 2009-09-14 12:47:26 -07:00
Jan Schmidt
41479df703 0.10.24.2 pre-release 2009-09-11 23:21:30 +01:00
Sebastian Dröge
8d1aeeb2af utils: Use gcc's __uint128_t for 64bit unsigned integer scaling
This is available in newer gcc releases and it should only exist
on platforms that provide some native 128bit integer arithmetic
instructions.

The x86-64 assembly for this is still kept for non-gcc compilers
that don't provide __uint128_t magic.
2009-09-09 14:59:39 +02:00
Sebastian Dröge
7c031ae4d0 gst: Add gobject-introspection support
Partially fixes bug #550616.
2009-09-05 10:28:46 +02:00
Sebastian Dröge
95f555379a configure: Remove duplicated check for clock_gettime 2009-08-14 11:53:14 +02:00
Sebastian Dröge
2919e5add8 gstutils: Add special random unit test for 64 scaling functions
This tests 100000 random multiplications/divisions of all scaling
function variants and compares the result with the result that is
generated by GMP on the same input.

For this check for GSL and GMP during configure but only use
it for this single unit test.

Testing functions were provided by Kipp Cannon <kcannon@ligo.caltech.edu>
2009-08-14 11:12:50 +02:00
Tim-Philipp Müller
657c68fc99 checks: try to fix GstObject unit test on OSX
Seems like we get SIGBUS instead of SIGSEGV here when GLib crashes
where it shouldn't crash (and we even have a unit test for that!).
2009-08-10 13:05:57 +01:00
Tim-Philipp Müller
06cc1d1d58 check: disable unit test support on win32 for now
Until we make the internal libcheck work on windows.
2009-08-06 17:35:13 +01:00
Tim-Philipp Müller
ecbea36d39 check: use private copy of check for libgstcheck
See #577275. Seems to work fine, but doesn't distcheck yet.
2009-08-06 17:27:12 +01:00
Tim-Philipp Müller
cc57c404fd configure.ac: fix libxml2 check, which is only needed for xml load/save now
Since the registry doesn't use libxml2 any longer, it's no longer necessary
to disable both xml load/save *and* the registry to get rid of the libxml2
dependency, disabling just xml loading/saving is enough. Fixes #590841.
2009-08-06 09:21:56 +01:00
Jan Schmidt
4385e707b1 back to development -> 0.10.24.1 2009-08-06 01:43:57 +01:00
Jan Schmidt
6bba2b6eeb Release 0.10.24 2009-08-05 00:53:17 +01:00
Jan Schmidt
8834f6272c 0.10.24.5 pre-release 2009-07-30 14:50:24 +01:00
Jan Schmidt
db8aeb3b84 0.10.23.4 pre-release 2009-07-24 13:50:19 +01:00
Jan Schmidt
ab6d3c736b 0.10.23.3 pre-release 2009-07-20 17:05:31 +01:00
Jan Schmidt
30528726bb 0.10.23.2 pre-release 2009-07-14 18:59:13 +01:00
Wim Taymans
fbaa49faf4 tests: conditionally compile the streams example
Detect pthreads.h in configure.ac
Only compile the streams example when pthreads.h is present.

Fixes #585039
2009-06-07 22:20:54 +02:00
Tim-Philipp Müller
c9915b767f configure: remove AC_C_INLINE and update win32 files to git
Remove AC_C_INLINE check, so we don't end up with an #undef inline in
config.h, which causes problems with some versions of MSCV apparently.
GLib defines inline for us in a suitable way already anyway.
Fixes #584835.

While we're at it, also update the other win32 files to git (bump
version, add new defines and enums).
2009-06-04 19:47:11 +01:00
Tim-Philipp Müller
db6f3ae042 Revert "go back to allowing gettext 0.11.5, but don't mix with libtool 2.2"
This reverts commit 31c09d738c.

Reverting this, since it breaks autogen.sh for me on debian sid.
Failure is: "libtool 2.2 requires autopoint 0.17 or higher" even though
0.17 was found.
2009-06-03 09:49:59 +01:00
Thomas Vander Stichele
31c09d738c go back to allowing gettext 0.11.5, but don't mix with libtool 2.2 2009-06-03 01:25:26 +02:00
Wim Taymans
cb9597a271 Add frame stepping in PAUSED example 2009-06-01 13:37:26 +02:00
Tim-Philipp Müller
198dbe545c configure: pass -Wno-portability to automake to suppress warnings
GNU make is required, no point pretending otherwise.
2009-05-19 17:16:02 +01:00
Tim-Philipp Müller
dfca0a20b0 configure: rename CVS -> git in a couple of places 2009-05-12 01:13:02 +01:00
Tim-Philipp Müller
8f8384e719 configure: bump the GLib requirement to GLib >= 2.16
as per the New Regime (see wiki).
2009-05-12 00:47:46 +01:00
Tim-Philipp Müller
01b93c1ef2 xmlregistry: remove the old xml registry
No point in keeping it around really. Fixes #577926.
2009-05-12 00:09:58 +01:00
Wim Taymans
5eccc07856 tests: add example app for stream-status
Add an example application that adjusts the thread priority of a task using the
stream-status messages.
2009-05-12 00:09:30 +02:00
Jan Schmidt
bd07633cc2 info: Support new printf extensions in glibc 2.10
The printf extension mechanism changed in glibc 2.10, and the older
register_printf_function is deprecated. Detect and use the new
mechanism where available.
2009-05-11 21:30:14 +01:00
Jan Schmidt
9f688753f8 Back to development -> 0.10.23.1 2009-05-11 21:11:49 +01:00
Jan Schmidt
88e4e53fc2 Release 0.10.23 2009-05-10 22:41:04 +01:00
Jan Schmidt
5b477d97b5 0.10.22.4 pre-release 2009-05-06 16:10:11 +01:00
Jan Schmidt
2633d77126 0.10.22.3 pre-release 2009-04-21 22:15:44 +01:00
Tim-Philipp Müller
923b33a316 win32: define __MSVCRT_VERSION__ when compiling with MingW, for __stat64
Need to define this when using MingW, so that the includes provide
__stat64 and friends. We need at least Windows XP SP2 for this.
Fixes #568632.
2009-04-17 15:50:54 +01:00
Yaakov Selkowitz
4ce04783b3 configure.ac: fork() during registry scanning is unsafe on Cygwin
Fixes #555978.
2009-04-17 11:44:11 +01:00
Jan Schmidt
5879b8d07f release: Bump version to 0.10.22.2 for pre-release 2009-04-16 00:49:47 +01:00
Stefan Kost
659102e04a gstdebug: show enabled/disabled in configure and fix build for disabled
When its disabled, we poison some symbols to force a build error if they are
used. Dunno how useful this acually is, but we need to disable the poisoning
when we include this ourself. Also don't define some of the dummies, as they
are getting replaced with defines and that creates code that does not compile.
2009-04-15 23:35:35 +03:00
David Schleef
a29773e4cc Bump glib requirement to 2.14
Also remove code conditional on < 2.14.
2009-02-28 11:15:29 -08:00
Jan Schmidt
55ca35afdf build: Update shave init statement for changes in common. Bump common. 2009-02-25 19:59:57 +00:00
David Schleef
81d012ecd9 Change how win32/common/config.h is updated
Generate win32/common/config.h-new directly from config.h.in,
using shell variables in configure and some hard-coded information.
Change top-level makefile so that 'make win32-update' copies the
generated file to win32/common/config.h, which we keep in source
control.  It's kept in source control so that the git tree is
buildable from VS.
2009-02-23 13:08:00 -08:00
Jan Schmidt
9192c7f9a5 Use shave (http://git.lespiau.name/cgit/shave/) to simplify build output 2009-02-22 16:09:42 +00:00
Brian Cameron
0bf1bd0db0 Fix linking failures on Solaris. Fixes bug #568481.
Link libgstreamer with $(LIBM) as it uses math functions.

Add a configure check for socket and nsl library and add
them to LIBS if they're found. This is needed on Solaris
for socket() and gethostbyname().
2009-01-23 09:54:53 +01:00
Jan Schmidt
1bd61cd3d0 Back to development -> 0.10.22.1 2009-01-22 10:45:59 +00:00
Jan Schmidt
e9a393398e Release 0.10.22
Original commit message from CVS:
Release 0.10.22
2009-01-19 22:58:59 +00:00
Jan Schmidt
9d000cbd21 configure.ac: pre-release 0.10.21.3
Original commit message from CVS:
* configure.ac:
pre-release 0.10.21.3
2009-01-09 23:37:19 +00:00
Sebastian Dröge
09c012957e configure.ac: Apparently AC_CONFIG_MACRO_DIR breaks when using more than one macro directory, reverting last change.
Original commit message from CVS:
* configure.ac:
Apparently AC_CONFIG_MACRO_DIR breaks when using more
than one macro directory, reverting last change.
2008-12-04 20:10:42 +00:00
Sebastian Dröge
27e4dd9260 configure.ac: Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to our M4 macros.
Original commit message from CVS:
* configure.ac:
Set AC_CONFIG_MACRO_DIR to common/m4 to point autoconf to
our M4 macros.
2008-12-04 19:45:05 +00:00
Sebastian Dröge
c159bda3a3 Require gettext 0.17 because older versions don't mix with libtool 2.2. At build time an older gettext version will s...
Original commit message from CVS:
Patch by: Cygwin Ports maintainer
<yselkowitz at users dot sourceforge dot net>
* autogen.sh:
* configure.ac:
Require gettext 0.17 because older versions don't mix with libtool
2.2. At build time an older gettext version will still work.
Fixes bug #556091.
2008-11-29 13:29:14 +00:00
Jan Schmidt
d2c33f6d79 configure.ac: Fix a bug in the output of the configure script summary when --gst-disable-registry is supplied
Original commit message from CVS:
* configure.ac:
Fix a bug in the output of the configure script summary
when --gst-disable-registry is supplied
2008-10-22 14:25:16 +00:00
Jan Schmidt
c6d8810a69 configure.ac: Back to development -> 0.10.21.1
Original commit message from CVS:
* configure.ac:
Back to development -> 0.10.21.1
2008-10-05 10:01:50 +00:00
Jan Schmidt
3419fac41b Release 0.10.21
Original commit message from CVS:
Release 0.10.21
2008-10-02 23:59:53 +00:00
Jan Schmidt
1a5d34db8d configure.ac: 0.10.20.4 pre-release
Original commit message from CVS:
* configure.ac:
0.10.20.4 pre-release
2008-09-28 22:49:56 +00:00
Jan Schmidt
044d1ad7fe Gah. Commit pre-release info that should have gone in last week already.
Original commit message from CVS:
Gah. Commit pre-release info that should have gone in last week already.

2008-09-10  Jan Schmidt  <jan.schmidt@sun.com>

* configure.ac:
0.10.20.2 pre-release

* po/LINGUAS:
* po/id.po:
* po/pt_BR.po:

New translations.
2008-09-16 15:24:04 +00:00
Stefan Kost
40d2055451 configure.ac: Do not probe availability of check unit test library when cross compiling, as test would not work anywa...
Original commit message from CVS:
* configure.ac:
Do not probe availability of check unit test library when cross
compiling, as test would not work anyway. Also cleanup verbose output
of the check test. Fixes #551952.
2008-09-15 15:18:07 +00:00
Stefan Kost
df29b0ed39 Revert 'accidential' change of the configure option removal. We still need to generate the types file in configure --...
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer.types:
Revert 'accidential' change of the configure option removal. We still
need to generate the types file in configure --disable-load-save.
2008-08-01 11:57:40 +00:00
Sebastian Dröge
4bfb1fe70c Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types:
* docs/gst/gstreamer.types.in:
* gst/Makefile.am:
* gst/gst.c:
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func):
* gst/gstconfig.h.in:
* gst/gstelement.c: (gst_element_get_index):
* gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
(gst_registry_binary_load_feature),
(gst_registry_binary_read_cache):
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
* plugins/Makefile.am:
* tools/gst-indent:
* tools/gst-inspect.c: (print_index_info), (print_element_list),
(print_plugin_features), (print_element_features):
* tools/gst-xmlinspect.c: (print_event_masks),
(print_element_info):
* win32/common/gstconfig.h:
Remove GST_DISABLE_(ENUMTYPES|INDEX|URI) everywhere.
Disabling the indexers and URI handler code will only reduce the
required amount of memory by a very small amount but on the other hand
requires much more maintaince work. Apart from that many places of
code are broken when disabling them.
Disabling the enum types doesn't reduce the required amount of memory
by more than a few bytes and makes it hard to fix bugs like #539772,
i.e. use the enums as GObject properties.
2008-07-31 15:20:32 +00:00
Michael Smith
e240fcbcaa Build the net library if we have winsock2.
Original commit message from CVS:
* configure.ac:
* libs/gst/Makefile.am:
Build the net library if we have winsock2.
2008-07-29 00:45:29 +00:00
Michael Smith
5b9b2e7779 configure.ac: Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Original commit message from CVS:
* configure.ac:
Remove AC_ISC_POSIX macro; it's broken on some platforms and not needed.
Add check (taken from -base) for winsock, adds WIN32_LIBS
* gst/Makefile.am:
Add WIN32_LIBS to LIBADD for libgstreamer. Needed now that gstpoll uses
winsock.
Define GST_EXPORTS when building libgstreamer (only used on win32)
* gst/gst_private.h:
* gst/gstinfo.h:
Use GST_EXPORT instead of locally-defined (and incorrect IMPORT_SYMBOL)
for symbols that we need to export in both these files.
* gst/gstpoll.c:
Include gst_private.h higher up to avoid some compile problems on win32.
2008-07-22 18:12:54 +00:00
Michael Smith
90154303ee configure.ac: Don't require flex and bison if the parser is disabled.
Original commit message from CVS:
* configure.ac:
Don't require flex and bison if the parser is disabled.
2008-07-10 00:30:02 +00:00
Stefan Kost
5a01364a72 configure.ac:
Original commit message from CVS:
* configure.ac:
Show configuration sumary after configure run. Based on patch by
Luc Pionchon <luc.pionchon@nokia.com>. Fixes: #540134
2008-06-27 09:02:51 +00:00
Thomas Vander Stichele
def24f00ef Don't assume that <valgrind/valgrind.h> exists just because the binary is there.
Original commit message from CVS:
* configure.ac:
* gst/gstinfo.c:
Don't assume that <valgrind/valgrind.h> exists just because
the binary is there.
2008-06-20 15:54:43 +00:00
Jan Schmidt
1b6d2e1ecf configure.ac: Bump version number back to dev -> 0.10.20.1
Original commit message from CVS:
* configure.ac:
Bump version number back to dev -> 0.10.20.1
2008-06-20 08:45:01 +00:00
Jan Schmidt
778767a6b9 Release 0.10.20
Original commit message from CVS:
Release 0.10.20
2008-06-18 10:58:35 +00:00
Jan Schmidt
be36e3d776 configure.ac: 0.10.19.3 pre-release
Original commit message from CVS:
* configure.ac:
0.10.19.3 pre-release
2008-06-11 21:14:17 +00:00
David Schleef
eaeb1a3434 Rename DATADIR to GST_DATADIR to avoid build problems
Original commit message from CVS:
* configure.ac:
* gst/gstpreset.c:
Rename DATADIR to GST_DATADIR to avoid build problems
on win32. Patch By: David Schleef <ds@schleef.org>
Fixes: #536857
2008-06-11 20:07:31 +00:00
Sebastian Dröge
9e6cce35a0 configure.ac: Explicitely link with -ldl if dladdr() is found there. Before it was implicitely linked by the gmodule ...
Original commit message from CVS:
* configure.ac:
Explicitely link with -ldl if dladdr() is found there. Before it was
implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
-ldl has moved from Libs to Libs.private. Fixes bug #536744.
2008-06-05 10:13:45 +00:00
Jan Schmidt
8c81124db1 configure.ac: 0.10.19.2 pre-release
Original commit message from CVS:
* configure.ac:
0.10.19.2 pre-release
2008-06-05 09:41:25 +00:00
Stefan Kost
bedb591973 configure.ac: Add DATADIR for storing presets.
Original commit message from CVS:
Patch by: Stefan Kost  <ensonic@users.sf.net>
* configure.ac:
Add DATADIR for storing presets.
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
* docs/gst/gstreamer.types.in:
Add GstPreset to docs.
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
(preset_open_and_parse_header), (preset_parse_version),
(preset_merge), (preset_get_keyfile),
(gst_preset_default_get_preset_names),
(gst_preset_default_get_property_names),
(gst_preset_default_load_preset),
(gst_preset_default_save_presets_file),
(gst_preset_default_save_preset),
(gst_preset_default_rename_preset),
(gst_preset_default_delete_preset), (gst_preset_default_set_meta),
(gst_preset_default_get_meta), (gst_preset_default_randomize),
(gst_preset_default_reset), (gst_preset_get_preset_names),
(gst_preset_get_property_names), (gst_preset_load_preset),
(gst_preset_save_preset), (gst_preset_rename_preset),
(gst_preset_delete_preset), (gst_preset_set_meta),
(gst_preset_get_meta), (gst_preset_class_init),
(gst_preset_base_init), (gst_preset_get_type):
* gst/gstpreset.h:
Add GstPreset to core. Fixes #396779
* tests/check/Makefile.am:
* tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
(gst_preset_test_set_property), (gst_preset_test_class_init),
(gst_preset_test_base_init), (gst_preset_test_get_type),
(gst_preset_test_plugin_init), (GST_START_TEST),
(remove_preset_file), (test_setup), (test_teardown),
(gst_preset_suite):
Add GstPreset unit tests.
2008-05-27 15:11:35 +00:00
Sebastian Dröge
3f39fd7ebe configure.ac: After discussion on IRC use the binary registry as default but allow to disable it with --disable-binar...
Original commit message from CVS:
* configure.ac:
After discussion on IRC use the binary registry as default
but allow to disable it with --disable-binary-registry.
* win32/common/libgstreamer.def:
Add the two new symbols for the binary registry.
2008-05-22 20:29:20 +00:00
Julien Moutte
224b878ff7 Mac OS X love...
Original commit message from CVS:
2008-04-11  Julien Moutte  <julien@fluendo.com>

Mac OS X love...
* configure.ac: Merge platform specific defines, introduce a new
define on OS X to remember that forking when updating registry is
unsafe.
* docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
module.
* gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
is defined.
* gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
condition that leads to absolutely no plugins being registered on
OS X.
2008-04-11 09:27:44 +00:00
Damien Lespiau
390b19c0cc configure.ac: Actually build dlls when cross-compiling with mingw32.
Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Actually build dlls when cross-compiling with mingw32.
Fixes bug #526247.
2008-04-06 08:54:47 +00:00
Tim-Philipp Müller
95c26e81bb configure.ac: Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
Original commit message from CVS:
* configure.ac:
Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
2008-04-03 21:15:09 +00:00
Stefan Kost
126a1130cd configure.ac: Revert part that belongs to the preset patch.
Original commit message from CVS:
* configure.ac:
Revert part that belongs to the preset patch.
2008-04-03 14:49:06 +00:00
Stefan Kost
d0b15c9e09 configure.ac: Add qoutes to the define. Fixes # 525961.
Original commit message from CVS:
* configure.ac:
Add qoutes to the define. Fixes # 525961.
2008-04-03 14:26:55 +00:00
Sebastian Dröge
1e0128c47e configure.ac: Require GLib 2.12.
Original commit message from CVS:
* configure.ac:
Require GLib 2.12.
* gst/glib-compat-private.h:
* gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
* gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
Unconditionally use GSlice for allocation.
* gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
* gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
* gst/gststructure.c: (gst_structure_id_empty_new_with_size),
(gst_structure_free):
Use GSlice for allocation.
2008-04-01 13:55:20 +00:00
Jason Zhao
7aa5c128c6 configure.ac: Add a configure switch to disable option parsing in gst_init.
Original commit message from CVS:
2008-04-01  Julien Moutte  <julien@fluendo.com>

patch by: Jason Zhao <E3423C@motorola.com>

* configure.ac: Add a configure switch to disable option parsing
in gst_init.
Fixes #522882.
2008-04-01 10:25:35 +00:00
Stefan Kost
b4c170a205 MacOS has plugins under .so or under .dylib. Add detection for MacOS and handle this case.
Original commit message from CVS:
* configure.ac:
* gst/gstregistry.c:
MacOS has plugins under .so or under .dylib. Add detection for MacOS
and handle this case.
* gst/gst.c:
Add a comment here describing, why we stat each plugin and not try to
be smart.
2008-03-31 13:47:22 +00:00
Jan Schmidt
f654a1a186 configure.ac: Back to development - 0.10.18.1
Original commit message from CVS:
* configure.ac:
Back to development - 0.10.18.1
2008-03-21 00:35:10 +00:00
Jan Schmidt
7f836e1c45 Release 0.10.18
Original commit message from CVS:
Release 0.10.18
2008-03-21 00:20:59 +00:00
Jan Schmidt
b6a11d2a85 0.10.17.4 pre-release
Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.4 pre-release
2008-03-18 12:17:58 +00:00
Jan Schmidt
d8da53911b configure.ac: Release 0.10.17.3
Original commit message from CVS:
* configure.ac:
Release 0.10.17.3
2008-03-11 00:23:02 +00:00
Stefan Kost
3c9dda6df9 Move registry backend API to private headers where we can. Add fixme-0.11 comments for the others. Add stubs for the ...
Original commit message from CVS:
* configure.ac:
* gst/gst_private.h:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
* gst/gstregistrybinary.c:
* win32/common/gstconfig.h:
Move registry backend API to private headers where we can. Add
fixme-0.11 comments for the others. Add stubs for the xml backend when
using the binary to ensure they functions exists (they should not be
used though). Fixes #520756.
2008-03-07 11:12:59 +00:00
Jan Schmidt
78d19978ac 0.10.17.2 prelease
Original commit message from CVS:
* configure.ac:
* win32/common/config.h:
0.10.17.2 prelease
2008-03-04 00:14:52 +00:00
Tim-Philipp Müller
5db802f98f Fix broken use of config.h-defined preprocessor directive in a public header file. Add a corresponding define to gstc...
Original commit message from CVS:
* configure.ac:
* gst/gstconfig.h.in:
* gst/gstregistry.h:
Fix broken use of config.h-defined preprocessor directive in a public
header file. Add a corresponding define to gstconfig.h, since we can't
really remove those function declarations from the header file now
(or can we? and why are they there in the first place?).
2008-03-03 14:43:26 +00:00
Wim Taymans
d37ee60f47 configure.ac: Add checks for poll, ppoll and pselect.
Original commit message from CVS:
* configure.ac:
Add checks for poll, ppoll and pselect.
* docs/gst/gstreamer-docs.sgml:
* docs/gst/gstreamer-sections.txt:
Add docs for GstPoll.
* gst/Makefile.am:
* gst/gst.h:
* gst/gstpoll.c: (find_index), (selectable_fds),
(pollable_timeout), (choose_mode), (pollfd_to_fd_set),
(fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
(gst_poll_set_mode), (gst_poll_get_mode),
(gst_poll_add_fd_unlocked), (gst_poll_add_fd),
(gst_poll_remove_fd), (gst_poll_fd_ctl_write),
(gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
(gst_poll_fd_has_closed), (gst_poll_fd_has_error),
(gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
(gst_poll_fd_can_write), (gst_poll_wait),
(gst_poll_set_controllable), (gst_poll_restart),
(gst_poll_set_flushing):
* gst/gstpoll.h:
Add generic poll abstraction. We ideally don't want to have this in core
here but in glib intead...
This code will be used in various network elements and ultimately for
the nanosecond precision monotonic clock (that's why it's here in core).
It'll allow us to implement cancelable socket operations for windows too.
* tests/check/Makefile.am:
* tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
(delayed_stop), (delayed_restart), (delayed_flush),
(delayed_control), (gst_poll_suite):
Add GstPoll unit test.
2008-02-27 18:00:04 +00:00
Sebastian Dröge
6c2f01c3a3 configure.ac: Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
Original commit message from CVS:
* configure.ac:
Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
We're not in 0.8 times anymore.
2008-02-19 13:00:14 +00:00
Jan Schmidt
958a6e20a3 configure.ac: Make DISABLE_DEPRECATED defined *only* during CVS, not during pre-releases or releases.
Original commit message from CVS:
* configure.ac:
Make DISABLE_DEPRECATED defined *only* during CVS, not during
pre-releases or releases.
* docs/faq/gst-uninstalled:
Add gst-plugins-gl
* docs/random/release:
Change one of the steps - we only upload core & base to Gnome FTP
2008-02-08 00:54:28 +00:00
Jan Schmidt
32e896ddb5 configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
2008-01-30 14:38:43 +00:00
Jan Schmidt
ceeb08fd27 Release 0.10.17
Original commit message from CVS:
Release 0.10.17
2008-01-30 14:05:45 +00:00
Jan Schmidt
98a10d1ce3 configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
2008-01-28 23:30:45 +00:00
Jan Schmidt
92a59d99e1 Release 0.10.16
Original commit message from CVS:
Release 0.10.16
2008-01-28 23:27:13 +00:00
Tim-Philipp Müller
2ab5970c4e configure.ac: Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes ...
Original commit message from CVS:
* configure.ac:
Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
_POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
not fail when trying to crosscompile on OpenEmbedded (#511750).
2008-01-24 23:28:54 +00:00
Sebastian Dröge
25a75c7cc8 autogen.sh: Add -Wno-portability to the automake parameters to stop warnings about GNU make extensions being used. We...
Original commit message from CVS:
* autogen.sh:
Add -Wno-portability to the automake parameters to stop warnings
about GNU make extensions being used. We require GNU make in almost
every Makefile anyway.
* configure.ac:
Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
at the same time is required for per target flags.
2008-01-10 12:14:04 +00:00
Laurent Glayal
2f22776f23 configure.ac: Check for stdio_ext.h for the filesink changes.
Original commit message from CVS:
Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
* configure.ac:
Check for stdio_ext.h for the filesink changes.
* plugins/elements/gstfilesink.c: (buffer_mode_get_type),
(gst_file_sink_class_init), (gst_file_sink_init),
(gst_file_sink_dispose), (gst_file_sink_set_property),
(gst_file_sink_get_property), (gst_file_sink_open_file),
(gst_file_sink_close_file):
* plugins/elements/gstfilesink.h:
Add two properties to control the buffering mode and size.
API: GstFileSink::buffer-mode
API: GstFileSink::buffer-size
2007-12-24 19:11:29 +00:00
Sebastian Dröge
ef0e59f1c0 configure.ac: Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
Original commit message from CVS:
* configure.ac:
Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
2007-12-09 04:28:03 +00:00
Stefan Kost
ec080cd61b Apply the posix-timer check from #361155. Conditionally use the posix timer for logging. This gives better timestamp ...
Original commit message from CVS:
* configure.ac:
* gst/gstdebugutils.c:
* gst/gstinfo.c:
Apply the posix-timer check from #361155. Conditionally use the posix
timer for logging. This gives better timestamp precission, less
overhead and no ntp jitter.
2007-11-28 11:39:35 +00:00
Jan Schmidt
c558588f7c configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
2007-11-16 00:23:18 +00:00
Jan Schmidt
f68d08a092 configure.ac: releasing 0.10.15, "October"
Original commit message from CVS:
=== release 0.10.15 ===

2007-11-15  Jan Schmidt <jan.schmidt@sun.com>

* configure.ac:
releasing 0.10.15, "October"
2007-11-16 00:07:54 +00:00
Tim-Philipp Müller
2b6e12aa2a configure.ac: Ugly hack to put the (recently removed and non-portable, apparently)
Original commit message from CVS:
* configure.ac:
Ugly hack to put the (recently removed and non-portable, apparently)
-Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
GNU ld, because without that 'make check' fails miserably on my debian
stable box.  Someone with more knowledge of linker intricacies and
portability issues than me fix this properly please.
2007-10-26 18:39:03 +00:00
Jan Schmidt
d7cbd5de33 Use a custom export symbol regex for libgstcheck, as it needs to export symbols that don't match the standard GStream...
Original commit message from CVS:
* configure.ac:
* libs/gst/check/Makefile.am:
Use a custom export symbol regex for libgstcheck, as it needs
to export symbols that don't match the standard GStreamer gst_*
pattern, and  --export-dynamic is not portable (only works on
GNU ld)
* libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
(gst_check_setup_sink_pad):
Make sure to pass a message parameter to the fail_* macros.
* tests/check/gst/gstinfo.c: (GST_START_TEST):
Fix some compiler warnings.
2007-10-25 14:50:48 +00:00
Jan Schmidt
2ec9403340 configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
2007-08-03 14:40:22 +00:00
Jan Schmidt
1c1759f2fc Release 0.10.14
Original commit message from CVS:
Release 0.10.14
2007-08-03 14:39:15 +00:00
Stefan Kost
d53d6fb8a8 Another conditional doc check.
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer.types.in:
Another conditional doc check.
* gst/gstmessage.c:
* gst/gstparamspecs.h:
* gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
* gst/gstvalue.c:
* gst/gstxml.h:
API-doc fixes.
2007-07-25 13:00:23 +00:00
Stefan Kost
e99d464ea9 Add libm check as we use in for plugins.
Original commit message from CVS:
* configure.ac:
* libs/gst/check/Makefile.am:
Add libm check as we use in for plugins.
2007-07-20 07:09:11 +00:00
Jan Schmidt
dd064a2a2d configure.ac: Revert the pkg-config check for libcheck, since it pulls in the wrong non-PIC libcheck.a on Ubuntu and ...
Original commit message from CVS:
* configure.ac:
Revert the pkg-config check for libcheck, since it pulls in the
wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
a proper solution, either from the check project, or something else.
2007-07-13 13:49:14 +00:00
Stefan Kost
0e4bd38e13 configure.ac: Use pkg-config to locate check.
Original commit message from CVS:
* configure.ac:
Use pkg-config to locate check.
2007-07-12 11:10:22 +00:00
Stefan Kost
90f4e13ae7 configure.ac: Preserve useful information, thanks Tim.
Original commit message from CVS:
* configure.ac:
Preserve useful information, thanks Tim.
2007-06-26 16:24:20 +00:00
Stefan Kost
fa81d90908 configure.ac: Fix typo and test commit mail sending.
Original commit message from CVS:
* configure.ac:
Fix typo and test commit mail sending.
2007-06-07 14:17:46 +00:00
Jan Schmidt
ef9af3ef8b configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
2007-06-05 13:21:41 +00:00
Jan Schmidt
eaaa878f86 Release 0.10.13 "With or without you"
Original commit message from CVS:
Release 0.10.13 "With or without you"
2007-06-05 12:47:23 +00:00
Peter Kjellerstedt
ce9abb4d52 configure.ac: Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
Original commit message from CVS:
Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
* configure.ac:
Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
2007-04-24 06:14:35 +00:00
Stefan Kost
92cd1de49e 2nd attempt to have a xml-less build as a joined effort of #413123 and #421480.
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gstconfig.h.in:
* gst/gstobject.c: (gst_object_class_init),
(gst_signal_object_class_init):
* gst/gstobject.h:
2nd attempt to have a xml-less build as a joined effort of #413123
and #421480.
2007-04-20 08:39:35 +00:00
Stefan Kost
901dc53de9 Drop libxml2 dependency when building with
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gstconfig.h.in:
Drop libxml2 dependency when building with
--enable-binary-registry --disable-loadsave
2007-04-17 10:46:46 +00:00
Jan Schmidt
b1f78eff4e configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
2007-03-07 16:55:02 +00:00
Jan Schmidt
d11a2d7243 Release 0.10.12
Original commit message from CVS:
Release 0.10.12
2007-03-07 16:44:04 +00:00
Jan Schmidt
7e4e566bc2 configure.ac: Version 0.10.11.2 (0.10.12 pre-release)
Original commit message from CVS:
* configure.ac:
Version 0.10.11.2 (0.10.12 pre-release)
Bump libtool versioning.
2007-03-01 18:46:36 +00:00
Thomas Vander Stichele
3d2c9d69f7 configure.ac: Convert to new AG_GST style.
Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.
2007-02-28 19:25:48 +00:00
Stefan Kost
f7f2e89e63 Add crossreferences to glib/gobject docs.
Original commit message from CVS:
* configure.ac:
* docs/gst/Makefile.am:
* docs/libs/Makefile.am:
* docs/plugins/Makefile.am:
Add crossreferences to glib/gobject docs.
2007-02-12 19:55:24 +00:00
Stefan Kost
ea55e1357e configure.ac: comment about refining the xml deps
Original commit message from CVS:
* configure.ac:
comment about refining the xml deps
* docs/manuals.mak:
comments about moving away from jade for docs
* gst/gst.c:
recommit the ifdefs to use the binary registry
* gst/gstbin.c: (gst_bin_change_state_func):
this break is obsolete
* gst/gstelementfactory.h:
better GST_ELEMENT_DETAILS docs, add comment about translation
* gst/gstinfo.h:
remove eol slash
* gst/gstobject.c: (gst_signal_object_get_type):
add G_UNLIKELY as usual
* gst/gstpad.c: (gst_pad_event_default):
add fall trhu comment
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_save_string),
(gst_registry_binary_save_pad_template),
(gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
comment typo and formatting
* gst/gstutils.c: (gst_element_state_get_name),
(gst_element_state_change_return_get_name):
remove obsolete breaks
* gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
add FIXME 0.11 and remove cpp comment
2007-01-29 15:54:09 +00:00
Stefan Kost
ebf0c9d353 commit binary registry (disabled by default, see #359653)
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gstregistry.c: (gst_registry_lookup_feature_locked),
(gst_registry_lookup_locked):
* gst/gstregistry.h:
* gst/gstregistrybinary.c: (gst_registry_binary_write),
(gst_registry_binary_initialize_magic),
(gst_registry_binary_save_string),
(gst_registry_binary_save_pad_template),
(gst_registry_binary_save_feature),
(gst_registry_binary_save_plugin),
(gst_registry_binary_write_cache),
(gst_registry_binary_check_magic),
(gst_registry_binary_load_pad_template),
(gst_registry_binary_load_feature),
(gst_registry_binary_load_plugin),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
* gst/gstregistryxml.c: (load_feature),
(gst_registry_xml_read_cache):
commit binary registry (disabled by default, see #359653)
2007-01-11 13:45:51 +00:00
Tim-Philipp Müller
40f4221ac5 Compile adapter test/example only if the required headers are available (fixes #391915).
Original commit message from CVS:
* configure.ac:
* tests/examples/Makefile.am:
Compile adapter test/example only if the required headers are
available (fixes #391915).
2007-01-02 17:01:33 +00:00
Tim-Philipp Müller
6043da0aca Add some basic system details such as OS and architecture to the debug output if possible, courtesy of uname().
Original commit message from CVS:
* configure.ac:
* gst/gst.c: (init_pre):
Add some basic system details such as OS and architecture
to the debug output if possible, courtesy of uname().
2006-12-12 13:53:04 +00:00
Jan Schmidt
9345a5636a configure.ac: Bump version nano - back to CVS.
Original commit message from CVS:
* configure.ac:
Bump version nano - back to CVS.
2006-12-07 02:37:18 +00:00
Jan Schmidt
d9f17ebd16 configure.ac: releasing 0.10.11, "Love never runs on time"
Original commit message from CVS:
=== release 0.10.11 ===

2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.11, "Love never runs on time"
2006-12-07 02:33:54 +00:00
Jan Schmidt
6f363cd89b Do some optimisation work in GstAdapter to avoid copies in more cases.
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* libs/gst/base/gstadapter.c: (gst_adapter_clear),
(gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
(gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
* libs/gst/base/gstadapter.h:
* tests/check/libs/adapter.c: (create_and_fill_adapter),
(GST_START_TEST), (gst_adapter_suite):
* tests/examples/Makefile.am:
Do some optimisation work in GstAdapter to avoid copies in more cases.
It could still do slightly better by merging buffers when
gst_buffer_is_span_fast is true, but is already faster.
Also, avoid traversing a single-linked list to append each incoming
buffer inside the adapter.
Add simple test app that times the adapter behaviour in different
situations, and extend the unit test to check that bytes enter and
exit the adapter in their original order.
2006-11-09 14:37:38 +00:00
Josep Torre Valles
7869189d6a Fix a compilation issue with Forte on Solaris. inet_aton is in libresolv.
Original commit message from CVS:
2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

Patch by: Josep Torre Valles <josep@fluendo.com>

* common/m4/gst-error.m4:
* configure.ac:
* libs/gst/net/Makefile.am:
Fix a compilation issue with Forte on Solaris.  inet_aton is in
libresolv.
2006-10-05 15:31:16 +00:00
Tim-Philipp Müller
376f6c34da Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know whether we can use G_GNUC_PRINTF in other header files ...
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/gstconfig.h.in:
* gst/gstelement.h:
* gst/gstinfo.h:
Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
whether we can use G_GNUC_PRINTF in other header files and at
least check the printf format/arguments of debug messages and
GST_ELEMENT_ERROR messages when the printf extension is not
being used.
Replace more tabs with spaces in gstinfo.h and remove two spurious
function declarations in GST_DISABLE_DEBUG part with macros.
2006-10-05 12:31:07 +00:00
Jan Schmidt
5ad1430ce9 configure.ac: Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we want gmodule-no-export-2.0.pc instea...
Original commit message from CVS:
* configure.ac:
Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
want gmodule-no-export-2.0.pc instead so that we don't drag in
--export-dynamic on every project that links to GStreamer.
Also, make our export regex only match the start of symbols, rather
than any symbol that contains '_gst' somewhere.
* libs/gst/check/Makefile.am:
The libgstcheck we build does however need export-dynamic, as it
produces some symbols that don't match our _gst... style regex.
2006-09-28 11:11:28 +00:00
Thomas Vander Stichele
147373d4a7 Extract the manual examples again like we used to do.
Original commit message from CVS:
* configure.ac:
* docs/manual/advanced-autoplugging.xml:
* tests/examples/Makefile.am:
* tests/examples/manual/.cvsignore:
* tests/examples/manual/Makefile.am:
* tests/examples/manual/extract.pl:
Extract the manual examples again like we used to do.
Fix one of them.
2006-09-16 10:49:47 +00:00
Thomas Vander Stichele
ce37c09168 back to trunk
Original commit message from CVS:
back to trunk
2006-09-14 20:11:10 +00:00
Thomas Vander Stichele
24703cdf92 releasing 0.10.10
Original commit message from CVS:
releasing 0.10.10
2006-09-14 20:08:14 +00:00
Thomas Vander Stichele
cb74c7707a first prerelease
Original commit message from CVS:
first prerelease
2006-09-09 16:08:17 +00:00
Andy Wingo
86b76f4c22 GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people th...
Original commit message from CVS:
2006-08-11  Andy Wingo  <wingo@pobox.com>

* configure.ac:
* libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
* tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
is only for users of API that don't want to see deprecated
functions in the headers; people that want to compile out
deprecated code should pass -DGST_REMOVE_DEPRECATED into the
CFLAGS. Fixes the build of multifdsink, or will soon..
2006-08-11 15:26:33 +00:00
Tim-Philipp Müller
57212633aa API: add GST_SEGMENT_FORMAT, which is a printf extension we register that lets us easily dump GstSegments into debug ...
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/gstconfig.h.in:
* gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
(_gst_info_printf_extension_ptr),
(_gst_info_printf_extension_segment):
API: add GST_SEGMENT_FORMAT, which is a printf extension we
register that lets us easily dump GstSegments into debug
logs (#350419).
* tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
(info_segment_format_printf_extension), (gst_info_suite):
Add simple unit test that logs a bunch of different segments (not
valgrinded at the moment because of leaks in gst_debug_add_log_function).
2006-08-09 15:13:14 +00:00
Stefan Kost
4cb08fa3f2 Original commit message from CVS:
* configure.ac:
* gst/gstparse.c: (gst_parse_launch):
2006-07-21 13:11:33 +00:00
Jan Schmidt
7bb58cbf66 configure.ac: Bump nano back to CVS
Original commit message from CVS:
* configure.ac:
Bump nano back to CVS
2006-07-14 15:52:55 +00:00
Jan Schmidt
0f14bf2d95 configure.ac: releasing 0.10.9, "On the road again"
Original commit message from CVS:
2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.9, "On the road again"
2006-07-14 15:50:19 +00:00
Tim-Philipp Müller
1a449fc52a Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION instead of the unversioned gst-inspect (#324176, #168659).
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst-element-check.m4:
* gst-element-check.m4.in:
Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
instead of the unversioned gst-inspect (#324176, #168659).
2006-07-07 09:09:10 +00:00
Thomas Vander Stichele
0608264990 configure.ac: don't set CFLAGS and friends for gcov, done from GST_GCOV now
Original commit message from CVS:
* configure.ac:
don't set CFLAGS and friends for gcov, done from GST_GCOV now
* tests/check/Makefile.am:
clean up gcov files
2006-07-02 14:39:12 +00:00
Thomas Vander Stichele
3c3bbc87d4 configure.ac: set CFLAGS and friends to -O0 if gcov is being used add GCOV LIBS
Original commit message from CVS:
* configure.ac:
set CFLAGS and friends to -O0 if gcov is being used
add GCOV LIBS
* gst/Makefile.am:
* libs/gst/base/Makefile.am:
* libs/gst/check/Makefile.am:
* libs/gst/controller/Makefile.am:
* libs/gst/dataprotocol/Makefile.am:
* libs/gst/net/Makefile.am:
* plugins/elements/Makefile.am:
* plugins/indexers/Makefile.am:
add makefile rules to generate gcov data and clean up
* tests/check/Makefile.am:
add a coverage target that generates an html overview
of coverage data
2006-07-01 23:26:06 +00:00
Tim-Philipp Müller
fa5953d31c autogen.sh: Add default for new --enable-plugin-docs switch.
Original commit message from CVS:
* autogen.sh:
Add default for new --enable-plugin-docs switch.
* configure.ac:
Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
Fixes #344039.
* docs/Makefile.am:
Use new ENABLE_PLUGIN_DOCS conditional.
2006-06-16 08:30:47 +00:00
Thomas Vander Stichele
d739dfa75f back to HEAD
Original commit message from CVS:
back to HEAD
2006-06-10 17:32:53 +00:00
Thomas Vander Stichele
e9bcb93ec0 releasing 0.10.8
Original commit message from CVS:
releasing 0.10.8
2006-06-10 17:06:33 +00:00
Thomas Vander Stichele
67759aafe9 configure.ac: back to TRUNK
Original commit message from CVS:
2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac:
back to TRUNK
2006-06-09 18:52:02 +00:00
Thomas Vander Stichele
afdc4774e4 releasing 0.10.7
Original commit message from CVS:
releasing 0.10.7
2006-06-09 18:49:25 +00:00
Thomas Vander Stichele
2652f9152a 0.10.6.2 prerelease
Original commit message from CVS:
* configure.ac:
* po/af.po:
* po/az.po:
* po/bg.po:
* po/ca.po:
* po/cs.po:
* po/de.po:
* po/en_GB.po:
* po/fr.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/ru.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/tr.po:
* po/uk.po:
* po/vi.po:
* po/zh_CN.po:
* po/zh_TW.po:
* win32/common/config.h:
0.10.6.2 prerelease
2006-06-07 10:46:04 +00:00
Thomas Vander Stichele
dd0456fe1c gst/gst.c: if we have fork, fork while reading/rebuilding the registry so the parent doesn't take the hit of having a...
Original commit message from CVS:

* gst/gst.c: (init_post):
if we have fork, fork while reading/rebuilding the registry
so the parent doesn't take the hit of having all plugins loaded
in memory.  Fixes #342777.
* configure.ac:
Check if we have fork()
* win32/common/config.h.in:
no fork() on win32
2006-05-28 09:09:03 +00:00
Jan Schmidt
068893b8b2 Back to CVS
Original commit message from CVS:
Back to CVS
2006-05-14 16:03:20 +00:00
Jan Schmidt
bac38e8c1e configure.ac: releasing 0.10.6, "Take the cannoli"
Original commit message from CVS:
2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>

* configure.ac:
releasing 0.10.6, "Take the cannoli"
2006-05-14 15:20:24 +00:00
Thomas Vander Stichele
34eabc4eaa Makefile.am: updates for win32
Original commit message from CVS:
* Makefile.am:
updates for win32
* configure.ac:
define GST_MAJORMINOR so we have it available in win32/common/config.h
Possibly remove it from our Makefile.am files later
* win32/common/config.h:
* win32/common/config.h.in:
added GST_MAJORMINOR
* win32/common/gstenumtypes.c: (register_gst_resource_error):
* win32/common/gstversion.h:
updated
2006-05-12 14:53:49 +00:00
Tim-Philipp Müller
54c2d0552c configure.ac: Require GLib-2.8 here as well.
Original commit message from CVS:
* configure.ac:
Require GLib-2.8 here as well.
2006-05-05 08:56:32 +00:00
Thomas Vander Stichele
df764578f4 back to HEAD
Original commit message from CVS:
back to HEAD
2006-04-28 10:56:04 +00:00
Thomas Vander Stichele
36ebf70242 releasing 0.10.5
Original commit message from CVS:
releasing 0.10.5
2006-04-28 10:53:33 +00:00
Thomas Vander Stichele
039d28cf5d prerelease
Original commit message from CVS:
prerelease
2006-04-26 13:54:48 +00:00
Thomas Vander Stichele
f2ac9bc15a update libtool versioning
Original commit message from CVS:
update libtool versioning
2006-04-12 11:04:36 +00:00
Thomas Vander Stichele
0a75b8a415 prerelease
Original commit message from CVS:
prerelease
2006-04-12 10:57:26 +00:00
Thomas Vander Stichele
a93a280d99 disable use of AS_LIBTOOL_TAGS, it doesn't work correctly
Original commit message from CVS:
disable use of AS_LIBTOOL_TAGS, it doesn't work correctly
2006-04-01 15:30:49 +00:00
Thomas Vander Stichele
f5bf786c85 configure.ac: use new AS_VERSION and AS_NANO macros
Original commit message from CVS:

* configure.ac:
use new AS_VERSION and AS_NANO macros
* gst/gst-i18n-lib.h:
* gst/gst.c:
* gst/gsterror.c:
* gst/gstversion.h.in:
* win32/common/config.h:
* win32/common/config.h.in:
update accordingly
2006-04-01 09:41:43 +00:00
Thomas Vander Stichele
07bb30df7e disable some tests when we don't have a registry
Original commit message from CVS:

* configure.ac:
* tests/check/Makefile.am:
disable some tests when we don't have a registry
* tests/check/gst/gstutils.c: (gst_utils_suite):
don't build the part that needs parsing
2006-03-21 19:27:15 +00:00
Julio M. Merino Vidal
a93efc69ba configure.ac: Don't check for libgnomeui (leftover from old examples that aren't built or disted any longer) (#334303).
Original commit message from CVS:
Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
* configure.ac:
Don't check for libgnomeui (leftover from old examples
that aren't built or disted any longer) (#334303).
2006-03-12 14:32:37 +00:00
Thomas Vander Stichele
a9564d6b6f back to head
Original commit message from CVS:
back to head
2006-03-10 19:11:34 +00:00
Thomas Vander Stichele
2826d0b65e releasing 0.10.4
Original commit message from CVS:
releasing 0.10.4
2006-03-10 19:03:13 +00:00