platform/upstream/glib.git
14 years agoBug 623402 - schema compiler reports wrong line
Ryan Lortie [Fri, 2 Jul 2010 15:14:28 +0000 (11:14 -0400)]
Bug 623402 - schema compiler reports wrong line

Don't reuse the GMarkupParseContext in order to avoid inaccurate line
number reports.  Fix a memory leak, too.

14 years agoBug 623401 - schema compiler: process enums first
Ryan Lortie [Fri, 2 Jul 2010 15:11:45 +0000 (11:11 -0400)]
Bug 623401 - schema compiler: process enums first

Process *.enum.xml before any *.gschema.xml files to ensure that all
enums have been defined.

14 years agoGDBus: Hold lock when printing debug messages
David Zeuthen [Fri, 2 Jul 2010 13:40:59 +0000 (09:40 -0400)]
GDBus: Hold lock when printing debug messages

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: make G_DBUS_DEBUG=authentication work again
David Zeuthen [Fri, 2 Jul 2010 13:34:03 +0000 (09:34 -0400)]
GDBus: make G_DBUS_DEBUG=authentication work again

This was inadvertently removed in this commit

http://git.gnome.org/browse/glib/commit/?id=1d22b64843c83631bcd0e5255930f3a4e990961e

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUpdate headers being installed in the Visual Studio project
Tor Lillqvist [Fri, 2 Jul 2010 12:31:24 +0000 (15:31 +0300)]
Update headers being installed in the Visual Studio project

It sucks to have the lists of public headers duplicated in the
Makefile.am files and the glib.vsprops file. But it isn't exactly easy
to work around all the weirdness in autotools, Visual Studio, and bat
files either to do it another way.

14 years agoBug 622124 - implement flags for GSettings
Ryan Lortie [Thu, 1 Jul 2010 22:58:56 +0000 (18:58 -0400)]
Bug 622124 - implement flags for GSettings

Add a <flags> tag to the schema file format and a flags='' attribute to
go along with.  Add some extra test cases for those.

Add new g_settings_{get,set}_flags() calls and support binding to
GParamSpecFlags properties.  Add test cases.

14 years agoUpdated Spanish translation
Jorge González [Thu, 1 Jul 2010 19:39:37 +0000 (21:39 +0200)]
Updated Spanish translation

14 years agoBug 620913 – More control with G_DBUS_DEBUG
David Zeuthen [Thu, 1 Jul 2010 18:37:16 +0000 (14:37 -0400)]
Bug 620913 – More control with G_DBUS_DEBUG

This commit adds the following G_DBUS_DEBUG flags

 - emission
 - incoming
 - call
 - signal
 - payload

https://bugzilla.gnome.org/show_bug.cgi?id=620913

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Fix bug in child enumeration
David Zeuthen [Thu, 1 Jul 2010 17:06:56 +0000 (13:06 -0400)]
GDBus: Fix bug in child enumeration

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUse "unix:" instead of tcp in test for now...
Ryan Lortie [Thu, 1 Jul 2010 16:55:04 +0000 (12:55 -0400)]
Use "unix:" instead of tcp in test for now...

Temporarily avoids the issue reported in bug #623306.

14 years agoGDBus: plug some memory leaks
David Zeuthen [Wed, 30 Jun 2010 20:36:47 +0000 (16:36 -0400)]
GDBus: plug some memory leaks

These fixes makes udisks-daemon from udisks' gdbus-port branch, see

 http://cgit.freedesktop.org/udisks/log/?h=gdbus-port

handle 200 add/remove uevents generated by e.g.

 #!/bin/bash
 DEV=mmcblk0p1
 for n in `seq 200` ; do
     udevadm trigger --sysname-match=$DEV --action=remove
     udevadm trigger --sysname-match=$DEV --action=add
     echo foo $n
 done

without any substantial leaks.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGSettings: accept <flags> as an alias for <enum>
Ryan Lortie [Wed, 30 Jun 2010 17:27:38 +0000 (13:27 -0400)]
GSettings: accept <flags> as an alias for <enum>

until we have proper support for flags...

