platform/upstream/glib.git
13 years agoglib.symbols: Update for expected ABI changes
Colin Walters [Fri, 22 Jul 2011 17:39:21 +0000 (13:39 -0400)]
glib.symbols: Update for expected ABI changes

13 years agoglib-2.0.pc: Add -lrt to private libraries to assist static linking
Colin Walters [Fri, 22 Jul 2011 16:41:41 +0000 (12:41 -0400)]
glib-2.0.pc: Add -lrt to private libraries to assist static linking

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

13 years agoRevert addition of g_key_file_has_key_full
Colin Walters [Fri, 22 Jul 2011 14:31:27 +0000 (10:31 -0400)]
Revert addition of g_key_file_has_key_full

Per IRC discussion, we can just ask bindings to use
g_key_file_get_value() to test for the existence of a key.

I left the "fixed" code in the source tree as static because it makes
more sense to me.

13 years agoDon't use deprecated G_UNICODE_COMBINING_MARK
Behdad Esfahbod [Fri, 22 Jul 2011 14:33:47 +0000 (10:33 -0400)]
Don't use deprecated G_UNICODE_COMBINING_MARK

13 years agogitignore tweaks
Ryan Lortie [Fri, 22 Jul 2011 13:47:11 +0000 (15:47 +0200)]
gitignore tweaks

13 years agoRename a few arguments
Ryan Lortie [Fri, 22 Jul 2011 11:44:31 +0000 (13:44 +0200)]
Rename a few arguments

To fix header/function/doc-string mismatches.

13 years agoHave gtk-doc ignore some #defines
Ryan Lortie [Fri, 22 Jul 2011 11:41:13 +0000 (13:41 +0200)]
Have gtk-doc ignore some #defines

We prefer to have gtk-doc pick up the function rather than the macro.

13 years agoReplace @Varargs with @...
Ryan Lortie [Fri, 22 Jul 2011 11:25:32 +0000 (13:25 +0200)]
Replace @Varargs with @...

to make gtk-doc happy.

13 years agoRemove duplicate 'struct real_pcre' declaration
Ryan Lortie [Fri, 22 Jul 2011 10:59:44 +0000 (12:59 +0200)]
Remove duplicate 'struct real_pcre' declaration

The redundant forward declaration of 'struct real_pcre' before the
typedef was tripping up gtk-doc.  Remove it.

13 years agoAdd deprecation guard to G_UNICODE_COMBINING_MARK
Ryan Lortie [Fri, 22 Jul 2011 10:59:11 +0000 (12:59 +0200)]
Add deprecation guard to G_UNICODE_COMBINING_MARK

...since it's deprecated now and documented as such.

13 years agoReword some docs comments to avoid 'Returns ...'
Ryan Lortie [Fri, 22 Jul 2011 10:57:59 +0000 (12:57 +0200)]
Reword some docs comments to avoid 'Returns ...'

If gtk-doc sees 'Returns ...' written in the text of the documentation
for a macro, it thinks that you are talking about the return value.

Avoid doing that and use 'Returns:' explicitly if we mean to.

13 years agomove 'Since:' tags down
Ryan Lortie [Fri, 22 Jul 2011 10:57:06 +0000 (12:57 +0200)]
move 'Since:' tags down

gtk-doc wants the Since: tag to be the absolute last thing in the docs
comment.

13 years agoAdd g_ptr_array_new_full
Xavier Claessens [Thu, 14 Jul 2011 08:51:06 +0000 (10:51 +0200)]
Add g_ptr_array_new_full

Fixes bug #654450

13 years agoBump the version
Ryan Lortie [Fri, 22 Jul 2011 07:48:34 +0000 (09:48 +0200)]
Bump the version

13 years agoRelease 2.29.14 2.29.14
Ryan Lortie [Fri, 22 Jul 2011 06:55:35 +0000 (08:55 +0200)]
Release 2.29.14

13 years agoBug 655076 - Our normalization code misses some Full_Composition_Exclusion=True.
Behdad Esfahbod [Thu, 21 Jul 2011 20:05:43 +0000 (16:05 -0400)]
Bug 655076 - Our normalization code misses some Full_Composition_Exclusion=True.

