1. 12 Mar, 1998 3 commits
    • Tim Janik's avatar
      changed handler tags to be of type guint, reflecting the internal tag · 4f3495f9
      Tim Janik authored
      Thu Mar 12 10:49:38 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmain.h:
              * gtk/gtkmain.c: changed handler tags to be of type guint, reflecting
              the internal tag handling.
      
              * gtk/gtkcurve.h: macro fixups.
      4f3495f9
    • Tim Janik's avatar
      fetch the inintial value of attributes.event_mask from · d19d3c5d
      Tim Janik authored
      Thu Mar 12 08:55:34 1998  Tim Janik  <timj@gimp.org>
      
              * gtkitem.c:
              * gtktree.c:
              * gtklist.c: fetch the inintial value of attributes.event_mask from
              gtk_widget_get_events (widget) (pointed out by Damon Chaplin
              <DAChaplin@email.msn.com>).
      d19d3c5d
    • Tim Janik's avatar
      applied gtk-shige-980311-0.patch.gz, which removes the erronerous · a8afd462
      Tim Janik authored
      Thu Mar 12 07:43:33 1998  Tim Janik  <timj@gimp.org>
      
              * gdk/gdk.h:
              * gdk/gdkvisual.c: applied gtk-shige-980311-0.patch.gz, which removes
              the erronerous gdk_query_visuals() function in favour of
              gdk_list_visuals() which does a correct job.
      
              * gtk/gtkcontainer.h: applied gtk-draco-980311-0.patch.gz which fixes
              a class cast check.
      
              * gtk/gtkspinbutton.c: applied gtk-hamann_jeske-980312-0.patch.gz about
              '+' sign acceptance.
      
              * gtk/gtknotebook.c: applied gtk-hamann_jeske-980311-1.patch.gz which
              cares about delayed tab label creation.
      a8afd462
  2. 11 Mar, 1998 5 commits
  3. 10 Mar, 1998 9 commits
    • Owen Taylor's avatar
      Merging release_1_0 changes into the main tree. · cb641297
      Owen Taylor authored
      -timj
      
      
      Tue Mar 10 14:24:09 1998  Owen Taylor  <owt1@cornell.edu>
      
              * gtk/gtkselection.c (gtk_selection_clear): Make the return
                result reflect whether the clear event was out of data.
      
              * gtk/gtkeditable.c: Ignore out of date selection clear
                events.
      
              * gtk/gtkentry.c gtk/gtktext.c: Don't synthesize releases
                on [2/3]BUTTON presses, since we get the normal click as well.
      
                Claim the selection when selecting words/lines.
      
      Tue Mar 10 13:34:29 1998  Owen Taylor  <owt1@cornell.edu>
      
              * gtk/gtkrange.c (gtk_range_default_[vh]trough_click):
                Take forward/back step arrows into account when computing
                position for middle button clicks.
      
              * gtk/gtktext.c gtk/gtkentry.c:
                - Fixes for deleting characters (don't subtract guints and get
                  negative numbers!)
                - Reset cursor_virtual_x when moving by words and lines
                - Extra sanity checks
                - Fix to gtk_text_get_chars
                       (from Tony Gale <gale@daedalus.dera.gov.uk>)
      cb641297
    • Federico Mena Quintero's avatar
      Replace GXor by GXxor. Seems to have been a typo. · fabfc17d
      Federico Mena Quintero authored
      1998-03-10  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkgc.c (gdk_gc_set_function): Replace GXor by GXxor.  Seems
      	to have been a typo.
      fabfc17d
    • rhlabs's avatar
      <raster@redhat.com> · 4db2561d
      rhlabs authored
      
      
      <raster@redhat.com>
      
      fixed minor buglets in window tree walker.
      4db2561d
    • PST 1998 Shawn T. Amundson's avatar
      Released 0.99.5 · 355e74fc
      PST 1998 Shawn T. Amundson authored
      Mon Mar  9 21:21:19 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * Released 0.99.5
      355e74fc
    • Miguel de Icaza's avatar
      Export functionality. · 23a7e9c9
      Miguel de Icaza authored
      Mon Mar  9 23:24:42 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gtk/gtkclist.c (gtk_clist_get_selection_info): Export
      	functionality.
      23a7e9c9
    • Tim Janik's avatar
      0.99.5 bump -timj · 100775d0
      Tim Janik authored
      0.99.5 bump
      -timj
      100775d0
    • Tim Janik's avatar
      changed gtk_range_trough_click() to take an additional jump_perc arg, · 8532799a
      Tim Janik authored
      Tue Mar 10 05:30:05 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkrange.h:
                      * gtk/gtkrange.c:
                              changed gtk_range_trough_click() to take an additional jump_perc arg,
                                      class method and callers changed.
      
                                      Tue Mar 10 05:25:10 1998  Tim Janik  <timj@gimp.org>
      
                                              * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz
                                                      which fixes a memory leak.
      8532799a
    • 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
    • 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
  4. 09 Mar, 1998 5 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
      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
  5. 08 Mar, 1998 7 commits
    • 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
      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
  6. 07 Mar, 1998 4 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
    • 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
  7. 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
    • 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
    • Federico Mena Quintero's avatar
      [Ummm, maybe we should do the same change to the selection_owner variable?] · 47f7073e
      Federico Mena Quintero authored
      1998-03-05  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkprivate.h: Changed the name of default_filters to
      	gdk_default_filters to avoid namespace pollution.  Yes, it just
      	happened to me.
      	* gdk/gdk.c (gdk_event_translate):
      	* gdk/gdkglobals.c:
      	* gdk/gdkwindow.c (gdk_window_add_filter gdk_window_remove_filter): Likewise.
      47f7073e
  8. 05 Mar, 1998 2 commits
    • rhlabs's avatar
      (select row) Emit UNselect of rows that aren't selected. · 6c9e2cf1
      rhlabs authored
      -Marc
      6c9e2cf1
    • 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