]> Pileus Git - ~andy/gtk/blob - glib/ChangeLog
preserve automake CFLAGS.
[~andy/gtk] / glib / ChangeLog
1 Mon May 11 09:53:43 1998  Tim Janik  <timj@gtk.org>
2
3         * configure.in: preserve automake CFLAGS.
4
5         * Makefile.am: fully rename the created library to libglib-1.1.la.
6         this means we need to change certain portions of the Makefile.am on
7         major/minor version bumps.
8
9         * ltmain.sh: the -release option is not required anymore.
10
11         * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
12         avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
13         MIN, ABS and CLAMP, these macros might be screwed from other headers.
14
15 Mon May 11 01:44:10 1998  Tim Janik  <timj@gtk.org>
16
17         * gdataset.c: new file, gdatasets implement the object data
18         mechanism from GtkObject. a generic data pointer is associated with
19         a certain location and a key id.
20
21 Sat May  9 20:08:12 1998  Owen Taylor  <otaylor@gtk.org>
22
23         * glib/gmem.c: Experimentally restore GMemChunk
24         to its primeval state - where mem areas are
25         freed incrementally instead of searching the tree
26         every time a mem area is completely empty. Also,
27         always keep one mem chunk around. (Reduced calls
28         to malloc() a lot, but doesn't really improve
29         performance significiantly)
30
31 Thu May  7 08:17:28 1998  Tim Janik  <timj@gtk.org>
32
33         * glib.h (G_GNUC_PRINTF):
34         (G_GNUC_SCANF): macros to facilitate the printf/scanf format argument
35         checking of gcc.
36
37         * gstring.c: const corrections, string!=NULL checks at function entry.
38         (g_string_down): new function for tolower(3) conversion.
39         (g_string_up): new function for toupper(3) conversion.
40
41         * gutils.c: const corrections.
42         (g_strdown): g_string_down() counterpart.
43         (g_strup): g_string_up() counterpart.
44
45         * gscanner.c (g_scanner_unexp_token):
46         (g_scanner_error):
47         (g_scanner_warn): new functions to let a scanner put out warnings
48         or errors, especially to react on unexpected tokens.
49
50         * gslist.c:
51         (g_slist_index): find out about about the position of a
52         certain data pointer.
53         (g_slist_position): find out about about the position of a
54         certain node.
55
56         * glist.c:
57         (g_list_index): find out about about the position of a
58         certain data pointer.
59
60 Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
61
62         * ltmain.sh: added a new commandline flag -postfix similar to -release,
63         but will immediately change the library name.
64
65         * Makefile.am: specify -postfix and -version-info
66
67         * configure.in: version bump to 1.1.0. added GLIB_INTERFACE_AGE and
68         GLIB_BINARY_AGE. calculate LT_* variables for libtool.
69
70 Fri May  1 16:36:08 1998  Owen Taylor  <otaylor@gtk.org>
71
72         * gutils.c: (g_strcasecmp). Check for isupper before
73         taking tolower, and account for macroized tolower.
74
75         * gutils.c (g_error): Check for recursion.
76
77 1998-04-27  Elliot Lee  <sopwith@cuc.ml.org>
78
79         * glist.c (g_list_position): New function to find the position of
80         a link in a list - should be the inverse of g_list_nth(), but
81         haven't tested it so poof.
82
83 Thu Apr 30 21:41:30 1998  Owen Taylor  <otaylor@gtk.org>
84
85         * gstring.c : Check arguments more carefully, 
86         (gtk-draco-980423-1.patch; ramsey@rhrk.uni-kl.de) 
87
88 Tue Apr  7 19:36:48 1998  Owen Taylor  <owt1@cornell.edu>
89
90         * gutils.c (g_direct_compare): Removed, because that's what
91         a NULL comparison function means. And it wasn't 64 bit safe.
92
93 Mon Apr  6 18:43:25 1998  Tim Janik  <timj@gtk.org>
94
95         * gscanner.c (g_scanner_get_token_ll): fixed a bug that caused floats
96         of the format ".xxx" to be parsed as "xxx".
97
98 Fri Apr  3 20:36:35 1998  Owen Taylor  <owt1@cornell.edu>
99
100         * gutils.c (g_parse_debug_string): Make debug string
101         parsine case-insensitive
102
103 Fri Apr  3 17:03:18 PST 1998 Manish Singh <yosh@gimp.org>
104
105         * gstring.c: corrected possible overrun when inserting into
106         GStrings (thanks Elrond)
107
108 Fri Apr  3 18:05:45 1998  Owen Taylor  <owt1@cornell.edu>
109
110         * testglib.c: Removed literal german from strings
111         to appease SGI compiler.
112         
113 Thu Mar 26 20:47:21 1998  Owen Taylor  <owt1@cornell.edu>
114
115         * configure.in glib glibconfig.h.in: Add test for atexit/on_exit -
116         use on_exit if atexit not found in definition of ATEXIT.
117
118 Wed Mar 25 15:23:37 1998  Owen Taylor  <owt1@cornell.edu>
119
120         * Makefile.am: Switched glibconfig.h rule from HEADERS
121         to DATA, so that it is not added to DISTFILES
122
123 Wed Mar 18 22:27:08 PST 1998 Manish Singh <yosh@gimp.org>
124
125         * garray.c: g_rarray_truncate length done correctly
126
127 Sun Mar 15 07:13:34 1998  Tim Janik  <timj@gimp.org>
128
129         * gutils.c: changed *_handler variables to be named glib_*_handler,
130         so you can easily access them from gdb.
131
132 Sat Mar 14 17:47:43 1998  Owen Taylor  <owt1@cornell.edu>
133
134         * Makefile.am: Don't refer to current directory as $(top_builddir)
135         to avoid confusing non-gmakes
136
137 Sat Mar 14 01:37:35 1998  Owen Taylor  <owt1@cornell.edu>
138
139         * Makefile.am (configincludedir): Moved glibconfig.h to
140           $(pkglibdir)/include
141
142 Tue Mar 10 02:03:12 1998  Tim Janik  <timj@gimp.org>
143
144         * gscanner.c (g_scanner_destroy_symbol_table_entry): new function to
145         free symbol table entries upon destruction
146         (gtk-gronlund-980309-0.patch.gz).
147
148 Mon Mar  9 15:02:21 1998  Tim Janik  <timj@gimp.org>
149
150         * glib.h: changed *_length functions to return guint.
151         changed *_nth functions to take guint as argument.
152
153         * glist.c: adapted g_list_length and g_list_length.
154
155         * gslist.c: adapted g_slist_length and g_slist_length.
156
157 Mon Mar  2 17:51:18 1998  Owen Taylor  <owt1@cornell.edu>
158
159         * glib.h gutils.c : changed g_strcasecmp
160           to take gchar* not guchar*
161
162         * testglib.c: Remove trailing ; after functions
163         
164 Sun Mar  1 19:04:40 1998  Owen Taylor  <owt1@cornell.edu>
165
166         * glib.h gstring.c: Added g_string_insert[_c]()
167           and g_string_erase().
168
169           From: Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>
170
171 Mon Feb 16 23:05:06 1998  Owen Taylor  <owt1@cornell.edu>
172
173         * glist.c (g_list_insert_sorted): Changed function
174           so elements are always inserted, even if they compare
175           equal with another.
176
177 Thu Feb 12 22:48:11 1998  Owen Taylor  <owt1@cornell.edu>
178
179         * gstring.c glib.h: removed deprecated g_string_equal
180           and g_string_hash.
181
182 Tue Feb 10 13:04:36 1998  Owen Taylor  <owt1@cornell.edu>
183
184         * configure.in: Add check to see if the C library's
185           iswalnum can actually be used. (Not true for
186           Linux libc-5.4.38)
187
188 Sat Feb  7 11:48:09 1998  Owen Taylor  <owt1@cornell.edu>
189
190         * gstring.c gutils.c: added some additional consts in
191           appropriate places to remove a warning
192
193 Sat Feb  7 11:15:54 1998  Owen Taylor  <owt1@cornell.edu>
194
195         * gutils.c: include <ctype.h> for tolower()
196
197 Fri Jan 30 23:57:17 PST 1998 Manish Singh <yosh@gimp.org>
198
199         * added and autoconfigured in a new utility function
200         g_strcasecmp
201
202 Wed Jan 28 23:53:27 PST 1998 Manish Singh <yosh@gimp.org>
203
204         * glist.c
205         * gslist.c
206         * testglib.c: the sort functions compared backwards. Fixed
207         * glib.h: list iterator macros now check for NULL pointers
208
209 Tue Jan 27 09:46:57 PST 1998 Manish Singh <yosh@gimp.org>
210
211         * gstring.c: g_string_prepend and g_string_prepend_c had
212         interchanged src and dest parameters for g_memmove. Fixed.
213
214 Tue Jan 27 01:38:52 PST 1998 Manish Singh <yosh@gimp.org>
215
216         * gslist.c: fixed a really, really lame error. g_slist_insert
217         didn't hook the data in! Reworked the routine to reflect the
218         functionality of g_list
219
220 Wed Jan 21 01:13:25 1998  Tim Janik  <timj@psynet.net>
221
222         * Applied patch from (Raja R Harinath <harinath@cs.umn.edu>)
223           to add function g_snprintf.
224         * configure.in (AC_CHECK_FUNCS): Check for vsnprintf.
225         * glib.h: Add prototype for g_snprintf.
226         * glibconfig.h.in: Add HAVE_VSNPRINTF.
227         * gutils.c (g_snprintf): new function.
228
229 Sat Jan 17 23:52:40 1998  Owen Taylor  <owt1@cornell.edu>
230
231         * gstring.{c,h} gscanner.c:
232            renamed g_string_equal => g_str_equal
233            renamed g_string_hash => g_str_hash
234           And const corrected. Old functions left in for now.
235         
236 Fri Jan  9 20:03:46 1998  Tim Janik  <timj@psynet.net>
237
238         * gutils.c (g_strerror): changed message for EAGAIN from
239         "no more processes" to "try again" since EAGAIN is used with
240         functions else than fork().
241
242         * gscanner.c (g_scanner_get_token_ll): use strtol() instead of
243         strtoul() to avoid conflicts with solaris.
244
245         * merged the glib portions from Jan 2 to Jan 7 out of gtk+/ChangeLog
246         into this file.
247
248 Wed Jan  7 02:14:30 PST 1998 Manish Singh <yosh@gimp.org>
249
250         * glib.h:
251         * glist.c:
252         * gslist.c:
253         * testglib.c: Added g_[s]list_insert_sorted function
254         and appropriate tests in testglib
255
256 Sat Jan  3 20:23:25 1998  Owen Taylor  <owt1@cornell.edu>
257
258         * glib.h: Changed guint32 -> guint for bitfields.
259         (Bitfields must be int or unsigned int?)
260
261 Fri Jan  2 23:52 PST 1998 Jay Painter <jpaint@serv.net>
262
263         * glib_pre1.h: 
264         * glib_pre2.h: 
265         * glib.h: reverted glibconfig.h and glib.h files back to the
266         way they were before my ugly hack.
267
268         * gscanner.c: removed inlines from clist and gscanner
269
270 Tue Dec 23 02:49:51 1997  Tim Janik  <timj@psynet.net>
271
272         * gscanner.c: new file for GScanner: Flexible lexical scanner for
273         general purpose.
274         * glib_pre2.h: added GScanner includes. added g_strconcat and g_strtod.
275         gutils.c (g_strconcat): new function for string concatenation of NULL
276         terminated parameter list.
277         (g_strtod): new function to perform best string to double conversion
278         with or without consideration of the current locale.
279
280 Mon Dec 15 19:33:58 1997  Tim Janik  <timj@psynet.net>
281
282         * glist.c: minor optimizations:
283         (g_list_append): `if' optimized for common code path, commented out
284         unneccessary `assert', saved one variable assignment.
285         (g_list_prepend): saved two (conditioned) variable assignment.
286         (g_list_insert): saved one  (conditioned) variable assignment,
287         saved one variable assignment.
288         (g_list_remove): `if' optimized for common code path, saved two
289         variable assignments by using `g_list_free_1' (which is even
290         faster) instead of `g_list_free'.
291         (g_list_reverse): saved allocation of one variable, saved one
292         variable assignment.
293
294 Wed Dec 10 23:27:20 1997  Tim Janik  <timj@psynet.net>
295
296         * glib_pre1.h: 
297         * glib_pre2.h: 
298         * glib.h: this file now gets concatenated by makeglib_h from
299         glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
300         created by configure (done by Jay Painter).
301
302         * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
303         are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
304         when used within if (...) g_macro(); else ... conditionals.
305         
306 Tue Dec 17 13:14:07 1996  Peter Mattis  <pmattis@charnley.HIP.Berkeley.EDU>
307
308         * glib.h: Changed 'g_return_if_fail' and 'g_return_val_if_fail' to
309         not call 'g_string' but to simply stringify the
310         expression. Calling 'g_string' causes the expression to be
311         expanded which is undesired.
312
313 Sun Dec  1 01:30:48 1996  Peter Mattis  <pmattis@charnley.HIP.Berkeley.EDU>
314
315         * Started ChangeLog