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