1. 10 Mar, 1998 14 commits
  2. 09 Mar, 1998 6 commits
    • Tim Janik's avatar
      made the <widget>_signals[] arrays of type guint rather than gint. made · d1871831
      Tim Janik authored
      Mon Mar  9 15:48:10 1998  Tim Janik  <timj@gimp.org>
      
              * Signal signedness and naming corrections, plus GtkType fixes:
      
              * gtk/gtkadjustment.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkcurve.c:
              * gtk/gtkdata.c:
              * gtk/gtkeditable.c:
              * gtk/gtkentry.c:
              * gtk/gtkhandlebox.c:
              * gtk/gtkinputdialog.c:
              * gtk/gtkitem.c:
              * gtk/gtklist.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkmenushell.c:
              * gtk/gtknotebook.c:
              * gtk/gtkstatusbar.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktree.c:
              * gtk/gtktreeitem.c:
              * gtk/gtkwidget.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtkwindow.c:
              made the <widget>_signals[] arrays of type guint rather than gint.
              * gtk/gtkwidget.c (gtk_widget_get_ancestor): made widget_type a GtkType.
      
              * gtk/gtkcombo.h:
              handler ids need to be of type guint (entry_change_id, list_change_id).
      
              * gtk/gtkaccelerator.c:
              changed signal_num to signal_id and typed it guint.
      
              * gtk/gtkmain.c: made gtk_ndebug_keys a guint.
      
              * gtk/gtkmenu.h:
              * gtk/gtkmenu.c:
              (gtk_menu_popup): made button a guint.
              (gtk_menu_set_active): made index a guint.
      
              * gtk/gtkmenuitem.h:
              * gtk/gtkmenuitem.c:
              made accelerator_signal a guint.
      
              * gtk/gtkoptionmenu.h:
              * gtk/gtkoptionmenu.c:
              (gtk_option_menu_set_history): made index a guint.
      
              * gtk/gtksignal.h:
              * gtk/gtksignal.c:
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: changed a bunch of prototypes to take guints rather
              than gints. also made some conversions from guint to GtkType, left over
              from when the fundamental-types system was introduced.
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: made object_data_id_index and obj_count guints.
              made *signals and nsignals guints in GtkObjectClass.
      d1871831
    • GMT 1998 Tony Gale's avatar
      - Use 'diff -ru' for patches - Explained patch application/rejection - · 2a8d32a7
      GMT 1998 Tony Gale authored
      Mon Mar  9 13:36:53 GMT 1998 Tony Gale  <gale@gimp.org>
      
              * docs/gtkfaq.sgml:
      
              - Use 'diff -ru' for patches
              - Explained patch application/rejection
              - Added information on CVS
              - New question on right justified menus with menufactory
      
              From Nathan:
      
              - Information on Objective-C bindings
              - Add missing variable in colour example.
      2a8d32a7
    • Tim Janik's avatar
      reverted the changes ian introduced in r1.16 on Mar 06, since they broke · 19a80b76
      Tim Janik authored
      Mon Mar  9 11:44:33 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkfilesel.c (gtk_file_selection_update_history_menu): reverted
              the changes ian introduced in r1.16 on Mar 06, since they broke the
              history menu.
      19a80b76
    • Tim Janik's avatar
      hehe stupid me, wanted to fix a warning, and borke · 7b721e20
      Tim Janik authored
      the menus instead...
      -timj
      7b721e20
    • Tim Janik's avatar
      patch from lars for construct behaviour. · c9f7f2a0
      Tim Janik authored
      -timj
      c9f7f2a0
    • Owen Taylor's avatar
      No, you can't add a GtkStyle * to a list of GtkRcNode *. (Fixes huge · d894d2dc
      Owen Taylor authored
      Mon Mar  9 01:01:41 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkrc.c: No, you can't add a GtkStyle * to a
      	  list of GtkRcNode *. (Fixes huge performance problem)
      	  Plus, don't bother creating a new style unless style
      	  actually has bg pixmaps.
      d894d2dc
  3. 08 Mar, 1998 10 commits
    • Owen Taylor's avatar
      2b3f8baf
    • Owen Taylor's avatar
      - Show selection correctly when starting selection with arrows · ab30a02e
      Owen Taylor authored
      Sun Mar  8 15:53:33 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtktext.c:
      
      	- Show selection correctly when starting selection with arrows
      
      	- Display pixmap background only when not editable
      
      	- Redraw focus area more carefully to prevent flashing (and
      	  make style of drawing consistent with Entry)
      
      	* gtk/gtktreeitem.c: ref colormaps for pixmap by colormap
      	  storage.
      
      	* gtk/gtkrc.c: Store a separate style for each RcStyle for
      	  each colormap, so we can handle background pixmaps
      	  correctly, which need to be per-colormap. (Leaks
      	  colormaps...)
      
      	  Parse text color style entries correctly.
      
      	* gtk/testgtk.c: insert text without fg color
      	  gtk/testgtkrc: move "*" after rest, so the other class styles
      	                 take effect
      
              * gdk/gdkwindow.c gdk/gdk.c gdk/gdkprivate.h: Send DND events
      	  safely, in case drop window disappears. (Performance hit
      	  because XSync()'s are necessary)
      
      	* gdk/gdk.h gdk/gdkpixmap.c: Added
      	  gdk_pixmap_colormap_create_from_xpm[_d] to allow creating
      	  pixmaps from xpm's before you have a GdkWindow.
      ab30a02e
    • Jay Painter's avatar
      changed clist->selection GList so its data elements are casted row indexes instead · 85f13649
      Jay Painter authored
      of pointers.  I also cleaned up a few bugs with GTK_SELECTION_MULTIPLE mode, and some
      signal synronization problems with removing selected rows.
      85f13649
    • rhlabs's avatar
      <raster@redhat.com> · e6086476
      rhlabs authored
      
      
      <raster@redhat.com>
      
      Forgot to add changelog entries... added.
      e6086476
    • Tim Janik's avatar
      removed gtk_range_calc_value(). · 829936fd
      Tim Janik authored
      Sun Mar  8 13:03:22 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkrange.h: removed gtk_range_calc_value().
      829936fd
    • Tim Janik's avatar
      fix a NULL warning. -timj · 6eca1a93
      Tim Janik authored
      fix a NULL warning.
      -timj
      6eca1a93
    • Tim Janik's avatar
      typos and warning fixes. · 77ff63f7
      Tim Janik authored
      -timj
      77ff63f7
    • Tim Janik's avatar
      applied a bunch of patches and removed all the printfs that · 5fa1bfcf
      Tim Janik authored
      raster left over.
      -timj
      5fa1bfcf
    • Tim Janik's avatar
      define the version variables in config.h. · 76d01a82
      Tim Janik authored
      Sun Mar  8 03:00:17 1998  Tim Janik  <timj@gimp.org>
      
              * configure.in: define the version variables in config.h.
      
              * gtk/gtkmain.h:
              * gtk/gtkmain.c: added static version variables.
      
              * gdk/gdkpixmap.c: fixed memory leaks (gtk-gronlund-980307-1.patch.gz)
      76d01a82
    • Owen Taylor's avatar
      Added a new function, gtk_preview_reset(), that can be used (under highly · 2395ed08
      Owen Taylor authored
      Sat Mar  7 18:46:57 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkpreview.[ch]: Added a new function, gtk_preview_reset(),
      	  that can be used (under highly controlled circumstances),
      	  to change the properties of the preview colormap after
      	  a preview has already been created and destroyed.
      2395ed08
  4. 07 Mar, 1998 5 commits
    • Tim Janik's avatar
      register living objects in a hashtable. · de1262dc
      Tim Janik authored
      Sun Mar  8 00:18:04 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkobject.c: register living objects in a hashtable.
      de1262dc
    • Tim Janik's avatar
      made the object/class cast checks much more descriptive, based on · 124d1e5c
      Tim Janik authored
      Sat Mar  7 20:20:53 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkobject.c:
              (gtk_object_check_cast):
              (gtk_object_check_class_cast):
              made the object/class cast checks much more descriptive, based on
              gtk-draco-980305-2.patch.gz and gtk-draco-980306-1.patch.gz but
              optimized for common code path.
      
              * gtk/gtkpreview.c: added a few extra checks for the visual
              (gtk-draco-980305-0.patch.gz).
      
              * gdk/gdk.c (gdk_signal): abort() on a signal if G_ENABLE_DEBUG
                is defined, so we dump core (gtk-draco-980305-0.patch.gz).
      124d1e5c
    • rhlabs's avatar
      <raster@redhat.com> · 640c7521
      rhlabs authored
      
      
      <raster@redhat.com>
      
      added:
      Window
      gdk_window_xid_at(Window base, gint bx, gint by, gint x, gint y)
      
      for helpful DND support...
      640c7521
    • Owen Taylor's avatar
      Fixed the vscrollbar flickering problem, by checking the area on expose · a328473d
      Owen Taylor authored
      Sat Mar  7 01:07:24 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkrange.c (gtk_range_expose): Fixed the vscrollbar
      	  flickering problem, by checking the area on expose events.
      	  (There was a hscrollbar flickering problem as well, it
      	   just wasn't very noticeable)
      a328473d
    • Owen Taylor's avatar
      Disallow pasting into non-editable widgets. · 1941bf4c
      Owen Taylor authored
      Fri Mar  6 21:30:05 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkeditable.c: Disallow pasting into non-editable
      	  widgets.
      
      	* gtk/gtktext.[ch]:
      
      	  -Added scrolling when dragging the selection
      	   paste the top/bottom.
      
      	  -Fix some of the problems with displaying the selection
      	   state before mouse release.
      
      	  -Disallow pasting into non-editable widgets
      
      	  -Fixed segfault when changing window size
      
      	  -Update the cursor correctly when switching between
      	   editable and non-editable
      
      	* testgtk.c: Added a toggle button for editability for
      	  the text widget.
      1941bf4c
  5. 06 Mar, 1998 5 commits
    • Shawn Amundson's avatar
      Oops, · 761549b9
      Shawn Amundson authored
      I said:
                gtk/gtkwindow.h: check for GDK_ISO_Left_Tab
      Should be:
                gtk/gtkwindow.c: check for GDK_ISO_Left_Tab
      
      -Shawn
      761549b9
    • PST 1998 Shawn T. Amundson's avatar
      return NULL if device is not ready gtk/gtkwindow.h: check for · 16f8b9f6
      PST 1998 Shawn T. Amundson authored
      Fri Mar  6 14:47:33 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * Applied gtk-matsu-980205-0 (oops, should be 980305)
                gdk/gdkinputcommon.h: return NULL if device is not ready
                gtk/gtkwindow.h: check for GDK_ISO_Left_Tab
      16f8b9f6
    • rhlabs's avatar
      Fix selection bugs (selection was not being modified). · 2095c552
      rhlabs authored
      -Marc
      2095c552
    • Elliot Lee's avatar
      This commit moves dnd variables around a bit, and has a try at using hints for... · 3033d6b4
      Elliot Lee authored
      This commit moves dnd variables around a bit, and has a try at using hints for the shape dragging (this is for quartic)
      3033d6b4
    • Ian Main's avatar
      Added gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and · 2a4c36a7
      Ian Main authored
      
      Thu Mar  5 20:41:27 1998  Ian Main  <imain@gnu.org>
      
      	* gtk/gtkfilesel.c: Added
      	  gtk_file_selection_show_fileop_buttons(GtkFileSelection *fs), and
      	  gtk_file_selection_hide_fileop_buttons(GtkFileSelection *fs).
      	  Changed pulldown to only contain current directory name instead of
      	  the full path.  Removed Help button (it can now be packed into the
      	  button_area if desired.
      
      	* gtk/gtkfilesel.h: Added GtkWidget *button_area (the fileop
      	  buttons at the top are packed into this hbox), and GtkWidget
      	  action_area (hbox below clists) to GtkFileSelection structure.
      
      	* gtk/testgtk.c: Changed the filesel example to show off the hiding/
      	  showing of fileop buttons, and the packing area.
      2a4c36a7