platform/upstream/glib.git
14 years agoglib-compile-schemas: improve error accuracy
Ryan Lortie [Mon, 27 Sep 2010 14:36:11 +0000 (10:36 -0400)]
glib-compile-schemas: improve error accuracy

We wrote "<enum> must contain at least one <value>" for empty <flags>.
Fix that.

14 years agoBug 628937 - gracefully handle broken schemas
Ryan Lortie [Mon, 27 Sep 2010 14:27:11 +0000 (10:27 -0400)]
Bug 628937 - gracefully handle broken schemas

Implement the first of two features requested in the bug: when
encountering a broken .xml schema file, back out the changes in that
file and continue to parse other files.

This prevents a single broken .xml file from messing up GSettings for
everyone else.

Add a --strict option to get the old behaviour.  Use this from the test
cases.

14 years agoBug 630077 - GDateTime week number support
Ryan Lortie [Mon, 27 Sep 2010 13:06:24 +0000 (09:06 -0400)]
Bug 630077 - GDateTime week number support

Fully implement support for ISO 8601 week dates in GDateTime and
document that this is the case.

Add an exhaustive test case to ensure correctness.

14 years agomessage_to_write_data_free: Don't unref data->message if it is NULL
Matthias Clasen [Thu, 30 Sep 2010 18:40:50 +0000 (14:40 -0400)]
message_to_write_data_free: Don't unref data->message if it is NULL

After the recent changes to message filtering, it can happen that
data->message is NULL when we get here.

14 years agol10n: Updated Greek translation for glib
Giannis Katsampirhs [Thu, 30 Sep 2010 11:47:58 +0000 (14:47 +0300)]
l10n: Updated Greek translation for glib

14 years agoUpdated Polish translation
Piotr Drąg [Wed, 29 Sep 2010 16:46:10 +0000 (18:46 +0200)]
Updated Polish translation

14 years agointrospection: Fix one annotation syntax
Colin Walters [Wed, 29 Sep 2010 14:38:25 +0000 (10:38 -0400)]
introspection: Fix one annotation syntax

14 years agoUpdated Hungarian translation
Gabor Kelemen [Wed, 29 Sep 2010 12:07:05 +0000 (14:07 +0200)]
Updated Hungarian translation

14 years agoUpdated French translation
Bruno Brouard [Wed, 29 Sep 2010 07:02:51 +0000 (09:02 +0200)]
Updated French translation

14 years agoUpdate Czech translation
Petr Kovar [Wed, 29 Sep 2010 02:41:25 +0000 (04:41 +0200)]
Update Czech translation

14 years agoUpdated Slovenian translation
Peter Kragelj [Tue, 28 Sep 2010 19:21:38 +0000 (21:21 +0200)]
Updated Slovenian translation

14 years agoUpdated Galician translations
Fran Diéguez [Tue, 28 Sep 2010 15:35:23 +0000 (17:35 +0200)]
Updated Galician translations

14 years agoUpdated Slovenian translation
Peter Kragelj [Tue, 28 Sep 2010 13:12:00 +0000 (15:12 +0200)]
Updated Slovenian translation

14 years agoUpdated Slovenian translation
Peter Kragelj [Tue, 28 Sep 2010 13:10:33 +0000 (15:10 +0200)]
Updated Slovenian translation

14 years agoUpdated Lithuanian translation (thanks Aurimas Cernius).
Gintautas Miliauskas [Mon, 27 Sep 2010 21:12:42 +0000 (00:12 +0300)]
Updated Lithuanian translation (thanks Aurimas Cernius).

14 years ago[i18n] Updated German translation
Mario Blättermann [Mon, 27 Sep 2010 18:19:46 +0000 (20:19 +0200)]
[i18n] Updated German translation

14 years agoUpdated Brazilian Portuguese translation
Fabrício Godoy [Mon, 27 Sep 2010 11:49:51 +0000 (08:49 -0300)]
Updated Brazilian Portuguese translation

14 years agoUpdated Bulgarian translation
Damyan Ivanov [Mon, 27 Sep 2010 10:31:09 +0000 (13:31 +0300)]
Updated Bulgarian translation

