Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* MSVC_Net2005/cairomm/cairomm.rc.in: Replaced #include afxres.h by
compilation with the freely available Visual Studio Express compiler.
Bug #17322.
Conflicts:
ChangeLog
|
|
|
|
|
|
|
|
|
|
|
|
New API: Cairo::logic_error::get_status()
|
|
Fix embarrassing mistake where the error string was being initialized with
random data since the m_status member had not yet been initialized.
|
|
* 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.
|
|
|
|
* MSVC/: Renamed to MSVC_Net2008, ready to be patched by Armin
or Cedric.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
* Add autoheader to autogen.sh, to create cairommconfig.h.in, to fix
the build for me.
|
|
* 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.
|
|
* configure.in: bump cairo requirement to at least 1.5.10
* NEWS: update for 1.5.0 release
|
|
* 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.
|
|
it's previous interface. Also change new has_current_point method to call the new cairo_has_current_point routine.
|
|
* 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
|
|
* 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
|
|
* cairomm/context.cc:
* cairomm/context.h: add get_path_extents function, new in 1.5.8
|
|
deisable automated tests
* m4/ax_boost_unit_test_framework.m4: update to slightly newer boost
unittest checking scripts
|
|
* cairomm/surface.cc:
* cairomm/surface.h: add new PsSurface API: set_eps(), restrict_to_level(),
get_levels(), level_to_string()
|
|
* cairomm/surface.cc:
* cairomm/surface.h: add Surface::copy_page() and Surface::show_page()
|
|
* configure.in: bump version and minimum cairo version so that we can start
implementing the 1.5.x features
|
|
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
|