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