1. 01 Mar, 1998 4 commits
    • 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
    • Tim Janik's avatar
      quit handlers and idle_remove_by_data fixups · d491547e
      Tim Janik authored
      -timj
      d491547e
    • Tim Janik's avatar
      91c1c8dd
  2. 28 Feb, 1998 6 commits
  3. 27 Feb, 1998 5 commits
    • Tim Janik's avatar
      GtkWIdget::style_set initial emission, · b2e6c972
      Tim Janik authored
      read up in docs/style.txt on this ;)
      b2e6c972
    • 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
      Filling in the gaps. · a36ffb12
      Owen Taylor authored
                                              -owt
      a36ffb12
    • 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
    • Owen Taylor's avatar
      new functions for setting WM hints · 473c1d4d
      Owen Taylor authored
      Thu Feb 26 22:36:46 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkwindow.c gdktypes.c gdk.h:
      	new functions for setting WM hints
      
      	 gdk_window_set_icon()
      	 gdk_window_set_icon_name()
      	 gdk_window_set_group()
      	 gdk_window_set_decorations()
      	 gdk_window_set_functions()
      
      	* gdk/MwmUtil.h: new uninstalled header file from lesstif
      	distribution, used for setting MWM hints.
      
      	* gdk/gdkdnd.c Makefile.am: renamed from gdk/gdk_dnd.c
      473c1d4d
  4. 26 Feb, 1998 2 commits
  5. 25 Feb, 1998 8 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
    • Owen Taylor's avatar
      Move layout constants into an enumeration, split GTK_BUTTONBOX_DEFAULT · 77715991
      Owen Taylor authored
      Wed Feb 25 13:18:53 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkbbox.[ch] gtk/gtkhbox.[ch] gtk/gtkvbox.[ch] :
      
      	Move layout constants into an enumeration, split
      	GTK_BUTTONBOX_DEFAULT into GTK_BUTTONBOX_DEFAULT
      	and GTK_BUTTONBOX_DEFAULT_STYLE (enumeration member).
      
      	* gtk/gtkclist.c:
      
      	Renamed gtk_clist_row_isvisable to .._is_visible
      
      	From: Maciej Stachowiak <mstachow@mit.edu>
      77715991
    • 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
      One more... · cf017477
      Owen Taylor authored
      cf017477
    • 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
    • Owen Taylor's avatar
      Check the result of XGetICValues - it is failing for some reason, and · 20347691
      Owen Taylor authored
      Tue Feb 24 22:44:01 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdk.c (gdk_ic_get_events): Check the result of
      	XGetICValues - it is failing for some reason, and
      	causing some warnings to be printed.
      20347691
    • Tim Janik's avatar
      nothing special ;) -timj · c88ea382
      Tim Janik authored
      nothing special ;)
      -timj
      c88ea382
  6. 24 Feb, 1998 1 commit
  7. 23 Feb, 1998 6 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
    • Elliot Lee's avatar
      86a97f78
    • Tim Janik's avatar
      implemented the statusbar widget. my first intend was to fix the code, but · f6f927d2
      Tim Janik authored
      Mon Feb 23 13:44:10 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkstatusbar.h:
              * gtk/gtkstatusbar.c:
              (re-)implemented the statusbar widget. my first intend was to fix the
              code, but then there was nothing to fix - the whole thing was just a
              big JOKE!
              people who don't even know the semantics of the g_list_* functions
              shouldn't put their hands on widget code and inheritance!
      
      
      
      this is the first step to get bug "BUG: statusbar/hbox (redraw?) problem"
      worked out, i have to leave now, but will continue work on the resizing code
      this evening.
      f6f927d2
    • Tim Janik's avatar
      TODO updates (major ones ;). · 1b656e0d
      Tim Janik authored
      have the send_event field in all GdkEvents.
      gtkmenu.c, gtkacceleratortable.c, gtkwindow.c: unreference accelerator_table.
      gtk_object_query_args: removed seq_ids again, must have been quite tired
      when i commited that change ;)
      gtkoptionmenu.c: assure GTK_BIN()->child is empty when reparenting
      a menu_items child.
      gtkwindow.c: fixed some memory leaks.
      
      -timj
      1b656e0d
    • rhlabs's avatar
      Allow gtk_clist_insert() to work on empty lists. · 7c99ffb8
      rhlabs authored
      -Marc
      7c99ffb8
  8. 22 Feb, 1998 4 commits
  9. 21 Feb, 1998 4 commits
    • MET 1998  Eckehard Berns's avatar
      fixed a bug for mode GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit · e00c0594
      MET 1998 Eckehard Berns authored
      Sun Feb 22 00:20:12 MET 1998  Eckehard Berns  <eb@berns.prima.de>
      
      	* gdk/gdkcc.c (gdk_color_context_query_colors): fixed a bug for mode
      	GDK_CC_MODE_TRUE, when on a 24-bit visual on a 32-bit mashine.
      e00c0594
    • scott's avatar
      Added a NULL test in gtk_entry_set_text. (Fielded a report on #gimp · 75a84054
      scott authored
      that a NULL argument caused a core dump.)
      --sg
      75a84054
    • Tim Janik's avatar
      gtk_object_query_args takes an additional pointer now which if supplied · 800afc55
      Tim Janik authored
      Sat Feb 21 14:49:17 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkobject.h:
              * gtk/gtkobject.c: gtk_object_query_args takes an additional pointer
              now which if supplied will point to an array holding the sequential
              argument ids.
      
              * gtk/gtktree.c: fix emission of selection_changed signal, supplied
              by Bolliet Jerome.
      
              * gtk/gtktreeitem.c: inline the plus and minus pixmaps, supplied by
              Bolliet Jerome.
      
              * gtk/gtknotebook.c: do a resize when a page is removed and don't
              refer to the removed page on the switch signal, supplied by Lars Hamann
              and Stefan Jeske.
      
              * gtk/gtktoolbar.h:
              * gtk/gtktoolbar.c:
              gtk_toolbar_append_item, gtk_toolbar_prepend_item,
              gtk_toolbar_insert_item, gtk_toolbar_append_widget,
              gtk_toolbar_prepend_widget, gtk_toolbar_insert_widget: take an additional
              gchar *tooltip_private_text as argument to fully support the underlying
              call to gtk_tooltip_set_tip.
      
      
      (made the ChangeLog catch up with my last commits).
      800afc55
    • Tim Janik's avatar
      a8d6f14c