platform/upstream/glib.git
13 years agoUpdated Galician translations
Fran Diéguez [Sun, 13 Feb 2011 12:58:18 +0000 (13:58 +0100)]
Updated Galician translations

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 13 Feb 2011 12:55:47 +0000 (13:55 +0100)]
Updated Galician translations

13 years agoUpdated Polish translation
Piotr Drąg [Sun, 13 Feb 2011 00:18:41 +0000 (01:18 +0100)]
Updated Polish translation

13 years agoUpdate Korean translation
Changwoo Ryu [Sat, 12 Feb 2011 22:02:24 +0000 (07:02 +0900)]
Update Korean translation

13 years agoFix a few string mismatches in the Italian translations
Matthias Clasen [Sat, 12 Feb 2011 17:43:15 +0000 (12:43 -0500)]
Fix a few string mismatches in the Italian translations

Noticed these while testing gsettings translations.

13 years agoFix some problems with message handling
Matthias Clasen [Sat, 12 Feb 2011 17:42:18 +0000 (12:42 -0500)]
Fix some problems with message handling

g_printerr() doesn't append a newline, so we have to consistently
do it everywhere. Also, we cannot call gettext on "", ever.

13 years agoComplete the translation setup for glib-compile-schemas
Matthias Clasen [Sat, 12 Feb 2011 17:30:35 +0000 (12:30 -0500)]
Complete the translation setup for glib-compile-schemas

13 years agoSet up message translation for gdbus
Matthias Clasen [Sat, 12 Feb 2011 17:26:26 +0000 (12:26 -0500)]
Set up message translation for gdbus

This was only halfway done before and not working.

13 years agoDocs: Mention gettext setup requirements in i18n section
Matthias Clasen [Sat, 12 Feb 2011 17:09:39 +0000 (12:09 -0500)]
Docs: Mention gettext setup requirements in i18n section

13 years agodoc: Fix typo in previous commit
Benjamin Otte [Sat, 12 Feb 2011 17:05:54 +0000 (18:05 +0100)]
doc: Fix typo in previous commit

Yuck. I blame it on the weekend.

13 years agodocs: Fix return value for g_datetime_compare()
Benjamin Otte [Sat, 12 Feb 2011 16:56:34 +0000 (17:56 +0100)]
docs: Fix return value for g_datetime_compare()

Previous code confused dt1 and dt2. The new formulation is stolen from
man strcmp() and g_strcmp0().

13 years agoGVariant: titlecase ‘Unicode’ in text format docs
Will Thompson [Fri, 11 Feb 2011 19:09:48 +0000 (19:09 +0000)]
GVariant: titlecase ‘Unicode’ in text format docs

13 years agoGVariant: Correct uint32/64 thinko in text format docs
Will Thompson [Fri, 11 Feb 2011 19:07:45 +0000 (19:07 +0000)]
GVariant: Correct uint32/64 thinko in text format docs

13 years agoGVariant: doc the format of g_variant_parse/print
Ryan Lortie [Fri, 11 Feb 2011 15:27:44 +0000 (10:27 -0500)]
GVariant: doc the format of g_variant_parse/print

13 years agoBranch away from stable, bump to 2.29.0
Ryan Lortie [Fri, 11 Feb 2011 15:27:44 +0000 (10:27 -0500)]
Branch away from stable, bump to 2.29.0

This is now the unstable branch.

Stable release is on the glib-2-28 branch.

13 years agoGObject: correct documentation typos
Will Thompson [Fri, 11 Feb 2011 15:18:02 +0000 (15:18 +0000)]
GObject: correct documentation typos

13 years agoGVariant: support NULL for empty arrays in varargs
Ryan Lortie [Fri, 11 Feb 2011 15:14:29 +0000 (10:14 -0500)]
GVariant: support NULL for empty arrays in varargs

g_variant_new("as", NULL); now gives an empty array of strings, for
example.

