aboutsummaryrefslogtreecommitdiff
path: root/mingling_core
Commit message (Collapse)AuthorAgeFilesLines
* refactor(core): move pathf module under builds and rename to buildHEADunreleasedmain魏曹先生7 hours3-52/+49
| | | | | | Migrate `mingling_core::pathf` into `mingling_core::builds::pathf` and re-export from `mingling::build`. Update all references from `mingling::builds` and `mingling::pathf` to `mingling::build`.
* fix(macros): pass pathf_map into dispatch tree generators魏曹先生8 hours1-2/+25
|
* feat(pathf): add dispatch tree config and pass feature to analyzer魏曹先生8 hours1-0/+17
| | | | | | | | Add `PathfinderConfig` struct to control dispatch tree extraction, and wire `use_dispatch_tree` through `DispatcherPattern`, `init_with_config`, and `analyze_and_build_type_mapping_for`. Expose config and wrapper from `mingling_core` under the `pathf` feature.
* chore: bump just_template to 0.2.0 across all examples and tests魏曹先生10 hours2-4/+28
|
* fix(deps): bump just_template to 0.2.0 and migrate to new API魏曹先生18 hours1-3/+3
|
* feat(pathf): add build-time type path resolution system魏曹先生37 hours2-1/+13
| | | | | | | Add `mingling_pathf` sub-crate and `pathf` feature for automatic resolution of Mingling type module paths at build time. Scans source files, identifies macro invocations via pattern matchers, and generates mapping files consumed by `gen_program!()`.
* chore: clean up Cargo.toml metadata and update lockfilesdev/mingling_pathf魏曹先生40 hours6-28/+28
|
* feat(workspace): add mingling_pathf crate and pathf feature魏曹先生42 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
|