13 years agogdbus-codegen: Add support for new org.gtk.GDBus.C.UnixFD annotation
David Zeuthen [Thu, 21 Jul 2011 20:03:27 +0000 (16:03 -0400)]
gdbus-codegen: Add support for new org.gtk.GDBus.C.UnixFD annotation

Also add convenience _with_unix_fd_list variants to GDBusConnection,
GDBusProxy and GDBusMethodInvocation types to easily support this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agoDocument how to free return values from g_key_file_get_*_list
Dan Williams [Wed, 20 Jul 2011 22:28:20 +0000 (17:28 -0500)]
Document how to free return values from g_key_file_get_*_list

Makes the docs consistent with the string list getters.  Add
GOI annotations while we're at it.

13 years agoBug 655025 - #define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK
Behdad Esfahbod [Thu, 21 Jul 2011 14:30:36 +0000 (10:30 -0400)]
Bug 655025 - #define G_UNICODE_SPACING_MARK G_UNICODE_COMBINING_MARK

13 years agoGDBus: Don't convert GVariant type 'h' to gint
David Zeuthen [Thu, 21 Jul 2011 13:43:59 +0000 (09:43 -0400)]
GDBus: Don't convert GVariant type 'h' to gint

The code-generator already uses GVariant* so generated code didn't
really work at all. We want that instead of gint to avoid confusion
because a 'h' instance is an _index_ into a GUnixFDList, not a file
descriptor.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agogdbus-codegen: Use G_TYPE_STRV/gchar** for GVariant type 'ao'
David Zeuthen [Thu, 21 Jul 2011 13:32:38 +0000 (09:32 -0400)]
gdbus-codegen: Use G_TYPE_STRV/gchar** for GVariant type 'ao'

This is possible now that we have better support for object path
arrays, see

 http://git.gnome.org/browse/glib/commit/?id=19878998bc386db78614f1c92ff8524a81479c7b

Note that this breaks the ABI of generated code but since
gdbus-codegen(1) has never yet been in a stable GLib release, this is
fine.

Signed-off-by: David Zeuthen <davidz@redhat.com>
13 years agog_atomic_int_add: document that the return value is new
Simon McVittie [Thu, 21 Jul 2011 09:22:01 +0000 (10:22 +0100)]
g_atomic_int_add: document that the return value is new

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=654988
Reviewed-by: Matthias Clasen <mclasen@redhat.com>
13 years agoAdvise against using GPrivate
Ryan Lortie [Thu, 21 Jul 2011 07:21:18 +0000 (09:21 +0200)]
Advise against using GPrivate

GStaticPrivate is really a lot better in almost every way.

13 years agoGParam: try to avoid further invalid uses
Ryan Lortie [Thu, 21 Jul 2011 06:33:50 +0000 (08:33 +0200)]
GParam: try to avoid further invalid uses

In an attempt to avoid some potential future abuses of the GParamSpec
API, qualify the 'name' field of the structure as 'const' and add a
comment noting that it is an interned string.

This is a theoretical API break, but it will only ever result in
warnings -- and even then, only if you were already doing something
questionable.

Clean up some of the warnings that were caused internally in gparam.c
from these changes.

13 years agoAdd g_unicode_script_from_iso15924()
Behdad Esfahbod [Thu, 21 Jul 2011 02:11:08 +0000 (22:11 -0400)]
Add g_unicode_script_from_iso15924()

And adjust g_unicode_script_to_iso1592().

13 years agoglocalfile: Fix compilation without USE_STATFS and USE_STATVFS
Benjamin Otte [Thu, 21 Jul 2011 00:56:05 +0000 (02:56 +0200)]
glocalfile: Fix compilation without USE_STATFS and USE_STATVFS

13 years agoBug 648271 - Add g_unicode_script_to_iso15924()
Behdad Esfahbod [Wed, 20 Jul 2011 23:04:29 +0000 (19:04 -0400)]
Bug 648271 - Add g_unicode_script_to_iso15924()

