Matthias Clasen [Wed, 11 Jul 2007 05:11:16 +0000 (05:11 +0000)]
Correct bug ref
svn path=/trunk/; revision=5626
Luca Ferretti [Tue, 10 Jul 2007 20:51:35 +0000 (20:51 +0000)]
Updated Italian translation
2007-07-10 Luca Ferretti <elle.uca@libero.it>
* it.po: Updated Italian translation
svn path=/trunk/; revision=5625
Gabor Kelemen [Tue, 10 Jul 2007 19:58:05 +0000 (19:58 +0000)]
Translation updated.
2007-07-10 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
svn path=/trunk/; revision=5624
Ilkka Tuohela [Tue, 10 Jul 2007 18:05:08 +0000 (18:05 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=5623
Matthias Clasen [Tue, 10 Jul 2007 17:49:46 +0000 (17:49 +0000)]
Fix 'make check'
svn path=/trunk/; revision=5622
Tim Janik [Tue, 10 Jul 2007 11:12:28 +0000 (11:12 +0000)]
corrected descriptions of gsize and gssize.
Tue Jul 10 13:11:55 2007 Tim Janik <timj@imendio.com>
* glib/tmpl/types.sgml: corrected descriptions of gsize and gssize.
svn path=/trunk/; revision=5621
Tim Janik [Tue, 10 Jul 2007 11:04:24 +0000 (11:04 +0000)]
minor docu build fixes.
Tue Jul 10 13:04:03 2007 Tim Janik <timj@imendio.com>
* minor docu build fixes.
svn path=/trunk/; revision=5620
Tim Janik [Tue, 10 Jul 2007 10:49:00 +0000 (10:49 +0000)]
fixed typos spotted by Richard Hult
svn path=/trunk/; revision=5619
Tim Janik [Tue, 10 Jul 2007 10:33:03 +0000 (10:33 +0000)]
use g_once_init_enter/g_once_init_leave to guard critical initialization
Tue Jul 10 12:31:50 2007 Tim Janik <timj@imendio.com>
* gtype.h: use g_once_init_enter/g_once_init_leave to guard critical
initialization section of *_get_type implementations in G_DEFINE_TYPE,
bug #65041.
svn path=/trunk/; revision=5618
Tim Janik [Tue, 10 Jul 2007 10:31:31 +0000 (10:31 +0000)]
document g_once_init_enter and g_once_init_leave.
Tue Jul 10 12:31:04 2007 Tim Janik <timj@imendio.com>
* glib/tmpl/threads.sgml: document g_once_init_enter and g_once_init_leave.
svn path=/trunk/; revision=5617
Tim Janik [Tue, 10 Jul 2007 10:30:36 +0000 (10:30 +0000)]
implemented g_once_init_enter(), g_once_init_enter_impl() and
Tue Jul 10 12:24:35 2007 Tim Janik <timj@imendio.com>
* glib/gthread.[hc]: implemented g_once_init_enter(),
g_once_init_enter_impl() and g_once_init_leave(), based on a patch by
Antoine Tremblay, fixes #65041.
adapted exported inline function mechanism from gutils.[hc] for inlining
g_once_init_enter_impl() in gthread.[hc].
svn path=/trunk/; revision=5616
Runa Bhattacharjee [Tue, 10 Jul 2007 07:24:40 +0000 (07:24 +0000)]
Added Entry for Bengali India Translation Updation
svn path=/trunk/; revision=5615
Runa Bhattacharjee [Tue, 10 Jul 2007 07:24:25 +0000 (07:24 +0000)]
Updated Bengali India Translation
svn path=/trunk/; revision=5614
Matthias Clasen [Mon, 9 Jul 2007 23:04:54 +0000 (23:04 +0000)]
Updates
svn path=/trunk/; revision=5613
Matthias Clasen [Mon, 9 Jul 2007 17:54:38 +0000 (17:54 +0000)]
Remove duplicate paragraph. (#45786, Ruben Vermeersch)
2007-07-09 Matthias Clasen <mclasen@redhat.com>
* tmpl/modules.sgml: Remove duplicate paragraph.
(#45786, Ruben Vermeersch)
* tmpl/modules.sgml: Remove duplicate code from
an example. (#454785, Ruben Vermeersch)
svn path=/trunk/; revision=5612
Matthias Clasen [Mon, 9 Jul 2007 17:50:28 +0000 (17:50 +0000)]
Include the module file name to the error message given when module
2007-07-09 Matthias Clasen <mclasen@redhat.com>
* gmodule.c (g_module_open): Include the module file
name to the error message given when module initialization
fails. (#448484, Gustavo Carneiro)
svn path=/trunk/; revision=5611
Tim Janik [Mon, 9 Jul 2007 08:25:14 +0000 (08:25 +0000)]
GClosure docu fixes from Guillaume Cottenceau, #383155.
Mon Jul 9 10:23:53 2007 Tim Janik <timj@imendio.com>
* gobject/tmpl/gclosure.sgml: GClosure docu fixes from Guillaume
Cottenceau, #383155.
svn path=/trunk/; revision=5610
Loïc Minier [Mon, 9 Jul 2007 07:42:30 +0000 (07:42 +0000)]
Output newlines after thousand iterations of the inner-loop of the
2007-07-09 Loïc Minier <lool@dooz.org>
* tests/refcount/closures.c: (main): Output newlines after thousand
iterations of the inner-loop of the closures test; this helps having
smaller lines and continuously outputting new lines. (#447048).
svn path=/trunk/; revision=5609
Ryan Lortie [Mon, 9 Jul 2007 05:32:15 +0000 (05:32 +0000)]
save errno to prevent it being clobbered by call to
2007-07-09 Ryan Lortie <desrt@desrt.ca>
* glib/gfileutils.c (write_to_temp_file): save errno to prevent it
being clobbered by call to g_filename_display_name(). Bug #453796.
svn path=/trunk/; revision=5608
Matthias Clasen [Mon, 9 Jul 2007 05:21:05 +0000 (05:21 +0000)]
Fix a small problem with msgfmt -c detection
svn path=/trunk/; revision=5606
Matthias Clasen [Sun, 8 Jul 2007 00:18:38 +0000 (00:18 +0000)]
Handle all states. (#454473)
2007-07-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmarkup.c (g_markup_parse_context_end_parse): Handle
all states. (#454473)
svn path=/trunk/; revision=5604
Amitakhya Phukan [Fri, 6 Jul 2007 15:26:58 +0000 (15:26 +0000)]
Updated assamese translations
svn path=/trunk/; revision=5603
Amitakhya Phukan [Fri, 6 Jul 2007 15:26:24 +0000 (15:26 +0000)]
Updated ChangeLog
svn path=/trunk/; revision=5602
Amitakhya Phukan [Fri, 6 Jul 2007 15:25:54 +0000 (15:25 +0000)]
Updated configure.in
svn path=/trunk/; revision=5601
Tor Lillqvist [Fri, 6 Jul 2007 01:22:53 +0000 (01:22 +0000)]
When WSAEnumNetworkEvents() signals FD_CONNECT that means that the
2007-07-06 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c (g_io_win32_check): When WSAEnumNetworkEvents()
signals FD_CONNECT that means that the connection attempt
finished, either successfully or failed. Test explicitly whether
the connnection succeeded and set either G_IO_OUT if it did,
G_IO_ERR|G_IO_HUP if it failed.
Make sure we never set both G_IO_OUT and G_IO_HUP simultaneously
because in Unix poll(2) POLLOUT and POLLHUP are mutually
exclusive.
Ignore whether the caller wants to watch G_IO_HUP or not. Always
select for FD_CLOSE because Unix poll(2) also ignores whether
POLLHUP in set the requested events bitmask or not.
svn path=/trunk/; revision=5600
Ankitkumar Rameshchandra Patel [Wed, 4 Jul 2007 10:41:33 +0000 (10:41 +0000)]
Updated Translation
svn path=/trunk/; revision=5598
Changwoo Ryu [Tue, 3 Jul 2007 18:29:10 +0000 (18:29 +0000)]
Updated Korean translation by Eunju Kim.
2007-07-04 Changwoo Ryu <cwryu@debian.org>
* ko.po: Updated Korean translation by Eunju Kim.
svn path=/trunk/; revision=5597
Jovan Naumovski [Tue, 3 Jul 2007 17:59:00 +0000 (17:59 +0000)]
2007-07-03 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
svn path=/trunk/; revision=5596
Takeshi AIHANA [Sat, 30 Jun 2007 11:42:20 +0000 (11:42 +0000)]
Updated Japanese translation.
2007-06-30 Takeshi AIHANA <takeshi.aihana@gmail.com>
* ja.po: Updated Japanese translation.
svn path=/trunk/; revision=5595
Jorge Gonzalez Gonzalez [Fri, 29 Jun 2007 18:17:48 +0000 (18:17 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=5594
Matthias Clasen [Fri, 29 Jun 2007 17:52:18 +0000 (17:52 +0000)]
Bump version
svn path=/trunk/; revision=5593
Matthias Clasen [Fri, 29 Jun 2007 17:50:00 +0000 (17:50 +0000)]
2.13.6
svn path=/trunk/; revision=5591
Matthias Clasen [Fri, 29 Jun 2007 17:36:10 +0000 (17:36 +0000)]
Updates
svn path=/trunk/; revision=5590
Amanpreet Singh Alam [Fri, 29 Jun 2007 04:18:10 +0000 (04:18 +0000)]
updating for Punjabi Translation
svn path=/trunk/; revision=5589
Tim Janik [Wed, 27 Jun 2007 09:43:53 +0000 (09:43 +0000)]
typo fix, #451459.
Wed Jun 27 11:43:01 2007 Tim Janik <timj@gtk.org>
* gobject/tmpl/gtype.sgml (initializers): typo fix, #451459.
svn path=/trunk/; revision=5588
Tim Janik [Mon, 25 Jun 2007 14:44:41 +0000 (14:44 +0000)]
g_hash_table_find(), g_hash_table_foreach(): document performance caveats
Mon Jun 25 16:43:13 2007 Tim Janik <timj@gtk.org>
* glib/ghash.c: g_hash_table_find(), g_hash_table_foreach():
document performance caveats for linear order searches.
svn path=/trunk/; revision=5587
Emmanuele Bassi [Sat, 23 Jun 2007 21:18:05 +0000 (21:18 +0000)]
Add a clarification about pairing the memory allocation and free
2007-06-23 Emmanuele Bassi <ebassi@gnome.org>
* glib/tmpl/memory.sgml: Add a clarification about pairing the
memory allocation and free functions, and not mix system's
malloc/free with the corresponding GLib ones. (#450216, Hubert
Figuiere)
svn path=/trunk/; revision=5586
Kjartan Maraas [Sat, 23 Jun 2007 08:47:10 +0000 (08:47 +0000)]
Updated Norwegian bokmål translation.
2007-06-23 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=5585
Mathias Hasselmann [Fri, 22 Jun 2007 17:04:07 +0000 (17:04 +0000)]
Use memcpy in g_string_append_vprintf (#57693).
2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* glib/gstring.c: Use memcpy in g_string_append_vprintf (#57693).
svn path=/trunk/; revision=5584
Felix I [Fri, 22 Jun 2007 11:00:41 +0000 (11:00 +0000)]
updated si translation
svn path=/trunk/; revision=5583
Tim Janik [Fri, 22 Jun 2007 09:34:33 +0000 (09:34 +0000)]
reintroduce typedef gulong GType; for C++, to avoid C++ specific ABI
Fri Jun 22 11:31:27 2007 Tim Janik <timj@gtk.org>
* gtype.h: reintroduce typedef gulong GType; for C++, to avoid
C++ specific ABI breakage.
svn path=/trunk/; revision=5582
Mathias Hasselmann [Mon, 18 Jun 2007 21:14:49 +0000 (21:14 +0000)]
Restore old behaviour of g_string_append_vprintf: g_vasprintf seems to be
2007-06-18 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* glib/gstring.c: Restore old behaviour of
g_string_append_vprintf: g_vasprintf seems to be faster
than g_printf_string_upper_bound (#57693).
svn path=/trunk/; revision=5581
Matthias Clasen [Mon, 18 Jun 2007 19:12:10 +0000 (19:12 +0000)]
More docs
svn path=/trunk/; revision=5580
Matthias Clasen [Mon, 18 Jun 2007 17:33:45 +0000 (17:33 +0000)]
Bump version
svn path=/trunk/; revision=5579
Matthias Clasen [Mon, 18 Jun 2007 17:31:49 +0000 (17:31 +0000)]
2.13.5
svn path=/trunk/; revision=5577
Matthias Clasen [Mon, 18 Jun 2007 17:03:16 +0000 (17:03 +0000)]
Updates
svn path=/trunk/; revision=5576
Emmanuele Bassi [Mon, 18 Jun 2007 16:55:50 +0000 (16:55 +0000)]
Add full variant to the approximate timeout functiont
The g_timeout_add_seconds() API lacks a _full() counterpart, allowing the
setting of a destroy notification function to be invoked when the timeout
source is removed.
This patch adds g_timeout_add_seconds_full() to the public API and
reimplements g_timeout_add_seconds() as a call to g_timeout_add_seconds_full().
svn path=/trunk/; revision=5575
Matthias Clasen [Mon, 18 Jun 2007 16:35:41 +0000 (16:35 +0000)]
Prevent segfaults on long paths. (#447935, Robby Griffin)
2007-06-17 Matthias Clasen <mclasen@redhat.com>
* glib/gutils (g_get_current_dir): Prevent segfaults on
long paths. (#447935, Robby Griffin)
svn path=/trunk/; revision=5574
Priit Laes [Sun, 17 Jun 2007 19:50:30 +0000 (19:50 +0000)]
Estonian translation update by Ivar Smolin.
2007-06-17 Priit Laes <plaes@svn.gnome.org>
* et.po: Estonian translation update by Ivar Smolin.
svn path=/trunk/; revision=5573
Behdad Esfahbod [Sun, 17 Jun 2007 07:43:34 +0000 (07:43 +0000)]
Accept NULL and return GQuark value of zero. (#446859)
2007-06-17 Behdad Esfahbod <behdad@gnome.org>
* glib/gdataset.c (g_quark_from_string),
(g_quark_from_static_string): Accept NULL and return GQuark
value of zero. (#446859)
svn path=/trunk/; revision=5572
Emmanuele Bassi [Sat, 16 Jun 2007 19:05:19 +0000 (19:05 +0000)]
Document the undefined behaviour of CLAMP() if low > high. (#448260)
2007-06-16 Emmanuele Bassi <ebassi@gnome.org>
* glib/tmpl/macros.sgml: Document the undefined behaviour of
CLAMP() if low > high. (#448260)
svn path=/trunk/; revision=5571
Mathias Hasselmann [Sat, 16 Jun 2007 12:04:25 +0000 (12:04 +0000)]
Correctly use g_printf_string_upper_bound in g_string_append_vprintf.
2007-06-16 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* glib/gstring.c: Correctly use g_printf_string_upper_bound
in g_string_append_vprintf. Fixes #447933.
svn path=/trunk/; revision=5570
Jorge Gonzalez Gonzalez [Fri, 15 Jun 2007 18:12:29 +0000 (18:12 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=5569
Sebastian Wilhelmi [Fri, 15 Jun 2007 17:03:13 +0000 (17:03 +0000)]
Extended the comments on those functions, that are NOOPs, before
2007-06-15 Sebastian Wilhelmi <wilhelmi@google.com>
* docs/reference/glib/tmpl/threads.sgml: Extended the comments on
those functions, that are NOOPs, before g_thread_init() has been
called. (#447583)
* glib/gthread.c (g_static_mutex_free): Clarified comment to
remind myself, tha calling g_static_mutex_free() before
g_thread_init() is safe.
svn path=/trunk/; revision=5567
Cody Russell [Fri, 15 Jun 2007 16:31:21 +0000 (16:31 +0000)]
Added GRegex boxed type. (#445065, Carlos Garnacho)
2007-06-15 Cody Russell <bratsche@gnome.org>
* docs/reference/gobject/tmpl/gboxed.sgml:
* docs/reference/gobject/gobject-sections.txt:
* glib/gregex.c:
* gobject/gboxed.[ch]:
* gobject/gobject.symbols: Added GRegex boxed type.
(#445065, Carlos Garnacho)
svn path=/trunk/; revision=5566
Sebastian Wilhelmi [Fri, 15 Jun 2007 15:55:37 +0000 (15:55 +0000)]
Replaced & by & in <programlisting> to make gtk-doc happy.
2007-06-15 Sebastian Wilhelmi <wilhelmi@google.com>
* glib/gregex.c: Replaced & by & in <programlisting> to make
gtk-doc happy.
svn path=/trunk/; revision=5565
Ryan Lortie [Fri, 15 Jun 2007 12:43:54 +0000 (12:43 +0000)]
Improve performance by removing the use of an intermediate g_malloc'd
2007-06-14 Ryan Lortie <desrt@desrt.ca>
* docs/reference/glib/glib-sections.txt:
* glib/glib/symbols:
* glib/gstring.[ch] (g_string_printf_internal): Improve
performance by removing the use of an intermediate g_malloc'd
buffer. Rename to g_string_append_vprintf, document, and expose
along with g_string_vprintf as new public API (#57693).
svn path=/trunk/; revision=5564
Mathias Hasselmann [Fri, 15 Jun 2007 11:54:21 +0000 (11:54 +0000)]
Introduce g_string_overwrite(_len)? for overwriting parts of strings (#368686, Samuel Cormier-Iijima)
svn path=/trunk/; revision=5563
Cody Russell [Fri, 15 Jun 2007 03:50:27 +0000 (03:50 +0000)]
Check for 0-sized private data. (#443869)
2007-06-14 Cody Russell <bratsche@gnome.org>
* gobject/gtype.c (g_type_class_add_private): Check for 0-sized
private data. (#443869)
svn path=/trunk/; revision=5561
Tim Janik [Thu, 14 Jun 2007 21:55:41 +0000 (21:55 +0000)]
always define GType unconditionally in terms of gsize, there's no need to
Thu Jun 14 23:32:00 2007 Tim Janik <timj@gtk.org>
* gtype.h: always define GType unconditionally in terms of gsize,
there's no need to jump through a glong hoop ever and this fixes
the printf modifier to %zu.
svn path=/trunk/; revision=5560
Tim Janik [Thu, 14 Jun 2007 20:56:15 +0000 (20:56 +0000)]
work around SGI IDO cc, fixes #363986.
Thu Jun 14 22:33:11 2007 Tim Janik <timj@imendio.com>
* gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
fixes #363986.
svn path=/trunk/; revision=5559
Matthias Clasen [Thu, 14 Jun 2007 13:52:01 +0000 (13:52 +0000)]
Fix typos
svn path=/trunk/; revision=5558
Behdad Esfahbod [Wed, 13 Jun 2007 22:21:54 +0000 (22:21 +0000)]
Add bug number.
svn path=/trunk/; revision=5557
Behdad Esfahbod [Wed, 13 Jun 2007 22:21:06 +0000 (22:21 +0000)]
Whitelist g_atomic_{int,pointer}_[gs]et() as we don't alias them
2007-06-13 Behdad Esfahbod <behdad@gnome.org>
* glib/pltcheck.sh: Whitelist g_atomic_{int,pointer}_[gs]et() as
we don't alias them intentionally.
svn path=/trunk/; revision=5556
Sven Neumann [Wed, 13 Jun 2007 18:58:49 +0000 (18:58 +0000)]
glib/glib-sections.txt document g_slice_copy() and g_slice_dup().
2007-06-13 Sven Neumann <sven@gimp.org>
* glib/glib-sections.txt
* glib/tmpl/memory_slices.sgml: document g_slice_copy() and
g_slice_dup().
svn path=/trunk/; revision=5555
Sven Neumann [Wed, 13 Jun 2007 18:56:51 +0000 (18:56 +0000)]
glib/gslice.[ch] added g_slice_copy() and g_slice_dup() (#442029).
2007-06-13 Sven Neumann <sven@gimp.org>
* glib/gslice.[ch] added g_slice_copy() and g_slice_dup()
(#442029).
* glib/glib.symbols: updated.
svn path=/trunk/; revision=5554
Matthias Clasen [Wed, 13 Jun 2007 16:26:59 +0000 (16:26 +0000)]
Add some docs
svn path=/trunk/; revision=5553
Yair Hershkovitz [Tue, 12 Jun 2007 22:50:06 +0000 (22:50 +0000)]
updated hebrew translation
svn path=/trunk/; revision=5552
Behdad Esfahbod [Tue, 12 Jun 2007 04:58:07 +0000 (04:58 +0000)]
Add more G_GNUC_CONST and G_GNUC_PURE.
2007-06-12 Behdad Esfahbod <behdad@gnome.org>
* glib/gunicode.h: Add more G_GNUC_CONST and G_GNUC_PURE.
svn path=/trunk/; revision=5551
Emmanuele Bassi [Mon, 11 Jun 2007 15:31:29 +0000 (15:31 +0000)]
Remove the cache expiration logic: it makes g_get_user_special_dir() not
2007-06-11 Emmanuele Bassi <ebassi@gnome.org>
* glib/gutils.c (maybe_expire_user_special_dirs),
(g_get_user_special_dir): Remove the cache expiration logic: it
makes g_get_user_special_dir() not thread-safe. Document the fact
that on some platform the value might be changed by the user and
that GLib won't be able to reflect the change.
svn path=/trunk/; revision=5550
Subhransu Behera [Mon, 11 Jun 2007 12:51:08 +0000 (12:51 +0000)]
Updated Translation
svn path=/trunk/; revision=5549
Tor Lillqvist [Mon, 11 Jun 2007 07:59:33 +0000 (07:59 +0000)]
Update doc comments. Mention that it is not recommeded to use the Registry
2007-06-11 Tor Lillqvist <tml@novell.com>
* glib/gwin32.c (g_win32_get_package_installation_directory)
(g_win32_get_package_installation_subdirectory): Update doc
comments. Mention that it is not recommeded to use the Registry
features.
svn path=/trunk/; revision=5547
Daniel Nylander [Sun, 10 Jun 2007 11:54:03 +0000 (11:54 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=5546
Matthias Clasen [Wed, 6 Jun 2007 19:15:00 +0000 (19:15 +0000)]
Fix a thinko
svn path=/trunk/; revision=5545
Tor Lillqvist [Wed, 6 Jun 2007 19:13:45 +0000 (19:13 +0000)]
Add definitions for more CSIDL_* constants in case missing from headers.
2007-06-06 Tor Lillqvist <tml@novell.com>
* glib/gutils.c: Add definitions for more CSIDL_* constants in
case missing from headers. Use CSIDL_PERSONAL instead of
CSIDL_MYDOCUMENTS as CSIDL_MYDOCUMENTS seems to be a new thing
that doesn't work in XP SP2 even.
svn path=/trunk/; revision=5544
Matthias Clasen [Wed, 6 Jun 2007 19:05:53 +0000 (19:05 +0000)]
Fall back to $HOME/Desktop for the DESKTOP directory, like
2007-06-06 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (g_get_user_special_dir): Fall back to
$HOME/Desktop for the DESKTOP directory, like
xdg_user_dir_lookup() does.
svn path=/trunk/; revision=5543
Matthias Clasen [Wed, 6 Jun 2007 04:58:21 +0000 (04:58 +0000)]
Bump version
svn path=/trunk/; revision=5542
Matthias Clasen [Wed, 6 Jun 2007 04:57:11 +0000 (04:57 +0000)]
2.13.4
svn path=/trunk/; revision=5540
Matthias Clasen [Wed, 6 Jun 2007 04:05:42 +0000 (04:05 +0000)]
Updates
svn path=/trunk/; revision=5538
Matthias Clasen [Tue, 5 Jun 2007 19:14:46 +0000 (19:14 +0000)]
Don't assume the string is valid UTF-8, since it may be user data.
2007-06-05 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_is_key_name):
(g_key_file_is_group_name): Don't assume the string is
valid UTF-8, since it may be user data. (#444161, Ben Combee)
svn path=/trunk/; revision=5537
Behdad Esfahbod [Tue, 5 Jun 2007 17:52:04 +0000 (17:52 +0000)]
Add not to g_utf8_get_char_validated() about nul-terminated strings.
2007-06-05 Behdad Esfahbod <behdad@gnome.org>
* glib/gutf8.c: Add not to g_utf8_get_char_validated() about
nul-terminated strings.
svn path=/trunk/; revision=5536
Matthias Clasen [Tue, 5 Jun 2007 17:36:17 +0000 (17:36 +0000)]
Don't deadlock when running with threads. (#444121, Christian Persch)
2007-06-05 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c (g_get_user_special_dir): Don't deadlock
when running with threads. (#444121, Christian Persch)
svn path=/trunk/; revision=5535
Vincent Untz [Tue, 5 Jun 2007 08:44:20 +0000 (08:44 +0000)]
don't replace the usage line with the description for optional parameters,
2007-06-05 Vincent Untz <vuntz@gnome.org>
* glib/goption.c: (g_option_context_get_help): don't replace the usage
line with the description for optional parameters, but append the
description. (#444130)
svn path=/trunk/; revision=5534
Matthias Clasen [Mon, 4 Jun 2007 15:42:44 +0000 (15:42 +0000)]
Bump version
svn path=/trunk/; revision=5533
Matthias Clasen [Mon, 4 Jun 2007 15:40:33 +0000 (15:40 +0000)]
2.13.3
svn path=/trunk/; revision=5531
Matthias Clasen [Mon, 4 Jun 2007 15:16:09 +0000 (15:16 +0000)]
Comment out broken translation
svn path=/trunk/; revision=5530
Matthias Clasen [Mon, 4 Jun 2007 15:02:29 +0000 (15:02 +0000)]
Updates
svn path=/trunk/; revision=5529
Matthias Clasen [Mon, 4 Jun 2007 14:54:49 +0000 (14:54 +0000)]
Add support for a number of special directories, as defined by the
2007-06-04 Matthias Clasen <mclasen@redhat.com>
Add support for a number of special directories, as
defined by the xdg-user-dirs specification. (#432651,
Bastien Nocera, Emmanuele Bassi, Michael Natterer)
* glib/glib.symbols:
* glib/gutils.[hc]: Add the GUserDirectory enum and
g_get_user_special_dir(), with implementations based
on the xdg-user-dirs spec and on native interfaces
for Win32 and Carbon.
* configure.in: Add Carbon checks.
* tests/tetsglib.c: Test g_get_user_special_dir().
svn path=/trunk/; revision=5528
Kjartan Maraas [Mon, 4 Jun 2007 10:55:11 +0000 (10:55 +0000)]
Updated Norwegian bokmål translation.
2007-06-04 Kjartan Maraas <kmaraas@gnome.org>
* nb.po: Updated Norwegian bokmål translation.
svn path=/trunk/; revision=5527
Yevgen Muntyan [Sun, 3 Jun 2007 06:05:23 +0000 (06:05 +0000)]
fixed g_regex_fetch_named* for cases when (?J) is used inside a pattern
2007-06-03 Yevgen Muntyan <muntyan@tamu.edu>
* glib/gregex.c: fixed g_regex_fetch_named* for cases when (?J)
is used inside a pattern (#442265, comment #12).
* tests/regex-test.c: Test it.
svn path=/trunk/; revision=5526
Matthias Clasen [Sun, 3 Jun 2007 05:52:51 +0000 (05:52 +0000)]
Updates
svn path=/trunk/; revision=5525
Yevgen Muntyan [Sun, 3 Jun 2007 05:48:17 +0000 (05:48 +0000)]
New functions: g_regex_ref(), g_regex_unref() which replaces
2007-06-03 Yevgen Muntyan <muntyan@tamu.edu>
* glib/gregex.c:
* glib/gregex.h: New functions: g_regex_ref(), g_regex_unref() which
replaces g_regex_free(); g_match_info_get_regex(), g_match_info_get_string();
g_regex_check_replacement().
Made g_match_info_expand_references() accept NULL; changed GRegexEvalCallback
to take only arguments which are likely to be actualy used.
* docs/reference/glib/glib-sections.txt:
* glib/glib.symbols: Added new functions.
* tests/regex-test.c: Test them.
* docs/reference/glib/tmpl/gregex.sgml: Updated GRegexEvalCallback docs.
svn path=/trunk/; revision=5524
Matthias Clasen [Thu, 31 May 2007 23:23:37 +0000 (23:23 +0000)]
Fix a typo
svn path=/trunk/; revision=5523
Matthias Clasen [Wed, 30 May 2007 15:20:23 +0000 (15:20 +0000)]
Add some hints about xgettext invokation.
* glib/tmpl/i18n.sgml: Add some hints about
xgettext invokation.
svn path=/trunk/; revision=5522
Dan Winship [Wed, 30 May 2007 14:25:34 +0000 (14:25 +0000)]
add defines for desktop file handling. #339225, original patch from
* glib/gkeyfile.h: add defines for desktop file handling. #339225,
original patch from Vincent Untz.
svn path=/trunk/; revision=5521
Cody Russell [Wed, 30 May 2007 02:45:22 +0000 (02:45 +0000)]
Fix a sed script that doesn't correctly detect i586-mingw32-gcc-3.4
2007-05-29 Cody Russell <bratsche@gnome.org>
* configure.in: Fix a sed script that doesn't correctly detect
i586-mingw32-gcc-3.4 compiler, and was causing -Wno-pointer-sign
errors when building with that compiler. (#440896, Yevgen Muntyan)
svn path=/trunk/; revision=5520
Clytie Siddall [Tue, 29 May 2007 13:29:39 +0000 (13:29 +0000)]
2007-05-29 vi.po Updated Vietnamese translation
Clytie Siddall <clytie@riverland.net.au>
svn path=/trunk/; revision=5519
Marco Barisione [Tue, 29 May 2007 09:32:34 +0000 (09:32 +0000)]
Fix g_regex_fetch_named() and g_regex_fetch_named_pos() when
2007-05-29 Marco Barisione <marco@barisione.org>
* glib/gregex.c: Fix g_regex_fetch_named() and
g_regex_fetch_named_pos() when G_REGEX_DUPNAMES is used (#434358,
Yevgen Muntyan and #419376, Marco Barisione, patch by Yevgen Muntyan)
svn path=/trunk/; revision=5518
Matthias Clasen [Sun, 27 May 2007 02:03:14 +0000 (02:03 +0000)]
Fix a typo
svn path=/trunk/; revision=5517
Behdad Esfahbod [Fri, 25 May 2007 17:15:28 +0000 (17:15 +0000)]
Update to Markus Kuhn's updated wcwidth for Unicode 5.0.
2007-05-25 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk):
Update to Markus Kuhn's updated wcwidth for Unicode 5.0.
svn path=/trunk/; revision=5515