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