summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-08-11Fix Cairo::logic_error error messagecairomm-1.4Jonathon Jongsma1-1/+1
Fix embarrassing mistake where the error string was being initialized with random data since the m_status member had not yet been initialized.
2008-03-10install config headerv1.4.8Jonathon Jongsma2-1/+8
* cairomm/Makefile.am: install the new cairommconfig.h header and make sure that the .in file is distributed
2008-03-10Bump version, update NEWS for 1.4.8 releaseJonathon Jongsma3-1/+9
2008-03-10Another build fix for solarisJonathon Jongsma2-0/+7
* cairomm/exception.cc: include <string> to fix the build on solaris which apparently doesn't include string from their exception header (Tim Mooney). Fixes bug #14559
2008-03-10new HAVE_MATH_H defineJonathon Jongsma1-0/+3
I'm not sure this file should really be under version control, but there's a new preprocessor symbol, so I'm updating it
2008-02-19cherry-pick solaris fix from masterJonathon Jongsma8-11/+60
* configure.in: Added check, defining HAVE_MATH_H. * cairomm/context.cc: * examples/pdf-surface/main.cc: * examples/png_file/main.cc: * examples/ps-surface/main.cc: * examples/svg-surface/main.cc: * examples/text-rotate/text-rotate.cc: Added includes of math.h to fix the build with Sun Workshop 12. Bug #14558. Conflicts: ChangeLog
2007-11-10* docs/reference/Doxyfile.in: update doxygen config file since my version ofv1.4.6Jonathon Jongsma2-6/+20
doxygen now complains that there are obsolete config keys
2007-11-10update NEWS and bump version for 1.4.6 releaseJonathon Jongsma3-4/+16
* NEWS: update news for 1.4.6 release * configure.in: bumped version
2007-08-132007-08-13 Murray Cumming <murrayc@murrayc.com>Murray Cumming2-0/+6
* cairomm/context.cc: Add #include <cairomm/quartz_surface.h> to fix the build on MacOS. Thanks to Elias N (Bug #11972).
2007-07-30Increased version post-release.Murray Cumming1-1/+1
2007-07-30Increased version for release.v1.4.4Murray Cumming3-1/+9
2007-07-21Fixed ChangeLogMurray Cumming1-0/+1
2007-07-212007-07-21 Murray Cumming <murrayc@murrayc.com>Murray Cumming6-1/+119
* m4/reduced.m4: Added, containing CAIROMM_ARG_ENABLE_API_EXCEPTIONS(). * configure.in: Use CAIROMM_ARG_ENABLE_API_EXCEPTIONS() to add a --enable-api-exceptions=yes/no option. Used to generate a cairomm/cairommconfig.h config file, which defines (or not) CAIROMM_EXCEPTIONS_ENABLED. * cairomm/cairommconfig.h.in: Added, used to generate cairommconfig.h * cairomm/private.cc: * cairomm/private.h: Use ifdef to replace throw_exception() with an empty implementation when exceptions are disabled. This allows cairomm to be built when using CXXFLAGS=-fno-exceptions.
2007-07-14Post-release version number bumpJonathon Jongsma2-1/+5
2007-07-14Get ready for 1.4.2 releasev1.4.2Jonathon Jongsma3-1/+15
* NEWS: updated for 1.4.2 release * configure.in: bumped version to 1.4.2
2007-07-14Update the GENERIC_LIBRARY_VERSION correctlyDave Beckett2-1/+10
Was: 1:0:0 in 1.2.4 current: interfaces were added, increment to 2 revision: set to zero since current was incremented age: increment since interfaces were added Changed to: 2:0:1
2007-07-14* cairomm/refptr.h: Added RefPtr(object, refcount) constructorMurray Cumming2-12/+27
for use in cast_*(), so that the casted RefPtr shares the same refcount, avoiding an early deletion. I do not like making this constructor public, but I do not see another way.
2007-07-12Push docs and a doc-tarball to the web on releasev1.4.0Jonathon Jongsma3-6/+19
* Makefile.am: add doc-publish target and make release-publish depend on this. This automatically uploads the new API documentation on release * docs/reference/Makefile.am: upload the html documentation and a tarball of the documentation to the cairographics.org site
2007-07-12* docs/reference/Makefile.am: hacky workaround to get distcheck to passJonathon Jongsma2-2/+9
2007-07-10Bump version for releaseJonathon Jongsma3-2/+17
2007-07-10Add ability to use dynamic casting with the return values from more functions,Jonathon Jongsma3-9/+117
including: Context::get_target() Context::get_target() const Context::get_source() Context::get_source() const Context::get_group_target() Context::get_group_target() const Context::pop_group() * tests/test-context.cc: a few additional tests to verify the const / non-const versions both work with dynamic casting.
2007-07-10Improve the documentation style a little bit to make it more readable.Jonathon Jongsma3-1/+27
Also build the documentation for the new QuartzSurface class
2007-07-10Add alternate API for Context::set_dash() which takes a std::vector argumentJonathon Jongsma4-1/+35
instead of the slightly unexpected std::valarray argument * tests/test-context.cc: test that both API work correctly and compile correctly without any problems
2007-07-04Added some tests for matrix transformations and user-to-device coordinate ↵Jonathon Jongsma2-44/+75
mappings The matrix transformation 'test' does nothing more than call the functions to excercise them a bit Also used BOOST_CHECK_EQUAL in most places instead of BOOST_CHECK to get more meaningful failure messages.
2007-07-04add missing 'break;' on the I/O error case statementJonathon Jongsma2-8/+13
2007-07-04Fix dynamic casting of Pattern retrieved with Context::get_source()Jonathon Jongsma3-19/+69
* cairomm/context.cc: when getting the source pattern of a Cairo::Context, check which type of Pattern it is so that we create the correct C++ wrapper. Without this, RefPtr<>::cast_dynamic() doesn't seem to work as we would expect it to. * tests/test-context.cc: improve the Context::get_source() / Context::set_source () tests now that dynamic casting works correctly
2007-07-04examples/, tests/: fix a bunch of minor compile errors when compiling with ↵Jonathon Jongsma7-25/+37
-Werror
2007-07-04Enable extra compiler warnings and -Werror if the CAIROMM_DEVEL environmentJonathon Jongsma3-1/+12
variable is set to 'on'. This caught the following mistake: * cairomm/pattern.cc: forgot to return the ColorStop vector
2007-07-04Context: fix a FIXME to match the style of ScaledFont::glyph_extents since MSVCJonathon Jongsma2-4/+12
(and possibly other compilers) complain when allocating an array on the stack and the size of the array is not a compile-time constante
2007-06-04Update Makefile.am release procedures for git instead of CVSJonathon Jongsma1-3/+3
make release-publish automatically tags the repository for us, update it to tag in git instead of in cvs
2007-05-31more .gitignore additionsJonathon Jongsma1-0/+10
2007-05-31Add files to .gitignore so they don't pollute git statusJonathon Jongsma1-0/+25
2007-05-31Fix Makefile dependency issue when trying to `make dist` without building ↵Jonathon Jongsma1-0/+2
the docs first
2007-04-162007-04-16 Hugo Vincent <hugo.vincent@gmail.com>Murray Cumming5-2/+157
* Added QuartzSurface for MacOS X (when cairo is built with Quartz support), similar to the existing Win32Surface and XlibSurface. These allow use of platform-specific features and data structures.
2007-03-242007-03-23 Jonathon Jongsma <jjongsma@gnome.org>Jonathon Jongsma8-4/+657
* Makefile.am: * autogen.sh: * configure.in: * m4/ax_boost_base.m4: * m4/ax_boost_unit_test_framework.m4: Add some basic test infrastructure. It's disabled by default, and must be explicitly enabled by passing --enable-tests to configure (or by setting the CAIROMM_DEVEL environment variable to "on"). It uses the boost unit test framework, but this should not be required unless you've explicitly enabled tests. If tests are enabled, you can easily run them with 'make check' * tests/Makefile.am: * tests/test-context.cc: added the beginning of a test for Cairo::Context. Most of these tests are really very interesting. Basically what I'm trying to do is a) test some basic behaviors, and b) excercise the functionality a little bit. One of the tests currently fails due to a RefPtr::cast_dynamic failure, so I have to see what's going on there.
2007-03-222007-03-22 Murray Cumming <murrayc@murrayc@murrayc.com>Murray Cumming7-36/+69
* cairomm/enums.h: Restored FORMAT_RGB16_565 and marked it as deprecated. Note that CAIRO_FORMAT_RGB16_565 has not really been removed from cairo. It has just moved from the enum to a #define in cairo-deprecated. * cairomm/context.cc: * cairomm/context.h: Made get_dash() const. Renamed clip_extents() to get_clip_extents(), to match the other get_*_extents() methods (in Context, if not in other classes), and made it const. Made copy_clip_rectangle_list() const. * cairomm/pattern.cc: * cairomm/pattern.h: Make the RadialGradient::get_radial_circles(), LinearGradient::get_linear_points(), and Gradient::get_color_stops() methods const. Added a non-const method overload of get_surface(). Correc the get_color_stops() implementation to match the declaration.
2007-03-22Update ChangeLog to show what was addedMurray Cumming1-1/+2
2007-03-22Update ChangeLog to show what was addedMurray Cumming1-0/+11
2007-03-222007-03-22 Jonathon Jongsma <jjongsma@gnome.org>Jonathon Jongsma3-9/+16
* cairomm/context.cc: Minor comment cleanups * cairomm/pattern.cc: get the gradient stops by reference parameter instead of returning by value. This saves an extra copy of the vector.
2007-03-212007-03-21 Jonathon Jongsma <jjongsma@gnome.org>Jonathon Jongsma7-9/+252
* cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/pattern.cc: * cairomm/pattern.h: * configure.in: Add initial support for new cairo 1.4.x API. It will probably still need quite a bit of work, but I wanted to commit what I have now so that it doesn't keep sitting in my working directory.
2007-02-012007-02-01 Jonathon Jongsma <jonathon.jongsma@gmail.com>cairomm-1.2Jonathon Jongsma2-1/+18
* configure.in: Fixes for building on Cygwin from yselkowitz@users.sourceforge.net. Closes bug #9726
2007-01-282007-01-28 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-1/+5
* configure.in: bump rev to 1.2.5
2007-01-282007-01-28 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-2/+8
* docs/reference/Doxyfile.in: fixes building the cairomm documentation where builddir != srcdir. Patch from yselkowitz@users.sourceforge.net for bug #9727
2007-01-182007-01-17 Jonathon Jongsma <jonathon.jongsma@gmail.com>RELEASE_1_2_4Jonathon Jongsma3-2/+13
* NEWS: updated news for 1.2.4 release * configure.in: bumped version to 1.2.4
2006-09-27Fix typo in ChangeLog.Murray Cumming1-1/+1
2006-09-272006-09-27 Murray Cumming <murrayc@murrayc.com>Murray Cumming2-7/+14
* cairomm/refptr.h: cast_static() and cast_dynamic(): Use the refcount_() accessor instead of the member variable, to avoid compilation errors, as we already doing in the templated copy constructor.
2006-08-212006-08-21 Jonathon Jongsma <jonathon.jongsma@gmail.com>RELEASE_1_2_2Jonathon Jongsma3-1/+12
* NEWS: update for 1.2.2 * configure.in: bump to next even number (1.2.2)
2006-08-212006-08-21 Cedric Gustin <cedric.gustin@gmail.com>Jonathon Jongsma2-1/+6
* cairomm/win32_surface.cc: Explicitly cast Cairo::Format to cairo_format_t.
2006-08-202006-08-20 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-3/+12
* Makefile.am: fix up the release announcement template to explain what cairomm is at the top of the email before telling where to get it. * configure.in: post-release bump (1.2.1)
2006-08-202006-08-20 Jonathon Jongsma <jonathon.jongsma@gmail.com>RELEASE_1_2_0Jonathon Jongsma3-3/+26
* NEWS: Update information about new stuff in 1.2.0 * configure.in: bump the release version number to 1.2.0 and the shared library version number to 1:0:0 since interfaces were changed and added and we're now guaranteeing API/ABI stability