platform/upstream/glib.git
16 years agoglib/glib.symbols glib/gconvert.c glib/gdir.c glib/gfileutils.c
Tor Lillqvist [Sun, 27 Jul 2008 17:15:16 +0000 (17:15 +0000)]
glib/glib.symbols glib/gconvert.c glib/gdir.c glib/gfileutils.c

2008-07-27  Tor Lillqvist  <tml@novell.com>

* glib/glib.symbols
* glib/gconvert.c
* glib/gdir.c
* glib/gfileutils.c
* glib/giowin32.c
* glib/gspawn-win32.c
* glib/gutils.c
* glib/gwin32.c: Bypass the Windows "ABI compatibility" symbols on
_WIN64. As there hasn't been any widely deployed 64-bit Windows
builds of the really old GLib (pre-2.8.1) versions those refer to,
there is no need to have the "ABI compatibility" versions in the
DLL.

* glib/makegalias.pl: Handle #ifndef _WIN64: Just output it, too.

svn path=/trunk/; revision=7257

16 years agogtype.h Revert my change from 2008-07-24. No G_TYPE_FORMAT is needed. Just
Tor Lillqvist [Sun, 27 Jul 2008 15:58:48 +0000 (15:58 +0000)]
gtype.h Revert my change from 2008-07-24. No G_TYPE_FORMAT is needed. Just

2008-07-27  Tor Lillqvist  <tml@novell.com>

* gtype.h
* gtype.c: Revert my change from 2008-07-24. No G_TYPE_FORMAT is
needed. Just use G_GSIZE_FORMAT always when printing GType values.

svn path=/trunk/; revision=7256

16 years agoSet LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.
Tor Lillqvist [Sun, 27 Jul 2008 15:54:15 +0000 (15:54 +0000)]
Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.

2008-07-27  Tor Lillqvist  <tml@novell.com>

* configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
Windows. AC_SUBST it.

* */Makefile.am: Correspondingly, pass appropriate -machine
flag to lib.exe when producing the import library for the MS
toolchain.

svn path=/trunk/; revision=7255

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Sat, 26 Jul 2008 06:42:48 +0000 (06:42 +0000)]
Updated Japanese translation.

2008-07-26  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=7254

16 years agoadded new sample test to prepare for extended range random tests.
15:47:08 Tim Janik [Fri, 25 Jul 2008 13:49:00 +0000 (13:49 +0000)]
added new sample test to prepare for extended range random tests.

2008-07-25 15:47:08  Tim Janik  <timj@imendio.com>

        * glib/tests/testing.c (test_random_conversions): added new sample
        test to prepare for extended range random tests.

svn path=/trunk/; revision=7253

16 years agoAlso export a g_mount_guess_content_type_sync() function.
David Zeuthen [Thu, 24 Jul 2008 21:21:22 +0000 (21:21 +0000)]
Also export a g_mount_guess_content_type_sync() function.

2008-07-24  David Zeuthen  <davidz@redhat.com>

        * gmount.[ch]:
        * gio.symbols:
        Also export a g_mount_guess_content_type_sync() function.

svn path=/trunk/; revision=7252

16 years agoInclude <stdio.h> for FILENAME_MAX on newer mingw installations.
Tor Lillqvist [Thu, 24 Jul 2008 01:13:33 +0000 (01:13 +0000)]
Include <stdio.h> for FILENAME_MAX on newer mingw installations.

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glib/gdir.c: Include <stdio.h> for FILENAME_MAX on newer mingw
installations.

svn path=/trunk/; revision=7251

16 years agoDefine G_TYPE_FORMAT as the printf format for a GType value. Either
Tor Lillqvist [Thu, 24 Jul 2008 01:11:52 +0000 (01:11 +0000)]
Define G_TYPE_FORMAT as the printf format for a GType value. Either

2008-07-24  Tor Lillqvist  <tml@novell.com>

* gtype.h: Define G_TYPE_FORMAT as the printf format for a GType
value. Either G_GSIZE_FORMAT or "lu".

* gtype.c: Use it instead of the C99 zu.

svn path=/trunk/; revision=7250

