Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
In order to avoid ambiguous template overload issues (I was getting compile
failures when passing a literal string for the std::string parameter of the
normal create() function)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
used for them
|
|
|
|
|
|
|
|
|
|
|
|
* MSVC_Net2005/cairomm/cairomm.rc.in: Replaced #include afxres.h by
#include <windows.h> which does the job equally well, and allows
compilation with the freely available Visual Studio Express compiler.
Bug #17322.
|
|
|
|
cairo_write_func_t or cairo_read_func_t
|
|
|
|
with get_
|
|
|
|
The static ::create() function took a FontFace by
reference rather than by RefPtr, which means the API was essentially unusably
broken. So this is technically an API break, but I don't see any other option.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|