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