16 years agoUse G_GSIZE_FORMAT instead of the C99 "zu".
Tor Lillqvist [Thu, 24 Jul 2008 00:50:08 +0000 (00:50 +0000)]
Use G_GSIZE_FORMAT instead of the C99 "zu".

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glib/gslice.c (smc_notify_free): Use G_GSIZE_FORMAT instead of
the C99 "zu".

svn path=/trunk/; revision=7249

16 years agoMust output the GLIB_USING_SYSTEM_PRINTF to glibconfig.h using the same
Tor Lillqvist [Thu, 24 Jul 2008 00:29:56 +0000 (00:29 +0000)]
Must output the GLIB_USING_SYSTEM_PRINTF to glibconfig.h using the same

2008-07-24  Tor Lillqvist  <tml@novell.com>

* configure.in: Must output the GLIB_USING_SYSTEM_PRINTF to
glibconfig.h using the same two phase code as for the other
defines in it. Can't check enable_included_printf directly in the
shell code that is the first argument to AC_CONFIG_COMMANDS().

Preset glib_cv_stack_grows=no on Windows to help
cross-compilation.

* configure.in: Enhancements for 64-bit Windows:

Handle also size_t being larger than long. It is long long
a.k.a. __int64 on the LLP64 Win64.

Set glib_void_p and glib_long correctly. Their assignments were
crossed. It hasn't mattered on LP64 platforms like all (?) 64-bit
UNIXes, but on the LLP Win64 it was wrong.

svn path=/trunk/; revision=7248

16 years agoCheck also _WIN64.
Tor Lillqvist [Wed, 23 Jul 2008 23:53:15 +0000 (23:53 +0000)]
Check also _WIN64.

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Check also _WIN64.

svn path=/trunk/; revision=7247

16 years agoMinor update to Pashto translation by Zabeeh Khan
Gil Forcada Codinachs [Wed, 23 Jul 2008 21:54:54 +0000 (21:54 +0000)]
Minor update to Pashto translation by Zabeeh Khan

svn path=/trunk/; revision=7246

16 years agoPatch for 64-bit Windows from Richard Hult.
Tor Lillqvist [Wed, 23 Jul 2008 21:05:16 +0000 (21:05 +0000)]
Patch for 64-bit Windows from Richard Hult.

2008-07-24  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Patch for 64-bit Windows from Richard
Hult.

svn path=/trunk/; revision=7245

16 years agoFix a typo
Matthias Clasen [Wed, 23 Jul 2008 17:04:36 +0000 (17:04 +0000)]
Fix a typo

svn path=/trunk/; revision=7244

16 years agoRemove leftovers
Matthias Clasen [Wed, 23 Jul 2008 16:22:32 +0000 (16:22 +0000)]
Remove leftovers

svn path=/trunk/; revision=7243

16 years agoUpdated Italian translation.
Luca Ferretti [Wed, 23 Jul 2008 16:12:25 +0000 (16:12 +0000)]
Updated Italian translation.

2008-07-23  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=7242

16 years agoSupport setting selinux attributes
Matthias Clasen [Wed, 23 Jul 2008 04:11:02 +0000 (04:11 +0000)]
Support setting selinux attributes

svn path=/trunk/; revision=7241

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Tue, 22 Jul 2008 15:51:06 +0000 (15:51 +0000)]
Translation updated by Ivar Smolin

2008-07-22  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=7240

16 years agoBug 544140 - fam-helper 64-bit issue?
Priit Laes [Tue, 22 Jul 2008 14:56:31 +0000 (14:56 +0000)]
Bug 544140 - fam-helper 64-bit issue?

2008-07-22  Priit Laes <plaes@plaes.org>

Bug 544140 - fam-helper 64-bit issue?

* fam/fam-helper.c: Added missing include so compiler doesn't complain.

svn path=/trunk/; revision=7239

16 years agoSet LANG variable for group caption tests to get reproducable results.
Mathias Hasselmann [Mon, 21 Jul 2008 23:34:44 +0000 (23:34 +0000)]
Set LANG variable for group caption tests to get reproducable results.

* glib/tests/option-context.c (group_captions()):
  Set LANG variable to C in the forked process to get reproducable.
  Don't silence the forked process in --verbose mode to support
  debugging.

