platform/upstream/glib.git
12 years agoGDBusMenuModel: plug a leak of a GHashTable
Ryan Lortie [Mon, 27 Feb 2012 19:00:55 +0000 (14:00 -0500)]
GDBusMenuModel: plug a leak of a GHashTable

12 years agoFixup docs comment
Christian Persch [Mon, 27 Feb 2012 15:25:50 +0000 (16:25 +0100)]
Fixup docs comment

12 years agoregex: unicode: Update to Unicode 6.1.0
Christian Persch [Mon, 13 Feb 2012 13:20:55 +0000 (14:20 +0100)]
regex: unicode: Update to Unicode 6.1.0

Update some more PCRE tables to Unicode 6.1.0. Should be completely
updated now.

12 years agoFix doc build again
Matthias Clasen [Mon, 27 Feb 2012 12:16:11 +0000 (07:16 -0500)]
Fix doc build again

The way gtk-doc works, we need compiling.sgml in both
content_files (to make sure it ends up in the disted tarball)
and in expand_content_files (to have references expanded).

12 years agoImprove the wording of the message for G_UNAVAILABLE
Matthias Clasen [Mon, 27 Feb 2012 11:48:01 +0000 (06:48 -0500)]
Improve the wording of the message for G_UNAVAILABLE

The version number we have here is the one the function appeared
in, not the max-allowed version. Therefore 'unavailable before
VERSION' makes more sense than 'unavailable for VERSION'.

12 years agodocs/glib: Moving back compiling.sgml to content_files to fix make dist
Rico Tzschichholz [Mon, 27 Feb 2012 11:50:18 +0000 (12:50 +0100)]
docs/glib: Moving back compiling.sgml to content_files to fix make dist

12 years agoUpdated Bulgarian translation
Alexander Shopov [Mon, 27 Feb 2012 05:31:44 +0000 (07:31 +0200)]
Updated Bulgarian translation

12 years agoAdd a 'these are private' note for the version macros
Matthias Clasen [Mon, 27 Feb 2012 05:32:13 +0000 (00:32 -0500)]
Add a 'these are private' note for the version macros

12 years agoImprove documentation around deprecations
Matthias Clasen [Mon, 27 Feb 2012 05:18:47 +0000 (00:18 -0500)]
Improve documentation around deprecations

12 years agoAdd versioned deprecation annotation
Emmanuele Bassi [Tue, 21 Feb 2012 13:40:50 +0000 (13:40 +0000)]
Add versioned deprecation annotation

We start from GLib 2.26.

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

12 years agovalue array: Annotate with versioned deprecation
Emmanuele Bassi [Mon, 20 Feb 2012 16:41:30 +0000 (16:41 +0000)]
value array: Annotate with versioned deprecation

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

12 years agoAdd flexible API version boundaries
Emmanuele Bassi [Mon, 20 Feb 2012 16:20:15 +0000 (16:20 +0000)]
Add flexible API version boundaries

There are cases when it should be possible to define at compile time
what range of functions and types should be used, in order to get,
or restrict, the compiler warnings for deprecated or newly added
types or functions.

For instance, if GLib introduces a deprecation warning on a type in
version 2.32, application code can decide to specify the minimum and
maximum boundary of the used API to be 2.30; when compiling against
a new version of GLib, this would produce the following results:

  - all deprecations introduced prior to 2.32 would emit compiler
    warnings when used by the application code;
  - all deprecations introduced in 2.32 would not emit compiler
    warnings when used by the application code;
  - all new symbols introduced in 2.32 would emit a compiler warning.

