Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix embarrassing mistake where the error string was being initialized with
random data since the m_status member had not yet been initialized.
|
|
* cairomm/Makefile.am: install the new cairommconfig.h header and make sure
that the .in file is distributed
|
|
|
|
* 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
|
|
I'm not sure this file should really be under version control, but there's a new
preprocessor symbol, so I'm updating it
|
|
* 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
|
|
doxygen now complains that there are obsolete config keys
|
|
* NEWS: update news for 1.4.6 release
* configure.in: bumped version
|
|
* cairomm/context.cc: Add #include <cairomm/quartz_surface.h>
to fix the build on MacOS. Thanks to Elias N (Bug #11972).
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
* NEWS: updated for 1.4.2 release
* configure.in: bumped version to 1.4.2
|
|
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
|
|
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.
|
|
* 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
|
|
|
|
|
|
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.
|
|
Also build the documentation for the new QuartzSurface class
|
|
instead of the slightly unexpected std::valarray argument
* tests/test-context.cc: test that both API work correctly and compile
correctly without any problems
|
|
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.
|
|
|
|
* 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
|
|
-Werror
|
|
variable is set to 'on'. This caught the following mistake:
* cairomm/pattern.cc: forgot to return the ColorStop vector
|
|
(and possibly other compilers) complain when allocating an array on the stack
and the size of the array is not a compile-time constante
|
|
make release-publish automatically tags the repository for us, update it to tag
in git instead of in cvs
|
|
|
|
|
|
the docs first
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* configure.in: Fixes for building on Cygwin from
yselkowitz@users.sourceforge.net. Closes bug #9726
|
|
* configure.in: bump rev to 1.2.5
|
|
* docs/reference/Doxyfile.in: fixes building the cairomm documentation where
builddir != srcdir. Patch from yselkowitz@users.sourceforge.net for bug
#9727
|
|
* NEWS: updated news for 1.2.4 release
* configure.in: bumped version to 1.2.4
|
|
|
|
* 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.
|
|
* NEWS: update for 1.2.2
* configure.in: bump to next even number (1.2.2)
|
|
* cairomm/win32_surface.cc: Explicitly cast Cairo::Format to
cairo_format_t.
|
|
* 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)
|
|
* 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
|