1. 09 Dec, 2002 5 commits
    • Owen Taylor's avatar
      When allocating non-writeable colors, fill in the flags field of the · e4c9e2eb
      Owen Taylor authored
      Sun Dec  8 21:22:46 2002  Owen Taylor  <otaylor@redhat.com>
              * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_private):
              When allocating non-writeable colors, fill in the flags
              field of the XColor, and insert the returned color into
              our color hash. (#100023, Naofumi Yasufuku)
              * gdk/x11/gdkcolor-x11.c (gdk_colormap_free_colors):
              Fix a typo (my fault) that slipped in in the last patch.
    • Owen Taylor's avatar
      More fixes for GdkColormapX11 (#100023, Naofumi Yasufuku) · fac76f94
      Owen Taylor authored
      Sun Dec  8 20:32:23 2002  Owen Taylor  <otaylor@redhat.com>
              More fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)
              * gdk/x11/gdkcolor-x11.c (gdk_colors_free)
              (gdk_colormap_free_colors): Don't call XFreeColors() for
              private colorsmaps.
              * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_writeable,
              gdk_colormap_colors_private, gdk_colormap_alloc_colors_shared):
              Fix return values to return number remaining not number
              * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_shared,
              gdk_colormap_alloc_colors_private): Clean up some a stray
    • Owen Taylor's avatar
      Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku) · bb0446a0
      Owen Taylor authored
      Sun Dec  8 20:19:22 2002  Owen Taylor  <otaylor@redhat.com>
              Fixes for GdkColormapX11 (#100023, Naofumi Yasufuku)
              * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_foreign_new):
              Fix typo that caused us to always return the system
              * gdk/x11/gdkcolor-x11.c (gdk_colormap_new): When allocating
              a private colormap and copying the system palette
              to prevent flashing, handle colormap->size greater than
              * gdk/x11/gdkcolor-x11.c (gdk_x11_colormap_get_xdisplay):
              Get rid of the last remains of private->xdisplay
              in favor of using private->screen.
    • Tor Lillqvist's avatar
      Merge from stable: · af9b53fc
      Tor Lillqvist authored
      2002-12-09  Tor Lillqvist  <tml@iki.fi>
      	Merge from stable:
      	* gdk/win32/gdkdrawable-win32.c (generic_draw): Don't leak
      	stipple_gc. More checks for errors. Use correct ternary ROP when
      	blitting the foreground into the tile pixmap onto those pixels
      	where the stipple is set. (I didn't notice that I had used the
      	wrong one, as it didn't matter on Win2k, where DIB sections
      	apparently are zeroed upon creation. But on Win98 they have random
      	initial contents. Thanks to Hans Breuer for reporting this.)
      	(gdk_win32_draw_rectangle, gdk_win32_draw_arc,
      	gdk_win32_draw_polygon): Don't pass the LINE_ATTRIBUTES bits to
      	generic_draw() if drawing a filled figure.
      	* gdk/win32/gdkmain-win32.c (_gdk_win32_print_dc): Minor cosmetics.
      	(_gdk_win32_gcvalues_mask_to_string): Initialize buffer as empty.
      	(_gdk_win32_window_state_to_string): New debugging output helper
      	* gdk/win32/gdkevents-win32.c: Minor debugging output changes.
      	(gdk_event_translate): Ignore the WM_SHOWWINDOW/SW_OTHERUNZOOM or
      	SW_OTHERZOOM messages. Do not generate a GDK_UNMAP event for
      	WM_SIZE/SIZE_MINIMIZED messages, they do not really corrspond to
      	unmapping on X11. Set window state correctly for all three of
      	SIZE_{MINIMIZED,MAXIMIZED,RESTORED}. A maximized and then iconified
      	("minimized" in Windows terminology) window still has the
      	"maximized" property, i.e. when deiconified, it will reappear as
      	maximized. (#10557)
      	* gdk/win32/gdkprivate-win32.h: Declare new function.
      	__PRETTY_FUNCTION__ if __GNUC__ >= 3, to avoid warning message.
      	* gdk/win32/gdkwindow-win32.c (show_window_internal): Handle more
      	situations. Add parameter to tell whether deiconifying. Code
      	reorg: Return early when appropriate instead of using nested if
      	statements. If just deiconifying without raising, restore active
      	window. (#10557)
      	(gdk_window_hide, gdk_window_withdraw, gdk_window_iconify,
      	gdk_window_deiconify, gdk_window_maximize, gdk_window_unmaximize,
      	gdk_window_focus): Use _gdk_win32_window_state_to_string() in
      	debugging output.
      	(gdk_window_iconify): Restore active window after calling
      	ShowWindow(). Otherwise the "next" window gets activated.
      	(gdk_window_stick, gdk_window_unstick): Don't output any warnings.
      	(gdk_window_set_transient_for): Rewrite. Just call SetWindowLong()
      	with GWL_HWNDPARENT, which despite its name sets the *owner*
      	window, which should be exactly what we want. The PSDK
      	documentation is said to be misleading. testgtk's modal window
      	test now works much better. (#50586)
    • Manish Singh's avatar
      shut up cvs · 016d6fad
      Manish Singh authored
  2. 08 Dec, 2002 5 commits
  3. 07 Dec, 2002 7 commits
  4. 06 Dec, 2002 5 commits
  5. 05 Dec, 2002 3 commits
  6. 04 Dec, 2002 9 commits
  7. 03 Dec, 2002 6 commits