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