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