Commit Graph

15 Commits (cc5913e8120162db14d2bf653bf2380061613289)

Author SHA1 Message Date
Shuhei Kadowaki 3ddb1375eb yet another clean up:
- remove weird dispatches
- rm unused `result_no` field
2020-06-02 19:25:34 +09:00
Shuhei Kadowaki 2a6ee38850 fix code chunk line numbers 2020-05-16 19:52:24 +09:00
Shuhei Kadowaki 2376a9dae9 format things 2020-05-08 23:39:17 +09:00
schrimpf ab09bddcd8 change cache to work with figures (#158)
* Changed read/write cache to use serialize/deserialize instead of
JLD2. JLD2 fails to save strings longer than 2^16 characters, which
can occur in the stringmime() of large figures.

* Added test for cache with figures and html output.
Updated REQUIRE & Project.toml to include Serialization instead of
FileIO and JLD2

* Added "Import Pkg;" to expected output of errors, so that tests pass.
2019-01-03 15:40:32 +02:00
Matti Pastell 88d8665e03 Load JLD2 and FileIO only when cache is used 2018-01-07 20:01:18 +02:00
Matti Pastell 5bb5e8994c Switch to JLD2 for caching docs 2018-01-02 16:21:45 +02:00
Matti Pastell 3837142f9b Add cache/restore for inline code 2016-12-27 21:46:23 +02:00
Matti Pastell d75ae6d86b Fix cache_path and don't clean figures when caching.
Fixes #76
2016-12-23 10:25:23 +02:00
= da5ffa7794 Add restoring rich_output from cache 2016-05-02 23:21:34 +03:00
= 01a235fd88 Fix to deserialing cached content. Caching now works as previously documented and tests pass 2016-04-23 19:19:38 +03:00
= 6ef016cc5f Mostly fixed caching, echo=false needs fixing. Switched to JLD format. 2016-04-23 18:15:59 +03:00
Matti Pastell c5d91dd6c7 Removed unused code, tweaked test 2015-01-08 19:35:59 +02:00
Matti Pastell d19b374fe9 Implemented caching, added documentation and tests 2015-01-08 18:52:42 +02:00
Matti Pastell 6635eb5c74 Working on caching. Saving and restoring added, problems with formatting 2015-01-07 16:37:02 +02:00
Matti Pastell ee262e81a4 Fix: Documents run code in separate SandBoxes. Each document is executed in separate sandbox module instead of redefining the same one. Fixes warnings and occasional segfaults. 2015-01-07 12:22:32 +02:00