Permalink
Commits on Jul 9, 2012
  1. make release: Don't edit temporary merge message

    This message gets overwritten later with a proper commit message.
    committed Jul 9, 2012
  2. Pass lib.loc to getTikzDeviceVersion

    When packages are loaded from a directory not on the R library path, such as by
    using `library(..., lib.loc = '/some/directory')`, then functions like
    `system.file` don't work correctly unless `lib.loc` is passed.
    
    This fixes a CRAN warning in R-devel.
    committed Jul 9, 2012
  3. make vignette: Compact PDF files after creation

    Requires qpdf and ghostscript to be installed. This cuts the size of the
    vignette PDF by ~50% and prevents some CRAN warnings.
    committed Jul 9, 2012
  4. make check: Run R CMD check with --as-cran

    Adding the `--as-cran` flag enables additional checks that get run on the CRAN
    servers.
    committed Jul 9, 2012
Commits on Apr 20, 2012
Commits on Feb 5, 2012
  1. Fix multiple function documentation in tikzAnnotate.R

    Proper roxygen2 way to mark multiple functions for consolidation in the same
    `.Rd` file is to use the `@rdname` directive.
    committed Feb 5, 2012
  2. Merge docs for getLatexStrWidth and getLatexCharMetrics

    Both functions do pretty much the same thing---no sense in maintaining two
    manpages that are 90% identical.
    committed Feb 5, 2012
  3. Pass package arguments from C functions

    Pass `documentDeclaration` and `packages` when `getLatexStrWidth` and
    `getLatexCharMetrics` are called from the C level. This ensures these arguments
    are honored if passed to `tikz` when the device is created.
    
    Fixes #59.
    committed Feb 4, 2012
  4. Add package arguments to metrics functions

    `getLatexStrWdith` and `getLatexCharMetrics` now take `documentDeclaration` and
    `packages` as parameters.
    committed Feb 4, 2012
Commits on Jan 27, 2012
  1. Set default CRAN mirror for make deps task

    We need a mirror set or R will simply roll over and die with an error.
    committed Jan 27, 2012
  2. Add unit and grid.draw to grid imports

    This satisfies a note from `R CMD CHECK` about global functions with no visible
    bindings.
    committed Jan 27, 2012
  3. Merge branch 'bugfix/filehash-interrupts'

    Fixes #55.
    committed Jan 27, 2012
  4. Protect calls to Filehash from user interrupts

    Calls to Filehash have been protected using `evalWithoutInterruptions`. This
    should prevent rogue lockfiles and corrupted databases.
    
    Calls which needed to be protected:
    
      - dbExists
    
      - dbFetch
    
      - dbInsert
    
    These all invoke the acquisition of a lockfile. `dbExists` does this indirectly by
    calling `dbList` which actually acquires the lockfile.
    committed Jan 23, 2012
  5. Add new internal function evalWithoutInterrupts

    This function will allow R expressions, such as calls to write objects to
    filehash databases, to be evaluated inside a context where they are protected
    from user interrupts.
    committed Jan 23, 2012
  6. Squelch normalizePath 'nonexistent directory' warnings

    After R 2.13.0, the `normalizePath` function throws annoying warnings whenever
    it is used to expand a path to a directory that does not exist yet.
    committed Jan 27, 2012
  7. Disable raster reflection test on R 2.12.x

    2.12.x does not have the `useRaster` argument to `image` that is used by this
    test.
    
    Interesting aside: This test causes pdfTeX to run out of memory and may be a
    good candidate for optimization.
    committed Jan 27, 2012
  8. Update testsuite for ggplot 0.9.0

    Version 0.9 of ggplot2 contains some dramatic changes compared to previous
    versions. This requires some version-specific testing code.
    
    After loading ggplot2, the existance of the `scale_y_probit` function is tested
    to determine which version we are using as this function was pruned from
    ggplot2 in version 0.9.
    committed Jan 27, 2012
  9. Port testing framework to testthat 0.6

    Straight port of test drivers which using the Mutatr classes of testhat 0.5 and
    below to reference classes. Reference classes were introduced in R 2.12.0 and
    are used by testthat 0.6.
    
    Fixes #56.
    committed Jan 26, 2012
