2007-09-25  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 3.0.0 ===

2007-09-21  Michael Natterer  <mitch@imendio.com>

	* src/sapwood-rc-style.c (sapwood_rc_style_parse): Speed up parsing a
	little by replacing g_list_append with prepend
	(sapwood_rc_style_merge): avoid a memset done by g_list_alloc() by
	using g_list_append() instead (NB#69921)

2007-09-17  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.91.11 ===

2007-09-17  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): Ensure there's a mask
	available also when centering pixmaps with masks. Otherwise we'll
	render uninitialized data.

2007-09-14  Tommi Komulainen  <tommi.komulainen@nokia.com>

        * src/sapwood-render.c (theme_pixbuf_check_borders,
        theme_pixbuf_set_filename, theme_pixbuf_set_border): Add debugging
        helper to check image borders validity while parsing rather than
        postponing it to loading. Due to performance hit of loading every
	image one needs to build with -DENABLE_DEBUG

2007-09-11  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.91.10 ===

2007-09-11  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_equal, theme_pixbuf_canonicalize):
	Move options checking to canonicalization which can be reported to the
	user more conveniently.
	* src/theme-pixbuf.h (theme_pixbuf_canonicalize): Add return value to
	indicate mismatch in options.
	* src/sapwood-rc-style.c (validate_pixbuf, CHECK_IMAGE,
	theme_parse_image): Turn the old macro to a function and add warning
	about options mismatch. 

2007-09-11  Tommi Komulainen  <tommi.komulainen@nokia.com>

	Replace GCache of pixmaps with hash of refcounted ThemePixbufs.

	Since we already have 1:1 mapping between ThemePixbuf and
	SapwoodPixmap caching the higher level object is more efficient.
	This also enables checking earlier whether two files are referenced
	with different border values (which is not supported by the server.)

	* src/theme-pixbuf.h (ThemePixbuf, theme_pixbuf_canonicalize): Updated
	bitfield and added the function.
	* src/sapwood-render.c (pixmap_cache, theme_pixbuf_copy,
	pixmap_cache_value_new): Removed
	(pixbuf_hash, theme_pixbuf_canonicalize, theme_pixbuf_ref): Added
	(theme_pixbuf_destroy, theme_pixbuf_set_filename,
	theme_pixbuf_get_pixmap): Adapted
	* src/sapwood-rc-style.c (theme_parse_image): Canonicalize

2007-09-11  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-server.c (process_buffer, cleanup_sock_removed): Add
	reference counting to pixmaps. It is already possible for one client
	to request the same pixmap multiple times, but the first release will
	invalidate all instances.

2007-09-11  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (sapwood_pixmap_get_for_file)
	* src/sapwood-render.c (theme_pixbuf_set_filename): Resolve symbolic
	links before using the path as cache key. Otherwise when switching
	themes the client side can consider old and new files different and
	request new pixmap for the new theme. The symlink is resolved before
	making the request to the server, and if it resolves to the same file
	as the old one, we get a shared handle from the server. And since
	there's no server side reference counting, releasing the old pixmap
	will destroy the new one, causing BadPixmap very shortly.
	(NB#64446)

2007-09-05  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.9 ===

2007-09-05  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_layout, sapwood_style_class_init): Override
	draw_layout to draw the layout without any fancy effects for
	insensitive state. (NB#66054)

2007-09-05  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.8 ===

2007-09-05  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): When limiting the mask
	to (smaller) clip rectangle, *really* calculate the mask offset
	correctly. Fixes clipping in menus.

2007-09-05  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (sapwood_pixmap_get_for_file): Trap and
	print X errors individually to help debugging.

2007-08-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (check_child_position): Initialize the position
	variable before bitwise ORing it.

2007-08-23  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): When painting centered
	pixmaps don't expand but draw at most the size of the pixmap. Fixes
	uninitialized garbage appearing on screen when painting an arrow that
	is downscaled only in one direction.

2007-08-23  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (sapwood_pixmap_render_rects_internal): handle
	mask == NULL without generating warnings

