1. 08 Mar, 1998 1 commit
  2. 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
  3. 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
  4. 05 Mar, 1998 3 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
    • 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
  5. 04 Mar, 1998 1 commit
  6. 03 Mar, 1998 2 commits
  7. 02 Mar, 1998 6 commits
    • Shawn Amundson's avatar
      fixed ifndef..define typo · 3cbeacaf
      Shawn Amundson authored
      -Shawn
      3cbeacaf
    • Owen Taylor's avatar
      Miscellaneous minor fixes to remove ANSI C incompatibilities · 395ccd36
      Owen Taylor authored
      Mon Mar  2 17:48:38 1998  Owen Taylor  <owt1@cornell.edu>
      
      	Miscellaneous minor fixes to remove ANSI C incompatibilities
      
      	* gdk/gdkregion.c gtk/gtkclist.c: fix // comments
      
      	* gdk/gdkdnd.c gdk/gdkinputcommon.h: change types of
      	some arguments to ANSI functions
      
      	* gtk/gtkcombo.c gtk/gtktree.c: fix casts of function pointers
      	  to void *
      
      	* gtk/gtkmain.c: An actual bug! (in deprecated gtk_input_add_interp)
      
      	* gtk/gtknotebook.h: Bitfields must be gint or guint. (and should
      	  be guint)
      
      	* gtk/gtkstatusbar.c: trailing ';'
      
      	* gtk/testgtk.c: GList where there should have been GSList
      
      	* glib.h gutils.c : changed g_strcasecmp
      	  to take gchar* not guchar*
      
      	* testglib.c: Remove trailing ; after functions
      395ccd36
    • Owen Taylor's avatar
      Changed 'entry != NULL' to 'editable != NULL' in three spots. · 33622818
      Owen Taylor authored
      Mon Mar  2 12:26:59 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkentry.c: Changed 'entry != NULL' to 'editable != NULL'
      	  in three spots.
      33622818
    • PST 1998 Shawn T. amundson's avatar
      Released GTK 0.99.4. · 9eb0ce77
      PST 1998 Shawn T. amundson authored
      Sun Mar  1 18:29:58 PST 1998 Shawn T. amundson <amundson@gimp.org>
      
              * Released GTK 0.99.4.
      9eb0ce77
    • PST 1998 Shawn T. Amundson's avatar
      small fix to notebook portion · 68a85372
      PST 1998 Shawn T. Amundson authored
      Sun Mar  1 16:47:29 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * gtk/testgtk.c: small fix to notebook portion
      68a85372
    • PST 1998 Shawn T. Amundson's avatar
      Required changes for version change to 0.99.4 · f6f1ce01
      PST 1998 Shawn T. Amundson authored
      Sun Mar  1 15:18:38 PST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * Required changes for version change to 0.99.4
      
              * gtk/gtktree.[ch]: patch from J. Bolliet to correct some bugs
              * gtk/testgtk.c: added test here from J. Bolliet, removed testtree
      
              * gtk/clist: gtk-abilleira-981602-0, allows gtk_clist_set_pixmap
                and gtk_clist_set_pixtext to not require a mask
      
              * gdk/gdkdraw.c,gdk.h: gtk-trow-980217-0
                adds gdk_draw_lines and fixes some things about
                gdk_draw_polygon
      f6f1ce01
  8. 01 Mar, 1998 7 commits
    • Owen Taylor's avatar
      Make sure either the window or the depth is given when creating a pixmap. · ade30200
      Owen Taylor authored
      Sun Mar  1 17:40:58 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkpixmap.c: Make sure either the window or
      	the depth is given when creating a pixmap.
      ade30200
    • Tim Janik's avatar
      complete api change to honour message contexts. unfortunaltely this also · af18ab43
      Tim Janik authored
      Sun Mar  1 22:59:09 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkstatusbar.h:
              * gtk/gtkstatusbar.c: complete api change to honour message contexts.
              unfortunaltely this also involved argument changes on the signal
              emissions which will not be caught by the compiler. your callbacks
              should look like:
              void  message_text_popped (GtkStatusbar   *statusbar,
                                         guint           context_id,
                                         const gchar    *text,
                                         gpointer        func_data);
      
              * gtk/gtkwidget.c (gtk_widget_set_rc_style): eliminated bug about
              initial signal emission.
              (gtk_widget_set_parent): don't ensure style, just call
              gtk_widget_set_style_recurse.
              (gtk_widget_set_style_recurse): only change a widget's rc styles if
              if there has already been a lookup.
      
              * gtk/testgtk.c: adaptions for statusbar widget.
              substituted notebook pixmaps with pixmaps from fvwm, since
              we don't know where the originals came from.
      
              * gtk/gtkobject.c (gtk_object_data_destroy): call the destroy
              notifier with the objects data, not its internal structure.
      
              * gtk/gtkspinbutton.c (gtk_spin_button_button_press): small
              fix from lars.
      af18ab43
    • CST 1998 Shawn T. Amundson's avatar
      I forgot to *commit* these before. Note to self: commit after applying · b7056ea1
      CST 1998 Shawn T. Amundson authored
      
      I forgot to *commit* these before.  Note to self: commit after applying
      patches.
      
      -Shawn
      
      Sun Mar  1 15:08:13 CST 1998 Shawn T. Amundson <amundson@gimp.org>
      
              * docs/*.texi changes from Greg Mclean.
      b7056ea1
    • Tim Janik's avatar
      hm if we save the default style, we should also provide a function to · 2a9e933d
      Tim Janik authored
      Sun Mar  1 18:41:07 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkwidget.c (gtk_widget_restore_default_style): hm if we save the
              default style, we should also provide a function to restore it ;).
      
              * gtk/main.[hc]: small fixups to idle handlers, added support for quit
              handlers.
      2a9e933d
    • Owen Taylor's avatar
      gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch] · f222bd77
      Owen Taylor authored
      Sun Mar  1 05:18:11 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkentry.c gtk/gtktext.c gtkeditable.[ch]
      
      	Changed interface to cut/copy/paste so it makes sense
      	when triggered by say, menu items.
      f222bd77
    • Owen Taylor's avatar
      gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch] · 2630943e
      Owen Taylor authored
      Sun Mar  1 03:20:39 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkentry.[ch] gtk/gtktext.[ch] gtkeditable.[ch]
      
      	Turned off debugging in gtktext.c
      
      	Bug fixes for cutting, pasting, deleting, etc.
      
      	Some of the bugs that were there before have definitely
      	been fixed.
      
      	* gtk/testgtk.c gtk/testgtkrc: Removed my ugly orange backgrounds,
      	to make things look nicer.
      2630943e
    • Owen Taylor's avatar
      gtk/gtkentry.[ch] gtktext.c gtkeditable.[ch] · 9205edae
      Owen Taylor authored
      Sat Feb 28 23:58:54 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkentry.[ch] gtktext.c gtkeditable.[ch]
      
      	Created a new base widget type Editable for the entry and
      	text widgets, which encapsulates most of the selection and
      	clipboard handling stuff, plus some common signals.
      
      	Changed the Entry widget extensively to support this,
      	but the interface and appearance should be the same.
      
      	Changed the Text widget moderately to support this.
      
      	It now supports:
      
      	- Selection style cut and paste
      	- Clipboard style cut and paste
      	- Emacs style key bindings (~same as Entry)
      	- Word motion
      	- "changed" signal
      
      	There are definitely still some bugs in the new stuff.
      
      	* gtkfilesel.c gtkspinbutton.c testgtk.c: small changes
      	to fit the new interface more exactly.
      9205edae
  9. 28 Feb, 1998 2 commits
    • Tim Janik's avatar
      handle box signals. fixups for 99.4 -timj · 6d3ef70d
      Tim Janik authored
      handle box signals.
      fixups for 99.4
      -timj
      6d3ef70d
    • Tim Janik's avatar
      fix behavior of gtk_preview_put() with srcx/srcy != 0, · 8a19c2a1
      Tim Janik authored
      Sat Feb 28 15:18:36 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkpreview.c: fix behavior of gtk_preview_put() with
              srcx/srcy != 0, gtk-shige-980127-0.patch.gz by
              AOSASA Shigeru <aozasa@sakuranet.or.jp>.
      
              * gdk: applied gtk-roebling-980121-0.patch.gz, patch for region
              support in Gdk, by Robert Roebling <roebling@ruf.uni-freiburg.de>.
      8a19c2a1
  10. 27 Feb, 1998 2 commits
    • Tim Janik's avatar
      we make an active server grab now, this way we can change the cursor · 693fa02b
      Tim Janik authored
      Fri Feb 27 15:31:55 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtktipsquery.c: we make an active server grab now, this way we
              can change the cursor globally and don't need to tweak event masks
              of other windows.
      
              * gtk/gtkframe.c (gtk_frame_style_set): recompute label size.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c:
              New signal GtkWidget::style_set to be emitted when a widget's style
              changed. New flag GTK_RC_STYLE to indicate whether an rc lookup has
              been perfomed for the widget.
              (gtk_widget_ensure_style): New function.
              (gtk_widget_set_rc_style): New function.
      
              * docs/styles.txt: new file.
      693fa02b
    • Owen Taylor's avatar
      gtk/gtktext.c · 50cc709f
      Owen Taylor authored
      Fri Feb 27 01:11:55 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtktext.c
      
      	- gtk_text_delete and gtk_text_insert now update caches
      	and refresh screen correctly if the text widget isn't frozen.
      
      	- Fixed bug where text->first_line_start_index wasn't
      	being updated correctly on insertion and deletion.
      
      	- Added new public macro GTK_TEXT_INDEX (text, ind), and
      	function gtk_text_get_chars(text, index, nchars);
      
      Thu Feb 26 22:36:46 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkhandlebox.c (gtk_handle_box_realize): Use MWM hints
      	to undecorate window.
      
      	* gtk/testgtk.c gtk/circles.xbm: new test for WM hints.
      50cc709f
  11. 25 Feb, 1998 4 commits
    • Tim Janik's avatar
      new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and Stefan · 6c281888
      Tim Janik authored
      Wed Feb 25 22:56:42 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkspinbutton.h:
              * gtk/gtkspinbutton.c:
              new widget from Lars Hamann <hamann@braunschweig.netsurf.de> and
              Stefan Jeske <jeske@braunschweig.netsurf.de>.
      
              * gtk/gtknotebook.c: fixups from lars and stefan.
      6c281888
    • Owen Taylor's avatar
      logged change · 3cdf88be
      Owen Taylor authored
      3cdf88be
    • Tony Gale's avatar
      added questions on: - Why don't the contents of a button move when the · 97bbc97b
      Tony Gale authored
              * docs/gtkfaq.sgml: added questions on:
                      - Why don't the contents of a button move when
                        the button is pressed?
                      - How do I catch a double click event in
                        a list widget?
                      - When compiling GTK+ I get an error like:
                        make: file `Makefile' line 456: Syntax error
                Removed questions on menus which are covered in the
                tutorial.
      
                Added link to HTML versions of FAQ and Tutorial on my
                web site.
      
        -Tony
      97bbc97b
    • Owen Taylor's avatar
      Added some support for i18n. The support for input methods, including · 82d7ac35
      Owen Taylor authored
      Tue Feb 24 22:47:01 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtktext.c: Added some support for i18n. The support
      	for input methods, including preedit, is there, but input
      	is ignored unless it comes one byte at a time, so the
      	CJK locales won't really work. Fixing that would require
      	variable-width character support in the Text widget, which
      	is probably the wrong approach. Eventually we'll probably
      	want to go to UCS-4 internally.
      
      	Also, revised key press handling, which should improve
      	the forwarding of non-handled keypresses to the toplevel,
      	and make adding selection handling easier.
      
      	* gtk/gtkentry.c: Minor changes so that C-d, etc delete
      	the selection if there is one.
      82d7ac35
  12. 24 Feb, 1998 1 commit
  13. 23 Feb, 1998 2 commits
    • Owen Taylor's avatar
      Don't process configure events that just move the window, and don't resize · d3607d54
      Owen Taylor authored
      Mon Feb 23 15:41:13 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwidget.c gtk/gtkmenu.c: Don't process configure events
      	that just move the window, and don't resize it. Because we need
      	to make sure that a widget gets redrawn after a size_allocate -
      	and that only happens when the configure event changes the size
      	of the window. Plus, it's inefficient.
      d3607d54
    • rhlabs's avatar
      Added gtk_toolbar_*_element() functions. Rewrote others · 7add75fb
      rhlabs authored
      to simply call gtk_toolbar_insert_element() to do the work.
      
      Added two new GtkToolbarChildType options: TOGGLEBUTTON and
      RADIOBUTTON, available through the gtk_toolbar_*_element() functions.
      
      -Marc
      7add75fb