Commits on Jan 12, 2012
  1. New test for raster graphics with reflected axes

    This tests the behavior reported in issue #53. The behavior of the R graphics
    engine in this situation may change in future versions of R as Paul Murrell
    indicated reflected axes are a situation he had not thought about. This test
    should detect any changes that affect the tikzDevice.
    committed Jan 12, 2012
  2. Don't reset par after creating raster output

    The call to `on.exit(par())` appears to be causing the problems mentioned in
    issue #54. The call shouldn't be necessary, as any changes to par should
    disappear when the PNG device is closed. Additionally, the graphics engine
    restores parameters at the end of a raster output call.
    
    Fixes #54.
    committed Jan 12, 2012
Commits on Jan 10, 2012
  1. Allow TikZ_Raster to handle negative width or height

    The interpretation of a raster image with a negative width or height is
    ambiguous. This patch causes `tikz` to mimic the behavior of `pdf` where a
    negative width or height will cause the raster to be flipped along that
    dimension.
    
    Fixes #53.
    committed Jan 8, 2012
Commits on Jan 8, 2012
  1. Make tikzFooter empty by default

    Adding `\end{document}` statements is taken care of by the C code and allowing
    this to be overriden would be a bit messy.
    committed Jan 8, 2012
Commits on Jan 2, 2012
  1. Print footer when closing standAlone plots

    Fixes #52.
    committed Jan 2, 2012
  2. Bump required R version to 2.12.0 or newer

    Removes the need for some preprocessor statements that protect the Polypath
    function. And frankly, I'm not going to bother testing more than three versions
    of R.
    committed Dec 27, 2011
Commits on Dec 27, 2011
  1. Re-work imports in cacheMetrics.R

    Instead of importing the whole filehash package, each function in
    `cacheMetrics.R` is now tagged with an `@importFrom` directive that specifies
    the required filehash functions.
    committed Dec 27, 2011
  2. Replace evalq by directenvironment access in cacheMetrics.R

    Using direct environment access to manipulate the metrics dictionary in
    `.tikzInternal` rather than `evalq` removes the need for some crufty code.
    Also, `R CMD check` no longer prints a NOTE concerning no visible binding for a
    `dictionary` varible.
    
    `R CMD check` is now completely clean for the first time in years!
    committed Dec 27, 2011
  3. Update release task in makefile

    Using `make release` should actually do something useful now. Note that it
    probably won't work on Windows.
    committed Dec 27, 2011
  4. Merge branch 'feature/luatex'

    Add support for LuaLaTeX. The LuaTeX engine is still considered "beta" but is
    very stable and should hit version 1.0 somewhere in 2012-13. Compared to XeTeX,
    LuaTeX has native support for UTF8 but better support for PDF output. This is
    because LuaTeX renders directly to PDF rather than routing DVI through
    `xdvipdfmx`. As a consequence, XeTeX cannot produce TikZ transparency or path
    patterns but LuaTeX and pdfTeX can.
    
    Fixes #28.
    committed Dec 27, 2011
  5. Add LuaLaTeX to the test suite

    Not much of a test---just copied the XeTeX test for UTF8 characters. However,
    the testsuite has been generalized such that it is easier to switch between
    pdfTeX, XeTeX and LuaTeX.
    committed Dec 27, 2011
  6. Add LuaTeX to package documentation

    Add notes concerning LuaTeX and UTF8 to the top-level manpage.
    committed Dec 27, 2011
  7. Add support for LuaLaTeX at the R level

    Added package options and support for using `luatex` as an engine.
    committed Dec 25, 2011
  8. Add support for LuaTeX at the C level

    LuaTeX is now a part of the tikz_engine enumeration and is represented in all
    applicable switch statements. Support still needs to be added at the R level.
    committed Apr 20, 2011
  9. Merge branch 'maintenance/refactor-onLoad'

    Re-worked and generalized the machinery that locates TeX compliers.
    
    Closes #43.
    committed Dec 27, 2011
  10. Add tikzCompilerInfo function

    This function reports information concerning the compilers used by the
    tikzDevice.
    committed Dec 26, 2011