14 years agoclean up g_date_time_get_week_day()
Ryan Lortie [Sun, 26 Sep 2010 22:51:23 +0000 (18:51 -0400)]
clean up g_date_time_get_week_day()

No functionality changes here.

Vastly simplify the algorithm for calculating the day of the week.

Fix the documentation (which is incorrectly stating that 1 means
Sunday) and clarify that the number we return is in line with ISO 8601
week day numbering.

14 years agoUpdated Dutch translation by Wouter Bolsterlee
Wouter Bolsterlee [Sun, 26 Sep 2010 20:59:38 +0000 (22:59 +0200)]
Updated Dutch translation by Wouter Bolsterlee

14 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Sun, 26 Sep 2010 19:39:14 +0000 (22:39 +0300)]
Updated Romanian translation

14 years agoAdd a lot of missing annotations
Johan Dahlin [Fri, 24 Sep 2010 21:24:41 +0000 (18:24 -0300)]
Add a lot of missing annotations

14 years ago[introspection] Add GObject annotations
Johan Dahlin [Fri, 24 Sep 2010 19:23:31 +0000 (16:23 -0300)]
[introspection] Add GObject annotations

These were moved in from gobject-introspection

14 years ago[introspection] Move over annotations
Johan Dahlin [Fri, 24 Sep 2010 18:51:26 +0000 (15:51 -0300)]
[introspection] Move over annotations

Move all the annotations over from gobject-introspection.

They will not be used directly by the introspection scanner for now,
instead they will be extracted by a script and updated manually
until introspection is properly integrated into the glib build

14 years agoCorrect error message when GUnixOutputStream fails to write
Christian Dywan [Fri, 24 Sep 2010 11:56:35 +0000 (13:56 +0200)]
Correct error message when GUnixOutputStream fails to write

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

14 years agoAdd missing file to POTFILES.in
Andre Klapper [Fri, 24 Sep 2010 11:15:23 +0000 (13:15 +0200)]
Add missing file to POTFILES.in

14 years agoGDBus: Don't use abstract sockets in test code
David Zeuthen [Thu, 23 Sep 2010 23:16:25 +0000 (19:16 -0400)]
GDBus: Don't use abstract sockets in test code

It doesn't really work right now because of a dbus-daemon(1) bug - see
the comment added in the TODO section of gdbusconnection.c. So revert
to old behavior. The downside is a lot of files in /tmp but right now
that's better than not being able to run tests in a loop.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Use abstract namespace in test cases to avoid littering all over /tmp
David Zeuthen [Thu, 23 Sep 2010 22:57:35 +0000 (18:57 -0400)]
GDBus: Use abstract namespace in test cases to avoid littering all over /tmp

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBusConnection: Use correct GMainContext when invoking free functions
David Zeuthen [Thu, 23 Sep 2010 21:23:30 +0000 (17:23 -0400)]
GDBusConnection: Use correct GMainContext when invoking free functions

Without this fix, the ./gdbus-connection test case occasionally fails, see

 https://bugzilla.gnome.org/show_bug.cgi?id=629945#c5

like this

 /gdbus/connection/basic: OK
 /gdbus/connection/life-cycle: **
ERROR:gdbus-connection.c:223:test_connection_life_cycle: assertion failed:
(!quit_mainloop_fired)
 cleaning up bus with pid 21794
 Aborted (core dumped)

because the callback didn't happen on the same thread as where we are
running the loop.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agobuild: fix out of srcdir build
Stefan Kost [Thu, 23 Sep 2010 15:41:57 +0000 (18:41 +0300)]
build: fix out of srcdir build

The gtk-doc makefile rules do cd srcdir && cp $(HTML_IMAGES) target/ and this
breaks for "srcdir" != ".".

14 years agoGDBus: fix name test cases
David Zeuthen [Thu, 23 Sep 2010 20:27:52 +0000 (16:27 -0400)]
GDBus: fix name test cases

