]> Pileus Git - ~andy/gtk/log
~andy/gtk
26 years agonew fundtion to return the widget that the menu is attached to.
Tim Janik [Sun, 8 Feb 1998 19:00:01 +0000 (19:00 +0000)]
new fundtion to return the widget that the menu is attached to.

Sun Feb  8 07:06:54 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmenu.c (gtk_menu_get_attach_widget): new fundtion to return
          the widget that the menu is attached to.

26 years agoNew API functions: gtk_clist_get_cell_type gtk_clist_get_text
Jay Painter [Sun, 8 Feb 1998 07:55:11 +0000 (07:55 +0000)]
New API functions: gtk_clist_get_cell_type gtk_clist_get_text

New API functions:
  gtk_clist_get_cell_type
  gtk_clist_get_text
  gtk_clist_get_pixmap
  gtk_clist_get_pixtext
  gtk_clist_find_row_from_data

26 years agouse a mask of 0xffffffff instead of 0xffff, since there are 22 flags
Owen Taylor [Sat, 7 Feb 1998 17:07:14 +0000 (17:07 +0000)]
use a mask of 0xffffffff instead of 0xffff, since there are 22 flags

Sat Feb  7 11:33:08 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkgc.c (gdk_gc_copy): use a mask of 0xffffffff
  instead of 0xffff, since there are 22 flags currently
  defined. (From: Jon Trowbridge <trow@emccta.com>)

  Changed to something better. ~((~1) << GCLastBit)
   (From: from Daniel Stephens <daniel@cheeseplant.org>)

26 years agoadded some additional consts in appropriate places to remove a warning
Owen Taylor [Sat, 7 Feb 1998 16:48:03 +0000 (16:48 +0000)]
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

26 years agouse a mask of 0xffffffff instead of 0xffff, since there are 22 flags
Owen Taylor [Sat, 7 Feb 1998 16:34:40 +0000 (16:34 +0000)]
use a mask of 0xffffffff instead of 0xffff, since there are 22 flags

Sat Feb  7 11:33:08 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkgc.c (gdk_gc_copy): use a mask of 0xffffffff
  instead of 0xffff, since there are 22 flags currently
  defined. (From: Jon Trowbridge <trow@emccta.com>)

26 years agoinclude <ctype.h> for tolower()
Owen Taylor [Sat, 7 Feb 1998 16:14:13 +0000 (16:14 +0000)]
include <ctype.h> for tolower()

Sat Feb  7 11:15:54 1998  Owen Taylor  <owt1@cornell.edu>

* gutils.c: include <ctype.h> for tolower()

26 years agoHere's a small patch that corrects a prototype in gtkvpaned.h.
Tom Tromey [Sat, 7 Feb 1998 16:10:01 +0000 (16:10 +0000)]
Here's a small patch that corrects a prototype in gtkvpaned.h.

From: Tom Tromey <tromey@creche.cygnus.com>
Here's a small patch that corrects a prototype in gtkvpaned.h.

                                        -owt

26 years agoclean ups. -timj
Tim Janik [Sat, 7 Feb 1998 04:59:23 +0000 (04:59 +0000)]
clean ups. -timj

clean ups.
-timj

26 years agodon't wipe out window_private's x and y coordinates if the configure
Tim Janik [Sat, 7 Feb 1998 02:26:09 +0000 (02:26 +0000)]
don't wipe out window_private's x and y coordinates if the configure

Sat Feb  7 02:29:01 1998  Tim Janik  <timj@gimp.org>

        * gdk/gdk.c (gdk_event_translate): don't wipe out window_private's x
          and y coordinates if the configure notify is only about resizing,
          query the correct origin instead.

26 years agoA little cosmetic cleanup
Jay Painter [Thu, 5 Feb 1998 08:40:06 +0000 (08:40 +0000)]
A little cosmetic cleanup

26 years agoMenufactory now refs&sinks its children.
scott [Thu, 5 Feb 1998 04:10:43 +0000 (04:10 +0000)]
Menufactory now refs&sinks its children.
--sg

26 years agonew function to perform the same actions as gtk_list_remove_items, but
Tim Janik [Thu, 5 Feb 1998 03:53:41 +0000 (03:53 +0000)]
new function to perform the same actions as gtk_list_remove_items, but

Thu Feb  5 02:13:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtklist.h:
        * gtk/gtklist.c (gtk_list_remove_items_no_unref): new function
          to perform the same actions as gtk_list_remove_items, but
          supply the removed widgets with an additional reference count.

        * gtk/gtkmain.c (gtk_main_iteration_do): ignore events
          with event_widget == NULL, since they are bogus events
          from destroyed GdkWindows, exept for the case where
          event->type==GDK_PROPERTY_NOTIFY. Always handle expired
          timeout functions when returning from this function.

        * gtk/gtkwidget.c (gtk_widget_event): ignore GDK_EXPOSE events
          if event->window == NULL. Also, if this function couldn't handle
          the event for any reason (including failing assumptions), make
          the return value to look as if the event had been handled to
          avoid further processing (and warnings).

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c: remove gtk_widget_sink, because there is
          no point in providing such a function.

        * gdk/gdk.c (gdk_init): changed options `-name' and `-class'
          to `--name' and `--class', because the old names would
          confuse getopt(). these arguments have been introduced in the
          changes from gtk+970916 to gtk+970925 without a ChangeLog entry,
          changing argument names is painful, it would be nice if people
          would care about compatibility and consistency in the first place!

