1. 07 Jun, 1998 1 commit
    • Tim Janik's avatar
      fixed an assertment. · a391196b
      Tim Janik authored
      Sat Jun  6 06:01:24 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtksignal.c (gtk_signal_emitv): fixed an assertment.
      
              * gtk/makeenums.awk: a script to generate the GtkEnumValue arrays from,
              this should eventually be done by gentypeinfo.el somewhen.
              * gtk/gtkenumvalues.c: new generated file to hold GtkEnumValue arrays.
      
              * gtk/gtktypeutils.h: new function gtk_enum_values() to retrive all the
              enum values of an enum type.
      
              * gtk/gtk.defs:
              * gtk/gtkcurve.h:
              * gtk/gtkobject.h:
              * gtk/gtkprivate.h:
              * gtk/gtkwidget.h:
              * gtk/gtkenums.h:
              brought enum/flags definitions in sync, added a few more enum
              definitions for bindings and pattern matching.
      
              * some more macro and GtkType fixups in various places.
      
              * gdk/gdktypes.h (enum): added a new value GDK_AFTER_MASK, which is used
              as a key-release modifier for the binding system.
      
      Fri Jun  5 06:06:06 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenu.h (struct _GtkMenu): removed GList*children, since it
              was a stale list pointer that is already present in GtkMenuShell.
      
              * gtk/gtkmenushell.h (struct _GtkMenuShellClass): added a signal
              GtkMenuShell::selection_done which is emitted after the menu shell
              poped down again and all possible menu items have been activated.
      
      Thu Jun  4 02:20:42 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenushell.c (gtk_menu_shell_button_release): flush the x-queue
              before activation of the menuitem, so the menu is actually taken off the
              screen prior to any menu item activation.
      
              * gtk/gtkctree.c (gtk_ctree_get_row_data): allow function invokation
              for NULL nodes.
      
              * gtk/gtkwidget.h:
              * gtk/gtkwidget.c: new function gtk_widget_stop_accelerator to stop
              the emission of the "add-accelerator" signal on a widget. this is
              usefull to prevent accelerator installation on certain widgets.
      
              * gtk/gtknotebook.c (gtk_notebook_menu_item_create): keep the menu
              labels left justified, by setting their alignment. stop accelerator
              installation for the menu items, since we use dynamic menus.
      
      Wed Jun  3 06:41:22 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkmenufactory.c: adaptions to use the new accel groups. people
              should *really* use GtkItemFactory. this is only for preserving source
              compatibility where possible, use of GtkMenuFactory is deprecated as of
              now.
      
              * gtk/gtkobject.h (gtk_object_class_add_user_signal): new function
              to create user signals of type GTK_RUN_NO_RECURSE. don't know why i
              missed this possibility when i added gtk_object_class_add_user_signal
              in late january.
      
              * gtk/gtkmain.c (gtk_init): ignore subsequent function calls.
      
      Sun May 31 07:31:09 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkaccelgroup.h:
              * gtk/gtkaccelgroup.c: new implementation of the accelerator concept.
      
              * gtk/gtkaccellabel.h:
              * gtk/gtkaccellabel.c: new widget derived from GtkLabel whitch features
              display of the accelerators associated with a certain widget.
      
              * gtk/gtkitemfactory.h:
              * gtk/gtkitemfactory.c: new widget, item factory with automatic rc
              parsing and accelerator handling.
      
              * gtk/gtkmenu.c (gtk_menu_reposition): new function to care for
              positioning a menu.
              (gtk_menu_map): removed the allocation code.
              (gtk_menu_size_allocate): care for redrawing of children and resize
              our widget->window correctly.
              (gtk_menu_key_press): feature the new accelerator groups.
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): reposition the
              submenu if neccessary.
      
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkradiomenuitem.c: use GtkAccelLabel in the *_new_with_label()
              function variants.
      
              * gdk/gdk.c:
              (gdk_keyval_from_name):
              (gdk_keyval_name): new functions for keyval<->key-name associations.
              (gdk_keyval_to_upper):
              (gdk_keyval_to_lower):
              (gdk_keyval_is_upper):
              (gdk_keyval_is_lower): new functions to check/translate keyvalues with
              regards to their cases.
      
      Wed May 27 00:48:10 1998  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkwidget.c (gtk_widget_class_path): new function to calculate a
              widget's class path.
              (gtk_widget_path): new function to calculate a widget's name path.
      
              * gtk/gtkrc.c: newly introduced GtkPatternSpec structures to speed up
              pattern matching, features reversed pattern matches.
      a391196b
  2. 27 May, 1998 1 commit
    • Federico Mena Quintero's avatar
      New enumeration for the "mode" field of crossing events. (struct · 99fdc828
      Federico Mena Quintero authored
      1998-05-26  Federico Mena Quintero  <federico@nuclecu.unam.mx>
      
      	* gdk/gdktypes.h (GdkCrossingMode): New enumeration for the "mode"
      	field of crossing events.
      	(struct _GdkEventCrossing): Added the following fields: time, x,
      	y, x_root, y_root, mode, focus, state.
      
      	* gdk/gdk.c (gdk_event_translate): Fill in the new fields of the
      	crossing event structure.
      
      	* gtk/gtkfeatures.h (GDK_HAVE_FULL_CROSSING_EVENT): Annotate
      	changes to the crossing event structure.
      99fdc828
  3. 26 May, 1998 1 commit
  4. 23 May, 1998 1 commit
    • Owen Taylor's avatar
      Locate child at (border_width,border_width), not · 53d06396
      Owen Taylor authored
      Sat May 23 17:48:58 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkeventbox.c (gtk_event_box_size_allocate):
              Locate child at (border_width,border_width), not
      	(2*border_width,2*border_width). [ The border is _outside_
      	widget->window ]
      
      	* gdk/gdk.[ch]: added gdk_screen_width_mm/gdk_screen_height_mm
      	  functions. [From: Alexander Larsson <alla@lysator.liu.se> ]
      53d06396
  5. 19 May, 1998 1 commit
  6. 16 May, 1998 1 commit
    • Owen Taylor's avatar
      Basic thread-awareness: · 45714833
      Owen Taylor authored
      Fri May 15 21:16:54 1998  Owen Taylor  <otaylor@gtk.org>
      
      	Basic thread-awareness:
      
      	* acconfig.h configure.in: New option --with-threads=[yes/posix/no]
      
      	* gdk/Makefile.am gdk/gdkthreads.c: Added new functions
      	gdk_threads_[init/enter/leave] for applications, plus
      	gdk_threads_wake to wake the mainloop thread out of
      	the select().
      
      	* gtk/Makefile.am: gtk/testthreads.c: Test program for threads
      
      Fri May 15 12:08:48 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/testgtk.c (list_clear): Account for the fact
      	that gtk_list_clear_items is not inclusive. (Clears
      	[start, end))
      45714833
  7. 15 May, 1998 1 commit
    • rodo's avatar
      include gdkkeysyms.h always · d6c6ad10
      rodo authored
      Fri May 15 12:31:27 1998  rodo  <doulik@karlin.mff.cuni.cz>
      
      	* gdk/gdk.c: include gdkkeysyms.h always
      d6c6ad10
  8. 13 May, 1998 1 commit
    • Owen Taylor's avatar
      Fixed up a stat() that Sopwith missed when changing stat => lstat. · 43dfe74c
      Owen Taylor authored
      Tue May 12 19:37:55 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkrc.c (gtk_rc_parse_file): Fixed up a stat()
      	that Sopwith missed when changing stat => lstat.
      
      Tue May 12 19:19:29 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkinputdialog.c gtk/gtkgamma.c gtk/gtkrc.c
      	  gtk/gtkcolorsel.c gtk/gtkclist.c gtk/testgtk.c: Use
      	GPOINTER_TO_INT/GINT_TO_POINTER macros where appropriate.
      
      	* gdk/gdk.c: Print sizeof() results
      	as g_print("%ld", (glong)sizeof(foo)), to deal with
      	sizeof() being long on Alpha's.
      
      	* gtk/testgtk.c: include <string.h> for strlen
      
      Tue May 12 19:22:58 1998  Owen Taylor  <otaylor@gtk.org>
      
       	* glib/glib.h: Added macros G[U]INT_TO_POINTER() and
      	GPOINTER_TO_[U]INT for storing small integers integers
      	inside pointers.
      
      	* glib/testglib.c: Print sizeof() results
      	as g_print("%ld", (glong)sizeof(foo)), to deal with
      	size_t being long on Alpha's.
      43dfe74c
  9. 10 May, 1998 1 commit
    • Owen Taylor's avatar
      Try to figure out if this is Digital Unix and we need -std1 to get the · f75d8b0c
      Owen Taylor authored
      Sat May  9 20:11:20 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in (LIBS): Try to figure out if this
      	is Digital Unix and we need -std1 to get the
      	right prototypes.
      
      Sat May  9 20:08:12 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* glib/gmem.c: Experimentally restore GMemChunk
      	to its primeval state - where mem areas are
      	freed incrementally instead of searching the tree
      	every time a mem area is completely empty. Also,
      	always keep one mem chunk around. (Reduced calls
      	to malloc() a lot, but doesn't really improve
      	performance significiantly)
      
      Fri May  8 21:31:50 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkwidget.c (gtk_widget_queue_draw): Free the
      	draw-queue when we are done.
      
      	(gtk_widget_queue_draw/_queu_resize): Always return
      	FALSE and avoid having two idles at the same time.
      
      Fri May  8 21:04:00 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtktext.c: Various fixes to make sure cache
      	lines are freed if line_start_cache doesn't point to the
      	beginning of the cache.
      
      Thu May  7 09:44:22 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* style_set improvements for GtkText and GtkEntry
      
      Tue May  5 19:49:27 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkpixmap.c: Patches from Gordon Matzigkeit
      	to speed things up and remove code duplication.
      
      	Reintegrated buffer overflow patches, and added
      	some extra paranoia.
      
      Tue May  5 17:04:14 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdk.c (gdk_event_translate): A guint * was
      	being passed where X expected a Keysym *, and
      	keysyms are long's on Alpha Linux. This was causing
      	segfaults in Xlib, apparently because of alignment.
      	(Bug located by Juergen Haas <haas@forwiss.uni-passau.de>)
      
      Tue May  5 19:11:27 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkdrawingarea.c (gtk_drawing_area_realize): Always
      	set GDK_EXPOSURE_MASK for DrawingAreas
      
      Tue May  5 14:32:37 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkwidget.[ch]: removed gtk_widge_propagate_default_style
      	(superceded by RC file reparsing capabilities)
      
      	* gtk/gtkwindow.c: Add handling for _GDK_READ_RFCILES client
      	events. (Shouldn't be sent to the InputOnly leader, which
      	it is now by gdk_event_send_clientmessage_toall
      
      	* gtk/testgtk.c: Added extra button to rcfiles test
      	to send out _GDK_READ_RCFILES events.
      
      Tue May  5 11:03:00 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkselection.c (gtk_selection_clear): Fixed
      	reversed conditionals that caused segfault on some
      	platforms.
      
      Tue May  5 00:44:47 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkcontainer.c (gtk_container_set_focus_[hv]adjustment):
      	cast to GTK_OBJECT for gtk_object_ref.
      f75d8b0c
  10. 04 May, 1998 1 commit
    • Owen Taylor's avatar
      Merges from the gtk-1-0 branch · d142827b
      Owen Taylor authored
      Sun May  3 14:55:34 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about
      	"glibconfig.h" and another about writing another IRC
      	client.
      
      Sat May  2 00:14:05 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkpreview.c (gtk_trim_cmap): Make sure the
      	parameters to log are doubles. Digital Unix apparently
      	is missing the argument in its prototype.
      
      Sun May  3 19:04:46 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtklabel.c (gtk_label_state_changed): Don't
      	force a clear until the widget is actually on
      	screen.
      
      Hopefully nothing else though CVS think there are a whole
      bunch more changed files.
      d142827b
  11. 03 May, 1998 1 commit
    • Owen Taylor's avatar
      configure.in acheader.h gdk/gdkwindow.c Check for Shape extension both on · 4851efe2
      Owen Taylor authored
      Sun May  3 13:38:22 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* configure.in acheader.h gdk/gdkwindow.c
      	Check for Shape extension both on the client and server
      	side. (And, more importantly, check for the shape extension
      	so we may include -lXext even when compiling with --disable-xshm)
      
      	Don't set override_redirect on all shaped windows. It isn't
      	necessary.
      
      	* gdk/gdkwindow.c: Set ->colormap to NULL for root
      	and foreign windows. Use this to check if we
      	need to get the colormap from X.
      
      Fri May  1 22:32:47 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gtk/gtkbutton.c (gtk_button_paint): Draw the areas
      	between the default and the button always in GTK_STATE_NORMAL.
      
      	* gtk/gtkrange.c (gtk_range_style_set): Added a style_set
      	callback.
      
      Fri May  1 16:40:57 1998  Owen Taylor  <otaylor@gtk.org>
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_create_from_xpmp[_d]):
      	  Fix a buffer overflow on pixmaps that claim to have
      	  more than 31 characters per pixel.
      
      	  (gdk_pixmap_read_string): Don't wrap around strings longer
       	  than half of address space ;-)
      
      	* gtk/gtk[vh]ruler.c gtk/gtkinputdialog.c: Expand some buffers
      	that were used for printing integers.
      
      	* */* (almost):
      
      	Style: All
      	  int foo () { ... }
      	changed to
      	  int foo (void) { ... }
      
      ^^^^^^^ This is why some many files changed
      
      	Even where there were proper prototypes elsewhere.
      
      	* gdk/gxid.c (handle_claim_device): Some extra checks.
      	It isn't safe against being fed bad X id's, but at
      	least it should be safe against deleting all your
      	files.
      4851efe2
  12. 29 Apr, 1998 1 commit
  13. 28 Apr, 1998 1 commit
  14. 14 Apr, 1998 1 commit
    • Owen Taylor's avatar
      Don't read the character past the end of the text. · 385164d6
      Owen Taylor authored
      Mon Apr 13 21:40:14 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtktext.c (find_char_width): Don't read the
      	character past the end of the text.
      
      	* gtk/gtkrange.c (gtk_real_range_timer): If the mouse
      	button has been released before the timer is activated,
      	don't keep on scrolling.
      
      	* gdk/gdk.c (gdk_event_translate): Filter subsequent configure
      	events after we discard the first. Removed obsolete and
      	sometimes very slow GdkOtherEvent. (Left in gdktypes.h
      	with signal in GTK)
      385164d6
  15. 13 Apr, 1998 1 commit
  16. 09 Apr, 1998 1 commit
    • Owen Taylor's avatar
      (Found by Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>) · 26df647a
      Owen Taylor authored
      Thu Apr  9 14:24:35 1998  Owen Taylor  <owt1@cornell.edu>
      
      	(Found by Mattias.Gronlund" <Mattias.Gronlund@sa.erisoft.se>)
      
      	* gtk/gtkcurve.c (gtk_curve_interpolate): Added a
      	missing g_free.
      
      	* gtk/gtkcurve.c (gtk_curve_graph_events): Limits
      	were off by one, resulting in writing past array
      	bounds. Removed some unused code.
      
      	* gdk/gdk.c (gdk_dnd_drag_begin): The event structure
      	used for gdk_event_put should be a GdkEvent, not a
      	subtype, since it will all be copied.
      
      	* gtk/gtkcolorsel.c: Added a unrealize handler that
      	unref's the GC's that were created.
      
      	* gtk/testgtk.c (clist_warning_test): ref and sink
      	child because it may never be added to anything.
      26df647a
  17. 08 Apr, 1998 1 commit
    • Miguel de Icaza's avatar
      During drag and drop, set the event mask at ButtonPress time to include · 09d32399
      Miguel de Icaza authored
      1998-04-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* gdk/gdk.c (gdk_event_translate): During drag and drop, set the
      	event mask at ButtonPress time to include ButtonPressMask and
      	ButtonReleaseMask, otherwise, if the button is released, and we
      	get a LeaveNotify event, it still thinks we are doing a drag.
      09d32399
  18. 04 Apr, 1998 1 commit
    • Owen Taylor's avatar
      Make debug string parsine case-insensitive · e2ae4aec
      Owen Taylor authored
      Fri Apr  3 20:36:35 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gutils.c (g_parse_debug_string): Make debug string
      	parsine case-insensitive
      
      Fri Apr  3 20:36:52 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdk.c gtk/gtkmain.c: Accept debug options
      	in the form --g[td]k[-no]-debug=xxx as well
      e2ae4aec
  19. 03 Apr, 1998 1 commit
  20. 01 Apr, 1998 1 commit
  21. 28 Mar, 1998 1 commit
    • Owen Taylor's avatar
      Don't call XTranslateCoordinates on a destroyed window. (Why do we do · 5b3cc69b
      Owen Taylor authored
      Fri Mar 27 21:01:17 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gdk/gdk.c (gdk_event_translate): Don't call
      	XTranslateCoordinates on a destroyed window. (Why do we
      	do event processing at all on destroyed windows when we
      	throw out the results?)
      
      	* gtk/gtklabel.c: Clear the background when changing style/
      	state.
      5b3cc69b
  22. 22 Mar, 1998 2 commits
    • Owen Taylor's avatar
      fixes to locale checks · 16aa9c19
      Owen Taylor authored
      Sun Mar 22 16:25:46 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c (gtk_init): fixes to locale checks
      
      	* gtk/testgtk.c (create_dnd): Create the dnd icons separately
      	  to avoid strange interactions with shapes demo.
      
      	* gtk/gtkentry.[ch]:
      	  - Limit the length of the text to 2048 to prevent long delays
      	  - Fix problems with buffer overruns
      	  - Draw only the onscreen portion of the text to prevent wrapping
      	    of shorts in the X drawing code.
      	  - Keep track of character positions and x-offsets to speed
      	    up algorithms.
      16aa9c19
    • Owen Taylor's avatar
      Don't respond to drops when grab is in effect. (workaround) · 8cff9d33
      Owen Taylor authored
      Sat Mar 21 19:07:01 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/testgtk.c (dnd_drop): Don't respond to drops when
      	  grab is in effect. (workaround)
      
      	* gdk/gdkfont.c (gdk_fontset_load): More details on
      	  error messages.
      
      	* gdk/gdk.c: Translate va_list to XVaNestedList instead
      	  of just casting it.
      
      	* gtk/gtkmain.c: Make temporary copy of string returned by
      	  setlocale, since it may be changed by subsequent calls.
      8cff9d33
  23. 17 Mar, 1998 3 commits
    • Owen Taylor's avatar
      Try to guess if we can use the mb* functions safely. (For glibc, they do · 70b3b3e6
      Owen Taylor authored
      Tue Mar 17 01:55:00 1998  Owen Taylor  <owt1@cornell.edu>
      
      	* gtk/gtkmain.c gtk/gtkentry.c: Try to guess if we can
      	  use the mb* functions safely. (For glibc, they do
      	  UTF-8). Heuristic is (X_LOCALE && locale != C/POSIX)
      	  || (mblen("\xc0", MB_CUR_MAX) == 1).
      
      	(From: "Richard Lloyd" <rkl@csc.liv.ac.uk>)
      
      	* gdk/gdk.c (gdk_ic_get_attr): Use an intermediate
      	  variable to avoid taking the address of the result
      	  of va_arg.
      
      	* gtk/gtkentry.c gtk/gtkeditable.c gtkobject.c
      	  gtk/testselection.c: signedness fixups
      
      	* gtk/gtkcontainer.c: Fixed implicit cast between
      	  gpointer and func pointer by changing.
      
      	* gtk/gtkcombo.c, gtk/gtkentry.c, gtk/gtktext.c:
      	  static void forward declaration vs. void actual fixed
      
      	* gtk/testgtk.c: Limit total number of tree items to 10,000
      70b3b3e6
    • 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
  24. 14 Mar, 1998 2 commits
  25. 11 Mar, 1998 3 commits
  26. 10 Mar, 1998 3 commits
  27. 08 Mar, 1998 3 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
    • Tim Janik's avatar
      define the version variables in config.h. · 76d01a82
      Tim Janik authored
      Sun Mar  8 03:00:17 1998  Tim Janik  <timj@gimp.org>
      
              * configure.in: define the version variables in config.h.
      
              * gtk/gtkmain.h:
              * gtk/gtkmain.c: added static version variables.
      
              * gdk/gdkpixmap.c: fixed memory leaks (gtk-gronlund-980307-1.patch.gz)
      76d01a82
  28. 07 Mar, 1998 1 commit
    • 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
  29. 06 Mar, 1998 2 commits