Add g_unicode_script_to_iso15924() and tests.

13 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 20 Jul 2011 20:32:38 +0000 (22:32 +0200)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 20 Jul 2011 20:26:59 +0000 (22:26 +0200)]
Updated Spanish translation

13 years agoChange order of GFormatSizeFlags
Ryan Lortie [Wed, 20 Jul 2011 19:49:16 +0000 (21:49 +0200)]
Change order of GFormatSizeFlags

David requested that I change the order of the flags.

Also, assign numerical values to the flags in the usual way.  This
wasn't a bug yet, but only by chance.

13 years agog_format_size: just use GString
Ryan Lortie [Wed, 20 Jul 2011 19:47:00 +0000 (21:47 +0200)]
g_format_size: just use GString

Matthias wasn't too impressed by the homebrew stack-allocated string building I
was doing.

Switch to GString.

13 years agog_format_size: Return 'gchar' instead of 'char'
Ryan Lortie [Wed, 20 Jul 2011 19:30:03 +0000 (21:30 +0200)]
g_format_size: Return 'gchar' instead of 'char'

I meant to do that in the first place.

13 years ago[ast, es, fr, nn] Update byte unit translations
Ryan Lortie [Wed, 20 Jul 2011 17:58:43 +0000 (19:58 +0200)]
[ast, es, fr, nn] Update byte unit translations

The Asturian, French, Norwegian Nynorsk and Spanish translations
incorrectly translated "MB" and friends to "MiB" (french: "Mio"), etc.

This was in response to the incorrect use of "MB" in the (now
deprecated) g_format_size_for_display() function.

These strings are now used (correctly) in g_format_size(), so I have
updated the translations accordingly.

Additionally, the Norwegian Nynorsk translation was incorrectly
translating several larger units to "KiB", so that has been corrected as
well.

13 years agoChange GLib size units policy
Ryan Lortie [Wed, 20 Jul 2011 17:44:39 +0000 (19:44 +0200)]
Change GLib size units policy

This commit changes GLib size units policy.  We now prefer SI units and
allow for use of proper IEC units where desired.

g_format_size_for_display() which incorrectly mixed IEC units with SI
suffixes is left unmodified, but has been deprecated.

g_format_size() has been introduced which uses SI units and suffixes.

g_format_size_full() has also been added which takes a flags argument to
allow for use of IEC units (with correct suffixes).  It also allows for
a "long format" output which includes the total number of bytes.  For
example: "238.5 MB (238,472,938 bytes)".

13 years agog_format_size_for_display: some internal renames
Ryan Lortie [Wed, 20 Jul 2011 15:30:56 +0000 (17:30 +0200)]
g_format_size_for_display: some internal renames

Rename the size constants from KILOBYTE to KIBIBYTE (etc.) since that's
what they really are.

This is a strictly internal change with no externally-visible effect in
terms of API or functionality.

13 years agogdbusintrospection: fix introspection annotations
Giovanni Campagna [Thu, 30 Jun 2011 23:59:13 +0000 (01:59 +0200)]
gdbusintrospection: fix introspection annotations

g_dbus_interface_info_lookup_* were incorrectly considered
(transfer full) by introspected bindings, and this caused memory
corruptions.

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

13 years agoStop using deprecated g_unicode_canonical_decomposition()
Vincent Untz [Wed, 20 Jul 2011 07:22:12 +0000 (09:22 +0200)]
Stop using deprecated g_unicode_canonical_decomposition()

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

13 years agoGVariant: document avoiding g_variant_iter_loop
Ryan Lortie [Wed, 20 Jul 2011 14:34:55 +0000 (16:34 +0200)]
GVariant: document avoiding g_variant_iter_loop

The choice between g_variant_iter_next() and g_variant_iter_loop() is a
bit confusing for some people.  Add a note to the documentation of
g_variant_iter_loop() to clarify that it should be avoided except in a
few specific cases.

13 years agoGVariant: better support for object path arrays
Ryan Lortie [Wed, 20 Jul 2011 11:11:19 +0000 (13:11 +0200)]
GVariant: better support for object path arrays