This was documented as working already, but was never actually
implemented (due to the fact that it muddies the water when considering
maybe types).  It's being implemented now because its convenience to
programmers exceeds any damage done to the conceptual purity of the API.

13 years agoUpdated Bengali India Translation
Runa Bhattacharjee [Fri, 11 Feb 2011 13:31:05 +0000 (19:01 +0530)]
Updated Bengali India Translation

13 years agogsettings: Minor typo in previous commit
Colin Walters [Fri, 11 Feb 2011 04:42:34 +0000 (23:42 -0500)]
gsettings: Minor typo in previous commit

13 years agoGSettings: add paragraph with performance notes
Ryan Lortie [Wed, 9 Feb 2011 16:55:35 +0000 (11:55 -0500)]
GSettings: add paragraph with performance notes

summary: reads are very fast.  writes are fast for you, but expensive
for the system, so don't do them except in response to explicit user
action.

13 years agoBump version
Matthias Clasen [Tue, 8 Feb 2011 18:21:37 +0000 (13:21 -0500)]
Bump version

13 years agoUpdated Polish translation
Piotr Drąg [Tue, 8 Feb 2011 17:22:44 +0000 (18:22 +0100)]
Updated Polish translation

13 years agoDocument new API 2.28.0
Matthias Clasen [Tue, 8 Feb 2011 15:05:00 +0000 (10:05 -0500)]
Document new API

13 years agoFix some parameter mismatches in GVariant docs
Matthias Clasen [Tue, 8 Feb 2011 15:04:36 +0000 (10:04 -0500)]
Fix some parameter mismatches in GVariant docs

13 years agoAvoid more compiler warnings
Matthias Clasen [Tue, 8 Feb 2011 12:41:49 +0000 (07:41 -0500)]
Avoid more compiler warnings

13 years agog_date_time_format: drop an unused variable
Matthias Clasen [Tue, 8 Feb 2011 12:35:54 +0000 (07:35 -0500)]
g_date_time_format: drop an unused variable

13 years agoAdd release note about GApplication
Matthias Clasen [Tue, 8 Feb 2011 12:33:02 +0000 (07:33 -0500)]
Add release note about GApplication

13 years agoUpdate NEWS
Matthias Clasen [Tue, 8 Feb 2011 05:00:08 +0000 (00:00 -0500)]
Update NEWS

13 years agoBump version to 2.28.0
Matthias Clasen [Tue, 8 Feb 2011 04:53:29 +0000 (23:53 -0500)]
Bump version to 2.28.0

13 years agoFix a typo
Matthias Clasen [Tue, 8 Feb 2011 04:46:02 +0000 (23:46 -0500)]
Fix a typo

13 years agoAdd more data about origin application to the "Launched" signal.
Michal Hruby [Mon, 7 Feb 2011 20:25:33 +0000 (21:25 +0100)]
Add more data about origin application to the "Launched" signal.

This will help applications such as zeitgeist's datahub to collect
more complete information about application launches, as the "actor"
of a launch is important for zeitgeist's magic to work properly.

13 years agogdesktopappinfo: Asynchronously flush after sending notification
Colin Walters [Fri, 4 Feb 2011 20:37:51 +0000 (15:37 -0500)]
gdesktopappinfo: Asynchronously flush after sending notification

If we were the initial connection owner, unref will destroy the
connection immediately, and we may lose messages.  Asynchronously
flush to avoid that.

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

13 years agoClarify GInitable docs
Matthias Clasen [Tue, 8 Feb 2011 04:35:21 +0000 (23:35 -0500)]
Clarify GInitable docs

Mention explicitly that the object is unrefed on error.
Pointed out by Philip Van Hoof,
https://bugzilla.gnome.org/show_bug.cgi?id=641363

13 years agoAppend .exe to glib-compile-schemas in .pc file
Matthias Clasen [Tue, 8 Feb 2011 04:30:56 +0000 (23:30 -0500)]
Append .exe to glib-compile-schemas in .pc file