14 years agogsettings.m4: add support for enums
Ryan Lortie [Wed, 30 Jun 2010 17:12:19 +0000 (13:12 -0400)]
gsettings.m4: add support for enums

14 years agoGDBus: Take a reference to the GDBusInterfaceInfo object
David Zeuthen [Wed, 30 Jun 2010 16:19:28 +0000 (12:19 -0400)]
GDBus: Take a reference to the GDBusInterfaceInfo object

Things will still work fine if the GDBusInterfaceInfo is allocated
statically because if so the ref_count will be -1.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Rename `introspection_data' parameter to `interface_info'
David Zeuthen [Wed, 30 Jun 2010 16:10:00 +0000 (12:10 -0400)]
GDBus: Rename `introspection_data' parameter to `interface_info'

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoBug 623142 – Ensure ::new-connection runs before processing D-Bus messages
David Zeuthen [Wed, 30 Jun 2010 15:43:42 +0000 (11:43 -0400)]
Bug 623142 – Ensure ::new-connection runs before processing D-Bus messages

Without this guarantee, peer-to-peer connections are not very
useful. However, with this guarantee it's possible to export objects
in a handler for the GDBusServer::new-connection signal.

There are two caveats with this patch

 - it won't work on message bus connections
 - we don't queue up messages to be written

that can be addresses later if needed.

https://bugzilla.gnome.org/show_bug.cgi?id=623142

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agog_settings_list_keys() -> _list_items()
Ryan Lortie [Wed, 30 Jun 2010 14:02:45 +0000 (10:02 -0400)]
g_settings_list_keys() -> _list_items()

This function returns children as well.

14 years agoGSettings: add <override>, tests, modify output
Ryan Lortie [Wed, 30 Jun 2010 00:24:39 +0000 (20:24 -0400)]
GSettings: add <override>, tests, modify output

Add <override> tag, more tests, and actually output the results of these
new tags to the gschemas.compiled file.

14 years agoGSettings: new <schema> tags 'extends', 'list-of'
Ryan Lortie [Tue, 29 Jun 2010 18:41:04 +0000 (14:41 -0400)]
GSettings: new <schema> tags 'extends', 'list-of'

Add support for extends='' and list-of='' tags to the <schema> element.
The attributes are parsed and some sanity-checking is done but currently
nothing happens as a result.

Add some tests.

14 years agoglib-compile-schemas: fix small leak
Ryan Lortie [Tue, 29 Jun 2010 18:40:44 +0000 (14:40 -0400)]
glib-compile-schemas: fix small leak

14 years agoBug 623143 – Never require non-closed connections
David Zeuthen [Tue, 29 Jun 2010 19:19:56 +0000 (15:19 -0400)]
Bug 623143 – Never require non-closed connections

