Matthias Clasen [Fri, 27 Feb 2004 00:57:25 +0000 (00:57 +0000)]
quote AC_DEFUN macro names so automake 1.8 won't whine at us. (#134882)
Fri Feb 27 02:00:34 2004 Matthias Clasen <maclas@gmx.de>
* acglib.m4: quote AC_DEFUN macro names so automake
1.8 won't whine at us. (#134882)
Matthias Clasen [Fri, 27 Feb 2004 00:49:56 +0000 (00:49 +0000)]
Support parsing of intializers containing macros with arguments. (#129717)
Fri Feb 27 01:49:22 2004 Matthias Clasen <maclas@gmx.de>
* glib-mkenums.in: Support parsing of intializers containing
macros with arguments. (#129717)
Matthias Clasen [Fri, 27 Feb 2004 00:42:39 +0000 (00:42 +0000)]
Translate from locale era to AD in g_date_set_parse(). (#133400, Theppitak
Fri Feb 27 01:44:41 2004 Matthias Clasen <maclas@gmx.de>
* glib/gdate.c: Translate from locale era to AD in
g_date_set_parse(). (#133400, Theppitak Karoonboonyanan)
Matthias Clasen [Thu, 26 Feb 2004 23:43:45 +0000 (23:43 +0000)]
Don't modify errno. (#116617, Balazs Scheidler)
Fri Feb 27 00:46:29 2004 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.c (g_strerror): Don't modify errno. (#116617,
Balazs Scheidler)
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:33:09 +0000 (17:33 +0000)]
Last commit log was wrong: Should have been:
2004-02-26 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.h: Fix the !G_THREADS_ENABLED case.
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:31:38 +0000 (17:31 +0000)]
empty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED
2004-02-26 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
!G_THREADS_ENABLED
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:20:29 +0000 (17:20 +0000)]
.cvsignore updates
.cvsignore updates
Sebastian Wilhelmi [Thu, 26 Feb 2004 17:20:01 +0000 (17:20 +0000)]
Only run, if threads are enabled.
2004-02-26 Sebastian Wilhelmi <seppi@seppi.de>
* tests/child-test.c (main): Only run, if threads are enabled.
Sebastian Wilhelmi [Thu, 26 Feb 2004 16:53:55 +0000 (16:53 +0000)]
empty G_ATOMIC_MEMORY_BARRIER() definition for !G_THREADS_ENABLED
2004-02-26 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
!G_THREADS_ENABLED
* glib/gthread.h: Define g_once and
g_static_mutex_get_mutex_impl_shortcut in terms of
G_MEMORY_BARRIER, if defined and if we can inline.
* configure.in: Remove double checked locking feature check.
Sebastian Wilhelmi [Thu, 26 Feb 2004 14:44:42 +0000 (14:44 +0000)]
Removed the PID niceness surrogate for thread priorities as requested by
2004-02-26 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in, config.h.win32.in, glib/gthread.c: Removed the PID
niceness surrogate for thread priorities as requested by Tim. It
does more harm than good.
* glib/tmpl/threads.sgml: Updated to reflect removal of the PID
niceness surrogate for thread priorities.
Sebastian Wilhelmi [Thu, 26 Feb 2004 14:30:35 +0000 (14:30 +0000)]
New files to implement atomic operations for different platforms. Fixes
2004-02-26 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gatomic.c, glib/gatomic.h: New files to implement atomic
operations for different platforms. Fixes bug #63621.
* glib/glib.h: Include gatomic.h.
* configure.in: Add test for assembler routines for atomic operations.
* glib/Makefile.am: Add gatomic.c, gatomic.h.
* tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
operations.
* glib/glib-overrides.txt, glib/glib-sections.txt,
glib/glib-docs.sgml, glib/tmpl/atomic_operations.sgml: Add docs
for atomic operations.
Hans Breuer [Wed, 25 Feb 2004 23:48:22 +0000 (23:48 +0000)]
added g_hash_table_find and a bunch of g_queue_*
2003-02-26 Hans Breuer <hans@breuer.org>
* glib/glib.def : added g_hash_table_find and a
bunch of g_queue_*
* glib/gmain.c : make it compile on win32,
child_wake_up_pipe replaced by semaphore like it is done
for the other wake_up_pipe
* config.h.win32.in : added HAVE_INT64_AND_I64
* glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64,
and typedef for GPid
* test/env-test.c : don't let the local log function
collide in namespace with standard C
Sebastian Wilhelmi [Wed, 25 Feb 2004 13:23:14 +0000 (13:23 +0000)]
For the PID thread priorities surrogate use gettid instead of getpid. This
2004-02-25 Sebastian Wilhelmi <seppi@seppi.de>
* configure.in, glib/gthread.c: For the PID thread priorities
surrogate use gettid instead of getpid. This also works with nptl
(on linux-2.6), as well as with linuxthreads (on linux-2.4).
Alastair McKinstry [Tue, 24 Feb 2004 23:03:50 +0000 (23:03 +0000)]
Updated Irish translation
Sebastian Wilhelmi [Tue, 24 Feb 2004 21:17:10 +0000 (21:17 +0000)]
Add Since: 2.4, where due
2004-02-24 Sebastian Wilhelmi <seppi@seppi.de>
* glib/grand.c: Add Since: 2.4, where due
Owen Taylor [Tue, 24 Feb 2004 19:27:19 +0000 (19:27 +0000)]
=== Released 2.3.3 ===
Tue Feb 24 14:09:21 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.3 ===
* configure.in: Version 2.3.3, interface age 0.
Dafydd Harries [Tue, 24 Feb 2004 06:29:24 +0000 (06:29 +0000)]
Updated Welsh translation by Rhys Jones and myself.
Matthias Clasen [Mon, 23 Feb 2004 21:20:22 +0000 (21:20 +0000)]
Start of 2.3.3 section.
Mon Feb 23 22:24:00 2004 Matthias Clasen <maclas@gmx.de>
* NEWS: Start of 2.3.3 section.
Kostas Papadimas [Mon, 23 Feb 2004 12:45:06 +0000 (12:45 +0000)]
Updated the Greek translation
Guntupalli Karunakar [Mon, 23 Feb 2004 10:26:45 +0000 (10:26 +0000)]
update tamil translation
Matthias Clasen [Sun, 22 Feb 2004 01:31:24 +0000 (01:31 +0000)]
Set the gmodule suffix to 'a' for aix and use the aix gmodule
Sun Feb 22 02:28:43 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Set the gmodule suffix to 'a' for aix and
use the aix gmodule implementation. (#85930, Laurent Vivier)
Bug #85930, Laurent Vivier:
* gmodule-ar.c: Implementation of native module management for AIX.
* gmoduleconf.h.in:
* gmodule.c: Support gmodule-ar.c
Matthias Clasen [Sat, 21 Feb 2004 23:56:54 +0000 (23:56 +0000)]
New function to deep-copy a GNode and its children. (#93464, James M.
Sun Feb 22 00:47:04 2004 Matthias Clasen <maclas@gmx.de>
* glib/gnode.c (g_node_copy_deep): New function to deep-copy a
GNode and its children. (#93464, James M. Cape)
Soeren Sandmann [Sat, 21 Feb 2004 14:58:09 +0000 (14:58 +0000)]
Some documentation fixes.
Sat Feb 21 15:42:39 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* glib/gqueue.c: Some documentation fixes.
Søren Sandmann Pedersen [Sat, 21 Feb 2004 12:49:56 +0000 (12:49 +0000)]
Fix ChangeLog
Soeren Sandmann [Sat, 21 Feb 2004 12:48:08 +0000 (12:48 +0000)]
Extend GQueue API to match the GList API. (#118439).
Sat Feb 21 13:45:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* glib/gqueue.[ch]: Extend GQueue API to match the GList
API. (#118439).
* tests/queue-test.c: Update test suite to cover the new API.
Tim Janik [Fri, 20 Feb 2004 02:05:36 +0000 (02:05 +0000)]
applied patch from #131937 with slight renames. provides
Fri Feb 20 03:02:05 2004 Tim Janik <timj@gtk.org>
* glib/ghash.[hc]: applied patch from #131937 with slight
renames. provides g_hash_table_find().
Tim Janik [Fri, 20 Feb 2004 01:47:26 +0000 (01:47 +0000)]
added (GTypeFlags) cast needed by C++.
Fri Feb 20 02:44:54 2004 Tim Janik <timj@gtk.org>
* gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.
Tim Janik [Fri, 20 Feb 2004 01:41:00 +0000 (01:41 +0000)]
applied patch from David Schleef <ds@schleef.org> which implements a
Fri Feb 20 02:39:03 2004 Tim Janik <timj@gtk.org>
* applied patch from David Schleef <ds@schleef.org> which implements
a G_MODULE_BIND_LOCAL flag to g_module_open() to disable global
symbol registration.
Laurent Dhima [Fri, 20 Feb 2004 01:09:46 +0000 (01:09 +0000)]
Fixed Albanian translation
* sq.po: Fixed Albanian translation
Laurent Dhima [Fri, 20 Feb 2004 01:08:32 +0000 (01:08 +0000)]
Updated
Tim Janik [Thu, 19 Feb 2004 17:42:00 +0000 (17:42 +0000)]
for G_CAN_INLINE environments, inline g_string_append_c() for efficiency.
Thu Feb 19 18:40:01 2004 Tim Janik <timj@gtk.org>
* glib/gstring.[hc]: for G_CAN_INLINE environments, inline
g_string_append_c() for efficiency. (vaguely based on #118707).
Sebastian Wilhelmi [Thu, 19 Feb 2004 09:14:09 +0000 (09:14 +0000)]
Forgot ChangeLog again......
Forgot ChangeLog again......
Matthias Clasen [Wed, 18 Feb 2004 22:55:15 +0000 (22:55 +0000)]
Include signal.h for SIGCHLD. (#134622, Damien Carbery)
Wed Feb 18 23:57:42 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmain.c: Include signal.h for SIGCHLD. (#134622, Damien
Carbery)
Sebastian Wilhelmi [Wed, 18 Feb 2004 12:30:01 +0000 (12:30 +0000)]
Lazy creation of GCond. Only signal GCond, if threads are waiting.
2004-02-18 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gasyncqueue.c: Lazy creation of GCond. Only
signal GCond, if threads are waiting.
Sebastian Wilhelmi [Wed, 18 Feb 2004 12:21:22 +0000 (12:21 +0000)]
Forgot ChangeLog
Forgot ChangeLog
Sebastian Wilhelmi [Wed, 18 Feb 2004 12:20:13 +0000 (12:20 +0000)]
Add the new g_rand_* functions
2004-02-18 Sebastian Wilhelmi <seppi@seppi.de>
* glib/glib-sections.txt: Add the new g_rand_* functions
Sebastian Wilhelmi [Wed, 18 Feb 2004 09:14:17 +0000 (09:14 +0000)]
Set context->wake_up_pipe only for G_THREADS_ENABLED.
2004-02-18 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
only for G_THREADS_ENABLED.
Manish Singh [Sat, 14 Feb 2004 19:05:21 +0000 (19:05 +0000)]
shut up cvs
Manish Singh [Sat, 14 Feb 2004 19:05:02 +0000 (19:05 +0000)]
Remove unnecessary STRIP_* definitions, and GNU make check. Really fixes
Sat Feb 14 11:05:26 2004 Manish Singh <yosh@gimp.org>
* configure.in: Remove unnecessary STRIP_* definitions, and GNU
make check. Really fixes #134102.
Matthias Clasen [Sat, 14 Feb 2004 01:08:15 +0000 (01:08 +0000)]
Make the check for GNU make work when MAKE is a full path. (#134102, Julio
Sat Feb 14 02:11:08 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Make the check for GNU make work when MAKE is a
full path. (#134102, Julio M. Merino Vidal)
Matthias Clasen [Sat, 14 Feb 2004 01:04:47 +0000 (01:04 +0000)]
Suppress xsltproc and xmlcatalog checks if enable_man=no. (#134091, Julio
Sat Feb 14 02:08:03 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Suppress xsltproc and xmlcatalog checks
if enable_man=no. (#134091, Julio M. Merino Vidal)
Matthias Clasen [Sat, 14 Feb 2004 00:23:36 +0000 (00:23 +0000)]
Wrap waitpid() as a GSource. This is a partial implementation of the "Unix
Sat Feb 14 01:21:34 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmain.h:
* glib/gmain.c (g_child_watch_source_new):
* glib/gmain.c (g_child_watch_add):
* glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a
GSource. This is a partial implementation of the "Unix signal
source". (#50296, Jonathan R. Blandford)
* configure.in: Add the necessary configury to typedef GPid
appropriately.
* tests/Makefile.am:
* tests/child-test.c: Test child_watch sources.
Matthias Clasen [Fri, 13 Feb 2004 22:13:02 +0000 (22:13 +0000)]
Fix a typo.
Laurent Dhima [Thu, 12 Feb 2004 13:31:00 +0000 (13:31 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Thu, 12 Feb 2004 13:29:49 +0000 (13:29 +0000)]
Updated
Danilo Šegan [Wed, 11 Feb 2004 23:42:01 +0000 (23:42 +0000)]
Reviewed Serbian translation.
Maxim Dziumanenko [Mon, 9 Feb 2004 17:06:54 +0000 (17:06 +0000)]
Updated Ukrainian translation
2004-02-09 Maxim Dziumanenko <mvd@mylinux.com.ua>
* Updated Ukrainian translation
Manish Singh [Sat, 7 Feb 2004 23:03:35 +0000 (23:03 +0000)]
Fix broken test for gsize formats.
Sat Feb 7 15:02:01 2004 Manish Singh <yosh@gimp.org>
* tests/type-test.c: Fix broken test for gsize formats.
Matthias Clasen [Fri, 6 Feb 2004 23:59:12 +0000 (23:59 +0000)]
Fix some external links.
Denis Lackovic [Thu, 5 Feb 2004 22:59:07 +0000 (22:59 +0000)]
*** empty log message ***
Mətin Əmirov [Thu, 5 Feb 2004 21:17:25 +0000 (21:17 +0000)]
Translation updated.
2004-02-05 Mətin Əmirov <metin@karegen.com>
* az.po: Translation updated.
Manish Singh [Thu, 5 Feb 2004 01:59:24 +0000 (01:59 +0000)]
Shut up CVS
Manish Singh [Thu, 5 Feb 2004 01:58:47 +0000 (01:58 +0000)]
Add prototype for g_completion_complete_utf8().
Wed Feb 4 17:58:51 2004 Manish Singh <yosh@gimp.org>
* glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
* tests/completion-test.c: #include <string.h>
Tor Lillqvist [Thu, 5 Feb 2004 00:22:58 +0000 (00:22 +0000)]
Add g_completion_complete_utf8.
2004-02-05 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_completion_complete_utf8.
Matthias Clasen [Thu, 5 Feb 2004 00:17:28 +0000 (00:17 +0000)]
Weaken an g_assert() to a g_warning(), since apparently nothing in Posix
Thu Feb 5 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
* tests/file-test.c (test_mkstemp): Weaken an g_assert() to a
g_warning(), since apparently nothing in Posix forces mkstemp()
to reject templates without any X's. (#133397)
Matthias Clasen [Wed, 4 Feb 2004 23:54:17 +0000 (23:54 +0000)]
New function which works like g_completion_complete(), but strips a
Thu Feb 5 00:56:28 2004 Matthias Clasen <maclas@gmx.de>
* glib/gcompletion.c (g_completion_complete_utf8): New function which
works like g_completion_complete(), but strips a trailing incomplete
UTF-8 character from the prefix. (#133313, Theppitak Karoonboonyanan)
* tests/completion-test.c (main): Some GCompletion tests.
* tests/Makefile.am: Add completion-test.
Tim Janik [Tue, 3 Feb 2004 20:30:23 +0000 (20:30 +0000)]
provide a short-cut version for this macro in case
Tue Feb 3 21:24:01 2004 Tim Janik <timj@gtk.org>
* gtype.h (_G_TYPE_CVH): provide a short-cut version for
this macro in case value->g_type==checked_type for gcc, similar
to instance and class check short-cuts. this speeds up code that
makes frequent use of G_VALUE_HOLDS_*() (e.g. setters/getters).
* gtype.c (type_data_last_unref_Wm): don't call class-cache functions
for the uncached case, this rendered g_type_class_unref_uncached()
useless. pointed out by Stefan Westerfeld.
Hasbullah Bin Pit [Mon, 2 Feb 2004 18:13:51 +0000 (18:13 +0000)]
Updated Malay translation.
2004-02-01 Hasbullah Bin Pit <sebol@my-penguin.org>
* ms.po: Updated Malay translation.
Tor Lillqvist [Sun, 1 Feb 2004 18:17:50 +0000 (18:17 +0000)]
Add g_strsplit_set.
2004-02-01 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add g_strsplit_set.
Laurent Dhima [Sat, 31 Jan 2004 16:34:25 +0000 (16:34 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Sat, 31 Jan 2004 16:32:25 +0000 (16:32 +0000)]
Updated
Matthias Clasen [Sat, 31 Jan 2004 02:12:06 +0000 (02:12 +0000)]
Don't return FALSE from a pointer function. (#131472, Morten Welinder)
Sat Jan 31 03:13:56 2004 Matthias Clasen <maclas@gmx.de>
* glib/garray.c (g_byte_array_remove_range): Don't return FALSE
from a pointer function. (#131472, Morten Welinder)
Noah Levitt [Fri, 30 Jan 2004 23:20:16 +0000 (23:20 +0000)]
Size compose_table correctly. (#123421, Simon Josefsson)
2004-01-30 Noah Levitt <nlevitt@columbia.edu>
* glib/gunicomp.h:
* glib/gunidecomp.c:
* glib/gen-unicode-tables.pl: Size compose_table correctly. (#123421,
Simon Josefsson)
* glib/gen-unicode-tables.pl: Get rid of some new warnings from perl
5.8.1.
Matthias Clasen [Fri, 30 Jan 2004 22:23:59 +0000 (22:23 +0000)]
Remove references to deprecated GTK+ and GDK functions. (#130756, Vincent
Fri Jan 30 23:25:58 2004 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/iochannels.sgml:
* glib/tmpl/main.sgml: Remove references to deprecated GTK+ and
GDK functions. (#130756, Vincent Untz)
Changwoo Ryu [Thu, 29 Jan 2004 18:57:34 +0000 (18:57 +0000)]
Updated Korean translation.
* ko.po: Updated Korean translation.
Alessio Frusciante [Thu, 29 Jan 2004 09:42:58 +0000 (09:42 +0000)]
Updated Italian translation.
Miloslav Trmac [Wed, 28 Jan 2004 10:55:41 +0000 (10:55 +0000)]
Fixed Czech translation
Manish Singh [Wed, 28 Jan 2004 02:46:30 +0000 (02:46 +0000)]
m4macros/glib-2.0.m4 quote AC_DEFUN macro names so automake 1.8 won't
Tue Jan 27 18:45:47 2004 Manish Singh <yosh@gimp.org>
* m4macros/glib-2.0.m4
* m4macros/glib-gettext.m4: quote AC_DEFUN macro names so automake
1.8 won't whine at us.
Matthias Clasen [Wed, 28 Jan 2004 00:37:46 +0000 (00:37 +0000)]
New function, a cross between g_strsplit() and strtok(). (#88329, Soeren
Wed Jan 28 01:39:21 2004 Matthias Clasen <maclas@gmx.de>
* glib/gstrfuncs.h:
* glib/gstrfuncs.c (g_strsplit_set): New function, a cross
between g_strsplit() and strtok(). (#88329, Soeren Sandmann)
* tests/strfunc-test.c (main): Add g_strsplit_set() tests.
Åsmund Skjæveland [Tue, 27 Jan 2004 17:03:09 +0000 (17:03 +0000)]
Updated Norwegian Nynorsk translation.
2004-01-27 Åsmund Skjæveland <aasmunds@fys.uio.no>
* nn.po: Updated Norwegian Nynorsk translation.
Tim Janik [Sat, 24 Jan 2004 17:23:52 +0000 (17:23 +0000)]
prefixed the parent_class variable defined by G_DEFINE_TYPE() with
Sat Jan 24 18:20:13 2004 Tim Janik <timj@gtk.org>
* gtype.h: prefixed the parent_class variable defined by G_DEFINE_TYPE()
with type_name. removed type_parent_class argument
from G_DEFINE_TYPE_EXTENDED().
Tor Lillqvist [Sat, 24 Jan 2004 03:56:36 +0000 (03:56 +0000)]
Add a missing entry.
2004-01-24 Tor Lillqvist <tml@iki.fi>
* gobject.def: Add a missing entry.
Matthias Clasen [Fri, 23 Jan 2004 21:49:21 +0000 (21:49 +0000)]
Sigh, protect against pw->pw_gecos being "" as well. (#132317, Kaj-Michael
Fri Jan 23 22:49:52 2004 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c (g_get_any_init): Sigh, protect against
pw->pw_gecos being "" as well. (#132317, Kaj-Michael Lang)
Tor Lillqvist [Fri, 23 Jan 2004 03:01:30 +0000 (03:01 +0000)]
Add new functions.
2004-01-23 Tor Lillqvist <tml@iki.fi>
* glib/glib.def: Add new functions.
Tor Lillqvist [Fri, 23 Jan 2004 02:10:46 +0000 (02:10 +0000)]
Don't include <unistd.h> unless HAVE_UNISTD_H. Include <process.h> on
2004-01-23 Tor Lillqvist <tml@iki.fi>
* glib/grand.c: Don't include <unistd.h> unless
HAVE_UNISTD_H. Include <process.h> on G_OS_WIN32.
(g_rand_new): Use getppid() only on G_OS_UNIX.
Owen Taylor [Thu, 22 Jan 2004 20:20:31 +0000 (20:20 +0000)]
=== Released 2.3.2 ===
Thu Jan 22 15:16:11 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.2 ===
Owen Taylor [Thu, 22 Jan 2004 19:56:28 +0000 (19:56 +0000)]
Add g_timer_continue(). (#98536, Tim-Philipp Müller)
Thu Jan 22 13:55:44 2004 Owen Taylor <otaylor@redhat.com>
* glib/gtimer.c: Add g_timer_continue().
(#98536, Tim-Philipp Müller)
* configure.in: Version 2.3.2, interface age 0.
* NEWS: tweak, finish.
Matthias Clasen [Thu, 22 Jan 2004 19:48:33 +0000 (19:48 +0000)]
Protect against pw->pw_gecos being NULL.
Thu Jan 22 20:50:55 2004 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c (g_get_any_init): Protect against
pw->pw_gecos being NULL.
Mathieu Lacage [Thu, 22 Jan 2004 18:39:45 +0000 (18:39 +0000)]
Imported sources
Mathieu Lacage [Thu, 22 Jan 2004 18:39:45 +0000 (18:39 +0000)]
Initial revision
Matthias Clasen [Wed, 21 Jan 2004 23:41:46 +0000 (23:41 +0000)]
Don't treat the Win32 user name like a gecos field, and when extracting a
Thu Jan 22 00:41:34 2004 Matthias Clasen <maclas@gmx.de>
* glib/gutils.c (g_get_any_init): Don't treat the Win32
user name like a gecos field, and when extracting a real
name from a gecos field, replace '&' by the capitalized
user name (a traditional passwd feature).
(#118973, reported by Soeren Boll Overgaard)
Matthias Clasen [Tue, 20 Jan 2004 21:28:55 +0000 (21:28 +0000)]
Start of 2.3.2 section.
Tue Jan 20 22:31:22 2004 Matthias Clasen <maclas@gmx.de>
* NEWS: Start of 2.3.2 section.
Matthias Clasen [Fri, 16 Jan 2004 20:44:03 +0000 (20:44 +0000)]
Forgot to fix this one.
Fri Jan 16 21:45:56 2004 Matthias Clasen <maclas@gmx.de>
* glib/gstring.c (g_string_ascii_up): Forgot to fix this one.
Alastair McKinstry [Fri, 16 Jan 2004 19:54:51 +0000 (19:54 +0000)]
Updated Irish translation.
Laurent Dhima [Thu, 15 Jan 2004 23:31:08 +0000 (23:31 +0000)]
Updated Albanian translation
* sq.po: Updated Albanian translation
Laurent Dhima [Thu, 15 Jan 2004 23:29:33 +0000 (23:29 +0000)]
Updated
Matthias Clasen [Thu, 15 Jan 2004 21:33:58 +0000 (21:33 +0000)]
Move initialization of variables after g_return_val_if_fail. (#131564,
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
* glib/gstring.c (g_string_up):
* glib/gstring.c (g_string_down):
* glib/gstring.c (g_string_ascii_up):
* glib/gstring.c (g_string_ascii_down): Move initialization of
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
Alastair McKinstry [Tue, 13 Jan 2004 21:33:09 +0000 (21:33 +0000)]
Irish translation
Kjartan Maraas [Tue, 13 Jan 2004 20:18:29 +0000 (20:18 +0000)]
Updated Norwegian translation.
2004-01-13 Kjartan Maraas <kmaraas@gnome.org>
* no.po: Updated Norwegian translation.
Manish Singh [Mon, 12 Jan 2004 00:16:18 +0000 (00:16 +0000)]
Add G_MAXSIZE, define in terms of G_MAXUfoo.
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
* tests/type-test.c: Add test for G_MAXSIZE.
* glibconfig.h.win32.in: Cleanup, add some missing bits.
Manish Singh [Mon, 12 Jan 2004 00:06:54 +0000 (00:06 +0000)]
#define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.
Sun Jan 11 16:05:35 2004 Manish Singh <yosh@gimp.org>
* glib/giounix.c: #define _POSIX_SOURCE for SSIZE_MAX. Fixes #128853.
Manish Singh [Sun, 11 Jan 2004 23:59:49 +0000 (23:59 +0000)]
wrap g_io_channel_ref in a function that returns the passed in GIOChannel,
Sun Jan 11 15:34:35 2004 Manish Singh <yosh@gimp.org>
* gsourceclosure.c: wrap g_io_channel_ref in a function that returns
the passed in GIOChannel, so we aren't abusing GBoxedCopyFunc
semantics. Fixes bug #131076.
Matthias Clasen [Sun, 11 Jan 2004 00:23:57 +0000 (00:23 +0000)]
Improve docs for G_DEFINE_TYPE_* macros.
Sun Jan 11 01:25:44 2004 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gtype.sgml: Improve docs for G_DEFINE_TYPE_* macros.
Sun Jan 11 01:25:29 2004 Matthias Clasen <maclas@gmx.de>
* gobject/gobject-sections.txt: Add G_DEFINE_TYPE_EXTENDED.
Matthias Clasen [Sat, 10 Jan 2004 22:57:59 +0000 (22:57 +0000)]
Document the lowercase_name trigraph option.
Sat Jan 10 23:55:42 2004 Matthias Clasen <maclas@gmx.de>
* glib-mkenums.1: Document the lowercase_name trigraph option.
Manish Singh [Sat, 10 Jan 2004 08:15:24 +0000 (08:15 +0000)]
64-bit cleanliness fixes.
Sat Jan 10 00:11:12 2004 Manish Singh <yosh@gimp.org>
* glib/gutils.h (g_bit_nth_lsf,g_bit_nth_msf): 64-bit cleanliness
fixes.
* docs/reference/glib/tmpl/misc_utils.sgml: update to reflect the
above take gulongs now. My docs suck, someone should revisit it.
Tim Janik [Sat, 10 Jan 2004 01:46:23 +0000 (01:46 +0000)]
made G_DEFINE_TYPE_INTERNAL() public by renaming it to
Sat Jan 10 02:43:20 2004 Tim Janik <timj@gtk.org>
* gtype.h: made G_DEFINE_TYPE_INTERNAL() public by renaming it to
G_DEFINE_TYPE_EXTENDED() and moving it into the appropriate section.
George Lebl [Sat, 10 Jan 2004 01:38:55 +0000 (01:38 +0000)]
Add the init_by_array functionality from the reference implementation of
Fri Dec 19 11:49:21 2003 George Lebl <jirka@5z.com>
* glib/grand.c
glib/grand.h (g_rand_new) (g_rand_new_with_seed)
(g_rand_new_with_seed_array) (g_rand_set_seed_array): Add
the init_by_array functionality from the reference implementation
of the mersenne twister (mt19937ar.c) and change the naming
to fit with the rest of the grand API. New functions are
g_rand_new_with_seed_array, g_rand_set_seed_array. This is only
reliable/tested for the 2.2 version of the seeding as that's what
the reference implementation uses. Also modify g_rand_new to
get 4 longs from /dev/urandom since that will always be available
anyway and we get more entropy and if /dev/urandom is unavailable
use also 4 longs for seeding using secs, usecs, getpid and getppid.
For version 2.0 use only a simple seed again but be more careful
about seeding with secs/usecs in this case.
* glib/grand.c
glib/grand.h (g_rand_copy): Add g_rand_copy function to copy the
current state of the random number generator.
* glib/grand.c (g_rand_new): Add testing for EINTR when reading
from /dev/urandom
* tests/rand-test.c: add testing of the array seeding stuff against
the reference implementation, plus add statistical sanity check
to see that the values outputted are truly kind of random. And
check that g_rand_copy truly copies the state by checking a few
terms.
Matthias Clasen [Sat, 10 Jan 2004 01:16:47 +0000 (01:16 +0000)]
Document the new GType boilerplate macros with an example.
Sat Jan 10 02:18:32 2004 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gtype.sgml: Document the new GType boilerplate macros
with an example.
Matthias Clasen [Sat, 10 Jan 2004 00:34:26 +0000 (00:34 +0000)]
Document g_type_class_peek_static.
Sat Jan 10 01:36:01 2004 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gtype.sgml: Document g_type_class_peek_static.
Sat Jan 10 01:23:58 2004 Matthias Clasen <maclas@gmx.de>
* gobject/gobject-sections.txt: Add g_type_class_peek_static,
G_DEFINE_TYPE, G_DEFINE_TYPE_WITH_CODE, G_DEFINE_ABSTRACT_TYPE,
G_DEFINE_ABSTRACT_TYPE_WITH_CODE, G_IMPLEMENT_INTERFACE.
Sat Jan 10 01:23:01 2004 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/objects.sgml: Update docs of g_object_connect.
Fri Jan 9 23:40:23 2004 Matthias Clasen <maclas@gmx.de>
* gobject/tmpl/gboxed.sgml:
* gobject/gobject-sections.txt: Add G_TYPE_STRV and GStrv.
Matthias Clasen [Fri, 9 Jan 2004 22:39:55 +0000 (22:39 +0000)]
Add a boxed type for nul-terminated string arrays. (#110528)
Fri Jan 9 23:41:00 2004 Matthias Clasen <maclas@gmx.de>
* gboxed.h:
* gboxed.c (g_strv_get_type): Add a boxed type for nul-terminated
string arrays. (#110528)