Released GLib 1.1.0
[platform/upstream/glib.git] / ChangeLog.pre-2-4
1 Mon Jul 27 00:17:30 CDT 1998 Shawn T. Amundson <amundson@gtk.org>
2
3         * Released GLib 1.1.0
4
5 Mon Jul 27 01:02:27 1998  Tim Janik  <timj@gtk.org>
6
7         * glib.h: #if 0'ed out the GTime definition, until it is definitively
8         needed. #if 0'ed out the g_getcwd() version, because it is the wrong
9         implementation.
10
11 Sat Jul 25 16:09:00 1998  Mark Crichton <crichton@expert.cc.purdue.edu>
12         
13         * glib.h: gtime changed to g_time.  gtime is used in 
14         /usr/include/time.h in NetBSD, causing multiple headaches.
15         If this isn't the right way of fixing it.... ;)
16
17 Thu Jul 23 00:29:14 1998  Tim Janik  <timj@gtk.org>
18
19         * glib.h: 
20         * gscanner.c: new functions to make a scanner scope sensitive wrt
21         symbol lookups.
22         g_scanner_scope_foreach_symbol, g_scanner_scope_lookup_symbol,
23         g_scanner_scope_remove_symbol, g_scanner_scope_add_symbol and
24         g_scanner_set_scope.
25         g_scanner_add_symbol, g_scanner_remove_symbol and
26         g_scanner_foreach_symbol are now aliases for scope 0.
27
28 Mon Jul 20 23:05:34 1998  George Lebl  <jirka@5z.com>
29
30         * glib.h: typo fixed for alphas for gint64
31
32 Tue Jul 14 09:05:18 1998  Tim Janik  <timj@gtk.org>
33
34         * glib.h:
35         * gutils.c: new fuction g_dirname() which returns a newlly
36         allocated string.
37
38 Fri Jul 10 06:33:43 1998  Tim Janik  <timj@gtk.org>
39
40         * glib.h: 
41         * gutils.h: added a bunch of utility/wrapper functions:
42         g_basename(), g_getcwd(), g_get_user_name(), g_get_real_name(),
43         g_get_home_dir(), g_get_tmp_dir(), g_get_prgname() and g_set_prgname().
44
45         * gutils.c: removed all g_str* functions.
46         * gstrfuncs.c: moved the bunch g_str* functions from gutils.c in this
47         place. this file shall never include <unistd.h> to avoid clashes for
48         some of the g_str* functions on some OSes.
49
50 Fri Jul 10 00:29:03 EEST 1998 Lauri Alanko <nether@gimp.org>
51
52         * glib.h:
53         * ghash.c: Renamed g_hash_table_lookup_full to
54         g_hash_table_lookup_extended to conform with naming conventions.
55
56 Tue Jul  7 03:18:58 EEST 1998 Lauri Alanko <nether@gimp.org>
57
58         * glib.h:
59         * ghash.c: Generic cleanup, added a function:
60         (g_hash_table_lookup_full): Return whether the lookup succeeded,
61         and also retrieve the key and value. This allows one to
62         distinguish between failed lookup and finding a NULL, and also
63         allows one to free a key in the hash.
64
65 Mon Jul  6 10:12:05 PDT 1998 Manish Singh <yosh@gimp.org>
66
67         * ltconfig: fix for properly detecting shared lib support on
68         SunPro cc (taken from libtool 1.2.a)
69
70 Sat Jul  4 13:38:52 PDT 1998 Manish Singh <yosh@gimp.org>
71
72         * glib.h: added g_array_length
73
74 Tue Jun 30 11:58:25 1998  Tim Janik  <timj@gtk.org>
75
76         * gscanner.c (g_scanner_unexp_token): take symbol_2_token into
77         account. react on valid/invalid string pairs.
78
79 Sat Jun 27 21:55:46 PDT 1998 Manish Singh <yosh@gimp.org>
80
81         * glib.m4: ftp.glib.org -> ftp.gtk.org, since glib.org isn't
82         ours. ;)
83
84 Fri Jun 19 03:11:02 1998  Tim Janik  <timj@gtk.org>
85
86         * gdataset.c: removed g_dataset_try_key, g_dataset_force_id and
87         g_dataset_retrive_key in favour of GQuarks.
88         a GQuark is an numeric id wich is associated with a certain string.
89         (g_quark_try_string): try to get the quark associated with this string,
90         if the lookup failed return 0.
91         (g_quark_from_string): get the associated quark for a string, if there
92         isn't currently a GQuark associated with this string, then allocate a
93         new quark and return that.
94         (g_quark_from_static_string): like the above function, but the string
95         isn't strdup()ed to save memory.
96         (g_quark_to_string): get the string that is associated with a certain
97         GQuark.
98
99         * gdataset.c (g_dataset_id_set_data_full): invoke the destroy function
100         _after_ the new data has been setup.
101
102 Thu Jun 18 02:35:21 1998  Owen Taylor  <otaylor@gtk.org>
103
104         * glib.h: Changed messages for g_return_[val]_if_fail to
105         be somewhat more clear: assertion "blah" failed.
106
107 1998-06-18  Federico Mena Quintero  <federico@nuclecu.unam.mx>
108
109         * testglib.c (main): Use GINT_TO_POINTER casts to remove compiler
110         warnings.
111
112         * grel.c: #include <string.h>
113
114 Fri Jun 12 15:39:06 1998  Tim Janik  <timj@gtk.org>
115
116         * glib.h (GScanner): cleanups of the structure fields (binary
117         incompatible).
118
119 Fri Jun 12 00:39:28 1998  Josh MacDonald  <jmacd@icw.EECS.Berkeley.EDU>
120
121         * glib.h: add new hash and equal functions g_int_*.  complement
122         g_direct_hash with g_direct_equal.
123
124         * grel.c: new file, GRelations implement tuples of N-N mappings.
125         A comment in glib.h briefly describes the interface.
126
127         * ghash.c: new function, g_hash_table_size
128
129         * glib.h: new typedefs, gsize, gssize, gtime.
130
131         * garray.c: new functions implementing a simplified GArray.  This
132         GPtrArray is an array of gpointers and has functions to add and
133         remove elements, much like java.lang.Vector.
134
135         * garray.c: new functions for the single-byte special case of
136         GArray.  The functions g_byte_array* operate on arrays of bytes.
137         Internally, a GArray is used.
138
139         * testglib.c: tests for g_ptr_array, g_byte_array, and g_relation...
140
141 1998-06-11  Federico Mena Quintero  <federico@nuclecu.unam.mx>
142
143         * gdataset.c: #include <string.h>
144
145 Thu Jun 11 04:15:31 1998  Tim Janik  <timj@gtk.org>
146
147         * glib.h:
148         * gdataset.c: new function g_dataset_retrive_key. adjusted prealloc
149         sizes, to take up less space on initial allocation.
150
151 1998-06-10  Raja R Harinath  <harinath@cs.umn.edu>
152
153         * acinclude.m4: New file.  Contains `libtool.m4' from libtool-1.2,
154         the version from which glib's libtool forked.  Needed for people
155         who use post-1.2 alphas of libtool.
156         * configure.in (enable_mem_check, enable_mem_profile): Replace
157         `echo -n' with AC_MSG_CHECKING.
158         (fd_set): Explain test for `fd_set' better.
159
160 Wed Jun 10 19:29:51 1998  Owen Taylor  <otaylor@gtk.org>
161
162         * Makefile.am glib.m4 configure.in:
163         
164         Moved out from GTK+; added AM_PATH_GLIB macro.
165
166 Wed Jun 10 12:56:07 1998  Owen Taylor  <otaylor@gtk.org>
167
168         * glib.h: renamed g_const_pointer => gconstpointer
169
170 Tue Jun  9 17:47:33 1998  Owen Taylor  <otaylor@gtk.org>
171
172         * glib.h: Remove #error - HP/UX.
173
174 Sat May 23 19:00:01 1998  Owen Taylor  <otaylor@gtk.org>
175   [ Combination of:
176      gtk-rrh-980412-0.patch (Raja R Harinath <harinath@cs.umn.edu>)
177      gtk-jbuhler-980516-0 (Jeremy Buhler <jbuhler@cs.washington.edu>) ]
178         
179         * glib.h ghash.c gstring.c gdataset.c gutils.c:
180         - Added new typedef g_const_pointer; expunged all incorrect
181           uses of 'const gpointer'.
182         - Fixed up warnings that that created,
183         - Changed GHashFunc and GCompareFunc to take g_const_pointer
184           arguments. (Necessary, but will cause warnings in existing
185           code until fixed)
186         - Added other new const in harmless positions.
187
188 Mon Jun  8 01:06:47 1998  Tim Janik  <timj@gtk.org>
189
190         * glib.h: added enum-helper macros for code generation.
191         added G_BREAKPOINT().
192
193 Sat Jun  6 14:09:22 PDT 1998 Manish Singh <yosh@gimp.org>
194
195         * gmem.c: commented out MEM_PROFILE and MEM_CHECK, causing weird
196         problems
197
198 Wed Jun  3 06:19:42 1998  Tim Janik  <timj@gtk.org>
199
200         * glib.h (g_chunk_new0): convenience macro, for allocating small chunks 
201         like g_chunk_new() with additional 0 initialization.
202
203 Mon Jun  1 04:43:27 1998  Tim Janik  <timj@gtk.org>
204
205         * ghash.c (g_hash_table_insert): wrote a comment describing why
206         a hash node's key should not also get replaced when overriding
207         previous entries.
208
209 Tue May 26 18:30:06 1998  Tim Janik  <timj@gtk.org>
210
211         * glib.h (g_string_sized_new): new function to controll the preallocated
212         size of a GString.
213
214         * glib.h (g_strreversed): new function to reverse a string.
215
216 Mon May 18 22:14:39 1998  Owen Taylor  <otaylor@gtk.org>
217 (Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp> : gtk-joke-980517-0.patch)
218         
219         * gutils.c: Restored a missing prototype for g_vsprintf.
220
221 Wed May 20 05:02:26 1998  Tim Janik  <timj@gtk.org>
222
223         * glib.h: conditionally define NULL, FALSE and TRUE.
224         (g_mem_chunk_create): new convenience macro as a short hand for
225         g_mem_chunk_new().
226         (g_chunk_free): new convenience macro to be consistent with g_chunk_new.
227
228 Tue, 19 May 1998 09:00:02 +0200  Â§Paolo Molaro <lupus@debian.org>
229
230         * gcompletion.c: generic functions for com<TAB>pletion...
231
232 Sun May 17 10:48:27 1998  Tim Janik  <timj@gtk.org>
233
234         * gscanner.c (g_scanner_unexp_token): provide usefull default
235         specifications for identifier_spec and symbol_spec.
236
237         * glib.h: new functions g_slist_nth_data and g_list_nth_data to return
238         the data of the nth element in the list.
239
240 Fri May 15 22:31:49 1998  Tim Janik  <timj@gtk.org>
241
242         * gscanner.c (g_scanner_unexp_token): removed spurious va_end(args)
243         that for some reason didn't produce a compiler wrning on my machine
244         (is va_end undefined for i386?).
245
246 Fri May 15 12:32:08 1998  rodo  <doulik@karlin.mff.cuni.cz>
247
248         * gscanner.c: replaced some snprintf with g_snprintf
249
250 Fri May 15 00:56:59 1998  Tim Janik  <timj@gtk.org>
251
252         * glib.h: further support for gcc function attributes: G_GNUC_FORMAT,
253         G_GNUC_NORETURN and G_GNUC_CONST.
254
255         * gscanner.c (g_scanner_stat_mode): changed stat() to lstat().
256         (g_scanner_msg_handler): "\n" at end of line!
257         (g_scanner_foreach_symbol): new function to iterate over the symbol
258         table (GScanner does value-wrapping).
259
260 Thu May 14 04:14:12 1998  Tim Janik  <timj@gtk.org>
261
262         * glib.h: typedef gint gboolean;
263         this is needed to provide portability with big-endian platforms (e.g.
264         try sizeof(bool) for c++ on big-endians - it's 4).
265         this is also needed to maintain some_union.d_gint==some_union.d_gboolean.
266         plus, gint to gboolean casts and vice versa need to be possible without
267         loss.
268
269 Tue May 12 19:22:58 1998  Owen Taylor  <otaylor@gtk.org>
270
271         * glib/glib.h: Added macros G[U]INT_TO_POINTER() and
272         GPOINTER_TO_[U]INT for storing small integers integers
273         inside pointers. 
274         
275         * glib/testglib.c: Print sizeof() results
276         as g_print("%ld", (glong)sizeof(foo)), to deal with
277         size_t being long on Alpha's.
278
279 Tue May 12 16:54:15 1998  Owen Taylor  <otaylor@gtk.org>
280         (James A <jamesa@demon.net> : gtk-jamesa-980511-4.patch)
281         
282         * glib.h gstring.c gmessages.c: Added some missing
283         const to arguments.
284
285         * gutils.c (g_strsignal.c): Added missing return statements.
286
287 Mon May 11 21:11:54 1998  Owen Taylor  <otaylor@gtk.org>
288
289         * gutils.c gmessages.c: Moved g_error, g_warning, g_message and
290         g_print from gutils.c to new file gmessages.c, to avoid having to
291         include <unistd.h> in gutils.c which was causing problems for the
292         g_strsignal implementation on FreeBSD boxes.
293
294 Mon May 11 09:53:43 1998  Tim Janik  <timj@gtk.org>
295
296         * configure.in: preserve automake CFLAGS.
297
298         * Makefile.am: fully rename the created library to libglib-1.1.la.
299         this means we need to change certain portions of the Makefile.am on
300         major/minor version bumps.
301
302         * ltmain.sh: the -release option is not required anymore.
303
304         * glib.h: provide G_GNUC_FUNCTION and G_GNUC_PRETTY_FUNCTION to
305         avoid conditionals. unconditionally define NULL, TRUE, FALSE, MAX,
306         MIN, ABS and CLAMP, these macros might be screwed from other headers.
307
308 Mon May 11 01:44:10 1998  Tim Janik  <timj@gtk.org>
309
310         * gdataset.c: new file, gdatasets implement the object data
311         mechanism from GtkObject. a generic data pointer is associated with
312         a certain location and a key id.
313
314 Sat May  9 20:08:12 1998  Owen Taylor  <otaylor@gtk.org>
315
316         * glib/gmem.c: Experimentally restore GMemChunk
317         to its primeval state - where mem areas are
318         freed incrementally instead of searching the tree
319         every time a mem area is completely empty. Also,
320         always keep one mem chunk around. (Reduced calls
321         to malloc() a lot, but doesn't really improve
322         performance significiantly)
323
324 Thu May  7 08:17:28 1998  Tim Janik  <timj@gtk.org>
325
326         * glib.h (G_GNUC_PRINTF):
327         (G_GNUC_SCANF): macros to facilitate the printf/scanf format argument
328         checking of gcc.
329
330         * gstring.c: const corrections, string!=NULL checks at function entry.
331         (g_string_down): new function for tolower(3) conversion.
332         (g_string_up): new function for toupper(3) conversion.
333
334         * gutils.c: const corrections.
335         (g_strdown): g_string_down() counterpart.
336         (g_strup): g_string_up() counterpart.
337
338         * gscanner.c (g_scanner_unexp_token):
339         (g_scanner_error):
340         (g_scanner_warn): new functions to let a scanner put out warnings
341         or errors, especially to react on unexpected tokens.
342
343         * gslist.c:
344         (g_slist_index): find out about about the position of a
345         certain data pointer.
346         (g_slist_position): find out about about the position of a
347         certain node.
348
349         * glist.c:
350         (g_list_index): find out about about the position of a
351         certain data pointer.
352
353 Thu May  7 05:14:19 1998  Tim Janik  <timj@gtk.org>
354
355         * ltmain.sh: added a new commandline flag -postfix similar to -release,
356         but will immediately change the library name.
357
358         * Makefile.am: specify -postfix and -version-info
359
360         * configure.in: version bump to 1.1.0. added GLIB_INTERFACE_AGE and
361         GLIB_BINARY_AGE. calculate LT_* variables for libtool.
362
363 Fri May  1 16:36:08 1998  Owen Taylor  <otaylor@gtk.org>
364
365         * gutils.c: (g_strcasecmp). Check for isupper before
366         taking tolower, and account for macroized tolower.
367
368         * gutils.c (g_error): Check for recursion.
369
370 1998-04-27  Elliot Lee  <sopwith@cuc.ml.org>
371
372         * glist.c (g_list_position): New function to find the position of
373         a link in a list - should be the inverse of g_list_nth(), but
374         haven't tested it so poof.
375
376 Thu Apr 30 21:41:30 1998  Owen Taylor  <otaylor@gtk.org>
377
378         * gstring.c : Check arguments more carefully, 
379         (gtk-draco-980423-1.patch; ramsey@rhrk.uni-kl.de) 
380
381 Tue Apr  7 19:36:48 1998  Owen Taylor  <owt1@cornell.edu>
382
383         * gutils.c (g_direct_compare): Removed, because that's what
384         a NULL comparison function means. And it wasn't 64 bit safe.
385
386 Mon Apr  6 18:43:25 1998  Tim Janik  <timj@gtk.org>
387
388         * gscanner.c (g_scanner_get_token_ll): fixed a bug that caused floats
389         of the format ".xxx" to be parsed as "xxx".
390
391 Fri Apr  3 20:36:35 1998  Owen Taylor  <owt1@cornell.edu>
392
393         * gutils.c (g_parse_debug_string): Make debug string
394         parsine case-insensitive
395
396 Fri Apr  3 17:03:18 PST 1998 Manish Singh <yosh@gimp.org>
397
398         * gstring.c: corrected possible overrun when inserting into
399         GStrings (thanks Elrond)
400
401 Fri Apr  3 18:05:45 1998  Owen Taylor  <owt1@cornell.edu>
402
403         * testglib.c: Removed literal german from strings
404         to appease SGI compiler.
405         
406 Thu Mar 26 20:47:21 1998  Owen Taylor  <owt1@cornell.edu>
407
408         * configure.in glib glibconfig.h.in: Add test for atexit/on_exit -
409         use on_exit if atexit not found in definition of ATEXIT.
410
411 Wed Mar 25 15:23:37 1998  Owen Taylor  <owt1@cornell.edu>
412
413         * Makefile.am: Switched glibconfig.h rule from HEADERS
414         to DATA, so that it is not added to DISTFILES
415
416 Wed Mar 18 22:27:08 PST 1998 Manish Singh <yosh@gimp.org>
417
418         * garray.c: g_rarray_truncate length done correctly
419
420 Sun Mar 15 07:13:34 1998  Tim Janik  <timj@gimp.org>
421
422         * gutils.c: changed *_handler variables to be named glib_*_handler,
423         so you can easily access them from gdb.
424
425 Sat Mar 14 17:47:43 1998  Owen Taylor  <owt1@cornell.edu>
426
427         * Makefile.am: Don't refer to current directory as $(top_builddir)
428         to avoid confusing non-gmakes
429
430 Sat Mar 14 01:37:35 1998  Owen Taylor  <owt1@cornell.edu>
431
432         * Makefile.am (configincludedir): Moved glibconfig.h to
433           $(pkglibdir)/include
434
435 Tue Mar 10 02:03:12 1998  Tim Janik  <timj@gimp.org>
436
437         * gscanner.c (g_scanner_destroy_symbol_table_entry): new function to
438         free symbol table entries upon destruction
439         (gtk-gronlund-980309-0.patch.gz).
440
441 Mon Mar  9 15:02:21 1998  Tim Janik  <timj@gimp.org>
442
443         * glib.h: changed *_length functions to return guint.
444         changed *_nth functions to take guint as argument.
445
446         * glist.c: adapted g_list_length and g_list_length.
447
448         * gslist.c: adapted g_slist_length and g_slist_length.
449
450 Mon Mar  2 17:51:18 1998  Owen Taylor  <owt1@cornell.edu>
451
452         * glib.h gutils.c : changed g_strcasecmp
453           to take gchar* not guchar*
454
455         * testglib.c: Remove trailing ; after functions
456         
457 Sun Mar  1 19:04:40 1998  Owen Taylor  <owt1@cornell.edu>
458
459         * glib.h gstring.c: Added g_string_insert[_c]()
460           and g_string_erase().
461
462           From: Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>
463
464 Mon Feb 16 23:05:06 1998  Owen Taylor  <owt1@cornell.edu>
465
466         * glist.c (g_list_insert_sorted): Changed function
467           so elements are always inserted, even if they compare
468           equal with another.
469
470 Thu Feb 12 22:48:11 1998  Owen Taylor  <owt1@cornell.edu>
471
472         * gstring.c glib.h: removed deprecated g_string_equal
473           and g_string_hash.
474
475 Tue Feb 10 13:04:36 1998  Owen Taylor  <owt1@cornell.edu>
476
477         * configure.in: Add check to see if the C library's
478           iswalnum can actually be used. (Not true for
479           Linux libc-5.4.38)
480
481 Sat Feb  7 11:48:09 1998  Owen Taylor  <owt1@cornell.edu>
482
483         * gstring.c gutils.c: added some additional consts in
484           appropriate places to remove a warning
485
486 Sat Feb  7 11:15:54 1998  Owen Taylor  <owt1@cornell.edu>
487
488         * gutils.c: include <ctype.h> for tolower()
489
490 Fri Jan 30 23:57:17 PST 1998 Manish Singh <yosh@gimp.org>
491
492         * added and autoconfigured in a new utility function
493         g_strcasecmp
494
495 Wed Jan 28 23:53:27 PST 1998 Manish Singh <yosh@gimp.org>
496
497         * glist.c
498         * gslist.c
499         * testglib.c: the sort functions compared backwards. Fixed
500         * glib.h: list iterator macros now check for NULL pointers
501
502 Tue Jan 27 09:46:57 PST 1998 Manish Singh <yosh@gimp.org>
503
504         * gstring.c: g_string_prepend and g_string_prepend_c had
505         interchanged src and dest parameters for g_memmove. Fixed.
506
507 Tue Jan 27 01:38:52 PST 1998 Manish Singh <yosh@gimp.org>
508
509         * gslist.c: fixed a really, really lame error. g_slist_insert
510         didn't hook the data in! Reworked the routine to reflect the
511         functionality of g_list
512
513 Wed Jan 21 01:13:25 1998  Tim Janik  <timj@psynet.net>
514
515         * Applied patch from (Raja R Harinath <harinath@cs.umn.edu>)
516           to add function g_snprintf.
517         * configure.in (AC_CHECK_FUNCS): Check for vsnprintf.
518         * glib.h: Add prototype for g_snprintf.
519         * glibconfig.h.in: Add HAVE_VSNPRINTF.
520         * gutils.c (g_snprintf): new function.
521
522 Sat Jan 17 23:52:40 1998  Owen Taylor  <owt1@cornell.edu>
523
524         * gstring.{c,h} gscanner.c:
525            renamed g_string_equal => g_str_equal
526            renamed g_string_hash => g_str_hash
527           And const corrected. Old functions left in for now.
528         
529 Fri Jan  9 20:03:46 1998  Tim Janik  <timj@psynet.net>
530
531         * gutils.c (g_strerror): changed message for EAGAIN from
532         "no more processes" to "try again" since EAGAIN is used with
533         functions else than fork().
534
535         * gscanner.c (g_scanner_get_token_ll): use strtol() instead of
536         strtoul() to avoid conflicts with solaris.
537
538         * merged the glib portions from Jan 2 to Jan 7 out of gtk+/ChangeLog
539         into this file.
540
541 Wed Jan  7 02:14:30 PST 1998 Manish Singh <yosh@gimp.org>
542
543         * glib.h:
544         * glist.c:
545         * gslist.c:
546         * testglib.c: Added g_[s]list_insert_sorted function
547         and appropriate tests in testglib
548
549 Sat Jan  3 20:23:25 1998  Owen Taylor  <owt1@cornell.edu>
550
551         * glib.h: Changed guint32 -> guint for bitfields.
552         (Bitfields must be int or unsigned int?)
553
554 Fri Jan  2 23:52 PST 1998 Jay Painter <jpaint@serv.net>
555
556         * glib_pre1.h: 
557         * glib_pre2.h: 
558         * glib.h: reverted glibconfig.h and glib.h files back to the
559         way they were before my ugly hack.
560
561         * gscanner.c: removed inlines from clist and gscanner
562
563 Tue Dec 23 02:49:51 1997  Tim Janik  <timj@psynet.net>
564
565         * gscanner.c: new file for GScanner: Flexible lexical scanner for
566         general purpose.
567         * glib_pre2.h: added GScanner includes. added g_strconcat and g_strtod.
568         gutils.c (g_strconcat): new function for string concatenation of NULL
569         terminated parameter list.
570         (g_strtod): new function to perform best string to double conversion
571         with or without consideration of the current locale.
572
573 Mon Dec 15 19:33:58 1997  Tim Janik  <timj@psynet.net>
574
575         * glist.c: minor optimizations:
576         (g_list_append): `if' optimized for common code path, commented out
577         unneccessary `assert', saved one variable assignment.
578         (g_list_prepend): saved two (conditioned) variable assignment.
579         (g_list_insert): saved one  (conditioned) variable assignment,
580         saved one variable assignment.
581         (g_list_remove): `if' optimized for common code path, saved two
582         variable assignments by using `g_list_free_1' (which is even
583         faster) instead of `g_list_free'.
584         (g_list_reverse): saved allocation of one variable, saved one
585         variable assignment.
586
587 Wed Dec 10 23:27:20 1997  Tim Janik  <timj@psynet.net>
588
589         * glib_pre1.h: 
590         * glib_pre2.h: 
591         * glib.h: this file now gets concatenated by makeglib_h from
592         glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
593         created by configure (done by Jay Painter).
594
595         * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
596         are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
597         when used within if (...) g_macro(); else ... conditionals.
598         
599 Tue Dec 17 13:14:07 1996  Peter Mattis  <pmattis@charnley.HIP.Berkeley.EDU>
600
601         * glib.h: Changed 'g_return_if_fail' and 'g_return_val_if_fail' to
602         not call 'g_string' but to simply stringify the
603         expression. Calling 'g_string' causes the expression to be
604         expanded which is undesired.
605
606 Sun Dec  1 01:30:48 1996  Peter Mattis  <pmattis@charnley.HIP.Berkeley.EDU>
607
608         * Started ChangeLog