svn path=/trunk/; revision=7238

16 years agoFix detection of struct statfs fields.
Matthias Clasen [Mon, 21 Jul 2008 22:22:59 +0000 (22:22 +0000)]
Fix detection of struct statfs fields.

svn path=/trunk/; revision=7237

16 years agoBump version
Matthias Clasen [Mon, 21 Jul 2008 18:07:55 +0000 (18:07 +0000)]
Bump version

svn path=/trunk/; revision=7236

16 years ago2.17.4 GLIB_2_17_4
Matthias Clasen [Mon, 21 Jul 2008 17:56:17 +0000 (17:56 +0000)]
2.17.4

svn path=/trunk/; revision=7234

16 years agoUpdates
Matthias Clasen [Mon, 21 Jul 2008 17:33:33 +0000 (17:33 +0000)]
Updates

svn path=/trunk/; revision=7233

16 years agoUse the right format string to get leading zeros when converting to ISO
Emmanuele Bassi [Mon, 21 Jul 2008 16:30:16 +0000 (16:30 +0000)]
Use the right format string to get leading zeros when converting to ISO

2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gtimer.c (g_time_val_to_iso8601): Use the right format
string to get leading zeros when converting to ISO 8601. (Sven
Herzberg)

svn path=/trunk/; revision=7232

16 years agoDo not set the timestamp value using time(), as it will be overwritten
Emmanuele Bassi [Mon, 21 Jul 2008 13:05:24 +0000 (13:05 +0000)]
Do not set the timestamp value using time(), as it will be overwritten

2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gbookmarkfile.c:
(bookmark_app_info_new): Do not set the timestamp value
using time(), as it will be overwritten anyway. (#535223,
Michael Meeks)

(parse_application_element),
(bookmark_app_info_dump): Support the "modified" attribute,
which takes an ISO-formatted string instead of a Unix time
stamp, to keep the number of g_strdup_printf() calls to a
minimum.

* glib/gtimer.c:
(g_time_val_to_iso8601): Do not use strftime(): we know
the format and contents of the ISO 8601 date format we
use.

* tests/bookmarks/valid-03.xbel: Add a test file for the
modified attribute.

svn path=/trunk/; revision=7231

16 years agoShould save before committing :)
Michael Natterer [Mon, 21 Jul 2008 10:39:28 +0000 (10:39 +0000)]
Should save before committing :)

svn path=/trunk/; revision=7230

16 years agoReviewed by Tim Janik:
Michael Natterer [Mon, 21 Jul 2008 10:36:03 +0000 (10:36 +0000)]
Reviewed by Tim Janik:

2008-07-21  Michael Natterer  <mitch@imendio.com>

Reviewed by Tim Janik:

* gsignal.c (g_signal_chain_from_overridden_handler): allocate
the temp GValue array with GSLice.

(g_signal_emit_valist): dito. Remove optimization/obfuscation of
allocating up to 16 GValues on the stack and always use GSLice.

svn path=/trunk/; revision=7229

16 years agoBrazilian Portuguese translation improvements.
Leonardo Ferreira Fontenelle [Mon, 21 Jul 2008 02:59:04 +0000 (02:59 +0000)]
Brazilian Portuguese translation improvements.

2008-07-20  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Brazilian Portuguese translation improvements.

svn path=/trunk/; revision=7227

16 years agodoc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:53:30 +0000 (02:53 +0000)]
doc fixes

svn path=/trunk/; revision=7226

16 years agoMore doc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:46:54 +0000 (02:46 +0000)]
More doc fixes

svn path=/trunk/; revision=7225

16 years agoMore doc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:32:14 +0000 (02:32 +0000)]
More doc fixes

svn path=/trunk/; revision=7224

16 years agoDoc fixes
Matthias Clasen [Mon, 21 Jul 2008 02:19:56 +0000 (02:19 +0000)]
Doc fixes

svn path=/trunk/; revision=7223

16 years agoForgotten entry
Matthias Clasen [Mon, 21 Jul 2008 02:05:31 +0000 (02:05 +0000)]
Forgotten entry

