| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Add dispatcher aliases `ra-lint`, `ra-lint-clippy`, and
`ra-lint-check` that forward to the existing linter with
preset flags for JSON output and optional checkers
|
| | |
|
| |
|
|
|
| |
Support file-level lint checks via `check_file` in lint registry
template.
|
| |
|
|
|
|
| |
Use `quote` token stream matching instead of debug formatting
to detect variable references in `unnecessary_render_result_creation`,
fixing false positives from string-based matching.
|
| |
|
|
|
|
| |
Add `assert_detected!` and `assert_not_detected!` macros to simplify
writing lint tests, along with initial test coverage for the
unnecessary render result creation linter.
|
| |
|
|
|
|
|
|
|
| |
Extend the `unnecessary_render_result_creation` lint to also flag uses
of
`RenderResult::default()` and `RenderResult::from(...)`, and add
`#[derive(Default)]` to `MlintReport` and `MlintLevel` to simplify
struct
instantiation
|
| |
|
|
| |
Group dependencies by purpose with inline comments for clarity
|
| |
|
|
| |
generation
|
| | |
|
| | |
|
| |
|
|
| |
pipeline error routing
|
| |
|
|
|
| |
Introduce `metadata` and `mlint` subcommands, wire up `cargo_metadata`
for manifest analysis, and enable procedural macro support in editors
|
| |
|
|
|
|
|
|
| |
Remove the `origin_return_type` parameter and replace the generic `Into`
conversion with a direct call to `Routable::<#program_type>::to_chain`.
For non-unit returns, also wrap the function call expression in
`to_chain()` upfront to satisfy the `ChainProcess<C>` requirement of
`__modify_res_and_return_route`.
|
| |
|
|
|
|
|
|
|
|
| |
Add `AnalyzeItem::foreign()` and `AnalyzeItem::local()` constructors to
distinguish items resolved via `use` imports from local definitions.
Update `GroupPattern` to collect use imports at file and module levels,
resolving `group!(TypeName)` against them. Migrate all pattern
implementations to use the new constructors, and adjust
`type_mapping_builder` to skip the file's own module prefix for foreign
items.
|
| |
|
|
|
|
|
| |
Make `StructuralData` and `StructuralDataSealed` generic over a program
collector type to bypass the orphan rule for `group_structural!`. This
enables external types to implement `StructuralData<crate::ThisProgram>`
without violating coherence.
|
| |
|
|
| |
patterns
|
| | |
|
| |
|
|
|
|
|
| |
Implement `RenderResult::append_other()` to merge buffered content and
immediate output behavior from one result into another. Add the
`r_append!` macro with both explicit buffer (`dst, src`) and implicit
buffer (`src`) usage forms, re-exported from `mingling::prelude`.
|
| |
|
|
|
| |
Enables method chaining for `with_resource`, `with_dispatcher`,
`with_dispatchers`, `with_hook`, and `with_setup`
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Remove `Deref<Target=str>` and `render_text:String` in favor of
`render_buffer:Vec<(String, RenderResultMode)>` and an
`immediate_output`
flag. Add `RenderResultMode` enum, `r_eprint!`/`r_eprintln!` macros, and
new buffer manipulation methods (`append_to_buffer`, `eprint`, etc.).
Update `Display` to trim output and remove trailing newline. Migrate all
callers and tests away from `Deref` usage.
|
| | |
|
| |
|
|
|
| |
Add initial project structure for the mingling-cli scaffolding tool,
including Cargo manifest and entry point
|
| |
|
|
|
| |
The mling CLI tool is being rewritten, so remove all its source files,
resources, and workspace membership to clean up the repository
|
| | |
|
| |
|
|
|
|
|
| |
Add `#![deny(missing_docs)]` across multiple crates and fill in
documentation for all public items, including struct fields, enum
variants, trait methods, and proc macros. Also mark two shell scripts
as executable.
|
| |
|
|
|
|
| |
Use Option for load_pathf_map return type and emit a descriptive
compile_error when the type mapping file cannot be loaded, guiding users
to set up build.rs correctly
|
| |
|
|
|
| |
- 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
|