This makes the binary name correct on Windows.
Pointed out by David Schleef,
https://bugzilla.gnome.org/show_bug.cgi?id=641572

13 years agoChange the id of the gsettings section
Matthias Clasen [Tue, 8 Feb 2011 04:28:26 +0000 (23:28 -0500)]
Change the id of the gsettings section

This tricks gtk-doc into generating a html file with a different
name, avoiding the case-only GSettings.html vs gsettings.html.
https://bugzilla.gnome.org/show_bug.cgi?id=641688

13 years agoDon't use -w in shebang line
Matthias Clasen [Tue, 8 Feb 2011 04:27:19 +0000 (23:27 -0500)]
Don't use -w in shebang line

This can cause warnings when PERL_PATH gets expanded to /usr/bin/env.
Patch by Adam Sampson, https://bugzilla.gnome.org/show_bug.cgi?id=641477

13 years agodocs: Document Since properly, 2.26 -> 2.28
Javier Jardón [Tue, 8 Feb 2011 01:04:20 +0000 (01:04 +0000)]
docs: Document Since properly, 2.26 -> 2.28

13 years agoGApplication: document Since properly in header files, 2.26 -> 2.28
Rui Matos [Mon, 7 Feb 2011 22:53:29 +0000 (22:53 +0000)]
GApplication: document Since properly in header files, 2.26 -> 2.28

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

13 years agoUse ; instead of: to not confuse g-ir-scanner
Johan Dahlin [Tue, 1 Feb 2011 19:27:04 +0000 (17:27 -0200)]
Use ; instead of: to not confuse g-ir-scanner

13 years agoUpdated Korean translation
Changwoo Ryu [Wed, 2 Feb 2011 12:59:38 +0000 (21:59 +0900)]
Updated Korean translation

13 years agoCorrect gtk-doc SECTION: syntax
Johan Dahlin [Tue, 1 Feb 2011 18:17:23 +0000 (16:17 -0200)]
Correct gtk-doc SECTION: syntax

g-ir-scanner does not allow a space between the : and the
section name.

13 years agodocs: Remove some unneeded template files
Javier Jardón [Tue, 1 Feb 2011 13:15:55 +0000 (13:15 +0000)]
docs: Remove some unneeded template files

async_queues, atomic_operations and bookmarkfile are already ported
to inline comments

13 years agoGApplication: add notes about GDBus architecture
Ryan Lortie [Mon, 31 Jan 2011 18:19:59 +0000 (13:19 -0500)]
GApplication: add notes about GDBus architecture

Some people are trying to write code that calls g_application_register()
then checks to see if we became the primary name owner before exporting
objects.  This sort of approach worked with libdbus-1 because method
calls to the freshly-acquired name would not be dispatched until the
application returned to the mainloop.  With GDBus, however, dispatches
can occur at any time (including in the brief space between acquiring
the name and actually registering the object).

Add documentation to make it clear that you should not expect this to
work.

13 years agoCheck that error exists before trying to set it. Fixes bug #640975.
Ignacio Casal Quinteiro [Mon, 31 Jan 2011 12:34:26 +0000 (13:34 +0100)]
Check that error exists before trying to set it. Fixes bug #640975.

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 30 Jan 2011 02:31:06 +0000 (03:31 +0100)]
Updated Galician translations

13 years agoUpdated Italian translation
Luca Ferretti [Sat, 29 Jan 2011 13:00:25 +0000 (14:00 +0100)]
Updated Italian translation

13 years agoupdate Punjabi Translation by A S Alam
A S Alam [Sat, 29 Jan 2011 02:24:24 +0000 (07:54 +0530)]
update Punjabi Translation by A S Alam

13 years agoBump version
Matthias Clasen [Sat, 29 Jan 2011 04:47:36 +0000 (23:47 -0500)]
Bump version

