| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-27 | enable doctest | BenjaminBrienen | -3/+0 | |
| 2025-02-05 | Use interior mutability for loaded `ProcMacrorv::expanders` | Lukas Wirth | -16/+25 | |
| 2025-01-26 | Make proc_macro span's line & column 1-indexed, as documented | Chayim Refael Friedman | -4/+4 | |
| That is, make the fake number that we return 1 and not 0. | ||||
| 2025-01-20 | proc-macro-srv: make usage of RTLD_DEEPBIND portable | Fabian Grünbichler | -3/+9 | |
| the constant is wrong on some platforms (e.g., on mips64el it's 0x10, and 0x8 is RTLD_NOLOAD which makes all this functionality broken), the libc crate takes care of those differences for us. fallback to not setting the flag in non-glibc environments - some of them might have support for it using a different value that we don't know about, and some of them lack it entirely. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> | ||||
| 2025-01-10 | Re-implement rust string highlighting via tool attribute | Lukas Wirth | -2/+7 | |
| 2025-01-09 | Make edition per-token, not per-file | Chayim Refael Friedman | -69/+69 | |
| More correctly, *also* per-token. Because as it turns out, while the top-level edition affects parsing (I think), the per-token edition affects escaping of identifiers/keywords. | ||||
| 2025-01-03 | Merge pull request #18327 from ChayimFriedman2/flat-tt | Lukas Wirth | -262/+208 | |
| Store token trees in contiguous `Vec` instead of as a tree | ||||
| 2025-01-02 | Store token trees in contiguous `Vec` instead of as a tree | Chayim Refael Friedman | -262/+208 | |
| I expected this to be faster (due to less allocations and better cache locality), but benchmarked it is not (neither it is slower). Memory usage, however, drops by ~50mb (of `analysis-stats .`). I guess tt construction is just not hot. This also simplifies using even less memory for token trees by compressing equal span, which I plan to do right after. Some workflows are more easily expressed with a flat tt, while some are better expressed with a tree. With the right helpers, though (which was mostly a matter of trial and error), even the worst workflows become very easy indeed. | ||||
| 2024-12-31 | Implement `<RaSpanServer as SourceFile>::eq` | Lukas Wirth | -9/+9 | |
| 2024-12-30 | Cleanup proc-macro dylib handling | Lukas Wirth | -74/+74 | |
| 2024-12-30 | Decouple proc-macro server protocol from the server implementation | Lukas Wirth | -130/+69 | |
| 2024-12-29 | Enforce a current directory being set for spawned commands | Lukas Wirth | -0/+3 | |
| 2024-12-26 | internal: Workaround salsa cycles leaking | Lukas Wirth | -2/+2 | |
| 2024-12-18 | Remove salsa from proc-macro server dep tree | Lukas Wirth | -2/+2 | |
| 2024-12-15 | fix: Fix proc-macro dylib names on windows | Lukas Wirth | -6/+3 | |
| 2024-12-12 | Fix clippy lints in proc-macro-srv | Lukas Wirth | -10/+11 | |
| 2024-12-12 | Only parse the object file once | Lukas Wirth | -21/+19 | |
| 2024-12-11 | Fix copied proc-macros not being cleaned up on exit | Lukas Wirth | -59/+49 | |
| 2024-12-11 | Unload proc-macro dlls on changed timestamp | Lukas Wirth | -18/+31 | |
| 2024-10-31 | Remove support for compressed dylib metadata from rust-analyzer | bjorn3 | -14/+4 | |
| 2024-08-29 | fix: Fix TokenStream::to_string implementation dropping quotation marks | Lukas Wirth | -2/+7 | |
| 2024-08-29 | fix: Fix proc-macro server crashing when parsing a non-lexable string into a ↵ | Lukas Wirth | -3/+15 | |
| TokenStream | ||||
| 2024-08-06 | Replace `[package.repository] = "…"` of published crates with ↵ | Vincent Esche | -1/+1 | |
| `[package.repository.workspace] = true` | ||||
| 2024-08-06 | Add repository URL for published crates' missing `[package.repository]` fields | Vincent Esche | -0/+1 | |
| 2024-08-06 | Replace `"TBD"` with more helpful desciptions in published crates' ↵ | Vincent Esche | -1/+1 | |
| `[package.description]` fields | ||||
| 2024-08-05 | Auto merge of #17799 - Veykril:syntax-bridge, r=Veykril | bors | -9/+14 | |
| Split out syntax-bridge into a separate crate This functionality is not really tied to mbe macros, so imo it has no place in that crate. | ||||
| 2024-08-05 | Newtype ErasedFileAstId | Lukas Wirth | -4/+4 | |
| 2024-08-05 | Split out syntax-bridge into a separate crate | Lukas Wirth | -9/+14 | |
| 2024-07-18 | Encode edition within FileId in the hir layer | Lukas Wirth | -7/+7 | |
| 2024-07-17 | Add always disabled gen parse support | Lukas Wirth | -3/+4 | |
| 2024-07-16 | Switch token trees to use Symbols | Lukas Wirth | -47/+118 | |
| 2024-07-15 | Fix incorrect encoding of literals in the proc-macro-api on version 4 | Lukas Wirth | -1/+1 | |
| 2024-07-15 | Encode ident rawness and literal kind separately in tt::Leaf | Lukas Wirth | -136/+121 | |
| 2024-07-01 | Improve error message when the proc-macro server unexpectedly exits | Lukas Wirth | -0/+2 | |
| 2024-06-30 | Abstract proc-macro-srv protocol format | Lukas Wirth | -0/+1 | |
| 2024-06-30 | Actual dummy server for the server cli | Lukas Wirth | -1/+1 | |
| 2024-06-30 | Fix proc-macro-test build script | Lukas Wirth | -10/+17 | |
| 2024-06-30 | Faster env snapshotting in proc-macro-srv | Lukas Wirth | -84/+101 | |
| 2024-06-30 | Move proc-macro-test test path fetching from include to env var | Lukas Wirth | -5/+3 | |
| 2024-06-30 | Rename proc-macro-srv::server to server_impl | Lukas Wirth | -41/+42 | |
| 2024-06-30 | Move proc-macro-srv RUSTC_VERSION fetching from include to env var | Lukas Wirth | -16/+3 | |
| 2024-06-30 | Remove inline `rust_2018_idioms, unused_lifetimes` lint warn, Cargo.toml ↵ | Lukas Wirth | -4/+1 | |
| already enforces this | ||||
| 2024-06-30 | Move dylib version stuff to proc-macro-srv | Lukas Wirth | -23/+196 | |
| 2024-04-21 | Allow rust files to be used linkedProjects | Lukas Wirth | -0/+2612 | |
