summaryrefslogtreecommitdiff
path: root/src/cairo-output-stream-private.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow > 2GB PDF files on platforms with 32-bit longAdrian Johnson2021-09-021-2/+2
|
* Mark recently added _cairo_output_stream_print_matrix private symbolBryce Harrington2014-03-131-1/+1
| | | | | | This fixes a distcheck error about a local PLT entry. Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
* pdf/ps: avoid outputting excess decimal places in matricesAdrian Johnson2013-12-071-0/+5
| | | | | | | | | | Sometimes as a result of rounding errors in matrix transformations the matrices in ps/pdf output look like: 0.000000000000000061 1 1 -0.000000000000000061 0 842 cm This patch rounds to zero matrix elements that are very small compared to other elements in the same matrix.
* Convert mime data length to use unsigned longChris Wilson2010-07-101-1/+1
| | | | | | | What we want to use is size_t, but we don't want the implied POSIX dependency. However, POSIX does say that size_t is an unsigned integer that is no longer than a long, so it would appear safe to use an unsigned long as a replacement. Safer at least than unsigned int.
* Update FSF addressAndrea Canciani2010-04-271-1/+1
| | | | | | | | | | | I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
* Add xml surfaceChris Wilson2009-08-291-0/+4
| | | | | | | A very simple surface that produces a hierarchical DAG in a simple XML format. It is intended to be used whilst debugging, for example with the automatic regression finding tools of cairo-sphinx, and with test suites that just want to verify that their code made a particular Cairo call.
* Add CairoScript backend.Chris Wilson2008-11-131-4/+15
| | | | | | | | | | A new meta-surface backend for serialising drawing operations to a CairoScript file. The principal use (as currently envisaged) is to provide a round-trip testing mechanism for CairoScript - i.e. we can generate script files for every test in the suite and check that we can replay them with perfect fidelity. (Obviously this does not provide complete coverage of CairoScript's syntax, but should give reasonable coverage over the operators.)
* [png] Attach the png representation to cairo_surface_create_from_png().Chris Wilson2008-11-051-0/+5
| | | | | Attach the original png data as an alternate representation for image surfaces created by cairo_surface_create_from_png().
* Mark private symbol soBehdad Esfahbod2008-09-111-1/+1
|
* Add null output streamAdrian Johnson2008-09-111-0/+4
|
* Revamp the build system.Behdad Esfahbod2008-09-021-0/+4
| | | | | | | | | | | | | | | | | Quick summary of changes: - Move list of cairo source files out of src/Makefile.am and into src/Sources.mk, - Generate files src/Config.mk and src/Config.mk.win32 that choose the right set of source files and headers based on configured backends and features. This drastically simplifies building using other build systems. The src/Makefile.win32 file needs to be updated to reflect these changes. - Add README files to various directories, - Add toplevel HACKING file.
* [ps] Mark the hex data as unsigned char.Chris Wilson2008-08-261-1/+1
| | | | Use unsigned char to avoid sign extensions issues when bit shifting.
* Fix now-detected doc formatting issuesBehdad Esfahbod2008-06-011-2/+2
|
* Make _cairo_dtostr() staticAdrian Johnson2008-03-201-3/+0
| | | | It is only used in cairo-output-stream.c
* [cairo-output-stream] Add format(printf) markup.Chris Wilson2008-02-151-2/+4
| | | | | Add CAIRO_PRINTF_FORMAT attribute to the printf-esque output stream functions, and fixup the one warning caught by the compiler.
* [doc] Replace 'NOTE' by 'Note' and add it to testBehdad Esfahbod2008-01-281-1/+1
|
* [doc] Make sure all function names in docs are followed by ()Behdad Esfahbod2008-01-281-2/+1
|
* [doc] Make sure all macro names in docs are prefixed by %Behdad Esfahbod2008-01-281-3/+3
|
* [cairo-output-stream] Introduce _cairo_output_stream_create_in_error()Chris Wilson2008-01-161-0/+3
| | | | | | | Use a utility function to wrap an incoming error status into a new error stream. As a side-effect, all error streams must be destroyed as in the general case the caller can not distinguish between a static error object and one allocated to hold an unusual error status.
* Move GCC attributes wrapping into a separate header.Chris Wilson2007-09-251-0/+1
| | | | | | | The wrapping of GCC attributes (such as cairo_private) needs to be visible to any header file, including those that avoid cairoint.h such as cairo-boilerplate. To achieve this we move the pre-processor magic to its own header file and include it as required.
* Remove include of cairoint.h from *-private.h header files.Carl Worth2007-08-231-1/+0
| | | | | | | | | | | | These were recently added, (as part of sparse integration?), but they break boilerplate which reaches into at least cairo-types-private.h and cairo-scaled-font-private.h. But boilerplate cannot see cairoint.h or else it gets the internal sybol renaming, (with the INT_ prefix), and then all the test suite tests refuse to link. If this change reverts some recently-added functionality, (or cleanliness), then we'll just need to find some other way to add that back again without the breakage.
* [Makefile.am] Add target sparse to run sparse static source code analyzerBehdad Esfahbod2007-08-221-0/+1
| | | | There are still some bits not quite working.
* [pdf] Move cairo_pdf_surface_t to cairo-pdf-surface-private.hBehdad Esfahbod2007-04-211-1/+1
|
* Change _cairo_dtostr to have a void return typeCarl Worth2007-04-101-1/+1
| | | | | | | | | | | As previously implemented, there's no essential information in the return value from _cairo_dotostr, (the caller can simply use strlen to recompute the same value, which is what the only caller is already doing). There would be real information in a return value which would return the result from the call to snprintf for the case where the buffer is not large enough for the number being printed.
* Make sure all nil objects start with _cairo_Behdad Esfahbod2007-04-031-1/+1
| | | | | | | | | Previously, the convention was that static ones started with cairo_, but renamed to start with _cairo_ when they were needed from other files and became cairo_private instead of static... This is error prune indeed, and two symbols were already violating. Now all nil objects start with _cairo_.
* Add cairo-deflate-stream.cAdrian Johnson2007-01-171-0/+4
| | | | | Add a new stream type that compresses the stream using the zlib deflate method. This is intended for use by the PDF surface.
* Make _cairo_output_stream_destroy return the stream's status as a last gasp.Carl Worth2006-09-071-3/+9
|
* Actually add src/cairo-output-stream-private.h.Kristian Høgsberg2006-06-141-0/+156