Add G_VARIANT_TYPE_OBJECT_PATH_ARRAY along with accessor functions
g_variant_new_objv, g_variant_get_objv and g_variant_dup_objv.  Also add
support for '^ao' and '^a&o' format strings for g_variant_new() and
g_variant_get().

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

13 years agoGSettings: don't abort on missing schemas
Ryan Lortie [Wed, 20 Jul 2011 12:04:52 +0000 (14:04 +0200)]
GSettings: don't abort on missing schemas

Give a g_critical instead.

13 years agoAdd some blacklisted mount directories
Ryan Lortie [Wed, 20 Jul 2011 08:52:07 +0000 (10:52 +0200)]
Add some blacklisted mount directories

Another long-carried Debian patch.  No reason that we should not have
these few extra items in the (already long) upstream list.

13 years agowait longer in threadpool test case
Ryan Lortie [Wed, 20 Jul 2011 08:49:48 +0000 (10:49 +0200)]
wait longer in threadpool test case

If we are going to fail an assert, wait for a bit longer before doing so
(up to 5 seconds, if needed).

This is a long-standing Debian patch to fix build failures on really
slow machines.

13 years agopost-release bump
Matthias Clasen [Wed, 20 Jul 2011 03:04:04 +0000 (23:04 -0400)]
post-release bump

13 years ago2.29.12 2.29.12
Matthias Clasen [Wed, 20 Jul 2011 03:02:05 +0000 (23:02 -0400)]
2.29.12

13 years agoDrop the warnings.sgml template
Matthias Clasen [Wed, 20 Jul 2011 00:40:28 +0000 (20:40 -0400)]
Drop the warnings.sgml template

13 years agoDocument how to unset attributes
Holger Berndt [Thu, 3 Jun 2010 01:22:36 +0000 (03:22 +0200)]
Document how to unset attributes

Unsetting won't work on all attributes. Currently, only
metadata attributes are supported.

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

13 years agoPass in NULL instead of g_cclosure_marshal_generic
Johan Dahlin [Tue, 19 Jul 2011 17:18:10 +0000 (14:18 -0300)]
Pass in NULL instead of g_cclosure_marshal_generic

NULL is now a shortcut for g_cclosure_marshal_generic, so avoid
referencing it directly.

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

13 years agoUse a generic marshaller if one is not specified
Johan Dahlin [Tue, 12 Jul 2011 16:39:45 +0000 (13:39 -0300)]
Use a generic marshaller if one is not specified

Since g_cclosure_marshal_generic is always enabled, it makes
sense to always use that instead of using generated ones.

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

13 years agoGSettings: remove key length restrictions
Ryan Lortie [Tue, 19 Jul 2011 14:12:30 +0000 (16:12 +0200)]
GSettings: remove key length restrictions

The key length now stands effectively unlimited at 1024 characters.

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

13 years agoFix doc formatting errors
Matthias Clasen [Tue, 19 Jul 2011 04:02:57 +0000 (00:02 -0400)]
Fix doc formatting errors

13 years agoMove GError docs inline and ditch template
Matthias Clasen [Tue, 19 Jul 2011 03:58:32 +0000 (23:58 -0400)]
Move GError docs inline and ditch template

13 years agoMove Unicode docs inline, ditch template
Matthias Clasen [Tue, 19 Jul 2011 03:23:17 +0000 (23:23 -0400)]
Move Unicode docs inline, ditch template

13 years agoRemove queue.sgml
Matthias Clasen [Tue, 19 Jul 2011 03:00:09 +0000 (23:00 -0400)]
Remove queue.sgml

13 years agoSimplify Hangul Jamo decomposition
Behdad Esfahbod [Mon, 18 Jul 2011 22:00:40 +0000 (18:00 -0400)]
Simplify Hangul Jamo decomposition

The algorithm is not copy/paste from Unicode anymore, but it's easy
enough to follow the logic.

13 years agoBug 654651 - Better g_unicode_canonical_decomposition()
Behdad Esfahbod [Mon, 18 Jul 2011 21:52:40 +0000 (17:52 -0400)]
Bug 654651 - Better g_unicode_canonical_decomposition()