There's a couple of places in GDBus where it's a programming error
(e.g. we'll assert or spew via e.g. g_warning()) to use the API on a
closed connection.  This approach can never work since a
GDBusConnection can be closed at any point in time outside of
programmer control.

Just change the code to return a run-time error (e.g. return
G_IO_ERROR_CLOSED when sending messages, invoking methods) or silently
accept the request (e.g.  exporting objects, registering for signals)
without doing anything.

Note that a GDBusConnection object is always useless after being
closed - e.g.  there's no way to "reopen" a connection - the user will
have to create a new object and use that instead.

https://bugzilla.gnome.org/show_bug.cgi?id=623143

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoBug 622294 - More annotations for GVariant
Milan Bouchet-Valat [Mon, 21 Jun 2010 15:09:07 +0000 (17:09 +0200)]
Bug 622294 - More annotations for GVariant

This adds annotations to all functions in gvariant.c. A few docs
were also fixed (wrong parameter names, missing mention that NULL
is allowed).

14 years ago[autogen.sh] Support NOCONFIGURE (from gnome-common)
Colin Walters [Mon, 28 Jun 2010 21:16:44 +0000 (17:16 -0400)]
[autogen.sh] Support NOCONFIGURE (from gnome-common)

gnome-common's autogen.sh uses NOCONFIGURE to skip running configure.
Support that in addition to the current AUTOGEN_SUBDIR_MODE.

14 years agoUpdated Spanish translation
Jorge González [Mon, 28 Jun 2010 18:57:31 +0000 (20:57 +0200)]
Updated Spanish translation

14 years agoBug 622565 - compile-schemas fails when no schemas
Ryan Lortie [Mon, 28 Jun 2010 18:06:32 +0000 (14:06 -0400)]
Bug 622565 - compile-schemas fails when no schemas

Neutralise and deprecate the --uninstall option in the schema compiler
and remove it from gsettings.m4.

Make the new default behaviour a compromise between the old default
behaviour and the previous --uninstall option:

  - never return a failure code if no schema files are found

  - issue a warning instead

  - remove the gschemas.compiled file if it exists

14 years agoGSettings: peek instead of ref/unref enum class
Ryan Lortie [Mon, 28 Jun 2010 17:58:25 +0000 (13:58 -0400)]
GSettings: peek instead of ref/unref enum class

We only ever do the enum mapping for the property binding in the case
that a GParamSpecEnum exists and in that case the class is already
referenced by the GParamSpec.  Use peek instead of ref/unref and add a
clarifying note.

14 years agoBug 622127 - GSettings extended key validation
Ryan Lortie [Mon, 28 Jun 2010 14:18:45 +0000 (10:18 -0400)]
Bug 622127 - GSettings extended key validation

First shot at attempting to implement this in a reasonable way.  See
the bug for more information about why this is needed.

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Mon, 28 Jun 2010 09:28:47 +0000 (12:28 +0300)]
Updated Hebrew translation.

14 years agoFix a alloc/free mismatch
Matthias Clasen [Sun, 27 Jun 2010 23:27:04 +0000 (19:27 -0400)]
Fix a alloc/free mismatch

Pointed out in http://bugzilla.redhat.com/show_bug.cgi?id=608453
by David Tardon.

14 years agoFilter out child schema entries when listing keys
Matthias Clasen [Sun, 27 Jun 2010 20:31:53 +0000 (16:31 -0400)]
Filter out child schema entries when listing keys

14 years agoImplement bash completion for gsettings
Matthias Clasen [Sun, 27 Jun 2010 20:00:20 +0000 (16:00 -0400)]
Implement bash completion for gsettings

14 years agoGSettings: Don't free value before using its type
Ryan Lortie [Sun, 27 Jun 2010 14:11:45 +0000 (10:11 -0400)]
GSettings: Don't free value before using its type

Fix a bug where the type from g_variant_get_type() was used after
freeing the variant.  This works for base types (since they are cached
and live forever) but not for arrays (where the bug was first seen).

14 years agoAdd PCRE_EXP_DECL to pcre_callout declaration
Kristian Rietveld [Sat, 26 Jun 2010 20:55:47 +0000 (22:55 +0200)]
Add PCRE_EXP_DECL to pcre_callout declaration

Fixes build on Mac OS X.

14 years agoUpdated Spanish translation
Jorge González [Sat, 26 Jun 2010 08:14:52 +0000 (10:14 +0200)]
Updated Spanish translation

14 years agoBug 622128 - retry with default for failed mapping
Ryan Lortie [Fri, 25 Jun 2010 14:52:32 +0000 (10:52 -0400)]
Bug 622128 - retry with default for failed mapping

Hold the GSettingsKeyInfo as part of the binding structure to save work
on each get/set.  Use our copy of this structure to call the internal
get/set APIs.  Give more descriptive error messages in the case of
invalid data on sets and retry using the translated default then schema
default value in case of failure to map on reads.

14 years ago[gbinding] Move argument reference out of first column
Colin Walters [Thu, 17 Jun 2010 02:44:58 +0000 (22:44 -0400)]
[gbinding] Move argument reference out of first column

It makes gobject-introspection complain.

14 years agoHack up glib/tests/array-test to not actually malloc 2G
Dan Winship [Thu, 24 Jun 2010 18:23:37 +0000 (14:23 -0400)]
Hack up glib/tests/array-test to not actually malloc 2G

Fixes the test on machines where that allocation takes very long.

https://bugzilla.gnome.org/show_bug.cgi?id=610784

