Commit Graph

61 Commits

Author SHA1 Message Date
Tim Janik
53a595f448 New widget GtkTipsQuery for letting the user query tooltips of widgets.
Fri Feb 20 06:40:00 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktipsquery.h:
        * gtk/gtktipsquery.c:
        New widget GtkTipsQuery for letting the user query tooltips of widgets.

        * gtk/testgtk.c: add example for GtkTipsQuery.

        * gtk/gtk.h: include gtk/gtktipsquery.h.

        * gtk/gtklabel.c: enable default constructing.
1998-02-20 05:46:48 +00:00
Owen Taylor
62dba86c81 the value of ---enable_debug is written into glibconfig.h so everything is
Thu Feb 19 12:18:24 1998  Owen Taylor  <owt1@cornell.edu>

	* glib/configure.in glib/glibconfig.h.in: the value of
	---enable_debug is written into glibconfig.h so everything
	is recompiled when it changes. (HACK)

	* gtk/gtkmain.c gdk/gdk.c docs/debugging.txt:
	Added --gdk-no-debug and --gtk-no-debug switches. Effect
	of switches is no cumulative.
1998-02-19 18:02:03 +00:00
Owen Taylor
fc7e845c8f configure.in gdk/gdk.[ch] gdk/gdkcc.c gdk/gdkglobals.c
Thu Feb 19 01:11:48 1998  Owen Taylor  <owt1@cornell.edu>

	* configure.in         gdk/gdk.[ch]         gdk/gdkcc.c
	  gdk/gdkglobals.c     gdk/gdkinputcommon.h gdk/gdkprivate.h
	  gdk/gdkvisual.c      glib/configure.in    glib/glib.h
	  glib/gutils.c        gtk/Makefile.am      gtk/gtkmain.c
	  gtk/gtkobject.[ch]   gtk/gtkdebug.h       docs/debugging.txt

	New system for controlling debugging:

	* --enable-debug=[no/yes/minimum]
	* G_DISABLE_ASSERT and G_DISABLE_CHECKS for glib
	* G_NO_CHECK_CASTS to control cast checking
	* G_ENABLE_DEBUG enables run time checking which controls:
	    Object tracing
	    Showing events
	    Miscellaneous g_print's in GDK
	  And is controlled by --gdk-debug/GDK_DEBUG, --gtk-debug/GTK_DEBUG
        * debug_level and show_events are gone from GTK

	See docs/debugging.txt for details.

	And some fixups to the configure.in's so '-g' can be
	overriden on the command line for --enable-debug
1998-02-19 06:21:27 +00:00
rhlabs
825aa9501b Make g_slist_insert_sorted() always insert.
-Marc
1998-02-17 18:52:52 +00:00
Owen Taylor
04c520bad9 Changed function so elements are always inserted, even if they compare
Mon Feb 16 23:05:06 1998  Owen Taylor  <owt1@cornell.edu>

	* glist.c (g_list_insert_sorted): Changed function
	  so elements are always inserted, even if they compare
	  equal with another.
1998-02-17 04:03:56 +00:00
Elliot Lee
fa10f1361f D&D fixes 1998-02-16 22:04:52 +00:00
Owen Taylor
39e26262a5 change logged. 1998-02-13 03:47:43 +00:00
Owen Taylor
c43a50fe36 removed deprecated g_string_equal and g_string_hash.
Thu Feb 12 22:48:11 1998  Owen Taylor  <owt1@cornell.edu>

	* gstring.c glib.h: removed deprecated g_string_equal
	  and g_string_hash.
1998-02-13 03:47:25 +00:00
Manish Singh
f747f3b2cd Really minor cosmetic fix that just niggled me. :P
-Yosh
1998-02-11 01:08:42 +00:00
Owen Taylor
13179d42a0 Add check to see if the C library's iswalnum can actually be used. (Not
Tue Feb 10 13:04:36 1998  Owen Taylor  <owt1@cornell.edu>

	* configure.in: Add check to see if the C library's
	  iswalnum can actually be used. (Not true for
	  Linux libc-5.4.38)
1998-02-10 18:18:19 +00:00
Owen Taylor
e105a87144 added some additional consts in appropriate places to remove a warning
Sat Feb  7 11:48:09 1998  Owen Taylor  <owt1@cornell.edu>

	* gstring.c gutils.c: added some additional consts in
	  appropriate places to remove a warning
1998-02-07 16:48:03 +00:00
Owen Taylor
75cd57b6cb include <ctype.h> for tolower()
Sat Feb  7 11:15:54 1998  Owen Taylor  <owt1@cornell.edu>

	* gutils.c: include <ctype.h> for tolower()
1998-02-07 16:14:13 +00:00
Tim Janik
57bae55574 fixed a refresh bug with unrealization of no_window widgets.
(dialog button in tesgtk)
-timj
1998-02-02 05:35:59 +00:00
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
Shawn Amundson
d64570b781 Release GTK+ 0.99.3. 1998-01-21 23:29:56 +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
2dd1106130 Missed some files -owt
Missed some files
                                        -owt
