Commit Graph

79 Commits (master)

Author SHA1 Message Date
Matthew Butterick 1d1cc0df84 fix comparison operator (fixes #271)
arguments are strings, so we need `equal?`
10 months ago
Matthew Butterick 7a7b7d49ee suppress obsolete tests 2 years ago
Matthew Butterick 173f9376ea respect the setting of `setup:render-cache-active` for template caching
templates were being cached regardless of the value of `setup:render-cache-active` because its value wasn’t being tested
2 years ago
Matthew Butterick 446c5fd39f render-batch: add explicit `output-paths` keyword argument 2 years ago
Matthew Butterick 00a96f4fda report the exception message when an error occurs
When a cache preheat or render fails, print the exception message that arose, which might be more helpful than the current policy of silence
2 years ago
Matthew Butterick cf7fbccc90 manually propagate `current-project-root` to parallel threads
When recursive mode is used, `current-project-root` changes during the extent of a render operation. But if parallel rendering is also used, when the main thread re-parameterizes `current-project-root`, it will have no effect on the parallel threads, because they freshly instantiate `current-project-root` (with its default value). This patch moves the parameterization inside the parallel thread by passing the `current-project-root` value as part of the job message, thereby handling it the same way as `current-poly-target`.
2 years ago
Matthew Butterick 7f2fbc11cc
Update render.rkt 3 years ago
Joel Dueck 85ad971b88
Specify external renderer via module and id (related to mbutterick/pollen-users#94) (#253)
* Specify external renderer via module and id

* faster external render check

* Update render.rkt

* rely on default exception messages, which are informative
3 years ago
Matthew Butterick a4910a86dc hook for external renderer 3 years ago
Matthew Butterick ae4aaefba1 simplify more paths 3 years ago
Matthew Butterick 9bd067552d adjustment 3 years ago
Matthew Butterick 3160a46beb
track render by source+output jobs (#240) 3 years ago
Matthew Butterick 1f1bee90fd correct pagetree rendering (fixes #237) 4 years ago
Matthew Butterick 8d443ba8e5
track ouput paths separately in batch render (fixes #236) (#238) 4 years ago
Matthew Butterick d96a9d9809 disable template cache in interactive session 4 years ago
Matthew Butterick 912ba088bf
downgrade certain setup values to constants & bump to 3.0 (#225) 4 years ago
Matthew Butterick a18766f53e word 4 years ago
Matthew Butterick cca0fa0848 nobody else would bother 4 years ago
Matthew Butterick 3b7c03f950 force render inside pagetrees 4 years ago
Matthew Butterick d61aea60ee Revert "add --force option to raco pollen render"
This reverts commit d2f7905a3d.
4 years ago
Matthew Butterick d2f7905a3d add --force option to raco pollen render 4 years ago
Matthew Butterick 16c11c6cda get thunky 4 years ago
Matthew Butterick da2f6313e7 cache template paths 4 years ago
Matthew Butterick ea25058349 todo 4 years ago
Matthew Butterick fc5ca9f659 add --null switch to `raco pollen render` (closes #24) 4 years ago
Matthew Butterick 73376e8faa reword error 4 years ago
Matthew Butterick 3043cc8bc4 fix handling of poly files in project server (fixes #212) 4 years ago
Matthew Butterick 43c981d06c handle cache reads outside of workers 5 years ago
Matthew Butterick f725632444 revert missing-file error (addresses #207) 5 years ago
Matthew Butterick eacc4da368 more user errors 5 years ago
Matthew Butterick c16979325e improve error messages (closes #207) 5 years ago
Matthew Butterick 70b975b2ce dead souls 5 years ago
Matthew Butterick ffade6761b move a message 5 years ago
Matthew Butterick 4583bce7b2 matchify loop 5 years ago
Matthew Butterick 2cd655246c default case 5 years ago
Matthew Butterick ae8122ce9b make parallel & non-parallel render accounting more consistent 5 years ago
Matthew Butterick 618c410062 small refac 5 years ago
Matthew Butterick 0345260119 better handling of job-count and completed-jobs 5 years ago
Matthew Butterick 20ab9371d8 comment on parallel rendering policy 5 years ago
Matthew Butterick 8fa727d140 refac loop 5 years ago
Matthew Butterick bc86b3632d recover from crashed parallel renders 5 years ago
Matthew Butterick bc9694ae05 tidier 5 years ago
Matthew Butterick d32b24edb5 tidy loop 5 years ago
Matthew Butterick 0a13cf5cb9 stronger removal of duplicates 5 years ago
Matthew Butterick 939575d550 add --jobs switch to render and setup 5 years ago
Matthew Butterick 7b47cac273 parallel-rendering fixes 5 years ago
Matthew Butterick 01828564ee suspend parallelism for now 5 years ago
Matthew Butterick fd8b965334 Tenacious P 5 years ago
Matthew Butterick b9551de05e fix parallel render inventory 5 years ago
Matthew Butterick 9dc89e35bc better error msgs for poly renders (addresses #205) 5 years ago