Add g_unichar_fully_decompose().
Deprecate g_unicode_canonical_decomposition().

13 years agoAvoid failing arguments to statfs() test on systems which use statvfs.
Patrick Welche [Mon, 18 Jul 2011 16:58:01 +0000 (17:58 +0100)]
Avoid failing arguments to statfs() test on systems which use statvfs.

- move choice of statfs vs statvfs from gio/glocalfile.c to configure.ac
- if statvfs is the choice, then don't check number of arguments to statfs()
- use choice in gio/gunixmounts.c as well

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

13 years agogtester: Count inability to run a test in a binary as a failure
Benjamin Otte [Mon, 18 Jul 2011 12:10:35 +0000 (14:10 +0200)]
gtester: Count inability to run a test in a binary as a failure

Previously, when a binary did not run a single test - for whatever
reason, from the binary not existing to the binary not using the gtester
framework - no failures were recorded. Now we record a non-successful
run of a binary that did not start any tests as a failure, too.

Note that this does not change the behavior of any binaries that exit
successfully or that report the start of any gtester test.

13 years agogtester: Return a failure exit code when a test fails
Benjamin Otte [Mon, 18 Jul 2011 11:39:36 +0000 (13:39 +0200)]
gtester: Return a failure exit code when a test fails

Previously, gtester used the testcase_fail_count as the number of tests
that failed in the latest run testcase, but then use that as the return
value of main().

Now we count the failed testcases of the whole run.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 18 Jul 2011 11:13:11 +0000 (13:13 +0200)]
Updated Norwegian bokmål translation

13 years agoMove version docs inline
Matthias Clasen [Mon, 18 Jul 2011 03:50:31 +0000 (23:50 -0400)]
Move version docs inline

13 years agoMove GQueue docs inline
Matthias Clasen [Mon, 18 Jul 2011 03:38:58 +0000 (23:38 -0400)]
Move GQueue docs inline

13 years agoUpdated Finnish translation
Tommi Vainikainen [Sun, 17 Jul 2011 21:45:45 +0000 (00:45 +0300)]
Updated Finnish translation

13 years agoGParamSpec: intern property names
Ryan Lortie [Thu, 14 Jul 2011 16:08:25 +0000 (18:08 +0200)]
GParamSpec: intern property names

Make it so that the ->name property on all GParamSpec objects is an
interned string.

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

13 years agoRemove comp_step_table table
Behdad Esfahbod [Thu, 14 Jul 2011 20:53:12 +0000 (16:53 -0400)]
Remove comp_step_table table

Reuse the pre-existing composition data.

13 years agoDocument, that the second part of a decompose() wouldn't decompose()
Behdad Esfahbod [Thu, 14 Jul 2011 20:26:58 +0000 (16:26 -0400)]
Document, that the second part of a decompose() wouldn't decompose()

This is not directly documented in Unicode, or I couldn't find it,
but the test I just added confirms that it is currently the case.

13 years ago[test] Move non-utf8 tests into unicode.c
Behdad Esfahbod [Thu, 14 Jul 2011 20:22:16 +0000 (16:22 -0400)]
[test] Move non-utf8 tests into unicode.c

13 years agoRemove stale comment
Behdad Esfahbod [Thu, 14 Jul 2011 20:19:46 +0000 (16:19 -0400)]
Remove stale comment

Unicode guarantees that.

13 years agoAdd tests for Unicode canonical composition/decomposition
Behdad Esfahbod [Thu, 14 Jul 2011 20:18:30 +0000 (16:18 -0400)]
Add tests for Unicode canonical composition/decomposition

Also update compose()/decompose() API corner cases and docs.

13 years agoMove declarations around
Behdad Esfahbod [Thu, 14 Jul 2011 03:18:53 +0000 (23:18 -0400)]
Move declarations around

So g_unichar API comes before g_utf8.

13 years agoBug 654195 - Add g_unichar_compose() and g_unichar_decompose()
Matthias Clasen [Thu, 14 Jul 2011 02:07:11 +0000 (22:07 -0400)]
Bug 654195 - Add g_unichar_compose() and g_unichar_decompose()