2007-08-23  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): When limiting the mask
	to (smaller) clip rectangle, calculate the mask offset correctly.

2007-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.7 ===

2007-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (get_window_for_shape, draw_simple_image,
	draw_expander): Assume 'widget' can be NULL and don't crash. Pointed
	out by Frank Li.

2007-08-22  Lucas Rocha  <lucas.rocha@nokia.com>

	* src/sapwood-draw.c (maybe_check_submenu_state): cover menu items in
	hildon desktop custom menu widget (NB#60575)

2007-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_arrow): Ignore arrows of type none. (Patch
	from Xan, added #ifdef guard) (NB#61844)
	* src/theme-pixbuf.h (ThemeMatchData): Replace GtkArrowType with
	'guint : 2' to silence compiler warnings. (GtkArrowType was extended
	with 'NONE' which doesn't make sense in rc files.)

2007-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* HACKING
	* src/sapwood-proto.h (PixbufOpenRequest)
	* src/theme-pixbuf.h (ThemePixbuf): increase the size of the border
	variables from 8 to 16 bits to allow larger borders. (NB#63819)
	NOTE: this breaks the binary protocol between client and the server

2007-08-22  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (SapwoodPixmap, sapwood_pixmap_get_for_file):
	remove redundant border_left and border_top members.

2007-07-04  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.6 ===

2007-07-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (sapwood_pixmap_render_rects): Rename to
	sapwood_pixmap_render_rects_internal.
	* src/sapwood-pixmap.h (sapwood_pixmap_render_rects): Add width and
	height parameters in order to do downscaling.
	* src/sapwood-pixmap.c (sapwood_pixmap_render_rects): When rendering
	to a target smaller than the pixmap, paint first at least as big as
	the pixmaps and scale down to target size using cairo.
	* configure.in: bump gtk+ dependency to 2.8 due to cairo

2007-07-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): Refactor painting of
	centered pixmaps using sapwood_pixmap_render_rects()
	* src/sapwood-pixmap.h (sapwood_pixmap_render)
	* src/sapwood-pixmap.c (sapwood_pixmap_render, get_scratch_gc): Remove
	as obsolete.

2007-07-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): When clamping the mask
	to clip mask, do not change the area to paint.

2007-06-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): Remove unused variables.

2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.91.5 ===

2007-06-08  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (maybe_check_cursor_position): Remove special
	active focus handling, only update 'shadow' for passive focus. Improves
	handling cursor separately from selection.

	* README
	* demos/treeview.gtkrc
	* demos/images/treeview-*: Updated
	
2007-05-31  Xan Lopez  <xan.lopez@nokia.com>

	* src/sapwood-draw.c (check_child_position, check_buttonbox_child_position):
	use GTK_WIDGET_DRAWABLE instead of GTK_WIDGET_VISIBLE to check if a widget
	is currently visible in the screen.

2007-04-19  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.4 ===

2007-04-19  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-server.c (extract_pixmap_single): Revert the white
	background initialization as it adds unwanted tint to the graphics.
	Reopens MB#1216

2007-04-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* demos/Makefile.am
	* demos/gradient.c
	* demos/gradient.gtkrc
	* demos/images/gradient.png: Add testcase for gradient

	* src/sapwood-server.c (extract_pixmap_single): To avoid uninitialized
	pixels when loading images with alpha channel, paint the pixmap white
	first. MB#1216

2007-04-18  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* demos/Makefile.am
	* demos/images/hbbox.png: remove ugly solid black image
	* demos/images/hbbox-*.png: use proper mask for the corners
	* demos/buttonbox.gtkrc: use the all-round image as fallback

2007-04-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_simple_image): Add missing cast for
	gtk_container_get_children

2007-04-17  Xan Lopez  <xan.lopez@nokia.com>

	* README:
	* demos/buttonbox.gtkrc:

	Update the documentation and the demo to take into account maemo-position-theming.
	
2007-04-17  Xan Lopez  <xan.lopez@nokia.com>

	* src/sapwood-draw.c (draw_simple_image): Check that the maemo-position-theming
	property exists before accessing it.

