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