svn path=/trunk/; revision=7222

16 years agoUpdated German translation
Andre Klapper [Sun, 20 Jul 2008 22:18:00 +0000 (22:18 +0000)]
Updated German translation

2008-07-20  Andre Klapper  <a9016009@gmx.de>

        * de.po: Updated German translation

svn path=/trunk/; revision=7221

16 years agoPatch from Yu Kuan that makes watched sockets behave much better. See
Tor Lillqvist [Sun, 20 Jul 2008 20:44:39 +0000 (20:44 +0000)]
Patch from Yu Kuan that makes watched sockets behave much better. See

2008-07-20  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c (g_io_win32_prepare): Patch from Yu Kuan that
makes watched sockets behave much better. See gtk-devel-list
archives from May for the (unfortunately rather meager)
discussion. This patch fixes the presented simple test program,
which reasonably could be expected to work.

svn path=/trunk/; revision=7220

16 years agoMove another test
Matthias Clasen [Sun, 20 Jul 2008 02:09:05 +0000 (02:09 +0000)]
Move another test

svn path=/trunk/; revision=7209

16 years ago543504 – crash in Epiphany Web Browser: Opening local file
Matthias Clasen [Sun, 20 Jul 2008 00:34:58 +0000 (00:34 +0000)]
543504 – crash in Epiphany Web Browser: Opening local file

2008-07-19  Matthias Clasen  <mclasen@redhat.com>

        543504 – crash in Epiphany Web Browser: Opening local file

        * gappinfo.c:
        * gasyncresult.c:
        * gdesktopappinfo.c:
        * gdrive.c:
        * gfile.c:
        * gicon.c:
        * gloadableicon.c:
        * gmount.c:
        * gseekable.c:
        * gvolume.c: Register types thread-safely.
        Patch by Christian Persch

svn path=/trunk/; revision=7208

16 years agoAdd new api
Matthias Clasen [Sat, 19 Jul 2008 02:15:31 +0000 (02:15 +0000)]
Add new api

svn path=/trunk/; revision=7207

16 years agoRemove debug spew
Matthias Clasen [Sat, 19 Jul 2008 01:15:12 +0000 (01:15 +0000)]
Remove debug spew

svn path=/trunk/; revision=7206

16 years agoMore updates
Matthias Clasen [Sat, 19 Jul 2008 00:25:52 +0000 (00:25 +0000)]
More updates

svn path=/trunk/; revision=7205

16 years agoUpdates
Matthias Clasen [Fri, 18 Jul 2008 22:03:11 +0000 (22:03 +0000)]
Updates

svn path=/trunk/; revision=7204

16 years agoRemove a warning
Matthias Clasen [Fri, 18 Jul 2008 18:22:48 +0000 (18:22 +0000)]
Remove a warning

svn path=/trunk/; revision=7203

16 years ago Bug 536996 – Missing noop i18n macro equivalent to C_
Matthias Clasen [Fri, 18 Jul 2008 18:14:04 +0000 (18:14 +0000)]
    Bug 536996 – Missing noop i18n macro equivalent to C_

        * glib/glib.symbols:
        * glib/gstrfuncs.[hc]: Add g_dpgettext2() which is a
        variant of g_dpgettext() taking context and id as separate
        arguments.

        * glib/gi18n-lib.h:
        * glib/gi18n.h: Add an NC_() macro that is to C_() as N_()
        is to _().

svn path=/trunk/; revision=7202

16 years agoUpdates
Matthias Clasen [Fri, 18 Jul 2008 17:55:13 +0000 (17:55 +0000)]
Updates

svn path=/trunk/; revision=7201

16 years agoFix a segfault
Matthias Clasen [Fri, 18 Jul 2008 17:48:30 +0000 (17:48 +0000)]
Fix a segfault

svn path=/trunk/; revision=7200

16 years agoAdd g_content_type_guess_for_tree
Matthias Clasen [Fri, 18 Jul 2008 15:33:22 +0000 (15:33 +0000)]
Add g_content_type_guess_for_tree

svn path=/trunk/; revision=7199

16 years agoMove another test
Matthias Clasen [Fri, 18 Jul 2008 07:07:39 +0000 (07:07 +0000)]
Move another test

