aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary module wrapping for MockProgramCollect魏曹先生10 days1-91/+87
|
* Add shared `MockProgramCollect` and conditional `Groupped` bounds魏曹先生10 days5-135/+188
| | | | | | Extract duplicate `MockCollect` implementations into a reusable `MockProgramCollect` type. Conditionally require `Serialize` on the `Groupped` trait when the `general_renderer` feature is enabled.
* Move to_chain and to_render to Groupped trait魏曹先生10 days1-0/+16
|
* Add unit and integration tests for mingling_coreWeicao-CatilGrass2026-06-0921-0/+2540
|
* Add COMPLETION_SUBCOMMAND and is_completing methodWeicao-CatilGrass2026-06-092-0/+30
|
* Add get_args method to ProgramWeicao-CatilGrass2026-06-091-0/+6
|
* Remove misleading SAFETY comment in LazyRes force_initWeicao-CatilGrass2026-06-091-2/+2
|
* Replace `OnceLock<Option<Box<dyn Any>>>` with custom `ProgramCell` typeWeicao-CatilGrass2026-06-094-23/+107
| | | | | Reduces indirection and allows taking ownership of the program instance for proper cleanup before `process::exit()`
* Add on-drop callback support to `LazyRes`Weicao-CatilGrass2026-06-081-20/+145
|
* Refactor LazyRes to use enum and drop factory after init魏曹先生2026-06-071-72/+113
|
* Add LazyRes for lazy resource initialization魏曹先生2026-06-073-3/+148
|
* Remove unused import of ProgramPanic魏曹先生2026-06-071-4/+1
|
* Rename `ExitCode` to `ResExitCode` and `REPL` to `ResREPL`魏曹先生2026-06-064-9/+14
|
* Add stdout and user context configuration fields魏曹先生2026-06-051-0/+44
|
* Make `exec_repl` take `mut self` to consume internal state魏曹先生2026-06-051-1/+1
|
* Add verbose and dry_run fields as convention-only options魏曹先生2026-06-051-3/+17
|
* Exclude all hidden nodes from completion filteringWeicao-CatilGrass2026-06-051-1/+1
|
* Refactor flag argument macros for better performanceWeicao-CatilGrass2026-06-011-28/+24
|
* Change `ProgramSetup::setup` to consume `self` instead of borrow魏曹先生2026-06-011-4/+3
|
* Enhance code quality across the entire codebaseWeicao-CatilGrass2026-05-3127-120/+225
|
* Fix trailing space and partial match bugs in default completion魏曹先生2026-05-311-6/+27
|
* Add unpack_chain_process macro and improve test docs魏曹先生2026-05-311-2/+141
|
* Rename error types with consistent naming convention魏曹先生2026-05-292-4/+5
|
* Support custom return types in `#[renderer]` macroWeicao-CatilGrass2026-05-221-0/+12
|
* Rename injected renderer parameter from `r` to `__renderer_inner_result`Weicao-CatilGrass2026-05-221-2/+2
|
* Update `modify_res` to return `Return` and rename internal method魏曹先生2026-05-211-4/+7
|
* Change `repl_post_readline` hook to accept mutable line reference魏曹先生2026-05-212-8/+8
|
* Refactor REPL hooks into modular setups and add new hook types魏曹先生2026-05-212-13/+156
|
* Add `empty_result!` macro and `REPL` resource, improve examples魏曹先生2026-05-193-3/+29
|
* Conditionally disable panic unwind support for async feature魏曹先生2026-05-193-45/+62
|
* Add REPL pre/post readline hooks and suppress dead code warnings魏曹先生2026-05-182-26/+78
|
* Implement REPL execution with hooks and argument splitting魏曹先生2026-05-188-54/+413
|
* Refactor program module into submodules魏曹先生2026-05-185-323/+361
|
* Move hook execution into the async and sync run methods魏曹先生2026-05-182-2/+6
|
* Add documentation comments to chain and error enumsWeicao-CatilGrass2026-05-183-0/+35
|
* Add no-return-value mode for `#[chain]` macroWeicao-CatilGrass2026-05-171-0/+4
|
* Add repr(u8) to bool and NextProcess enumsWeicao-CatilGrass2026-05-171-0/+1
|
* Rename `NextProcess` to `Next` across the codebaseWeicao-CatilGrass2026-05-173-17/+17
|
* Add allow(dead_code) annotation to run_hook_exec_panic魏曹先生2026-05-161-0/+1
|
* Add mutable resource injection to `#[chain]` macro魏曹先生2026-05-161-0/+34
|
* Refactor general_renderer into granular format-specific features魏曹先生2026-05-163-0/+33
|
* Remove thiserror dependency and implement error types manually魏曹先生2026-05-153-22/+79
|
* Replace derive-macro Display impl with manual formatting魏曹先生2026-05-151-1/+12
|
* Add option to silence panic messages in stdout settings魏曹先生2026-05-152-0/+24
|
* Inline `strip_all_flags` and simplify `ShellContext` methods魏曹先生2026-05-152-22/+19
| | | | | | | | Simplify `strip_all_flags` by using `Vec::retain` instead of reallocating. Update doc examples to use `ShellContext` methods directly instead of the now-removed `ShellContextHelper`. Rename `as_picker` to `to_picker` for consistency with Rust conventions. Mark doc tests as `ignore` and add necessary imports.
* Add panic catch for program execution魏曹先生2026-05-156-24/+95
|
* Rename `set_instance_and_run` to `exec_wrapper` and remove doc comments魏曹先生2026-05-151-6/+4
|
* Add `modify` method to `ResourceMarker` trait魏曹先生2026-05-151-2/+12
|
* Migrate exit code control to resource-based systemWeicao-CatilGrass2026-05-138-298/+10
|
* Remove installation module behind builds featureWeicao-CatilGrass2026-05-132-78/+0
|