Behdad Esfahbod [Mon, 21 Nov 2005 00:49:00 +0000 (00:49 +0000)]
New entries added.
Matthias Clasen [Mon, 21 Nov 2005 00:47:54 +0000 (00:47 +0000)]
Remove unused variables. (#321984, Andrew Paprocki)
2005-11-18 Matthias Clasen <mclasen@redhat.com>
* glib/guniprop.c (g_unichar_get_mirror_char): Remove unused
variables. (#321984, Andrew Paprocki)
Matthias Clasen [Fri, 18 Nov 2005 14:01:59 +0000 (14:01 +0000)]
Bump version
Matthias Clasen [Fri, 18 Nov 2005 13:58:48 +0000 (13:58 +0000)]
2.9.0
Matthias Clasen [Thu, 17 Nov 2005 21:33:07 +0000 (21:33 +0000)]
Prepare for 2.9.0
Matthias Clasen [Thu, 17 Nov 2005 19:05:59 +0000 (19:05 +0000)]
Updates
2005-11-17 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
* glib/gthread.c (g_thread_foreach): Mark as new api.
* README.in: Updates.
Matthias Clasen [Thu, 17 Nov 2005 17:51:59 +0000 (17:51 +0000)]
Add functions to set a date from a time_t and from a GTimeVal.
2005-11-17 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/gdate.h:
* glib/gdate.c (g_date_set_time_t):
(g_date_set_time_val): Add functions to set a date from
a time_t and from a GTimeVal.
(g_date_set_time): Deprecate. (#314067, Roger Leigh)
Matthias Clasen [Thu, 17 Nov 2005 15:50:31 +0000 (15:50 +0000)]
Unit tests for g_utf8_pointer_to_offset and g_utf8_offset_to_pointer.
2005-11-17 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am:
* tests/utf8-pointer.c: Unit tests for g_utf8_pointer_to_offset
and g_utf8_offset_to_pointer.
* glib/gutf8.c (g_utf8_pointer_to_offset)
(g_utf8_offset_to_pointer): Handle negative offsets, and use
"stutter stepping" for going backwards. (#320638, Larry
Ewing)
Matthias Clasen [Thu, 17 Nov 2005 13:17:22 +0000 (13:17 +0000)]
const correctness fixes, found by Arjan van de Ven and gcc.
2005-11-17 Matthias Clasen <mclasen@redhat.com>
* glib/gbacktrace.c:
* glib/gdate.c:
* glib/gthread.c: const correctness fixes, found
by Arjan van de Ven and gcc.
Behdad Esfahbod [Thu, 17 Nov 2005 03:39:47 +0000 (03:39 +0000)]
Correct typo on mentioning @G_UNICODE_BREAK_UNKNOWN that should be
2005-11-16 Behdad Esfahbod <behdad@gnome.org>
* docs/reference/glib/tmpl/unicode.sgml: Correct typo on mentioning
@G_UNICODE_BREAK_UNKNOWN that should be #G_UNICODE_BREAK_UNKNOWN.
Ales Nyakhaychyk [Wed, 16 Nov 2005 10:53:05 +0000 (10:53 +0000)]
Updated Belarusian Translation
Behdad Esfahbod [Thu, 10 Nov 2005 01:15:11 +0000 (01:15 +0000)]
Use bit hacks instead when checking a general category value against
2005-11-09 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c: Use bit hacks instead when checking a general
category value against multiple values.
* glib/gutf8.c: Change ISO10646 to Unicode in docs.
Simos Xenitellis [Thu, 10 Nov 2005 00:29:41 +0000 (00:29 +0000)]
Added Tatar translation by Albert Fazlí
Matthias Clasen [Tue, 8 Nov 2005 14:30:29 +0000 (14:30 +0000)]
Improve GOnce docs
Tor Lillqvist [Tue, 8 Nov 2005 08:46:57 +0000 (08:46 +0000)]
Don't call g_warning(). (#320688) Instead set error and return failure.
2005-11-05 Tor Lillqvist <tml@novell.com>
* glib/giowin32.c (g_io_win32_set_flags): Don't call g_warning().
(#320688) Instead set error and return failure.
Matthias Clasen [Mon, 7 Nov 2005 20:15:48 +0000 (20:15 +0000)]
Don't call cb_funcs->unref while holding the context lock. (#320886, Andy
2005-11-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c (g_main_dispatch): Don't call cb_funcs->unref
while holding the context lock. (#320886, Andy Wingo)
Billy Biggs [Mon, 7 Nov 2005 16:29:19 +0000 (16:29 +0000)]
Add a missing reference to libglib in the LDADD for this test.
2005-11-07 Billy Biggs <vektor@dumbterm.net>
* tests/refcount/Makefile.am: Add a missing reference to libglib
in the LDADD for this test.
Matthias Clasen [Mon, 7 Nov 2005 15:36:21 +0000 (15:36 +0000)]
We need to set n_preallocs to a nonzero value, otherwise GTK+ 2.8 breaks
2005-11-07 Matthias Clasen <mclasen@redhat.com>
* glib/gmem.c (g_allocator_new): We need to set n_preallocs to a
nonzero value, otherwise GTK+ 2.8 breaks when compiled against
GLib 2.9. (#320755, Luca Ferretti)
Matthias Clasen [Sat, 5 Nov 2005 03:49:28 +0000 (03:49 +0000)]
Forgotten file
Matthias Clasen [Fri, 4 Nov 2005 22:27:04 +0000 (22:27 +0000)]
Apply a patch from Behdad Esfahbod to use a faster lookup table for
2005-11-04 Matthias Clasen <mclasen@redhat.com>
* glib/Makefile.am: Apply a patch from Behdad Esfahbod to
use a faster lookup table for g_unichar_get_mirror_char().
* glib/gmirroringtable.h: The new table.
* glib/gunichartables.h: Remove bidi_mirroring_table.
* glib/gen-unicode-tables.pl: Don't generate the mirroring
table.
* glib/glib-mirroring-tab/*: Sources for the program
which generated gmirroringtable.h.
* glib/glist.c: Avoid some code duplication.
Matthias Clasen [Fri, 4 Nov 2005 22:26:16 +0000 (22:26 +0000)]
Add a generator for a mirroring table
Matthias Clasen [Fri, 4 Nov 2005 20:33:34 +0000 (20:33 +0000)]
Expand the docs. (#320466, Steffen Gutmann)
2005-11-04 Matthias Clasen <mclasen@redhat.com>
* glib/gmain.c (g_child_watch_source_new): Expand
the docs. (#320466, Steffen Gutmann)
Matthias Clasen [Fri, 4 Nov 2005 19:17:42 +0000 (19:17 +0000)]
Include gdataset.h. (#320322)
2005-11-04 Matthias Clasen <mclasen@redhat.com>
* glib/gscanner.h: Include gdataset.h. (#320322)
Matthias Clasen [Fri, 4 Nov 2005 19:05:30 +0000 (19:05 +0000)]
add new GDebugFlag for fatal_criticals handle G_DEBUG=fatal_criticals, to
2005-11-04 Matthias Clasen <mclasen@redhat.com>
* glib/gdebug.h: add new GDebugFlag for fatal_criticals
* glib/gmessages.c: (_g_debug_init): handle G_DEBUG=fatal_criticals,
to help find critical warnings in applications. (#320017,
Vincent Untz)
Miloslav Trmac [Wed, 2 Nov 2005 22:53:30 +0000 (22:53 +0000)]
Updated Czech translation.
2005-11-02 Miloslav Trmac <mitr@volny.cz>
* cs.po: Updated Czech translation.
Tor Lillqvist [Tue, 1 Nov 2005 23:04:09 +0000 (23:04 +0000)]
Remove large amount of trailing whitespace from one line. Remove #ifdef
2005-11-02 Tor Lillqvist <tml@novell.com>
* glib/glib.symbols: Remove large amount of trailing whitespace
from one line. Remove #ifdef G_UNDEFINED from around
g_hash_table_new and g_hash_table_new_full symbols, what was the
purpose of that? Add the g_slice functions.
Vincent van Adrighem [Tue, 1 Nov 2005 20:16:05 +0000 (20:16 +0000)]
Translation updated by Tino Meinen.
2005-11-01 Vincent van Adrighem <adrighem@gnome.org>
* nl.po: Translation updated by Tino Meinen.
Tim Janik [Tue, 1 Nov 2005 18:10:31 +0000 (18:10 +0000)]
prepared deprecation of GMemChunk and GAllocator. added g_slice_*() API to
Tue Nov 1 16:24:20 2005 Tim Janik <timj@imendio.com>
* glib/gmem.[hc]: prepared deprecation of GMemChunk and GAllocator.
added g_slice_*() API to allocate and cache small bits of memory.
an actuall allocator implementation for g_slice_*() is still pending.
* glib/gthread.[hc]: changes from a patch by Matthias Clasen.
changed GRealThread list to use in-structure *next; fields instead
of GSList, in order for thread iteration to not depenend on g_slice_*()
indirectly.
_g_thread_mem_private_get():
_g_thread_mem_private_set(): added accessors for private memory,
needed because the ordinary GPrivate implementation relies on GArray
and GSList and therefore indirectly on working g_slice_*() allocations.
* glib/gthread.[hc]:
g_thread_foreach(): new public API function to loop over all existing threads.
* glib/gdataset.c:
* glib/gstring.c:
* glib/gcache.c:
* glib/garray.c:
* glib/gqueue.c:
* glib/gslist.c:
* glib/glist.c:
* glib/ghash.c:
* glib/gtree.c:
* glib/ghook.c:
* glib/gmain.c:
* glib/gnode.c:
removed GAllocator and free list usages and accompanying locks.
use g_slice_*() API to allocate and cache small bits of memory.
* glib/ghook.h: removed GMemChunk field from public API.
* glib/gslist.h:
* glib/glist.h: deprecate allocator API, provide _free1() for consistency.
* glib/gnode.h: deprecate allocator API.
* glib/gmain.c: reordered GPollRec fields so g_slice_free_chain() can
be used for poll rec lists.
* glib/grel.c: removed mem chunk usage, and allocated tuples via g_slice_*().
g_relation_destroy(): free all tuples from the all_tuples hash table,
this effectively maintains the life time track keeping of tuples.
g_relation_delete_tuple(): free tuples which are removed from the
all_tuples hash table. this fixes a temporary leak that was present
in the memchunk code until the destruction of the relation.
Matthias Clasen [Sun, 30 Oct 2005 03:05:21 +0000 (03:05 +0000)]
Add some tests for conversions between UTF-8, UCS-4 and UTF-16.
2005-10-29 Matthias Clasen <mclasen@redhat.com>
* tests/convert-test.c: Add some tests for conversions between
UTF-8, UCS-4 and UTF-16.
* glib/gutf8.c (g_utf8_to_ucs4, g_utf8_to_utf16): Fix handling
of len == -1, noticed by Morten Welinder.
Erdal Ronahi [Thu, 27 Oct 2005 18:36:09 +0000 (18:36 +0000)]
Added Kurdish translation
Matthias Clasen [Thu, 27 Oct 2005 02:54:30 +0000 (02:54 +0000)]
Document g_value_set_instance(), (#319885, Milosz Derezynski)
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* gobject/gobject-sections.txt:
* gobject/tmpl/generic_values.sgml: Document g_value_set_instance(),
(#319885, Milosz Derezynski)
Takeshi AIHANA [Wed, 26 Oct 2005 14:21:31 +0000 (14:21 +0000)]
Updated Japanese translation and Fixed typos reported by
2005-10-26 Takeshi AIHANA <aihana@gnome.gr.jp>
* ja.po: Updated Japanese translation and Fixed typos reported by kano@na.rim.or.jp.
Matthias Clasen [Wed, 26 Oct 2005 13:22:36 +0000 (13:22 +0000)]
Add a footnote about surrogate pairs. (#317683, Behdad Esfahbod)
2005-10-26 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/unicode.sgml: Add a footnote about surrogate
pairs. (#317683, Behdad Esfahbod)
Matthias Clasen [Wed, 26 Oct 2005 13:10:55 +0000 (13:10 +0000)]
Fix 319806
Funda Wang [Tue, 25 Oct 2005 13:26:59 +0000 (13:26 +0000)]
Updated Simplified Chinese translation
Runa Bhattacharjee [Thu, 20 Oct 2005 05:29:06 +0000 (05:29 +0000)]
Added Entry for Bengali (bn) Translation Updation:20/10
Runa Bhattacharjee [Thu, 20 Oct 2005 05:28:18 +0000 (05:28 +0000)]
Updated Bengali(bn) Translation:20/10
Ignacio Casal Quinteiro [Wed, 19 Oct 2005 22:35:33 +0000 (22:35 +0000)]
*** empty log message ***
Manish Singh [Wed, 19 Oct 2005 18:37:48 +0000 (18:37 +0000)]
Use AC_CHECK_FUNCS for _NSGetEnviron, to get the config.h symbol
2005-10-19 Manish Singh <yosh@gimp.org>
* configure.in: Use AC_CHECK_FUNCS for _NSGetEnviron, to get the
config.h symbol automatically. Fixes bug #313731.
Tor Lillqvist [Wed, 19 Oct 2005 15:38:44 +0000 (15:38 +0000)]
Return a g_strdup()ed copy of the value stored in the hash table, so that
2005-10-19 Tor Lillqvist <tml@novell.com>
* glib/gwin32.c (g_win32_get_package_installation_directory):
Return a g_strdup()ed copy of the value stored in the hash table,
so that it can be g_free()d without leaving a dangling pointer in
the hash table. (#319232)
Priit Laes [Mon, 17 Oct 2005 12:34:36 +0000 (12:34 +0000)]
Translation updated by Ivar Smolin.
2005-10-17 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated by Ivar Smolin.
Chao-Hsiung Liao [Mon, 17 Oct 2005 06:29:04 +0000 (06:29 +0000)]
Updated Traditional Chinese translation.
2005-10-17 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
* zh_TW.po: Updated Traditional Chinese translation.
Marcel Telka [Sun, 16 Oct 2005 17:31:43 +0000 (17:31 +0000)]
Updated Slovak translation.
2005-10-16 Marcel Telka <marcel@telka.sk>
* sk.po: Updated Slovak translation.
Matthias Clasen [Fri, 7 Oct 2005 03:04:03 +0000 (03:04 +0000)]
Fix sorting of 0 sequences in filenames
Matthias Clasen [Wed, 5 Oct 2005 20:45:50 +0000 (20:45 +0000)]
Document gmodule-no-export-2.0
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* glib/compiling.sgml: Document gmodule-no-export-2.0
Matthias Clasen [Wed, 5 Oct 2005 20:11:25 +0000 (20:11 +0000)]
Doc addition
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* glib/gmarkup.c (g_markup_escape_text): Doc addition
Matthias Clasen [Wed, 5 Oct 2005 17:37:46 +0000 (17:37 +0000)]
Add Collation tests.
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Add Collation tests.
* tests/collate/*: Inputs and expected outputs for collation tests.
* tests/run-collate-tests.sh: Script to run collation tests.
* tests/unicode-collate.c (main): Rework slightly to make
it usable in unit tests. Also test g_utf8_collate_key_for_filename().
Matthias Clasen [Mon, 3 Oct 2005 15:46:15 +0000 (15:46 +0000)]
Really fix #314890.
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Really fix #314890.
Behdad Esfahbod [Sat, 1 Oct 2005 12:34:21 +0000 (12:34 +0000)]
Updated to Unicode 4.1. There are five new GUnicodeBreakType types. That
2005-10-01 Behdad Esfahbod <behdad@gnome.org>
* docs/reference/glib/tmpl/unicode.sgml:
* glib/gen-unicode-tables.pl:
* glib/gunibreak.h:
* glib/gunichartables.h:
* glib/gunicode.h:
* tests/casefold.txt:
* tests/casemap.txt: Updated to Unicode 4.1. There are five new
GUnicodeBreakType types. That may break some applications, like
Pango <= 1.10.
Davyd Madeley [Sat, 1 Oct 2005 02:48:35 +0000 (02:48 +0000)]
Minor documentation improvements for g_strchug, g_strchomp and g_strstrip.
2005-10-01 Davyd Madeley <davyd@fugro-fsi.com.au>
* glib/tmpl/string_utils.sgml: Minor documentation improvements for g_strchug, g_strchomp and g_strstrip. Brought forward from glib-2-8.
Adam Weinberger [Fri, 30 Sep 2005 20:30:33 +0000 (20:30 +0000)]
Updated Canadian English translation.
2005-09-30 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Michael Natterer [Tue, 27 Sep 2005 23:19:16 +0000 (23:19 +0000)]
revert last change, it breaks all users of G_IMPLEMENT_INTERFACE() inside
2005-09-28 Michael Natterer <mitch@gimp.org>
* gtype.h (G_IMPLEMENT_INTERFACE): revert last change, it breaks
all users of G_IMPLEMENT_INTERFACE() inside
G_DEFINE_TYPE_WITH_CODE(), since apparently GCC doesn't like
commas enclosed in {}, not (), in nested macro calls.
David Odin [Tue, 27 Sep 2005 19:01:53 +0000 (19:01 +0000)]
Moved the ChangeLog entry to the right ChangeLog
David Odin [Mon, 26 Sep 2005 18:35:32 +0000 (18:35 +0000)]
initialize all the fields of GInterfaceInfo in the G_IMPLEMENT_INTERFACE
* gobject/gtype.h: initialize all the fields of GInterfaceInfo in the
G_IMPLEMENT_INTERFACE macro, to shut up a warning when compiling at -W
Matthias Clasen [Mon, 26 Sep 2005 15:19:24 +0000 (15:19 +0000)]
Don't hang on '{' following a trigraph comment in the same line. (#314890,
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* glib-mkenums.in: Don't hang on '{' following a trigraph comment
in the same line. (#314890, Mathias Hasselmann)
Matthias Clasen [Mon, 26 Sep 2005 14:44:01 +0000 (14:44 +0000)]
Add details to the docs. (#314393, Matthew F. Barnes)
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* glib/gstrfuncs.c (g_ascii_strtoull): Add details to the
docs. (#314393, Matthew F. Barnes)
Matthias Clasen [Mon, 26 Sep 2005 14:33:00 +0000 (14:33 +0000)]
Remove g_snprintf() and g_vsnprintf(), since they are already declared in
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* glib/gprintf.h: Remove g_snprintf() and g_vsnprintf(), since
they are already declared in glib.h. This doesn't break documented
use of gprintf.h, but should probably be pointed out in the
release notes for 2.10. (#314232, Behdad Esfahbod)
Martin Willemoes Hansen [Mon, 26 Sep 2005 08:42:09 +0000 (08:42 +0000)]
Updated Danish translation.
* da.po: Updated Danish translation.
Christian Rose [Sun, 25 Sep 2005 10:09:04 +0000 (10:09 +0000)]
Updated Swedish translation.
2005-09-25 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation.
Tim Janik [Thu, 22 Sep 2005 10:48:04 +0000 (10:48 +0000)]
fix pspec->name assignment which needs to be strdup()ed for non
Thu Sep 22 12:42:12 2005 Tim Janik <timj@gtk.org>
* gparam.c (g_param_spec_internal): fix pspec->name assignment which
needs to be strdup()ed for non G_PARAM_STATIC_NAME pspecs. this fixes
recently introduced crashes during plugin unloading.
also, ensure that static pspec names are canonicalized.
* gsignal.h: reverted last change from matthias, we don't guarantee
that type ids aren't mangled with G_SIGNAL_TYPE_STATIC_SCOPE anywhere.
Matthias Clasen [Tue, 20 Sep 2005 14:28:32 +0000 (14:28 +0000)]
Remove the misleading comment about G_SIGNAL_TYPE_STATIC_SCOPE, since we
2005-09-20 Matthias Clasen <mclasen@redhat.com>
* gsignal.h (struct _GSignalQuery): Remove the misleading comment
about G_SIGNAL_TYPE_STATIC_SCOPE, since we don't allow that
on return types.
Tim Janik [Tue, 20 Sep 2005 11:20:23 +0000 (11:20 +0000)]
applied significant recursion complexity optimization, based on a patch
Tue Sep 20 13:16:04 2005 Tim Janik <timj@imendio.com>
* glib/gpattern.c (g_pattern_ph_match): applied significant recursion
complexity optimization, based on a patch from Matthias Clasen.
* tests/patterntest.c: more tests, mostly from matthias.
Matthias Clasen [Tue, 20 Sep 2005 05:50:24 +0000 (05:50 +0000)]
Doc fixes
Tim Janik [Mon, 19 Sep 2005 15:27:17 +0000 (15:27 +0000)]
applied a patch from matthias which checks on the upper bound of
Mon Sep 19 17:23:23 2005 Tim Janik <timj@imendio.com>
* glib/gpattern.c: applied a patch from matthias which checks on the
upper bound of GPatternSpec length to optimize matches.
cosmetic fixups.
* tests/patterntest.c: added more match cases.
Tor Lillqvist [Thu, 15 Sep 2005 23:41:25 +0000 (23:41 +0000)]
Add warning to doc comment that these functions should not be used on
2005-09-16 Tor Lillqvist <tml@novell.com>
* glib/gstrfuncs.c (g_ascii_strcasecmp, g_ascii_strncasecmp): Add
warning to doc comment that these functions should not be used on
encodings like CP932.
Matthias Clasen [Wed, 14 Sep 2005 18:12:52 +0000 (18:12 +0000)]
Add bug ref
Matthias Clasen [Wed, 14 Sep 2005 18:04:53 +0000 (18:04 +0000)]
Add a test for grup names of length 1.
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* tests/keyfile-test.c: Add a test for grup names of length 1.
* glib/gkeyfile.c (g_key_file_line_is_group): Accept group names
of length 1. (#316309)
Matthias Clasen [Mon, 12 Sep 2005 18:23:43 +0000 (18:23 +0000)]
Clarify docs.
2005-09-12 Matthias Clasen <mclasen@redhat.com>
* glib/gmarkup.c (g_markup_escape_text): Clarify docs.
Sebastian Wilhelmi [Sun, 11 Sep 2005 16:48:38 +0000 (16:48 +0000)]
Link the the refcount tests to the system thread library $(G_THREAD_LIBS).
2005-09-11 Sebastian Wilhelmi <seppi@seppi.de>
* tests/refcount/Makefile.am (INCLUDES): Link the the refcount
tests to the system thread library $(G_THREAD_LIBS). Fixes #313744
and #314217.
Kjartan Maraas [Sun, 11 Sep 2005 15:20:52 +0000 (15:20 +0000)]
Remove some dead code. Closes bug #315278.
2005-09-11 Kjartan Maraas <kmaraas@gnome.org>
* glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check),
(child_watch_helper_thread): Remove some dead code. Closes
bug #315278.
Matthias Clasen [Sat, 10 Sep 2005 04:01:03 +0000 (04:01 +0000)]
Move a few strings from .data to .rodata.
2005-09-10 Matthias Clasen <mclasen@redhat.com>
* gtype.c (INVALID_RECURSION, check_type_name_I): Move a few strings
from .data to .rodata.
Kjartan Maraas [Thu, 8 Sep 2005 06:35:44 +0000 (06:35 +0000)]
Remove some unused code. Same here And here Mark some functions static.
2005-09-08 Kjartan Maraas <kmaraas@gnome.org>
* gclosure.c: (g_closure_set_meta_marshal): Remove some unused
code.
* gsignal.c: (g_signal_emitv): Same here
* gtype.c: (g_type_register_fundamental): And here
* testgobject.c: Mark some functions static.
Tor Lillqvist [Wed, 7 Sep 2005 10:10:49 +0000 (10:10 +0000)]
Create also a console version of the gspawn-win32-helper program,
2005-09-07 Tor Lillqvist <tml@novell.com>
* glib/Makefile.am: Create also a console version of the
gspawn-win32-helper program, gspawn-win32-helper-console.exe.
It's otherwise identical to gspawn-win32-helper.exe, except marked
as a console application (linked without the -mwindows option).
* glib/gspawn-win32.c (do_spawn_directly, do_spawn_with_pipes):
Drop the dont_wait parameter. Its truth value correlated 100% with
the NULLness of the exit_status parameter anyway, so it's enough
to check whether exit_status is NULL. Invert the sense of the
dont_return_handle parameter and rename it to do_return_handle, to
make the code easier to read by avoiding double negations.
(g_spawn_sync_utf8, g_spawn_async_with_pipes_utf8): Modify calls
to do_spawn_with_pipes() accordingly.
(do_spawn_with_pipes): If we have a console, use the console
version of the helper program, otherwise use the GUI one. This
avoids extra console windows opening up in some situations. (In
case a console application uses the GUI gspawn-win32-helper.exe to
spawn another console application we would get a separate console
for the spawned console application).
* glib-zip.in: Distribute also gspawn-win32-helper-console.exe.
Matthias Clasen [Tue, 6 Sep 2005 16:33:28 +0000 (16:33 +0000)]
Tell xgettext about all the printf-like functions we use.
2005-09-06 Matthias Clasen <mclasen@redhat.com>
* Makefile.in.in: Tell xgettext about all the
printf-like functions we use.
Matthias Clasen [Mon, 5 Sep 2005 19:23:32 +0000 (19:23 +0000)]
Make the name field const. (g_signal_newv): Don't keep an unnecessary
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* gsignal.c (struct _SignalNode): Make the name field const.
(g_signal_newv): Don't keep an unnecessary extra copy of the
signal name around, and don't forget to free the name if
an existing node is reused.
Matthias Clasen [Mon, 5 Sep 2005 18:20:24 +0000 (18:20 +0000)]
Report an error if the file is too large. (#315275, Kjartan Maraas)
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* glib/gmappedfile.c (g_mapped_file_new): Report an error
if the file is too large. (#315275, Kjartan Maraas)
Inaki Larranaga [Mon, 5 Sep 2005 18:07:52 +0000 (18:07 +0000)]
Added Basque translation.
2005-09-05 Inaki Larranaga <dooteo@euskalgnu.org>
* eu.po: Added Basque translation.
Matthias Clasen [Mon, 5 Sep 2005 17:55:11 +0000 (17:55 +0000)]
The return value of read() is signed. (#315273, Kjartan Maraas)
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c (g_key_file_load_from_fd): The return value
of read() is signed. (#315273, Kjartan Maraas)
Priit Laes [Sun, 4 Sep 2005 20:31:46 +0000 (20:31 +0000)]
Translation updated by Ivar Smolin.
2005-09-04 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated by Ivar Smolin.
Chao-Hsiung Liao [Sat, 3 Sep 2005 05:48:01 +0000 (05:48 +0000)]
Updated Traditional Chinese translation.
2005-09-03 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
* zh_TW.po: Updated Traditional Chinese translation.
Christophe Merlet [Fri, 2 Sep 2005 08:15:31 +0000 (08:15 +0000)]
Updated French translation.
Priit Laes [Thu, 1 Sep 2005 18:33:56 +0000 (18:33 +0000)]
Translation updated by Ivar Smolin.
2005-09-01 Priit Laes <plaes@cvs.gnome.org>
* et.po: Translation updated by Ivar Smolin.
Raphael Higino [Thu, 1 Sep 2005 14:32:17 +0000 (14:32 +0000)]
Updated pt_BR translation
Matthias Clasen [Thu, 1 Sep 2005 13:59:05 +0000 (13:59 +0000)]
Don't forget to free the tmp string
Clytie Siddall [Thu, 1 Sep 2005 05:45:02 +0000 (05:45 +0000)]
#LOCALTIME Clytie Siddall <clyties@cvs.gnome.org>
* vi.po: Updated Vietnamese translation.
Tor Lillqvist [Wed, 31 Aug 2005 21:02:47 +0000 (21:02 +0000)]
Wrapping atexit() is a bad idea on Windows, where the EXE and each DLL
2005-08-31 Tor Lillqvist <tml@novell.com>
* glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
the EXE and each DLL have their own atexit function chains.
#define g_atexit as atexit instead. This means it has a
better chance of doing what the caller wants. For instance,
gtkhtml calls g_atexit() registering a function in gtkhtml
itself. This caused a crash when g_atexit() was implemented as a
function in the GLib DLL. The gtkhtml DLL was already unloaded by
the time the GLib DLL got unloaded.
* glib/gutils.c: #undef the #define mentioned above, to also get a
real g_atexit() into the DLL for backward compatibility. Document
the Windows behaviour of g_atexit(), and document the varying ways
atexit() can behave in the context of dynamically loaded modules
on Unix.
Mugurel Tudor [Wed, 31 Aug 2005 21:00:11 +0000 (21:00 +0000)]
Updated Romanian translation by Misu Moldovan <dumol@gnome.ro>
2005-08-31 Mugurel Tudor <mugurelu@gnome.ro>
* ro.po: Updated Romanian translation
by Misu Moldovan <dumol@gnome.ro>
Matthias Clasen [Wed, 31 Aug 2005 19:42:51 +0000 (19:42 +0000)]
Intern the signal name.
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gobject.c (g_object_do_class_init): Intern the signal name.
Matthias Clasen [Wed, 31 Aug 2005 19:13:26 +0000 (19:13 +0000)]
Intern the name here, since we need the quark anyway when sending change
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gparam.c (g_param_spec_internal): Intern the name here,
since we need the quark anyway when sending change notification.
Matthias Clasen [Wed, 31 Aug 2005 17:56:49 +0000 (17:56 +0000)]
More string interning
Matthias Clasen [Wed, 31 Aug 2005 14:49:20 +0000 (14:49 +0000)]
Intern type name before registering the type.
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gtype.h (G_DEFINE_TYPE_EXTENDED): Intern type name
before registering the type.
Matthias Clasen [Wed, 31 Aug 2005 14:38:18 +0000 (14:38 +0000)]
Intern type names before registering the type to avoid unnecessary copies.
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* gvaluetypes.c (g_value_types_init):
* gtypeplugin.c (g_type_plugin_get_type):
* gtypemodule.c (g_type_module_get_type):
* gparam.c (g_param_type_init):
* gobject.c (g_object_type_init):
* genums.c (g_enum_types_init):
* gboxed.c (g_boxed_type_init): Intern type names
before registering the type to avoid unnecessary
copies.
Matthias Clasen [Wed, 31 Aug 2005 14:25:45 +0000 (14:25 +0000)]
Add functions to intern strings.
2005-08-31 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/gquark.h:
* glib/gdataset.c: Add functions to intern strings.
Mohammad DAMT [Tue, 30 Aug 2005 19:42:01 +0000 (19:42 +0000)]
Updated Indonesian translation.
2005-08-30 Mohammad DAMT <mdamt@gnome.org>
* id.po: Updated Indonesian translation.
Matthias Clasen [Tue, 30 Aug 2005 14:19:56 +0000 (14:19 +0000)]
Enhance sort() documentation. (#314839, Behdad Esfahbod)
2005-08-30 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/arrays.sgml:
* glib/tmpl/arrays_pointer.sgml:
* glib/tmpl/arrays_byte.sgml: Enhance sort() documentation.
(#314839, Behdad Esfahbod)
Clytie Siddall [Mon, 29 Aug 2005 03:33:56 +0000 (03:33 +0000)]
vi.po: Updated Vietnamese translation.CVS: ----------------------------------------------------------------------
Francisco Javier F. Serrador [Sun, 28 Aug 2005 17:23:28 +0000 (17:23 +0000)]
Updated Spanish translation
2005-08-28 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation
Tomasz Kłoczko [Sun, 28 Aug 2005 15:49:12 +0000 (15:49 +0000)]
kill fuzzy.
Ivan Stojmirov [Sun, 28 Aug 2005 14:57:45 +0000 (14:57 +0000)]
Updated mk translation
Maxim Dziumanenko [Sun, 28 Aug 2005 14:05:31 +0000 (14:05 +0000)]
Updated Ukrainian translation.
2005-08-28 Maxim Dziumanenko <mvd@mylinux.ua>
* Updated Ukrainian translation.