svn path=/trunk/; revision=7198

16 years agoMove tests around
Matthias Clasen [Fri, 18 Jul 2008 06:25:23 +0000 (06:25 +0000)]
Move tests around

svn path=/trunk/; revision=7197

16 years agoAvoid a warning when printing a pid_t. Pointed out by Morten Welinder.
Matthias Clasen [Wed, 16 Jul 2008 23:12:00 +0000 (23:12 +0000)]
Avoid a warning when printing a pid_t. Pointed out by Morten Welinder.

        * glib/gslice.c (mem_error): Avoid a warning when printing a pid_t.
        Pointed out by Morten Welinder.

svn path=/trunk/; revision=7196

16 years agoDocument that this function does accept localized infinities and nans.
Matthias Clasen [Wed, 16 Jul 2008 22:05:24 +0000 (22:05 +0000)]
Document that this function does accept localized infinities and nans.

        * glib/gstrfuncs.c (g_ascii_strtod): Document that this
        function does accept localized infinities and nans. Reported
        by Morten Welinder.

svn path=/trunk/; revision=7195

16 years agoDetect overflow and error out. Reported by Morten Welinder.
Matthias Clasen [Wed, 16 Jul 2008 21:42:48 +0000 (21:42 +0000)]
Detect overflow and error out. Reported by Morten Welinder.

        * glib/gfileutils.c (get_contents_stdio): Detect overflow and
        error out. Reported by Morten Welinder.

svn path=/trunk/; revision=7194

16 years agoUpdated Translation
Laurent Dhima [Wed, 16 Jul 2008 15:27:48 +0000 (15:27 +0000)]
Updated Translation

svn path=/trunk/; revision=7193

16 years agoAvoid a filename conflict
Matthias Clasen [Wed, 16 Jul 2008 06:30:12 +0000 (06:30 +0000)]
Avoid a filename conflict

svn path=/trunk/; revision=7192

16 years agoPlug a leak
Matthias Clasen [Wed, 16 Jul 2008 06:13:41 +0000 (06:13 +0000)]
Plug a leak

svn path=/trunk/; revision=7191

16 years agoMore documentation fixes
Matthias Clasen [Wed, 16 Jul 2008 05:49:16 +0000 (05:49 +0000)]
More documentation fixes

svn path=/trunk/; revision=7190

16 years agoImprove an error message
Matthias Clasen [Wed, 16 Jul 2008 04:28:07 +0000 (04:28 +0000)]
Improve an error message

svn path=/trunk/; revision=7189

16 years agoImprove docs
Matthias Clasen [Wed, 16 Jul 2008 04:24:56 +0000 (04:24 +0000)]
Improve docs

svn path=/trunk/; revision=7188

16 years agoSmall documentation fixes
Matthias Clasen [Wed, 16 Jul 2008 04:21:50 +0000 (04:21 +0000)]
Small documentation fixes

svn path=/trunk/; revision=7187

16 years agoAdded Entry for addition of Pashto translations by Zabeeh Khan and entry in LINGUAS
Runa Bhattacharjee [Tue, 15 Jul 2008 16:07:46 +0000 (16:07 +0000)]
Added Entry for addition of Pashto translations by Zabeeh Khan and entry in LINGUAS

svn path=/trunk/; revision=7186

16 years agoAdded Pashto (ps) to the list of languages
Runa Bhattacharjee [Tue, 15 Jul 2008 16:06:52 +0000 (16:06 +0000)]
Added Pashto (ps) to the list of languages

svn path=/trunk/; revision=7185

16 years agoAdded Pashto Translations by Zabeeh Khan
Runa Bhattacharjee [Tue, 15 Jul 2008 16:05:46 +0000 (16:05 +0000)]
Added Pashto Translations by Zabeeh Khan

svn path=/trunk/; revision=7184

16 years agoUse g_strcmp0 instead of rolling our own
Matthias Clasen [Tue, 15 Jul 2008 05:42:11 +0000 (05:42 +0000)]
Use g_strcmp0 instead of rolling our own

svn path=/trunk/; revision=7183

