Tim Janik [Thu, 1 Dec 2005 16:33:51 +0000 (16:33 +0000)]
use g_slic_* for all object allocations.
Thu Dec 1 12:53:26 2005 Tim Janik <timj@imendio.com>
* gtype.c: use g_slic_* for all object allocations.
Tim Janik [Thu, 1 Dec 2005 16:32:11 +0000 (16:32 +0000)]
export g_hash_table_get_type
Christian Rose [Thu, 1 Dec 2005 10:43:58 +0000 (10:43 +0000)]
Updated Tagalog translation by Eric Pareja <xenos@upm.edu.ph>.
2005-12-01 Christian Rose <menthos@menthos.com>
* tl.po: Updated Tagalog translation by
Eric Pareja <xenos@upm.edu.ph>.
Tor Lillqvist [Thu, 1 Dec 2005 04:32:52 +0000 (04:32 +0000)]
Don't call g_path_skip_root() unless the path is absolute.
2005-12-01 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c (g_stat): Don't call g_path_skip_root() unless
the path is absolute.
Tor Lillqvist [Thu, 1 Dec 2005 04:06:45 +0000 (04:06 +0000)]
g_rename() doc comment update.
Tor Lillqvist [Thu, 1 Dec 2005 04:03:58 +0000 (04:03 +0000)]
In the Win32 implementation, strip trailing slash(es) for non-root
2005-12-01 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c (g_stat): In the Win32 implementation, strip
trailing slash(es) for non-root folders. stat() fails if non-root
folders are specified with trailing slashes. It's too much hassle
to demand that callers strip such slashes themselves, especially
as it is easy to get it wrong and strip the slash of a root
folder.
(g_rename): On NT-based Windows, use MoveFileEx() with
MOVEFILE_REPLACE_EXISTING to better match Unix behaviour.
Matthias Clasen [Wed, 30 Nov 2005 04:54:57 +0000 (04:54 +0000)]
Fix G_STMT_START / G_STMT_END on Solaris. (#321972, Andrew Paprocki)
2005-11-28 Matthias Clasen <mclasen@redhat.com>
Fix G_STMT_START / G_STMT_END on Solaris. (#321972,
Andrew Paprocki)
* configure.in: Check whether do { } while (0) works.
* glib/gmacros.h: Use do { } while (0) for G_STMT_START /
G_STMT_END if it works.
Matthias Clasen [Mon, 28 Nov 2005 20:33:53 +0000 (20:33 +0000)]
Silence compiler warnings.
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* gobjectnotifyqueue.c (g_object_notify_queue_thaw):
* gobject-query.c (main): Silence compiler warnings.
* glib-genmarshal.c (main): Use G_N_ELEMENTS.
Matthias Clasen [Mon, 28 Nov 2005 18:34:16 +0000 (18:34 +0000)]
Silence compiler warnings.
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* gmodule.c (parse_libtool_archive): Silence
compiler warnings.
Matthias Clasen [Mon, 28 Nov 2005 18:31:03 +0000 (18:31 +0000)]
Silence compiler warnings.
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* glib/gthread.c (g_static_rw_lock_wait, g_static_rw_lock_signal):
* glib/gnode.c (g_node_depth_traverse_level):
* glib/gmem.c (g_allocator_new):
* glib/ghash.c (g_hash_table_unref, g_hash_table_destroy)
(g_hash_table_foreach_remove_or_steal): Silence compiler
warnings.
Matthias Clasen [Sun, 27 Nov 2005 20:15:41 +0000 (20:15 +0000)]
Don't read beyond len. (#322520, Christian Persch)
2005-11-27 Matthias Clasen <mclasen@redhat.com>
* glib/gunicollate.c (g_utf8_collate_key_for_filename):
Don't read beyond len. (#322520, Christian Persch)
Matthias Clasen [Sun, 27 Nov 2005 20:09:13 +0000 (20:09 +0000)]
Document GObject API additions
Matthias Clasen [Sun, 27 Nov 2005 20:08:59 +0000 (20:08 +0000)]
Document GObject api additions
Morten Welinder [Fri, 25 Nov 2005 23:20:22 +0000 (23:20 +0000)]
Typo in comment.
Tim Janik [Wed, 23 Nov 2005 17:54:57 +0000 (17:54 +0000)]
access datalist flags via atomic pointer access funcitons, instead of
Wed Nov 23 17:34:01 2005 Tim Janik <timj@imendio.com>
* glib/gdataset.c: access datalist flags via atomic pointer access
funcitons, instead of acquiring the dataset lock. this is faster and
also matches the atomic pointer readouts in gdatalistprivate.h and
direct pointer modifications required by gobject.c.
Tim Janik [Wed, 23 Nov 2005 17:54:41 +0000 (17:54 +0000)]
added floating reference count. g_object_is_floating():
Wed Nov 23 18:01:46 2005 Tim Janik <timj@imendio.com>
* gobject.[hc]: added floating reference count.
g_object_is_floating():
g_object_ref_sink(): new functions to deal with floating references.
g_object_force_floating(): new funciton for object implementations
to set the floating flag.
* gobject.c (g_object_init): make objects initially floating.
Wed Nov 23 17:58:13 2005 Tim Janik <timj@gtk.org>
* gparam.[hc]: added g_param_spec_ref_sink().
Tim Janik [Wed, 23 Nov 2005 12:37:20 +0000 (12:37 +0000)]
streamlined initialization code somewhat, removed GData node cache.
Wed Nov 23 13:35:31 2005 Tim Janik <timj@gtk.org>
* glib/gdataset.c: streamlined initialization code somewhat,
removed GData node cache.
Tim Janik [Wed, 23 Nov 2005 12:37:01 +0000 (12:37 +0000)]
minor cleanups, implemented G_TYPE_HASH_TABLE.
Wed Nov 23 13:36:02 2005 Tim Janik <timj@gtk.org>
* gboxed.[hc]: minor cleanups, implemented G_TYPE_HASH_TABLE.
Matthias Clasen [Wed, 23 Nov 2005 04:29:43 +0000 (04:29 +0000)]
Documentation improvements
Matthias Clasen [Tue, 22 Nov 2005 15:34:09 +0000 (15:34 +0000)]
Avoid double locking in g_intern_string (#322133, Benedikt Meurer)
2005-11-22 Matthias Clasen <mclasen@redhat.com>
Avoid double locking in g_intern_string (#322133,
Benedikt Meurer)
* glib/gdataset.c (g_quark_from_string_internal): New
internal function which factors out common parts of
g_quark_from[_static]_string.
(g_quark_from_string, g_quark_from_static_string):
Use g_quark_from_string_internal.
(g_intern_string, g_intern_static_string): Use
g_quark_from_string_internal, and only take the
lock once.
(g_quark_new): Don't store the strings shifted by -1
in the g_quarks array.
(g_quark_to_string): Adapt to the previous change.
Tim Janik [Tue, 22 Nov 2005 13:16:58 +0000 (13:16 +0000)]
g_hash_table_new_full(): create hash tables with a ref count of 1.
Tue Nov 22 14:04:26 2005 Tim Janik <timj@imendio.com>
* glib/ghash.h:
* glib/ghash.c:
g_hash_table_new_full(): create hash tables with a ref count of 1.
g_hash_table_ref(): atomically ref_count+=1
g_hash_table_unref(): atomically ref_count-=1, destroys hash table
when refcount reaches 0.
g_hash_table_destroy(): just destroy keys and values, unref by 1.
g_hash_table_insert():
g_hash_table_replace(): assert ref_count>0.
* glib/gatomic.h:
* glib/gatomic.c: added 'volatile' qualifier to all atomic pointer and
integer pointers.
Behdad Esfahbod [Mon, 21 Nov 2005 00:50:04 +0000 (00:50 +0000)]
Oops, copy-pasted Matthias's sig line!
2005-11-20 Behdad Esfahbod <behdad@gnome.org>
* glib/guniprop.c (g_unichar_get_mirror_char): Remove unused
variables. (#321984, Andrew Paprocki)
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)