]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
re-sync with gtk-wimp's cvs repository
[~andy/gtk] / ChangeLog
index 0f41b156d81e4b0ceefaae6a25867ee76983349f..d1b365950e448db7bb378b63281aa288ac8a8047 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,468 @@
+2005-06-03  Dom Lachowicz <cinamod@hotmail.com>
+
+       * modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp
+       * modules/engines/ms-windows/xp_theme.c: Ditto
+       * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
+
+Thu May 26 16:43:27 2005 Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkentrycompletion.h: Add declarations for
+       gtk_entry_completion_{get,set}_popup_single_match.
+
+2005-05-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtk.symbols: 
+       * gtk/gtkentrycompletion.c: Add a property to suppress the
+       popup for single matches.  (#154711)
+
+       * gtk/gtkentry.c (gtk_entry_completion_timeout): Respect it here.
+
+       * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): 
+       Use it here.
+
+       * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the 
+       redisplay after modifying the tag in the btree, otherwise 
+       we end up showing the old tags until the next redraw comes 
+       around.   (#143537, Gary Kramlich, Peter Wainwright)
+
+       * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make 
+       autoscrolling work at the bottom of the screen.
+
+2005-05-26  Maciej Katafiasz  <email@mathrick.org>
+
+       * docs/reference/gtk/tmpl/gtkentry.sgml:
+       Point to GtkTextView instead of GtkText. Fixes bug #305535
+
+2005-05-26  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): use a less
+       aggressive PNG compression level (bug #305340).
+
+2005-05-26  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
+       from the root window, take the multi-monitor offset into
+       account. (#305511)
+
+2005-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/appwindow.c (do_appwindow): Set the window
+       icon by name.
+
+       * gtk/gtkfilesystem.c (gtk_file_folder_is_finished_loading): 
+       Remove another C99ism.
+
+       * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the 
+       background of rows insensitive when the treeview is insensitive.
+       (pointed out by Billy Biggs)
+
+       * demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
+       and DND, and clipboard persistency.
+
+       * gtk/gtkselection.c (gtk_target_list_add_image_targets): 
+       Make sure png comes first, otherwise dnd may use bmp by
+       default, loosing transparency.
+
+2005-05-25  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
+       handler when changing cursor visibility because it would expose
+       the whole paragraph where the cursor is. Instead, expose the
+       cursors' areas manually. (#173047).
+
+       (text_window_invalidate_cursors): new function which exposes the
+       cursors.
+
+       * gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
+       same cursor size calculation is in text_window_invalidate_cursors().
+
+2005-05-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/editable_cells.c (create_items_model): Also
+       demonstrate GtkCellRendererProgress.
+
+       * demos/gtk-demo/Makefile.am (demos): 
+       * demos/gtk-demo/combobox.c: Add a demo showing combo box 
+       variations.
+
+       * demos/gtk-demo/Makefile.am (demos): 
+       * demos/gtk-demo/pickers.c: Add a demo showing all picker widgets.
+
+2005-05-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * demos/gtk-demo/iconview.c (do_iconview): Fix a typo.
+
+2005-05-24  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Handle
+       gtk-alternative-button-order (setting it to TRUE).
+
+2005-05-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_search_init): Remove
+       an unused variable.  (#305130, Jaap A. Haitsma)
+
+       * gtk/gtkfilechooserdefault.c (filter_create): Don't grab
+       the focus away from the file list when operating the filter
+       combo with the pointer.  (#304844, Sven Neumann)
+
+2005-05-23  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to
+       GDK_Menu. (#172383, Ivan Wong)
+
+       * gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one
+       of the special cases this function takes care of, use it as
+       such. This takes care of for instance the Bengali Virama, see bug
+       #165723.
+
+2005-05-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkimcontextsimple.c (check_table): Avoid a possible
+       buffer overrun.  (#142444, Leonard Michlmayr)
+
+       * gtk/gtkfilesystem.c: Remove C99-isms (#304879, 
+       Kazuki IWAMOTO)
+
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri): 
+       Use the correct function to conver the uri to a path.  (#304565,
+       Ismael Juma)
+
+       * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
+       Cancel button properly.  (#304234, Sven Neumann)
+
+2005-05-18  Anders Carlsson  <andersca@imendio.com>
+
+       * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
+       (gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
+       * gtk/gtktextview.h:
+       If the horizontal adjustment changes because of a change in the
+       layout width, then do a complete redraw. This is because there
+       might be right-aligned or centered text that needs to be redrawn.
+
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+       
+       * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
+       the event masks of descendent windows.  (#169821, Tommi Komulainen)
+
+       * gtk/gtktreeview.c (gtk_tree_view_get_drop_column) 
+       (gtk_tree_view_set_column_drag_info): Fix some errors in the
+       handling of drop columns.  (#143355, John Finlay)
+
+       * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): 
+       Remove the no longer needed workaround.
+
+       * gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
+       allocations of mapped children.
+
+       * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): 
+       Add a bug reference.
+
+2005-05-18  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkevents-win32.c
+       * gdk/win32/gdkkeys-win32.c
+       * gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
+       lParam of WM_KEY* messages to distinguish between left and right
+       Control and Alt keys. Unfortunately, the right Shift key doesnt
+       set KF_EXTENDED, so to distinguish between left and right Shift
+       keys, check the scan code. (#304584)
+
+2005-05-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if
+       length overflows.  (#161520, Ian Wienand)
+
+       * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix
+       parameter names to make gtk-doc happy.
+
+       * gtk/gtkscale.c (gtk_scale_class_init): Fix the default
+       values of draw-value and value-pos to be the values we
+       actually use in _init. (#304547, Mikael Hallendal)
+
+       * gtk/gtkcellrendererpixbuf.c: Support named icons in
+       cells by adding a icon-name property. (#165777, Anders
+       Carlsson)
+
+       * gtk/gtk.symbols:
+       * gtk/gtktoolbutton.h: 
+       * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name) 
+       (gtk_tool_button_get_icon_name): Support named icons in 
+       tool buttons by adding a icon-name property. (#116577, 
+       Christian Neumair)
+
+       * gtk/gtk.symbols: 
+       * gtk/gtkdnd.h: 
+       * gtk/gtkdnd.c (gtk_drag_source_set_icon_name) 
+       (gtk_drag_set_icon_name): New functions to support themed 
+       drag icons.  (#116577, Christian Neumair)
+
+2005-05-17  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface): 
+       Update to changed cairo interface.
+
+       * gdk/x11/gdkdrawable-x11.[ch]:
+       Add _gdk_x11_drawable_update_size()
+       
+       * gdk/x11/gdkwindow-x11.c (gdk_window_resize) 
+       (gdk_window_move_resize)
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): 
+       Call _gdk_x11_drawable_update_size().
+
+2005-05-17  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextview.c (cursor_blinks): Don't blink the cursor
+       if the text view is not editable.  
+
+       * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep
+       the popup posted if the button is released over the cellview.
+       This matches the behaviour of other combo box implementations.  
+       (#171378)
+       
+       * gdk/gdkwindow.c (gdk_window_set_bg_pattern): Adjust offsets
+       when recursing.  (#153682, Felipe Heidrich)
+
+2005-05-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up 
+       and GDK_Page_Down twice.  (#168333, Hazael Maldonado Torres)
+
+       * gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if 
+       the entry is not editable.  (#304171, Nikos Kouremenos)
+       
+       * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor): 
+       Make sure the action of the button and the dialog are in sync,
+       when the dialog is provided by the app.  (#303987, David A Knight)
+
+       * gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo
+       in the docs.  (#303940, Masao Mutoh)
+
+       * configure.in (GTK_DOC_CHECK): Check for gtk-doc 1.4.
+
+       * gtk/gtktoggleaction.c (connect_proxy): Be more careful when
+       casting.  (#304089, Philip Langdale)
+
+       * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
+       the label if we need to.  (#169390, Felix Riemann)
+
+Sat May 14 00:07:46 2005  Manish Singh  <yosh@gimp.org>
+
+       * gdk/gdkdraw.c
+       * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
+       declaration.
+
+       * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
+       call gdk_cairo_set_source_color() with a color.
+
+       * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
+
+       * tests/testiconview.c (main): cast args of drag functions to the
+       appropriate type.
+
+2005-05-13  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdrawable-x11.c: Update for cairo-xlib API change.
+
+       * gdk/x11/gdkpixmap-x11.[ch] gdk/gdk.symbols: Export 
+       gdk_pixmap_impl_x11_get_type(), needed in gdkdrawable-x11.c.
+       
+2005-05-11  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testgtk.c (on_alpha_window_expose): Fix to use
+       gdk_cairo_create(). (create_alpha_window): Hook up "response"
+       to close the window.
+
+2005-05-11  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
+       to draw the swatch in to avoid having an extraneous window.
+       
+       * gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
+       color when !has_opacity.
+
+2005-05-10  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
+       files for Cairo convenience functionality.
+
+       * gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
+       convenience functions to add GdkRectangle, GdkRegion to a cairo path.
+
+       * gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c 
+       gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
+
+       * gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
+       gdk_drawable_create_cairo_context() to gdk_cairo_create().
+
+       * gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
+       Rename gdk_pixbuf_set_as_cairo_source() to 
+       gdk_cairo_set_source_pixbuf().
+
+       * gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
+       gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
+       Adjust for renames.
+
+       * gdk/gdk.symbols: Update.
+
+       * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix 
+       coordinate system problem that was causing the wrong portions
+       to be invalidated.
+
+       * gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
+       gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
+       gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
+       gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
+       gtk/gtkcellview.c (gtk_cell_view_expose)
+       gtk/gtkdnd.c (gtk_drag_highlight_expose)
+       gtk/gtkentry.c (gtk_entry_draw_text) 
+       gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
+
+       * gtk/gtkcalendar.[ch]: Beat into something roughly resembling
+       GTK+ style ... use instance-private data and standard names for
+       private structure, etc. Move function docs inline.
+
+       * gtk/gtkcalendar.[ch]: Switch to drawing everything in
+       expose. Switch drawing to Cairo.
+
+       * gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
+       gtk_calendar_freeze/thaw
+
+2005-05-10  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
+       that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
+       == gdk_screen_get_default(), as that might return NULL when this
+       function is called.
+
+2005-05-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
+       padding in RTL mode.  (#303572, Maciej Katafiasz)
+
+2005-05-09  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br): 
+       Fill in unused bits so they can be used for the depth-32 target case.
+       Rewrite so that that gives a marginal speedup rather than a
+       marginal slowdown. (on x86)
+
+       * gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c:
+       Add gdk_screen_get_rgba_colormap/visual to get a visual for
+       windows with an alpha channel, if one exists.
+
+       * gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c:
+       Stub out gdk_screen_get_rgba_colormap/visual.
+
+       * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of
+       "unused" wasn't right for depth == 32, since it depended on
+       shifting by 32.
+
+       * gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from
+       Keith Packard,
+       http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html)
+
+       * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
+       Implement again, without using Xft.
+
+       * tests/testgtk.c: Add a test for windows with an alpha channel.
+
+2005-05-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * autogen.sh: Revert accidental commit.
+
+2005-05-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkcolor.c (gdk_cairo_set_source_color): 
+       * gdk/gdkimage.h: 
+       * gdk/gdkdraw.c: 
+       * gdk/gdkcolor.h: 
+       * gdk/gdkcursor.h: 
+       * gdk/x11/gdkcolor-x11.c: Small documentation additions.
+
+2005-05-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkscrolledwindow.h: 
+       * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_hscrollbar): 
+       (gtk_scrolled_window_get_cscrollbar): Change the return 
+       type to GtkWidget*, proposed by Owen Taylor. 
+
+       * gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm) 
+       (gdk_screen_get_height_mm): Fix typos in the docs.  (#303389,
+       Masao Mutoh)
+
+2005-05-07  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkiconview.c: Fix a copy-and-paste accident, spotted
+       by Owen Taylor.
+
+2005-05-07  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
+       the background color.
+
+2005-05-07  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source): 
+       Change prototype to match cairo_set_source_surface().
+
+       * gdk/gdkdraw.c gdk/gdkgc.c gdk/gdkpixbuf-render.c gdk/gdkwindow.c
+       gtk/gtkhsv.c tests/testcairo.c.
+
+2005-05-06  Federico Mena Quintero  <federico@ximian.com>
+
+       Merged from gtk-2-6:
+
+       * gtk/gtkfilesystemunix.c (fill_in_mime_type): Don't fill the mime
+       types if this is an AFS directory.
+       (fill_in_names): If we are in an AFS directory, set the MIME type
+       blindly to "x-directory/normal".
+
+2005-05-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always
+       initialize child-visible to FALSE, otherwise we may end up
+       with the wrong page visible initially.  (#302283, Patrik Fimml)
+
+       * gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders
+       appear insensitive in insensitive treeviews. 
+
+2005-05-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktoolbar.c: Fix a typo in the docs.  (#303024, 
+       Morten Welinder)
+
+2005-05-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtk.symbols:
+       * gtk/gtkiconview.[hc]: Add DND support similar to the DND
+       support in the tree view.  (#150270)
+
+2005-05-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreednd.h: 
+       * gtk/gtkwidget.h: Small cleanups.
+
+       * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix
+       a typo.
+
+2005-05-04  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.h: Fix a bug
+       in focus tracking when we move between has_pointer_focus and 
+       has_focus_window directly. (#109246, Billy Biggs, Niko Tyni 
+       and others)
+
+       * gdk/x11/gdkevents-x11.c: Also fix some confusion that could
+       happen in the case of no window manager + keyboard grabs, by
+       moving to a more consistent model of when we pay attention to
+       mode=NotifyGrab/NotifyUngrab events.
+       
+       * docs/focus_tracking.txt: Extensive writeup about how to track
+       focus under X11.
+
 Wed May  4 13:21:41 2005  Søren Sandmann  <sandmann@redhat.com>
 
        * tests/testcairo.c (draw): Replace cairo_show_surface() uses with