16 years agoIgnore the error if iconv doesn't support EUC-JP.
Matthias Clasen [Mon, 14 Jul 2008 19:31:33 +0000 (19:31 +0000)]
Ignore the error if iconv doesn't support EUC-JP.

        * tests/iochannel-test.c: Ignore the error if iconv doesn't
        support EUC-JP.

svn path=/trunk/; revision=7182

16 years agoPrint error messages when something fails
Matthias Clasen [Mon, 14 Jul 2008 19:15:18 +0000 (19:15 +0000)]
Print error messages when something fails

svn path=/trunk/; revision=7181

16 years agoSkip a test if iconv doesn't support the encoding
Matthias Clasen [Mon, 14 Jul 2008 18:17:20 +0000 (18:17 +0000)]
Skip a test if iconv doesn't support the encoding

svn path=/trunk/; revision=7180

16 years agoUpdated Traditional Chinese translation(Hong Kong). Updated Traditional
Chao-Hsiung Liao [Mon, 14 Jul 2008 08:29:01 +0000 (08:29 +0000)]
Updated Traditional Chinese translation(Hong Kong). Updated Traditional

2008-07-14  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
        * zh_TW.po: Updated Traditional Chinese translation(Taiwan).

svn path=/trunk/; revision=7179

16 years agoUpdated Traditional Chinese translation(Hong Kong). Updated Traditional
Chao-Hsiung Liao [Sun, 13 Jul 2008 08:32:55 +0000 (08:32 +0000)]
Updated Traditional Chinese translation(Hong Kong). Updated Traditional

2008-07-13  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
        * zh_TW.po: Updated Traditional Chinese translation(Taiwan).

svn path=/trunk/; revision=7178

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 10 Jul 2008 12:35:37 +0000 (12:35 +0000)]
Updated Thai translation.

2008-07-10  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=7175

16 years agoadd functions g_markup_parse_context_{push,pop} in order to provide some
Ryan Lortie [Thu, 10 Jul 2008 08:41:59 +0000 (08:41 +0000)]
add functions g_markup_parse_context_{push,pop} in order to provide some

2008-07-10  Ryan Lortie  <desrt@desrt.ca>

        * docs/reference/glib/glib-sections.txt:
        * glib/glib.symbols:
        * glib/gmarkup.c:
        * glib/gmarkup.h: add functions g_markup_parse_context_{push,pop} in
        order to provide some small hooks on which to build easy-to-use
        subparsers.

        * glib/tests/Makefile: add new test
        * glib/tests/markup-subparser.c: new test for subparsers

        Fixes bug #337518.

svn path=/trunk/; revision=7174

16 years agoDoc improvement
Matthias Clasen [Wed, 9 Jul 2008 04:26:47 +0000 (04:26 +0000)]
Doc improvement

svn path=/trunk/; revision=7173

16 years agoDocumentation improvements.
Matthias Clasen [Wed, 9 Jul 2008 04:18:45 +0000 (04:18 +0000)]
Documentation improvements.

svn path=/trunk/; revision=7172

16 years agoAdd g_mount_guess_content_type
Matthias Clasen [Tue, 8 Jul 2008 16:02:08 +0000 (16:02 +0000)]
Add g_mount_guess_content_type

svn path=/trunk/; revision=7171

16 years agoMinor doc edits
Matthias Clasen [Tue, 8 Jul 2008 06:01:04 +0000 (06:01 +0000)]
Minor doc edits

svn path=/trunk/; revision=7170

16 years agoAdd new method g_volume_get_activation_root(). This is needed for easily
David Zeuthen [Mon, 7 Jul 2008 15:38:38 +0000 (15:38 +0000)]
Add new method g_volume_get_activation_root(). This is needed for easily

2008-07-06  David Zeuthen  <davidz@redhat.com>

