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