Since we make message buses come and go, we need to ensure that the
singleton connection instance goes away before attempting to call
g_bus_get_sync() or similar.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: bump timeout for some tests
David Zeuthen [Thu, 23 Sep 2010 20:09:25 +0000 (16:09 -0400)]
GDBus: bump timeout for some tests

When under load, a one second timeout is just not enough. This can be
observed by e.g. restarting a CPU- and IO-intensive application like a
web browser with many tabs while running the test cases. Therefore,
bump the timeouts to 30 seconds.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBus: Move "slow" connection test cases into separate test program
David Zeuthen [Thu, 23 Sep 2010 19:47:46 +0000 (15:47 -0400)]
GDBus: Move "slow" connection test cases into separate test program

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoGDBusConnection: Avoid callbacks on finalized connection
David Zeuthen [Thu, 23 Sep 2010 19:10:50 +0000 (15:10 -0400)]
GDBusConnection: Avoid callbacks on finalized connection

Turns out that GDBusWorker will issue callbacks (in its own thread)
even after g_dbus_worker_stop() has been called. This would rarely
happen (and unreffing a connection is even rarer) so only saw this bug
occasionally when running the gdbus-connection test case in a loop.

Fix up this issue by maintaining a set of GDBusConnection objects that
are currently "alive" and do nothing in the callbacks if the passed
user_data pointer is not in this set.

Also attempted to fix up a race condition with
_g_object_wait_for_single_ref_do() and its use of GObject toggle
references - for now, just resort to busy waiting, thereby
sidestepping the toggle reference mess altogether.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoUpdated Japanese translation (symbolic link related)
Takayuki KUSANO [Thu, 23 Sep 2010 17:09:10 +0000 (02:09 +0900)]
Updated Japanese translation (symbolic link related)

14 years agoFix memory leak in SOCKSv5 implementation
Nicolas Dufresne [Wed, 22 Sep 2010 17:11:59 +0000 (13:11 -0400)]
Fix memory leak in SOCKSv5 implementation

14 years agoglib-2.0.m4: Use unsigned variables for version numbers
Benjamin Otte [Thu, 23 Sep 2010 11:57:22 +0000 (13:57 +0200)]
glib-2.0.m4: Use unsigned variables for version numbers

When using signed, we get complaints from gcc about comparing signed to
unsigned with -Wsign-compare. And combined with -Werror in users' CFLAGS
it breaks configure runs.

14 years agoUpdated French translation
Bruno Brouard [Thu, 23 Sep 2010 06:47:54 +0000 (08:47 +0200)]
Updated French translation

14 years agoGSocketControlMessage: clean up confusing code
Ryan Lortie [Wed, 22 Sep 2010 10:45:02 +0000 (06:45 -0400)]
GSocketControlMessage: clean up confusing code

It looks like the deserialisation function in GSocketControlMessage can
potentially leak a reference to the class structure of a
GSocketControlMessage subclass (although the particular code path is
probably never hit).

Clean up the code a bit.

Also, make sure that the GUnixCredentialsMessage type is registered
before attempting deserialisation.

Closes bug #629687.

14 years agofix argument order for g_date_time_difference()
Ryan Lortie [Wed, 22 Sep 2010 10:28:49 +0000 (06:28 -0400)]
fix argument order for g_date_time_difference()

The names of the arguments in the header file was reversed.

Closes bug #630000

14 years agoAdd translator comments for command parameter translation
Claude Paroz [Wed, 22 Sep 2010 08:42:55 +0000 (10:42 +0200)]
Add translator comments for command parameter translation

14 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Tue, 21 Sep 2010 16:18:38 +0000 (19:18 +0300)]
[l10n] Updated Estonian translation

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 21 Sep 2010 12:42:23 +0000 (14:42 +0200)]
Updated Basque language

14 years agoBug 630185 — Allow NULL strings in g_quark_try_string()
Philip Withnall [Mon, 20 Sep 2010 16:56:30 +0000 (17:56 +0100)]
Bug 630185 — Allow NULL strings in g_quark_try_string()

Allow NULL strings to be passed to g_quark_try_string(), returning a 0 quark
in that case, as per the existing documentation. Closes: bgo#630185