14 years agoversion.bump()
Ryan Lortie [Thu, 24 Jun 2010 17:32:26 +0000 (13:32 -0400)]
version.bump()

14 years agoRelease glib 2.25.10 2.25.10
Ryan Lortie [Thu, 24 Jun 2010 17:18:44 +0000 (13:18 -0400)]
Release glib 2.25.10

14 years agoTweak GSettings key/schema listing APIs
Ryan Lortie [Thu, 24 Jun 2010 16:25:48 +0000 (12:25 -0400)]
Tweak GSettings key/schema listing APIs

14 years agoClarify GSettings documentation wrt errors
Ryan Lortie [Thu, 24 Jun 2010 06:28:01 +0000 (02:28 -0400)]
Clarify GSettings documentation wrt errors

Make it clear about exactly what "@key is valid" means.

14 years agog_keyfile_settings_backend_new doc improvement
Ryan Lortie [Thu, 24 Jun 2010 06:21:58 +0000 (02:21 -0400)]
g_keyfile_settings_backend_new doc improvement

14 years agoGSettings: add g_settings_list_keys()
Ryan Lortie [Thu, 24 Jun 2010 06:15:15 +0000 (02:15 -0400)]
GSettings: add g_settings_list_keys()

Second half of bug #622554.

14 years agoAdd g_settings_schema_exists
Ryan Lortie [Thu, 24 Jun 2010 05:49:27 +0000 (01:49 -0400)]
Add g_settings_schema_exists

Solves half of #622554.

14 years agoKeyfileSettingsBackend: fix symbol visibility leak
Ryan Lortie [Thu, 24 Jun 2010 05:49:00 +0000 (01:49 -0400)]
KeyfileSettingsBackend: fix symbol visibility leak

14 years agoRework the GSettings keyfile backend
Ryan Lortie [Tue, 22 Jun 2010 12:12:04 +0000 (08:12 -0400)]
Rework the GSettings keyfile backend

14 years agoGSettingsBackend: some debug code
Ryan Lortie [Thu, 24 Jun 2010 04:55:14 +0000 (00:55 -0400)]
GSettingsBackend: some debug code

14 years agoIgnore more glib test cases
Ryan Lortie [Thu, 24 Jun 2010 04:41:05 +0000 (00:41 -0400)]
Ignore more glib test cases

14 years agofix leaks in the GSettings test case
Ryan Lortie [Thu, 24 Jun 2010 04:36:42 +0000 (00:36 -0400)]
fix leaks in the GSettings test case

14 years agoGChecksum: accept NULL pointer with length 0
Ryan Lortie [Thu, 24 Jun 2010 04:35:10 +0000 (00:35 -0400)]
GChecksum: accept NULL pointer with length 0

Several GChecksum functions were incorrectly aborting when passed a NULL
data pointer, even if the length parameter was equal to zero.

14 years agoGSettings "delayed": don't leak unapplied keys
Ryan Lortie [Thu, 24 Jun 2010 04:38:01 +0000 (00:38 -0400)]
GSettings "delayed": don't leak unapplied keys

GDelayedSettingsBackend was leaking the GTree holding the list of
unapplied keys on finalize.

14 years agoDeprecate some rarely-used APIS
Matthias Clasen [Thu, 24 Jun 2010 02:32:35 +0000 (22:32 -0400)]
Deprecate some rarely-used APIS

GRelation and GCompletion are almost never used, and not very actively
maintained. Mark them as deprecated to make this clear. Bug #551271.

14 years agoIntroduce G_PARAM_DEPRECATED and G_ENABLE_DIAGNOSTIC
Christian Dywan [Fri, 18 Jun 2010 14:14:27 +0000 (16:14 +0200)]
Introduce G_PARAM_DEPRECATED and G_ENABLE_DIAGNOSTIC

See https://bugzilla.gnome.org/show_bug.cgi?id=601686

14 years agobinding: Add SYNC_CREATE to the flags
Emmanuele Bassi [Mon, 21 Jun 2010 11:26:42 +0000 (12:26 +0100)]
binding: Add SYNC_CREATE to the flags