13 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Wed, 13 Jul 2011 20:36:37 +0000 (23:36 +0300)]
Updated Belarusian translation.

13 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Wed, 13 Jul 2011 20:30:49 +0000 (23:30 +0300)]
Updated Belarusian translation.

13 years agoUpdated Lithuanian translation
Aurimas Černius [Tue, 12 Jul 2011 20:21:25 +0000 (23:21 +0300)]
Updated Lithuanian translation

13 years agoUpdated Korean translation
Changwoo Ryu [Tue, 12 Jul 2011 17:51:03 +0000 (02:51 +0900)]
Updated Korean translation

13 years agoGDBusInterfaceSkeleton: fix odd use of floating refs
Ryan Lortie [Tue, 12 Jul 2011 00:56:57 +0000 (02:56 +0200)]
GDBusInterfaceSkeleton: fix odd use of floating refs

The get_properties() function was documented as returning a floating

Switch it over to returning a normal reference and patch a couple of
uses.

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

13 years agoGVariant: add g_variant_take_ref()
Ryan Lortie [Mon, 11 Jul 2011 12:27:53 +0000 (14:27 +0200)]
GVariant: add g_variant_take_ref()

This function implements the following logic:

  if (g_variant_is_floating (value))
    g_variant_ref_sink (value);

which is used for consuming the return value of callbacks that may or
may not return floating references.

This patch also replaces a few instances of the above code with the new
function (GSettings, GDBus) and lifts a long-standing restriction on the
use of floating values as the return value for signal handlers by
improving g_value_take_variant().

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

13 years agoUpdated Latvian translation.
Rudolfs Mazurs [Tue, 12 Jul 2011 13:29:33 +0000 (16:29 +0300)]
Updated Latvian translation.

13 years agoDocs: Fixed a typo.
Murray Cumming [Tue, 12 Jul 2011 10:09:31 +0000 (12:09 +0200)]
Docs: Fixed a typo.

13 years agotests: fix glib_translations_work()
Tim-Philipp Müller [Tue, 5 Jul 2011 13:30:31 +0000 (14:30 +0100)]
tests: fix glib_translations_work()

If setlocale() to our test locale fails, translations
won't work either.

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

13 years agoadd g_regex_escape_nul
Paolo Bonzini [Thu, 15 Apr 2010 06:23:00 +0000 (08:23 +0200)]
add g_regex_escape_nul

The function can be used to let regex compile non-NUL-terminated
strings without redesigning the way the pattern is stored in GRegex
objects and retrieved with g_regex_get_pattern.

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

13 years agoFix gtk-doc cross-linking among glib/gobject/gio
Matthias Clasen [Mon, 11 Jul 2011 03:55:52 +0000 (23:55 -0400)]
Fix gtk-doc cross-linking among glib/gobject/gio

Patch by Daniel Macks, bug 644687.

13 years agoTake out the timeout from the large-message test
Matthias Clasen [Mon, 11 Jul 2011 03:11:30 +0000 (23:11 -0400)]
Take out the timeout from the large-message test

This is an attempt to make the test not fail on build slaves,
which currently getting a timeout error here.

13 years agoDon't test negative values in ulong conversions
Matthias Clasen [Mon, 11 Jul 2011 01:57:45 +0000 (21:57 -0400)]
Don't test negative values in ulong conversions

This is failing on 32bit build slaves.

13 years agoDon't needlessly use "echo -e"
Martin Storsjo [Wed, 6 Jul 2011 13:41:44 +0000 (16:41 +0300)]
Don't needlessly use "echo -e"

The -e parameter to echo isn't recognized by echo in POSIX sh,
but isn't needed when no escaped characters need to be
interpreted.

This fixes building glib with a mingw cross compiler on Mac OS X.

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

13 years agoOptimize g_[s]list_free_full a bit
Matthias Clasen [Mon, 11 Jul 2011 00:42:58 +0000 (20:42 -0400)]
Optimize g_[s]list_free_full a bit