14 years agoFix typo
Behdad Esfahbod [Tue, 21 Sep 2010 02:51:26 +0000 (22:51 -0400)]
Fix typo

14 years agogdir: Clarify in documentation that ordering is not defined
Colin Walters [Mon, 20 Sep 2010 17:20:04 +0000 (13:20 -0400)]
gdir: Clarify in documentation that ordering is not defined

14 years agol10n: Updated Greek translation for glib
Michael Kotsarinis [Mon, 20 Sep 2010 16:40:53 +0000 (19:40 +0300)]
l10n: Updated Greek translation for glib

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Mon, 20 Sep 2010 13:15:46 +0000 (15:15 +0200)]
Updated Hebrew translation.

14 years agodocs: shorten var name in example
Stefan Kost [Sun, 19 Sep 2010 19:06:10 +0000 (22:06 +0300)]
docs: shorten var name in example

We use 'pspec' instead of 'maman_param_spec' elsewhere too.

14 years agodocs: fix iface type naming
Stefan Kost [Sun, 19 Sep 2010 19:03:40 +0000 (22:03 +0300)]
docs: fix iface type naming

14 years agodocs: fix docbook validity
Stefan Kost [Sun, 19 Sep 2010 18:50:31 +0000 (21:50 +0300)]
docs: fix docbook validity

'type' must be inside of 'link'.

14 years agodocs: cleanup constructor example
Stefan Kost [Sun, 19 Sep 2010 18:37:19 +0000 (21:37 +0300)]
docs: cleanup constructor example

Remove unused var and chain-up the sane way we do elsewhere.

14 years agodocs: use passive voice.
Stefan Kost [Sun, 19 Sep 2010 18:33:52 +0000 (21:33 +0300)]
docs: use passive voice.

14 years agoUpdated Japanese translation
Takayuki KUSANO [Sun, 19 Sep 2010 17:02:32 +0000 (02:02 +0900)]
Updated Japanese translation

14 years agoUpdated Danish translation
Ask H. Larsen [Sun, 19 Sep 2010 16:07:57 +0000 (18:07 +0200)]
Updated Danish translation

14 years agoUpdated Dutch translation by Wouter Bolsterlee
Wouter Bolsterlee [Sun, 19 Sep 2010 15:08:25 +0000 (17:08 +0200)]
Updated Dutch translation by Wouter Bolsterlee

14 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Sun, 19 Sep 2010 08:52:30 +0000 (11:52 +0300)]
[l10n] Updated Estonian translation

14 years agoGDateTime: G_GNUC_WARN_UNUSED_RESULT for modifiers
Ryan Lortie [Sat, 18 Sep 2010 20:31:00 +0000 (16:31 -0400)]
GDateTime: G_GNUC_WARN_UNUSED_RESULT for modifiers

Emmanuele suggested adding G_GNUC_WARN_UNUSED_RESULT to all of the
g_date_time_add_* functions to help deal with the situation where people
may mistakenly believe that these functions are inplace modifiers.

14 years agoFix header cleaup fallout when using system pcre
Ryan Lortie [Sat, 18 Sep 2010 16:52:58 +0000 (12:52 -0400)]
Fix header cleaup fallout when using system pcre

Using the internal pcre has the side effect of exposing gregex.c to
glib.h.  When we use the system one, we lose that, so we need to
explicitly include the things we use (glist, gatomic, etc..)

14 years agoUpdated Portuguese translation
Duarte Loreto [Sat, 18 Sep 2010 11:30:00 +0000 (12:30 +0100)]
Updated Portuguese translation

14 years agobump version to 2.27.1
Ryan Lortie [Sat, 18 Sep 2010 00:48:25 +0000 (20:48 -0400)]
bump version to 2.27.1

14 years agorelease 2.27.0 2.27.0
Ryan Lortie [Fri, 17 Sep 2010 21:57:19 +0000 (17:57 -0400)]
release 2.27.0

14 years agoGDateTime: fix a test that fails from time to time
Ryan Lortie [Fri, 17 Sep 2010 22:18:13 +0000 (01:18 +0300)]
GDateTime: fix a test that fails from time to time