13 years agoEnable silent rules by default 2.27.93
Matthias Clasen [Sat, 29 Jan 2011 02:09:52 +0000 (21:09 -0500)]
Enable silent rules by default

13 years agoUpdate NEWS
Matthias Clasen [Sat, 29 Jan 2011 02:06:03 +0000 (21:06 -0500)]
Update NEWS

13 years agoFix GIO build on Solaris
Matthias Clasen [Sat, 29 Jan 2011 01:50:43 +0000 (20:50 -0500)]
Fix GIO build on Solaris

Major and minor are defined in sys/mkdev.h on Solaris

Patch by Fabian Groffen
https://bugzilla.gnome.org/show_bug.cgi?id=637013

13 years agoPrevent unused variable warnings from G_DEFINE_DYNAMIC_TYPE
Matthias Clasen [Fri, 28 Jan 2011 17:26:23 +0000 (12:26 -0500)]
Prevent unused variable warnings from G_DEFINE_DYNAMIC_TYPE

13 years agoFix g_source_add_child_source docs
Dan Winship [Fri, 28 Jan 2011 15:17:54 +0000 (10:17 -0500)]
Fix g_source_add_child_source docs

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

13 years agoGVariant: clear memory before releasing it
Ryan Lortie [Fri, 28 Jan 2011 13:23:11 +0000 (08:23 -0500)]
GVariant: clear memory before releasing it

Bug #640807 makes a reasonable case for why it's better to have your
program crash outright in the case of memory errors.  With this
modification, GVariant is far more likely to do that in the case that a
GVariant pointer is used shortly after being freed.

13 years agoFixed format string issue in a test, fixes bug 640725
Tobias Mueller [Thu, 27 Jan 2011 14:14:31 +0000 (15:14 +0100)]
Fixed format string issue in a test, fixes bug 640725

13 years agoAdd testcase for bug 640695
Matthias Clasen [Fri, 28 Jan 2011 04:07:53 +0000 (23:07 -0500)]
Add testcase for bug 640695

13 years agoEnsure g_key_file_load_from_file() strips a \r on a 4 KB boundary
Benjamin Gilbert [Thu, 27 Jan 2011 07:04:00 +0000 (02:04 -0500)]
Ensure g_key_file_load_from_file() strips a \r on a 4 KB boundary

When g_key_file_parse_data() encountered \n, it was checking the previous
character in the current input buffer for a \r to erase, rather than the
previous character in the parse buffer.  If g_key_file_load_from_file()
was given a file with a \r\n sequence straddling a 4 KB boundary, the \n
would be the first character in the input buffer, so the \r would not be
properly stripped.

Bug #640695.

Found-by: Jan Harkes <jaharkes@cs.cmu.edu>
13 years agoUse g_set_error_literal where appropriate
Matthias Clasen [Fri, 28 Jan 2011 03:54:32 +0000 (22:54 -0500)]
Use g_set_error_literal where appropriate

13 years agoMake load_user_special_dirs() resistant to nonexistent dirs
Matthias Clasen [Fri, 28 Jan 2011 02:57:57 +0000 (21:57 -0500)]
Make load_user_special_dirs() resistant to nonexistent dirs

13 years agoRemove redundant definitions
Matthias Clasen [Fri, 28 Jan 2011 01:31:14 +0000 (20:31 -0500)]
Remove redundant definitions

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

13 years agoFail in a clean way if schema name is missing
Matthias Clasen [Fri, 28 Jan 2011 01:29:22 +0000 (20:29 -0500)]
Fail in a clean way if schema name is missing

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

13 years agoMerge remote branch 'gvdb/master'
Ryan Lortie [Thu, 27 Jan 2011 16:45:04 +0000 (11:45 -0500)]
Merge remote branch 'gvdb/master'

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 27 Jan 2011 10:51:55 +0000 (18:51 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

13 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 27 Jan 2011 10:13:12 +0000 (11:13 +0100)]
Updated Norwegian bokmål translation.