2007-04-16  Xan Lopez  <xan.lopez@nokia.com>

	* src/sapwood-draw.c (draw_simple_image): Don't take internal children
	into account for the position theming.

2007-04-13  Xan Lopez  <xan.lopez@nokia.com>

	* src/sapwood-draw.c: Add general positioning theming based on GTK+
	"maemo-position-theming" style property.

2007-04-02  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* demos/treeview.c (create_treeview): Enable rubberbanding only with
	gtk >= 2.10.0

2007-04-02  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (maybe_check_button_position): rename to
	check_child_position and generalize to handle a list of widgets.
	(check_buttonbox_child_position): new function to get the list of
	child widgets from buttonbox
	(draw_simple_image): adapt to use the new function 

2007-03-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.91.3 ===

2007-03-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* Makefile.am (EXTRA_DIST): Remove forgotten NEWS.pixbuf
	* src/Makefile.am (EXTRA_DIST): Remove forgotten README.pixbuf and
	README.server

2007-03-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (maybe_check_submenu_state, draw_box):
	Support active/passive focus on GtkMenuItems, use passive focus when
	the focus is in an item in a submenu.
	* README: add GtkMenuItem notes
	
2007-03-09  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* AUTHORS
	* NEWS.pixbuf
	* src/ChangeLog
	* src/README.pixbuf
	* src/README.server: clean up and remove obsolete documentation
	* HACKING: add documentation about the internals

2007-03-08  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* README: replace with more detailed and relevant information

2007-02-20  Xan Lopez  <xan.lopez@nokia.com>

	* sapwood-draw.c (draw_option, draw_check):
	Add special casing for GtkCheckButton and GtkRadioButton to use
	the correct graphics in the theme when the widgets have focus.

2007-02-06  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.91.2 ===

2007-02-06  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_simple_image, get_window_for_shape): Check
	the paintable area size and apply the shape mask only when painting
	the whole window to avoid another case of infinite expose loop.

2007-01-31  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_expander): Added to handle painting
	GtkExpander and treeview row expanders. Reuses arrow theming rules for
	simplicity.

2007-01-29  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.1 ===

2007-01-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* demos/treeview.gtkrc: Simplify treeview theming example using
	wildcards

2007-01-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (match_theme_image): Add simple pattern matching
	for the 'detail' to simplify treeview theming. Only leading wildcard
	is supported. In gtkrc 'detail = "*_start"' will match all details
	ending with "_start" such as "cell_even_start", "cell_odd_start",
	"cell_even_ruled_start", etc.

2007-01-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* demos/Makefile.am
	* demos/treeview.c
	* demos/treeview.gtkrc
	* demos/images/treeview-*.png: Example for treeview active / passive
	focus theming

2007-01-29  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (maybe_check_cursor_position)
	(draw_flat_box): When painting a treeview check if painting the cursor
	row, and adjust matching rules accordingly for active/passive focus

	Focus row background:
	  function = FLAT_BOX
	  state    = ACTIVE
	  shadow   = NONE for active, OUT for passive focus

2007-01-27  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (get_window_for_shape): Consider setting the
	window shape mask only when painting to widget->window, otherwise it
	can cause an infinite expose loop.

2007-01-25  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.91.0 ===

