Skip to content

Commit e9b7866

Browse files
author
cranko
committed
Release commit created with Cranko.
+++ cranko-release-info-v1 [[projects]] qnames = ["tectonic_xdv", "cargo"] version = "0.2.2" age = 2 [[projects]] qnames = ["tectonic_errors", "cargo"] version = "0.2.1" age = 2 [[projects]] qnames = ["tectonic_xetex_format", "cargo"] version = "0.3.1" age = 2 [[projects]] qnames = ["tectonic_status_base", "cargo"] version = "0.2.1" age = 2 [[projects]] qnames = ["tectonic_io_base", "cargo"] version = "0.4.2" age = 2 [[projects]] qnames = ["tectonic_geturl", "cargo"] version = "0.3.2" age = 2 [[projects]] qnames = ["tectonic_docmodel", "cargo"] version = "0.2.1" age = 2 [[projects]] qnames = ["tectonic_dep_support", "cargo"] version = "0.1.1" age = 2 [[projects]] qnames = ["tectonic_cfg_support", "cargo"] version = "0.1.4" age = 13 [[projects]] qnames = ["tectonic_bundles", "cargo"] version = "0.3.1" age = 2 [[projects]] qnames = ["tectonic_bridge_icu", "cargo"] version = "0.2.0" age = 34 [[projects]] qnames = ["tectonic_bridge_graphite2", "cargo"] version = "0.2.2" age = 2 [[projects]] qnames = ["tectonic_bridge_harfbuzz", "cargo"] version = "0.2.8" age = 0 [[projects]] qnames = ["tectonic_bridge_freetype2", "cargo"] version = "0.2.0" age = 34 [[projects]] qnames = ["tectonic_bridge_flate", "cargo"] version = "0.1.7" age = 2 [[projects]] qnames = ["tectonic_bridge_core", "cargo"] version = "0.3.2" age = 2 [[projects]] qnames = ["tectonic_xetex_layout", "cargo"] version = "0.2.2" age = 2 [[projects]] qnames = ["tectonic_pdf_io", "cargo"] version = "0.4.1" age = 2 [[projects]] qnames = ["tectonic_engine_xetex", "cargo"] version = "0.4.2" age = 2 [[projects]] qnames = ["tectonic_engine_xdvipdfmx", "cargo"] version = "0.4.1" age = 2 [[projects]] qnames = ["tectonic_engine_spx2html", "cargo"] version = "0.3.0" age = 2 [[projects]] qnames = ["tectonic_engine_bibtex", "cargo"] version = "0.1.5" age = 2 [[projects]] qnames = ["tectonic", "cargo"] version = "0.13.1" age = 0 +++
2 parents 8c2a516 + dbacfe1 commit e9b7866

7 files changed

Lines changed: 89 additions & 62 deletions

