in case we have to abort the program, debugging is enabled and we are not
[platform/upstream/glib.git] / ChangeLog
1 Mon Sep 13 23:25:59 1999  Tim Janik  <timj@gtk.org>
2
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.
7
8 Thu Aug 26 15:09:36 1999  Tim Janik  <timj@gtk.org>
9
10         * Makefile.am:
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).
14
15 1999-07-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
16
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>.
22
23 1999-08-17  Tor Lillqvist  <tml@iki.fi>
24
25         * glib.h (g_trash_stack_push): Add a cast.
26
27         * gslist.c
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.
31
32 Sun Aug 15 02:47:14 1999  Tim Janik  <timj@gtk.org>
33
34         * glib.h (g_trash_stack_pop): eliminate memset() call, since string.h
35         has not neccessarily been included prior to glib.h.
36
37 Mon Aug  2 21:03:10 1999  Tim Janik  <timj@gtk.org>
38
39         * configure.in: added --enable-msg-prefix option.
40
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).
44
45 1999-08-03  Tor Lillqvist  <tml@iki.fi>
46
47         * glib.h
48         * gstrfuncs.c
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
53         use max three.
54
55         Sources that use g_strescape must have ifdefs to be compilable
56         both with GLib 1.2 and 1.3.
57
58 Sat Jul 31 17:52:03 PDT 1999 Manish Singh <yosh@gimp.org>
59
60         * glib.h
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
64
65 1999-08-01  Tor Lillqvist  <tml@iki.fi>
66
67         * gstrfuncs.c (g_strccpy, g_strecpy): New functions.
68
69         * glib.h: Declare and document them. Define the deprecated
70         g_strescape as a macro that calls g_strecpy.
71
72         * tests/strfunc-test.c (main): Test them.
73
74         * makefile.{cygwin,msc}.in
75         * tests/makefile.{cygwin,msc}.in: Remove gstack and its test
76         program.
77
78         * glib.def: Additions and removals.
79
80         * README.win32: Improve gcc build instructions.
81
82         * build-dll: Also build import library for MSVC.
83
84 Sat Jul 24 20:11:35 1999  Tim Janik  <timj@gtk.org>
85
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.
88
89         * bumped version number to GLib-1.3.1
90
91         * glib.h:
92         * gqueue.c:
93         * gstring.c:
94         * glist.c:
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.
106
107         * gdate.c: added DEBUG_MSG() macro to wrap old messages.
108         
109         * *.*: CVS merges.
110
111         * upgrade to libtool 1.3.3.
112
113 1999-07-21  Tor Lillqvist  <tml@iki.fi>
114
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.
118
119         * README.win32: Renew gcc build instructions.
120
121         * build-dll: Comments change, handle also .a files.
122
123         * makefile.cygwin.in
124         * tests/makefile.cygwin.in: Remove .gcc from DLL name.
125         
126 1999-07-13  Tor Lillqvist  <tml@iki.fi>
127
128         * README.win32: Correct URL for mingw runtime sources.
129
130         * build-dll: Combine commands with &&.
131
132         * glib.h: Map also rmdir() and hypot() for MSVCRT library.
133
134         * makefile.cygwin.in
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.
138
139         * makefile.msc.in: Cosmetics.
140
141 1999-07-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
142
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>.
147
148 1999-07-02  Tor Lillqvist  <tml@iki.fi>
149
150         * README.win32: Note about need to fix another bug in the mingw32
151         headers.
152
153         * makefile.msc.in: Debugging turned on via an nmake variable,
154         no need to edit the makefile.
155
156 1999-07-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
157
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.
162
163         * glib.h: Updated the commentary about g_memmove to be right and
164         more GLib-like.
165         
166         * configure.in: Removed test for rand_r, as it isn't used anymore.
167
168 1999-06-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
169
170         * glib.h, grand.c: Finally removed the g_random_normal and
171         g_rand_normal functions.
172
173 1999-06-28  Tor Lillqvist  <tml@iki.fi>
174
175         * glib.def: Add missing export of g_strncasecmp.
176
177 1999-06-21  Jose Mercado  <jmercado@mit.edu>
178
179         * glib.spec.in: Changed version number (1.1->1.3) in files section
180         to allow rpm to build packages again.
181
182 1999-06-21  Tor Lillqvist  <tml@iki.fi>
183
184         * README.win32: Update the pthreads snapshot version we want.
185         Advice how to hand-expand the makefile.*.in files.
186
187         * config.h.win32.in: Define values needed by Sebastian Wilhelmi's
188         new thread stuff.
189
190         * glib.def: Add new functions.
191
192         * glibconfig.h.win32.in: Update the pthreads snapshot version.
193         Fix typo.
194
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.
198
199         * gtimer.c: Implement g_usleep on native Win32 using Sleep (which
200         only has millisecond granularity, though).
201         
202         * makefile.cygwin.in
203         * makefile.msc.in: Update pthreads snapshot version. File
204         name changes. Remove testgthread.
205
206         * tests/makefile.cygwin.in
207         * tests/makefile.msc.in: Add thread-test. Link with gthread lib.
208
209 1999-06-18  Jeff Garzik  <jgarzik@pobox.com>
210
211         * tests/Makefile.am:  Re-order tests in alpha order.
212
213 1999-06-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
214
215         * configure.in: Changed test for pthread_attr_setstacksize from
216         AC_TRY_COMPILE to AC_TRY_LINK.
217
218 1999-06-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
219
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.
227
228         * gtimer.c, glib.h: Implement g_usleep (gulong microseconds) for
229         thread safe sleeping. (sleep() is not MT-safe at all!)
230
231         * gutils.c: Avoid compiler warning.
232
233         * tests/Makefile.am, tests/thread-test.c: New program to test some
234         aspects of the thread implementation.
235
236         * gthread.c, Makefile.am: Renamed from gmutex.c to reflect the
237         change of content.
238
239         * configure.in: Purged all appearances of nspr. 
240
241 Wed Jun  2 11:42:46 PDT 1999 Manish Singh <yosh@gimp.org>
242
243         * acinclude.m4
244         * config.guess
245         * config.status
246         * ltconfig
247         * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
248
249 1999-05-29  Tor Lillqvist  <tml@iki.fi>
250
251         * gstrfuncs.c (g_strescape): Backslashify also '"' characters.
252
253         * glib.h: Document g_strescape.
254
255 1999-05-12  Tor Lillqvist  <tml@iki.fi>
256
257         * glib.h (Win32): Map fileno to _fileno for mingw32. Map fstat to
258         _fstat.
259
260         * README.win32: Advice also to remove -lmoldname in the
261         patch to the egcs-1.1.2 spec file.
262
263 Wed May 12 00:23:55 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
264
265         * gmodule/Makefile.am: Another small fix.
266
267 1999-05-08  Tor Lillqvist  <tml@iki.fi>
268
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
272         config.status?
273
274 Fri Jul 16 22:18:36 PDT 1999 Manish Singh <yosh@gimp.org>
275
276         * ltconfig
277         * ltmain.sh: upgrade to libtool 1.3.3
278
279 1999-06-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
280
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.
284
285 Thu Jun  3 16:30:31 PDT 1999 Manish Singh <yosh@gimp.org>
286
287         * gerror.c (g_on_error_query): check isatty() before querying so
288         we don't loop endlessly
289
290 Sat May 29 11:16:29 PDT 1999 Manish Singh <yosh@gimp.org>
291
292         * acinclude.m4
293         * config.guess
294         * config.status
295         * ltconfig
296         * ltmain.sh: upgrade to libtool 1.3.2
297
298 1999-05-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
299
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>.
302
303 Tue May 25 12:23:07 1999  Owen Taylor  <otaylor@redhat.com>
304
305         * gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
306         (Reported by Charles Levert <charles@comm.polymtl.ca>)
307
308 Mon May 10 22:03:52 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
309
310         * Released GLib 1.2.3
311
312 1999-05-08  Tor Lillqvist  <tml@iki.fi>
313
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
317         config.status?
318         
319 Sat May  1 10:18:01 PDT 1999 Manish Singh <yosh@gimp.org>
320
321         * acinclude.m4
322         * config.guess
323         * config.status
324         * ltconfig
325         * ltmain.sh: upgrade to libtool 1.3
326
327 1999-04-30  Tor Lillqvist  <tml@iki.fi>
328
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
332         making dist.
333
334         * configure.in: Also substitute @GLIB_INTERFACE_AGE@ and
335         @GLIB_BINARY_AGE@ (needed in config.h.win32).
336         
337         * glibconfig.h.win32.in: Use static mutex structure and initial
338         value corresponding to the 1999-04-07 snapshot of pthreads-win32.
339
340         * tests/Makefile.am: Distribute makefile.msc. Generate it when
341         making dist.
342
343         * tests/makefile.msc.in: New file.
344
345         * tests/node-test.c: Include <stdlib.h> for exit().
346
347 Thu Apr 29 02:16:36 1999  Tim Janik  <timj@gtk.org>
348
349         * gstrfuncs.c: minor code cleanups.
350
351 Tue Apr 27 13:11:29 1999  Owen Taylor  <otaylor@redhat.com>
352
353         * gmain.c (g_main_poll): Mask out ERR HUP and NVAL from
354         the events field so we don't give IRIX fits.
355
356 Tue Apr 20 08:42:22 1999  Tim Janik  <timj@gtk.org>
357
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.
361
362 1999-04-20  Havoc Pennington  <hp@pobox.com>
363
364         * gutils.c (g_vsnprintf):  When using the vsnprintf()
365         implementation, '\0'-terminate the resulting string
366         and return its length rather than -1.
367
368 Mon Apr 19 13:42:21 1999  Owen Taylor  <otaylor@redhat.com>
369
370         * gmain.c (g_main_iterate): Added missing
371         #ifdef G_THREADS_ENABLED. (I never liked G_THREADS_ENABLED in
372         the first place!)
373
374 1999-04-18  Havoc Pennington  <hp@pobox.com>
375
376         * gutils.c (g_snprintf): When using the vsnprintf()
377         implementation, '\0'-terminate the resulting string
378         and return its length rather than -1.
379
380 Fri Apr 16 06:52:07 1999  Tim Janik  <timj@gtk.org>
381
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>".
385
386 Tue Apr 13 16:16:14 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
387
388         * Released GLib 1.2.2
389
390 1999-04-12  Elliot Lee  <sopwith@mh69.mh.cuc.edu>
391
392         * g_strchug(): s/strcpy/memmove/
393
394 1999-04-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
395
396         * configure.in: Adjusted the test for an unimplemented
397         getpwuid_r. Info from Michael Pruett <mikep@ugcs.caltech.edu>.
398
399 Sun Apr 11 15:07:34 1999  Tim Janik  <timj@gtk.org>
400
401         * configure.in: bumped versin number to GLib 1.2.2, interface 2,
402         binary 2.
403         
404         * NEWS: updates.
405
406 Sun Apr 11 14:37:06 1999  Tim Janik  <timj@gtk.org>
407
408         * gstrfuncs.c (g_strcasecmp): always check for s1, s2 != NULL.
409
410 Sat Apr 10 19:30:50 1999  Tim Janik  <timj@gtk.org>
411
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.
415
416 Thu Apr  8 19:53:19 1999  Owen Taylor  <otaylor@redhat.com>
417
418         * gmain.c (g_main_iterate): Check for two threads
419         calling g_main_iterate at once.
420
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.
426
427 1999-03-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
428
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>
433         
434 Wed Mar 24 21:23:47 CST 1999 Shawn T. Amundson <amundson@gtk.org>
435
436         * Released GLib 1.2.1
437
438         * README:
439           INSTALL: 
440           NEWS: 
441           sanity_check: updated
442
443         * glibconfig.h.win32.in:
444           Makefile.am:
445           docs/glib-config.1.in:
446           docs/Makefile.am: Added files used to generate new files.
447
448         * glibconfig.h.win32:
449           docs/glib-config.1: Removed, now generated.
450
451         * configure.in: Added to output now-generated files.
452         
453 Tue Mar 23 13:43:39 PST 1999 Manish Singh <yosh@gimp.org>
454
455         * giounix.c: add user_data param to check and prepare functions
456
457 Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org>
458
459         * glib.h:
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.
466
467 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
468
469         * acinclude.m4
470         * config.guess
471         * config.sub
472         * ltconfig
473         * ltmain.sh: upgrade to libtool 1.2f
474
475         * autogen.sh: libtool is not required to autogen glib
476
477         * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
478         needed)
479
480 1999-03-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
481
482         * gmem.c: Fixed another stupid fault of mine: Did
483         s/g_static_/g_private_/g
484
485 Wed Mar 17 03:17:42 1999  Tim Janik  <timj@gtk.org>
486         
487         * configure.in bumped versin number to GLib 1.2.1, interface 1,
488         binary 1.
489         
490         * NEWS: updates.
491
492         * glib.h: added GLIB_CHECK_VERSION() macro similar to
493         GTK_CHECK_VERSION().
494
495 Sun Mar 14 17:50:35 1999  Tim Janik  <timj@gtk.org>
496
497         * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
498         to g_return_if_fail().
499         (g_mem_profile): 
500         (g_mem_chunk_print): 
501         (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
502         messages.
503
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.
508
509 1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
510
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>.
514
515 Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>
516
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
520         by Tom Geiger).
521
522 Mon Mar  8 07:42:08 1999  Tim Janik  <timj@gtk.org>
523
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).
527
528 1999-03-03  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
529
530         * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
531         from config.h.win32 to glibconfig.h.win32
532
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?
536
537 1999-03-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
538
539         * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
540         Friedrich Dominicus <Friedrich.Dominicus@inka.de>
541
542 1999-03-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
543
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.
548
549 Sun Feb 21 22:11:51 CST 1999  Shawn T. Amundson <amundson@gtk.org>
550
551         * Released GLib 1.2.0
552
553         * AUTHORS: updated
554
555 Wed Feb 24 00:08:42 CST 1999 Shawn T. Amundson <amundson@gtk.org>
556
557         * *.[ch]: inserted additional note to look for ChangeLog and
558           AUTHORS file for a log of modifications.
559
560 Sun Feb 21 14:01:00 1999  Dr Mike <drmike@redhat.com>
561
562         * Made specfile generated, tweaked slightly
563         
564 Sat May  8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
565
566         * configure.in
567           gmodule/Makefile.am
568           gthread/Makefile.am: Better testing reveals better
569           methods.  Fixes for BeOS.
570
571 Sat May  8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
572
573         * configure.in
574           gerror.c
575           gmain.c
576           gstrfuncs.c
577           gutils.c
578           ltconfig
579           ltmain.sh
580           gmodule/Makefile.am
581           gmodule/gmodule.c
582           gmodule/gmoduleconf.h.in
583           gmodule/gmodule-beos.c
584           gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
585
586 1999-05-06  Tor Lillqvist  <tml@iki.fi>
587
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
592         synch automatically.
593
594         * configure.in: Also substitute @GLIB_MAJOR_VERSION@,
595         @GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
596         
597         * Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
598         
599         * gerror.c (g_on_error_query): On Win32, put up a MessageBox and
600         then exit.
601
602         * glib.def: Add a couple of functions.
603         
604 Sat May  1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
605
606         * acinclude.m4
607         * config.guess
608         * config.status
609         * ltconfig
610         * ltmain.sh: upgrade to libtool 1.3
611
612 1999-04-25  Tor Lillqvist  <tml@iki.fi>
613
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,
618         not _MSC_VER.
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.
623
624 1999-04-24  Tor Lillqvist  <tml@iki.fi>
625
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).
628
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.
642
643 Fri Apr 23 14:29:25 BST 1999  Tony Gale <gale@gtk.org>
644
645         * glib.h: Fix typo in g_string_ncasecmp macro (by me).
646           Add b_string_strncasecmp macro.
647
648 1999-04-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
649
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>.
653
654 Sat Apr 17 20:55:13 BST 1999  Tony Gale <gale@gtk.org>
655
656         * glib.h, gstring.c: Add new g_string functions for reading
657           from file/socket descriptors, and tokenising strings.
658
659           Added various g_string macros.
660
661 Tue Apr 13 23:28:32 1999  Tor Lillqvist  <tml@iki.fi>
662
663         * README.win32: Mention the tests directory.
664
665         * glib.def: Add the functions from grand.c.
666
667         * glibconfig.h.win32: Add unsigned max values, and the format
668         strings.
669
670         * makefile.msc: Add grand.
671
672         * tests/{date-test,node-test}.c: Include <stdlib.h> for exit().
673
674         * tests/makefile.msc: New file.
675
676 1999-04-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
677
678         * glib.h: Moved struct declaration up. Style fixes.
679
680         * grand.c: Style fixes. Only try to open /dev/random once.
681
682         * tests/rand-test.c (main): New tests; Slight bug fix. 
683
684 1999-04-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
685
686         * grand.c, tests/rand-test.c: New files to implement the Mersenne
687         Twister Pseudo Random Number Generator.
688
689         * glib.h, AUTHORS, Makefile.am, tests/Makefile.am: Changed
690         accordingly.
691
692 Thu Apr  8 21:12:30 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
693
694         * Released GLib 1.3.0
695
696 1999-03-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
697
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
700         whatever reason.
701
702 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
703
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.
708
709 1999-03-26  Raja R Harinath  <harinath@cs.umn.edu>
710
711         * Makefile.am (configexecincludedir): Rename from 
712         configincludedir so that glibconfig.h will be installed 
713         as part of `make install-exec'. 
714
715 Thu Mar 25 22:45:47 1999  Tor Lillqvist  <tml@iki.fi>
716
717         * config.h.win32: Update version numbers.
718
719         * glibconfig.h.win32: Update version numbers and pthreads-win32-
720         related magic values.
721
722         * README.win32: Some improvements.
723
724         * makefile.msc: Add gqueue and gstack. Correct version number.
725
726 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
727
728         * acinclude.m4
729         * config.guess
730         * config.sub
731         * ltconfig
732         * ltmain.sh: upgrade to libtool 1.2f
733
734         * autogen.sh: libtool is not required to autogen glib
735
736         * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
737         needed)
738
739 1999-03-18  Jeff Garzik  <jgarzik@pobox.com>
740
741         * glib.def: Add new g_list, g_stack, g_queue functions.
742
743 1999-03-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
744
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>.
750
751 1999-03-17  Jeff Garzik  <jgarzik@pobox.com>
752
753         * gstack.c, gqueue.c:
754         Add copyright, clean up code a bit.
755
756 1999-03-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
757
758         * configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
759         platforms with only /usr/include/values.h.
760
761         * acconfig.h: Removed unnecessary macros.
762
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
765         branch.
766
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.
770
771 Wed Mar 17 03:14:56 1999  Tim Janik  <timj@gtk.org>
772
773         * glib.h: added GLIB_CHECK_VERSION() macro similar to
774         GTK_CHECK_VERSION().
775
776 Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
777
778         * merges from glib-1-2:
779         
780 Sun Mar 14 17:50:35 1999  Tim Janik  <timj@gtk.org>
781
782         * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
783         to g_return_if_fail().
784         (g_mem_profile):
785         (g_mem_chunk_print):
786         (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
787         messages.
788
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.
793
794 Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>
795
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
799         by Tom Geiger).
800
801 Mon Mar  8 07:42:08 1999  Tim Janik  <timj@gtk.org>
802
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).
806
807 1999-03-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
808
809         * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
810         Friedrich Dominicus <Friedrich.Dominicus@inka.de>
811
812 1999-03-16  Timur Bakeyev  <mc@bat.ru>
813
814         * configure.in: Fix problem with pthread_create in libc, as running
815         "gcc test.c -l " is not legal.
816
817 1999-03-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
818
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)
821         macros.
822
823         * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be
824         used for scanf.
825
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.
829
830
831 1999-03-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
832
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. 
836
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>.
843         
844 1999-03-14  Jeff Garzik  <jgarzik@pobox.com>
845
846         * gdate.c:
847         Commented out debugging output.
848
849         * tests/Makefile.am, tests/date-test.c:
850         Added test of the GDate module, based closely on testgdate.c.
851
852         * tests/Makefile.am:
853         Bugfix - compile tests with @GLIB_DEBUG_FLAGS@.
854
855 1999-03-14  Raja R Harinath  <harinath@cs.umn.edu>
856
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.
862
863 1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
864
865         * configure.in: Test for posix threads first, then for dce threads.
866
867 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
868
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.
877
878 Tue Mar  9 14:37:32 1999  Jeff Garzik  <jgarzik@pobox.com>
879
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.
883
884         * glib.h, glist.c:
885         New g_list_delete() function.
886
887 Sat Mar  6 11:03:08 1999  Asbjorn Pettersen  <ape@lrdpf.spacetec.no>
888
889         * gutils.c (g_get_any_init): add OS/2 changes.
890         change '\\' in HOME to '/'.
891
892 1999-03-03  Josh MacDonald  <jmacd@spin.dsl.pacbell.net>
893
894         * glib.def: g_spaced_primes_closest was omitted here, so I
895         couldn't build Xdelta on Windows.
896
897 1999-03-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
898
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.
903
904 Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
905
906         * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
907         new one.
908
909         * configure.in: set glib version to 1.3.0.