2007-01-25  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* Makefile.am (SUBDIRS)
	* configure.in (AC_OUTPUT): add demos directory

	* demos/run-demo: add wrapper script for running demos without
	installing libsapwood.so
	* demos/buttonbox.c
	* demos/buttonbox.gtkrc
	* demos/images/hbbox*.png: Example for dialog button theming

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	Implement dialog buttons using explicit "position" keyword. The
	position is calculated only for buttons in button boxes for now.
	Specific graphics can be applied with something like:
	  position = LEFT,TOP,RIGHT,BOTTOM	(solitary)
	  position = TOP,LEFT,BOTTOM		(leftmost)
	  position = TOP,BOTTOM			(middle)
	  position = TOP,RIGHT,BOTTOM		(rightmost)

	* src/sapwood-draw.c (match_theme_image): check position flags
	(maybe_set_dialog_button_details, draw_simple_image): rename
	maybe_set_dialog_button_details to maybe_check_button_position
	(maybe_check_button_position): don't check or modify the detail,
	instead use the position match flags
	* src/sapwood-rc-style.c (theme_symbols): add "position"
	(theme_parse_position): parse "position = LEFT,RIGHT,TOP,BOTTOM"
	(theme_parse_image): parse "position"
	* src/theme-pixbuf.h: add TOKEN_POSITION and ThemePositionfFlags
	(ThemeMatchFlags): add THEME_MATCH_POSITION
	(ThemeMatchData): increase the flags size to hold
	'THEME_MATCH_POSITION' and add ThemePositionfFlags

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	Adjust the detail for buttons in button boxes depending on the button
	position inside the button box for enhanced theming (special rounding
	for outmost button edges.) For horizontal button box we use the
	following details to work with existing themes:
	- osso_button_nesw
	- osso_button_nsw
	- osso_button_nes
	- osso_button_ns

	vertical:
	- osso_button_nesw
	- osso_button_new
	- osso_button_esw
	- osso_button_ew

	NOTE: this loses the ability to theme the 'default' response button
	differently from the others. We could use 'osso_buttondefault_nesw' or
	similar but that would then require duplicate theme declarations or
	risk really bad looking theming when the 'default' style is used
	without matching graphics. Some way to handle fallbacks
	(buttondefault-shaped - button-shaped - buttondefault - button) could
	be useful.

	* src/sapwood-draw.c (maybe_set_dialog_button_details,
	draw_simple_image): When painting GtkButtons check if it's contained
	in a button box, and if so figure out the position
	(solitary,left,right,middle - similarly for vertical) and replace the
	detail with specific ones matching the position.

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (sapwood_pixmap_get_pixmap): Switch x/y indices
	the right way around.

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* src/sapwood-rc-style.c (theme_symbols): Remove unused tokens
	TOKEN_D_POLYGON, TOKEN_D_OVAL, TOKEN_D_STRING, TOKEN_D_CROSS,
	TOKEN_D_RAMP, TOKEN_D_ENTRY
	* src/theme-pixbuf.h: rename unused tokens to TOKEN_UNUSED_*

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	Pass pixmaps directly instead of reverse engineering them from
	coordinates

	* src/sapwood-pixmap.h (sapwood_pixmap_get_pixmap)
	* src/sapwood-pixmap.c (get_pixmaps, sapwood_pixmap_get_pixmap):
	Export a function for getting pixmap and mask for each square
	* src/sapwood-pixmap.c (sapwood_pixmap_render_rects)
	* src/sapwood-pixmap.h (SapwoodRect)
	* src/sapwood-render.c (theme_pixbuf_render): replace source rectangle
	with pixmap and mask pointers

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_simple_image,draw_gap_image): remove unused
	allow_setbg parameter
	(draw_shadow,draw_arrow,draw_arrow,draw_arrow,draw_diamond,draw_box,
	draw_flat_box,draw_check,draw_option,draw_tab,draw_extension,draw_focus,
	draw_slider,draw_handle): update callers

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_simple_image, draw_gap_image): replace
	deprecated gdk_window_get_size() call with gdk_drawable_get_size()

2007-01-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	Export only symbols needed for the theme engine ABI

	* src/sapwood-pixmap.h
	* src/sapwood-proto.h
	* src/sapwood-rc-style.h
	* src/sapwood-style.h
	* src/theme-pixbuf.h: Tag internal functions with G_GNUC_INTERNAL to
	avoid symbol leakage.
	* src/Makefile.am: Add check target to verify the ABI.

2007-01-24  Jose Dapena Paz  <jdapena@igalia.com>

	* src/sapwood-server.c (extract_pixmap_single, main,
	get_display_depth): use system default visual depth for all pixmaps.
	This avoids crashing when running maemo desktop in a 24 bits color
	depth X server (bug #856).

2006-10-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.43 ===

2006-10-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): Limit the mask to
	clip_rect size to avoid allocating huge pixmaps.