13 years agoQA of Galician translations
Fran Diéguez [Wed, 26 Jan 2011 23:37:03 +0000 (00:37 +0100)]
QA of Galician translations

13 years agoMark a symbol as G_GNUC_INTERNAL
Ryan Lortie [Tue, 25 Jan 2011 23:26:21 +0000 (18:26 -0500)]
Mark a symbol as G_GNUC_INTERNAL

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sun, 23 Jan 2011 00:44:15 +0000 (02:44 +0200)]
Updated Hebrew translation.

13 years agoUpdated Bulgarian translation
Alexander Shopov [Sat, 22 Jan 2011 20:43:52 +0000 (22:43 +0200)]
Updated Bulgarian translation

13 years agoUpdated Spanish translation
Jorge González [Sat, 22 Jan 2011 15:50:48 +0000 (16:50 +0100)]
Updated Spanish translation

13 years agoBump PCRE minimum version
Emilio Pozuelo Monfort [Sat, 22 Jan 2011 15:36:13 +0000 (15:36 +0000)]
Bump PCRE minimum version

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

13 years agoBump version
Matthias Clasen [Sat, 22 Jan 2011 14:52:33 +0000 (09:52 -0500)]
Bump version

13 years agoUpdate Unicode tests to 6.0 2.27.92
Matthias Clasen [Sat, 22 Jan 2011 05:02:08 +0000 (00:02 -0500)]
Update Unicode tests to 6.0

13 years agoForgotten files
Matthias Clasen [Sat, 22 Jan 2011 05:01:54 +0000 (00:01 -0500)]
Forgotten files

13 years agoRemove a test that seems to fail depending on time of day
Matthias Clasen [Sat, 22 Jan 2011 04:41:12 +0000 (23:41 -0500)]
Remove a test that seems to fail depending on time of day

13 years agoUpdate NEWS
Matthias Clasen [Sat, 22 Jan 2011 04:12:16 +0000 (23:12 -0500)]
Update NEWS

13 years agoUpdate the included copy of PCRE
Matthias Clasen [Sat, 22 Jan 2011 04:10:01 +0000 (23:10 -0500)]
Update the included copy of PCRE

Update PCRE to version 8.12.
At the same time, also add Unicode 6.0 script support.

13 years agoUpdate help and docs for gsettings cmdline tool
Matthias Clasen [Fri, 21 Jan 2011 23:02:05 +0000 (18:02 -0500)]
Update help and docs for gsettings cmdline tool

The man page had gotten quite out of sync.

13 years agoUpdate to Unicode 6.0
Behdad Esfahbod [Fri, 21 Jan 2011 21:30:19 +0000 (16:30 -0500)]
Update to Unicode 6.0

One new GUnicodeBreak enum member.  Three new GUnicodeScript members,
and one member renamed to fix a typo.

Tests, docs, and scripts are updated.  PCRE update still needed.

13 years agoUpdates for 2.27.92
Matthias Clasen [Fri, 21 Jan 2011 16:24:14 +0000 (11:24 -0500)]
Updates for 2.27.92

13 years agoDon't warn in GApplication if class handlers have been overridden
Matthias Clasen [Fri, 21 Jan 2011 15:52:48 +0000 (10:52 -0500)]
Don't warn in GApplication if class handlers have been overridden

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

13 years agoUpdated Arabic translation
Khaled Hosny [Thu, 20 Jan 2011 19:57:05 +0000 (21:57 +0200)]
Updated Arabic translation

13 years agoUpdated Greek translation
Michael Kotsarinis [Wed, 19 Jan 2011 17:08:15 +0000 (19:08 +0200)]
Updated Greek translation

13 years agoMark another function as static
Matthias Clasen [Tue, 18 Jan 2011 05:06:55 +0000 (00:06 -0500)]
Mark another function as static