The test fails if it's a different date in the time zone of the machine
running the test than it currently is in UTC.

14 years agoBump to version 2.27.0 after branching glib-2-26
Ryan Lortie [Fri, 17 Sep 2010 17:27:38 +0000 (13:27 -0400)]
Bump to version 2.27.0 after branching glib-2-26

14 years ago.gitignore some test cases
Ryan Lortie [Fri, 17 Sep 2010 17:26:50 +0000 (13:26 -0400)]
.gitignore some test cases

14 years ago.gitignore some sgml
Ryan Lortie [Fri, 17 Sep 2010 17:20:17 +0000 (13:20 -0400)]
.gitignore some sgml

14 years agoDeal with gtk-doc's insane sensitivty to spaces
Ryan Lortie [Fri, 17 Sep 2010 17:14:59 +0000 (13:14 -0400)]
Deal with gtk-doc's insane sensitivty to spaces

...by inserting a few of them.

14 years agoClean-up/tweaking of GDateTime and GTimeZone
Ryan Lortie [Thu, 16 Sep 2010 08:44:59 +0000 (04:44 -0400)]
Clean-up/tweaking of GDateTime and GTimeZone

14 years agodatetime: Fix hashing
Emmanuele Bassi [Wed, 15 Sep 2010 13:47:15 +0000 (14:47 +0100)]
datetime: Fix hashing

Convert to the epoch, just like we do when checking for equality, so
that timezones are correctly handled.

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

14 years agodatetime: Rename g_date_time_printf() to g_date_time_format()
Emmanuele Bassi [Wed, 15 Sep 2010 13:39:26 +0000 (14:39 +0100)]
datetime: Rename g_date_time_printf() to g_date_time_format()

The function does not use any printf() modifiers, so using printf() is a
misnomer.

Prior art: strftime, g_ascii_formatd

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

14 years agodatetime: Update modifiers for DST changes
Emmanuele Bassi [Wed, 15 Sep 2010 12:55:36 +0000 (13:55 +0100)]
datetime: Update modifiers for DST changes

If a DateTime gets modified to cross the DST state from its previous
state then we want to update the DateTime to compensate for the new
offset.

In other words, if we have a DateTime defined as:

  DateTime({ y: 2009, m: 8, d: 15, hh: 3, mm: 0, tz: 'Europe/London' });

and we add six months to it, the hour must be changed to 60 minutes
behind, as the DST comes into effect.

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

14 years agodatetime: Allow setting fractionary seconds in new_full()
Emmanuele Bassi [Wed, 15 Sep 2010 09:05:41 +0000 (10:05 +0100)]
datetime: Allow setting fractionary seconds in new_full()

Otherwise we'll have to do:

  dt = g_date_time_new_full (Y, M, D, h, m, s, tz);
  tmp = g_date_time_add_usec (dt, usec);
  g_date_time_unref (dt);
  dt = tmp;

With its additional allocations.

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

14 years agodatetime: Rework time zone support in constructors
Emmanuele Bassi [Tue, 14 Sep 2010 07:00:40 +0000 (08:00 +0100)]
datetime: Rework time zone support in constructors

Timezone handling is complicated. Really complicated.

In order to simplify it a little bit, we need to expose the GTimeZone
structure.

First of all, we allow creating time zone information directly from the
offset and the DST state, and then pass it to the g_date_time_new_full()
constructor. We also need to clean up the mess that is UTC-vs.-localtime
for the other constructors.

We also allow creating a GTimeZone from the Olson zoneinfo database
names; a time zone created like this will be "floating": it will just
reference the zoneinfo file - which are mmap()'ed, kept in a cache and
refcounted. Once the GTimeZone has been associated with a GDateTime, it
will be "anchored" to it: the offset will be resolved, as well as the
DST state.

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

14 years agog_output_stream_write: fix misleadingly ungrammatical documentation
Dan Winship [Fri, 17 Sep 2010 14:21:57 +0000 (10:21 -0400)]
g_output_stream_write: fix misleadingly ungrammatical documentation

pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=626866

