summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-09-03Bump version to 1.6.4v1.6.4cairomm-1.6Jonathon Jongsma3-1/+11
2008-09-032008-08-27 Armin Burgmeier <armin@arbur.net>Jonathon Jongsma2-1/+8
* MSVC_Net2005/cairomm/cairomm.rc.in: Replaced #include afxres.h by compilation with the freely available Visual Studio Express compiler. Bug #17322. Conflicts: ChangeLog
2008-08-13post-release bump (1.6.3)Jonathon Jongsma2-3/+7
2008-08-13Update for 1.6.2 releasev1.6.2Jonathon Jongsma3-1/+17
2008-08-13Fix boost unit test detectionJonathon Jongsma3-4/+31
2008-08-13update surface type enumJonathon Jongsma2-3/+9
2008-08-13change Cairo::logic_error::get_status() to get_status_code()Jonathon Jongsma3-3/+9
2008-08-11Add ability to get the error code from a Cairo::logic_error exceptionJonathon Jongsma2-0/+6
New API: Cairo::logic_error::get_status()
2008-08-11Fix Cairo::logic_error error messageJonathon 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-08-112008-08-09 Armin Burgmeier <armin@arbur.net>Murray Cumming8-326/+376
* MSVC_Net2005/cairomm/cairomm.rc.in: Removed #include resource.h since there is no resource.h, and it works well without that include. * MSVC_Net2005/cairomm/Makefile.am: Copy cairommconfig.h from cairomm/, so it is available to the visual studio project. * MSVC_Net2005/cairomm/cairomm.vcproj: Added cairomm/context_surface_win32.cc to the project. * Makefile.am: * configure.in: Adapt build files.
2008-08-09Copied MSVCNet2008 to MSVCNet2005 ready for Armin to put files there.Murray Cumming30-0/+1898
2008-08-072008-08-07 Murray Cumming <murrayc@murrayc.com>Murray Cumming30-0/+0
* MSVC/: Renamed to MSVC_Net2008, ready to be patched by Armin or Cedric.
2008-04-25cairomm/context.h: removed extra unused function declarationsJonathon Jongsma2-4/+11
2008-04-25separate calls to possibly-conflicting surface callsBenjamin Reed8-8/+183
On Mac OS X, if you have both the xlib and quartz backends enabled in cairo, cairomm fails to build with conflicting headers: /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c -o context.lo context.cc g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c context.cc -fno-common -DPIC -o .libs/context.o /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: declaration does not declare anything /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:264: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: conflicting declaration 'typedef int Cursor' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration as 'typedef XID Cursor' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:296: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: conflicting declaration 'typedef int Picture' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration as 'typedef XID Picture' This patch fixes this by separating out the calls in the get_surface_wrapper call to individual .cc files which are then compiled with only the headers they need.
2008-04-11Now post-release bump for realJonathon Jongsma1-1/+1
2008-04-11fix configure.in version for 1.6.0 tagv1.6.0Jonathon Jongsma1-1/+1
2008-04-11Post-release version bumpJonathon Jongsma3-3/+15
2008-04-11Wrap cairo_format_stride_for_width()Jonathon Jongsma3-0/+34
2008-04-112008-04-11 Murray Cumming <murrayc@murrayc.com>Murray Cumming2-0/+7
* Add autoheader to autogen.sh, to create cairommconfig.h.in, to fix the build for me.
2008-03-232008-03-23 Murray Cumming <murrayc@murrayc.com>Murray Cumming3-77/+10
* cairomm/enums.h (FONT_TYPE_ATSUI, FONT_TYPE_QUARTZ): Change the definition of FONT_TYPE_ATSUI from CAIRO_FONT_TYPE_ATSUI to CAIRO_FONT_TYPE_QUARTZ (the same numerical value) and document it as deprecated. The others should be documented too. Added FONT_TYPE_QUARTZ.
2008-03-10Update for 1.5.0 releasev1.5.0Jonathon Jongsma3-1/+15
* configure.in: bump cairo requirement to at least 1.5.10 * NEWS: update for 1.5.0 release
2008-03-10install config headerJonathon Jongsma2-1/+8
* cairomm/Makefile.am: install the new cairommconfig.h header and make sure that the .in file is distributed
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-192008-02-19 Tim Mooney <enchanter@users.sourceforge.net>Murray Cumming8-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.
2008-02-17Revert get_current_point as cairo_get_current_point has been reverted to ↵Tom Hughes1-9/+2
it's previous interface. Also change new has_current_point method to call the new cairo_has_current_point routine.
2008-01-30 * cairomm/context.cc:Jonathon Jongsma3-1/+27
* cairomm/context.h: add new has_current_point() API to deal with the fact that cairo_get_current_point() changed from a void to a cairo_status_t return type, and we don't necessarily want to throw an exception here or it could break existing applications. But this could be reconsidered
2008-01-30 * cairomm/xlib_surface.cc:Jonathon Jongsma4-2/+85
* cairomm/xlib_surface.h: add new get_xrender_format() function (new in 1.5.8) and add missing static create_with_xrender_format() function * docs/reference/Doxyfile.in: add CAIRO_HAS_XLIB_XRENDER_SURFACE feature so that new xrender API shows up in docs
2008-01-30 * configure.in: bump cairo requirement to 1.5.8Jonathon Jongsma4-1/+44
* cairomm/context.cc: * cairomm/context.h: add get_path_extents function, new in 1.5.8
2008-01-30 * configure.in: enable people with CAIROMM_DEVEL variable set to explicitlyJonathon Jongsma3-4/+19
deisable automated tests * m4/ax_boost_unit_test_framework.m4: update to slightly newer boost unittest checking scripts
2007-11-10[PsSurface] Add new API to control PS language levelJonathon Jongsma3-0/+96
* cairomm/surface.cc: * cairomm/surface.h: add new PsSurface API: set_eps(), restrict_to_level(), get_levels(), level_to_string()
2007-11-10[Surface] add copy_page(), show_page()Jonathon Jongsma3-1/+36
* cairomm/surface.cc: * cairomm/surface.h: add Surface::copy_page() and Surface::show_page()
2007-11-10Start on cairo 1.5.x featuresJonathon Jongsma2-3/+8
* configure.in: bump version and minimum cairo version so that we can start implementing the 1.5.x features
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