1. 10 Mar, 1998 4 commits
    • Owen Taylor's avatar
      commiting changes from owen: · 2f50a304
      Owen Taylor authored
      Mon Mar  9 20:38:15 1998  Owen Taylor  <owt1@cornell.edu>
      
              * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c:
                Moved "activate" to editable class. Made the vfuncs in
                gtkeditable just vfuncs not signals.
      
              * gtkentry.[ch] gtktext.[ch]: Made behavior when pressing
                multiple buttons at once more rational.
      
              * gtkentry.c gtktext.c: Unified and rationalized key
                bindings. (Now are basically emacs+CUA)
      
              * gtktext.c:
                - Last position now always shares the property of the preceding
                  character
                - Freeze the widget when inserting large amounts of text.
                - Selecting lines now selects the _whole_ line.
                - Fixed bug with displaying the cursor
                - Ctrl-Home/End now move the cursor to the _absolute home/end
      
              * gtkmenuitem.c: Remove necessary code out of a g_return_if_fail
      
      -timj
      2f50a304
    • Elliot Lee's avatar
    • Federico Mena Quintero's avatar
      We now accept the color parameter to be NULL. If it is NULL, it will mark · 239a12d0
      Federico Mena Quintero authored
      1998-03-09  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): We now accept the
      	color parameter to be NULL.  If it is NULL, it will mark the row
      	with "color not set", so it will be repainted with the default color.
      	(gtk_clist_set_background): Likewise.
      239a12d0
    • Tim Janik's avatar
      applied gtk-gronlund-980309-0.patch.gz. · 2ab3ec6c
      Tim Janik authored
      -timj
      2ab3ec6c
  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 7 commits
  6. 05 Mar, 1998 5 commits
    • rhlabs's avatar
      (select row) Emit UNselect of rows that aren't selected. · 6c9e2cf1
      rhlabs authored
      -Marc
      6c9e2cf1
    • Jay Painter's avatar
    • Owen Taylor's avatar
      Old stuff that didn't get commited. (owt) · 1ac59c10
      Owen Taylor authored
      	* gtk/gtkinputdialog.h (struct _GtkInputDialogClass):
      	  removed 'gpointer data' arguments from default handler
      	  structures.
      
      
      	* gtk/gtktreeitem.[ch]: Keep track of separate +/- pixmaps
      	  for each colormap, removed the idle hack.
      
      	* testglib.c: Remove trailing ; after functions
      
       ----------------------------------------------------------------------
      1ac59c10
    • Owen Taylor's avatar
      Unset allocation on unparent, to force reallocation if we get adding back · ba55b3f9
      Owen Taylor authored
      Thu Mar  5 01:22:06 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwidget.c (gtk_widget_unparent): Unset allocation
      	  on unparent, to force reallocation if we get adding back
      	  to a new parent which is already size-allocated.
      
      	* gtk/gtktreeitem.c: Keep track of separate +/- pixmaps
      	  for each colormap, removed the idle hack.
      
      	* gdk/gdk.c: Don't warn when unable to open XIM method,
      	  since X11R5 apparently has no default method.
      
      	* gtk/gtkwidget.c (gtk_widget_set_style_internal): Don't
      	  call size_request on initial emission - since the
      	  widget size isn't set yet, it can't change.
      
      	* gtk/Makefile.am: New rules 'test' and 'test-debug' to run
      	  testgtk with the correct working directory.
      
      	* gtk/gtkentry.c (gtk_move_forward_word):
      	  Check for position at end of line.
      
      	* gtk/gtkinputdialog.h (struct _GtkInputDialogClass):
      	  removed 'gpointer data' arguments from default handler
      	  structures.
      ba55b3f9
    • Miguel de Icaza's avatar
      Drags can only be started with the left button. · 793a1305
      Miguel de Icaza authored
      Wed Mar  4 20:06:47 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gdk/gdk.c (gdk_event_translate): Drags can only be started with
      	the left button.
      793a1305
  7. 04 Mar, 1998 1 commit
  8. 03 Mar, 1998 2 commits