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