1 Mon Sep 13 23:25:59 1999 Tim Janik <timj@gtk.org>
3 * gmessages.c (g_logv): in case we have to abort the program,
4 debugging is enabled and we are not called recursively, try
5 to abort with raise (SIGTRAP) first, so developers may ignore
6 certain failure conditions during debugging stage.
8 Thu Aug 26 15:09:36 1999 Tim Janik <timj@gtk.org>
11 * gmodule/Makefile.am:
12 * gthread/Makefile.am: added --export-dynamic so we can load dynmic
13 modules, (required, according to the libtool 1.3.3 docu).
15 1999-07-23 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
17 * grand.c (g_rand_new): Use /dev/urandom, as it doesn't block,
18 which /dev/random might do. Do not XOR the time, when getting the
19 seed form /dev/urandom, as this is good itself. Prevent the
20 initial seed from being zero, which causes the PRNG to produce
21 only zeros. Hints from Colin Plumb <colin@pgp.com>.
23 1999-08-17 Tor Lillqvist <tml@iki.fi>
25 * glib.h (g_trash_stack_push): Add a cast.
28 * glist.c: Make the inline functions static inline, and add
29 separate extern wrappers. Not all compilers produce callable entry
30 points for inline functions, even if gcc does.
32 Sun Aug 15 02:47:14 1999 Tim Janik <timj@gtk.org>
34 * glib.h (g_trash_stack_pop): eliminate memset() call, since string.h
35 has not neccessarily been included prior to glib.h.
37 Mon Aug 2 21:03:10 1999 Tim Janik <timj@gtk.org>
39 * configure.in: added --enable-msg-prefix option.
41 * gmessages.c (g_log_default_handler): feature "prg_name (pid:%u): "
42 if --enable-msg-prefix was selected (use "(process:%u): " if
43 g_get_prgname () returns NULL, along the lines of g_on_error_query).
45 1999-08-03 Tor Lillqvist <tml@iki.fi>
49 * tests/strfunc-test.c: Rename g_strccpy to g_strcompress and
50 g_strecpy to g_strescape per Tim Janik's suggestion. Dropped the
51 destination parameter, always g_malloc a new string. Fix bug in
52 g_strcompress, octal digits were gobbled up without limit, should
55 Sources that use g_strescape must have ifdefs to be compilable
56 both with GLib 1.2 and 1.3.
58 Sat Jul 31 17:52:03 PDT 1999 Manish Singh <yosh@gimp.org>
61 * gstrfuncs.c: the #define for g_strescape interfered with the
62 compilation of the function, so just remove the function and
63 note that it's deprecated in the header
65 1999-08-01 Tor Lillqvist <tml@iki.fi>
67 * gstrfuncs.c (g_strccpy, g_strecpy): New functions.
69 * glib.h: Declare and document them. Define the deprecated
70 g_strescape as a macro that calls g_strecpy.
72 * tests/strfunc-test.c (main): Test them.
74 * makefile.{cygwin,msc}.in
75 * tests/makefile.{cygwin,msc}.in: Remove gstack and its test
78 * glib.def: Additions and removals.
80 * README.win32: Improve gcc build instructions.
82 * build-dll: Also build import library for MSVC.
84 Sat Jul 24 20:11:35 1999 Tim Janik <timj@gtk.org>
86 * merged GLib 1.3.0 with glib-1.2.3 from Fri Jul 16 22:18:36.
87 * incorporated proposed cleanups from gtk-devel-list.
89 * bumped version number to GLib-1.3.1
95 removed string tokenisation (we got g_strsplit() and g_strjoin()
96 already) and readline functions.
97 s/g_list_delete/g_list_delete_link.
98 implemented g_slist_delete_link.
99 removed notion of g_ATEXIT() macro in glib.h, this is an *internal*
100 macro, g_atexit() is provided for public consumption.
101 added GTrashStack inline utility functions.
102 reimplement double eneded queues.
103 removed GStack implementation, people can use a queue or a (singly)
104 linked list for this task.
105 deprecated g_strescape(), we need the SunOS variants here.
107 * gdate.c: added DEBUG_MSG() macro to wrap old messages.
111 * upgrade to libtool 1.3.3.
113 1999-07-21 Tor Lillqvist <tml@iki.fi>
115 Win32: With the latest gcc (2.95, pre-release), we can have binary
116 compatibility with MSVC by using the switch -fnative-struct. No
117 longer build DLLs with .gcc in the name when using gcc.
119 * README.win32: Renew gcc build instructions.
121 * build-dll: Comments change, handle also .a files.
124 * tests/makefile.cygwin.in: Remove .gcc from DLL name.
126 1999-07-13 Tor Lillqvist <tml@iki.fi>
128 * README.win32: Correct URL for mingw runtime sources.
130 * build-dll: Combine commands with &&.
132 * glib.h: Map also rmdir() and hypot() for MSVCRT library.
135 * tests/makefile.cygwin.in: New DLL naming style. GCC-compiled DLLs are
136 now called *.gcc.dll, to avoid binary incompatibilities with
137 MSVC-compiled versions.
139 * makefile.msc.in: Cosmetics.
141 1999-07-07 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
143 * configure.in: Test for pthread_join rather than for
144 pthread_create to determine the right thread-lib. Makes it work on
145 mips-sgi-irix6.5. Hitn from to Jari Vuoksenranta
146 <javu@piano.ux.phys.jyu.fi>.
148 1999-07-02 Tor Lillqvist <tml@iki.fi>
150 * README.win32: Note about need to fix another bug in the mingw32
153 * makefile.msc.in: Debugging turned on via an nmake variable,
154 no need to edit the makefile.
156 1999-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
158 * configure.in, acconfig.h, gutils.c: Added a g_memmove
159 replacement for platforms without memmove, where bcopy can't
160 handle overlapping copies and the corresponding checks, which is
161 taken form the PERL Configure routine.
163 * glib.h: Updated the commentary about g_memmove to be right and
166 * configure.in: Removed test for rand_r, as it isn't used anymore.
168 1999-06-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
170 * glib.h, grand.c: Finally removed the g_random_normal and
171 g_rand_normal functions.
173 1999-06-28 Tor Lillqvist <tml@iki.fi>
175 * glib.def: Add missing export of g_strncasecmp.
177 1999-06-21 Jose Mercado <jmercado@mit.edu>
179 * glib.spec.in: Changed version number (1.1->1.3) in files section
180 to allow rpm to build packages again.
182 1999-06-21 Tor Lillqvist <tml@iki.fi>
184 * README.win32: Update the pthreads snapshot version we want.
185 Advice how to hand-expand the makefile.*.in files.
187 * config.h.win32.in: Define values needed by Sebastian Wilhelmi's
190 * glib.def: Add new functions.
192 * glibconfig.h.win32.in: Update the pthreads snapshot version.
195 * gthread.c: Include config.h, guard inclusion of unistd.h. When
196 using gcc on Win32, g_thread_functions_for_glib_use must be marked
197 for export here, too.
199 * gtimer.c: Implement g_usleep on native Win32 using Sleep (which
200 only has millisecond granularity, though).
203 * makefile.msc.in: Update pthreads snapshot version. File
204 name changes. Remove testgthread.
206 * tests/makefile.cygwin.in
207 * tests/makefile.msc.in: Add thread-test. Link with gthread lib.
209 1999-06-18 Jeff Garzik <jgarzik@pobox.com>
211 * tests/Makefile.am: Re-order tests in alpha order.
213 1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
215 * configure.in: Changed test for pthread_attr_setstacksize from
216 AC_TRY_COMPILE to AC_TRY_LINK.
218 1999-06-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
220 * configure.in, acglib.m4, acconfig.h, glib.h, gthread.c:
221 Completed the thread support in GLib. Thread creation,
222 prioritizing threads, yielding, joining threads as well as
223 reader/writer locks and recursive mutexes are now in place. Please
224 test heavily on your platform. It is so far tested on
225 Linux/i386/pthreads, Solaris/Sparc/pthreads and
226 Solaris/Sparc/solaristhreads.
228 * gtimer.c, glib.h: Implement g_usleep (gulong microseconds) for
229 thread safe sleeping. (sleep() is not MT-safe at all!)
231 * gutils.c: Avoid compiler warning.
233 * tests/Makefile.am, tests/thread-test.c: New program to test some
234 aspects of the thread implementation.
236 * gthread.c, Makefile.am: Renamed from gmutex.c to reflect the
239 * configure.in: Purged all appearances of nspr.
241 Wed Jun 2 11:42:46 PDT 1999 Manish Singh <yosh@gimp.org>
247 * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
249 1999-05-29 Tor Lillqvist <tml@iki.fi>
251 * gstrfuncs.c (g_strescape): Backslashify also '"' characters.
253 * glib.h: Document g_strescape.
255 1999-05-12 Tor Lillqvist <tml@iki.fi>
257 * glib.h (Win32): Map fileno to _fileno for mingw32. Map fstat to
260 * README.win32: Advice also to remove -lmoldname in the
261 patch to the egcs-1.1.2 spec file.
263 Wed May 12 00:23:55 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
265 * gmodule/Makefile.am: Another small fix.
267 1999-05-08 Tor Lillqvist <tml@iki.fi>
269 * Makefile.am tests/Makefile.am: Correct rules for making the
270 win32-related files that are made from corresponding .in files.
271 Is there a cleaner way than explicitly writing rules that invoke
274 Fri Jul 16 22:18:36 PDT 1999 Manish Singh <yosh@gimp.org>
277 * ltmain.sh: upgrade to libtool 1.3.3
279 1999-06-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
281 * gdate.c, gstrfuncs.c, gstring.c: Fixed the use of the
282 is..... and to..... macros, which take unsigned chars, not chars!
283 Thanks to Morten Welinder <terra@diku.dk> for pointing this out.
285 Thu Jun 3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
287 * gerror.c (g_on_error_query): check isatty() before querying so
288 we don't loop endlessly
290 Sat May 29 11:16:29 PDT 1999 Manish Singh <yosh@gimp.org>
296 * ltmain.sh: upgrade to libtool 1.3.2
298 1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
300 * gmain.c: provide a poll prototype for SunOS, as they do not do
301 it self. Hint from Christian Parg <cparg@fs-design.de>.
303 Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
305 * gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
306 (Reported by Charles Levert <charles@comm.polymtl.ca>)
308 Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
310 * Released GLib 1.2.3
312 1999-05-08 Tor Lillqvist <tml@iki.fi>
314 * Makefile.am tests/Makefile.am: Correct rules for making the
315 win32-related files that are made from corresponding .in files.
316 Is there a cleaner way than explicitly writing rules that invoke
319 Sat May 1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
325 * ltmain.sh: upgrade to libtool 1.3
327 1999-04-30 Tor Lillqvist <tml@iki.fi>
329 * Makefile.am: Don't distribute glibconfig.h.win32.in, but
330 glibconfig.h.win32. Generate it when making a dist. Also generate
331 makefile.msc and config.h.win32 from corresponding .in files when
334 * configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
335 @GLIB_BINARY_AGE@ (needed in config.h.win32).
337 * glibconfig.h.win32.in: Use static mutex structure and initial
338 value corresponding to the 1999-04-07 snapshot of pthreads-win32.
340 * tests/Makefile.am: Distribute makefile.msc. Generate it when
343 * tests/makefile.msc.in: New file.
345 * tests/node-test.c: Include <stdlib.h> for exit().
347 Thu Apr 29 02:16:36 1999 Tim Janik <timj@gtk.org>
349 * gstrfuncs.c: minor code cleanups.
351 Tue Apr 27 13:11:29 1999 Owen Taylor <otaylor@redhat.com>
353 * gmain.c (g_main_poll): Mask out ERR HUP and NVAL from
354 the events field so we don't give IRIX fits.
356 Tue Apr 20 08:42:22 1999 Tim Janik <timj@gtk.org>
358 * gscanner.c (g_scanner_unexp_token): behave conservative with
359 G_TOKEN_IDENTIFIER_NULL and always assume scanner->value.v_string
360 to be "null" in that case.
362 1999-04-20 Havoc Pennington <hp@pobox.com>
364 * gutils.c (g_vsnprintf): When using the vsnprintf()
365 implementation, '\0'-terminate the resulting string
366 and return its length rather than -1.
368 Mon Apr 19 13:42:21 1999 Owen Taylor <otaylor@redhat.com>
370 * gmain.c (g_main_iterate): Added missing
371 #ifdef G_THREADS_ENABLED. (I never liked G_THREADS_ENABLED in
374 1999-04-18 Havoc Pennington <hp@pobox.com>
376 * gutils.c (g_snprintf): When using the vsnprintf()
377 implementation, '\0'-terminate the resulting string
378 and return its length rather than -1.
380 Fri Apr 16 06:52:07 1999 Tim Janik <timj@gtk.org>
382 * gscanner.c (g_scanner_unexp_token): feature G_TOKEN_EOF as a valid
383 expected token as well, so we get "- expected end of file" instead of
384 "- expected (unknown) token <0>".
386 Tue Apr 13 16:16:14 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
388 * Released GLib 1.2.2
390 1999-04-12 Elliot Lee <sopwith@mh69.mh.cuc.edu>
392 * g_strchug(): s/strcpy/memmove/
394 1999-04-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
396 * configure.in: Adjusted the test for an unimplemented
397 getpwuid_r. Info from Michael Pruett <mikep@ugcs.caltech.edu>.
399 Sun Apr 11 15:07:34 1999 Tim Janik <timj@gtk.org>
401 * configure.in: bumped versin number to GLib 1.2.2, interface 2,
406 Sun Apr 11 14:37:06 1999 Tim Janik <timj@gtk.org>
408 * gstrfuncs.c (g_strcasecmp): always check for s1, s2 != NULL.
410 Sat Apr 10 19:30:50 1999 Tim Janik <timj@gtk.org>
412 * glib.h: removed braces around inline strings for the G_GNUC_FUNCTION
413 and G_GNUC_PRETTY_FUNCTION macros, so the macros can be used for compile
414 time string concatenation.
416 Thu Apr 8 19:53:19 1999 Owen Taylor <otaylor@redhat.com>
418 * gmain.c (g_main_iterate): Check for two threads
419 calling g_main_iterate at once.
421 * gmain.c: If the set of poll file descriptors changes
422 during a call to poll(), abort that call, and start
423 a new poll. My test program still segfaults
424 obscurely on glibc 2.0 (in read()!!!), but now it works on
425 glibc 2.1, so I'll blame something else for the other segfault.
427 1999-03-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
429 * configure.in: Fixed slight bug, that made configure hang on some
430 systems. Please do not merge this into 1.3 branch. It's taken care
431 of differently there. Info from J. Rhett Aultman
432 <cuplan@alley.gator.net>
434 Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
436 * Released GLib 1.2.1
441 sanity_check: updated
443 * glibconfig.h.win32.in:
445 docs/glib-config.1.in:
446 docs/Makefile.am: Added files used to generate new files.
448 * glibconfig.h.win32:
449 docs/glib-config.1: Removed, now generated.
451 * configure.in: Added to output now-generated files.
453 Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
455 * giounix.c: add user_data param to check and prepare functions
457 Mon Mar 22 03:54:43 1999 Tim Janik <timj@gtk.org>
460 * gmain.c: add user_data to the GSource ->check and ->prepare functions,
461 so it can be used to e.g. pass a GPollFd.
462 (g_main_poll): only add poll records with an events mask != 0 to the
463 fd_array. don't even bother calling poll_func() if fds=timeout=0.
464 added debugging printouts around poll_func() invokation that can be
465 enabled with #define G_MAIN_POLL_DEBUG.
467 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
473 * ltmain.sh: upgrade to libtool 1.2f
475 * autogen.sh: libtool is not required to autogen glib
477 * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
480 1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
482 * gmem.c: Fixed another stupid fault of mine: Did
483 s/g_static_/g_private_/g
485 Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
487 * configure.in bumped versin number to GLib 1.2.1, interface 1,
492 * glib.h: added GLIB_CHECK_VERSION() macro similar to
495 Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
497 * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
498 to g_return_if_fail().
501 (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
504 * gtimer.c (g_timer_*): changed a bunch of g_assert() statements
505 to g_return_if_fail().
506 * grel.c (g_*): changed a bunch of g_assert() statements to
507 g_return_if_fail() and added some extra ones to check relation != NULL.
509 1999-03-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
511 * configure.in: Also accept _Pctime_r instead of ctime_r, while
512 seraching for the right `_REENTRANT' flag. This is for Digital
513 UNIX 4.0d. Thanks to Sascha Brawer <sb@adasys.ch>.
515 Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
517 * configure.in: check for working realloc (NULL,).
518 * gmem.c (g_realloc): use malloc() for initial allocation on systems
519 where realloc(NULL,) will not work (this is the case on SunOS, reported
522 Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
524 * ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
525 flag around the call to g_hook_free() to avoid spurious
526 warnings (happens during destruction phase).
528 1999-03-03 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
530 * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
531 from config.h.win32 to glibconfig.h.win32
533 * acconfig.h, configure.in, config.h.win32: Added test for DCE
534 versions of mutex_trylock and cond_timedwait. The win32 versions
535 are posix, aren't they?
537 1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
539 * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
540 Friedrich Dominicus <Friedrich.Dominicus@inka.de>
542 1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
544 * gutils.c (g_get_any_init): Fixed yet another bloody
545 implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
546 <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
547 test better than that, but have no idea, how to do that easily.
549 Sun Feb 21 22:11:51 CST 1999 Shawn T. Amundson <amundson@gtk.org>
551 * Released GLib 1.2.0
555 Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
557 * *.[ch]: inserted additional note to look for ChangeLog and
558 AUTHORS file for a log of modifications.
560 Sun Feb 21 14:01:00 1999 Dr Mike <drmike@redhat.com>
562 * Made specfile generated, tweaked slightly
564 Sat May 8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
568 gthread/Makefile.am: Better testing reveals better
569 methods. Fixes for BeOS.
571 Sat May 8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
582 gmodule/gmoduleconf.h.in
583 gmodule/gmodule-beos.c
584 gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
586 1999-05-06 Tor Lillqvist <tml@iki.fi>
588 * makefile.msc.in makefile.cygwin.in glibconfig.h.win32.in
589 config.h.win32.in tests/makefile.msc.in tests/makefile.cygwin.in:
590 New files, used to generate corresponding non-.in files when
591 making a dist. This is just so the version numbers will be kept in
594 * configure.in: Also substitute @GLIB_MAJOR_VERSION@,
595 @GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
597 * Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
599 * gerror.c (g_on_error_query): On Win32, put up a MessageBox and
602 * glib.def: Add a couple of functions.
604 Sat May 1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
610 * ltmain.sh: upgrade to libtool 1.3
612 1999-04-25 Tor Lillqvist <tml@iki.fi>
614 * README.win32: More editing.
615 * build-dll: Use gcc, not ld to link.
616 * glib.h: On native Win32 use _unlink().
617 * gscanner.c: Use corrent NATIVE_WIN32 feature test macro,
619 * gstring.c: Include <io.h> on Win32 for _read prototype.
620 * gutils.c: Remove old IO channel code (was in #if 0).
621 * makefile.cygwin: Don't need to link with kernel32 and msvcrt
622 explicitly, they are included anyway.
624 1999-04-24 Tor Lillqvist <tml@iki.fi>
626 Support added for building using a GNU toolchain on Win32,
627 i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2).
629 * README.win32: Updated.
630 * build-dll makefile.cygwin tests/makefile.cygwin: New files.
631 * glib.h glib.def glibconfig.h.win32: Slight updates.
632 * gmain.c: No need to include <fcntl.h> and <io.h> on Win32.
633 * gmain.c gutils.c testglib.c tests/string-test.c: Test for
634 NATIVE_WIN32, not _MSC_VER.
635 * gmutex.c: Must declare g_thread_functions_for_glib_use as
636 exported (using the GUTILS_C_VAR macro).
637 * gutils.c gmodule/libgplugin_[ab].c: LibMain not needed.
638 * gmodule/gmoduleconf.h.win32: Need underscore with gcc.
639 * gthread/gthread.c: With gcc on Win32, must use memcpy to assign
640 value of g_thread_functions_for_glib_use (?).
641 * makefile.msc tests/makefile.msc: Cosmetics.
643 Fri Apr 23 14:29:25 BST 1999 Tony Gale <gale@gtk.org>
645 * glib.h: Fix typo in g_string_ncasecmp macro (by me).
646 Add b_string_strncasecmp macro.
648 1999-04-22 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
650 * gutils.c (g_get_any_init): use sysconf (_SC_GETPW_R_SIZE_MAX) as
651 the new initinal bufsize for getpwuid_r on systems, that support
652 this. Hint from Holger Duerer <H.Duerer@zait.uni-bremen.de>.
654 Sat Apr 17 20:55:13 BST 1999 Tony Gale <gale@gtk.org>
656 * glib.h, gstring.c: Add new g_string functions for reading
657 from file/socket descriptors, and tokenising strings.
659 Added various g_string macros.
661 Tue Apr 13 23:28:32 1999 Tor Lillqvist <tml@iki.fi>
663 * README.win32: Mention the tests directory.
665 * glib.def: Add the functions from grand.c.
667 * glibconfig.h.win32: Add unsigned max values, and the format
670 * makefile.msc: Add grand.
672 * tests/{date-test,node-test}.c: Include <stdlib.h> for exit().
674 * tests/makefile.msc: New file.
676 1999-04-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
678 * glib.h: Moved struct declaration up. Style fixes.
680 * grand.c: Style fixes. Only try to open /dev/random once.
682 * tests/rand-test.c (main): New tests; Slight bug fix.
684 1999-04-09 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
686 * grand.c, tests/rand-test.c: New files to implement the Mersenne
687 Twister Pseudo Random Number Generator.
689 * glib.h, AUTHORS, Makefile.am, tests/Makefile.am: Changed
692 Thu Apr 8 21:12:30 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
694 * Released GLib 1.3.0
696 1999-03-30 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
698 * configure.in: Added a check for the right format to printf and
699 scanf long longs. It is %qi instead of %lli on FreeBSD for
702 1999-03-28 Raja R Harinath <harinath@cs.umn.edu>
704 * Makefile.am (glibconfig.h): Make sure `glibconfig.h' exists
705 after the rule is fired.
706 (install-exec-local): Install glibconfig.h only if the contents
707 are different from the currently installed glibconfig.h.
709 1999-03-26 Raja R Harinath <harinath@cs.umn.edu>
711 * Makefile.am (configexecincludedir): Rename from
712 configincludedir so that glibconfig.h will be installed
713 as part of `make install-exec'.
715 Thu Mar 25 22:45:47 1999 Tor Lillqvist <tml@iki.fi>
717 * config.h.win32: Update version numbers.
719 * glibconfig.h.win32: Update version numbers and pthreads-win32-
720 related magic values.
722 * README.win32: Some improvements.
724 * makefile.msc: Add gqueue and gstack. Correct version number.
726 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
732 * ltmain.sh: upgrade to libtool 1.2f
734 * autogen.sh: libtool is not required to autogen glib
736 * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
739 1999-03-18 Jeff Garzik <jgarzik@pobox.com>
741 * glib.def: Add new g_list, g_stack, g_queue functions.
743 1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
745 * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
746 to hold various defines to get the right thread implementation on
747 different platforms. Also look in -ldce for pthread_create. Should
748 make it work on HP-UX 10.x. Information from "D. Emilio Grimaldo
749 Tunon" <emilio_tunon@nl.compuware.com>.
751 1999-03-17 Jeff Garzik <jgarzik@pobox.com>
753 * gstack.c, gqueue.c:
754 Add copyright, clean up code a bit.
756 1999-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
758 * configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
759 platforms with only /usr/include/values.h.
761 * acconfig.h: Removed unnecessary macros.
763 * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
764 from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
767 * configure.in: Also accept _Pctime_r instead of ctime_r, while
768 seraching for the right `_REENTRANT' flag. This is for Digital
769 UNIX 4.0d. Taken from glib 1.2 branch.
771 Wed Mar 17 03:14:56 1999 Tim Janik <timj@gtk.org>
773 * glib.h: added GLIB_CHECK_VERSION() macro similar to
776 Wed Mar 17 01:46:28 1999 Tim Janik <timj@gtk.org>
778 * merges from glib-1-2:
780 Sun Mar 14 17:50:35 1999 Tim Janik <timj@gtk.org>
782 * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
783 to g_return_if_fail().
786 (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
789 * gtimer.c (g_timer_*): changed a bunch of g_assert() statements
790 to g_return_if_fail().
791 * grel.c (g_*): changed a bunch of g_assert() statements to
792 g_return_if_fail() and added some extra ones to check relation != NULL.
794 Tue Mar 9 23:25:50 1999 Tim Janik <timj@gtk.org>
796 * configure.in: check for working realloc (NULL,).
797 * gmem.c (g_realloc): use malloc() for initial allocation on systems
798 where realloc(NULL,) will not work (this is the case on SunOS, reported
801 Mon Mar 8 07:42:08 1999 Tim Janik <timj@gtk.org>
803 * ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
804 flag around the call to g_hook_free() to avoid spurious
805 warnings (happens during destruction phase).
807 1999-03-02 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
809 * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
810 Friedrich Dominicus <Friedrich.Dominicus@inka.de>
812 1999-03-16 Timur Bakeyev <mc@bat.ru>
814 * configure.in: Fix problem with pthread_create in libc, as running
815 "gcc test.c -l " is not legal.
817 1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
819 * tests/type-test.c: Added a test for the
820 G_(U)?INT(16|32|64)_FORMAT and G_(MIN|MAX|MAXU)(SHORT|INT|LONG)
823 * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be
826 * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not
827 know how to handle these on platforms with /usr/include/values.h,
828 but without /usr/include/limits.h. Please someone add this.
831 1999-03-15 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
833 * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to
834 use for printf and (much more important) scanf format strings for
835 the corresponding GLib types.
837 * glib.h Added G_(U)?(SHORT|INT|LONG)_FORMAT for consistency. It
838 however makes no sense to also provide G_(FLOAT|DOUBLE)_FORMAT, as
839 they are different for printf (f for both) and scanf (f for float,
840 lf for double). Defining G_INT_FORMAT makes sense however, as we
841 might want to define gint to something different than int someday
842 in the future. Idea from Sascha Brawer <sb@adasys.ch>.
844 1999-03-14 Jeff Garzik <jgarzik@pobox.com>
847 Commented out debugging output.
849 * tests/Makefile.am, tests/date-test.c:
850 Added test of the GDate module, based closely on testgdate.c.
853 Bugfix - compile tests with @GLIB_DEBUG_FLAGS@.
855 1999-03-14 Raja R Harinath <harinath@cs.umn.edu>
857 * configure.in (glibconfig.h): Remove widechar tests and defines.
858 (fd_set): Change the grep for `fd_mask' to search for `fd_set'.
859 * gerror.c (fd_mask): Remove conditional typedef. It is not used
860 elsewhere in the file.
861 * gmain.c (fd_mask): Likewise.
863 1999-03-12 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
865 * configure.in: Test for posix threads first, then for dce threads.
867 1999-03-11 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
869 * configure.in: Revamped the thread configure stuff. Now dce
870 threads (old posix draft) are recogniced. This is necessary,
871 because dce threads are in fact working quite differently from
872 posix threads. Also changed the conditions for checking for MT
873 safe functions a bit, because G_THREADS_IMPL_NONE still have to
874 compile thread safe. NOTE: Please do not commit my change to
875 glib-1-2/{acconfig.h,configure.in,config.h.win32} from 1999-03-03,
876 as the current change will take care of that too.
878 Tue Mar 9 14:37:32 1999 Jeff Garzik <jgarzik@pobox.com>
880 * Makefile.am, glib.h, gstack.c, gqueue.c,
881 tests/Makefile.am, tests/queue-test.c, tests/stack-test.c:
882 Added stack, queue ADTs and related tests.
885 New g_list_delete() function.
887 Sat Mar 6 11:03:08 1999 Asbjorn Pettersen <ape@lrdpf.spacetec.no>
889 * gutils.c (g_get_any_init): add OS/2 changes.
890 change '\\' in HOME to '/'.
892 1999-03-03 Josh MacDonald <jmacd@spin.dsl.pacbell.net>
894 * glib.def: g_spaced_primes_closest was omitted here, so I
895 couldn't build Xdelta on Windows.
897 1999-03-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
899 * gutils.c (g_get_any_init): Fixed yet another bloody
900 implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
901 <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
902 test better than that, but have no idea, how to do that easily.
904 Sat Feb 27 01:18:47 1999 Tim Janik <timj@gtk.org>
906 * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
909 * configure.in: set glib version to 1.3.0.