Add missing export of g_strncasecmp.
[platform/upstream/glib.git] / ChangeLog.pre-2-4
1 1999-06-28  Tor Lillqvist  <tml@iki.fi>
2
3         * glib.def: Add missing export of g_strncasecmp.
4
5 1999-06-21  Jose Mercado  <jmercado@mit.edu>
6
7         * glib.spec.in: Changed version number (1.1->1.3) in files section
8         to allow rpm to build packages again.
9
10 1999-06-21  Tor Lillqvist  <tml@iki.fi>
11
12         * README.win32: Update the pthreads snapshot version we want.
13         Advice how to hand-expand the makefile.*.in files.
14
15         * config.h.win32.in: Define values needed by Sebastian Wilhelmi's
16         new thread stuff.
17
18         * glib.def: Add new functions.
19
20         * glibconfig.h.win32.in: Update the pthreads snapshot version.
21         Fix typo.
22
23         * gthread.c: Include config.h, guard inclusion of unistd.h.  When
24         using gcc on Win32, g_thread_functions_for_glib_use must be marked
25         for export here, too.
26
27         * gtimer.c: Implement g_usleep on native Win32 using Sleep (which
28         only has millisecond granularity, though).
29         
30         * makefile.cygwin.in
31         * makefile.msc.in: Update pthreads snapshot version. File
32         name changes. Remove testgthread.
33
34         * tests/makefile.cygwin.in
35         * tests/makefile.msc.in: Add thread-test. Link with gthread lib.
36
37 1999-06-18  Jeff Garzik  <jgarzik@pobox.com>
38
39         * tests/Makefile.am:  Re-order tests in alpha order.
40
41 1999-06-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
42
43         * configure.in: Changed test for pthread_attr_setstacksize from
44         AC_TRY_COMPILE to AC_TRY_LINK.
45
46 1999-06-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
47
48         * configure.in, acglib.m4, acconfig.h, glib.h, gthread.c:
49         Completed the thread support in GLib. Thread creation,
50         prioritizing threads, yielding, joining threads as well as
51         reader/writer locks and recursive mutexes are now in place. Please
52         test heavily on your platform. It is so far tested on
53         Linux/i386/pthreads, Solaris/Sparc/pthreads and
54         Solaris/Sparc/solaristhreads.
55
56         * gtimer.c, glib.h: Implement g_usleep (gulong microseconds) for
57         thread safe sleeping. (sleep() is not MT-safe at all!)
58
59         * gutils.c: Avoid compiler warning.
60
61         * tests/Makefile.am, tests/thread-test.c: New program to test some
62         aspects of the thread implementation.
63
64         * gthread.c, Makefile.am: Renamed from gmutex.c to reflect the
65         change of content.
66
67         * configure.in: Purged all appearances of nspr. 
68
69 Wed Jun  2 11:42:46 PDT 1999 Manish Singh <yosh@gimp.org>
70
71         * acinclude.m4
72         * config.guess
73         * config.status
74         * ltconfig
75         * ltmain.sh: upgrade to libtool 1.3.2 (BeOS changes merged)
76
77 1999-05-29  Tor Lillqvist  <tml@iki.fi>
78
79         * gstrfuncs.c (g_strescape): Backslashify also '"' characters.
80
81         * glib.h: Document g_strescape.
82
83 1999-05-12  Tor Lillqvist  <tml@iki.fi>
84
85         * glib.h (Win32): Map fileno to _fileno for mingw32. Map fstat to
86         _fstat.
87
88         * README.win32: Advice also to remove -lmoldname in the
89         patch to the egcs-1.1.2 spec file.
90
91 Wed May 12 00:23:55 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
92
93         * gmodule/Makefile.am: Another small fix.
94
95 1999-05-08  Tor Lillqvist  <tml@iki.fi>
96
97         * Makefile.am tests/Makefile.am: Correct rules for making the
98         win32-related files that are made from corresponding .in files.
99         Is there a cleaner way than explicitly writing rules that invoke
100         config.status?
101         
102 Sat May  8 06:00:17 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
103
104         * configure.in
105           gmodule/Makefile.am
106           gthread/Makefile.am: Better testing reveals better
107           methods.  Fixes for BeOS.
108
109 Sat May  8 01:52:29 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
110
111         * configure.in
112           gerror.c
113           gmain.c
114           gstrfuncs.c
115           gutils.c
116           ltconfig
117           ltmain.sh
118           gmodule/Makefile.am
119           gmodule/gmodule.c
120           gmodule/gmoduleconf.h.in
121           gmodule/gmodule-beos.c
122           gthread/Makefile.am: Port to BeOS by myself and Richard Offer.
123
124 1999-05-06  Tor Lillqvist  <tml@iki.fi>
125
126         * makefile.msc.in makefile.cygwin.in glibconfig.h.win32.in
127         config.h.win32.in tests/makefile.msc.in tests/makefile.cygwin.in:
128         New files, used to generate corresponding non-.in files when
129         making a dist. This is just so the version numbers will be kept in
130         synch automatically.
131
132         * configure.in: Also substitute @GLIB_MAJOR_VERSION@,
133         @GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.
134         
135         * Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.
136         
137         * gerror.c (g_on_error_query): On Win32, put up a MessageBox and
138         then exit.
139
140         * glib.def: Add a couple of functions.
141         
142 Sat May  1 10:26:20 PDT 1999 Manish Singh <yosh@gimp.org>
143
144         * acinclude.m4
145         * config.guess
146         * config.status
147         * ltconfig
148         * ltmain.sh: upgrade to libtool 1.3
149
150 1999-04-25  Tor Lillqvist  <tml@iki.fi>
151
152         * README.win32: More editing.
153         * build-dll: Use gcc, not ld to link.
154         * glib.h: On native Win32 use _unlink().
155         * gscanner.c: Use corrent NATIVE_WIN32 feature test macro,
156         not _MSC_VER.
157         * gstring.c: Include <io.h> on Win32 for _read prototype.
158         * gutils.c: Remove old IO channel code (was in #if 0).
159         * makefile.cygwin: Don't need to link with kernel32 and msvcrt
160         explicitly, they are included anyway.
161
162 1999-04-24  Tor Lillqvist  <tml@iki.fi>
163
164         Support added for building using a GNU toolchain on Win32,
165         i.e. gcc -mno-cygwin on cygwin (a.k.a. mingw32, using egcs-1.1.2).
166
167         * README.win32: Updated.
168         * build-dll makefile.cygwin tests/makefile.cygwin: New files.
169         * glib.h glib.def glibconfig.h.win32: Slight updates. 
170         * gmain.c: No need to include <fcntl.h> and <io.h> on Win32.
171         * gmain.c gutils.c testglib.c tests/string-test.c: Test for
172         NATIVE_WIN32, not _MSC_VER.
173         * gmutex.c: Must declare g_thread_functions_for_glib_use as
174         exported (using the GUTILS_C_VAR macro).
175         * gutils.c gmodule/libgplugin_[ab].c: LibMain not needed.
176         * gmodule/gmoduleconf.h.win32: Need underscore with gcc.
177         * gthread/gthread.c: With gcc on Win32, must use memcpy to assign
178         value of g_thread_functions_for_glib_use (?).
179         * makefile.msc tests/makefile.msc: Cosmetics.
180
181 Fri Apr 23 14:29:25 BST 1999  Tony Gale <gale@gtk.org>
182
183         * glib.h: Fix typo in g_string_ncasecmp macro (by me).
184           Add b_string_strncasecmp macro.
185
186 1999-04-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
187
188         * gutils.c (g_get_any_init): use sysconf (_SC_GETPW_R_SIZE_MAX) as
189         the new initinal bufsize for getpwuid_r on systems, that support
190         this. Hint from Holger Duerer <H.Duerer@zait.uni-bremen.de>.
191
192 Sat Apr 17 20:55:13 BST 1999  Tony Gale <gale@gtk.org>
193
194         * glib.h, gstring.c: Add new g_string functions for reading
195           from file/socket descriptors, and tokenising strings.
196
197           Added various g_string macros.
198
199 Tue Apr 13 23:28:32 1999  Tor Lillqvist  <tml@iki.fi>
200
201         * README.win32: Mention the tests directory.
202
203         * glib.def: Add the functions from grand.c.
204
205         * glibconfig.h.win32: Add unsigned max values, and the format
206         strings.
207
208         * makefile.msc: Add grand.
209
210         * tests/{date-test,node-test}.c: Include <stdlib.h> for exit().
211
212         * tests/makefile.msc: New file.
213
214 1999-04-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
215
216         * glib.h: Moved struct declaration up. Style fixes.
217
218         * grand.c: Style fixes. Only try to open /dev/random once.
219
220         * tests/rand-test.c (main): New tests; Slight bug fix. 
221
222 1999-04-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
223
224         * grand.c, tests/rand-test.c: New files to implement the Mersenne
225         Twister Pseudo Random Number Generator.
226
227         * glib.h, AUTHORS, Makefile.am, tests/Makefile.am: Changed
228         accordingly.
229
230 Thu Apr  8 21:12:30 CDT 1999 Shawn T. Amundson <amundson@gtk.org>
231
232         * Released GLib 1.3.0
233
234 1999-03-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
235
236         * configure.in: Added a check for the right format to printf and
237         scanf long longs. It is %qi instead of %lli on FreeBSD for
238         whatever reason.
239
240 1999-03-28  Raja R Harinath  <harinath@cs.umn.edu>
241
242         * Makefile.am (glibconfig.h): Make sure `glibconfig.h' exists
243         after the rule is fired.
244         (install-exec-local): Install glibconfig.h only if the contents
245         are different from the currently installed glibconfig.h.
246
247 1999-03-26  Raja R Harinath  <harinath@cs.umn.edu>
248
249         * Makefile.am (configexecincludedir): Rename from 
250         configincludedir so that glibconfig.h will be installed 
251         as part of `make install-exec'. 
252
253 Thu Mar 25 22:45:47 1999  Tor Lillqvist  <tml@iki.fi>
254
255         * config.h.win32: Update version numbers.
256
257         * glibconfig.h.win32: Update version numbers and pthreads-win32-
258         related magic values.
259
260         * README.win32: Some improvements.
261
262         * makefile.msc: Add gqueue and gstack. Correct version number.
263
264 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>
265
266         * acinclude.m4
267         * config.guess
268         * config.sub
269         * ltconfig
270         * ltmain.sh: upgrade to libtool 1.2f
271
272         * autogen.sh: libtool is not required to autogen glib
273
274         * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly
275         needed)
276
277 1999-03-18  Jeff Garzik  <jgarzik@pobox.com>
278
279         * glib.def: Add new g_list, g_stack, g_queue functions.
280
281 1999-03-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
282
283         * configure.in: added new AC_SUBST(GTHREAD_COMPILE_IMPL_DEFINES)
284         to hold various defines to get the right thread implementation on
285         different platforms. Also look in -ldce for pthread_create. Should
286         make it work on HP-UX 10.x. Information from "D. Emilio Grimaldo
287         Tunon" <emilio_tunon@nl.compuware.com>.
288
289 1999-03-17  Jeff Garzik  <jgarzik@pobox.com>
290
291         * gstack.c, gqueue.c:
292         Add copyright, clean up code a bit.
293
294 1999-03-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
295
296         * configure.in: Added missing values for G_MAXU(SHORT|INT|LONG) on
297         platforms with only /usr/include/values.h.
298
299         * acconfig.h: Removed unnecessary macros.
300
301         * glibconfig.h.win32, config.h.win32: Moved G_THREADS_IMPL_POSIX
302         from config.h.win32 to glibconfig.h.win32. Taken from glib 1.2
303         branch.
304
305         * configure.in: Also accept _Pctime_r instead of ctime_r, while
306         seraching for the right `_REENTRANT' flag. This is for Digital
307         UNIX 4.0d. Taken from glib 1.2 branch.
308
309 Wed Mar 17 03:14:56 1999  Tim Janik  <timj@gtk.org>
310
311         * glib.h: added GLIB_CHECK_VERSION() macro similar to
312         GTK_CHECK_VERSION().
313
314 Wed Mar 17 01:46:28 1999  Tim Janik  <timj@gtk.org>
315
316         * merges from glib-1-2:
317         
318 Sun Mar 14 17:50:35 1999  Tim Janik  <timj@gtk.org>
319
320         * gmem.c (g_mem_chunk_*): changed a bunch of g_assert() statements
321         to g_return_if_fail().
322         (g_mem_profile):
323         (g_mem_chunk_print):
324         (g_mem_chunk_info): removed some extraneous "\n"s at the end of the log
325         messages.
326
327         * gtimer.c (g_timer_*): changed a bunch of g_assert() statements
328         to g_return_if_fail().
329         * grel.c (g_*): changed a bunch of g_assert() statements to
330         g_return_if_fail() and added some extra ones to check relation != NULL.
331
332 Tue Mar  9 23:25:50 1999  Tim Janik  <timj@gtk.org>
333
334         * configure.in: check for working realloc (NULL,).
335         * gmem.c (g_realloc): use malloc() for initial allocation on systems
336         where realloc(NULL,) will not work (this is the case on SunOS, reported
337         by Tom Geiger).
338
339 Mon Mar  8 07:42:08 1999  Tim Janik  <timj@gtk.org>
340
341         * ghook.c (g_hook_unref): when !hook_list->is_setup, wrap the
342         flag around the call to g_hook_free() to avoid spurious
343         warnings (happens during destruction phase).
344
345 1999-03-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
346
347         * gmem.c: Fixed a stupid cut'n'paste error of mine. Thanks to
348         Friedrich Dominicus <Friedrich.Dominicus@inka.de>
349
350 1999-03-16  Timur Bakeyev  <mc@bat.ru>
351
352         * configure.in: Fix problem with pthread_create in libc, as running
353         "gcc test.c -l " is not legal.
354
355 1999-03-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
356
357         * tests/type-test.c: Added a test for the
358         G_(U)?INT(16|32|64)_FORMAT and G_(MIN|MAX|MAXU)(SHORT|INT|LONG)
359         macros.
360
361         * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be
362         used for scanf.
363
364         * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not
365         know how to handle these on platforms with /usr/include/values.h,
366         but without /usr/include/limits.h. Please someone add this.
367
368
369 1999-03-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
370
371         * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to
372         use for printf and (much more important) scanf format strings for
373         the corresponding GLib types. 
374
375         * glib.h Added G_(U)?(SHORT|INT|LONG)_FORMAT for consistency. It
376         however makes no sense to also provide G_(FLOAT|DOUBLE)_FORMAT, as
377         they are different for printf (f for both) and scanf (f for float,
378         lf for double). Defining G_INT_FORMAT makes sense however, as we
379         might want to define gint to something different than int someday
380         in the future. Idea from Sascha Brawer <sb@adasys.ch>.
381         
382 1999-03-14  Jeff Garzik  <jgarzik@pobox.com>
383
384         * gdate.c:
385         Commented out debugging output.
386
387         * tests/Makefile.am, tests/date-test.c:
388         Added test of the GDate module, based closely on testgdate.c.
389
390         * tests/Makefile.am:
391         Bugfix - compile tests with @GLIB_DEBUG_FLAGS@.
392
393 1999-03-14  Raja R Harinath  <harinath@cs.umn.edu>
394
395         * configure.in (glibconfig.h): Remove widechar tests and defines.
396         (fd_set): Change the grep for `fd_mask' to search for `fd_set'.
397         * gerror.c (fd_mask): Remove conditional typedef.  It is not used
398         elsewhere in the file.
399         * gmain.c (fd_mask): Likewise.
400
401 1999-03-12  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
402
403         * configure.in: Test for posix threads first, then for dce threads.
404
405 1999-03-11  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
406
407         * configure.in: Revamped the thread configure stuff. Now dce
408         threads (old posix draft) are recogniced. This is necessary,
409         because dce threads are in fact working quite differently from
410         posix threads. Also changed the conditions for checking for MT
411         safe functions a bit, because G_THREADS_IMPL_NONE still have to
412         compile thread safe. NOTE: Please do not commit my change to
413         glib-1-2/{acconfig.h,configure.in,config.h.win32} from 1999-03-03,
414         as the current change will take care of that too.
415
416 Tue Mar  9 14:37:32 1999  Jeff Garzik  <jgarzik@pobox.com>
417
418         * Makefile.am, glib.h, gstack.c, gqueue.c,
419           tests/Makefile.am, tests/queue-test.c, tests/stack-test.c:
420         Added stack, queue ADTs and related tests.
421
422         * glib.h, glist.c:
423         New g_list_delete() function.
424
425 Sat Mar  6 11:03:08 1999  Asbjorn Pettersen  <ape@lrdpf.spacetec.no>
426
427         * gutils.c (g_get_any_init): add OS/2 changes.
428         change '\\' in HOME to '/'.
429
430 1999-03-03  Josh MacDonald  <jmacd@spin.dsl.pacbell.net>
431
432         * glib.def: g_spaced_primes_closest was omitted here, so I
433         couldn't build Xdelta on Windows.
434
435 1999-03-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
436
437         * gutils.c (g_get_any_init): Fixed yet another bloody
438         implementation of getpwuid_r on AIX. Thanks to Olaf Dietsche
439         <olaf.dietsche+list.gtk@netcologne.de>. I would like a configure
440         test better than that, but have no idea, how to do that easily.
441
442 Sat Feb 27 01:18:47 1999  Tim Janik  <timj@gtk.org>
443
444         * ChangeLog: moved old ChangeLog to ChangeLog.pre-1-2, and started
445         new one.
446
447         * configure.in: set glib version to 1.3.0.