Commit Graph

11 Commits

Author SHA1 Message Date
Manish Singh
01200282da Added and autoconfigured in a new utility function g_strcasecmp
GtkCombo uses g_strcasecmp now
Quelled a warning about atexit undeclared in gtkobject

-Yosh
1998-01-31 08:15:57 +00:00
Manish Singh
89a5c21c07 The list sort functions compared things backwards. Fixed.
The list iterator macros now check for NULL args

-Yosh
1998-01-29 08:00:28 +00:00
Manish Singh
a9f866f4ca g_string_prepend* had interchanged src and dest params. Fixed.
-Yosh
1998-01-27 17:50:07 +00:00
Manish Singh
8f355e26ef Fixed a really lame error where g_slist_insert didn't hook the data
in! Reworked the routine a bit too.

-Yosh
1998-01-27 09:42:41 +00:00
Tim Janik
3ae8c300bb Applied patch from (Raja R Harinath <harinath@cs.umn.edu>) to add function
Wed Jan 21 01:13:25 1998  Tim Janik  <timj@psynet.net>

        * Applied patch from (Raja R Harinath <harinath@cs.umn.edu>)
          to add function g_snprintf.
        * configure.in (AC_CHECK_FUNCS): Check for vsnprintf.
        * glib.h: Add prototype for g_snprintf.
        * glibconfig.h.in: Add HAVE_VSNPRINTF.
        * gutils.c (g_snprintf): new function.
1998-01-21 00:46:48 +00:00
Owen Taylor
4628759d3b renamed g_string_equal => g_str_equal renamed g_string_hash => g_str_hash
Sat Jan 17 23:52:40 1998  Owen Taylor  <owt1@cornell.edu>

	* gstring.{c,h} gscanner.c:
	   renamed g_string_equal => g_str_equal
	   renamed g_string_hash => g_str_hash
	  And const corrected. Old functions left in for now.
1998-01-18 15:12:01 +00:00
Tim Janik
75b20f2eaf changed message for EAGAIN from "no more processes" to "try again" since
Fri Jan  9 20:03:46 1998  Tim Janik  <timj@psynet.net>

        * gutils.c (g_strerror): changed message for EAGAIN from
        "no more processes" to "try again" since EAGAIN is used with
        functions else than fork().

        * gscanner.c (g_scanner_get_token_ll): use strtol() instead of
        strtoul() to avoid conflicts with solaris.

        * merged the glib portions from Jan 2 to Jan 7 out of gtk+/ChangeLog
        into this file.

hey folks, could you *please* honour the glib/ChangeLog?
1998-01-10 00:25:21 +00:00
Tim Janik
e3956c289a new file for GScanner: Flexible lexical scanner for general purpose. added
* gscanner.c: new file for GScanner: Flexible lexical scanner for
        general purpose.
        * glib_pre2.h: added GScanner includes. added g_strconcat and g_strtod.
        gutils.c (g_strconcat): new function for string concatenation of NULL
        terminated parameter list.
        (g_strtod): new function to perform best string to double conversion
        with or without consideration of the current locale.
-timj
1997-12-23 02:09:34 +00:00
Tim Janik
d55ed5449d minor optimizations: (g_list_append): `if' optimized for common code path,
Mon Dec 15 19:33:58 1997  Tim Janik  <timj@psynet.net>

        * glist.c: minor optimizations:
        (g_list_append): `if' optimized for common code path, commented out
        unneccessary `assert', saved one variable assignment.
        (g_list_prepend): saved two (conditioned) variable assignment.
        (g_list_insert): saved one  (conditioned) variable assignment,
        saved one variable assignment.
        (g_list_remove): `if' optimized for common code path, saved two
        variable assignments by using `g_list_free_1' (which is even
        faster) instead of `g_list_free'.
        (g_list_reverse): saved allocation of one variable, saved one
        variable assignment.
1997-12-15 19:08:53 +00:00
Tim Janik
8a6dea2d55 GLib:
* glib_pre1.h:
        * glib_pre2.h:
        * glib.h: this file now gets concatenated by makeglib_h from
        glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
        created by configure (done by Jay Painter).

        * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
        are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
        when used within if (...) g_macro(); else ... conditionals.
Gtk+:
        * fixed some compiler errors, because g_return_if_fail() wasn't used
        with a trailing semicolon in some places. fixed few other warnings also.

-timj
1997-12-10 22:43:24 +00:00
Elliot Lee
9508b76bd2 Initial revision 1997-11-24 22:37:52 +00:00