2006-10-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c (theme_pixbuf_render): Trap X errors to avoid
	BadAlloc when trying to allocate *huge* bitmaps (600x33000 GtkFrame
	in a viewport) NB#35602

2006-10-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/Makefile.am (libsapwood_la_CFLAGS): Added to define G_LOG_DOMAIN

2006-06-13  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.24 ===

	* src/sapwood-server.c (pixbuf_open_response_destroy): Don't crash on
	NULL, it's a valid parameter when image loading fails.
	(process_buffer): Failure to load an image is not a client error, do
	not disconnect the client.
	N#32525

2006-05-12  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.19 ===

2006-05-10  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/theme-pixbuf.h (theme_pixbuf_render): Return FALSE when
	rendering fails for any reason
	* src/sapwood-draw.c (draw_simple_image): If rendering fails, do not
	apply window shape mask as it's most likely garbage
	* src/sapwood-render.c (pixmap_cache_value_new,
	theme_pixbuf_get_pixmap, theme_pixbuf_render): Do not exit, only warn
	and return error code, if pixmaps can not be loaded (someone removed
	the theme in use?)
	N#26863

2006-05-10  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.18 ===

2006-04-27  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-rc-style.c (theme_parse_image): Use g_new0 rather than
	g_malloc to make sure fields are initialized.
	* src/sapwood-pixmap.c (sapwood_pixmap_get_for_file): Initialize the
	buffer to silence valgrind.
	N#27967

2006-04-27  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_focus): Use state parameter when matching
	images for focus to allow more flexible, state-dependent focus
	theming. N#23070

2006-04-24  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.17 ===
	
	* src/sapwood-pixmap.c(sapwood_pixmap_free): Do not unref NULL mask.
	N#27515