13 years agoMark a function as static
Matthias Clasen [Tue, 18 Jan 2011 05:06:05 +0000 (00:06 -0500)]
Mark a function as static

13 years agoMove GMarkup docs inline
Matthias Clasen [Tue, 18 Jan 2011 04:46:20 +0000 (23:46 -0500)]
Move GMarkup docs inline

13 years agogsettings: Update documentation on schema naming convention
Ray Strode [Mon, 17 Jan 2011 22:13:44 +0000 (17:13 -0500)]
gsettings: Update documentation on schema naming convention

The existing docs are a bit inconsistent in that they say to follow
the dbus convention, but then give an example that doesn't.

This commit changes things to be how Ryan says they should be.

13 years agoFix some harmless sign compare warnings
Ryan Lortie [Mon, 17 Jan 2011 20:17:34 +0000 (15:17 -0500)]
Fix some harmless sign compare warnings

13 years agoC++ify the reader header
Ryan Lortie [Mon, 17 Jan 2011 20:15:46 +0000 (15:15 -0500)]
C++ify the reader header

13 years agodatetime: Show 12 instead of 0 for 12h hour format
Ray Strode [Mon, 17 Jan 2011 19:15:18 +0000 (14:15 -0500)]
datetime: Show 12 instead of 0 for 12h hour format

The 12h mode hour format is computed by taking the
24h mode hour format modulo 12.

The conversion results in 12 noon getting erroneously
converted to 0.

This commit makes noon get the same special handling
as midnight.

13 years agotests: add format test case for noon hour in 12h mode
Ray Strode [Mon, 17 Jan 2011 19:30:43 +0000 (14:30 -0500)]
tests: add format test case for noon hour in 12h mode

It currently displays it as "0" instead of "12", so this
test case demonstrates the bug.

13 years agoDon't leak variants in the null settings backend
Christian Persch [Thu, 6 Jan 2011 22:30:09 +0000 (23:30 +0100)]
Don't leak variants in the null settings backend

Even though the write fails, the variant still needs to be consumed.

Bug #638872.

13 years agodocs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form()
Javier Jardón [Fri, 14 Jan 2011 17:54:04 +0000 (17:54 +0000)]
docs: gvariant-core: g_variant_normalise -> g_variant_get_normal_form()

13 years agogvariant-core: Fix typo
Javier Jardón [Fri, 14 Jan 2011 17:24:45 +0000 (17:24 +0000)]
gvariant-core: Fix typo

g_variant_create_from_data -> g_variant_new_from_data

13 years agodocs: gvariant-varargs: Fix typo
Javier Jardón [Fri, 14 Jan 2011 00:49:35 +0000 (00:49 +0000)]
docs: gvariant-varargs: Fix typo

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Thu, 13 Jan 2011 10:41:06 +0000 (12:41 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 12 Jan 2011 21:29:53 +0000 (22:29 +0100)]
Updated Basque language

13 years agoMake g_unix_connection_send_fd() work as expected.
Daiki Ueno [Tue, 11 Jan 2011 02:33:21 +0000 (11:33 +0900)]
Make g_unix_connection_send_fd() work as expected.

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

13 years agogobject: add an empty default impl of GObject::constructed()
Michael Natterer [Wed, 12 Jan 2011 18:45:40 +0000 (19:45 +0100)]
gobject: add an empty default impl of GObject::constructed()

to allow unconditional upchaining.

13 years agoAdded symbols for GIO/Win32
Chun-wei Fan [Wed, 12 Jan 2011 03:08:54 +0000 (11:08 +0800)]
Added symbols for GIO/Win32

There are now fallback functions in the Win32 portion of
g_app_info that were previously only available under UNIX,
so add them here so that they can be exported as well.

The symbols are as follows:
g_app_info_get_fallback_for_type
g_app_info_get_recommended_for_type

13 years agoBump version
Matthias Clasen [Tue, 11 Jan 2011 21:13:42 +0000 (16:13 -0500)]
Bump version