26 years agosection: Gnits to care about -------------------
Tim Janik [Thu, 5 Feb 1998 00:13:42 +0000 (00:13 +0000)]
section: Gnits to care about -------------------

section:
Gnits to care about
-------------------

-timj

26 years agodocumentation. -timj
Tim Janik [Wed, 4 Feb 1998 03:18:53 +0000 (03:18 +0000)]
documentation. -timj

documentation.
-timj

26 years agoindentations. -timj
Tim Janik [Wed, 4 Feb 1998 00:06:29 +0000 (00:06 +0000)]
indentations. -timj

indentations.
-timj

26 years agoRenamed widget_states.txt to widget_system.txt, and
Owen Taylor [Tue, 3 Feb 1998 23:31:21 +0000 (23:31 +0000)]
Renamed widget_states.txt to widget_system.txt, and
made some further revisions.

26 years agofor the emission of AFTER signals, fetch the objects signals via
Tim Janik [Tue, 3 Feb 1998 21:36:06 +0000 (21:36 +0000)]
for the emission of AFTER signals, fetch the objects signals via

Tue Feb  3 15:09:55 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtksignal.c (gtk_signal_real_emit): for the emission
          of AFTER signals, fetch the objects signals via
          gtk_signal_get_handlers again. some handlers might have
          been removed or added. not doing this would mess up the
          memchunk allocation of signal handlers (this had been
          triggered by multiple *_while_alive connections), bad, bad, bad!
          (gtk_handlers_run): do the referencing on signal handlers
          unconditionally, the invokation of AFTER handlers will now take
          care of modified lists.

        * gtk/gtksignal.h: added gtk_signal_connect_while_alive.

26 years agoOnly query the colormap for GRAYSCALE and PSEUDOCOLOR visuals, and don't
Owen Taylor [Tue, 3 Feb 1998 20:57:40 +0000 (20:57 +0000)]
Only query the colormap for GRAYSCALE and PSEUDOCOLOR visuals, and don't

Tue Feb  3 15:34:27 1998  Owen Taylor  <owt1@cornell.edu>

* gdk/gdkcolor.c (gdk_colormap_get_system): Only query
  the colormap for GRAYSCALE and PSEUDOCOLOR visuals,
  and don't ask for more than 256 colors in any case.

* gdk/gdkwindow.c (gdk_window_internal_destroy): Remove
  the input window information when we destroy the window,
  not when we are notified of it.

* gdk/gdkinputcommon.h (gdk_input_device_new): Work around
  bug in XFree86 3.3.1's handling of Wacom macro buttons.
  by assumming no device will report exactly 25 buttons.

* gdk/gdkinputcommon.h (gdk_input_common_other_event): Fill
  in string translation for generated key press events,
  do sanity checking on received key codes.

* gdk/gdkcc.c (gdk_color_context_new): Allocate enough
  room for a GdkColorContextPrivate, not just for a
  GdkColorContext.

26 years agodon't add the same menu to different menuitems/ optionmenus.
Tim Janik [Tue, 3 Feb 1998 15:14:35 +0000 (15:14 +0000)]
don't add the same menu to different menuitems/ optionmenus.

Tue Feb  3 15:09:55 1998  Tim Janik  <timj@gimp.org>

        * gtk/testgtk.c: don't add the same menu to different menuitems/
          optionmenus.

        * gtk/gtkmenuitem.h:
        * gtk/gtkmenuitem.c: new function gtk_menu_item_remove_submenu ro
          be consistent with optionmenu. use gtk_menu_attach_to_widget/
          gtk_menu_detach for setting/removing the submenu.
          invoke gtk_widget_destroy(submenu) in destructor to be consistent
          with other destructors.

        * gtk/gtkoptionmenu.h:
        * gtk/gtkoptionmenu.c: attach/detach to menu widget via
          gtk_menu_attach_to_widget/gtk_menu_detach.
          invoke gtk_widget_destroy(menu) in destructor to be consistent
          with other destructors.

26 years agoattach/detach to menu widget via
Tim Janik [Tue, 3 Feb 1998 14:13:05 +0000 (14:13 +0000)]
attach/detach to menu widget via

Tue Feb  3 15:09:55 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkoptionmenu.h:
        * gtk/gtkoptionmenu.c: attach/detach to menu widget via

        * gtk/gtkmenu.h:
        * gtk/gtkmenu.c: new functions gtk_menu_attach_to_widget
          and gtk_menu_detach that correspond to the action of
          gtk_widget_set_parent and gtk_widget_unparent.

        * gtk/widget.c: few fixups.