1998-01-18 18:21:33 +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
Jay Painter
dfc3630c8c This reverts GTK to libtool-1.0f, libtool-1.0h has some problems linking libgdk to libX11 and libXext. -Jay 1998-01-12 15:41:36 +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
Manish Singh
00000538ed Added check for inline in configure and updated files to use it.
-Yosh
1998-01-09 01:48:19 +00:00
Manish Singh
4ccc005197 applied patch to use a backing pixmap for drawing in GtkEntry, which removes
the bad flickering. (gtk-wille-980106-0)

-Yosh
1998-01-08 01:58:39 +00:00
Manish Singh
82da232b12 Added g_list_insert_sorted and g_slist_insert_sorted to glib.
-Yosh
1998-01-07 07:37:36 +00:00
Jay Painter
be68a5dacb Updated libtool to 1.0h. -Jay 1998-01-05 18:42:42 +00:00
Owen Taylor
23db1522f6 Changed guint32 -> guint for bitfields. (Bitfields must be
int or unsigned int?)
1998-01-04 01:15:15 +00:00
Shawn Amundson
957bd9d9c0 Changes in preparation for GTK 0.99.2 release. 1998-01-03 17:22:12 +00:00
Jay Painter
621e1dd4c2 Removal of inlines, and updated ChangeLog. -Jay 1998-01-03 07:45:05 +00:00
Jay Painter
39f02b638b Removed my ulgy splicing hack of glib.h/glibconfig.h. It's back to the
way it was. -Jay
1998-01-03 04:38:58 +00:00
Shawn Amundson
06dc220d64 On to GTK 0.99.1... 1998-01-02 21:03:53 +00:00
Manish Singh
92610dafdb Miscellaneous portability fixes.
-Yosh
1998-01-02 03:36:27 +00:00
Elliot Lee
f7443e0e85 Fixed bug in get_length_upper_bound where g_print-ing a NULL string would cause a segfault 1998-01-01 22:48:18 +00:00
Elliot Lee
d02a42db34 added config.cache to the glib .cvsignore 1997-12-26 18:34:06 +00:00
Elliot Lee
ed11431bdb glib.h is autogenerated - if I am supposed to leave it in anyways, apologies 1997-12-26 03:08:38 +00:00
Elliot Lee
7bac5c59eb Need errno.h for glibc systems (among others) - sopwith 1997-12-23 03:56:44 +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
Elliot Lee
4da7b2f2ef The handlebox is almost finished. Just need help with resizing the
parent - anyone know what I should be doing?
1997-12-22 21:37:43 +00:00
Elliot Lee
61124945c0 more gtkhandlebox work.. 1997-12-19 19:17:45 +00:00
Shawn Amundson
f7b1fa3aed For consistancy with GIMP/GNOME projects. Plus these files can
get really annoying if they are in the tree.

-Shawn
1997-12-19 05:24:25 +00:00
Owen Taylor
d5d01a5af9 It's all in the changelog. Well, almost all.
-owt
1997-12-18 02:17:14 +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
Shawn Amundson
4d724c25c7 New GTK release, 0.99.0. This release was coordinated with the
upcoming release of GIMP 0.99.16.

-Shawn
1997-12-14 08:49:30 +00:00
Owen Taylor
4bb8907c2b Now that glib.h has been removed, it can't be used as the
unique file for AC_INIT()
                                        -owt
1997-12-13 01:06:12 +00:00
Owen Taylor
19096ebdfd Generated file removed from repository.
-owt
1997-12-13 00:51:39 +00:00
Shawn Amundson
30e8968f3b Change to ltconfig to remove -z text for Solaris x86 Change to configure
* Change to ltconfig to remove -z text for Solaris x86
* Change to configure stuff so compile works on Solaris x86
* Added gdk/gdkkeysyms.h and gdk/gdkcursors.h back into the tree

-Shawn
1997-12-11 17:06:25 +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
Owen Taylor
68269a3f2a Configure changes:
Change test ! `...` to test -z `...`
    (Harald Meland <Harald.Meland@usit.uio.no>)
  Change $gtk_cv_x_locale to $need_x_locale so it isn't cached.
  With --enable_debug, don't touch CFLAGS if they're already set.

                              - owt (OK, which platform does this break?)
--------------------------------------------------------------------
1997-12-10 02:28:14 +00:00
Owen Taylor
79f532177f Remove dependencies of interfaces on USE_XIM Attempt to make wchar
* gdk/gdk.c, gdk/gdk.h, gdk/gdktypes.h:
  Remove dependencies of interfaces on USE_XIM
* gdki18n.h: Attempt to make wchar handling more portable
* gdkwindow.c: Include config.h. (For gdkinput.h)
1997-12-07 16:36:36 +00:00