summaryrefslogtreecommitdiff
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* add declaration for _gtk_icon_theme_check_reload.Manish Singh2005-08-221-0/+6
| | | | | | | | 2005-08-22 Manish Singh <yosh@gimp.org> * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload. * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
* Implement a clientmessage based scheme for makeing sure that all GTK+Matthias Clasen2005-08-221-0/+11
| | | | | | | | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwindow.c (gtk_window_client_event): * gtk/gtkicontheme.c (ensure_valid_themes) (_gtk_icon_theme_check_reload): Implement a clientmessage based scheme for makeing sure that all GTK+ applications notice if an icon theme has been updated. This should prevent multiple versions of an icon theme cache to be mapped in memory at the same time, which can cause excessive memory consumption. (#313156, Chris Lahey)
* Add a note regarding icon theme changes.Matthias Clasen2005-08-221-0/+9
| | | | | | | | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note regarding icon theme changes. * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning pixbufs which are backed by the mmapped memory of an icon cache, increase the refcount of the icon cache, so that the memory is not munmapped away underneath the pixbuf upon icon theme changes. (#314170, Kjartan Maraas)
* Add GTK_DEP_LIBS, in order to link against Xext. (#314062)Matthias Clasen2005-08-221-0/+3
| | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order to link against Xext. (#314062)
* One more fix to prevent buffer overruns. (#314081, Hans Breuer)Matthias Clasen2005-08-221-0/+5
| | | | | | | 2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer overruns. (#314081, Hans Breuer)
* Clarify that the returned layout must not be modified.Matthias Clasen2005-08-211-0/+5
| | | | | | | 2005-08-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the returned layout must not be modified.
* clear scroll_to_path if the model changes.Jonathan Blandford2005-08-201-0/+12
| | | | | | | | | | | | | | Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_set_model): clear scroll_to_path if the model changes. * gtk/gtkiconview.c: (gtk_icon_view_destroy), (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor), (gtk_icon_view_scroll_to_path): Handle scrolling to a path before we're realized, #312798 (gtk_icon_view_set_model): clear scroll_to_path if the model changes.
* Don't queue a draw if the layout has not changed. (#313991, Benjamin Berg)Matthias Clasen2005-08-201-0/+6
| | | | | | | | 2005-08-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkrange.c (gtk_range_adjustment_changed) (gtk_range_adjustment_value_changed): Don't queue a draw if the layout has not changed. (#313991, Benjamin Berg)
* Remove duplicate lines. (#313344, Benoit Carpentier)Matthias Clasen2005-08-191-0/+3
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeitem.c: Remove duplicate lines. (#313344, Benoit Carpentier)
* Fix a typo.Matthias Clasen2005-08-191-0/+3
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * modules/engines/ms-windows/msw_style.c (setup_system_styles): Fix a typo.
* Handle pixbuf being NULL without warnings. Also, don't leak pixbufMatthias Clasen2005-08-191-0/+5
| | | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserbutton.c (change_icon_theme) (model_add_special, model_add_special, model_add_volumes): Handle pixbuf being NULL without warnings. Also, don't leak pixbuf references when the icon theme is changed.
* Don't access the user data on destroyed windows, since at best it can be aMatthias Clasen2005-08-191-0/+6
| | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmain.c (gtk_get_event_widget): Don't access the user data on destroyed windows, since at best it can be a stale pointer. (#313953, Robin Green)
* Avoid a buffer overrun. (#313900, Sebastien Bacher)Matthias Clasen2005-08-191-0/+3
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun. (#313900, Sebastien Bacher)
* Return FALSE if the tree is empty. (#313891, Guillaume Cottenceau)Matthias Clasen2005-08-191-0/+3
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
* Free data returned from XGetWindowProperty.Matthias Clasen2005-08-191-0/+8
| | | | | | | | | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) (xdnd_read_actions, get_client_window_at_coords_recurse): Free data returned from XGetWindowProperty. * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) Free data returned from XGetWindowProperty. (313867, Kjartan Maraas) * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free children in all cases. (#313862, Kjartan Maraas)
* Free children in all cases. (#313862, Kjartan Maraas)Matthias Clasen2005-08-191-0/+3
| | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free children in all cases. (#313862, Kjartan Maraas)
* Store GtkIconData structs in the per-directory hash, even if they comeMatthias Clasen2005-08-191-0/+7
| | | | | | | | | 2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs in the per-directory hash, even if they come from the icon cache. We tried to avoid that before, but as a result leaked icon data structs. (#313852, Kjartan Maraas)
* Disconnect signal handlers on destroy, not on finalize. (#313759, BrettMatthias Clasen2005-08-181-0/+5
| | | | | | | 2005-08-18 Matthias Clasen <mclasen@redhat.com> * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect signal handlers on destroy, not on finalize. (#313759, Brett Atoms)
* Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config files for x11/xext.Owen Taylor2005-08-151-0/+5
| | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config files for x11/xext. (Jonas Bonn)
* Put debugging printout inside GTK_NOTE.Tor Lillqvist2005-08-151-0/+5
| | | | | | | 2005-08-15 Tor Lillqvist <tml@novell.com> * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout inside GTK_NOTE.
* Fix have_base_pc / have_base_x_pc typo.Owen Taylor2005-08-151-0/+10
| | | | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * configure.in: Fix have_base_pc / have_base_x_pc typo. * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes. (#313417, James Andrewartha) * configure.in: Add fontconfig to X_PACKAGES, since we use it for FcNameConstant(). (More of #313417)
* When using gtk_dialog_run() for modal dialogs, make sure to inherit theMatthias Clasen2005-08-151-0/+8
| | | | | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for modal dialogs, make sure to inherit the window group from the parent, since we don't inherit window groups across transient parents currently. (#312918, Christian Persch) * gtk/gtkmessagedialog.c (gtk_message_dialog_new): * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs.
* Handle paths of depth 0 gracefully. (#312796, Jonathan Blandford)Matthias Clasen2005-08-151-0/+4
| | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_select_path) (gtk_icon_view_scroll_to_path): Handle paths of depth 0 gracefully. (#312796, Jonathan Blandford)
* Add some more tests for menu placement.Matthias Clasen2005-08-151-0/+9
| | | | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * tests/testtoolbar.c: Add some more tests for menu placement. * gtk/gtkmenutoolbutton.c (menu_position_func): * gtk/gtktoolbar.c (menu_position_func): Improve positioning of toolbutton menus and of the overflow menu. (#312937, #153870, Christian Persch, Paolo Borelli)
* Use g_path_get_dirname() instead of the nonportable <libgen.h> andTor Lillqvist2005-08-151-0/+5
| | | | | | | 2005-08-15 Tor Lillqvist <tml@novell.com> * gtk/updateiconcache.c: Use g_path_get_dirname() instead of the nonportable <libgen.h> and dirname().
* Use object data to mark widgets and groups as visited, so that we avoidMatthias Clasen2005-08-151-0/+7
| | | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtksizegroup.c: Use object data to mark widgets and groups as visited, so that we avoid constant extra list traversals. Also allocate quarks in class_init. (#311618, Michael Natterer)
* Correct the download location for the hicolor icon theme. (#313475, OlexiyMatthias Clasen2005-08-151-0/+6
| | | | | | | | 2005-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the download location for the hicolor icon theme. (#313475, Olexiy Avramchenko)
* Handle pixmap == NULL when checking for a colormap. (Allin Cottrell).Owen Taylor2005-08-151-0/+8
| | | | | | | | | | 2005-08-15 Owen Taylor <otaylor@redhat.com> * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Handle pixmap == NULL when checking for a colormap. (Allin Cottrell).
* Store only one copy of the pixel data for symlinked icons. To achieveMatthias Clasen2005-08-151-0/+12
| | | | | | | | | | | | | | 2005-08-14 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c: Store only one copy of the pixel data for symlinked icons. To achieve this, maintain a hashtable mapping pathnames to pixel data, and share the pixel data for all symlinks resolving to the same pathname. When writing out the image data, write out the pixel data only the first time it is met, and store the offset pointing to the first copy for use in all later cases. This reduces the size of the Bluecurve icon cache from 40 to 13MB. (#312972)
* Bump versionMatthias Clasen2005-08-131-0/+2
|
* 2.8.0GTK_2_8_0Matthias Clasen2005-08-131-0/+4
|
* Require cairo 0.9.2Matthias Clasen2005-08-131-0/+4
|
* Remove a line without effect.Matthias Clasen2005-08-121-0/+3
| | | | | | | 2005-08-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator): Remove a line without effect.
* When changing the icon theme, defer the resetting of rc styles to an idle,Matthias Clasen2005-08-121-0/+9
| | | | | | | | | | | 2005-08-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c: When changing the icon theme, defer the resetting of rc styles to an idle, so that it does not happen e.g during expose handling (which is problematic, since some widgets, like the toolbar, are changing the hierarchy in response to style changes). (#300539, reported by many people, analyzed by Owen Taylor)
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap)Owen Taylor2005-08-121-0/+7
| | | | | | | | | 2005-08-12 Owen Taylor <otaylor@redhat.com> * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap) * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap) * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Warn if gdk_drawable_get_colormap (pixmap) is NULL and return.
* Bump version 2.8.0Matthias Clasen2005-08-121-0/+4
|
* Work around some problems with the gnome-vfs backends which could lead toMatthias Clasen2005-08-121-0/+7
| | | | | | | | | 2005-08-11 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilechooserdefault.c: Work around some problems with the gnome-vfs backends which could lead to crashes in the bookmark handling. (#310270, Diego Gonzalez, patch by Michael Meeks)
* Fix for #312924, by John Finlay.Kristian Rietveld2005-08-111-0/+10
| | | | | | | | | | | | 2005-08-11 Kristian Rietveld <kris@gtk.org> Fix for #312924, by John Finlay. * gtk/gtkliststore.c (gtk_list_store_increment_stamp), (gtk_list_store_clear): increment stamp on store clearance. * gtk/gtktreestore.c (gtk_tree_store_increment_stamp), (gtk_tree_store_clear): ditto.
* queue a draw for the entire widget if any column changes width. (FixesKristian Rietveld2005-08-111-0/+6
| | | | | | | | 2005-08-11 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): queue a draw for the entire widget if any column changes width. (Fixes #311026, reported by Frederic Crozat).
* Revert to linking against pangowin32 under win32 platform (Owen Taylor).J. Ali Harlow2005-08-101-0/+5
| | | | | | | 2005-08-10 J. Ali Harlow <ali@juiblex.co.uk> * configure.in: Revert to linking against pangowin32 under win32 platform (Owen Taylor).
* Make the last change compile.J. Ali Harlow2005-08-101-0/+5
| | | | | | | 2005-08-10 J. Ali Harlow <ali@juiblex.co.uk> * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make the last change compile.
* Remove ambiguities pointed out by gcc.Matthias Clasen2005-08-101-0/+6
| | | | | | | | 2005-08-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted) (gtk_tree_model_filter_remove_node): Remove ambiguities pointed out by gcc.
* fix definition of GDK_DEP_CFLAGS so that it doesn't cause build failuresJames Henstridge2005-08-101-0/+5
| | | | | | | 2005-08-10 James Henstridge <james@jamesh.id.au> * configure.in: fix definition of GDK_DEP_CFLAGS so that it doesn't cause build failures if $X_PACKAGES is not empty.
* Remove superfluous call to gdk_window_get_offsets (). (#313051, BertramOwen Taylor2005-08-101-0/+5
| | | | | | | 2005-08-09 Owen Taylor <otaylor@redhat.com> * gdk/gdkwindow.c (gdk_window_ref_cairo_surface): Remove superfluous call to gdk_window_get_offsets (). (#313051, Bertram Felgenhauer)
* Strip out all Xft, FreeType, and pangoxft checking. Rewrite X checks toOwen Taylor2005-08-101-0/+15
| | | | | | | | | | | | | | | | | 2005-08-09 Owen Taylor <otaylor@redhat.com> * configure.in: Strip out all Xft, FreeType, and pangoxft checking. Rewrite X checks to use pkg-config as much as possible. * gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make this return Arial always to avoid using PangoWin32FontMap. (X11 backend has always been returned "fixed" for a long time) * gdk/linux-fb/gdkdrawable-fb2.c: Remove draw_glyphs() implementations, fall through to the default implementation in terms of Cairo. * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_text): Use gdk_draw_glyphs() on the wrapper rather than gdk_fb_draw_glyphs()
* Fixes "notification area leaks space" (bug #312687)Mark McLoughlin2005-08-091-0/+8
| | | | | | | | | | 2005-08-09 Mark McLoughlin <mark@skynet.ie> Fixes "notification area leaks space" (bug #312687) * gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func): gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a detail to g_signal_emit_by_name()
* UpdatesMatthias Clasen2005-08-091-0/+4
| | | | | | 2005-08-09 Matthias Clasen <mclasen@redhat.com> * NEWS: Updates
* Use g_quark_from_static_string here.Matthias Clasen2005-08-091-0/+5
| | | | | | | 2005-08-09 Matthias Clasen <mclasen@redhat.com> * gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use g_quark_from_static_string here.
* Deactivate the menu when the button becomes insensitive, and remove deadChristian Persch2005-08-081-0/+9
| | | | | | | | | | | | | 2005-08-08 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed), (gtk_menu_tool_button_class_init), (popup_menu_under_arrow), (gtk_menu_tool_button_init): Deactivate the menu when the button becomes insensitive, and remove dead code. Fixes bug #312920. 2005-08-08 Matthias Clasen <mclasen@redhat.com>
* Fix the buildMatthias Clasen2005-08-081-0/+4
|