Using this scheme it should be possible to have fairly complex
situations, like the following one:

  assuming that an application is compiled with:
    GLIB_VERSION_MIN_REQUIRED = GLIB_VERSION_2_30
    GLIB_VERSION_MAX_ALLOWED  = GLIB_VERSION_2_32

  and a GLib header containing:

    void function_A (void) GLIB_DEPRECATED_IN_2_26;
    void function_B (void) GLIB_DEPRECATED_IN_2_28;
    void function_C (void) GLIB_DEPRECATED_IN_2_30;
    void function_D (void) GLIB_AVAILABLE_IN_2_32;
    void function_E (void) GLIB_AVAILABLE_IN_2_34;

  any application code using the above functions will get the following
  compiler warnings:

    function_A: deprecated symbol warning
    function_B: deprecated symbol warning
    function_C: no warning
    function_D: no warning
    function_E: undefined symbol warning

This means that it should be possible to gradually port code towards
non-deprecated API gradually, on a per-release basis.

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

12 years agoregex: Remove --disable-regex option
Christian Persch [Sat, 11 Feb 2012 22:51:11 +0000 (23:51 +0100)]
regex: Remove --disable-regex option

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

12 years agodocs: Clarify how to unset a GFileInfo attribute
David King [Tue, 21 Feb 2012 11:19:20 +0000 (11:19 +0000)]
docs: Clarify how to unset a GFileInfo attribute

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

12 years agodocs: Clarify g_type_register_fundamental() behaviour
David King [Tue, 21 Feb 2012 10:05:08 +0000 (10:05 +0000)]
docs: Clarify g_type_register_fundamental() behaviour

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

12 years agoregex: Remove pcre_ucd.c
Christian Persch [Sun, 12 Feb 2012 20:22:13 +0000 (21:22 +0100)]
regex: Remove pcre_ucd.c

12 years agoregex: Use glib for unicode data
Christian Persch [Sun, 12 Feb 2012 20:20:33 +0000 (21:20 +0100)]
regex: Use glib for unicode data

Use g_unichar_type() and g_unichar_get_script() instead of pcre tables.

12 years agoregex: Remove obsolete patch
Christian Persch [Sun, 12 Feb 2012 19:41:52 +0000 (20:41 +0100)]
regex: Remove obsolete patch

12 years agoregex: unicode: Update to Unicode 6.1.0
Christian Persch [Sun, 12 Feb 2012 19:04:41 +0000 (20:04 +0100)]
regex: unicode: Update to Unicode 6.1.0

12 years agoregex: Remove obsolete makefile fragments
Christian Persch [Sun, 12 Feb 2012 18:44:31 +0000 (19:44 +0100)]
regex: Remove obsolete makefile fragments

The update.sh script doesn't work with current PCRE, so these are obsolete.

12 years agoregex: Use glib memory allocator
Christian Persch [Sun, 12 Feb 2012 18:40:48 +0000 (19:40 +0100)]
regex: Use glib memory allocator

12 years agoregex: Remove obsolete patch
Christian Persch [Sun, 12 Feb 2012 18:31:15 +0000 (19:31 +0100)]
regex: Remove obsolete patch

12 years agoregex: Use g_ascii_is[x]digit
Christian Persch [Sun, 12 Feb 2012 18:29:42 +0000 (19:29 +0100)]
regex: Use g_ascii_is[x]digit

12 years agoregex: Remove obsolete patch
Christian Persch [Sun, 12 Feb 2012 18:20:49 +0000 (19:20 +0100)]
regex: Remove obsolete patch

PCRE doesn't even contain the patched file anymore.

12 years agoregex: Remove obsolete patches
Christian Persch [Sun, 12 Feb 2012 18:18:44 +0000 (19:18 +0100)]
regex: Remove obsolete patches

Upstream PCRE has removed the relocations that these patches were fixing;
the patches are obsolete.

12 years agoregex: Update included PCRE to 8.30
Christian Persch [Sun, 12 Feb 2012 18:14:59 +0000 (19:14 +0100)]
regex: Update included PCRE to 8.30

12 years agoUpdate case conversion test data for Unicode 6.1
Matthias Clasen [Mon, 27 Feb 2012 02:49:20 +0000 (21:49 -0500)]
Update case conversion test data for Unicode 6.1

