1. 25 Nov, 2012 1 commit
  2. 02 Oct, 2012 1 commit
  3. 28 Sep, 2012 1 commit
    • Benjamin Otte's avatar
      css: Huge refactoring to avoid computing wrong values · 1454ba15
      Benjamin Otte authored
      Here's the shortest description of the bug I can come up with:
      When computing values, we have 3 kinds of dependencies:
      (1) other properties ("currentColor" or em values)
      (2) inherited properties ("inherit")
      (3) generic things from the theme (@keyframes or @define-color)
      Previously, we passed the GtkStyleContext as an argument, because it
      provided these 3 things using:
      (1) _gtk_style_context_peek_property()
      (2) _gtk_style_context_peek_property(gtk_style_context_get_parent())
      (3) context->priv->cascade
      
      However, this makes it impossible to lookup values other than the ones
      accessible via _gtk_style_context_peek_property(). And this is exactly
      what we are doing in gtk_style_context_update_cache(). So when the cache
      updates encountered case (1), they were looking up the values from the
      wrong style data.
      
      So this large patch essentially does nothing but replace the
      context argument in all compute functions with new arguments for the 3
      cases above:
      (1) values
      (2) parent_values
      (3) provider
      
      We apparently have a lot of computing code.
      1454ba15
  4. 28 Aug, 2012 1 commit
  5. 08 Mar, 2012 1 commit
  6. 27 Feb, 2012 1 commit
  7. 11 Jan, 2012 1 commit
  8. 09 Jan, 2012 7 commits
  9. 17 Nov, 2011 2 commits
    • Alexander Larsson's avatar
      Remove _gtk_style_properties_peek_property · 7104b4b5
      Alexander Larsson authored
      We want to move to a world where getting style properties can
      allocate a new value, depending on the style property context.
      In this world we can't expose "peeking" a property, as we neet
      to return a ref to the property that is newly created.
      
      So, we move the peek code into get_property and use get_property
      from get_valist.
      7104b4b5
    • Alexander Larsson's avatar
      Add GtkStylePropertyContext and use it in when getting style properties · c09148ca
      Alexander Larsson authored
      At the toplevel we have _gtk_theming_engine_get, which lets us pass
      in a property context with (atm) the size to get the property for.
      Then there is a lot of plumbing to push this down into the lower
      layers of the style property code until finally hitting
      the property resolvers.
      
      I need this because I will be adding a property resolver for win32
      theme parts, and they render differently depending on the size
      (i.e. they don't scale linearly). The idea is that the code
      to get the background properties will pass in the final size
      and we will resolve the theme part specification to that particular
      size.
      
      If the old non-context calls are used we just hardcode a size
      of 100x100.
      c09148ca
  10. 21 May, 2011 4 commits
  11. 18 May, 2011 1 commit
  12. 17 Mar, 2011 1 commit
  13. 30 Oct, 2008 1 commit
  14. 01 Jul, 2008 1 commit
  15. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  16. 23 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Add gtkprintutils.[hc] · 935482e3
      Matthias Clasen authored
      2006-04-23  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/Makefile.am: Add gtkprintutils.[hc]
      
      	* gtk/gtkprintutils.[hc]: New files, move the unit conversion
      	functions here.
      
      	* gtk/gtkpagesetupunixdialog.c:
      	* gtk/gtkprintsettings.c:
      	* gtk/gtkpagesetup.c:
      	* gtk/gtkpapersize.c: Replace all static copies of to_mm/from_mm
      	by the copies in gtkprintutils.c.
      
      	* gtk/gtkpagesetup.[hc]: Use g types, add documentation.
      935482e3
  17. 22 Nov, 2005 1 commit
    • Anders Carlsson's avatar
      Add quartz backend. · 1097260a
      Anders Carlsson authored
      2005-11-21  Anders Carlsson  <andersca@imendio.com>
      
              * configure.in:
              * gtk/Makefile.am:
              * gdk/Makefile.am:
      	* gdk/quartz/*:
      	Add quartz backend.
      
              * docs/tools/Makefile.am:
      	Only build docshooter when the X11 backend is used.
      
              * gtk/gtkplug-stub.c:
      	Include gtkplug.h here.
      
              * gtk/gtksocket-stub.c:
      	Include gtksocket.h here.
      1097260a
  18. 12 Jul, 2005 1 commit
  19. 23 Jun, 2005 1 commit
    • Matthias Clasen's avatar
      Use glib-i18n.h · e9bab057
      Matthias Clasen authored
      2005-06-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk-pixbuf-i18n.h: Use glib-i18n.h
      e9bab057
  20. 17 Jan, 2004 1 commit
  21. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  22. 06 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Pixbuf saving, patch from David Welton. · 6b9f9072
      Havoc Pennington authored
      2000-10-05  Havoc Pennington  <hp@redhat.com>
      
              Pixbuf saving, patch from David Welton.
      
      	* Makefile.am (GDK_PIXBUF_LIBS): add INTLLIBS
      	(libgdk_pixbuf_1_3_la_SOURCES): add gdk-pixbuf-i18n.h
      
      	* gdk-pixbuf-i18n.h: Add _() to gdk-pixbuf
      
      	* io-png.c (gdk_pixbuf__png_image_save): PNG save routine.
      
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_save): JPEG save routine.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_save):
      	(gdk_pixbuf_savev): Implement pixbuf saving routines
      
      	* gdk-pixbuf.c (gdk_pixbuf_error_quark): pixbuf error quark
      	function
      
      	* gdk-pixbuf.h: Add public save routines; add pixbuf error
      	types
      
      	* gdk-pixbuf-io.h: Add save function to GdkPixbufModule
      
      2000-10-05  Havoc Pennington  <hp@redhat.com>
      
              * demos/testpixbuf-save.c: add pixbuf save test
      
      	* demos/Makefile.am: add testpixbuf-save.c
      6b9f9072
  23. 14 Jul, 2000 1 commit
    • Owen Taylor's avatar
      Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4 · bb268900
      Owen Taylor authored
      Fri Jul 14 12:22:49 2000  Owen Taylor  <otaylor@redhat.com>
      
      	* configure.in Makefile.am gtk-config.m4 gtk.m4: Move
      	gtk-config to gtk-config-2.0 move gtk_.m4 to
      	gtk-2.0.m4
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am demos/Makefile.am: Change
      	library names to libgtk-1.3.la, etc, so that we
      	can distinguish gtk-1.2 and gtk-2.0 on the linkline.
      
      	* Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am
      	gdk/Makefile.am gdk/x11/Makfile.am
      	Move include files into /usr/include/gtk-2.0,
      	/usr/lib/gtk-2.0/include/
      
      	* autogen.sh acconfig.h configure.in gtk/gtkmain.c
      	gtk/gtkintl.h: Change package for gettext from
      	gtk+ to gtk20. Put hack in autogen.sh to modify
      	po/Makefile.in.in after gettextize to make this
      	possible.
      
      	* gtk+.spec: Some updates, not tested.
      
      	* gdk-pixbuf/Makefile.am: Move loaders into
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/loaders.
      
      	* gtk/Makefile.am gtk/gtkrc.c: Move RC file locations
      	$(sysconfdir)/gtk-2.0 ~/.gtkrc-2.0; theme subdir
      	to THEMENAME/gtk-2.0/. Move engine directory  to
      	$(libdir)/gtk-2.0/$(GTK_VERSION)/engines.
      bb268900
  24. 14 Dec, 1998 1 commit
    • Owen Taylor's avatar
      Added gettext-10.35 · 7facb75c
      Owen Taylor authored
      Mon Dec 14 12:24:13 1998  Owen Taylor  <otaylor@redhat.com>
      
      	* HACKING: Added gettext-10.35
      
      	* autogen.sh: Run gettextize.
      
      Wed Dec  9 16:29:06 1998  Owen Taylor  <otaylor@redhat.com>
      
              Applied gtk-egger-981010-[12]
      	[ Daniel.Egger@t-online.de (Daniel Egger) ]
      
      	* gtk/gtkintl.h: New file - defines for localization.
      
      	* gtk/gtkfilesel.c gtk/gtkinputdialog.c: Mark strings
      	for internationalization.
      
      	* gtk/gtkmain.c: call bindtextdomain
      
      	* po/ - directory for translations. Initially includes
      	German translation.
      7facb75c