summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2006-08-202006-08-20 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma5-0/+12
* examples/pdf-surface/.cvsignore: * examples/png_file/.cvsignore: * examples/ps-surface/.cvsignore: * examples/svg-surface/.cvsignore: added image files produced by the example programs to .cvsignore
2006-08-202006-08-19 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-5/+10
* Makefile.am: get rid of the concept of a snapshot. It doesn't really make that much sense for cairomm, honestly, since we're just a simple wrapper library.
2006-08-20Hopefully they'll get added for real this timeJonathon Jongsma21-0/+1400
2006-08-202006-08-19 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma1-0/+25
* MSVC/examples/.cvsignore: * MSVC/examples/Makefile.am: * MSVC/examples/pdf-surface/.cvsignore: * MSVC/examples/pdf-surface/Makefile.am: * MSVC/examples/pdf-surface/pdf-surface.vcproj: * MSVC/examples/png_file/.cvsignore: * MSVC/examples/png_file/Makefile.am: * MSVC/examples/png_file/png_file.vcproj: * MSVC/examples/ps-surface/.cvsignore: * MSVC/examples/ps-surface/Makefile.am: * MSVC/examples/ps-surface/ps-surface.vcproj: * MSVC/examples/svg-surface/.cvsignore: * MSVC/examples/svg-surface/Makefile.am: * MSVC/examples/svg-surface/svg-surface.vcproj: * MSVC/examples/text-rotate/.cvsignore: * MSVC/examples/text-rotate/Makefile.am: * MSVC/examples/text-rotate/text-rotate.vcproj: * MSVC/gendef/.cvsignore: * MSVC/gendef/Makefile.am: * MSVC/gendef/gendef.cc: * MSVC/gendef/gendef.vcproj: added a bunch of MSVC / windows-specific things that got missed last time.
2006-08-192006-08-18 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-3/+44
* cairomm/win32_surface.cc: * cairomm/win32_surface.h: add some missing win32 API that I had overlooked: cairo_win32_surface_get_dc() and cairo_win32_surface_create_with_dib(), updated documentation for standard Win32Surface::create() function.
2006-08-192006-08-18 Cedric Gustin <cedric.gustin@gmail.com>Jonathon Jongsma20-2/+567
* cairomm/context.cc: Define M_PI for MSVC. * cairomm/scaledfont.cc: Allocate glyph_array as a dynamic array as MSVC does not like non-const arguments as array size. * 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: Define M_PI for MSVC. * configure.in, Makefile.am: Generate Makefiles in the MSVC subdirectories. * .cvsignore: Added Eclipse .project to the list of ignored files. * MSVC/*: Added project and resource files for Visual Studio 2005.
2006-08-182006-08-18 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma4-6/+17
* cairomm/context.cc: * cairomm/context.h: API CHANGE: some API was changed to maintain a closer similarity to the underlying cairo API (while also attempting to avoid confusion with the C++ 'new' keyword) in preparation for freezing the cairomm API. Two functions are affected: - Context::clear_path() -> Context::begin_new_path() - Context::new_sub_path() -> Context::begin_new_sub_path() * configure.in: bump the libtool version to indicate API change
2006-08-162006-08-15 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-1/+7
* cairomm/context.cc: remove another TODO. I looked at cairo_append_path, and it just copies the data from the supplied path and appends that to the current path -- it doesn't modify the passed in path -- so it can stay const.
2006-08-162006-08-15 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-1/+4
* cairomm/context.h: remove a FIXME that was resolved on the mailing list
2006-08-15Remove unnecessary TODO comment.Murray Cumming1-1/+1
2006-07-112006-07-11 Murray Cumming <murrayc@murrayc.com>Murray Cumming2-3/+8
* cairomm/refptr.h: unref(): Only delete the refcount int when the refcount has reached 0, instead of deleting it every time. Thanks valgrind.
2006-07-112006-07-11 Murray Cumming <murrayc@murrayc.com>Murray Cumming2-34/+110
* cairomm/refptr.h: From-C-object Constructor: Added documentation explaining how/when to use it and when to do an extra reference(). This will help us, though it should rarely be necessary for an application developer to understand it. Made pCppRefcount_ mutable, so that refcount_() can be a const method so that the templated constructor compiles. Added class documentation to explain why we even want to use this class. 2006-07-05 Jonathon Jongsma <jonathon.jongsma@gmail.com> * cairomm/refptr.h: copy constructors: initialize the pCppRefcount_ member variable, using a public refcount_() method when necessary to access a different RefPtr<> specialization. 2006-07-11 Murray Cumming <murrayc@murrayc.com> * cairomm/refptr.h: Use an int to reference-count the C++ object, and only reference/unreference the object (and hence the underlying C object) when receiving/deleting the C++ object. Without this, we never delete the C++ object. Fixes bug #7442.
2006-07-092006-07-09 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-1/+14
* NEWS: add NEWS for 1.1.10 release * configure.in: bump version to 1.1.12
2006-07-062006-07-05 Jonathon Jongsma <jonathon.jongsma@gmail.com>RELEASE_1_1_10Jonathon Jongsma2-1/+6
* Makefile.am: Ooops, I had accidentally removed dependency info for release-publish target
2006-07-052006-07-05 Murray Cumming <murrayc@murrayc.com>Murray Cumming8-19/+23
* cairomm/context.h: * cairomm/fontface.h: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: Fix the generic text about reference-counted objects, because we no longer use copy constructors for this. And some pedantic white space changes.
2006-07-052006-07-05 Murray Cumming <murrayc@murrayc.com>Murray Cumming3-12/+24
* cairomm/scaledfont.cc: * cairomm/scaledfont.h: create(): Make the font_matrix and ctm parameters const (they are now const in the C API too). Maybe the font parameter should be const, but maybe there is a reason that it is not const in the C API. Pass FontOptions by const reference instead of by value. glyph_extents(): Pass the vector by const reference instead of by value. I would prefere to make all the extents() functions use return values instead of output parameters, but I suppose this might be slightly less efficient in some circumstances.
2006-07-052006-07-05 Murray Cumming <murrayc@murrayc.com>Murray Cumming8-60/+72
* cairomm/cairomm.h: * cairomm/context.h: * cairomm/path.h: * cairomm/scaledfont.h: * cairomm/surface.h: * cairomm/win32_surface.h: * cairomm/xlib_surface.h: Use @ instead of \ for doxygen commands, to be consistent with gtkmm, which uses it because it is the same as JavaDoc, with which some people are already familiar.
2006-07-052006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma4-17/+24
* Makefile.am: add ability to do snapshot releases to the cairographics.org/snapshots/ directory in addition to official releases * configure.in: bumped the revision to 1.1.10 in preparation for a snapshot release of the 1.2 API * docs/reference/Makefile.am: fixed some distcheck errors
2006-07-042006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-0/+10
* .cvsignore, cairomm/.cvsignore: ignore some autotools files and *.swp files (from vim)
2006-07-042006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma4-2/+263
* cairomm/scaledfont.cc, cairomm/scaledfont.h: wrap ScaledFont, including new API for cairo 1.2 * cairomm/Makefile.am: add scaledfont.* to list of sources
2006-07-042006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-14/+12
* cairomm/surface.h: Remove comments stating that PDF, PS, and SVG are experimental surfaces. As of 1.2.0, these three surfaces are officially supported by the cairo library.
2006-07-042006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-6/+16
* cairomm/xlib_surface.h: add a bit more documentation for the new XlibSurface API
2006-07-042006-07-04 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-2/+54
* cairomm/surface.cc, cairomm/surface.h: added SvgSurface::get_versions() and SvgSurface::version_to_string() API. They're implemented as static members right now.
2006-07-012006-06-30 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-3/+8
* configure.in: bumped cairomm version to 0.7.0 and bumped cairo requirement to 1.2.0
2006-07-012006-06-30 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-0/+27
* cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new get_height() and get_width() API to XlibSurface
2006-06-282006-06-27 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma8-0/+79
* cairomm/enums.h: Added enum types to support the new get_type() and SVG Version API * cairomm/fontface.cc, cairomm/fontface.h: add new get_type() API * cairomm/pattern.cc, cairomm/pattern.h: add new get_type() API * cairomm/surface.cc, cairomm/surface.h: add new get_type() API and SvgSurface::restrict_to_version() API
2006-06-272006-06-26 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma5-0/+161
* cairomm/surface.cc, cairomm/surface.h: add new PsSurface and PdfSurface API: set_size, dsc_comment, dsc_begin_setup, dsc_begin_page_setup * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new XlibSurface API: get_display, get_drawable, get_screen, get_visual, get_depth
2006-06-262006-06-26 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-0/+57
* cairomm/surface.cc: * cairomm/surface.h: Added new Surface and ImageSurface API from 1.1.x snapshots
2006-06-232006-06-23 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma3-0/+181
* cairomm/context.cc: * cairomm/context.h: added Context::new_sub_path() and new push/pop group API.
2006-06-232006-06-23 Jonathon Jongsma <jonathon.jongsma@gmail.com>Jonathon Jongsma2-2/+6
* cairomm/enums.h: fix stupid error from last commit