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