When creating a binding between two object properties we might want to
automatically synchronize the two values at the moment of the binding
creation, instead of waiting for the next change.

The G_BINDING_SYNC_CREATE flag does exactly what it says on the tin.

https://bugzilla.gnome.org/show_bug.cgi?id=622281

14 years agoneutralise pltcheck.sh
Ryan Lortie [Wed, 23 Jun 2010 14:12:14 +0000 (10:12 -0400)]
neutralise pltcheck.sh

14 years agoGIO doc cleanups
Matthias Clasen [Wed, 23 Jun 2010 13:03:51 +0000 (09:03 -0400)]
GIO doc cleanups

14 years agoDocument g_cclosure_marshal_VOID__VARIANT
Matthias Clasen [Wed, 23 Jun 2010 11:32:24 +0000 (07:32 -0400)]
Document g_cclosure_marshal_VOID__VARIANT

14 years agoIgnore gatomicarray.h
Matthias Clasen [Wed, 23 Jun 2010 11:22:49 +0000 (07:22 -0400)]
Ignore gatomicarray.h

Otherwise gtk-doc picks up declarations from that header and is
disappointed when they are not documented.

14 years agosilence gtk-doc
Matthias Clasen [Wed, 23 Jun 2010 11:21:50 +0000 (07:21 -0400)]
silence gtk-doc

Add g_error_get_type to a private section in gobject-sections.txt
so gtk-doc doesn't complain about it.

14 years agoAdd some more unicode property tests
Matthias Clasen [Wed, 23 Jun 2010 04:20:11 +0000 (00:20 -0400)]
Add some more unicode property tests

14 years agoMove node tests to the test framework
Matthias Clasen [Wed, 23 Jun 2010 03:39:51 +0000 (23:39 -0400)]
Move node tests to the test framework

14 years agoSome more hash, utils and checksum tests
Matthias Clasen [Wed, 23 Jun 2010 02:25:02 +0000 (22:25 -0400)]
Some more hash, utils and checksum tests

14 years agoMove node test to the test framework
Matthias Clasen [Wed, 23 Jun 2010 02:24:29 +0000 (22:24 -0400)]
Move node test to the test framework

14 years agoMove date tests to the test framework
Matthias Clasen [Tue, 22 Jun 2010 23:50:35 +0000 (19:50 -0400)]
Move date tests to the test framework

14 years agoAdd an index for 2.26 api additions
Matthias Clasen [Tue, 22 Jun 2010 21:42:30 +0000 (17:42 -0400)]
Add an index for 2.26 api additions

14 years agoImprove documentation for g_strcmp0()
Milan Bouchet-Valat [Wed, 23 Jun 2010 10:17:29 +0000 (12:17 +0200)]
Improve documentation for g_strcmp0()

Be more explicit about the handling of two NULL pointers.

https://bugzilla.gnome.org/show_bug.cgi?id=622480

14 years agoGDBusProxy: Don't warn when calling methods on other interfaces
David Zeuthen [Tue, 22 Jun 2010 21:48:35 +0000 (17:48 -0400)]
GDBusProxy: Don't warn when calling methods on other interfaces

If we know the expected interface (e.g. :g-interface-info is set),
then we always warned when calling a method on a different
interface. Don't do that, there's no way the expected interface can
know anything about this method.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agogio/tests/testapps: Fix source refcounting
Dan Winship [Tue, 22 Jun 2010 19:31:55 +0000 (15:31 -0400)]
gio/tests/testapps: Fix source refcounting

Either child_watch_source or timeout_source will already have been
destroyed after we finish the loop, and it's not safe to call
g_source_destroy() on it a second time unless we're still holding a
ref on it.

14 years agoGSocketConnection: don't close the socket if it's still reffed
Dan Winship [Fri, 23 Apr 2010 12:47:18 +0000 (08:47 -0400)]
GSocketConnection: don't close the socket if it's still reffed

When disposing a GSocketConnection, don't explicitly close the
underlying GSocket. The GSocket will close itself if it gets
destroyed, and if it doesn't get destroyed, that presumably means the
app still wants to use it. Eg, this lets you use GSocketClient to
create a GSocketConnection, and then take the GSocket and destroy the
GSocketConnection.