26 years agogtk/gtktable.c Fixed problem with division by zero in row/column-spanned
Owen Taylor [Tue, 3 Feb 1998 05:57:31 +0000 (05:57 +0000)]
gtk/gtktable.c Fixed problem with division by zero in row/column-spanned

Tue Feb  3 00:12:00 1998  Owen Taylor  <owt1@cornell.edu>
* gtk/gtktable.c
  Fixed problem with division by zero in row/column-spanned
  tables. Also removed a bunch of conditionals by making
  the observation that x/1 == x.

26 years agoFixed (?) problem with arithmentic exceptions in row/column
Owen Taylor [Tue, 3 Feb 1998 05:23:03 +0000 (05:23 +0000)]
Fixed (?) problem with arithmentic exceptions in row/column
spanned tables.

26 years agodunno, what cvs wants right now. i just told me these
Tim Janik [Mon, 2 Feb 1998 21:41:24 +0000 (21:41 +0000)]
dunno, what cvs wants right now. i just told me these
changes are already commited... ;(
-timj

26 years agochanged name to reflect that these macros in fact can't operate on
Tim Janik [Mon, 2 Feb 1998 21:07:18 +0000 (21:07 +0000)]
changed name to reflect that these macros in fact can't operate on

Mon Feb  2 04:15:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwindow.c:
        * gtk/gtkwidget.c:
        * gtk/gtkmain.c:
        * gtk/gtkwidget.c:
        * gtk/gtkcontainer.c:
        * gtk/gtkprivate.h (GTK_PRIVATE_UNSET_FLAG) (GTK_PRIVATE_UNSET_FLAGS):
          changed name to reflect that these macros in fact can't operate on
          multiple flags.

26 years agofixed destroy handler, so it doesn't segfault with the new refcounting
Tim Janik [Mon, 2 Feb 1998 20:40:03 +0000 (20:40 +0000)]
fixed destroy handler, so it doesn't segfault with the new refcounting

Mon Feb  2 04:15:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtktoolbar.c: fixed destroy handler, so it doesn't
          segfault with the new refcounting scheme anymore.

        * gtk/gtkhandlebox.c:
        * gtk/gtkclist.c:
        * gtk/gtkentry.c:
        * gtk/gtkrange.c:
        * gtk/gtktext.c:
        * gtk/gtkviewport.c:
          enforced
          gdk_window_set_user_data (window, NULL);
          gdk_window_destroy (window);
          window = NULL;
          throughout the code.

26 years agofixed a bad, bad referencing bug that could caused unreferencing of
Tim Janik [Mon, 2 Feb 1998 18:44:28 +0000 (18:44 +0000)]
fixed a bad, bad referencing bug that could caused unreferencing of

Mon Feb  2 04:15:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkmain.c (gtk_propagate_event): fixed a bad, bad referencing
          bug that could caused unreferencing of finalized objects.

        * gtk/testgtk.c: destroy fileselection on "OK" (this triggered the
          above mentioned bug).

        * gtk/gtkwidget.h:
        * gtk/gtkwidget.c:
        * gtk/gtkobject.h:
        * gtk/gtkobject.c:
          implemented and object reference tracer (gtk_trace_referencing) which
          is activated if GTK_TRACE_OBJECTS is defined (currently per default).
          in gdb: set the static variable `gtk_trace_object' to point to the
          object that you want to have reference traced.

        * gtk/gtkfileselection.c: few cleanups.

26 years agocleanups with key name spaces.
Tim Janik [Mon, 2 Feb 1998 14:13:13 +0000 (14:13 +0000)]
cleanups with key name spaces.

Mon Feb  2 04:15:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkcolorsel.c:
        * gtk/gtkcombo.c:
        * gtk/gtkobject.c:
        * gtk/gtkselection.c:
        * gtk/gtkwidget.c:
        * gtk/gtkwindow.c:
          cleanups with key name spaces.

        * gtk/gtkcombo.c: fixed destruction bug with popwin.

26 years agowatch the next ChangeLog update...
Tim Janik [Mon, 2 Feb 1998 14:11:24 +0000 (14:11 +0000)]
watch the next ChangeLog update...
-timj

26 years agofixed a refresh bug with unrealization of no_window widgets.
Tim Janik [Mon, 2 Feb 1998 05:35:59 +0000 (05:35 +0000)]
fixed a refresh bug with unrealization of no_window widgets.
(dialog button in tesgtk)
-timj

26 years agoforgot gtkprivate.h as well
Tim Janik [Mon, 2 Feb 1998 04:56:42 +0000 (04:56 +0000)]
forgot gtkprivate.h as well
-timj

26 years agohehe, forgot the ChangeLog
Tim Janik [Mon, 2 Feb 1998 04:55:09 +0000 (04:55 +0000)]
hehe, forgot the ChangeLog
-timj

26 years agoGTK_RESIZE_NEEDED is a private flag now.
Tim Janik [Mon, 2 Feb 1998 04:54:25 +0000 (04:54 +0000)]
GTK_RESIZE_NEEDED is a private flag now.

Mon Feb  2 04:15:08 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkcontainer.h:
        * gtk/gtkcontainer.c: GTK_RESIZE_NEEDED is a private flag now.
          (gtk_container_register_toplevel): new function.
          (gtk_container_unregister_toplevel): new function.

        * gtk/gtkmain.c: GTK_LEAVE_PENDING is a private flag now.

        * gtk/gtkmenu.c: call gtk_container_register_toplevel in
          gtk_menu_class_init instead of this dirty gtk_widget_set_parent(,NULL)
          hack. new default handler gtk_menu_destroy for calling
          gtk_container_unregister_toplevel. removed GTK_ANCHORED, GTK_UNMAPPED.

        * gtk/gtkobject.h: macro cleanups, added GTK_DESTROYED flag.

        * gtk/gtkobject.c: only emit DESTROY signal if !GTK_OBJECT_DESTROYED
          (object).

        * gtk/gtkprivate.h: new file that will not be automatically included.
          it holds the private flags for GtkWidget along with it's SET/UNSET
          and examination macros.

        * gtk/gtkwidget.c: private flags: GTK_RESIZE_NEEDED, GTK_REDRAW_PENDING,
          GTK_RESIZE_PENDING, GTK_IN_REPARENT, GTK_USER_STYLE. GTK_ANCHORED is
          replaced by GTK_TOPLEVEL. added missing UNSET for GTK_IN_REPARENT.
          removed the gtk_widget_set_parent(, NULL) hack for toplevels.
          upon destroy free memory for widgets with GTK_WIDGET_HAS_SHAPE_MASK.

        * gtk/gtkwidget.h: split up the widget flags into a public and a private
          portion. added an extra field private_flags to GtkWidget without making
          it bigger by using an alignment gap of 16 bit. macro cleanups.

        * gtk/gtkwindow.c: removed GTK_ANCHORED. new function gtk_window_destroy
          for calling gtk_container_unregister_toplevel. removed the
          gtk_widget_set_parent(,NULL), call gtk_container_register_toplevel
          instead. remove GTK_UNMAPPED. GTK_RESIZE_NEEDED is private now.

        * gtk/gtksignal.c (gtk_signal_disconnect): removed a bug on
          removal that cut off the handler list -> living_objects == 0
          with testgtk. made some warnings more descriptive.
          new function gtk_signal_connect_object_while_alive, which
          will automatically destroy the connection once one of the objects
          is destroyed. didn't include this before removal of the above
          mentioned bug.

* reflected refcounting revolution in ChangeLog

26 years agomove enum GtkToolbarChildType before typedef to make gtktoolbar.h compile with c...
Radek Doulik [Sun, 1 Feb 1998 08:50:08 +0000 (08:50 +0000)]
move enum GtkToolbarChildType before typedef to make gtktoolbar.h compile with c++ (or egcs at least :)

26 years agoSome documentation of the internals.
Owen Taylor [Sun, 1 Feb 1998 08:22:51 +0000 (08:22 +0000)]
Some documentation of the internals.
                                        Owen

26 years agoAdded a new GTK_IN_REPARENT flag and revised gtk_widget_reparent so that
Owen Taylor [Sun, 1 Feb 1998 02:28:14 +0000 (02:28 +0000)]
Added a new GTK_IN_REPARENT flag and revised gtk_widget_reparent so that

Sat Jan 31 21:26:27 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised
  gtk_widget_reparent so that the child would not be unrealized
  unnecessarily. Changed gtk_widget_unrealize () to recursively
  unrealize the children (since the child windows will be
  destroyed too.)

26 years agoI got sick of typing in the same commands over and over, so borrowed
Shawn Amundson [Sat, 31 Jan 1998 17:43:56 +0000 (17:43 +0000)]
I got sick of typing in the same commands over and over, so borrowed
autogen.sh from gnome cvs...  Also corrected some info in HACKING.

-Shawn

26 years agoAdded and autoconfigured in a new utility function g_strcasecmp
Manish Singh [Sat, 31 Jan 1998 08:15:57 +0000 (08:15 +0000)]
Added and autoconfigured in a new utility function g_strcasecmp
GtkCombo uses g_strcasecmp now
Quelled a warning about atexit undeclared in gtkobject

-Yosh

26 years agoBacked out change to close polygons since it caused problems for the
Owen Taylor [Sat, 31 Jan 1998 05:12:37 +0000 (05:12 +0000)]
Backed out change to close polygons since it caused problems for the

Sat Jan 31 00:13:33 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkstyle.c: Backed out change to close polygons
  since it caused problems for the Notebook.

26 years ago- Conformity to new reference counting schemes - Font and color
Owen Taylor [Sat, 31 Jan 1998 03:33:02 +0000 (03:33 +0000)]
- Conformity to new reference counting schemes - Font and color

Fri Jan 30 22:28:09 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkclist.{c,h}:
   - Conformity to new reference counting schemes
   - Font and color information is no-longer taken from
     the (possibly unitialized) style before the widget
     is realized, but is obtained when needed. (Fixes
     problems with non-default styles)
   - white_gc => base_gc where appropriate
   - Handle graphics expose events correctly (or as
     correctly as anywhere else) so that scrolling when
     overlapped works.

26 years agoIn gtk_widget_init, set the flags _on_top_of_ those for
Owen Taylor [Sat, 31 Jan 1998 02:28:43 +0000 (02:28 +0000)]
In gtk_widget_init, set the flags _on_top_of_ those for
GTK_OBJECT, to avoid clearing the FLOATING flag.
living_objects == 0!

26 years agofixed round-off error in calculation of tables with a lot of cells
George Lebl [Sat, 31 Jan 1998 01:43:47 +0000 (01:43 +0000)]
fixed round-off error in calculation of tables with a lot of cells

Fri Jan 30 17:41:06 1998  George Lebl  <jirka@5z.com>

        * gtk/gtktable.c: fixed round-off error in calculation
          of tables with a lot of cells

26 years agored/green/blue parameters are now expected to be in [0, 65535], to be
Federico Mena [Sat, 31 Jan 1998 00:09:58 +0000 (00:09 +0000)]
red/green/blue parameters are now expected to be in [0, 65535], to be

Fri Jan 30 08:51:16 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

* gdk/gdkcc.c (gdk_color_context_get_pixel): red/green/blue
  parameters are now expected to be in [0, 65535], to be consistent
  with the rest of Gdk.
(gdk_color_context_get_pixels): Made it use 16-bit color values as
  well.  Fixed mdist=1000000 buglet (it should start with at least
  0x1000000).
(gdk_color_context_get_pixels_incremental): Same as
gdk_color_context_get_pixels().

26 years agohm, initital refcount revolution commit ;)
Tim Janik [Fri, 30 Jan 1998 23:47:09 +0000 (23:47 +0000)]
hm, initital refcount revolution commit ;)
still some gnits left, but keep working on it ;)
-timj

26 years agomake toolbar Child structure accesible from apps
Radek Doulik [Fri, 30 Jan 1998 10:21:37 +0000 (10:21 +0000)]
make toolbar Child structure accesible from apps

26 years agoClose the polygon if it isn't already. (To match gtk_draw_polygon)
Owen Taylor [Fri, 30 Jan 1998 03:58:47 +0000 (03:58 +0000)]
Close the polygon if it isn't already. (To match gtk_draw_polygon)

Thu Jan 29 22:57:39 1998  Owen Taylor  <owt1@cornell.edu>

* gtk/gtkstyle.c (gtk_default_draw_polygon): Close
  the polygon if it isn't already. (To match gtk_draw_polygon)
  Simplified logic. (Appearance could probably be
  improved for objects with gradual curves by adding in
  some intermediate edge coloration)

26 years agodiscovered and documented a new bug ;)
Tim Janik [Fri, 30 Jan 1998 03:51:43 +0000 (03:51 +0000)]
discovered and documented a new bug ;)
-timj

26 years agosome bugs worked out.
Tim Janik [Fri, 30 Jan 1998 01:34:19 +0000 (01:34 +0000)]
some bugs worked out.
comment cleanups
-timj

26 years agonew function to gather information about a certain signal.
Tim Janik [Thu, 29 Jan 1998 20:46:05 +0000 (20:46 +0000)]
new function to gather information about a certain signal.

Thu Jan 29 21:36:14 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtksignal.c (gtk_signal_query): new function to gather
          information about a certain signal.

        * gtk/gtksignal.c (gtk_signal_newv): new function similar to
          gtk_signal_new().

        * gtk/gtksignal.c (gtk_signal_real_emit): check for function_offset
          == 0.

        * gtk/gtksignal.c (gtk_signal_connect_by_type): perform a signal
          id lookup on the parent as well.

        * gtk/gtkobject.c (gtk_object_class_add_user_signal): new
          function for implementation of user defined signals.
        * gtk/gtkobject.c (gtk_object_class_add_signals): free old
          signal id array.

        * gtk/gtkobject.h: this holds the typedefs for GtkSignalFunc and
          GtkSignalMarshaller now, because they are used for
          gtk_object_class_add_user_signal.

        * gtk/gtktypeutils.c (gtk_type_class_init): reset object_class->signals
          and object_class->nsignals for new object classes.

26 years agonew user signal, and possibility to query signal information.
Tim Janik [Thu, 29 Jan 1998 20:44:14 +0000 (20:44 +0000)]
new user signal, and possibility to query signal information.
-timj

26 years agothis goes to *all* widget writers,
Tim Janik [Thu, 29 Jan 1998 13:47:47 +0000 (13:47 +0000)]
this goes to *all* widget writers,
you have to follow the gtk+ nameing scheme, otherwise bad things
will happen (in e.g. signal/argument/type lookups).
-timj

26 years agoremoved a FIXME that i had forgotten earlier.
Tim Janik [Thu, 29 Jan 1998 08:44:55 +0000 (08:44 +0000)]
removed a FIXME that i had forgotten earlier.

26 years agoThe list sort functions compared things backwards. Fixed.
Manish Singh [Thu, 29 Jan 1998 08:00:28 +0000 (08:00 +0000)]
The list sort functions compared things backwards. Fixed.
The list iterator macros now check for NULL args

-Yosh

26 years agoSmall fix to my previous GtkTable commit -miguel
Arturo Espinosa [Wed, 28 Jan 1998 05:55:54 +0000 (05:55 +0000)]
Small fix to my previous GtkTable commit -miguel

26 years agoOops, forgot a clean-up - Federico
Arturo Espinosa [Wed, 28 Jan 1998 03:51:48 +0000 (03:51 +0000)]
Oops, forgot a clean-up - Federico

26 years agoThe auto_shrink policy of the floating window is now set to TRUE. This
Federico Mena [Wed, 28 Jan 1998 03:41:55 +0000 (03:41 +0000)]
The auto_shrink policy of the floating window is now set to TRUE. This

Tue Jan 27 15:52:48 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

* gtk/gtkhandlebox.c (gtk_handle_box_realize): The auto_shrink
policy of the floating window is now set to TRUE.  This fixes the
problem of the floating window being too big when the handlebox
child is small.
(gtk_handle_box_motion): Now we use GDK_POINTER_MOTION_HINT_MASK
to improve movement.

26 years agoTables autoresize now -miguel
Arturo Espinosa [Tue, 27 Jan 1998 23:40:51 +0000 (23:40 +0000)]
Tables autoresize now -miguel

26 years agoMore changes from Tony Gale.
Shawn Amundson [Tue, 27 Jan 1998 20:51:36 +0000 (20:51 +0000)]
More changes from Tony Gale.

26 years agog_string_prepend* had interchanged src and dest params. Fixed.
Manish Singh [Tue, 27 Jan 1998 17:50:07 +0000 (17:50 +0000)]
g_string_prepend* had interchanged src and dest params. Fixed.

-Yosh

26 years agoFixed a really lame error where g_slist_insert didn't hook the data
Manish Singh [Tue, 27 Jan 1998 09:42:41 +0000 (09:42 +0000)]
Fixed a really lame error where g_slist_insert didn't hook the data
in! Reworked the routine a bit too.

-Yosh

26 years agoShows the widgets properly. -Jay
Jay Painter [Tue, 27 Jan 1998 06:39:56 +0000 (06:39 +0000)]
Shows the widgets properly. -Jay

26 years agoFixed widget sensitivity for the treeitem - please review at leisure
Elliot Lee [Tue, 27 Jan 1998 03:57:59 +0000 (03:57 +0000)]
Fixed widget sensitivity for the treeitem - please review at leisure

26 years agoadditions/changes from new FAQ maintainers Nathan Froyd and Tony Gale.
CST 1998 Shawn T. Amundson [Mon, 26 Jan 1998 23:11:51 +0000 (23:11 +0000)]
additions/changes from new FAQ maintainers Nathan Froyd and Tony Gale.

Mon Jan 26 17:12:12 CST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtkfaq.sgml: additions/changes from new FAQ maintainers
          Nathan Froyd and Tony Gale.

26 years agoadditions/changes from Gregory A. McLean
CST 1998 Shawn T. Amundson [Mon, 26 Jan 1998 22:57:10 +0000 (22:57 +0000)]
additions/changes from Gregory A. McLean

Mon Jan 26 16:54:02 CST 1998 Shawn T. Amundson <amundson@gimp.org>

        * docs/gtk.texi: additions/changes from Gregory A. McLean

26 years agoadded a bunch of checks for window != NULL and private->destroyed. (don't
Tim Janik [Mon, 26 Jan 1998 01:20:14 +0000 (01:20 +0000)]
added a bunch of checks for window != NULL and private->destroyed. (don't

Mon Jan 26 02:15:29 1998  Tim Janik  <timj@gimp.org>

        * gdk/gdkdraw.c:
        * gdk/gdkgc.c:
        * gdk/gdkimage.c:
        * gdk/gdkinput.c:
        * gdk/gdkpixmap.c:
        * gdk/gdkproperty.c:
        * gdk/gdkselection.c:
        * gdk/gdkwindow.c: added a bunch of checks for window != NULL and
          private->destroyed.
(don't trust this cvs commit message, i didn't modify that many files!)

26 years agoFixed a resizing bug with CList where you could loose the end of the last
Jay Painter [Mon, 26 Jan 1998 00:07:40 +0000 (00:07 +0000)]
Fixed a resizing bug with CList where you could loose the end of the last
column; I also fixed a small cosmetic problem with the fileselect. -Jay

26 years agoadded new widget flag GTK_LEAVE_PENDING. if a widget has GTK_LEAVE_PENDING
Tim Janik [Sun, 25 Jan 1998 18:45:56 +0000 (18:45 +0000)]
added new widget flag GTK_LEAVE_PENDING. if a widget has GTK_LEAVE_PENDING

Sun Jan 25 19:15:32 1998  Tim Janik  <timj@gimp.org>

        * gtk/gtkwidget.h (enum): added new widget flag GTK_LEAVE_PENDING.
        * gtk/gtkmain.c (gtk_main_iteration_do): if a widget has
          GTK_LEAVE_PENDING set, send it its LEAVE_NOTIFY event, regardless
          of a grab or sensitivity.
          changed the compression code for enter/leave notify events to
          free *both* compressed event, and removed an unneccessary call
          to g_list_remove.

        * ChangeLog: finally catched up with the recent changes on my part.

26 years agoforgot a printf() line ;)
Tim Janik [Sat, 24 Jan 1998 20:03:58 +0000 (20:03 +0000)]
forgot a printf() line ;)
-timj

26 years agogtk_object_query_args() now returns the args in the corret order.
Tim Janik [Sat, 24 Jan 1998 20:02:19 +0000 (20:02 +0000)]
gtk_object_query_args() now returns the args in the corret order.
-timj

26 years agoChanged static function names/reorganized to make more sense. -Jay
Jay Painter [Sat, 24 Jan 1998 19:14:42 +0000 (19:14 +0000)]
Changed static function names/reorganized to make more sense. -Jay

26 years agoadded BUGS. -timj
Tim Janik [Sat, 24 Jan 1998 18:45:34 +0000 (18:45 +0000)]
added BUGS. -timj

added BUGS.
-timj

26 years agonew element n_args in GtkObjectClass.
Tim Janik [Fri, 23 Jan 1998 10:38:29 +0000 (10:38 +0000)]
new element n_args in GtkObjectClass.
-timj

26 years agoSwitched the file to GNU indentation, for consistency.
Federico Mena [Fri, 23 Jan 1998 06:26:39 +0000 (06:26 +0000)]
Switched the file to GNU indentation, for consistency.

Thu Jan 22 18:58:44 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

* gdk/gdkcc.c: Switched the file to GNU indentation, for consistency.

26 years agoPicky, picky... fix two lines with wrong indentation :-)
Federico Mena [Fri, 23 Jan 1998 06:05:39 +0000 (06:05 +0000)]
Picky, picky... fix two lines with wrong indentation :-)

Thu Jan 22 18:58:44 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

* gdk/gdktypes.h (struct _GdkColorContext): Picky, picky... fix
two lines with wrong indentation :-)

26 years agogtk/Makefile.am: Fixed the called to runelisp to use $(SHELL).
scott [Thu, 22 Jan 1998 07:34:13 +0000 (07:34 +0000)]
gtk/Makefile.am: Fixed the called to runelisp to use $(SHELL).
(Cannot rely on the script having execute permissions.)
--sg

26 years agoRelease GTK+ 0.99.3.
Shawn Amundson [Wed, 21 Jan 1998 23:29:56 +0000 (23:29 +0000)]
Release GTK+ 0.99.3.

26 years agosome gtk_*_set_arg fixes
Tim Janik [Wed, 21 Jan 1998 23:03:11 +0000 (23:03 +0000)]
some gtk_*_set_arg fixes
-timj

26 years agoAdded FAQ to the tree in prep for others to start working on it...
Shawn Amundson [Wed, 21 Jan 1998 22:41:35 +0000 (22:41 +0000)]
Added FAQ to the tree in prep for others to start working on it...

26 years agoAdded in Jay's new gtk_clist_column_titles_passive() call.
Ian Main [Wed, 21 Jan 1998 09:31:57 +0000 (09:31 +0000)]
Added in Jay's new gtk_clist_column_titles_passive() call.

Ian

26 years agosigh, it wasn't so simple - first correction
Tim Janik [Wed, 21 Jan 1998 09:16:33 +0000 (09:16 +0000)]
sigh, it wasn't so simple - first correction
-timj

26 years agoForgot to free GList on destroy, and to destroy fileop dialog boxes.
Ian Main [Wed, 21 Jan 1998 09:06:05 +0000 (09:06 +0000)]
Forgot to free GList on destroy, and to destroy fileop dialog boxes.

Ian

26 years agoGtkCList Updates. -Jay
Jay Painter [Wed, 21 Jan 1998 08:56:52 +0000 (08:56 +0000)]
GtkCList Updates. -Jay

26 years agoSmall fix for the optionmenu.
Ian Main [Wed, 21 Jan 1998 08:50:47 +0000 (08:50 +0000)]
Small fix for the optionmenu.

Ian

26 years agonew function gdk_pointer_is_grabbed(). extremely simple ;)
Tim Janik [Wed, 21 Jan 1998 08:35:37 +0000 (08:35 +0000)]
new function gdk_pointer_is_grabbed(). extremely simple ;)
-timj

26 years agoNew file selection dialog. Converted to use clist, added Mac-like pulldown,
Ian Main [Wed, 21 Jan 1998 07:53:07 +0000 (07:53 +0000)]
New file selection dialog.  Converted to use clist, added Mac-like pulldown,
and a few simple file operations.

Ian Main <slow@intergate.bc.ca

26 years agostrdup changed to g_strdup
Shawn Amundson [Wed, 21 Jan 1998 05:13:01 +0000 (05:13 +0000)]
strdup changed to g_strdup

-Shawn

26 years agoGot rid of -z text for Solaris x86... again... sigh.
Shawn Amundson [Wed, 21 Jan 1998 05:04:45 +0000 (05:04 +0000)]
Got rid of -z text for Solaris x86... again... sigh.

-Shawn

26 years agoremoved some superfluous variables that duplicated widget->state.
Tim Janik [Wed, 21 Jan 1998 00:52:17 +0000 (00:52 +0000)]
removed some superfluous variables that duplicated widget->state.
updated ChangeLog.
-timj

26 years agoApplied patch from (Raja R Harinath <harinath@cs.umn.edu>) to add function
Tim Janik [Wed, 21 Jan 1998 00:46:48 +0000 (00:46 +0000)]
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.

26 years agoUse browse mode on the list
Elliot Lee [Wed, 21 Jan 1998 00:34:27 +0000 (00:34 +0000)]
Use browse mode on the list

26 years agosensitivity and state setting combination.
Tim Janik [Tue, 20 Jan 1998 23:58:42 +0000 (23:58 +0000)]
sensitivity and state setting combination.
-timj

26 years agoglib aclocal stuff -timj
Tim Janik [Tue, 20 Jan 1998 23:53:15 +0000 (23:53 +0000)]
glib aclocal stuff -timj

glib aclocal stuff
-timj

26 years agoConversion to use Paolo Molaro's GtkCombo instead of GtkComboBox
Owen Taylor [Tue, 20 Jan 1998 21:40:38 +0000 (21:40 +0000)]
Conversion to use Paolo Molaro's GtkCombo instead of GtkComboBox

26 years agoGtkCList updates. -Jay
Jay Painter [Tue, 20 Jan 1998 11:46:15 +0000 (11:46 +0000)]
GtkCList updates. -Jay

26 years agosomeone forgot the __cplusplus closing brace.
Miguel de Icaza [Tue, 20 Jan 1998 01:04:55 +0000 (01:04 +0000)]
someone forgot the __cplusplus closing brace.

Mon Jan 19 19:05:26 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>

* gtk/gtkstatusbar.h: someone forgot the __cplusplus closing brace.

26 years agoSet container_class->focus to NULL. Widgets in the toolbar should not get
Federico Mena [Mon, 19 Jan 1998 23:45:37 +0000 (23:45 +0000)]
Set container_class->focus to NULL. Widgets in the toolbar should not get

Mon Jan 19 16:21:00 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

* gtk/gtktoolbar.c (gtk_toolbar_class_init): Set
container_class->focus to NULL.  Widgets in the toolbar should not
get the focus via the normal key bindings (no toolkit does this,
and it makes sense).

26 years agoRemoved the GTK_PIXMAP casts to match Eckehard's new prototypes.
Federico Mena [Mon, 19 Jan 1998 22:38:22 +0000 (22:38 +0000)]
Removed the GTK_PIXMAP casts to match Eckehard's new prototypes.

Mon Jan 19 16:21:00 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>

* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
match Eckehard's new prototypes.

* gtk/gtktoolbar.h: Switched the order of the tooltip_text and
widget parameters to the gtk_toolbar_*_widget() functions, to be
friendlier to the C++ bindings.  This is per request of Guillaume
Laurent.

26 years agoGtkCList updates: Click-Drag column resizing, a couple of layout
Jay Painter [Mon, 19 Jan 1998 09:59:20 +0000 (09:59 +0000)]
GtkCList updates: Click-Drag column resizing, a couple of layout
fixes, show/hide functions for the title buttons, and I've replaced
gtk_clist_new with gtk_clist_new_with_titles.  gtk_clist_new will
create a list without title bars which can be added later by calling
gtk_clist_set_column_(title/widget) for the column button you want to add.
A column button for column 0 always exhists, and buttons span all columns
until they come to the next exhisting button, or the last column. -Jay

26 years agothis is a stack of grabbing widgets now, having unique entries. the
Tim Janik [Mon, 19 Jan 1998 08:23:24 +0000 (08:23 +0000)]
this is a stack of grabbing widgets now, having unique entries. the

Mon Jan 19 09:16:38 1998  Tim Janik  <timj@psynet.net>

        * gtk/gtkmain.c (gtk_grab_add) (gtk_grab_remove): this is a stack
          of grabbing widgets now, having unique entries. the GTK_HAS_GRAB
          flag of a widget is set while it is on the stack (wasn't
          implemented before).

26 years agochanged gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget as
MET Eckehard Berns [Sun, 18 Jan 1998 23:49:56 +0000 (23:49 +0000)]
changed gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget as

Mon Jan 19 00:46:18 1998 MET  Eckehard Berns  <eb@berns.prima.de>

* gtk/gtktoolbar.[ch]: changed
    gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget
    as icon to allow more flexibility

26 years agoForgot this. -Shawn
Shawn Amundson [Sun, 18 Jan 1998 23:04:43 +0000 (23:04 +0000)]
Forgot this. -Shawn

Forgot this.
-Shawn