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