Commit Graph

135 Commits

Author SHA1 Message Date
Richard Hughes
9bff51e538 Add optional colord support to the CUPS print module
This functionality adds a new 'Printer Profile' entry to the 'Color' page in the
UNIX print dialog if colord support is enabled.

This shows the user what color profile will be used for the settings they have
selected, and if no profile or the default profile is going to be used.

We are deliberately not allowing the user to _change_ the selected profile, as
the ICC profile is an implementation detail, and we should not change the other
print settings based on the characterization state.

The OpenICC group broadly recommend showing the profile that is used, so that
power users can be sure the correct profile is being used at the right time.

Normal users won't care, as they don't know how horrible the color match is
without profiling the printer and media.
2011-06-09 18:31:02 +01:00
Javier Jardón
37bade27f5 configure.ac: Use AS_HELP_STRING instead deprecated AC_HELP_STRING 2011-06-01 13:43:18 +02:00
Carlos Garnacho
e89d6b8741 configure: Check for XGetEventData()
This is a call only available in recent libX11, only the XI2 code
depends on this within GDK, but XI2 implies having GenericEvents
available too.
2011-05-27 11:53:26 +02:00
Florian Müllner
76278811b6 configure: Fix build of pixbuf-demo 2011-05-26 15:03:21 +02:00
Benjamin Otte
64fd32cdef tests: Add a test for the CSS parser
Tests in the parser need 1 or 2 files:
1) test.css
2) test.ref.css (optional, defaults to test.css)

The test instantiates a CSS provider, loads test.css, then dumps the
loaded file to test.out.css and then checks that that file matches
test.ref.css. If not, it dumps a diff between those two to the log and
fails.

You want to run the test with --verbose to get the output dumped to
stdout.
2011-05-18 21:58:43 +02:00
Matthias Clasen
2e1fa6df4a Post-release bump 2011-05-07 13:04:38 -04:00
Matthias Clasen
e97baf7906 3.1.4 2011-05-07 13:01:16 -04:00
Javier Jardón
d543a9c6f9 configure.ac: Indeed the minimum required version is 2.29.4, not 2.29.2 2011-05-06 18:54:22 +01:00
Javier Jardón
4e75148796 configure.ac: Bump glib minimum required version to 2.29.2
As we are using the new g_test_fail() in the gtk-reftest
2011-05-06 18:52:14 +01:00
Benjamin Otte
363dbb6039 reftests: Add
Add a new test runner supposed to do a lot of generic tests. Run it like
this:

./gtk-reftest [OPTIONS] TESTFILE [TESTFILES...]

where FILE is a GtkBuilder ui file to run.

For a general test named "test", you want to have the following files:
1) test.ui
2) test.ref.ui
3) test.css (optional)
The test will then check that test.ui and test.ref.ui are rendered
identically with the provided css.

In detail, for every provided TESTFILE the test runner will:
1) Add the css to the default screen
2) Load the test.ui file and the test.ref.ui file
3) Grab the first GtkWindow subclass widget
4) gtk_widget_show() it and take a snapshot image of its contents into
   a cairo surface.
5) Compare the two images to be bitwise identical. If they are not, a
   diff image will be created hilighting the differences.
6) Save the images as png files to the output directory named:
   - test.out.png (rendering of test.ui)
   - test.ref.png (rendering of test.ref.ui)
   - test.diff.png (optional, differences from step 5)
7) Fail the test if the two images are not bitwise identical

Credit for the idea of reftests goes to Mozilla and in particular David
Baron. For a larger introduction of why reftests are useful, see
http://weblogs.mozillazine.org/roc/archives/2008/12/reftests.html
2011-05-03 15:40:48 +02:00
Chun-wei Fan
527a299fdd Bug 643270: VS2010 Project Files (autotools)
-Update to distribute the VS2010 files.
-Added rules in Makefile.am's of GDK and GTK to fill in the
 project/filter files templates with up-to-date source file
 listings to simplify maintenace.

Any comments on the usage of the VS2010 files are welcome!
2011-04-27 00:48:05 +08:00
Javier Jardón
58b2e9caaf docs: Do not generate the template files anymore
All the documentation is now in inline comments
2011-04-20 12:21:57 +01:00
Matthias Clasen
fd48df53d1 Bump version 2011-04-13 18:15:43 -04:00
Matthias Clasen
f771a641e2 Updated NEWS 2011-04-13 11:43:12 -04:00
Kristian Høgsberg
c7514e8f0d Merge branch 'gdk-backend-wayland'
Conflicts:
	Makefile.am
	configure.ac
	gdk/Makefile.am
	gtk/gtksettings.c
	gtk/gtkwindow.c
2011-04-12 09:52:44 -04:00
Michael Natterer
ec6f6c4168 configure: bump version to 3.1.0 2011-03-21 20:58:40 +01:00
Matthias Clasen
330ed9d0d8 Fix portability issues in configure
Avoid using bash features unnecessarily.
Patch by Matteo Settenvini
https://bugzilla.gnome.org/show_bug.cgi?id=645057
2011-03-21 10:32:49 -04:00
Alexander Larsson
4765f37484 Merge branch 'gtk-3-0' into broadway
Conflicts:
	gdk/gdkdisplaymanager.c
