commit f5c4eeaf22f18956953141a713cceeba18f6a4c9 Author: Carlos Garcia Campos Date: 2011-11-19 RELEASING: Add new private headers to the command used to get new API M RELEASING commit 53bef7877d7e6c375d7d0cebb4fd1d76aabdb417 Author: Carlos Garcia Campos Date: 2011-11-19 TODO: Remove Smooth Cubic Bézier curve M TODO commit 1a305fd8fd4fb7b00eddf3f03e975a6720c8dcee Author: Carlos Garcia Campos Date: 2011-11-19 docs: Add man pages for tools M Makefile.am M configure.ac M docs/Makefile.am A docs/tools/Makefile.am A docs/tools/xpstojpeg.xml A docs/tools/xpstopdf.xml A docs/tools/xpstopng.xml A docs/tools/xpstops.xml A docs/tools/xpstosvg.xml commit 616e3ec998d5316516f37b419120f19506416752 Author: Carlos Garcia Campos Date: 2011-11-17 Move GXPSGlyphs code to a new file M libgxps/Makefile.am A libgxps/gxps-glyphs.c A libgxps/gxps-glyphs.h M libgxps/gxps-page.c commit 8a0d792758332d484f5025b59e207153d507d978 Author: Carlos Garcia Campos Date: 2011-11-17 Move GXPSPath code to a new file M libgxps/Makefile.am M libgxps/gxps-page.c A libgxps/gxps-path.c commit e9052ccec99bcd337d148656147201da287d5a5e Author: Carlos Garcia Campos Date: 2011-11-17 Move gxps_boolean_parse() to from gxps-page to gxps-parse-utils And rename it to gxps_value_get_boolean() for consistency, checking also the value is 'true' or 'false' as the spec says they are the only valid values. M libgxps/gxps-page.c M libgxps/gxps-parse-utils.c M libgxps/gxps-parse-utils.h commit 7e3635a6cac36cb8f29251d15046b477914bcab6 Author: Carlos Garcia Campos Date: 2011-11-14 Move GXPSBrush code to a new file M libgxps/Makefile.am A libgxps/gxps-brush.c A libgxps/gxps-brush.h M libgxps/gxps-page.c commit 431c98fe2f4f3b07b2f442607cebb35ed368d5a9 Author: Carlos Garcia Campos Date: 2011-11-14 Make gxps_page_get_image() public internally M libgxps/gxps-page-private.h M libgxps/gxps-page.c commit bb1511e6c8454b4a5259d6d2264544919ab6065e Author: Carlos Garcia Campos Date: 2011-11-14 Add private internal method gxps_page_render_parser_push() M libgxps/gxps-page-private.h M libgxps/gxps-page.c commit 3d43748b21db8ab44bd4479246bbf2428dc0e76b Author: Carlos Garcia Campos Date: 2011-11-14 Move gxps_point_parse() from gxps-page to gxps-parse-utils M libgxps/gxps-page.c M libgxps/gxps-parse-utils.c M libgxps/gxps-parse-utils.h commit 17dbda82fff2232223ff34a9a61942333366136b Author: Carlos Garcia Campos Date: 2011-11-14 Move GXPSMatrix code to a new file M libgxps/Makefile.am A libgxps/gxps-matrix.c A libgxps/gxps-matrix.h A libgxps/gxps-page-private.h M libgxps/gxps-page.c commit 2a421755ee71ebff84f693223a6f58ba38cbb232 Author: Carlos Garcia Campos Date: 2011-11-12 Add debug message to notify ArcSegment is not supported M libgxps/gxps-page.c commit ca5bb785ac77ffacc8d8ff83c241fbdc9dc62a95 Author: Carlos Garcia Campos Date: 2011-11-12 Add support for PolyQuadraticBezierSegment figures M libgxps/gxps-page.c commit c45b4d88e61f96e1082f697c995282971cfd7647 Author: Carlos Garcia Campos Date: 2011-11-12 Check required attributes of PathGeometry elements M libgxps/gxps-page.c commit 411634745dcdbcfd109daacc19fac76ced7331cd Author: Carlos Garcia Campos Date: 2011-11-12 Add support for Smooth Cubic Bézier curve M libgxps/gxps-page.c commit d9809b2a05f3d80800b07b5f816766583e863f15 Author: Jason Crain Date: 2011-11-11 Fixed attribute_name and element_name being switched in gxps_parse_error When gxps_parse_error is called with error_type G_MARKUP_ERROR_INVALID_CONTENT, the GError message produced has the attribute_name and element_name switched. https://bugzilla.gnome.org/show_bug.cgi?id=663899 M libgxps/gxps-parse-utils.c commit 44034e1b2e095b6b46bc7d4fb425ff95181b3170 Author: Carlos Garcia Campos Date: 2011-11-10 Initial implementation of ICC based colors Only CMYK colors are supported for now. Little CMS2 has been added as an optional dependency. M configure.ac M libgxps/Makefile.am A libgxps/gxps-color.c A libgxps/gxps-color.h M libgxps/gxps-page.c commit 61908681df73373f2b39e68d8f4e5e35a27e6062 Author: Jason Crain Date: 2011-11-08 Support Opacity for SolidColorBrush elements https://bugzilla.gnome.org/show_bug.cgi?id=663472 M libgxps/gxps-page.c commit 9907bf59151abbf3c0a22052d63604e5fc948194 Author: Carlos Garcia Campos Date: 2011-11-06 Add support for scRGB color syntax M libgxps/gxps-page.c commit e2fee33fe68deffe5592824a4c1c33b195347caf Author: Carlos Garcia Campos Date: 2011-11-06 Implement Quadratic Bézier curve M TODO M libgxps/gxps-page.c commit 073625bf126e668b5a6bacd3bce9c6303b6371e4 Author: Jason Crain Date: 2011-11-04 Support OpacityMask for Glyphs elements https://bugzilla.gnome.org/show_bug.cgi?id=663476 M libgxps/gxps-page.c commit 2a801cb26952ab6425cda3318057dcf2b2917096 Author: Carlos Garcia Campos Date: 2011-11-06 regtest: Skip tests with results when creating refs Not only tests that have md5, but also crashed or failed tests. M regtest/Test.py M regtest/TestReferences.py commit ae58cd1166e1e353f0534bcd074ed60dd57eda0d Author: Jason Crain Date: 2011-11-04 Support OpacityMask for Canvas elements https://bugzilla.gnome.org/show_bug.cgi?id=663475 M libgxps/gxps-page.c commit b0a853397b5ab5c360ed8e3b600eb3a8f407b51b Author: Carlos Garcia Campos Date: 2011-11-06 Don't check alpha value before adding gradient color stops cairo_pattern_add_color_stop_rgb() calls cairo_pattern_add_color_stop_rgba() with alpha = 1, so we can always use cairo_pattern_add_color_stop_rgba(). M libgxps/gxps-page.c commit 92341b3a54916bff61a134782e9837a1e0956a9d Author: Carlos Garcia Campos Date: 2011-11-06 Don't check alpha value before creating solid color patterns cairo_pattern_create_rgb() calls cairo_pattern_create_rgba() with apha = 1, so we can always use cairo_pattern_create_rgba(). M libgxps/gxps-page.c commit ff46d94c94af4f04cfcfafe0f01c3777cebadab3 Author: Jason Crain Date: 2011-11-04 Support opacity for ImageBrush elements https://bugzilla.gnome.org/show_bug.cgi?id=663471 M libgxps/gxps-page.c commit 189194e95109d92a2248a5a434ee7de4d99aa983 Author: Carlos Garcia Campos Date: 2011-11-06 docs: Clarify that page sizes returned by document might be different than actual page sizes M libgxps/gxps-document.c commit 3eb33debc7272a18d75718b86472c8f4bac79a75 Author: Carlos Garcia Campos Date: 2011-11-06 Use gxps_value_get_double_positive() to parse page sizes And report an error if Width or Height are missing or fail to parse since they are required attributes of FixedPage. Even though all XPS documents we have for testing use integer values for page sizes, the spec says with/height are real numbers greater or equal than 1. This commit breaks the API because gxps_document_get_page_size() and gxps_page_get_size() return gdouble instead of guint values now. M libgxps/gxps-document.c M libgxps/gxps-document.h M libgxps/gxps-page.c M libgxps/gxps-page.h M test/test-gxps.c M tools/gxps-image-converter.c M tools/gxps-print-converter.c commit 45f5bb25dd38e6241ecd6d3e2daa78e6dd0fb585 Author: Carlos Garcia Campos Date: 2011-11-06 Add gxps_value_get_double_positive() to parse positive real numbers It's the same than gxps_value_get_double() but this one fails if the parsed number is not greater or equal than 1. M libgxps/gxps-parse-utils.c M libgxps/gxps-parse-utils.h commit 00fab4bd96fdcf7c5b6b6d392d3eb2b766aad523 Author: Carlos Garcia Campos Date: 2011-11-06 Use gxps_value_get_int() to parse glyphs BidiLevel And report error if it fails M libgxps/gxps-page.c commit ddfb6f2e5618c79a571eac4114c825ba9c3680e1 Author: Carlos Garcia Campos Date: 2011-11-06 Use gxps_value_get_double() instead of strtod/g_ascii_srtod And report errors when it fails to parse double values. M libgxps/gxps-page.c commit e63b13d4fce442dc4563e5e442345d2dc8e02bbe Author: Carlos Garcia Campos Date: 2011-11-06 Add gxps_value_get_double() to parse double values M libgxps/gxps-parse-utils.c M libgxps/gxps-parse-utils.h commit c5f7d532226bdeaf9bfb92868257c54fa70b056c Author: Carlos Garcia Campos Date: 2011-11-03 Use g_ascii_strtoll() instead of strtol in gxps_value_get_int() M libgxps/gxps-parse-utils.c commit 144cdbb201cd860480e70fd8c94ac3d8dc58a123 Author: Carlos Garcia Campos Date: 2011-11-01 Use GXPS_DEBUG instead of g_warning/g_debug directly M libgxps/gxps-file.c M libgxps/gxps-images.c commit 2b9c3259c5bce182d423c207e5c7786e5a13d301 Author: Carlos Garcia Campos Date: 2011-11-01 Add regressions test program It's the same program I wrote for poppler, but adapted to libgxps and without the backends part. M TODO A regtest/Config.py A regtest/Test.py A regtest/TestReferences.py A regtest/TestRun.py A regtest/Timer.py A regtest/Utils.py A regtest/commands/__init__.py A regtest/commands/create-refs.py A regtest/commands/run-tests.py A regtest/gxps-regtest A regtest/main.py commit 85345ef3395ca9bcde196de6a0e74ea5fb76f2e2 Author: Jason Crain Date: 2011-09-12 Support opacity for Glyphs elements https://bugzilla.gnome.org/show_bug.cgi?id=662654 M libgxps/gxps-page.c commit d5b60a831be69c0c08d2850937a6a866c6291338 Author: Jason Crain Date: 2011-09-12 Support opacity for Canvas elements Creates a new GXPSCanvas typedef to hold the opacity value. https://bugzilla.gnome.org/show_bug.cgi?id=662653 M libgxps/gxps-page.c commit 792e37f16ddae40bd824dc6de12fdac051617b4a Author: Jason Crain Date: 2011-09-06 Support opacity for Path elements https://bugzilla.gnome.org/show_bug.cgi?id=662652 M libgxps/gxps-page.c commit 6c0688cc6f1f4a7593bbb74630bd4c0a4600eaab Author: Jason Crain Date: 2011-09-16 Support opacity for LinearGradientBrush and RadialGradientBrush elements https://bugzilla.gnome.org/show_bug.cgi?id=662655 M libgxps/gxps-page.c commit 3415335e32f06416146938198f40803de2431514 Author: Carlos Garcia Campos Date: 2011-11-01 docs: Add libgxps.types A docs/reference/libgxps.types commit 93ef0e3a204f097af4e4b1a3623f1ad4ad9a999e Author: Carlos Garcia Campos Date: 2011-11-01 doc: Document return value of gxps_document_get_page() M libgxps/gxps-document.c commit ab3e815de622122df60b44af559dbddd0d33b5c8 Author: Carlos Garcia Campos Date: 2011-10-30 Add download and bugzilla information to doap file M libgxps.doap commit 3c397fdff7129c1d47a1a90d71a6f01085671e3f Author: Carlos Garcia Campos Date: 2011-10-30 TODO: Remove adding tools We have some inital tools now M TODO commit f2bca61794f94998d4774eca9f6977c31732e046 Author: Carlos Garcia Campos Date: 2011-10-30 tools: Add xpstojpeg tool M configure.ac M tools/Makefile.am A tools/gxps-jpeg-converter.c A tools/gxps-jpeg-converter.h A tools/gxps-jpeg-writer.c A tools/gxps-jpeg-writer.h commit 017759d4b9a20fbb920fde326167a76e4258541e Author: Carlos Garcia Campos Date: 2011-10-30 tools: Add xpstosvg tool M configure.ac M tools/Makefile.am A tools/gxps-svg-converter.c A tools/gxps-svg-converter.h commit 8ca6d60d9904b3ab986974deb9055655db553cae Author: Carlos Garcia Campos Date: 2011-10-30 tools: Add xpstops tool M configure.ac M tools/Makefile.am A tools/gxps-ps-converter.c A tools/gxps-ps-converter.h commit 63449fb61972757fd2cb589f456a2eb7b26b4379 Author: Carlos Garcia Campos Date: 2011-10-29 tools: Add xpstopdf tool M configure.ac M tools/Makefile.am A tools/gxps-pdf-converter.c A tools/gxps-pdf-converter.h commit b917110b5159d6f8ec484fba8d2e058d80af3418 Author: Carlos Garcia Campos Date: 2011-10-29 Add generic converter to printing formats Abstract class to handle options common to printing formats like PDF or PostScript. M tools/Makefile.am A tools/gxps-print-converter.c A tools/gxps-print-converter.h commit 0ebc9920c72d5201f0c70725401c2ec8b276171a Author: Carlos Garcia Campos Date: 2011-10-29 tools: Save input filename in GXPSConverter M tools/gxps-converter.c M tools/gxps-converter.h commit 4127140589b7c25b13f049ddab4b4e0c11532e83 Author: Carlos Garcia Campos Date: 2011-10-29 tools: Add xpstopng tool M configure.ac M tools/Makefile.am A tools/gxps-converter-main.c A tools/gxps-png-converter.c A tools/gxps-png-converter.h A tools/gxps-png-writer.c A tools/gxps-png-writer.h commit 9a1bc870fc39cc54a6b500b3a63fc375d887d385 Author: Carlos Garcia Campos Date: 2011-10-29 tools: Add generic converter to image formats It implements some of the GXPSConverter methods but it's also an bastract class that needs concrete implementation for every image output format. M tools/Makefile.am A tools/gxps-image-converter.c A tools/gxps-image-converter.h A tools/gxps-image-writer.c A tools/gxps-image-writer.h commit 8f861f1bd70af7c0a66e00e79688c7b7aa388364 Author: Carlos Garcia Campos Date: 2011-10-29 tools: Add small library to be used by tools At the moment it's just a GXPSConverter abstract class with default implementation. M Makefile.am M configure.ac A tools/Makefile.am A tools/gxps-converter.c A tools/gxps-converter.h commit 695c422034a9b31a97767850e254e98d488a7a43 Author: Carlos Garcia Campos Date: 2011-10-12 release: 0.1.0 Previous commit is wrong, I forgot to update version number in configure.ac because I thought it was already 0.1.0 :-( M configure.ac