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