fe2o3_austenite/tests/sys_inputs.rs
2 operations, oldest first
created by r1870400018:74537, which is this file's identity for as long as the history lasts, whatever it is later renamed to
read the file · who wrote it · compare two states
An operation carries no clock of its own. Each row is therefore dated by the first mark written after it by the same replica, which is one copy of the repository, and that mark is where the command that wrote the operation ended.
+ signed and verified, ? signed by a key this forge does not carry, - unsigned
| Operation | Author | What | When | |
|---|---|---|---|---|
| + | r1870400018:74537 | replica 1870400018 | created fe2o3_austenite/tests/sys_inputs.rs | 33 days ago under "fe2o3_austenite: --input key=value reaches the document as sys.inputs, as typst compile --input gives it (D-20261018-03 U5) -- the library was one thread-local scope with an empty sys.inputs and no route to fill it. World now carries its library (Typst's World::library), built by eval::library_with_inputs: the shared scope when there are no inputs, else a copy whose sys module (foundations::sys_module) holds them as strings; eval_module, eval_string and call_closure evaluate against engine.world.library. Session::set_inputs folds a repeated key as Typst's dictionary does (first place, last value) and each compile builds its world with them; caches::configuration now hashes the inputs in the order given, since keys() and a for loop read that order (the order-is-not-a-change assertion in eval_session is turned round), and caches::sys_inputs, which read the empty library, is gone. compile::parse_input splits at the first =, trims key and value, and refuses a missing = or an empty key, naming the argument. CLI: --input on plain compiles, --explain, --watch (Bare), austenite build and austenite watch (Spec.inputs, kept across a settings reload); the curated reader refuses it by name. Adds austenite --version (crate version and engine commit). Tests tests/sys_inputs.rs (9: empty dictionary, one, several with a repeated key, .at with a default, sys.version unchanged, a session's new inputs move the configuration, the parse, watch/bare/build) and tests/sys_inputs_cli.rs (7: plain, --explain, build, none, the control, malformed refused, --version); red before (the installed binary read --input as the source and sys.inputs.at(\"engine\", default: none) gave none). Package suite green but for oracle corpus_roots_compile_and_match_the_typst_oracle (external corpus drift: oxeweb-techspec headings, float-fixture, baselines moved); Hematite guide 395 pages before and after" |
| + | r1870400018:74538 | replica 1870400018 | inserted 6.7 KiB | 33 days ago under "fe2o3_austenite: --input key=value reaches the document as sys.inputs, as typst compile --input gives it (D-20261018-03 U5) -- the library was one thread-local scope with an empty sys.inputs and no route to fill it. World now carries its library (Typst's World::library), built by eval::library_with_inputs: the shared scope when there are no inputs, else a copy whose sys module (foundations::sys_module) holds them as strings; eval_module, eval_string and call_closure evaluate against engine.world.library. Session::set_inputs folds a repeated key as Typst's dictionary does (first place, last value) and each compile builds its world with them; caches::configuration now hashes the inputs in the order given, since keys() and a for loop read that order (the order-is-not-a-change assertion in eval_session is turned round), and caches::sys_inputs, which read the empty library, is gone. compile::parse_input splits at the first =, trims key and value, and refuses a missing = or an empty key, naming the argument. CLI: --input on plain compiles, --explain, --watch (Bare), austenite build and austenite watch (Spec.inputs, kept across a settings reload); the curated reader refuses it by name. Adds austenite --version (crate version and engine commit). Tests tests/sys_inputs.rs (9: empty dictionary, one, several with a repeated key, .at with a default, sys.version unchanged, a session's new inputs move the configuration, the parse, watch/bare/build) and tests/sys_inputs_cli.rs (7: plain, --explain, build, none, the control, malformed refused, --version); red before (the installed binary read --input as the source and sys.inputs.at(\"engine\", default: none) gave none). Package suite green but for oracle corpus_roots_compile_and_match_the_typst_oracle (external corpus drift: oxeweb-techspec headings, float-fixture, baselines moved); Hematite guide 395 pages before and after" |