2005-06-12 Matthias Clasen <mclasen@redhat.com>
* pixbuf-render.c (theme_pixbuf_render): Try to
handle the situation that the borders are larger
than the area we are rendering. (#169731,
Benjamin Otte)
2005-06-05 Tor Lillqvist <tml@novell.com>
* modules/engines/Makefile.am
* modules/input/Makefile.am: Decide whether to build the
ms-windows theme engine based on the GDK backend, not based on
platform. (I.e., if building for Cygwin with the X11 backend, we
shouldn't build the ms-windows engine, but if building for Cygwin
but with the Win32 backend, we should.) Ditto for the IME
(Windows) input module. (#305832)
2005-06-04 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/msw_style.c: Render insensitive icons
in a way that more closely matches Windows. (#305986, Tim Evans).
* modules/engines/ms-windows/Makefile.am (LDADDS): Link with
gdk-pixbuf.
2005-03-21 Tor Lillqvist <tml@novell.com>
* modules/engines/ms-windows/*.c: Silence gcc warnings (unused
variables, unhandled enum value in switch). Use g_object_unref()
instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
* modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
Add missing "case" keyword.
* modules/engines/ms-windows/Makefile.am: Link with -lgdi32
explicitly.
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.
2004-11-28 Matthias Clasen <mclasen@redhat.com>
* Makefile.am (LDADDS): Add necessary libraries to make
it compile with -no-undefined. (#159713, Robert Ögren)
2004-08-30 Tor Lillqvist <tml@iki.fi>
Make the ms-windows theme engine build with mingw.
* configure.in: Expand also modules/engines/ms-windows/Theme/
Makefile and .../Theme/gtk-2.0/Makefile.
* modules/engines/ms-windows/Makefile.am: Adapt for building
inside the GTK sources.
* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
GTK and GDK headers. Use correct path for gdkwin32.h header.
* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
API.
* modules/engines/ms-windows/xp_theme_defs.h
* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
to xp_theme.c, as they are neither in mingw's nor Platform
SDK's tmschema.h.
* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
0x0501 to get the necesssary stuff from mingw's uxtheme.h.
2004-08-30 Matthias Clasen <mclasen@redhat.com>
Integrate the ms-windows theme engine (better known as Wimp)
into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
sources have been added to the GTK+ source tree in
modules/engines/ms-windows, and there is a ChangeLog detailing
the history of Wimp. (#109615, Havoc Pennington)
* configure.in: Generate modules/engines/Makefile and
modules/engines/ms-windows/Makefile.
* modules/Makefile.am (SUBDIRS): Add engines.
* modules/engines/Makefile.am: Compile ms-windows for win32.
2003-03-02 Tor Lillqvist <tml@iki.fi>
* configure.in: Call AC_LIBTOOL_WIN32_DLL. Set OS_WIN32
conditional on Windows.
* makefile.cygwin: Remove, unmaintained and obsolete.
* Makefile.am (EXTRA_DIST): Remove here, too.
* README.win32: Update.
pixbuf:
2003-03-02 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use -no-undefined on Windows.
metal and redmond95:
2003-03-02 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use -no-undefined, and do use GTK_LIBS on Windows.
Sun Apr 21 14:10:04 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-rc-style.c pixbuf.h pixbuf-draw.c: Add a fake STEPPER
function that is used for drawing scrollbar steppers,
so that themes that want to draw the button and arrow
separately can override the default handling.
* pixbuf-draw.c: Remove draw_polygon() since it was
just a cut-and-paste of the default one. Remove
some unused code.
2002-03-07 James Henstridge <james@daa.com.au>
* Makefile.am (libpixmap_la_LIBADD): link pixbuf engine against
the gtk+ libraries, so that it can be used with programs that
dlopen gtk+ without the RTLD_GLOBAL flag (such as scripting
languages and mozilla).
Thu Feb 7 00:21:21 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (pixbuf_render): Add gradient
rendering -- if the source width/height is zero,
render a gradient from the surrounding values.
Sun Jan 27 23:58:13 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Optimize the case
where a component is entirely transparent by skipping
drawing it.
* pixbuf-rc-style.c (theme_parse_image): Catch case
where background or overlay border/stretch are specified
without a background image.
* pixbuf-render.c (theme_pixbuf_destroy): Actually free
the structure and filename.