X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-8;h=0afdaeb2ea08b11c1612b85c3866ccebd53fc637;hb=fac76f942636905932240a4327cd8d76c6360017;hp=334fe71c7c93deae2ac51288375f7e67f1eea487;hpb=58d7ca8102bc8e523f155d5d6ba6be9862304ffe;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 334fe71c7..0afdaeb2e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,179 @@ +Sun Dec 8 20:32:23 2002 Owen Taylor + + 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 + allocated. + + * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors_shared, + gdk_colormap_alloc_colors_private): Clean up some a stray + initializations. + +Sun Dec 8 20:19:22 2002 Owen Taylor + + 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 + colormap. + + * 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 + system_colormap->size. + + * 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. + +2002-12-09 Tor Lillqvist + + 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 + function. + + * 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. + (WIN32_API_FAILED, WIN32_GDI_FAILED, OTHER_API_FAILED): Don't use + __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) + +Sun Dec 8 18:28:51 2002 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_modify_fg/bg/base/text/font): + Remove left-over NULL checks that were preventing the + NULL to "unmodify" feature from actually working. + (#100702, Jon-Kare Hellan) + +2002-12-08 Matthias Clasen + + * gtk/gtkcolorsel.c (gtk_color_selection_set_previous_color): + (gtk_color_selection_set_previous_alpha): Reset priv->changing + before returning. (#100443) + +Sat Dec 7 14:45:50 GMT 2002 Tony Gale + + * docs/tutorial/gtk-tut.sgml: minor fixes + + * examples/pixmap: don't use deprecated function + +Fri Dec 6 19:00:59 2002 Owen Taylor + + * demos/gtk-demo/testview.c tests/testgtk.c + tests/testtext.c tests/testtextbuffer.c: Use + octal escapes rather than literal UTF-8. + +Fri Dec 6 17:50:57 2002 Owen Taylor + + * gdk/gdkpixmap.c (PACKED_COLOR): Fix incorrect + masks in PACKED_COLOR definition. (#99795, + John Finlay) + +Fri Dec 6 17:46:42 2002 Owen Taylor + + * gtk/gtkmenu.c (gtk_menu_window_size_request): Use + the correct screen for getting the height. + (Fix from Stephen Browne, #96777) + +Thu Dec 5 16:01:14 2002 Eric Warmenhoven + + * gdk/{linux-fb,win32}/Makefile.am: Fix gdkenumtypes.h hack + +2002-12-06 Matthias Clasen + + * gdk/gdkcolor.c: + * gdk/gdkfont.c: Add some Deprecation info. + +Wed Dec 4 19:41:14 2002 Eric Warmenhoven + + * gdk/linux-fb/gdkglobals-fb.c gdk/linux-fb/gdkkeyboard-fb.c + gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkprivate-fb.h + gdk/linux-fb/gdkrender-fb.c: More proper vt switch handling + +Wed Dec 4 14:31:46 2002 Owen Taylor + + * gdk/x11/gdkdnd-x11.c: Always look up and create the + Motif drag window as a child of the root window of screen 0 + rather than the default screen. (#100362, Erwann Chenede) + + * gdk/x11/gdkdnd-x11.c (motif_read_initiator_info): + Return FALSE, not GDK_FILTER_REMOVE on failure; this + isn't a filter function. + + * gdk/x11/gdkselection-x11.c gtk/gtkselection.c: Add + some g_return_if_fail() to catch selection == None more + gracefully than an X error. + +2002-12-04 Christian Neumair + + * gtk/gtkcellrendertoggle.c: Fixed typo in property + description. + +Wed Dec 4 12:44:50 2002 Owen Taylor + + * gtk/gtkcombo.c (gtk_combo_selection_changed): Add + back the monitoring of the selection when the combo + isn't popped down; apparently people depended upon + the side-effect where gtk_combo_set_popdown_strings() + would wipe out the contents of the list when browse-mode + autoselected the first item in the list. (#100347) + +Tue Dec 3 17:47:24 2002 Owen Taylor + + * gdk/x11/gdkgeometry-x11.c (gdk_window_guffaw_scroll): Fix wrong + sign for queued translation. (Found by Chris Blizzard, + #100274) + 2002-12-03 Matthias Clasen Moveresize emulation for all edges. (#52833)