1. 13 Apr, 1998 1 commit
  2. 10 Apr, 1998 1 commit
    • Owen Taylor's avatar
      Picky --enable-ansi cleanups. · 3a029481
      Owen Taylor authored
      Thu Apr  9 18:36:31 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmisc.c gdk/gdkwindow gtk/gtkentry.c gtk/testgtk.c:
      	Picky --enable-ansi cleanups.
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_pop): Pop top message
      	off _belonging_to_this_context_. (gtk-d4bjorn-980409-0)
      
      	From "Damon Chaplin" <DAChaplin@email.msn.com>
      
      	* gtk/gtktable.c (gtk_table_size_request_pass3): Small fix to size
      	requisition code.
      
      	* gtk/gtknotebook.c: Make sure not to do things to page->tab_label
      	if it doesn't exist.
      3a029481
  3. 07 Apr, 1998 1 commit
    • Owen Taylor's avatar
      Removed, because that's what a NULL comparison function means. And it · 1c77b5f9
      Owen Taylor authored
      Tue Apr  7 19:36:48 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gutils.c (g_direct_compare): Removed, because that's what
      	a NULL comparison function means. And it wasn't 64 bit safe.
      
      Tue Apr  7 19:14:03 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkpixmap.c: Added maximum field widths to prevent
      	possible '%s' scanf overflows. Replaced scanf("%c")
      	with getc(), Don't interpret /*/ as a full comment. Use
      	g_realloc/g_new.
      
      	* gtk/gtkwidget.h gtk/gtkprivate.h: Changed all flag
      	tests to check for ((GTK_WIDGET_FLAGS(widget) & FLAG) != 0)
      	instead of (GTK_WIDGET_FLAGS(widget) & FLAG)
      
      	* gtk/gtkfilesel.c: Use getwd() instead of getcwd() on
      	SunOS, because getcwd() hangs up in a wait4().
      	(Found by David Monniaux <monniaux@clipper.ens.fr>)
      
      	- Check device/inode/mtime not just inode/mtime, when
      	caching scanned directories.
      	(From: scottk@ig.utexas.edu (Scott Kempf))
      
      	* gdk/gdkpixmap.c: Check for 0 width/height when
      	creating pixmaps.
      
      	* gtk/*.c: Global substitution of recently introduced
      	"MAX (0," for allocations to "MAX (1,", since
      	creating a backing pixmap with a zero width or height
      	fails.
      
      	* gdk/gdkwindow.c (gdk_window_new): Don't set all the
      	WM properties for child windows. Don't set the base
      	size, since the value we set will be taken as a minimum
      	size.
      1c77b5f9
  4. 17 Mar, 1998 3 commits
    • Tim Janik's avatar
      changed some debugging messages to be prefixed by "Gdk:". · a783d668
      Tim Janik authored
      Tue Mar 17 16:19:47 1998  Tim Janik  <timj@gimp.org>
      
              * gdk/gdk.c:
                      * gdk/gdkvisual.c: changed some debugging messages to be prefixed
                              by "Gdk:".
      
                                      * gtk/gtkwidget.c (gtk_widget_real_draw): applied
                                              gtk-shige-980317-0.patch.gz to set all event fields, but modified
                                                      the event.send_event field to be set to TRUE, since the event is not
                                                              really comming from the server.
      
                                                                      * gtk/gtkwindow.c (gtk_window_init): applied gtk-ograf-980317-1.patch.gz
                                                                              which cares about an initial setting of program name and program class.
      
                                                                                      * gdk/gdk.c (gdk_init): applied gtk-ograf-980317-0.patch.gz, which
                                                                                              strips leading pathnames from gdk_progname.
      a783d668
    • Miguel de Icaza's avatar
      Use StructureNotifyMaskMask as the mask, as this enables an application · 8a0d6739
      Miguel de Icaza authored
      Tue Mar 17 02:02:02 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as
      	the mask, as this enables an application listening to those events
      	to catch the root events.  Thanks to Maciej for pointing us in the
      	right direction.
      	(gdk_dnd_drag_enter): Likewise.
      	(gdk_dnd_drag_leave): Likewise.
      	* gdk/gdkwindow.c (gdk_window_dnd_data_set): Likewise.
      8a0d6739
    • Federico Mena's avatar
      Use signed integers so that testing will not fail for windows that are · 63955ec2
      Federico Mena authored
      Mon Mar 16 22:31:02 1998  Federico Mena  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkwindow.c (gdk_window_xid_at): Use signed integers so that
      	testing will not fail for windows that are off-screen.
      
      	(gdk_window_xid_at_coords): Only considers visible windows.
      63955ec2
  5. 14 Mar, 1998 3 commits
    • Tim Janik's avatar
      fixed a bug with invoking the quit handlers that could cause them to be · bc8e4038
      Tim Janik authored
      Sat Mar 14 10:10:46 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkmain.c (gtk_main): fixed a bug with invoking the quit handlers
                      that could cause them to be removed wihout being invoked.
      bc8e4038
    • Owen Taylor's avatar
      Makefile.am fixes minor fix to gdkwindow.c -owt · 566a13a6
      Owen Taylor authored
      Makefile.am fixes
      minor fix to gdkwindow.c
                                              -owt
      566a13a6
    • Owen Taylor's avatar
      Don't resize windows when request is rejected by WM. Only use the resize · bc98ea9c
      Owen Taylor authored
      Sat Mar 14 00:03:34 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkwindow.c:
                Don't resize windows when request is rejected by WM.
      	  Only use the resize count to guess whether a Configure
      	  event was a rejection by the WM, or a move.
      
      	* gdk/gdk.c gdk/gdktypes.h:
      	  - Don't XDestroyWindow foreign windows (If they're a child of
      	  one of our windows, reparent them to root and send them a WM
      	  delete event, otherwise, just delete the GTK structure.)
      	  Handle notification of their deletion properly.
                (Made foreign windows a seperate window type to do this)
      
      	* gtk/gtkobject.c (gtk_object_set_data_full):
      	  Call the DestroyNotify when replacing the object data.
      bc98ea9c
  6. 11 Mar, 1998 3 commits
  7. 10 Mar, 1998 2 commits
  8. 08 Mar, 1998 2 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
    • Tim Janik's avatar
      applied a bunch of patches and removed all the printfs that · 5fa1bfcf
      Tim Janik authored
      raster left over.
      -timj
      5fa1bfcf
  9. 07 Mar, 1998 1 commit
    • 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
  10. 06 Mar, 1998 1 commit
  11. 01 Mar, 1998 1 commit
  12. 27 Feb, 1998 1 commit
    • 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
  13. 17 Feb, 1998 1 commit
    • Tim Janik's avatar
      applied patch to fix draw_indicator behaviour from Lars Hamann and Stefan · a3034938
      Tim Janik authored
      Tue Feb 17 05:41:31 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkcheckbutton.c:
              * gtk/gtkradiobutton.c:
              * gtk/gtktogglebutton.c:
                applied patch to fix draw_indicator behaviour from Lars Hamann
                and Stefan Jeske.
      
              * gtk/gtkmain.h:
              * gtk/gtkmain.c (gtk_grab_get_current): new function
                that returns the current grab widget or NULL.
      
              * gdk/gdkwindow.c (gdk_window_shape_combine_mask): remove
                shape mask if mask==NULL (provided by Stefan Wille).
      a3034938
  14. 16 Feb, 1998 1 commit
  15. 07 Feb, 1998 1 commit
  16. 03 Feb, 1998 1 commit
    • Owen Taylor's avatar
      Only query the colormap for GRAYSCALE and PSEUDOCOLOR visuals, and don't · 3b0de24a
      Owen Taylor authored
      Tue Feb  3 15:34:27 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdkcolor.c (gdk_colormap_get_system): Only query
      	  the colormap for GRAYSCALE and PSEUDOCOLOR visuals,
      	  and don't ask for more than 256 colors in any case.
      
      	* gdk/gdkwindow.c (gdk_window_internal_destroy): Remove
      	  the input window information when we destroy the window,
      	  not when we are notified of it.
      
      	* gdk/gdkinputcommon.h (gdk_input_device_new): Work around
      	  bug in XFree86 3.3.1's handling of Wacom macro buttons.
      	  by assumming no device will report exactly 25 buttons.
      
      	* gdk/gdkinputcommon.h (gdk_input_common_other_event): Fill
      	  in string translation for generated key press events,
      	  do sanity checking on received key codes.
      
      	* gdk/gdkcc.c (gdk_color_context_new): Allocate enough
      	  room for a GdkColorContextPrivate, not just for a
      	  GdkColorContext.
      3b0de24a
  17. 26 Jan, 1998 1 commit
    • Tim Janik's avatar
      added a bunch of checks for window != NULL and private->destroyed. (don't · f734007a
      Tim Janik authored
      Mon Jan 26 02:15:29 1998  Tim Janik  <timj@gimp.org>
      
              * gdk/gdkdraw.c:
              * gdk/gdkgc.c:
              * gdk/gdkimage.c:
              * gdk/gdkinput.c:
              * gdk/gdkpixmap.c:
              * gdk/gdkproperty.c:
              * gdk/gdkselection.c:
              * gdk/gdkwindow.c: added a bunch of checks for window != NULL and
                private->destroyed.
      (don't trust this cvs commit message, i didn't modify that many files!)
      f734007a
  18. 17 Jan, 1998 2 commits
    • Jay Painter's avatar
      Fixed GDK_INPUT_ONLY window type. -Jay · 3f44ca94
      Jay Painter authored
      3f44ca94
    • Owen Taylor's avatar
      Take putback events into account · 44364802
      Owen Taylor authored
      * gdk/gdk.c (gdk_events_pending): Take putback events into
        account
      
      * gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory
        allocation correctly. (Incompatible change: client must
        _not_ fre event->data and event->data_type.)
      
      * gdk/gdk.c (gdk_event_translate): Changed DND dragging
        so that we don't ungrab pointer when we reenter window
        to prevent extra Enter/Leave effects which had bad
        effects.
        Changed drag zone handling to not send uncessary
        DragEnter events.
        Fixed EnterNotify/LeaveNotify handling. (Only pay
        attention to events on window, don't specify these
        events to XGrabPointer - that isn't valid, and handle
        reverse the sense of the handling of LeaveNotify.)
      
      * gdk/gdkwindow.c (gdk_window_remove_filter): Free removed
        filter.
      
      * gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref
      
      * gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps
        should use this instead of gdk_events_pending.
      
      * gtk/gtkvbbox.h: Fixed a duplication in the headers.
      
      * gtk/testgtk.c (dnd_drop): Don't free the drop data,
        it belongs to the event.
      44364802
  19. 08 Jan, 1998 1 commit
  20. 06 Jan, 1998 1 commit
  21. 01 Jan, 1998 1 commit
  22. 26 Dec, 1997 1 commit
  23. 18 Dec, 1997 1 commit
  24. 16 Dec, 1997 1 commit
  25. 10 Dec, 1997 1 commit
    • Tim Janik's avatar
      GLib: · 8a6dea2d
      Tim Janik authored
              * glib_pre1.h:
              * glib_pre2.h:
              * glib.h: this file now gets concatenated by makeglib_h from
              glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got
              created by configure (done by Jay Painter).
      
              * glib_pre2.h: the g_assert*() and g_return_*_fail() macros
              are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts
              when used within if (...) g_macro(); else ... conditionals.
      Gtk+:
              * fixed some compiler errors, because g_return_if_fail() wasn't used
              with a trailing semicolon in some places. fixed few other warnings also.
      
      -timj
      8a6dea2d
  26. 07 Dec, 1997 1 commit
  27. 06 Dec, 1997 1 commit
  28. 27 Nov, 1997 1 commit
    • Gnome CVS User's avatar
      Patches to support internationalized input by: · dd34bcca
      Gnome CVS User authored
        Takashi Matsuda <matsu@arch.comp.kyutech.ac.jp>
        TANAKA Shinya <shinya@race.u-tokyo.ac.jp>
      
      See ChangeLog entries for further details.
      
      Also some small fixes to event handling in gdk/gdk.c; sending
      clear events in gtk/gtkselection.c and cut-and-paste in
      gtk/gtkentry.c
      dd34bcca
  29. 24 Nov, 1997 1 commit