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