14 years agoUpdated Lithuanian translation
Žygimantas Beručka [Fri, 17 Sep 2010 00:48:23 +0000 (03:48 +0300)]
Updated Lithuanian translation

14 years agoUpdated Lithuanian translation by Aurimas Cernius.
Gintautas Miliauskas [Thu, 16 Sep 2010 19:13:54 +0000 (22:13 +0300)]
Updated Lithuanian translation by Aurimas Cernius.

14 years agoUpdate Czech translation
Petr Kovar [Wed, 15 Sep 2010 23:56:26 +0000 (01:56 +0200)]
Update Czech translation

14 years agoUpdate Czech translation
Petr Kovar [Wed, 15 Sep 2010 19:43:18 +0000 (21:43 +0200)]
Update Czech translation

14 years agoBug 629709 - Empty variants
Ryan Lortie [Wed, 15 Sep 2010 15:20:51 +0000 (11:20 -0400)]
Bug 629709 - Empty variants

Fix some GVariant bugs uncovered by calling g_variant_new_from_data with
invalid data (which it should be immune to).

14 years agoUpdated Spanish translation
Jorge González [Wed, 15 Sep 2010 07:10:32 +0000 (09:10 +0200)]
Updated Spanish translation

14 years agoUpdated Indonesian translation
Andika Triwidada [Wed, 15 Sep 2010 00:44:48 +0000 (07:44 +0700)]
Updated Indonesian translation

14 years agoGDBusConnection leaks its GCredentials
Christian Persch [Tue, 14 Sep 2010 17:38:14 +0000 (19:38 +0200)]
GDBusConnection leaks its GCredentials

==7269== 144 bytes in 6 blocks are definitely lost in loss record 1,282 of 1,325
==7269==    at 0x4005BDC: malloc (vg_replace_malloc.c:195)
==7269==    by 0x4056B74: g_malloc (gmem.c:164)
==7269==    by 0x406EDB6: g_slice_alloc (gslice.c:842)
==7269==    by 0x406EDFB: g_slice_alloc0 (gslice.c:854)
==7269==    by 0x413C627: g_type_create_instance (gtype.c:1867)
==7269==    by 0x412276A: g_object_constructor (gobject.c:1480)
==7269==    by 0x4121E5D: g_object_newv (gobject.c:1264)
==7269==    by 0x4121BD3: g_object_new (gobject.c:1176)
==7269==    by 0x417CFB9: g_credentials_new (gcredentials.c:156)
==7269==    by 0x41D9DBC: g_unix_credentials_message_deserialize (gunixcredentialsmessage.c:149)
==7269==    by 0x41C422C: g_socket_control_message_deserialize (gsocketcontrolmessage.c:198)
==7269==    by 0x41BFCE3: g_socket_receive_message (gsocket.c:3289)
==7269==    by 0x41D99CE: g_unix_connection_receive_credentials (gunixconnection.c:476)
==7269==    by 0x41FA829: _g_dbus_auth_run_server (gdbusauth.c:987)
==7269==    by 0x4205DDB: initable_init (gdbusconnection.c:2196)

Bug #629689.

14 years agoGVariant: Check for size == 0 in get_bytestring
Ryan Lortie [Tue, 14 Sep 2010 18:55:38 +0000 (14:55 -0400)]
GVariant: Check for size == 0 in get_bytestring

And add a test from David that shows the problem.

Closes #629698

14 years agoUpdated Polish translation
Piotr Drąg [Tue, 14 Sep 2010 17:10:35 +0000 (19:10 +0200)]
Updated Polish translation

14 years agoGSettings: reverse accidental addition to .h file
Ryan Lortie [Tue, 14 Sep 2010 15:25:57 +0000 (11:25 -0400)]
GSettings: reverse accidental addition to .h file

A couple of extra function prototypes snuck into commit
77e3badcf3f15c7ac235904160d775febfcebcb5.  Take those out.

14 years agoUpdated Hungarian translation
Gabor Kelemen [Tue, 14 Sep 2010 12:10:17 +0000 (14:10 +0200)]
Updated Hungarian translation