12 years agounicode: tests: More script to/from ISO-15924 tests
Christian Persch [Fri, 10 Feb 2012 17:59:50 +0000 (18:59 +0100)]
unicode: tests: More script to/from ISO-15924 tests

12 years agounicode: tests: Add tests for new scripts
Christian Persch [Fri, 10 Feb 2012 17:42:08 +0000 (18:42 +0100)]
unicode: tests: Add tests for new scripts

12 years agounicode: tests: Add tests for new line break classes
Christian Persch [Fri, 10 Feb 2012 17:36:13 +0000 (18:36 +0100)]
unicode: tests: Add tests for new line break classes

12 years agounicode: Regenerate tables from Unicode 6.1.0
Christian Persch [Fri, 10 Feb 2012 17:25:47 +0000 (18:25 +0100)]
unicode: Regenerate tables from Unicode 6.1.0

12 years agounicode: Regenerate gscripttable.h for Unicode 6.1.0
Christian Persch [Fri, 10 Feb 2012 17:21:31 +0000 (18:21 +0100)]
unicode: Regenerate gscripttable.h for Unicode 6.1.0

12 years agounicode: tests: Remove U+27CD from is-undefined test
Christian Persch [Fri, 10 Feb 2012 17:33:22 +0000 (18:33 +0100)]
unicode: tests: Remove U+27CD from is-undefined test

It's assigned in Unicode 6.1.0.

12 years agounicode: Add new line break classes from Unicode 6.1.0
Christian Persch [Fri, 10 Feb 2012 17:20:26 +0000 (18:20 +0100)]
unicode: Add new line break classes from Unicode 6.1.0

12 years agounicode: Add new scripts from Unicode 6.1.0
Christian Persch [Fri, 10 Feb 2012 15:59:41 +0000 (16:59 +0100)]
unicode: Add new scripts from Unicode 6.1.0

12 years agogoption: try to be helpful in goption args/flag checks
Stefan Sauer [Sun, 26 Feb 2012 20:20:24 +0000 (21:20 +0100)]
goption: try to be helpful in goption args/flag checks

When complaining about ill defined GOptionEntries include the name of the option
group and entry in the warning.

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 26 Feb 2012 19:08:29 +0000 (20:08 +0100)]
Updated Spanish translation

12 years agoUpdated Brazilian Portuguese translation
Jonh Wendell [Sun, 26 Feb 2012 13:59:40 +0000 (10:59 -0300)]
Updated Brazilian Portuguese translation

12 years agodocs: g_file_new_tmp: template was renamed to tmpl
Thomas Hindoe Paaboel Andersen [Sat, 25 Feb 2012 09:25:13 +0000 (10:25 +0100)]
docs: g_file_new_tmp: template was renamed to tmpl

12 years agoupdate Punjabi Translation
A S Alam [Sun, 26 Feb 2012 10:54:15 +0000 (16:24 +0530)]
update Punjabi Translation

12 years agoUpdated Serbian translation
Мирослав Николић [Sun, 26 Feb 2012 10:26:11 +0000 (11:26 +0100)]
Updated Serbian translation

12 years agoUpdated Uyghur translation
Gheyret Kenji [Sun, 26 Feb 2012 02:23:43 +0000 (11:23 +0900)]
Updated Uyghur translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sat, 25 Feb 2012 22:18:29 +0000 (01:18 +0300)]
Updated Belarusian translation.

12 years agoMake some strings translatable
Jonh Wendell [Sat, 25 Feb 2012 12:54:53 +0000 (10:54 -0200)]
Make some strings translatable

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 25 Feb 2012 20:37:20 +0000 (22:37 +0200)]
Updated Lithuanian translation

12 years agoFixed a typo
Jonh Wendell [Sat, 25 Feb 2012 12:18:40 +0000 (10:18 -0200)]
Fixed a typo