File tree

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# tectonic 0.13.1 (2023-05-22)
2+
3+
- Fix a bug introduced in the previous release where custom commands in the
4+
`tectonic -X watch` mode broke (reported by [@LudvigHz] in [#1040], fixed by
5+
[@CraftSpider] in [#1041]).
6+
- Update the version of the vendored Harfbuzz library to the latest, 7.3.0
7+
([@pkgw], [#1042]), and a general update of Cargo dependencies
8+
9+
Big thanks to [@LudvigHz] and [@CraftSpider] for the prompt report and solution!
10+
11+
[#1040]: https://github.com/tectonic-typesetting/tectonic/issues/1040
12+
[#1041]: https://github.com/tectonic-typesetting/tectonic/pull/1041
13+
[#1042]: https://github.com/tectonic-typesetting/tectonic/pull/1042
14+
[@LudvigHz]: https://github.com/LudvigHz
15+
[@CraftSpider]: https://github.com/CraftSpider
16+
[@pkgw]: https://github.com/pkgw
17+
18+
19+
120
# tectonic 0.13.0 (2023-05-18)
221

322
This release of Tectonic adds some quality-of-life features and improves the

Cargo.lock

Lines changed: 39 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[package]
66
name = "tectonic"
7-
version = "0.13.0"
7+
version = "0.13.1"
88
authors = ["Peter Williams <peter@newton.cx>"]
99
description = """
1010
A modernized, complete, embeddable TeX/LaTeX engine. Tectonic is forked from the XeTeX

crates/bridge_harfbuzz/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# tectonic_bridge_harfbuzz 0.2.8 (2023-05-22)
2+
3+
- Update the vendored Harfbuzz to 7.3.0.
4+
5+
16
# tectonic_bridge_harfbuzz 0.2.7 (2022-10-04)
27

38
- On macOS, build with the preprocessor directive

crates/bridge_harfbuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[package]
77
name = "tectonic_bridge_harfbuzz"
8-
version = "0.2.7"
8+
version = "0.2.8"
99
authors = ["Peter Williams <peter@newton.cx>"]
1010
description = """
1111
Expose the Harfbuzz C/C++ APIs to Rust/Cargo.

crates/bridge_harfbuzz/harfbuzz

Submodule harfbuzz updated 581 files

src/bin/tectonic/v2cli.rs

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use tectonic_bundles::Bundle;
2424
use tectonic_docmodel::workspace::{Workspace, WorkspaceCreator};
2525
use tectonic_status_base::plain::PlainStatusBackend;
2626
use tokio::runtime;
27+
use watchexec::event::ProcessEnd;
2728
use watchexec::{
2829
action::{Action, Outcome, PreSpawn},
2930
command::{Command, Shell},
@@ -537,12 +538,19 @@ impl WatchCommand {
537538
.into_string()
538539
.expect("Executable path wasn't valid UTF-8");
539540
let mut cmds = Vec::new();
541+
542+
#[cfg(windows)]
543+
let shell = Shell::Cmd;
544+
#[cfg(unix)]
545+
let shell = Shell::Unix("bash".to_string());
546+
540547
for x in self.execute.iter() {
541548
let x = x.trim();
542549
if !x.is_empty() {
543-
let cmd = Command::Exec {
544-
prog: exe_name.clone(),
545-
args: vec!["-X".to_string(), x.to_string()],
550+
let cmd = Command::Shell {
551+
shell: shell.clone(),
552+
args: vec![],
553+
command: format!("{exe_name} -X {}", x),
546554
};
547555
cmds.push(cmd)
548556
}
@@ -555,23 +563,6 @@ impl WatchCommand {
555563
});
556564
}
557565

558-
#[cfg(windows)]
559-
let (shell, command) = (
560-
Shell::Cmd,
561-
"echo [Finished running. Exit status: %ERRORLEVEL%]",
562-
);
563-
#[cfg(unix)]
564-
let (shell, command) = (
565-
Shell::Unix("bash".to_string()),
566-
"echo [Finished running. Exit status: $?]",
567-
);
568-
569-
cmds.push(Command::Shell {
570-
shell,
571-
args: vec![],
572-
command: command.to_string(),
573-
});
574-
575566
let mut runtime_config = watchexec::config::RuntimeConfig::default();
576567
runtime_config.commands(cmds);
577568

@@ -611,6 +602,18 @@ impl WatchCommand {
611602
return Ok::<_, Infallible>(());
612603
}
613604

605+
for complete in event.completions() {
606+
match complete {
607+
Some(ProcessEnd::Success) => {
608+
println!("[Finished Running. Exit Status: 0]")
609+
}
610+
Some(ProcessEnd::ExitError(err)) => {
611+
println!("[Finished Running. Exit Status: {}]", err.get())
612+
}
613+
_ => (),
614+
}
615+
}
616+
614617
let paths = event.paths().collect::<Vec<_>>();
615618
if !paths.is_empty() {
616619
action.outcome(Outcome::IfRunning(

0 commit comments

Comments
 (0)