1 Mon May 11 09:53:43 1998 Tim Janik <timj@gtk.org>
3 * configure.in: preserve automake CFLAGS.
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.
9 * ltmain.sh: the -release option is not required anymore.
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.
15 Mon May 11 01:44:10 1998 Tim Janik <timj@gtk.org>
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.
21 Sat May 9 20:08:12 1998 Owen Taylor <otaylor@gtk.org>
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)
31 Thu May 7 08:17:28 1998 Tim Janik <timj@gtk.org>
33 * glib.h (G_GNUC_PRINTF):
34 (G_GNUC_SCANF): macros to facilitate the printf/scanf format argument
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.
41 * gutils.c: const corrections.
42 (g_strdown): g_string_down() counterpart.
43 (g_strup): g_string_up() counterpart.
45 * gscanner.c (g_scanner_unexp_token):
47 (g_scanner_warn): new functions to let a scanner put out warnings
48 or errors, especially to react on unexpected tokens.
51 (g_slist_index): find out about about the position of a
53 (g_slist_position): find out about about the position of a
57 (g_list_index): find out about about the position of a
60 Thu May 7 05:14:19 1998 Tim Janik <timj@gtk.org>
62 * ltmain.sh: added a new commandline flag -postfix similar to -release,
63 but will immediately change the library name.
65 * Makefile.am: specify -postfix and -version-info
67 * configure.in: version bump to 1.1.0. added GLIB_INTERFACE_AGE and
68 GLIB_BINARY_AGE. calculate LT_* variables for libtool.
70 Fri May 1 16:36:08 1998 Owen Taylor <otaylor@gtk.org>
72 * gutils.c: (g_strcasecmp). Check for isupper before
73 taking tolower, and account for macroized tolower.
75 * gutils.c (g_error): Check for recursion.
77 1998-04-27 Elliot Lee <sopwith@cuc.ml.org>
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.
83 Thu Apr 30 21:41:30 1998 Owen Taylor <otaylor@gtk.org>
85 * gstring.c : Check arguments more carefully,
86 (gtk-draco-980423-1.patch; ramsey@rhrk.uni-kl.de)
88 Tue Apr 7 19:36:48 1998 Owen Taylor <owt1@cornell.edu>
90 * gutils.c (g_direct_compare): Removed, because that's what
91 a NULL comparison function means. And it wasn't 64 bit safe.
93 Mon Apr 6 18:43:25 1998 Tim Janik <timj@gtk.org>
95 * gscanner.c (g_scanner_get_token_ll): fixed a bug that caused floats
96 of the format ".xxx" to be parsed as "xxx".
98 Fri Apr 3 20:36:35 1998 Owen Taylor <owt1@cornell.edu>
100 * gutils.c (g_parse_debug_string): Make debug string
101 parsine case-insensitive
103 Fri Apr 3 17:03:18 PST 1998 Manish Singh <yosh@gimp.org>
105 * gstring.c: corrected possible overrun when inserting into
106 GStrings (thanks Elrond)
108 Fri Apr 3 18:05:45 1998 Owen Taylor <owt1@cornell.edu>
110 * testglib.c: Removed literal german from strings
111 to appease SGI compiler.
113 Thu Mar 26 20:47:21 1998 Owen Taylor <owt1@cornell.edu>
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.
118 Wed Mar 25 15:23:37 1998 Owen Taylor <owt1@cornell.edu>
120 * Makefile.am: Switched glibconfig.h rule from HEADERS
121 to DATA, so that it is not added to DISTFILES
123 Wed Mar 18 22:27:08 PST 1998 Manish Singh <yosh@gimp.org>
125 * garray.c: g_rarray_truncate length done correctly
127 Sun Mar 15 07:13:34 1998 Tim Janik <timj@gimp.org>
129 * gutils.c: changed *_handler variables to be named glib_*_handler,
130 so you can easily access them from gdb.
132 Sat Mar 14 17:47:43 1998 Owen Taylor <owt1@cornell.edu>
134 * Makefile.am: Don't refer to current directory as $(top_builddir)
135 to avoid confusing non-gmakes
137 Sat Mar 14 01:37:35 1998 Owen Taylor <owt1@cornell.edu>
139 * Makefile.am (configincludedir): Moved glibconfig.h to
142 Tue Mar 10 02:03:12 1998 Tim Janik <timj@gimp.org>
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).
148 Mon Mar 9 15:02:21 1998 Tim Janik <timj@gimp.org>
150 * glib.h: changed *_length functions to return guint.
151 changed *_nth functions to take guint as argument.
153 * glist.c: adapted g_list_length and g_list_length.
155 * gslist.c: adapted g_slist_length and g_slist_length.
157 Mon Mar 2 17:51:18 1998 Owen Taylor <owt1@cornell.edu>
159 * glib.h gutils.c : changed g_strcasecmp
160 to take gchar* not guchar*
162 * testglib.c: Remove trailing ; after functions
164 Sun Mar 1 19:04:40 1998 Owen Taylor <owt1@cornell.edu>
166 * glib.h gstring.c: Added g_string_insert[_c]()
167 and g_string_erase().
169 From: Stefan Wille <1wille@vsys1.informatik.uni-hamburg.de>
171 Mon Feb 16 23:05:06 1998 Owen Taylor <owt1@cornell.edu>
173 * glist.c (g_list_insert_sorted): Changed function
174 so elements are always inserted, even if they compare
177 Thu Feb 12 22:48:11 1998 Owen Taylor <owt1@cornell.edu>
179 * gstring.c glib.h: removed deprecated g_string_equal
182 Tue Feb 10 13:04:36 1998 Owen Taylor <owt1@cornell.edu>
184 * configure.in: Add check to see if the C library's
185 iswalnum can actually be used. (Not true for
188 Sat Feb 7 11:48:09 1998 Owen Taylor <owt1@cornell.edu>
190 * gstring.c gutils.c: added some additional consts in
191 appropriate places to remove a warning
193 Sat Feb 7 11:15:54 1998 Owen Taylor <owt1@cornell.edu>
195 * gutils.c: include <ctype.h> for tolower()
197 Fri Jan 30 23:57:17 PST 1998 Manish Singh <yosh@gimp.org>
199 * added and autoconfigured in a new utility function
202 Wed Jan 28 23:53:27 PST 1998 Manish Singh <yosh@gimp.org>
206 * testglib.c: the sort functions compared backwards. Fixed
207 * glib.h: list iterator macros now check for NULL pointers
209 Tue Jan 27 09:46:57 PST 1998 Manish Singh <yosh@gimp.org>
211 * gstring.c: g_string_prepend and g_string_prepend_c had
212 interchanged src and dest parameters for g_memmove. Fixed.
214 Tue Jan 27 01:38:52 PST 1998 Manish Singh <yosh@gimp.org>
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
220 Wed Jan 21 01:13:25 1998 Tim Janik <timj@psynet.net>
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.
229 Sat Jan 17 23:52:40 1998 Owen Taylor <owt1@cornell.edu>
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.
236 Fri Jan 9 20:03:46 1998 Tim Janik <timj@psynet.net>
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().
242 * gscanner.c (g_scanner_get_token_ll): use strtol() instead of
243 strtoul() to avoid conflicts with solaris.
245 * merged the glib portions from Jan 2 to Jan 7 out of gtk+/ChangeLog
248 Wed Jan 7 02:14:30 PST 1998 Manish Singh <yosh@gimp.org>
253 * testglib.c: Added g_[s]list_insert_sorted function
254 and appropriate tests in testglib
256 Sat Jan 3 20:23:25 1998 Owen Taylor <owt1@cornell.edu>
258 * glib.h: Changed guint32 -> guint for bitfields.
259 (Bitfields must be int or unsigned int?)
261 Fri Jan 2 23:52 PST 1998 Jay Painter <jpaint@serv.net>
265 * glib.h: reverted glibconfig.h and glib.h files back to the
266 way they were before my ugly hack.
268 * gscanner.c: removed inlines from clist and gscanner
270 Tue Dec 23 02:49:51 1997 Tim Janik <timj@psynet.net>
272 * gscanner.c: new file for GScanner: Flexible lexical scanner for
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.
280 Mon Dec 15 19:33:58 1997 Tim Janik <timj@psynet.net>
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
294 Wed Dec 10 23:27:20 1997 Tim Janik <timj@psynet.net>
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).
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.
306 Tue Dec 17 13:14:07 1996 Peter Mattis <pmattis@charnley.HIP.Berkeley.EDU>
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.
313 Sun Dec 1 01:30:48 1996 Peter Mattis <pmattis@charnley.HIP.Berkeley.EDU>