2006-04-12  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* === Release 2.14.1 ===

	* src/*.c: #include <config.h> to get configure settings correctly...
	Duh! N#26389

2006-04-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 2.14 ===

	* configure.in
	* NEWS: Updated

2006-04-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* Makefile.am (MAINTAINERCLEANFILES): Add compile and depcomp.
	* src/Makefile.am (sapwood_server_CFLAGS): Add dummy cflags to work
	with newer autotools.

2006-04-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c (sapwood_pixmap_render_rects): Use clip mask
	only if one was drawn using the tile masks from theme.
	* src/sapwood-server.c (extract_pixmap_single): Create masks only for
	pixbufs with alpha.

2006-04-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (draw_simple_image, get_window_for_shape): Use
	flag from gtkrc to figure out need for shape mask.
	* src/sapwood-rc-style.c (theme_symbols, theme_parse_shaped,
	theme_parse_image): Add 'shaped' (default=FALSE) token to explicitly
	enable support for shaped windows from gtkrc.
	* src/theme-pixbuf.h (ThemeImage): Trade one bit from 'refcount' to
	hold the value for TOKEN_SHAPED (replaces unused TOKEN_RECOLORABLE) in
	'background_shaped' member.

2006-04-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c (get_window_for_shape, draw_simple_image):
	Refactor shape mask requirement logic into separate function.

2005-09-02  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 1.36 ===

	* configure.in
	* NEWS: Updated

2005-09-02  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* src/theme-pixbuf.h: restore TOKEN_RECOLORABLE for not to invalidate
	gtkrc cache files

2005-09-02  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* src/theme-pixbuf.h(struct _ThemePixbuf, struct _ThemeMatchData):
	reorder and turn various members into bitfiels and save another 12k.

2005-09-02  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* src/theme-pixbuf.h(struct _ThemePixbuf)
	* src/sapwood-render.c(theme_pixbuf_copy, theme_pixbuf_hash,
	theme_pixbuf_equal, theme_pixbuf_set_filename,
	pixmap_cache_value_new): split (absolute) filename to dirname and
	basename, keep only canonicalized copy in memory and reconstruct the
	absolute filename when needed.  Saves roughly 21k (out of 43k) memory.
	N#16158

2005-09-02  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/theme-pixbuf.h(struct _ThemeImage)
	* src/sapwood-rc-style.c(theme_symbols, theme_parse_image): remove
	unused 'recolorable' token

2005-05-27  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 1.22 ===

	* configure.in
	* NEWS: Updated

2005-05-27  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw(draw_extension): Stop expanding our designated
	drawing area, it's just wrong, wrong, wrong (#9727)

2005-05-18  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw(render_icon): Increase alpha of the background
	colored pixels used when dimming icons to avoid extreme contrast.

2005-05-13  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 1.20 ===

	* configure.in
	* NEWS: Updated

2005-05-13  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c(sapwood_pixmap_free): Make sure all (XChangeGC)
	operations are processed before letting the sapwood server free the
	pixmaps.  Otherwise there's a risk of getting BadPixmap errors (#11906)

2005-05-03  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 1.18.1 ===

	* configure.in
	* NEWS: Updated

2005-05-02  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-draw.c: Dim icons by drawing a simple background color
	(white) raster over the normal state icon.

	* configure.in
	* src/sapwood-server.c
	* src/Makefile.am: Remove unneeded gtk+ dependency from
	sapwood-server.

2005-04-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 1.18 ===

	* configure.in
	* NEWS: Updated

2005-04-26  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-pixmap.c
	* src/sapwood-server.c
	* src/sapwood-proto.h: Change ref/unref to open/close to match
	protocol semantics.

2005-04-21  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/sapwood-render.c(theme_pixbuf_equal): Fix border equality
	check warnings, compare right to right, not right to bottom.

	* src/sapwood-render.c(theme_pixbuf_get_pixmap): theme_pixbuf_ref() has
	invalid semantics for GCache use (results in memory leak due to
	self-referencing.)  Introduce and use theme_pixbuf_copy() instead.
	* src/sapwood-render.c(theme_pixbuf_ref): Removed.

	* src/sapwood-pixmap.c: Generalize pixbuf_proto_get_pixmap() to
	pixbuf_proto_request() which can handle arbitrary requests and
	optional responses. 

	* src/sapwood-pixmap.c
	* src/sapwood-server.c
	* src/sapwood-proto.h: Rename PixbufRequest,PixbufResponse to
	PixbufRefRequest,PixbufRefResponse

	* src/sapwood-rc-style.c: Check all images for missing filenames
	instead of only 'background' and 'overlay' ('gap', 'gap_start',
	'gap_end' were missing.)

	* src/sapwood-pixmap.c
	* src/sapwood-server.c
	* src/sapwood-proto.h: Include request total length in the message to
	make trivial validation possible.

	* src/sapwood-pixmap.c
	* src/sapwood-server.c
	* src/sapwood-proto.h: Include opcode in the request message.

	* src/sapwood-server.c: Don't assume a read from the socket is a
	single whole request, be prepared for partial and multiple requests in
	the buffer.

	* src/sapwood-server.c
	* src/sapwood-proto.h: Assign a handle for each client requested image
	the client can use later to release the image.

	* src/sapwood-pixmap.c
	* src/sapwood-server.c
	* src/sapwood-proto.h: Add unref request to the protocol and release
	images from the client side.

2005-03-21  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/Makefile.am: Move sapwood server to $(libdir)/sapwood, this is
	not gtk-engines package anymore.

2005-03-21  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* configure.in: Check for abstract socket namespace
	* src/sapwood-pixmap.c
	* src/sapwood-server.c: Use abstract socket namespace if available to
	avoid leaving dangling sockets in the filesystem

2005-02-23  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* === Release 1.08 ===

	* configure.in
	* NEWS: Updated

2005-02-23  Tommi Komulainen  <tommi.komulainen@nokia.com>
	
	* src/sapwood-server.c(client_sock_callback): Remove unused variable.

2005-02-23  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/theme-pixbuf.h
	* src/sapwood-render.c: Switch visibility of theme_pixbuf_unref()
	and theme_pixbuf_destroy()
	* src/sapwood-rc-style.c: Always unref pixbufs rather than blindly
	destroying them.  Avoids crashing on theme change (#5533)

2004-12-21  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* Creating new package by extracting (greatly modified) pixbuf engine
	from gtk-engines.

