1. 02 Mar, 1998 9 commits
    • 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
    • Tim Janik's avatar
      oh, boy, world can be so crude! · 5b51a9f7
      Tim Janik authored
      i'm ading the pixamp after the realize handler to the tree item now,
      via an *idle* handler.
      this gotta be worked out correctly.
      -timj
      5b51a9f7
    • Tim Janik's avatar
      cast fix · 558c5f50
      Tim Janik authored
      558c5f50
    • Tim Janik's avatar
      small fixups · 1e5d3541
      Tim Janik authored
      1e5d3541
    • 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
    • Owen Taylor's avatar
      Added g_string_insert[_c]() and g_string_erase(). · 80fd0a0c
      Owen Taylor authored
      Sun Mar  1 19:04:40 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* glib.h gstring.c: Added g_string_insert[_c]()
      	  and g_string_erase().
      
      	  From: Stefan Wille  <1wille@vsys1.informatik.uni-hamburg.de>
      80fd0a0c
  2. 01 Mar, 1998 16 commits
    • Tim Janik's avatar
      forgot to remove a printf · d1f5f060
      Tim Janik authored
      -timj
      d1f5f060
    • Tim Janik's avatar
      variable declaration have to have the same type as their · 172d6433
      Tim Janik authored
      export counterparts. sopwith are you reading compiler warnings?
      -timj
      172d6433
    • Tim Janik's avatar
      removed duplicate stuff out of gtkwidget.[ch]. · 6ef73eba
      Tim Janik authored
      sopwith, please update your tree before commiting.
      -timj
      6ef73eba
    • 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
    • Elliot Lee's avatar
      Add drag_end_event for future expansion, plus allow passing in NULL to the gdk... · 3fb589b2
      Elliot Lee authored
      Add drag_end_event for future expansion, plus allow passing in NULL to the gdk filter stuff to get events without a window in our app
      3fb589b2
    • 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
      > - parent_class = gtk_type_class (gtk_widget_get_type ()); · 60870d34
      Tim Janik authored
      > +   parent_class = gtk_type_class (gtk_editable_get_type ());
      60870d34
    • Tim Janik's avatar
      hm, cvs is just too unsensible ;) · afe08d63
      Tim Janik authored
      -timj
      afe08d63
    • 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
    • Tim Janik's avatar
      -timj · 16da0508
      Tim Janik authored
      16da0508
    • 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
    • Tim Janik's avatar
      quit handlers and idle_remove_by_data fixups · d491547e
      Tim Janik authored
      -timj
      d491547e
    • Tim Janik's avatar
      91c1c8dd
  3. 28 Feb, 1998 6 commits
  4. 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
  5. 26 Feb, 1998 2 commits
  6. 25 Feb, 1998 2 commits