+Wed Aug 13 11:34:53 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcombo.c (gtk_combo_init): connect_after() to
+ key-press-event on the entry, so input methods get access to
+ key presses before GtkCombo customization.
+ (#115451, Botond Botyanszki)
+
+2003-08-13 Anders Carlsson <andersca@gnome.org>
+
+ * tests/testtoolbar.c: (set_important_func), (important_toggled),
+ (create_items_list):
+ Add an important column.
+
+Tue Aug 12 15:00:15 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkwindow.c (gtk_window_real_set_focus): Protect
+ against reentrancy from ::focus-out handlers.
+ (#118129, Felipe Heidrich)
+
+Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
+ GDK_LOCK_MASK before calling
+ gdk_keymap_translate_keyboard_state so bindings
+ and accelerators are independent of the Caps-lock
+ key. (#115384, reported by Toni Willberg)
+
+Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (get_real_window): Add missing
+ break statements (#119494, Soeren Sandmann)
+
+Mon Aug 11 11:10:07 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkwidget.h: Mark parent public as well; it's
+ extensively accessed in existing code, so there is
+ no advantage in making people use get_parent().
+ (Tweak to #119463 fix)
+
+2003-08-11 Matthias Clasen <maclas@gmx.de>
+
+ Add support for EWMH "Above" and "Below" window states. (105100,
+ Manuel Clos)
+
+ * tests/testgtk.c: Add "Above" and "Below" to the the "Window
+ State" demo.
+
+ * gtk/gtkwindow.h: Add gtk_window_set_keep_above and
+ gtk_window_set_keep_below.
+
+ * gtk/gtk.def: Add gtk_window_set_keep_above and
+ gtk_window_set_keep_below.
+
+ * gtk/gtkwindow.c (gtk_window_set_keep_below):
+ (gtk_window_set_keep_above): New functions, call the corresponding
+ gdk functions.
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): New
+ function, sets _NET_WM_STATE_BELOW.
+ (gdk_window_set_keep_above): New function, sets
+ _NET_WM_STATE_ABOVE.
+
+ * gdk/gdkwindow.h: Add gdk_window_set_keep_above and
+ gdk_window_set_keep_below.
+
+ * gdk/gdkevents.h (GdkWindowState): Add GDK_WINDOW_STATE_ABOVE and
+ GDK_WINDOW_STATE_BELOW.
+
+ * gdk/gdk.def: Add gdk_window_set_keep_above and
+ gdk_window_set_keep_below.
+
+ * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and
+ JH_PATH_XML_CATALOG from gtk-doc to enable configuring without
+ xmlcatalog in PATH. (#119115)
+
+2003-08-10 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as
+ public. (#119463)
+
+2003-08-09 Noah Levitt <nlevitt@columbia.edu>
+
+ * gdk/gdkevents.h:
+ * docs/reference/gdk/tmpl/windows.sgml: Elaborate a bit more in the
+ docs on GdkFilterFunc and GdkFilterReturn.
+
+2003-08-09 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcalendar.c: Add and hook in gtk_calendar_scroll,
+ to let the mouse wheels select the month. Scrolling down
+ moves forward in time. (#53134, Abigail Brady)
+
+ * gtk/gtkcalendar.c: Complete the RTL flipping support for
+ GtkCalendar, make it possible to flip the headings using the
+ "magic translated string" technique. Translators, note the
+ comment in gtk_calendar_init() explaining this. (#102416)
+
+ * gtk/gtkcalendar.c: Get the information about the first day of
+ the week from the locale using another instance of the "magic
+ translated string" technique. Ignore the display option
+ GTK_CALENDAR_WEEK_START_MONDAY with a warning. (#87977)
+
+ * gtk/gtkcalendar.c: Add DND support to GtkCalendar. The selected
+ date is dragged as text, formatted via strftime %x. Text drops are
+ accepted if g_date_set_parse() can make sense of the text. A
+ dedicated data format for date DND has not been introduced yet,
+ since there didn't seem to be sufficient consensus on such a
+ format on xdg-list. (#117297)
+
+2003-08-08 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/gdkregion-generic.c (gdk_region_spans_intersect_foreach):
+ Fix a segfault. (#115284, Jan Kratochvil)
+
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkevents-win32.c (print_event): Print also the root
+ coordinates for events that have such. Print coordinates for enter
+ and leave events.
+
+ (gdk_event_translate): Don't use event uninitialixed in the
+ return_exposes branch of the WM_PAINT handler.
+
+ * gdk/win32/gdkwindow-win32.c (gdk_window_new,
+ _gdk_windowing_window_get_pointer, _gdk_windowing_window_at_pointer):
+ Must offset top-level window coordinates here, too.
+
+2003-08-08 Matthias Clasen <maclas@gmx.de>
+
+ * demos/gtk-demo/appwindow.c (do_appwindow): Hide the resize grip
+ when maximized or fullscreen.
+
+2003-08-07 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkinput-win32.h
+ * gdk/win32/gdkinput-win32.c (_gdk_input_configure_event,
+ _gdk_input_enter_event): Drop the GdkEvent* parameter, it wasn't
+ used.
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): Adapt caller
+ accordingly, in fact an uninitialised variable was dereferenced.
+
+
+ [Win32] Add support for multiple monitors.
+
+ * gdk/win32/gdkprivate-win32.h
+ * gdk/win32/gdkglobals-win32.c: New global variables for
+ multiple-monitor info: _gdk_num_monitors, _gdk_monitors, and
+ _gdk_offset_x and _gdk_offset_y.
+
+ * gdk/win32/gdkdisplay-win32.c (count_monitor, enum_monitor): New
+ functions, enumeration functions passed to EnumDisplayMonitors().
+
+ (gdk_display_open): If the EnumDisplayMonitors() and
+ GetMonitorInfo() API is present (on Win98, Win2000 and newer), use
+ if to find out monitor info.
+
+ Calculate the offset between Win32 coordinates (relative to the
+ primary monitor's origin (and thus negative on monitors to the
+ left of or above it), and GDK's (visible coordinates should be
+ non-negative).
+
+ * gdk/win32/gdkscreen-win32 (gdk_screen_get_n_monitors,
+ gdk_screen_get_monitor_geometry): Use information collected above.
+
+ (gdk_window_move, gdk_window_move_resize_window_get_geometry):
+ Subtract _gdk_offset_{x,y} from GDK root window coordinates.
+
+ (gdk_window_get_geometry, gdk_window_get_origin,
+ gdk_window_get_frame_extents): For top-level windows, add
+ _gdk_offset_{x,y} to GDK root window coordinates
+
+ Still need to handle multiple monitors in
+ gdk_window_fullscreen(). Probably should make the window
+ fullscreen on the monitor where the cursor is?
+
+ * gdk/win32/gdkevents-win32.c: Add _gdk_offset_{x,y} to all GDK
+ root window coordinates in GdkEvents.
+
+
+ [Win32] Fix geometry hint handling. Add support for resize
+ increment and base size, and aspect ratio geometry hints. The
+ "gridded geometry" test in testgtk now works beautifully.
+
+ * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints):
+ Turns out this function shouldn't actually ever modify the
+ window's size, just store the hints. (Old code kept for a while
+ inside #if 0.)
+
+ (gdk_window_set_hints): Remove presumably broken code that handles
+ the position hints, this function is obsolete anyway.
+
+ * gdk/win32/gdkevents-win32.c: Drop the current_{x,y}_root
+ variables, not used.
+
+ (adjust_drag): New function, used to implement resize increment
+ hints.
+
+ (gdk_event_translate): Handle WM_SIZING, implement resize
+ increment and base size, and aspect ratio geometry hints here. The
+ WM_GETMINMAXINFO handler takes care of the minimum and maximum
+ size hints as before. Fix the WM_GETMINMAXINFO handler to take
+ into account window decorations. No need to modify the
+ ptMaxPosition and ptMaxSize fields in the MINMAXINFO struct,
+ the defaults are fine.
+
+ * gdk/win32/gdkprivate-win32.h
+ * gdk/win32/gdkwindow-win32.c (_gdk_win32_adjust_client_rect,
+ _gdk_win32_get_adjusted_client_rect): New helper functions.
+
+2003-08-07 Matthias Clasen <maclas@gmx.de>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the
+ toplevel->have_* flags before iterating over the _NET_WM_STATE
+ atoms. (#119217)
+
+Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkwidget.c (gtk_widget_set_style_internal):
+ Fix a bug where on theme change, resize/redraw wasn't
+ properly getting queued on toplevel windows. (#116346,
+ Rajkumar Siva)
+
+ * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
+ Fix bug where wrong coordinates were used for toplevel
+ window.
+
+Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
+ page_num variable (Archit Baweja)
+
+2003-08-07 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to
+ cope with C libraries with crippled locale support. (#115293)
+
+2003-08-07 Hans Breuer <hans@breuer.org>
+
+ * gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
+ (only if the new window not known to Gdk) to get proper
+ leave notification, and get rid of the wrong placed
+ tooltips, bug #102283
+
+ (gdk_event_translate) : small code reordering to not get
+ GDK_MOTION_NOTIFY for still mouse and get back tooltips on
+ menus, bug #117367
+
+2003-08-07 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdk.def
+ * gdk/win32/gdkfont-win32.c (gdk_fontset_load_for_display): Add
+ missing function, trivially implement.
+
+2003-08-07 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkctree.c (draw_row): Don't cut descenders when
+ rendering. (#118646, Charles Kerr)
+
2003-08-06 Hans Breuer <hans@breuer.org>
+ * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
+ initialize bits to 0 (probably default on NT)
+
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
now it works as intended ;-)
2003-08-03 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkscreen-x11.c (gdk_screen_get_n_monitors):
- (gdk_screen_get_monitor_geometry): Improve wording of the docs, avoid the
- term "virtual screen". (#119030, Tor Lillquist)
+ (gdk_screen_get_monitor_geometry): Improve wording of the docs, avoid
+ the term "virtual screen". (#119030, Tor Lillquist)
2003-08-02 Matthias Clasen <maclas@gmx.de>
* demos/pixbuf-init.c (pixbuf_init):
* demos/gtk-demo/main.c (main): Use g_setenv().
- * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): Use g_unsetenv().
+ * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): Use
+ g_unsetenv().
Sat Aug 2 12:53:16 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c (color_sample_drop_handle)
(palette_drop_handle):
- * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept drops with the
- wrong format, since the KDE color chooser incorrectly drops application/x-color with
- format 8. (#118810)
+ * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received): Accept
+ drops with the wrong format, since the KDE color chooser incorrectly
+ drops application/x-color with format 8. (#118810)
* gtk/gtkcolorsel.c (color_sample_drop_handle) (palette_drop_handle):
* gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):
2003-07-31 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf to icon, to
- pacify gtk-doc.
+ * gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf
+ to icon, to pacify gtk-doc.
- * gtk/gtkwidget.c (gtk_widget_class_init): Fix formatting of drag-motion example.
+ * gtk/gtkwidget.c (gtk_widget_class_init): Fix formatting of drag-motion
+ example.
Thu Jul 31 15:33:33 2003 Soeren Sandmann <sandmann@daimi.au.dk>
2003-07-30 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND signal docs.
+ * gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND
+ signal docs.
2003-07-29 Tor Lillqvist <tml@iki.fi>
2003-07-24 Matthias Clasen <maclas@gmx.de>
- * gtk/gtktextview.c (popup_targets_received): Make the "Input Methods" insensitive
- when editing isn't possible. (#118150)
+ * gtk/gtktextview.c (popup_targets_received): Make the "Input Methods"
+ insensitive when editing isn't possible. (#118150)
2003-07-23 Matthias Clasen <maclas@gmx.de>
2003-07-19 Matthias Clasen <maclas@gmx.de>
* gtk/gtkstock.h (GTK_STOCK_DIALOG_AUTHENTICATION): New stock id.
- * gtk/gtkiconfactory.c (get_default_icons): Add stock_dialog_authentication_48. (#65765)
+ * gtk/gtkiconfactory.c (get_default_icons): Add
+ stock_dialog_authentication_48. (#65765)
* gtk/stock-icons/Makefile.am (VARIABLES2, IMAGES): Here too.
* gtk/stock-icons/stock_dialog_authentication_48.png: New image.
* gtk/gtkbbox.h:
- * gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)
+ * gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New
+ function. (#64562)
Sat Jul 19 00:18:40 2003 Soeren Sandmann <sandmann@daimi.au.dk>
2003-07-18 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkwindow.c: Add properties decorated and gravity. (#80234)
+ * gtk/gtkwindow.c: Add properties decorated and gravity. (#80234)
- * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport.
- (gtk_text_view_move_viewport): New function which implements the move_viewport functionality.
- (gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669)
+ * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding
+ signal, move_viewport.
+ (gtk_text_view_move_viewport): New function which implements the
+ move_viewport functionality.
+ (gtk_text_view_move_cursor_internal): If the cursor is not visible, move
+ the viewport. (#78669)
- * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument.
+ * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for
+ move_viewport argument.
- * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property. (#111779)
+ * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip
+ property. (#111779)
* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_set_default_icon): New method. (#95816)
2003-07-11 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types.
- (#117219, Steve Chaplin)
+ * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free
+ mime_types. (#117219, Steve Chaplin)
Tue Jul 8 20:11:04 2003 Owen Taylor <otaylor@redhat.com>
2003-07-09 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text direction
- when sorting children. (#116540, Soeren Sandmann)
+ * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text
+ direction when sorting children. (#116540, Soeren Sandmann)
Tue Jul 8 17:36:21 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection):
Simplify handling of "XdndSelection".
- * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow,
+ * gdk/x11/gdkevents-x11.c
+ (gdk_event_send_client_message_to_all_recurse): Somehow,
a WM_STATE => _NET_WM_STATE change hand been made here.
* gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
2003-07-01 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs. (116364, Morten Welinder)
+ * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs.
+ (116364, Morten Welinder)
- * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the corresponding
- dialogs.
+ * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the
+ corresponding dialogs.
- * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h, gtkcolorbutton.h.
+ * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h,
+ gtkcolorbutton.h.
(gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c.
* gtk/gtkfontbutton.[hc]: New files containing a font picker widget.
* gdk/gdkdisplay.h:
* gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
- gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
+ gdk_display_supports_cursor_color(),
+ gdk_display_get_default_cursor_size() and
gdk_display_get_maximal_cursor_size(). (#69436)
2003-06-30 Tor Lillqvist <tml@iki.fi>
2003-06-29 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter from docs, some more formatting
- fixes.
+ * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter
+ from docs, some more formatting fixes.
2003-06-28 Tor Lillqvist <tml@iki.fi>
2003-06-24 Matthias Clasen <maclas@gmx.de>
- * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type.
+ * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for
+ shadow_type.
* gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser):
- (gtk_widget_class_list_style_properties): Use same parameter names as in
+ (gtk_widget_class_list_style_properties): Use same parameter names as in
header (to silence gtk-doc).
* gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.