| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
- Move PickerArg-to-PickerArgInfo conversion into an `into_info` method
- Add `short_flag()` and `long_flag()` methods to PickerArgInfo
|
| | |
|
| |
|
|
|
|
|
|
| |
Add `docs_rs` feature flag to enable docs.rs-specific configuration,
including `--generate-link-to-definition` and logo display.
Include the feature in build scripts, editor settings, and feature
constants for consistent documentation generation.
|
| |
|
|
|
| |
Use `--manifest-path mingling/Cargo.toml` instead of `--workspace` to
avoid generating documentation for unintended root workspace crates
|
| | |
|
| |
|
|
|
|
| |
Add a helper script `.run/src/bin/cov-test.rs` that generates
HTML coverage reports using `cargo llvm-cov` and moves the
output files to the `docs/cov-test/` directory
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Update all documentation and code examples to use the new
`#[renderer(buffer)]`
pattern with `r_println!` instead of manually constructing
`RenderResult`
with `writeln!`.
|
| |
|
|
|
|
|
|
|
|
|
| |
macros
Reintroduce `r_print!` and `r_println!` macros as public exports, now
supporting both explicit buffer argument and implicit `#[buffer]` attr.
Add `#[buffer]` attribute macro that wraps unit-returning functions to
produce a `RenderResult` with an automatically injected buffer variable.
Relax `RenderResult::print()` and `println()` to accept `impl
AsRef<str>`.
|
| |
|
|
|
|
|
|
|
|
|
| |
Refactor #[chain], #[renderer], #[help], and #[completion] macros to
keep
the original user function as a named item instead of inlining its body.
Trait method implementations now call the original function by name,
injecting resources from the application context.
This improves debugging (stack traces reference user function names),
error messages, and macro expansion clarity.
|
| |
|
|
|
|
|
|
|
|
| |
Remove the `Default` bound from `pick()` and `EntryPicker::pick()`,
allowing non-Default types to be used as arguments.
Add `IntoPicker::pick_or`, `pick_or_default`, and `pick_or_route`
convenience methods for common fallback patterns.
Fix token splitting in `arg!` macro to correctly handle angle brackets.
|
| |
|
|
| |
GETTING_STARTED.md
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Move routing methods exclusively to the `Routable` trait and update
all macro-generated code to reference `Routable` instead of `Grouped`
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Use the span of the `?` token when generating the macro invocation in
the `#[routeify]` transformation, so that rust-analyzer resolves hover
and go-to-definition on `?` to the `route!` macro's documentation
|
| |
|
|
| |
unhide logic
|
| |
|
|
|
| |
Move the REMAINS constant definition into arg_picker and re-export it
through mingling's constants module for unified access
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Restructure flat module layout into logical directories (attr/, derive/,
func/, systems/, extensions/, utils.rs). Tighten internal function
visibility to pub(crate). All public API signatures remain unchanged.
|
| |
|
|
|
|
|
| |
Implement an `extensions` module in `mingling_macros` that allows
attribute macros to accept extension identifiers (e.g., `routeify`)
which are re-dispatched as outer attributes before the core macro
logic runs, enabling extensibility without modifying existing macros
|
| |
|
|
|
|
|
|
|
|
|
|
| |
methods
Deprecate `ShellContext` methods `filling_argument_first`,
`filling_argument`, `typing_argument`, `strip_typed_argument`, and
`get_typed_arguments` when the `picker` feature is active, as they
do not work under all `ParserStyle` settings.
Add `#![allow(deprecated)]` to the affected modules to suppress
warnings from internal usage.
|
| |
|
|
| |
Mark all tasks as complete and finalize the checklist
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Add `Routable` implementation for `ChainProcess<ThisProgram>` to enable
direct routing of chain process values through the `route!` macro
without
double-wrapping, improving semantics and flexibility of error conversion
|
| |
|
|
|
|
| |
Introduce a `Routable` trait with `to_chain` and `to_render`
methods, replacing direct `Grouped` usage in the `route!` macro
so error branches correctly route through the rendering pipeline
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
enabled
|
| | |
|
| |
|
|
|
|
|
|
| |
BREAKING CHANGE: Remove `mingling_support` feature from arg-picker
crate. The
`EntryPicker` trait and `corebind` module are now part of the mingling
crate
directly, and `build_pattern1` is now a public method.
|
| |
|
|
|
| |
Move the inline `remains_arg` definition into a shared public constant
`REMAINS` and update all consumers to import it from the new location.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
API
Refactor six setup types into `mingling::setups::picker` to use chained
`PickerArg<Flag>` parsing, replacing direct `global_argument` access.
Add `get_args_mut`, `take_args`, and `replace_args` to `Program` for
enhanced argument control. These changes are gated behind the `picker`
feature, with legacy implementations preserved when the feature is off.
|
| | |
|