Skip to content
Commits on Mar 4, 2009
  1. @ickle

    [trace] Disable mark dirty tracing.

    ickle committed Mar 4, 2009
    Applications like firefox have a very conservative approach and mark
    surfaces dirty before every render. As we record the image data every
    time, firefox traces can grow very large with redundant data - so allow
    the user to disable mark dirty tracing.
Commits on Mar 3, 2009
  1. [pdf] Intialize 'interpolate'

    Jeff Muizelaar committed Mar 3, 2009
    Intialize 'interpolate' to prevent a gcc warning. Do this instead of adding a
    'default' case to the switch statement so that we still get warnings if new
    filter types are added.
  2. @ickle

    [truetype] Move the sizeof asserts to compile time.

    ickle committed Mar 3, 2009
    Eliminate the need for a runtime test on the sizeof the private structures
    by performing the check at compile time. This was provoked by Ginn Chenn
    noting that the test was including a private header.
  3. @ickle

    [configure] Detect mkdir variant with non-gcc compilers.

    Ginn Chen committed with ickle Mar 3, 2009
    It doesn't work for non GCC compiler right now, as "-Werror -Wall" is
    an error to non GCC compiler.
    I swapped the sequence of build/ and build/, then WARN_CFLAGS can be used.
  4. @ickle

    [test/any2ppm] Update the cairo-script-interpreter callback.

    ickle committed Mar 3, 2009
    Reflect the current prototype which now specifies the content to use when
    creating the surface.
  5. @ickle

    [test/any2ppm] Add feature checks for daemon()

    ickle committed Mar 3, 2009
    Add the feature checks for the presence of the daemon() function call.
Commits on Mar 1, 2009
  1. @ickle

    [path] Fix regression introduced with 005436

    ickle committed Mar 1, 2009
    The order of the multiplication of the CTM and device_transform was
  2. @ickle

    [test] Add regression test for 005436

    ickle committed Mar 1, 2009
    Jeff Muizelaar found a regression in commit 005436 and submitted this
    little test to exercise it. The essence of the bug appears to be wrt to
    the product of the CTM and device transform matrices.
Commits on Feb 27, 2009
  1. @ickle

    [in-fill] Close the path, cf fill()

    ickle committed Feb 27, 2009
    In order for in-fill treat the path equivalently to a fill, we need to
    close the path after interpretation.
Commits on Feb 26, 2009
  1. [win32] Include $(OPT) flags when linking cairo.dll

    Jeff Muizelaar committed Feb 26, 2009
    This will pass in -Zi which causes the /DEBUG flag to be passed to the
    linker keeping the debug information from being discarded during link.
Commits on Feb 24, 2009
  1. @ickle

    [ps] Check the status of _cairo_type3_glyph_surface_create()

    ickle committed Feb 24, 2009
    Doing so serves two purposes. The first is to do an early error check and
    the second is to clearly initialise the status variable.
  2. @ickle

    [scaled-font] Hold reference to original font face

    ickle committed Feb 15, 2009
    As noted by Carl during his LCA talk, caching of toy fonts was broken
    because we create the scaled font using the implementation font face and
    lose the reference to the containing font face that is cached by the toy
    font face create routines. So the toy fonts were not being preserved for
    the duration of the holdover scaled fonts and we recreated a new font
    face, new scaled font and new glyph caches every time we needed a font.
Commits on Feb 19, 2009
  1. Relanding: Add CAIRO_ENSURE_UNIQUE macro and use it in _cairo_error()

    Jeff Muizelaar committed Feb 19, 2009
    When using MSVC, _cairo_error() can be folded into other identical functions.
    If that happens, _cairo_error isn't really useful anymore. Using the
    CAIRO_ENSURE_UNIQUE macro makes sure this doesn't happen.
    Use __asm to serve as a line delimiter. This allows us to use the
    __asm{} block in a macro.
  2. Revert "Add CAIRO_ENSURE_UNIQUE macro and use it in _cairo_error()"

    Jeff Muizelaar committed Feb 19, 2009
    This reverts commit 126824f.
    It turns out MSVC doesn't handle line continuation characters in __asm{}
    blocks very well, so revert for now until I come up with something that
  3. Add CAIRO_ENSURE_UNIQUE macro and use it in _cairo_error()

    Jeff Muizelaar committed Feb 19, 2009
    When using MSVC, _cairo_error() can be folded into other identical functions. If
    that happens, _cairo_error isn't really useful anymore. Using the
    CAIRO_ENSURE_UNIQUE macro makes sure this doesn't happen.
  4. [test] Fix assert on default font family in toy-font-face

    Jeff Muizelaar committed Feb 19, 2009
    toy-font-face was checking that cairo_toy_font_face_get_family returned ""
    which is CAIRO_FONT_FAMILY_DEFAULT when the freetype font backend is the
    default. However, when other font backends are the default the returned family
    is different. Therefore, instead of checking for "", we check for the appropriate
    string depending on the backend.
