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