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