https://bugzilla.gnome.org/show_bug.cgi?id=616855

14 years agoGSocketInput/OutputStream: fix non-blocking on Windows
Dan Winship [Fri, 23 Apr 2010 12:21:41 +0000 (08:21 -0400)]
GSocketInput/OutputStream: fix non-blocking on Windows

The GSocket docs point out that g_socket_send/g_socket_receive may
return G_IO_ERROR_WOULD_BLOCK even if g_socket_condition_check claimed
that they wouldn't. Fix the socket streams to check for that.

https://bugzilla.gnome.org/show_bug.cgi?id=603309

14 years agoGDBus: update padding
David Zeuthen [Tue, 22 Jun 2010 16:12:16 +0000 (12:12 -0400)]
GDBus: update padding

Add lots of padding for public class structures. Notably, we seemed to
lack any padding whatsoever in the GDBusMessageClass struct (spotted
by Dan Winship). Also switch to using

 gpointer padding[N];

instead of

 void (*_g_reserved1) (void);
 ...
 void (*_g_reservedN) (void);

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoImprove g_application_new documentation
Matthias Clasen [Tue, 22 Jun 2010 12:24:30 +0000 (08:24 -0400)]
Improve g_application_new documentation

Patch by Saleem Abdulrasool, bug 622154.

14 years agoAdd single include guards to gvariant[type].h
Ryan Lortie [Tue, 22 Jun 2010 12:09:27 +0000 (08:09 -0400)]
Add single include guards to gvariant[type].h

14 years agoMake the protocol.c test program compile on Windows
Tor Lillqvist [Tue, 22 Jun 2010 09:41:01 +0000 (12:41 +0300)]
Make the protocol.c test program compile on Windows

Note that it does not actually work, though. Maybe because
g_io_channel_set_flags() is not implemented for file descriptor based
GIOChannels on Windows.

14 years agoFix build with the Microsoft compiler
Tor Lillqvist [Tue, 22 Jun 2010 09:13:21 +0000 (12:13 +0300)]
Fix build with the Microsoft compiler

Correct a few gccisms and C99isms. Ensure the Windows-specific gio
source files are listed in the generated gio VS project file.

14 years agoBypass a few functions not used on Windows when compiling for Windows
Tor Lillqvist [Tue, 22 Jun 2010 09:10:34 +0000 (12:10 +0300)]
Bypass a few functions not used on Windows when compiling for Windows

14 years agoAdd a test for g_strip_prefix
Matthias Clasen [Tue, 22 Jun 2010 03:07:46 +0000 (23:07 -0400)]
Add a test for g_strip_prefix

14 years agoMove hash tests to the test framework
Matthias Clasen [Tue, 22 Jun 2010 03:06:17 +0000 (23:06 -0400)]
Move hash tests to the test framework

14 years agoSome more tests
Matthias Clasen [Tue, 22 Jun 2010 02:25:28 +0000 (22:25 -0400)]
Some more tests

14 years agoMove checksum tests to the test framework
Matthias Clasen [Tue, 22 Jun 2010 01:22:09 +0000 (21:22 -0400)]
Move checksum tests to the test framework

14 years agoAdd some more Unicode tests
Matthias Clasen [Tue, 22 Jun 2010 00:07:26 +0000 (20:07 -0400)]
Add some more Unicode tests

14 years agoBug 621945 – Filter outgoing messages in GDBusConnection
David Zeuthen [Mon, 21 Jun 2010 20:08:53 +0000 (16:08 -0400)]
Bug 621945 – Filter outgoing messages in GDBusConnection

This patch breaks some rarely-used public API (only known user is
dconf).

This patch is based on work from Peng Huang <shawn.p.huang@gmail.com>.

See https://bugzilla.gnome.org/show_bug.cgi?id=621945

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agogobject docs: ignore some sgml files
Ryan Lortie [Mon, 21 Jun 2010 18:01:50 +0000 (14:01 -0400)]
gobject docs: ignore some sgml files

