aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore: switch update source to checksum-verified static package魏曹先生31 hours4-213/+156
| | | | | | Replace GitHub API artifact discovery with a static base URL, verify the downloaded package by sha256, and record the applied checksum so the wrapper can report when mling is already up to date.
* feat: add self-update command for mling魏曹先生31 hours7-9/+1622
| | | | | | | | Add `mling update` to fetch the latest GitHub Actions artifact for the current platform, stage it as a tarball in the data directory, and apply it on the next wrapper invocation. The wrapper extracts the staged package over the installation directory while skipping the running executable, then removes the staged file.
* ci: parallelize package builds and publish with docs deploy魏曹先生31 hours1-23/+31
| | | | | | | Refactor the CI workflow to build distributable packages in parallel with checks, then upload them to the Pages deployment alongside documentation. Simplify artifact naming to use only the OS rather than commit SHA and date, and add SHA-256 checksums.
* chore: move lint registry to OUT_DIR魏曹先生32 hours3-6/+9
| | | | | Update registry generation to write to cargo's OUT_DIR and include it via env! instead of a static project-relative path.
* ci: add package-mling job to CI workflowunreleased0.4.0魏曹先生32 hours1-0/+49
|
* ci: update actions/checkout to v7魏曹先生32 hours2-4/+4
|
* docs: fix intra-doc links in mingling crate魏曹先生33 hours4-8/+8
|
* docs(changelog): mark 0.4.0 as released and add 0.5.0魏曹先生33 hours1-2/+25
|
* docs: add structural_renderer migration to roadmap魏曹先生33 hours1-0/+4
|
* refactor: rename Confirmer to ResConfirm and OSC94 to ResOSC94魏曹先生37 hours10-113/+157
| | | | | | Rename `Confirmer` resource to `ResConfirm`, `ConfirmerCount` to `ConfirmCount`, and `ConfirmerPredicate` to `ConfirmPredicate`. Update related setups, guards, and documentation references.
* feat: move OSC94 under its own module and add confirmer predicates魏曹先生38 hours11-379/+579
| | | | | | Extract OSC94 state and guard types from `res` into a dedicated `osc94` module, and add `ConfirmerCount` and `ConfirmerPredicate` types with `YesConfirm` and `TrueConfirm` implementations.
* chore: replace intra-doc links with plain code spans魏曹先生38 hours3-6/+6
|
* fix: only send clean state when supported魏曹先生2 days1-1/+3
|
* feat(res): add OSC94 resource and setup for terminal progress魏曹先生2 days6-0/+498
|
* feat(res): add Confirmer resource and stdin args setup魏曹先生2 days6-19/+469
| | | | | | | | Add Confirmer with cached confirmation state and predicate-based parsing for yes/no and true/false inputs. Add ConfirmerSetup to register the resource and auto-confirm when skip mode is enabled. Add StandardInputArgsSetup to read piped stdin as appended arguments. Reorganize module exports in res and setups.
* feat(core): add public ArgumentSplitter utility魏曹先生2 days5-21/+94
| | | | | | Move the REPL's argument splitting logic into a new public `utils` module exposing the `ArgumentSplitter` trait for reuse by downstream code.
* feat(core): allow pre_dispatch hooks to mutate arguments魏曹先生2 days6-23/+81
| | | | | | Change `HookPreDispatchInfo.arguments` from `&[String]` to `&mut Vec<String>` so hooks can rewrite command-line arguments before dispatch.
* chore(examples): add serde_yaml dependency to structural renderer魏曹先生2 days1-0/+26
|
* feat(core): replace immediate output flag with print hook system魏曹先生2 days2-48/+314
| | | | | | | | | Refactor `RenderResult` to support multiple user-defined print hooks via a new `RenderResultPrint` struct containing content and output mode. Add `bind_print_hook()` for custom sinks and reimplement `immediate_output()` as a built-in hook. Update manual `Clone`, `PartialEq`, `Eq`, and `Debug` implementations since hooks are opaque closures.
* feat(example-structural-renderer): add YAML output test case魏曹先生2 days3-0/+9
|
* refactor: parallelize example builds in test-examples tool魏曹先生2 days2-18/+33
| | | | | | Split test-examples into two phases: build all examples in parallel first, then run tests serially against pre-built binaries. Abort on any build failure instead of skipping tests for that example.
* refactor: move example tests into per-example test.toml files魏曹先生2 days30-431/+547
| | | | | | Replace the centralized `examples/test-examples.toml` with individual `test.toml` files in each example directory, updating the test runner and related documentation accordingly.
* docs: add pathf_export macro to roadmap魏曹先生2 days1-0/+25
|
* docs: add StringVec documentation and usage examples魏曹先生3 days1-1/+42
|
* docs: expand RenderResult documentation魏曹先生3 days1-10/+92
|
* feat(core): move config types to public config module魏曹先生3 days26-57/+95
| | | | | | | | | Refactor program configuration types into a dedicated public `config` module under `mingling_core`, making `StructuralRendererSetting` accessible via `mingling_core::config` instead of the crate root. Update all internal references and setup modules to use the new `config::` path convention.
* Remove stale comment from chain process tester魏曹先生3 days1-1/+0
|
* chore: add doc comment for MockProgramCollect魏曹先生3 days1-5/+24
|
* docs(metadata): expand Description documentation with examples and魏曹先生3 days1-2/+45
| | | | details
* chore: remove stale doc comments魏曹先生3 days8-8/+0
|
* docs(any): Expand docs for AnyOutput's methods and safety contract魏曹先生3 days1-32/+477
|
* feat: derive Clone, Copy, PartialEq, Eq for MockProgramCollect魏曹先生3 days1-0/+1
|
* chore: implement Debug for MockProgramCollect魏曹先生3 days1-0/+9
|
* docs(comp): improve documentation for completion module魏曹先生3 days5-50/+632
| | | | | | Add detailed doc comments, examples, and usage notes across the completion module including ShellContext, Suggest, and related traits.
* docs: enable running doctests in comp and pathf build modules魏曹先生3 days4-16/+102
|
* docs: update multiple dispatchers example to use chaining魏曹先生3 days2-52/+4
| | | | | | Replace the `with_dispatchers` tuple syntax with chained `with_dispatcher` calls to match the current API and remove the obsolete section about tuple-based registration.
* chore: remove stale comment from features.rs魏曹先生3 days1-1/+0
|
* refactor: replace with_dispatchers with chained with_dispatcher calls魏曹先生3 days4-9/+20
|
* chore(docs): fix intra-doc link formatting魏曹先生3 days5-10/+14
| | | | | | Replace intra-doc links with explicit URLs for types that are not accessible from the current module scope, and add missing panic documentation section.
* feat(collection): add Display impl for MockProgramCollect魏曹先生3 days1-0/+6
|
* chore: add "Doc Not Optimize" comments to source files魏曹先生3 days185-0/+185
| | | | | Mark all source files with a comment indicating they are not optimized for documentation purposes.
* docs: expand trait and type documentation with examples魏曹先生3 days12-174/+2214
|
* docs: Update 0.5.0 roadmap with dispatcher changes魏曹先生4 days1-7/+78
| | | | | Add breaking change for `with_dispatcher` removal, renumber feature items, and outline automated `dispatcher_tree` optimization plan.
* docs: add 0.5.0 roadmap issue魏曹先生4 days2-1/+44
|
* docs: rename command macro issue as solved魏曹先生4 days1-1/+1
|
* ci: add macOS to CI test matrix魏曹先生5 days2-4/+24
|
* ci: Refactor CI workflows into single check matrix魏曹先生5 days9-152/+217
| | | | | | Replace the separate code/docs CI jobs and local check flags with a unified `--check-*` flag system, enabling each check to run independently across a platform matrix.
* fix(cov-test): recolor coverage summary with project thresholds魏曹先生5 days1-0/+79
| | | | | | Apply project-specific color coding (0-50% red, 51-80% yellow, 81-100% green) to the per-file coverage summary in the generated HTML report, overriding llvm-cov's default thresholds.
* feat(cov-test): build examples with RUSTFLAGS for complete coverage魏曹先生5 days1-11/+60
| | | | | | Replace `cargo llvm-cov run` with explicit RUSTFLAGS-compiled examples to ensure dependency crates are instrumented, fixing silent coverage loss (e.g., once_exec.rs at 0%).
* ci: switch to forked cargo-llvm-cov and refactor coverage tests魏曹先生5 days2-15/+322
| | | | | | | | Refactor cov-test to collect coverage from workspace tests, integration test crates, and examples, merging them into a single HTML report. This requires the forked cargo-llvm-cov which supports including non-workspace binaries and test/example source files in the report.