aboutsummaryrefslogtreecommitdiff
path: root/mingling_core
Commit message (Collapse)AuthorAgeFilesLines
* feat(workspace): add mingling_pathf crate and pathf feature魏曹先生43 hours2-0/+6
|
* docs: improve documentation, mark internal items as `#[doc(hidden)]`魏曹先生2 days6-4/+65
| | | | | | | | Add module-level docs for the hook system, enhance doc examples for macros with usage syntax, fix typos in cross-references, and hide internal debugging macros and mock types from public documentation
* feat(macros): add async mutable resource injection for `#[chain]`魏曹先生2 days1-0/+38
| | | | | | | Support `&mut T` resource parameters in async chain functions by using an extract-store pattern that avoids holding mutable borrows across await points. Remove the previous compile-time rejection of this combination.
* feat: add From<()> for ChainProcess with empty result routing魏曹先生2 days1-1/+7
|
* fix(core): respect exit code when render output is suppressed魏曹先生2 days1-9/+16
|
* refactor(general_renderer): rename to structural_renderer魏曹先生4 days22-185/+185
|
* feat(core): decouple structured output from Groupped trait魏曹先生4 days7-115/+105
| | | | | | | Introduce `StructuralData` sealed trait and `pack_structural!` / `group_structural!` / `derive(StructuralData)` macros to control structured rendering separately from grouping. `Groupped` no longer requires `Serialize`.
* Pass current context through hook control and support conversion魏曹先生5 days2-117/+216
|
* Redesign hook system with structured info types and ProgramControls魏曹先生5 days9-318/+817
|
* Move flag tests to separate module and clean up deref patterns魏曹先生6 days8-367/+366
|
* Replace macro_rules dispatch with proc-macro generation魏曹先生7 days1-73/+0
| | | | | | | | Generate `render()` and `do_chain()` match dispatch directly in `program_final_gen`, using a compile-time `ASYNC_ENABLED` constant to select the correct sync/async signature. Removes the `__dispatch_program_renderers!` and `__dispatch_program_chains!` macros from `mingling_core`.
* Remove unnecessary module wrapping for MockProgramCollect魏曹先生10 days1-91/+87
|
* Add shared `MockProgramCollect` and conditional `Groupped` bounds魏曹先生10 days7-258/+196
| | | | | | 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
|
* Update repository URLs to mingling-rs organizationWeicao-CatilGrass2026-06-101-5/+5
|
* Add unit and integration tests for mingling_coreWeicao-CatilGrass2026-06-0939-0/+4361
|
* 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-3128-120/+229
|
* 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
|
* Replace license files with symlinks to root魏曹先生2026-05-292-211/+2
|
* 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
|
* Remove `once_cell` dependency and replace with `OnceLock`魏曹先生2026-05-211-1/+0
|
* 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
|