2005-08-02 Matthias Clasen * === Released 2.7.5 === * configure.in: Bump version * NEWS: Updates 2005-08-01 Matthias Clasen * gtk/gtkfixed.c (gtk_fixed_put): Fix a typo, spotted by David Odin. * gtk/Makefile.am (install-data-local): * gtk/gtksettings.c (gtk_settings_class_init): Rename the default theme to "Raleigh". (#312254, Thomas Wood) * gtk/gtkdnd.c (set_icon_stock_pixbuf): Create the icon window with the correct dimensions. (#312256, Mike Morrison) * gtk/gtktextbuffer.h: * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here as well. * gtk/gtkuimanager.c (update_node): Update tooltips when reconnecting toolitems. (#312173, Alex Graveley) * gdk/x11/gdkxftdefaults.c: Define the hint styles to make building against fc < 2.2.92 work. (#311839, Damien Carbery) * gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make tracking the on_all_desktops state work better. * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): Don't do anything if the window is on all desktops. (#311803, Elijah Newren) 2005-08-01 Dom Lachowicz * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Part of #168326 2005-08-01 Matthias Clasen * gtk/gtkclipboard.c (gtk_clipboard_set_image) (gtk_clipboard_set_text): Don't leak atom names. (#311933, Peter Zelezny) * gtk/gtkmain.c (do_post_parse_initialization): Call gettext_initialization() here as well. (#311612, Dan Winship) 2005-08-01 Tor Lillqvist * gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint): Implement using FlashWindowEx(). (#309423) 2005-07-30 Hans Breuer * gtk/makefile.msc.in tests/makefile.msc : updated 2005-07-30 Johan Dahlin * gtk/gtkctree.c (gtk_ctree_class_init): Do not use | G_PARAM_STATIC_NAME in the type field, makes subclassing possible. 2005-07-29 Claudio Saavedra * docs/reference/gtk/migrating-GtkAction.sgml: Declaring the GtkActionEntry arrays static const. Fixes #301612. 2005-07-29 J. Ali Harlow * gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST unconditionally. Fixes #311972. 2005-07-28 Federico Mena Quintero * perf/README: Update for the new API of the profiler. * perf/gtkwidgetprofiler.[ch]: New files with a widget profiler object. This is the old content of timers.[ch] turned into a nice object, with signals for creation and reporting. The profiler needs to maintain some state when reusing the widget, so it's useful to turn it into a real object. Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and GTK_WIDGET_PROFILER_REPORT_EXPOSE. * perf/main.c: Refactor to use GtkWidgetProfiler. * perf/appwindow.c (content_area_new): Make this just create a notebook, instead of a complex arrangement of panes. * perf/widgets.h: New header file for all the "create a widget" utility functions. * perf/treeview.c: New file. Moved the tree view part from appwindow.c over to here; GtkTreeView really needs its own tests. (tree_view_new): Set the shadow type to IN. * perf/textview.c: Likewise moved over from appwindow.c, but for GtkTextView. (text_view_new): Set the shadow type to IN. * perf/Makefile.am (testperf_SOURCES): Add the new source files; remove appwindow.h and timers.[ch]. * perf/timers.[ch]: Removed. * perf/appwindow.h: Removed. 2005-07-29 Tor Lillqvist * gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating to the gdk-ping message. Use the global _gdk_display instead of calling gdk_display_get_default() or gdk_drawable_get_display() which would return _gdk_display anyway. (append_event, apply_filters, gdk_event_translate): Drop any GdkDisplay parameter as we only have one display anyway. Use _gdk_display where needed. (gdk_event_apply_filters): Delete, move the code into its only caller, apply_filters(). (generate_button_event): Factor out code from two places in gdk_event_translate(). (gdk_event_translate): Call generate_button_event() in place of inline code. * gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New static function to generate and append the GDK_GRAB_BROKEN events. (gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events when overriding a grab inside the application, like in the X11 backend. Final bits of the fix for #107320, hopefully. (print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and GDK_GRAB_BROKEN events. (gdk_event_translate): Call generate_grab_broken_event() in place of inline code. * gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename from blit_inside_window(), as it now does blitting inside a bitmap, too. No code change, still just call BitBlt(). (_gdk_win32_blit): Check for source equalling destination first. (#169508, #131977) Do away with the superfluous local draw_impl variable, the parameter to this function is already a GdkDrawableImplWin32*, no need to copy and cast it. 2005-07-28 Robert Ă–gren Avoid spurious core pointer events when the tablet pen is lifted. (#167000) * gdk/win32/gdkinput-win32.c (set_ignore_core): New static function, handles delayed unsetting of _gdk_input_ignore_core. (_gdk_input_other_event): Call set_ignore_core instead of setting _gdk_input_ignore_core directly. 2005-07-28 Dom Lachowicz * modules/engines/ms-windows/*: Re-sync with gtk-wimp CVS. Notable changes include: menu/toolbars have a gradient applied to them; better handling of menu/toolbar shadows, tracking theme settings; sliders/scales now use XP theming; status bar grippies drawn properly; convincing toolbar grippies are drawn for the Win2k theme; notebook tabs now have that orange stripe across their top; a host of scrollbar bugs are fixed 2005-07-27 Tor Lillqvist * gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle PS_ALTERNATE, too. * gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for multi-monitor cases. (#311677, Tim Evans) 2005-07-26 Owen Taylor * gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be monotonic in the original size (#308145, Morten Welinder) 2005-07-26 Elijah Newren Revert part of patch from #166379; don't have gtk_window_present() change a window's desktop, but rather leave it up to the WM. (#311653) * gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a window's workspace 2005-07-26 Tor Lillqvist * gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT if missing (MSVC6). (#311633) 2005-07-26 Federico Mena Quintero * perf/: New directory with the start of a framework for testing performance in GTK+. * Makefile.am (SRC_SUBDIRS): Added the perf directory. * configure.in (AC_OUTPUT): Generate perf/Makefile. 2005-07-26 Matthias Clasen * gtk/gtkfilechooserdefault.c: Fix up includes on Win32. (#311630, Kazuki Iwamoto) * gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to the list of keysyms to ignore for composition, since AltGr keys produce it in some keyboard layouts. (#307283) * gtk/gtkwidget.h: * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from gtk_widget_new as well, pointed out by Kjartan Maraas. 2005-07-25 Matthias Clasen * gtk/gtkhsv.c (paint_triangle): Pad out the full width, in an attempt to work around bug #311225. * gtk/gtktreemodelsort.c: Trivial doc fixes. * gtk/gtktreesortable.c: Talk about comparison functions, not sort functions in some places. (#311398, Fabrice Bauzac) * gtk/gtk.symbols: * gtk/gtkobject.[hc]: * gtk/gtkfilechooserdialog.[hc] * gtk/gtkdialog.[hc]: Remove the G_GNUC_NULL_TERMINATED marker from a number of varargs functions where we allow to omit the varargs completely. (#311465, Callum McKenzie)