* gio.symbols:
* gvolume.[ch]: Add new method g_volume_get_activation_root(). This
is needed for easily handling adoption of foreign volumes by
out-of-process volume monitors (#541793)

svn path=/trunk/; revision=7169

16 years agoExport the eject-button signal on the volume monitor class (#541794).
David Zeuthen [Mon, 7 Jul 2008 02:23:52 +0000 (02:23 +0000)]
Export the eject-button signal on the volume monitor class (#541794).

2008-07-06  David Zeuthen  <davidz@redhat.com>

        * gvolumemonitor.[ch]:
        * gunionvolumemonitor.c: Export the eject-button signal on the
        volume monitor class (#541794).

svn path=/trunk/; revision=7168

16 years agoMore doc tweaks
Matthias Clasen [Sun, 6 Jul 2008 22:11:58 +0000 (22:11 +0000)]
More doc tweaks

svn path=/trunk/; revision=7167

16 years agoSet a sane default recursion limit of 8192 instead of 1000000. Patch by
Matthias Clasen [Sun, 6 Jul 2008 04:25:18 +0000 (04:25 +0000)]
Set a sane default recursion limit of 8192 instead of 1000000. Patch by

        * glib/pcre/Makefile.am: Set a sane default recursion limit
        of 8192 instead of 1000000.
        Patch by Mart Raudsepp.

svn path=/trunk/; revision=7166

16 years agoMention Vala
Matthias Clasen [Sun, 6 Jul 2008 04:17:36 +0000 (04:17 +0000)]
Mention Vala

svn path=/trunk/; revision=7165

16 years agoUse the right binary name in help output. Patch by Hiroyuki Ikezoe.
Matthias Clasen [Sun, 6 Jul 2008 02:01:56 +0000 (02:01 +0000)]
Use the right binary name in help output. Patch by Hiroyuki Ikezoe.

        * gobject-query.c: Use the right binary name in help output.
        Patch by Hiroyuki Ikezoe.

svn path=/trunk/; revision=7164

16 years agoUpdates
Matthias Clasen [Sun, 6 Jul 2008 01:30:28 +0000 (01:30 +0000)]
Updates

svn path=/trunk/; revision=7163

16 years agoClarify some docs
Matthias Clasen [Sun, 6 Jul 2008 00:07:50 +0000 (00:07 +0000)]
Clarify some docs

svn path=/trunk/; revision=7162

16 years agoBug 541507 – Ambiguous description of assigned characters in the Glib
Behdad Esfahbod [Fri, 4 Jul 2008 18:05:13 +0000 (18:05 +0000)]
Bug 541507 – Ambiguous description of assigned characters in the Glib

2008-07-04  Behdad Esfahbod  <behdad@gnome.org>

        Bug 541507 – Ambiguous description of assigned characters in the Glib
        Unicode Manipulation reference

        * glib/guniprop.c
        (g_unichar_isgraph): Return true for PrivateUse too.
        (g_unichar_isprint): Return true for PrivateUse too.
        (g_unichar_isdefined): Return false for Surrogate.

svn path=/trunk/; revision=7161

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Fri, 4 Jul 2008 17:54:39 +0000 (17:54 +0000)]
Translation updated by Ivar Smolin

2008-07-04  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=7160

16 years agoremove unused #define PREALLOC_CPARAMS.
Michael Natterer [Fri, 4 Jul 2008 13:08:39 +0000 (13:08 +0000)]
remove unused #define PREALLOC_CPARAMS.

2008-07-04  Michael Natterer  <mitch@imendio.com>

* gobject.c: remove unused #define PREALLOC_CPARAMS.

svn path=/trunk/; revision=7159

16 years agoBug 541208 – Functions to easily install and use signals without class
Michael Natterer [Fri, 4 Jul 2008 11:10:48 +0000 (11:10 +0000)]
Bug 541208 – Functions to easily install and use signals without class

2008-07-04  Michael Natterer  <mitch@imendio.com>

Bug 541208 – Functions to easily install and use signals without
class struct slot

* tests/gobject/override.c: added tests for the new gsignal
overriding and chaining APIs.

svn path=/trunk/; revision=7158

16 years agoBug 541208 – Functions to easily install and use signals without class
Michael Natterer [Fri, 4 Jul 2008 11:10:17 +0000 (11:10 +0000)]
Bug 541208 – Functions to easily install and use signals without class

2008-07-04  Michael Natterer  <mitch@imendio.com>

Bug 541208 – Functions to easily install and use signals without
class struct slot

* gobject.symbols
* gsignal.[ch] (g_signal_new_class_handler): the same as
_gtk_binding_signal_new(), to install signals with a callback
instead of a class struct slot as class closure.

The next two functions are C convenience and much easier to use
than the generic overriding and chaining APIs which are intended
primarily for language bindings:

(g_signal_override_class_handler): to override a signal with a
callback instead of a class struct slot.

(g_signal_chain_from_overridden_handler): to chain up from a
signal without class struct slot. The API is similar to
g_signal_emit().

svn path=/trunk/; revision=7157

16 years agoFix a stupid crash
Matthias Clasen [Thu, 3 Jul 2008 22:57:55 +0000 (22:57 +0000)]
Fix a stupid crash

svn path=/trunk/; revision=7155

16 years agoUpdated German translation, fix #540762.
Hendrik Richter [Thu, 3 Jul 2008 17:33:55 +0000 (17:33 +0000)]
Updated German translation, fix #540762.

2008-07-03  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation, fix #540762.

svn path=/trunk/; revision=7154

16 years ago2.17.3 GLIB_2_17_3
Matthias Clasen [Thu, 3 Jul 2008 00:28:00 +0000 (00:28 +0000)]
2.17.3

svn path=/trunk/; revision=7152

16 years agoFix the build
Matthias Clasen [Wed, 2 Jul 2008 22:05:32 +0000 (22:05 +0000)]
Fix the build

svn path=/trunk/; revision=7151

16 years agosvn path=/trunk/; revision=7150
Matthias Clasen [Wed, 2 Jul 2008 21:08:05 +0000 (21:08 +0000)]
svn path=/trunk/; revision=7150

svn path=/trunk/; revision=7150

16 years agoBetter endianness fix
Matthias Clasen [Wed, 2 Jul 2008 19:21:53 +0000 (19:21 +0000)]
Better endianness fix

svn path=/trunk/; revision=7149

16 years agoUpdates
Matthias Clasen [Wed, 2 Jul 2008 19:15:52 +0000 (19:15 +0000)]
Updates

svn path=/trunk/; revision=7148

16 years agoFix syntax
Matthias Clasen [Wed, 2 Jul 2008 19:11:08 +0000 (19:11 +0000)]
Fix syntax

svn path=/trunk/; revision=7147

16 years agoUse UNLOCK to unlock, not LOCK.
Colin Walters [Wed, 2 Jul 2008 19:06:08 +0000 (19:06 +0000)]
Use UNLOCK to unlock, not LOCK.

2008-07-02  Colin Walters  <walters@redhat.com>

* gio/gcontenttype.c: Use UNLOCK to unlock, not LOCK.

svn path=/trunk/; revision=7146

16 years agoAdd g_file_monitor
Matthias Clasen [Wed, 2 Jul 2008 17:19:16 +0000 (17:19 +0000)]
Add g_file_monitor

svn path=/trunk/; revision=7145

16 years agoUse a configure check for structfs.f_bavail.
Matthias Clasen [Wed, 2 Jul 2008 16:49:04 +0000 (16:49 +0000)]
Use a configure check for structfs.f_bavail.

        * glocalfile.c: Use a configure check for structfs.f_bavail.

svn path=/trunk/; revision=7144

16 years agoAdd a function to create a GDesktopAppInfo from a GKeyFile. Proposed by
Matthias Clasen [Wed, 2 Jul 2008 16:23:23 +0000 (16:23 +0000)]
Add a function to create a GDesktopAppInfo from a GKeyFile. Proposed by

        * gio.symbols:
        * gdesktopappinfo.[hc]: Add a function to create a
        GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.

svn path=/trunk/; revision=7143

16 years agoAdd a g_return_val_if_fail check in both versions. Proposed by Patrik
Matthias Clasen [Wed, 2 Jul 2008 16:16:27 +0000 (16:16 +0000)]
Add a g_return_val_if_fail check in both versions. Proposed by Patrik

        * glib/gmain.c (g_get_current_time): Add a g_return_val_if_fail
        check in both versions. Proposed by Patrik Olsson in bug 540545.

svn path=/trunk/; revision=7142