14 years ago.gitignore the moved tests
Ryan Lortie [Mon, 21 Jun 2010 17:57:54 +0000 (13:57 -0400)]
.gitignore the moved tests

14 years agoUse -Bsymbolic-functions, drop g*alias PLT hackery
Ryan Lortie [Mon, 21 Jun 2010 17:55:28 +0000 (13:55 -0400)]
Use -Bsymbolic-functions, drop g*alias PLT hackery

This is a minimal patch-out of the galias functionality.  We will do a
release like this so that we can easily back it out if there are
reported problems.

A more substantial cleanup (mostly removing #includes from every file)
will follow if there are no issues.

14 years agodistcheck fix
Ryan Lortie [Mon, 21 Jun 2010 17:25:51 +0000 (13:25 -0400)]
distcheck fix

14 years agoAdd check for -Bsymbolic-functions linker flag
Ryan Lortie [Mon, 21 Jun 2010 17:25:44 +0000 (13:25 -0400)]
Add check for -Bsymbolic-functions linker flag

14 years agoRemove gsettings-schema-convert tool
Ryan Lortie [Mon, 21 Jun 2010 15:30:26 +0000 (11:30 -0400)]
Remove gsettings-schema-convert tool

Having this tool in GLib is a bad idea for a number of reasons:

  - experience has shown that the simple file format was a bad idea

  - the tool is currently implemented with a hack that would require a
    dependency inversion to solve (the tool needs to depend on Python
    GVariant bindings)

  - the tool itself is unmaintained

It will be moved to the GConf git repository so people can continue to
use it for the purpose of converting GConf schemas.

14 years ago[docs] Fix typo
Javier Jardón [Mon, 21 Jun 2010 15:28:15 +0000 (17:28 +0200)]
[docs] Fix typo

14 years agodon't treat debug/info/message as fatal messages by default
Sven Herzberg [Tue, 20 Apr 2010 13:01:17 +0000 (15:01 +0200)]
don't treat debug/info/message as fatal messages by default

* glib/gtestutils.c: don't treat non-fatal messages as errors
* glib/tests/.gitignore: silence
* glib/tests/Makefile.am: updated
* glib/tests/protocol.c: add a test for the message treatment

14 years agoAdd a test for g_unichar_validate
Matthias Clasen [Mon, 21 Jun 2010 04:00:51 +0000 (00:00 -0400)]
Add a test for g_unichar_validate

14 years agoTest inplace decoding
Matthias Clasen [Mon, 21 Jun 2010 03:46:01 +0000 (23:46 -0400)]
Test inplace decoding

14 years agoSome more utf8 tests
Matthias Clasen [Mon, 21 Jun 2010 03:35:31 +0000 (23:35 -0400)]
Some more utf8 tests

14 years agoTest glib_check_version
Matthias Clasen [Mon, 21 Jun 2010 03:07:39 +0000 (23:07 -0400)]
Test glib_check_version

14 years agoAdd support for coverage reports with lcov
Matthias Clasen [Mon, 21 Jun 2010 02:46:47 +0000 (22:46 -0400)]
Add support for coverage reports with lcov

Patch by Patrick Hulin, bug #501057.

14 years agoSome fixes
Matthias Clasen [Mon, 21 Jun 2010 02:18:30 +0000 (22:18 -0400)]
Some fixes

14 years agoMove utf8 validation tests to the test framework
Matthias Clasen [Mon, 21 Jun 2010 01:16:24 +0000 (21:16 -0400)]
Move utf8 validation tests to the test framework

14 years agoMove utf8 pointer tests to test framework
Matthias Clasen [Mon, 21 Jun 2010 01:04:47 +0000 (21:04 -0400)]
Move utf8 pointer tests to test framework

14 years agoConsolide base64 tests in a single file
Matthias Clasen [Sun, 20 Jun 2010 20:24:56 +0000 (16:24 -0400)]
Consolide base64 tests in a single file

14 years agoMove scanner tests to glib/tests
Matthias Clasen [Sun, 20 Jun 2010 16:29:17 +0000 (12:29 -0400)]
Move scanner tests to glib/tests