Commits on Feb 18, 2009
  1. Fix a const warning in _cairo_user_data_array_foreach()

    Jeff Muizelaar committed Feb 18, 2009
    _cairo_user_data_array_foreach() was taking a function
    with a void *key parameter instead of a const void *key
    to match cairo_user_data_slot_t.
Commits on Feb 17, 2009
  1. Add test/Makefile.sources

    Jeff Muizelaar committed Feb 16, 2009
    This lets test/ and test/Makefile.win32 share a common list of sources.
    It also makes test/Makefile.win32 useful again.
Commits on Feb 16, 2009
  1. [sdl] Remove new backend.

    M Joonas Pihlaja committed Feb 16, 2009
    The SDL backend makes invalid assumptions about SDL_Surface locking
    semantics and doesn't deal correctly with the unpremultiplied pixel
    format supported by SDL.  Removed as per discussion on the mailing list.
  2. @sorensp
Commits on Feb 15, 2009
  1. @sorensp

    Delete _cairo_region_get_boxes() in favor of _cairo_region_get_box()

    sorensp committed with sorensp Feb 15, 2009
    The _cairo_region_get_boxes() interface was difficult to use and often
    caused unnecessary memory allocation. With _cairo_region_get_box() it
    is possible to access the boxes of a region without allocating a big
    temporary array.
  2. @sorensp
Commits on Feb 13, 2009
  1. [wince] We don't need cairo_win32_tmpfile on Windows CE

    Jeff Muizelaar committed Feb 13, 2009
    _cairo_win32_tmpfile() uses _open_osfhandle() which is not available
    on Windows CE. However, Windows CE doesn't have the permisions problems
    that necessitated _cairo_win32_tmpfile() in the first place so we can just
    use tmpfile() on Windows CE.
  2. @ickle

    [perf] Test non-antialiased fill.

    ickle committed Jan 28, 2009
    Just because the i915 can special case such fills using a single-pass
    tessellation in the stencil buffer.
  3. @ickle

    [perf] Env variable to ignore similar targets whilst benchmarking.

    ickle committed Jan 30, 2009
    Use CAIRO_TEST_IGNORE_SIMILAR to skip similar targets.
  4. @ickle

    [perf] Split can_run? into a separate precondition.

    ickle committed Feb 6, 2009
    Allow tests to skip unnecessary setup when pruning the list of perf cases.
  5. @ickle

    [perf] Extend range of testing.

    ickle committed Jan 30, 2009
    Primarily to test longer glyph runs, but also test large upper bounds for
    strokes and fills.
  6. @ickle

    [perf] Fix infinite loop in text

    ickle committed Feb 3, 2009
    The row would wrap-around with the character index, causing an infinite
    loop when trying to fill a window of size 512x512 and above.
  7. @ickle

    [test] Free ref_name in fallback-resolution.

    ickle committed Feb 13, 2009
    Trivial leak of a few thousand bytes.
  8. @ickle

    [path] Inline path ops during append_to_context()

    ickle committed Feb 3, 2009
    By inlining the operations, and most significantly, precomputing the
    combined user-to-backend matrix, we can achieve a speed up of over 50%,
    which is a noticeable performance boost in swfdec - where append-to-path
    accounts for over 35% [inclusive] of the time for a h/w accelerated
  9. @ickle

    Inline _cairo_restrict_value()

    ickle committed Jan 31, 2009
    This is one instance where the function call overhead dominated the
    function call in both time and size.
  10. @ickle

    [surface] Move the meta-data copy-on-snapshot to the generic layer.

    ickle committed Feb 13, 2009
    As pointed out by Paolo Bonzini, copying the meta data for a snapshot is
    common for all backends and so should be handled by the generic layer.
  11. @ickle

    [surface] Separate the mime-data from the user-data.

    ickle committed Feb 13, 2009
    Move the mime-data into its own array so that it cannot be confused with
    user-data and we do not need to hard-code the copy list during
    snapshotting. The copy-on-snapshotting code becomes far simpler and will
    accommodate all future mime-types.
    Keeping mime-data separate from user-data is important due to the
    principle of least surprise - the API is different and so it would be
    surprising if you queried for user-data and were returned an opaque
    mime-data pointer, and vice versa. (Note this should have been prevented
    by using interned strings, but conceptually it is cleaner to make the
    separation.) Also it aides in trimming the user data arrays which are
    linearly searched.
    Based on the original patch by Adrian Johnson:
  12. @ickle

    Merge branch '1.8'

    ickle committed Feb 13, 2009
  13. @ickle

    [cairo] Describe the restrictions upon cairo_set_tolerance()

    ickle committed Feb 13, 2009
    Truc Troung reported that the behaviour of
    cairo_set_tolerance()/cairo_get_tolerance() was inconsistent with the
    documentation, i.e. we failed to mention that the tolerance would be
    restricted to the smalled fixed-point value.
    Add a sentence to the documentation that describes the restriction without
    mentioning what that is... Hopefully that is sufficient detail to
    accommodate the reporter, without exposing internal implementation details.
    Bug 20095 - The cairo_set_tolerance() function behavior is inconsistency
    with the spec
Something went wrong with that request. Please try again.