2011-03-10 10:51:04 +01:00
Matthias Clasen
7fe353b186 Bump version 2011-03-07 10:08:48 -05:00
Matthias Clasen
e10759af16 Bump the Pango requirement to 1.24
This avoids warnings in some situations. 1.24 is 2 years old,
so should not cause any problems.
https://bugzilla.gnome.org/show_bug.cgi?id=643370
2011-03-03 19:24:02 -05:00
Kristian Høgsberg
287d91e5f9 Merge remote-tracking branch 'origin/master' into gdk-backend-wayland
Conflicts:
	gdk/gdkdisplaymanager.c
2011-02-26 14:44:29 -05:00
Matthias Clasen
15a2cf4548 Post-release version bump to 3.0.2 2011-02-21 18:58:22 -05:00
Javier Jardón
3842399b70 configure.ac: Remove fd_set checks
fd_set uses were removed in GTK+ 2.2
2011-02-13 12:23:01 +00:00
Javier Jardón
932ab55c65 configure.ac: Use AC_CONFIG_COMMANDS instead deprecated AC_OUTPUT_COMMANDS 2011-02-13 11:10:35 +00:00
Javier Jardón
dffc96a241 configure.ac: Use AC_PREPROC_IFELSE instead deprecated AC_TRY_CPP 2011-02-13 11:10:23 +00:00
Javier Jardón
efeade2a06 configure.ac: Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN 2011-02-13 11:09:49 +00:00
Javier Jardón
d5872527e5 configure.ac: Use AC_LINK_IFELSE instead deprecated AC_TRY_LINK 2011-02-13 11:09:41 +00:00
Alexander Larsson
d4add8cefa Merge branch 'master' into broadway 2011-02-11 15:27:54 +01:00
Matthias Clasen
d4ac3c8561 Bump version to 3.0.1 2011-02-10 15:27:54 -05:00
Matthias Clasen
524ce69bcb Bump the version to 3.0.0
At the same time, change the library sonames for -3.0 to just -3.
This is necessary since the 2.99 releases installed libraries like
libgtk-3.0.so.0.9903.0, and we want to prevent the library version
number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
2011-02-10 14:41:02 -05:00
Kristian Høgsberg
3ef3433511 wayland: Support setting cursors
And a handful unrelated cleanups.  Still doesn't really have an answer
for cursor themes.
2011-02-09 14:48:31 -05:00
Carlos Garnacho
e1dbc871fe Change required glib version from "2.28" to "2.28.0"
Fixes the recent configure error:
  checking for GLIB - version >= 2.28... 2.28, bad version string

introduced by 95446c311
2011-02-09 20:08:35 +01:00
Javier Jardón
95446c311d configure.ac: Depend on stable versions of other libraries 2011-02-09 15:55:06 +00:00
Matthias Clasen
83478ae3a3 Define the required introspection version in configure.ac 2011-02-08 18:40:08 -05:00
Javier Jardón
14eb34874a configure.ac: Remove some more obsolete macros
AC_TYPE_SIGNAL: obsolete when assuming C89 or better
AC_HEADER_SYS_WAIT: current systems are compatible with POSIX
2011-02-06 22:52:55 +00:00
Javier Jardón
8a965b9786 configure.ac: Use AC_COMPILE_IFELSE instead deprecated AC_TRY_COMPILE 2011-02-06 20:36:37 +00:00
Javier Jardón
c734bb8e83 configure.ac: Use AS_HELP_STRING instead deprecated AC_HELP_STRING 2011-02-06 20:36:37 +00:00
Javier Jardón
899019d56a configure.ac: Remove some obsolescent macros
AC_C_CONST: current C compilers support const
AC_TYPE_SYGNAL: obsolete when assuming C89 or better
AC_HEADER_STDC: current systems have conforming header files
2011-02-06 20:36:37 +00:00
Kristian Høgsberg
590f3dfa1f Add Wayland backend 2011-02-05 16:11:54 -05:00
Matthias Clasen
0ade265a69 Bump version 2011-02-02 00:36:41 -05:00
Benjamin Otte
5f594b613e API: gdk: Get rid of GdkNativeWindow
Also get rid of the GDK_NATIVE_WINDOW_POINTER define.
2011-02-01 18:51:57 +01:00
Matthias Clasen
b71134fc77 Drop unused theme-bits 2011-01-30 02:47:27 -05:00
Matthias Clasen
701075b2c8 Nicer configure summary 2011-01-30 02:21:16 -05:00
Pavel Holejsovsky
48ad65e1dd Bump required GObject-Introspection version to 0.10.1 2011-01-20 14:54:19 +01:00
Alexander Larsson
07db0e38b0 [broadway] Make broadway build with new gdk-backend setup
Convert all global functions to vtable calls, etc.
2011-01-19 19:52:51 +01:00
Alexander Larsson
920e8b4343 Merge branch 'master' into broadway2
Doesn't build, but fixed up actual conflicts

Conflicts:
	configure.ac
	gdk/Makefile.am
	gtk/Makefile.am
2011-01-19 19:52:00 +01:00
Matthias Clasen
1cba79677c Add --enable-gtk2-dependency option
This can be used to suppress building of gtk-update-icon-cache
in favor of using a preexisting version. Based on a patch by
Colin Walters,
https://bugzilla.gnome.org/show_bug.cgi?id=639471
2011-01-14 20:01:05 -05:00
Matthias Clasen
8709c86944 bump version 2011-01-12 19:56:22 -05:00
Matthias Clasen
62ba858582 Bump version 2011-01-10 23:36:47 -05:00
Emilio Pozuelo Monfort
ec15c405cf Support disabling X11 extensions
Based on a patch from Cyril Brulebois <kibi@debian.org>

https://bugzilla.gnome.org/show_bug.cgi?id=612918
2011-01-07 01:30:11 +00:00