Matthias Clasen [Mon, 5 Dec 2005 18:01:51 +0000 (18:01 +0000)]
Use G_FLAGS_CLASS_TYPE. (#323273, Kalle Vahlman)
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* genums.h (G_FLAGS_CLASS_TYPE_NAME): Use G_FLAGS_CLASS_TYPE.
(#323273, Kalle Vahlman)
Matthias Clasen [Mon, 5 Dec 2005 16:39:34 +0000 (16:39 +0000)]
broken commit
Matthias Clasen [Mon, 5 Dec 2005 16:35:38 +0000 (16:35 +0000)]
Set MALLOC_CHECK_ and MALLOC_PERTURB_
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am (TESTS_ENVIRONMENT):
* tests/gobject/Makefile.am (TESTS_ENVIRONMENT): Set
MALLOC_CHECK_ and MALLOC_PERTURB_
* tests/run-collate-tests.sh: Run the collation tests explicitly
in en_US locale. (#320463)
Matthias Clasen [Mon, 5 Dec 2005 16:04:28 +0000 (16:04 +0000)]
Updates
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* glib/glib-sections.txt: Updates
* glib/tmpl/memory_slices.sgml: Fix a small formatting
problem.
Matthias Clasen [Mon, 5 Dec 2005 15:54:58 +0000 (15:54 +0000)]
fix a formatting problem
Matthias Clasen [Mon, 5 Dec 2005 15:54:44 +0000 (15:54 +0000)]
Deprecate mem chunks
Matthias Clasen [Mon, 5 Dec 2005 15:38:54 +0000 (15:38 +0000)]
Add versioned deprecation information
Martyn James Russell [Mon, 5 Dec 2005 15:08:45 +0000 (15:08 +0000)]
- Added support for sorting async queues by with _push_sorted(),
* docs/reference/glib/glib-sections.txt:
* glib/gasyncqueue.[ch]:
- Added support for sorting async queues by with _push_sorted(),
_push_sorted_unlocked(), _sort() and _sort_unlocked() (#323047).
* tests/Makefile.am:
* tests/asyncqueue-test.c:
- Added test case for gasyncqueue.c
Tim Janik [Mon, 5 Dec 2005 15:01:27 +0000 (15:01 +0000)]
implement chain walking for arbitrary ->next pointer offsets in
Mon Dec 5 15:53:20 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: implement chain walking for arbitrary ->next pointer
offsets in g_slice_free_chain_with_offset() based on a patch by behdad
in bug 323178. moved time consuming logic from g_slice_free() out of
the inner loop, so g_slice_free_chain_with_offset() provides a real
performance benefit over g_slice_free1() now.
* glib/gslice.h: renamed g_slice_free_chain() to
g_slice_free_chain_with_offset(). implemented g_slice_free_chain() as
a type-safe macro as suggested in bug 323178.
simplified the macro implementation of g_slice_free() and implemented
it in a type safe manner for all compliers as suggested by Morten
Welinder <mortenw@gnome.org>.
* glib/gmain.c:
* glib/glist.c:
* glib/gslist.c:
* glib/glib.symbols: s/g_slice_free_chain/g_slice_free_chain_with_offset/
Matthias Clasen [Mon, 5 Dec 2005 13:50:39 +0000 (13:50 +0000)]
Add some docs.
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* glib/gasyncqueue.c: Add some docs.
Matthias Clasen [Mon, 5 Dec 2005 13:37:55 +0000 (13:37 +0000)]
Fix compiler warnings.
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* tests/libmoduletestplugin_a.c: Fix compiler warnings.
* glib/gatomic.c: In the ia64 implementation, use
__sync builtin without _si or _di suffix. (#321229,
Stanislav Brabec, patch by Andreas Schwab)
Matthias Clasen [Mon, 5 Dec 2005 06:01:10 +0000 (06:01 +0000)]
Updates
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/generic_values.sgml:
* glib/tmpl/trees-nary.sgml:
* glib/tmpl/linked_lists_double.sgml:
* glib/tmpl/linked_lists_single.sgml:
* glib/tmpl/memory_chunks.sgml:
* glib/tmpl/allocators.sgml:
* glib/tmpl/macros_misc.sgml: Updates
* glib/Makefile.am: Ignore gmirroringtable.h
Matthias Clasen [Mon, 5 Dec 2005 05:03:11 +0000 (05:03 +0000)]
Update for latest header additions
Behdad Esfahbod [Mon, 5 Dec 2005 00:45:55 +0000 (00:45 +0000)]
Remove comma at the end of enum.
2005-12-04 Behdad Esfahbod <behdad@gnome.org>
* glib/gslice.h: Remove comma at the end of enum.
Matthias Clasen [Sun, 4 Dec 2005 07:00:50 +0000 (07:00 +0000)]
Handle multiple user names with the same UID better. (#319535, Laszlo
2005-12-04 Matthias Clasen <mclasen@redhat.com>
Handle multiple user names with the same UID better.
(#319535, Laszlo Peter)
* glib/gutils.c (g_get_any_init_do): When determining user
data, first look up $LOGNAME. If the UID doesn't match
getuid(), fall back to the current behaviour of looking
up the user data based on getuid().
Matthias Clasen [Sun, 4 Dec 2005 06:41:58 +0000 (06:41 +0000)]
Add a macro to make gcc warn if a function result is ignored. (#145466,
2005-12-04 Matthias Clasen <mclasen@redhat.com>
* glib/gmacros.h (G_GNUC_WARN_UNUSED_RESULT): Add a macro
to make gcc warn if a function result is ignored. (#145466,
Arjan van de Ven, Alex Larsson)
* glib/gmem.h: Add the new attribute to g_realloc and
g_try_realloc.
Matthias Clasen [Sat, 3 Dec 2005 06:53:31 +0000 (06:53 +0000)]
Deprecate g_cache_value_foreach. (#322956, Nicolas Caniart)
2005-12-03 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols:
* glib/gcache.h: Deprecate g_cache_value_foreach. (#322956,
Nicolas Caniart)
Matthias Clasen [Sat, 3 Dec 2005 06:44:02 +0000 (06:44 +0000)]
Make mapping of empty files work. (#321530)
2005-12-03 Matthias Clasen <mclasen@redhat.com>
* glib/gmappedfile.c: Make mapping of empty files
work. (#321530)
Matthias Clasen [Sat, 3 Dec 2005 06:36:01 +0000 (06:36 +0000)]
Add more api
Matthias Clasen [Sat, 3 Dec 2005 06:29:12 +0000 (06:29 +0000)]
Document the slice allocator
Matthias Clasen [Sat, 3 Dec 2005 06:10:52 +0000 (06:10 +0000)]
Don't fork a new process just to fix the permissions of the created temp
2005-12-03 Matthias Clasen <mclasen@redhat.com>
* glib/gfileutils.c: Don't fork a new process just to
fix the permissions of the created temp file. (#321318,
Alexis S. L. Carvalho)
Matthias Clasen [Fri, 2 Dec 2005 21:40:43 +0000 (21:40 +0000)]
Add a note about Solaris threads.
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* README.in: Add a note about Solaris threads.
Matthias Clasen [Fri, 2 Dec 2005 21:37:25 +0000 (21:37 +0000)]
Remove support for Solaris threads. (#136971, Sebastian Wilhelmi, patch by
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/gspawn.c:
* configure.in: Remove support for Solaris threads.
(#136971, Sebastian Wilhelmi, patch by Andrew Paprocki)
Matthias Clasen [Fri, 2 Dec 2005 21:26:23 +0000 (21:26 +0000)]
Broken commit
Matthias Clasen [Fri, 2 Dec 2005 21:25:45 +0000 (21:25 +0000)]
Define G_GUINT64_CONSTANT in analogy to G_GINT64_CONSTANT. (#322568,
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Define G_GUINT64_CONSTANT in analogy to
G_GINT64_CONSTANT. (#322568, Andrew Paprocki)
Matthias Clasen [Fri, 2 Dec 2005 20:11:28 +0000 (20:11 +0000)]
Portability fixes, C99ism removal
Matthias Clasen [Fri, 2 Dec 2005 16:57:24 +0000 (16:57 +0000)]
Add a missing volatile for the IA64 implementation.
2005-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/gatomic.c (g_atomic_int_add): Add a missing volatile for
the IA64 implementation.
Tim Janik [Fri, 2 Dec 2005 15:28:56 +0000 (15:28 +0000)]
fix uint/pointer casts
Tim Janik [Fri, 2 Dec 2005 15:18:39 +0000 (15:18 +0000)]
some naming and type size fixups.
Fri Dec 2 16:18:09 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: some naming and type size fixups.
Tim Janik [Fri, 2 Dec 2005 12:11:34 +0000 (12:11 +0000)]
reworked GCC-specific type-safe macro variant into something less verbose,
Fri Dec 2 13:08:58 2005 Tim Janik <timj@gtk.org>
* glib/gslice.h (g_slice_free): reworked GCC-specific type-safe macro
variant into something less verbose, but digestible for gcc-3.4.
Tim Janik [Fri, 2 Dec 2005 12:10:49 +0000 (12:10 +0000)]
extended to perform the benchmarking on the old memchunk code if 'O' is
Fri Dec 2 10:55:07 2005 Tim Janik <timj@imendio.com>
* tests/slice-test.c: extended to perform the benchmarking on the old
memchunk code if 'O' is selected.
* tests/memchunks.c: new file which contains the old GLib mem chunks
implementation with prefix old_mem_chunk_.
* tests/Makefile.am: added memchunks.c
Tim Janik [Fri, 2 Dec 2005 09:57:06 +0000 (09:57 +0000)]
extended to perform the benchmarking on the old memchunk code if 'O' is
Fri Dec 2 10:55:07 2005 Tim Janik <timj@imendio.com>
* tests/slice-test.c: extended to perform the benchmarking on the old
memchunk code if 'O' is selected.
* tests/memchunks.c: new file which contains the old GLib mem chunks
implementation with prefix old_mem_chunk_.
* tests/Makefile.am: added memchunks.c
Tim Janik [Thu, 1 Dec 2005 23:21:49 +0000 (23:21 +0000)]
improved gettimeofday() timer resolution by maintaining acceptable load
Fri Dec 2 00:16:59 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: improved gettimeofday() timer resolution by maintaining
acceptable load distribution of the syscall.
(allocator_get_magazine_threshold): reduce minimum/single-thread magazine
sizes to approximately page_size/2.5 to avoid excessive startup allocations.
Tim Janik [Thu, 1 Dec 2005 23:20:22 +0000 (23:20 +0000)]
improved gettimeofday() timer resolution by maintaining acceptable load
Fri Dec 2 00:16:59 2005 Tim Janik <timj@imendio.com>
* glib/gslice.c: improved gettimeofday() timer resolution by maintaining
acceptable load distribution of the syscall.
(slab_allocator_free_chunk): reduce minimum/single-thread magazine sizes
to approximately page_size/2.5 to avoid excessive startup allocations.
Matthias Clasen [Thu, 1 Dec 2005 18:06:17 +0000 (18:06 +0000)]
Make tests work with slice allocator
Matthias Clasen [Thu, 1 Dec 2005 16:43:56 +0000 (16:43 +0000)]
Remove a duplicate _LDADD
Tim Janik [Thu, 1 Dec 2005 16:34:33 +0000 (16:34 +0000)]
new slice allocator implementation.
Thu Dec 1 17:32:46 2005 Tim Janik <timj@imendio.com>
* glib/gslice.[hc]: new slice allocator implementation.
* tests/slice-test.c: added random slice allocation test.
* glib/gthread.[hc]: removed newly added private thread mem API.
* glib/gthreadinit.h:
* glib/gmessages.c:
* glib/gthread.c:
* glib/gmem.c: divided glib threading initialisation into three phases,
initialisation where private keys and messaging are not available (only
needed by gmem.c), initialisation without messaging but private keys
available (gslice.c, gmessage.c), and full fledged initialisers that
server the rest of glib. initialisation functions got renamed to reflect
the limitations of their corresponding phases.
* glib/gmem.c: removed memchunk code, defer allocations to
g_slice_* instead.
* glib/gmem.[hc]: removed g_slice_* skeletons.
* glib/glib.symbols: added g_slice_* symbols.
* configure.in: check for availability of posix_memalign(3), memalign(3)
and valloc(3).
* glib/Makefile.am: added gslice.[hc].
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.