12 years agoUpdated Persian Translation
Arash Mousavi [Sat, 25 Feb 2012 12:05:17 +0000 (15:35 +0330)]
Updated Persian Translation

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 25 Feb 2012 02:44:50 +0000 (10:44 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years ago[Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv
John Ralls [Sat, 25 Feb 2012 01:04:52 +0000 (17:04 -0800)]
[Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv

12 years agoAdded better support of G_STRFUNC for Visual Studio platform
Filippo Della Betta [Thu, 16 Feb 2012 09:04:50 +0000 (10:04 +0100)]
Added better support of G_STRFUNC for Visual Studio platform

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

12 years agoUpdated Brazilian Portuguese translation
Jonh Wendell [Fri, 24 Feb 2012 19:12:14 +0000 (17:12 -0200)]
Updated Brazilian Portuguese translation

12 years agoHide global variable for signal ID in gdbusproxy.c.
Daiki Ueno [Fri, 24 Feb 2012 01:12:08 +0000 (10:12 +0900)]
Hide global variable for signal ID in gdbusproxy.c.

Also a similar fix for gdbusserver.c.

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

12 years agoFix up 'Since:' for g_mapped_file_new_from_fd()
Richard Hughes [Thu, 23 Feb 2012 10:34:46 +0000 (10:34 +0000)]
Fix up 'Since:' for g_mapped_file_new_from_fd()

It was introduced in 2.31.0, not 2.30.x

12 years agogthread-posix: fix order of arguments in g_thread_abort() message
Dan Winship [Wed, 22 Feb 2012 16:38:43 +0000 (11:38 -0500)]
gthread-posix: fix order of arguments in g_thread_abort() message

12 years agogasyncqueue: fix a 32bit overflow in g_async_queue_timed_pop
Dan Winship [Wed, 22 Feb 2012 13:12:52 +0000 (08:12 -0500)]
gasyncqueue: fix a 32bit overflow in g_async_queue_timed_pop

also, add a test for g_async_queue_timed_pop() and
g_async_queue_timeout_pop() to tests/asyncqueue.c

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

12 years agogvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value
Rui Matos [Tue, 21 Feb 2012 15:42:43 +0000 (16:42 +0100)]
gvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value

Transforming a GValue holding flags from a GFlagsValue set that includes the 0
value (no flag bits set) into a string would loop until exhausting all the
available memory.

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

12 years agoBump version
Rico Tzschichholz [Tue, 21 Feb 2012 13:19:37 +0000 (14:19 +0100)]
Bump version

12 years agoUpdated Galician translations
Fran Diéguez [Tue, 21 Feb 2012 10:57:41 +0000 (11:57 +0100)]
Updated Galician translations

12 years agomention g_application_quit() in the NEWS 2.31.18
Ryan Lortie [Tue, 21 Feb 2012 00:37:09 +0000 (01:37 +0100)]
mention g_application_quit() in the NEWS

12 years agoGApplication: add g_application_quit()
Ryan Lortie [Mon, 20 Feb 2012 20:41:35 +0000 (21:41 +0100)]
GApplication: add g_application_quit()

A long requested feature; this quits the application immediately,
ignoring the hold count.

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

12 years agoMention documentation fixes in NEWS
Ryan Lortie [Tue, 21 Feb 2012 00:12:25 +0000 (01:12 +0100)]
Mention documentation fixes in NEWS

12 years agodocs: Fix g_async_queue_timeout_pop_unlocked typo
David King [Sat, 18 Feb 2012 11:56:09 +0000 (11:56 +0000)]
docs: Fix g_async_queue_timeout_pop_unlocked typo

12 years agodocs: Add some missing G_TOKEN_* descriptions
David King [Sat, 18 Feb 2012 12:25:32 +0000 (12:25 +0000)]
docs: Add some missing G_TOKEN_* descriptions

12 years agodocs: Fix g_key_file_load_from_file error parameter
David King [Sun, 19 Feb 2012 15:16:59 +0000 (15:16 +0000)]
docs: Fix g_key_file_load_from_file error parameter

12 years agodocs: Ignore private network monitor headers
David King [Sun, 19 Feb 2012 15:19:40 +0000 (15:19 +0000)]
docs: Ignore private network monitor headers

12 years agodocs: Fix GTlsBackend typo GTyep → GType
David King [Sun, 19 Feb 2012 15:41:12 +0000 (15:41 +0000)]
docs: Fix GTlsBackend typo GTyep → GType

12 years agodocs: Fix GTlsDatabase typos
David King [Sun, 19 Feb 2012 15:51:09 +0000 (15:51 +0000)]
docs: Fix GTlsDatabase typos

12 years agodocs: Fix GApplicationCommandLine typo
David King [Sun, 19 Feb 2012 16:09:35 +0000 (16:09 +0000)]
docs: Fix GApplicationCommandLine typo

12 years agodocs: Fix define typos in GApplication
David King [Sun, 19 Feb 2012 16:11:23 +0000 (16:11 +0000)]
docs: Fix define typos in GApplication

12 years agodocs: Fix typo in GActionGroup
David King [Sun, 19 Feb 2012 16:13:59 +0000 (16:13 +0000)]
docs: Fix typo in GActionGroup

12 years agodocs: Fix GActionGroup exporter typo
David King [Sun, 19 Feb 2012 16:14:54 +0000 (16:14 +0000)]
docs: Fix GActionGroup exporter typo

12 years agodocs: Remove some old GMenu documentation
David King [Sun, 19 Feb 2012 16:18:37 +0000 (16:18 +0000)]
docs: Remove some old GMenu documentation

12 years agodocs: Fix typo GAsyncReady → GAsyncResult
David King [Sun, 19 Feb 2012 16:25:07 +0000 (16:25 +0000)]
docs: Fix typo GAsyncReady → GAsyncResult

Also GSimpleAsyncReady → GSimpleAsyncResult.

12 years agodocs: Remove mention of GFileAttributeValue
David King [Sun, 19 Feb 2012 16:26:52 +0000 (16:26 +0000)]
docs: Remove mention of GFileAttributeValue

Instead mention GFileAttributeInfo.

12 years agodocs: Fix some GDBusConnection typos
David King [Sun, 19 Feb 2012 16:30:10 +0000 (16:30 +0000)]
docs: Fix some GDBusConnection typos

12 years agodocs: Fix typo GConvertFlags → GConverterFlags
David King [Sun, 19 Feb 2012 16:32:08 +0000 (16:32 +0000)]
docs: Fix typo GConvertFlags → GConverterFlags

12 years agodocs: Fix typo export → unexport
David King [Sun, 19 Feb 2012 16:34:27 +0000 (16:34 +0000)]
docs: Fix typo export → unexport

12 years agodocs: Fix GDBusProxy typo name → g-name
David King [Sun, 19 Feb 2012 16:35:10 +0000 (16:35 +0000)]
docs: Fix GDBusProxy typo name → g-name

12 years agodocs: Fix typo in GFileInputStream
David King [Sun, 19 Feb 2012 16:36:28 +0000 (16:36 +0000)]
docs: Fix typo in GFileInputStream

g_seekable_stream_can_seek() → g_seekable_can_seek().

12 years agodocs: Fix method names in GMenu and GMenuModel
David King [Sun, 19 Feb 2012 16:37:55 +0000 (16:37 +0000)]
docs: Fix method names in GMenu and GMenuModel

12 years agodocs: Fix GNetworkAddress typo
David King [Sun, 19 Feb 2012 16:39:15 +0000 (16:39 +0000)]
docs: Fix GNetworkAddress typo

g_network_address_parse_host() → g_network_address_parse().

12 years agodocs: Add documentation for supports_hostname in GProxy
David King [Sun, 19 Feb 2012 16:40:06 +0000 (16:40 +0000)]
docs: Add documentation for supports_hostname in GProxy

Also fix a typo has → as.

12 years agodocs: Correct GSocketClient::event link
David King [Sun, 19 Feb 2012 16:42:55 +0000 (16:42 +0000)]
docs: Correct GSocketClient::event link

12 years agodocs: Fix some typos in GVolume
David King [Sun, 19 Feb 2012 16:46:59 +0000 (16:46 +0000)]
docs: Fix some typos in GVolume

12 years agodocs: Fix GFileAttribute link in GFileInfo
David King [Sun, 19 Feb 2012 16:48:20 +0000 (16:48 +0000)]
docs: Fix GFileAttribute link in GFileInfo

12 years agodocs: Correct GUnixMount → GUnixMountEntry
David King [Sun, 19 Feb 2012 16:53:30 +0000 (16:53 +0000)]
docs: Correct GUnixMount → GUnixMountEntry

12 years agoGApplication: disable a broken test
Ryan Lortie [Mon, 20 Feb 2012 23:31:14 +0000 (00:31 +0100)]
GApplication: disable a broken test

This test made some invalid assumptions that are no longer true.
Disable it until we can figure out a better way.

12 years agogsocket: add g_socket_condition_timed_wait()
Dan Winship [Mon, 13 Feb 2012 22:20:04 +0000 (17:20 -0500)]
gsocket: add g_socket_condition_timed_wait()

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

12 years ago2.31.18
Matthias Clasen [Mon, 20 Feb 2012 23:26:06 +0000 (00:26 +0100)]
2.31.18

12 years agoDon't rely on /bin/sh
Matthias Clasen [Mon, 20 Feb 2012 23:25:31 +0000 (00:25 +0100)]
Don't rely on /bin/sh

Another Fedora UsrMove victim !

12 years agoUpdated Danish translation
Ask H. Larsen [Mon, 20 Feb 2012 22:25:53 +0000 (23:25 +0100)]
Updated Danish translation

12 years agol10n: Updated Italian translation
Luca Ferretti [Mon, 20 Feb 2012 14:14:18 +0000 (15:14 +0100)]
l10n: Updated Italian translation

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 19 Feb 2012 14:26:13 +0000 (15:26 +0100)]
Updated Norwegian bokmål translation

12 years agodocs: Fix g_drive_get_identifier() typo
David King [Sat, 18 Feb 2012 11:19:53 +0000 (11:19 +0000)]
docs: Fix g_drive_get_identifier() typo

12 years agodocs: Add GIOModuleScope and GIOModuleScopeFlags
David King [Sat, 18 Feb 2012 11:10:00 +0000 (11:10 +0000)]
docs: Add GIOModuleScope and GIOModuleScopeFlags

Fix some typos and add GIOModuleScope and GIOModuleScopeFlags to
gio-sections.txt.

12 years agodocs: Typo fix GInitiable → GInitable
David King [Sat, 18 Feb 2012 09:24:42 +0000 (09:24 +0000)]
docs: Typo fix GInitiable → GInitable

12 years agodocs: Typo fixes for GMount
David King [Sat, 18 Feb 2012 09:20:02 +0000 (09:20 +0000)]
docs: Typo fixes for GMount

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 18 Feb 2012 09:07:12 +0000 (11:07 +0200)]
Updated Hebrew translation.

12 years agoDo not fail unit test due to gdb abbreviating strings
Peter Kjellerstedt [Thu, 16 Feb 2012 11:17:32 +0000 (12:17 +0100)]
Do not fail unit test due to gdb abbreviating strings

gdb by default will only print strings up to 200 characters. After that
it abbreviates them. This affects the run-assert-msg-test.sh script if
the path to the glib installation is too long (in our case it was 133
characters, 132 would still have worked...)

By having gdb execute "set print elements 0" before printing the assert
string, the limit on maximum number of characters to print is set to
unlimited.

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
https://bugzilla.gnome.org/show_bug.cgi?id=670218

12 years agodocs: Fix a typo in the GSeekable documentation
David King [Fri, 17 Feb 2012 16:09:59 +0000 (16:09 +0000)]
docs: Fix a typo in the GSeekable documentation