1. 24 Aug, 2005 1 commit
  2. 22 Aug, 2005 2 commits
    • Matthias Clasen's avatar
      Implement a clientmessage based scheme for makeing sure that all GTK+ · f2cb87d3
      Matthias Clasen authored
      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)
      f2cb87d3
    • Matthias Clasen's avatar
      Add a note regarding icon theme changes. · 97ec1cdf
      Matthias Clasen authored
      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)
      97ec1cdf
  3. 19 Aug, 2005 1 commit
  4. 15 Aug, 2005 2 commits
  5. 12 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      When changing the icon theme, defer the resetting of rc styles to an idle, · 1f61c614
      Matthias Clasen authored
      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)
      1f61c614
  6. 20 Jul, 2005 1 commit
  7. 13 Jul, 2005 2 commits
  8. 10 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Doc fixes. · 1a15d98c
      Matthias Clasen authored
      2005-06-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkiconview.c (gtk_icon_view_set_margin):
      	* gtk/gtkicontheme.c (gtk_icon_info_load_icon):
      	* gtk/gtkcalendar.c (gtk_calendar_thaw): Doc fixes.
      1a15d98c
  9. 06 Apr, 2005 1 commit
  10. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  11. 17 Mar, 2005 1 commit
  12. 15 Mar, 2005 1 commit
    • Anders Carlsson's avatar
      Update spec. · 3fc42d7a
      Anders Carlsson authored
      2005-03-15  Anders Carlsson  <andersca@imendio.com>
      
      	* docs/iconcache.txt:
      	Update spec.
      
      	* gtk/gtkiconcache.c: (find_image_offset),
      	(_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
      	(_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
      	* gtk/gtkiconcache.h:
      	Update to be able to fetch pixbuf data and icon metadata.
      
      	* gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
      	(icon_info_ensure_scale_and_pixbuf):
      	Use new cache functions.
      
      	* gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
      	(maybe_cache_image_data), (scan_directory), (write_pixdata),
      	(get_image_meta_data_size), (get_image_pixel_data_size),
      	(get_image_data_size), (get_single_node_size), (get_bucket_size),
      	(write_bucket), (main):
      	Update to write pixbuf data as well as information from .icon
      	files.
      3fc42d7a
  13. 12 Mar, 2005 1 commit
  14. 01 Mar, 2005 1 commit
  15. 02 Feb, 2005 1 commit
  16. 03 Jan, 2005 1 commit
    • Matthias Clasen's avatar
      Make gtk_icon_theme_load_icon() work independent of icon factory · 35dfce0f
      Matthias Clasen authored
      2005-01-03  Matthias Clasen  <mclasen@redhat.com>
      
      	Make gtk_icon_theme_load_icon() work independent of
      	icon factory initialization.  (#162791, Tristan Van Berkom)
      
      	* gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
      	_gtk_icon_factory_ensure_default_icons, and make it non-static.
      
      	* gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
      35dfce0f
  17. 30 Dec, 2004 1 commit
  18. 12 Dec, 2004 1 commit
    • Tor Lillqvist's avatar
      gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c · f3da1705
      Tor Lillqvist authored
      2004-12-12  Tor Lillqvist  <tml@iki.fi>
      
      	* gtk/gtkaccelmap.[ch]
      	* gtk/gtkfilechooser.[ch]
      	* gtk/gtkfilesel.c
      	* gtk/gtkfilesystemwin32.c
      	* gtk/gtkiconfactory.[ch]
      	* gtk/gtkicontheme.[ch]
      	* gtk/gtkimage.[ch]
      	* gtk/gtkimmodule.c
      	* gtk/gtkmodules.c
      	* gtk/gtkrc.[ch]
      	* gtk/gtkuimanager.[ch]
      	* gtk/gtkwindow.[ch]
      	* gtk/updateiconcache.c
      	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
      	environment variables referring to pathnames from locale encoding
      	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
      	stability, add binary compatibility versions of functions that
      	take file names as arguments, or return file names. Add a _utf8
      	suffix to the "real" such functions on Windows. The ABI
      	compatibility versions keep the old name.
      
      	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
      	library.
      
      	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
      	file mapping on Win32.
      
      	* gtk/updateiconcache.c: Don't crash if invoked without
      	argument. Use binary mode when opening file.
      
      	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
      	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
      f3da1705
  19. 10 Nov, 2004 1 commit
  20. 02 Nov, 2004 1 commit
  21. 28 Oct, 2004 1 commit
  22. 24 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Use the new g_key_file api in GLib. · ed19394c
      Matthias Clasen authored
      2004-10-24  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c: Use the new g_key_file api in GLib.
      
      	* gtk/Makefile.am (gtk_c_sources): Remove gtkiconthemeparser.[hc]
      
      	* gtk/gtkiconthemeparser.[hc]: Removed.
      ed19394c
  23. 21 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Implement for cached themes. · a34d841d
      Matthias Clasen authored
      2004-10-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Implement for
      	cached themes.
      
      	* gtk/gtkiconcache.h:
      	* gtk/gtkiconcache.c (_gtk_icon_cache_has_icon): New function.
      
      	* gtk/updateiconcache.c (scan_directory): Don't skip .icon
      	files which are listed before their images.
      	(foreach_remove_func): Instead filter lonely .icon files out
      	here.
      
      	* gtk/gtkicontheme.c (theme_dir_get_icon_suffix): Filter out
      	the HAS_ICON_FILE flag.
      a34d841d
  24. 20 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Small fixes. · 73fd5538
      Matthias Clasen authored
      2004-10-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c: Small fixes.
      73fd5538
  25. 19 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Implement icon theme caching. (#154034, Martijn Vernooij, caching schema · 6fc2b811
      Matthias Clasen authored
      2004-10-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Implement icon theme caching.  (#154034, Martijn Vernooij,
      	caching schema proposed by Owen Taylor, initial implementation
      	by Anders Carlsson)
      
      	* gtk/gtkdebug.h:
      	* gtk/gtkmain.c: Add a "icontheme" debug flag.
      
      	* gtk/Makefile.am (gtk_c_sources): Add gtkiconcache.c
      	(gtk_private_h_sources): Add gtkiconcache.h
      	(bin_PROGRAMS): Add gtk-update-icon-cache
      
      	* gtk/gtkicontheme.c: Use icon caches if they are available.
      	Currently, GTK+ uses the cache to get information about the
      	available sizes, image file formats and .icon files. The
      	actual image data, and the .icon file contents are not
      	cached yet.
      
      	* gtk/updateiconcache.c: A cmdline utility for generating
      	icon cache files.
      
      	* gtk/gtkiconcache.h:
      	* gtk/gtkiconcache.c: The glue code to mmap an icon cache
      	file and manage the information it contains.
      6fc2b811
  26. 05 Oct, 2004 2 commits
  27. 18 Aug, 2004 1 commit
    • Manish Singh's avatar
      Applied patch from Olivier Andrieu to fix bug #150440. · 9f326d61
      Manish Singh authored
      Wed Aug 18 08:31:17 2004  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkiconview.c: Applied patch from Olivier Andrieu to fix
              bug #150440.
      
              * gtk/gtkicontheme.c (gtk_icon_theme_init): xdg_data_dirs should
              match constness attributes of g_get_system_data_dirs ().
      9f326d61
  28. 17 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Look up icon themes in the directories specified in the icon theme spec: · 11396cb7
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_init): Look up icon themes in the
      	directories specified in the icon theme spec: $HOME/.icons,
      	$XDG_DATA_DIRS/icons, /usr/share/pixmaps. Note that GTK+ used to also look
      	in $GTK_DATA_DIR/icons, $GTK_DATA_DIR/pixmaps and /usr/share/icons.  (#148694)
      11396cb7
  29. 16 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Doc update. · 517c3c9d
      Matthias Clasen authored
      2004-08-16  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_render_icon): Doc update.
      
      	* gtk/gtkiconfactory.c (render_icon_name_pixbuf): When the size is -1,
      	use the available size closest to 48.  (#150147)
      
      	* gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes): Actually return
      	a pointer to the beginning of the sizes array, not the end.
      517c3c9d
  30. 09 Aug, 2004 2 commits
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
    • Matthias Clasen's avatar
      Don't leak the file contents. · ad534c2b
      Matthias Clasen authored
      Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (load_svg_at_size): Don't leak the
      	file contents.
      ad534c2b
  31. 03 Aug, 2004 1 commit
  32. 21 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Remove trailing commas from enumerations. (#148035) · 44663458
      Matthias Clasen authored
      Tue Jul 20 22:26:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkfilechooserutils.h:
      	* gtk/gtktoolbutton.c:
      	* gtk/gtktoolbar.c:
      	* gtk/gtkicontheme.c:
      	* gtk/gtkcalendar.c:
      	* demos/gtk-demo/ui_manager.c:
      	* demos/gtk-demo/appwindow.c: Remove trailing commas
      	from enumerations.  (#148035)
      44663458
  33. 17 Jul, 2004 1 commit
  34. 14 Jul, 2004 1 commit
  35. 02 Jun, 2004 1 commit
    • Matthias Clasen's avatar
      Handle accel_closure being NULL on an accel label. (#139641, Sam · 018511c3
      Matthias Clasen authored
      Tue Jun  1 22:45:42 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenu.c (get_accel_path): Handle accel_closure being
      	NULL on an accel label. (#139641, Sam Stephenson, patch by
      	Michael Natterer)
      
      Tue Jun  1 22:19:55 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkicontheme.c (theme_subdir_load):  Prevent icon
      	lookup finding icons in the wrong prefix.  (#143328,
      	Mark McLoughlin)
      018511c3