14 years ago[l10n] Updated German translation
Christian.Kirbach [Tue, 14 Sep 2010 09:18:20 +0000 (11:18 +0200)]
[l10n] Updated German translation

14 years agoUpdate Simplified Chinese translation.
Aron Xu [Tue, 14 Sep 2010 08:35:31 +0000 (16:35 +0800)]
Update Simplified Chinese translation.

14 years ago(slightly) updated Finnish translation.
Timo Jyrinki [Tue, 14 Sep 2010 06:37:45 +0000 (09:37 +0300)]
(slightly) updated Finnish translation.

14 years agoUpdate British English translation
Philip Withnall [Mon, 13 Sep 2010 22:22:02 +0000 (23:22 +0100)]
Update British English translation

14 years agoUpdated Galician translations
Fran Diéguez [Mon, 13 Sep 2010 21:46:03 +0000 (23:46 +0200)]
Updated Galician translations

14 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 13 Sep 2010 19:54:45 +0000 (21:54 +0200)]
Updated Slovenian translation

14 years agog_strdup_value_contents(): dump GStrv more usefully
Will Thompson [Thu, 9 Sep 2010 16:24:00 +0000 (17:24 +0100)]
g_strdup_value_contents(): dump GStrv more usefully

Previously, dumping a GValue holding a GStrv just yielded "((GStrv *)
0xDEADBEEF)". I think it'd be more useful to dump a Python list-style
representation of the GStrv's contents, if it's not NULL.

Fixes: <https://bugzilla.gnome.org/show_bug.cgi?id=629192>

14 years agoupdate for Punjabi
A S Alam [Mon, 13 Sep 2010 17:39:33 +0000 (23:09 +0530)]
update for Punjabi

14 years agoAdd g_data_input_stream_read_upto{,async,finish}
Ryan Lortie [Tue, 23 Mar 2010 06:12:01 +0000 (01:12 -0500)]
Add g_data_input_stream_read_upto{,async,finish}

These functions are meant to replace the read_until() flavour, with the
following improvements:

  - consistency between the synchronous and asynchronous versions as to
    if the separator character is read (it never is).

  - support for using a nul byte as a separator character by way of
    addition of a length parameter which allows stop_chars to be treated
    as a byte array rather than a nul-terminated string.

The read_until() functions are not yet formally deprecated, but a note
has been added to the documentation warning not to use them as they will
be in the future.

This is bug #584284.

14 years agoBetter msgctxt for month and weekday names
Matthias Clasen [Mon, 13 Sep 2010 16:02:13 +0000 (12:02 -0400)]
Better msgctxt for month and weekday names

The current msgctxt string 'GDateTime" lead to the unability to
differentiate between the full and abbreviated name for May.
Therefore, the msgctxt strings have been changed to
  'full month name'
  'abbreviated month name'
  'full weekday name'
  'abbreviated weekday name'
This is a string change, but all translations have been updated
using an sed script.

Bug 629429

14 years agoAdapt POTFILES.in to source file renaming
Matthias Clasen [Mon, 13 Sep 2010 15:58:56 +0000 (11:58 -0400)]
Adapt POTFILES.in to source file renaming

14 years agoConst 'parser' arg to g_markup_parse_context_push
Ryan Lortie [Mon, 13 Sep 2010 16:07:51 +0000 (12:07 -0400)]
Const 'parser' arg to g_markup_parse_context_push

This is a vtable structure and very likely the user has allocated it in
static storage and wants it to be const.  Since we never modify it, no
harm is done to us to have it const.

Closes bug #629328.

14 years agoMake g_variant_builder_end's return to be (allow none) because callers
Tomeu Vizoso [Mon, 13 Sep 2010 15:53:54 +0000 (17:53 +0200)]
Make g_variant_builder_end's return to be (allow none) because callers
need to add a ref to it in addition to sinking it.

14 years agoInclude giochannel.c for G_IO_IN, etc.
Kristian Rietveld [Mon, 13 Sep 2010 14:52:51 +0000 (16:52 +0200)]
Include giochannel.c for G_IO_IN, etc.

Fixes build on OS X.