No need to iterate the list twice.
Proposed by Luiz Augusto von Dentz,
http://bugzilla.gnome.org/show_bug.cgi?id=653935

13 years agoGCancellable: Make eventfd() fall back to pipes on EINVAL too
Colin Walters [Sun, 10 Jul 2011 16:19:15 +0000 (12:19 -0400)]
GCancellable: Make eventfd() fall back to pipes on EINVAL too

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

13 years agodocs: G_GNUC_DEPRECATED_FOR was added in Glib 2.26
Javier Jardón [Fri, 8 Jul 2011 15:15:52 +0000 (16:15 +0100)]
docs: G_GNUC_DEPRECATED_FOR was added in Glib 2.26

13 years ago[l10n]Updated Turkish translation
Muhammet Kara [Thu, 7 Jul 2011 22:09:03 +0000 (01:09 +0300)]
[l10n]Updated Turkish translation

13 years agoAdded UG translation
Abduxukur Abdurixit [Thu, 7 Jul 2011 14:31:17 +0000 (16:31 +0200)]
Added UG translation

13 years agoMove documentation to inline comments: spawn
Javier Jardón [Wed, 6 Jul 2011 21:13:05 +0000 (22:13 +0100)]
Move documentation to inline comments: spawn

13 years agoMove documentation to inline comments: conversions
Javier Jardón [Wed, 6 Jul 2011 20:49:55 +0000 (21:49 +0100)]
Move documentation to inline comments: conversions

13 years agog_output_stream_splice: deal with overflow
Dan Winship [Tue, 7 Jun 2011 21:15:17 +0000 (17:15 -0400)]
g_output_stream_splice: deal with overflow

On 32-bit machines in particular, bytes_written may overflow a gssize.
Notice when that happens and just return G_MAXSSIZE instead.

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

13 years agoRevert distribution of build/win32/setup.py
Chun-wei Fan [Wed, 6 Jul 2011 01:58:37 +0000 (09:58 +0800)]
Revert distribution of build/win32/setup.py

Revert commit on distribution of this file as it is meant to be used in
a GIT checkout only.

13 years agoAdd build/win32/setup.py to distribution
Chun-wei Fan [Wed, 6 Jul 2011 00:28:57 +0000 (08:28 +0800)]
Add build/win32/setup.py to distribution

13 years agoBug 653841: Update README.win32 and VS README.txt's
Chun-wei Fan [Wed, 6 Jul 2011 00:25:41 +0000 (08:25 +0800)]
Bug 653841: Update README.win32 and VS README.txt's

This relates to my previous commit titled "add a script to generator
files for building" on behalf of Shixin Zeng.

Tell people about the availability of a python script to create the
necessary files for a Visual C++ build from a GIT checkout.

This is done with the courtesy of Shixin Zeng's python script which does
the job and eliminates the troubles of getting a suitable shell environment
to do the "make dist" job (which is especially not easy on Windows itself!)

13 years agoadd a script to generator files for building
Shixin Zeng [Wed, 29 Jun 2011 05:04:14 +0000 (00:04 -0500)]
add a script to generator files for building

Signed-off-by: Chun-wei Fan <fanchunwei@src.gnome.org>
13 years agoPost-release version bump
Matthias Clasen [Tue, 5 Jul 2011 15:22:11 +0000 (11:22 -0400)]
Post-release version bump

Up to 2.29.11

13 years ago2.29.10 2.29.10
Matthias Clasen [Tue, 5 Jul 2011 15:21:40 +0000 (11:21 -0400)]
2.29.10

13 years agobuild: Use --disable-maintainer-mode for distcheck
Colin Walters [Tue, 5 Jul 2011 14:20:48 +0000 (10:20 -0400)]
build: Use --disable-maintainer-mode for distcheck

Otherwise due to weird things like gtk-doc.make copying files back
into the source directory, we may run into the maintainer mode
bits mistakenly attempting to rerun.

13 years agogio: Fix srcdir != builddir build for docs
Colin Walters [Tue, 5 Jul 2011 13:42:39 +0000 (09:42 -0400)]
gio: Fix srcdir != builddir build for docs