1. 01 Mar, 1998 3 commits
  2. 28 Feb, 1998 1 commit
  3. 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
  4. 26 Feb, 1998 1 commit
  5. 25 Feb, 1998 1 commit
  6. 21 Feb, 1998 1 commit
  7. 20 Feb, 1998 1 commit
  8. 19 Feb, 1998 5 commits
    • Owen Taylor's avatar
      Minor cleanups. · 7cb1030d
      Owen Taylor authored
      7cb1030d
    • Owen Taylor's avatar
      the value of ---enable_debug is written into glibconfig.h so everything is · 62dba86c
      Owen Taylor authored
      Thu Feb 19 12:18:24 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* glib/configure.in glib/glibconfig.h.in: the value of
      	---enable_debug is written into glibconfig.h so everything
      	is recompiled when it changes. (HACK)
      
      	* gtk/gtkmain.c gdk/gdk.c docs/debugging.txt:
      	Added --gdk-no-debug and --gtk-no-debug switches. Effect
      	of switches is no cumulative.
      62dba86c
    • Tim Janik's avatar
      more debugging fixes. · 10474e6a
      Tim Janik authored
      hey yosh, you beated me at gdk.c ;)
      -timj
      10474e6a
    • Manish Singh's avatar
      Should compile with debugging off now... · c87244dd
      Manish Singh authored
      -Yosh
      c87244dd
    • Owen Taylor's avatar
      configure.in gdk/gdk.[ch] gdk/gdkcc.c gdk/gdkglobals.c · fc7e845c
      Owen Taylor authored
      Thu Feb 19 01:11:48 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* configure.in         gdk/gdk.[ch]         gdk/gdkcc.c
      	  gdk/gdkglobals.c     gdk/gdkinputcommon.h gdk/gdkprivate.h
      	  gdk/gdkvisual.c      glib/configure.in    glib/glib.h
      	  glib/gutils.c        gtk/Makefile.am      gtk/gtkmain.c
      	  gtk/gtkobject.[ch]   gtk/gtkdebug.h       docs/debugging.txt
      
      	New system for controlling debugging:
      
      	* --enable-debug=[no/yes/minimum]
      	* G_DISABLE_ASSERT and G_DISABLE_CHECKS for glib
      	* G_NO_CHECK_CASTS to control cast checking
      	* G_ENABLE_DEBUG enables run time checking which controls:
      	    Object tracing
      	    Showing events
      	    Miscellaneous g_print's in GDK
      	  And is controlled by --gdk-debug/GDK_DEBUG, --gtk-debug/GTK_DEBUG
              * debug_level and show_events are gone from GTK
      
      	See docs/debugging.txt for details.
      
      	And some fixups to the configure.in's so '-g' can be
      	overriden on the command line for --enable-debug
      fc7e845c
  9. 18 Feb, 1998 1 commit
  10. 17 Feb, 1998 2 commits
    • Federico Mena Quintero's avatar
      Added some missing newlines on debug messages. · 1410a8a0
      Federico Mena Quintero authored
      1998-02-17  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gdk/gdkcc.c: Added some missing newlines on debug messages.
      1410a8a0
    • 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
  11. 16 Feb, 1998 1 commit
  12. 13 Feb, 1998 2 commits
    • Tim Janik's avatar
      check for clist !REALIZED. (draw_rows): bail out if the widget isn't · 3c7f5af2
      Tim Janik authored
      Fri Feb 13 19:08:51 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtkclist.c (check_exposures): check for clist !REALIZED.
              (draw_rows): bail out if the widget isn't drawable.
              (hadjustment_value_changed):
              (vadjustment_value_changed): bail out if clist isn't drawable.
      
              * gdk/gdk.c (graphics_expose_predicate): check for private != NULL.
              (gdk_event_get_graphics_expose): check for window != NULL.
      3c7f5af2
    • Owen Taylor's avatar
      gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch] · 888470ee
      Owen Taylor authored
      Thu Feb 12 23:59:49 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch]
      	  gtk/gtkselection.[ch] gdk/gdk.[ch] gtktypeutils.h
      
       	  Replaced all _interp functions with _full functions.
      	  (_interp functions left in for compatibility until 0.99.5).
      	  Difference: _full functions take _both_ a C-language callback and a
      	  marshaller, and simply ignore the C-language callback
      	  if the marshaller is present. This allows the destroy notification
      	  to be used without marshalling.
      
      	  gtk_selection_add_handler[_full]() regularized to agree
      	  with other callbacks.
      
      	  Also, added gtk_input_add_full() to the header file.
      	  (gtk_input_add_interp() was never there)
      
      	* gtk/gtkmain.[ch] gtk/gtkwidget.c: Idle functions are now prioritized.
      	  Added new function gtk_idle_add_priority to create
      	  an idle with a specified priority (default is zero)
      	  constants #defined - GTK_PRIORITY_[HIGH/INTERNAL/DEFAULT/LOW]
      	  (redraws, resizes run at GTK_PRIORITY_INTERNAL)
      
      	* gtk/gtkentry.c gtk/testselection.c: changes to keep up with change
        	  to gtkselection.c.
      888470ee
  13. 07 Feb, 1998 1 commit
  14. 05 Feb, 1998 1 commit
    • Tim Janik's avatar
      new function to perform the same actions as gtk_list_remove_items, but · 9258a7ae
      Tim Janik authored
      Thu Feb  5 02:13:08 1998  Tim Janik  <timj@gimp.org>
      
              * gtk/gtklist.h:
              * gtk/gtklist.c (gtk_list_remove_items_no_unref): new function
                to perform the same actions as gtk_list_remove_items, but
                supply the removed widgets with an additional reference count.
      
              * gtk/gtkmain.c (gtk_main_iteration_do): ignore events
                with event_widget == NULL, since they are bogus events
                from destroyed GdkWindows, exept for the case where
                event->type==GDK_PROPERTY_NOTIFY. Always handle expired
                timeout functions when returning from this function.
      
              * gtk/gtkwidget.c (gtk_widget_event): ignore GDK_EXPOSE events
                if event->window == NULL. Also, if this function couldn't handle
                the event for any reason (including failing assumptions), make
                the return value to look as if the event had been handled to
                avoid further processing (and warnings).
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: remove gtk_widget_sink, because there is
                no point in providing such a function.
      
              * gdk/gdk.c (gdk_init): changed options `-name' and `-class'
                to `--name' and `--class', because the old names would
                confuse getopt(). these arguments have been introduced in the
                changes from gtk+970916 to gtk+970925 without a ChangeLog entry,
                changing argument names is painful, it would be nice if people
                would care about compatibility and consistency in the first place!
      9258a7ae
  15. 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
  16. 31 Jan, 1998 1 commit
    • Federico Mena's avatar
      red/green/blue parameters are now expected to be in [0, 65535], to be · ce4263f9
      Federico Mena authored
      Fri Jan 30 08:51:16 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
      
      	* gdk/gdkcc.c (gdk_color_context_get_pixel): red/green/blue
       	parameters are now expected to be in [0, 65535], to be consistent
       	with the rest of Gdk.
      	(gdk_color_context_get_pixels): Made it use 16-bit color values as
       	well.  Fixed mdist=1000000 buglet (it should start with at least
       	0x1000000).
      	(gdk_color_context_get_pixels_incremental): Same as
      	gdk_color_context_get_pixels().
      ce4263f9
  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. 23 Jan, 1998 1 commit
  19. 21 Jan, 1998 3 commits
  20. 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
  21. 08 Jan, 1998 1 commit
  22. 06 Jan, 1998 1 commit
  23. 03 Jan, 1998 1 commit
  24. 02 Jan, 1998 2 commits
  25. 01 Jan, 1998 1 commit
  26. 31 Dec, 1997 1 commit
  27. 26 Dec, 1997 1 commit
  28. 20 Dec, 1997 1 commit