6308082d23
Merge d4b0397fd1
into 5749b7df98
2025-09-03 15:26:20 +00:00
d4b0397fd1
fix some documentation
2025-09-03 10:26:14 -05:00
196a6344fe
remove comments and adjust some others
2025-09-02 23:19:24 -05:00
f47d9dfe4d
lint
2025-08-29 22:18:12 -05:00
43138a9dd3
remove
2025-08-29 22:17:16 -05:00
84f1073a1d
remove
2025-08-29 22:17:04 -05:00
8a63ebc3d2
remove
2025-08-29 22:16:51 -05:00
f7a1816de4
remove
2025-08-29 22:16:31 -05:00
f474f55b7a
remove
2025-08-29 22:11:06 -05:00
00fef522ad
weeeee
2025-08-29 22:09:56 -05:00
361d7e2598
stuf and thinggs
2025-08-29 21:06:52 -05:00
c685f53dec
Clean up more outdated documentation in db.rs
...
- Removed references to 'LspFileSystem' (now WorkspaceFileSystem)
- Removed verbose 'overlay' explanations (now using Buffers abstraction)
- Simplified struct field documentation to be accurate and concise
- Removed unnecessary mentions of 'Ruff's pattern' everywhere
The documentation now accurately reflects the current implementation
without verbose explanations of outdated architecture.
2025-08-29 17:05:38 -05:00
af8820b7bc
Fix outdated and incorrect db.rs documentation
...
The documentation was completely out of sync with the code:
- Referenced 'overlays in Session using Arc<DashMap>' when they're now in Buffers
- Mentioned 'LspFileSystem' which was renamed to WorkspaceFileSystem
- Was overly verbose without being helpful - 'vomit of words'
Rewrote to be concise and accurate:
- Correctly describes the current two-layer architecture
- Focuses on the critical revision dependency trick
- Removes outdated implementation details
- Uses proper cross-references
2025-08-29 16:57:14 -05:00
f6e7f9084e
Fix missing backticks in documentation
...
Fixed unclosed HTML tag warnings by adding backticks around:
- Generic types like Arc<DashMap>
- Type names in documentation like StorageHandle<Database>
- The word 'Arc' when referring to the type
2025-08-29 16:02:39 -05:00
89e979ba3f
Add cross-references and improve documentation consistency
...
- Added [] cross-references between related types
- Fixed parameter naming consistency (lsp_uri -> uri)
- Added Returns sections to document when functions return None
- Added example to url_to_path function
- Linked Buffers <-> WorkspaceFileSystem relationship
- Linked LanguageId -> FileKind conversion
2025-08-29 15:39:23 -05:00
f3fb8e7045
Improve documentation and consolidate path/URL utilities
...
- Added comprehensive module-level documentation to all djls-workspace modules
- Consolidated scattered URL/path conversion utilities into paths module
- Added documentation explaining the 'why' for key types and abstractions
- Added #[must_use] annotations to constructors and getters
- Focused on explaining architecture and design decisions rather than obvious behavior
2025-08-29 15:35:12 -05:00
2dd779bcda
Fix overlay bug: Salsa wasn't re-reading from buffers when files were opened
...
The core issue was that when a file was opened in the LSP, if it had already
been read from disk, Salsa would return cached content instead of reading
from the overlay system. This happened because opening a file didn't bump
its revision, so Salsa had no reason to invalidate its cache.
Key changes:
- Created Buffers abstraction to encapsulate shared buffer storage
- Fixed Session::open_document() to bump revision when file already exists
- Added comprehensive integration tests to verify overlay behavior
- Refactored WorkspaceFileSystem to use Buffers instead of raw DashMap
This ensures that overlays always take precedence over disk content, fixing
the issue where LSP edits weren't being reflected in template parsing.
2025-08-29 07:55:37 -05:00
21403df0ba
tests
2025-08-28 23:07:44 -05:00
96e0b81417
wowza
2025-08-28 22:54:41 -05:00
4e3446f6ee
wip
2025-08-27 15:37:29 -05:00
269d4bceae
lsp types
2025-08-25 13:19:52 -05:00
3bf25ac204
must use!
2025-08-25 13:11:13 -05:00
3131470cce
wip
2025-08-25 12:22:54 -05:00
541200cbb1
wip
2025-08-25 10:52:37 -05:00
20163b50f8
wip
2025-08-25 10:34:57 -05:00
fb768a86d5
wip
2025-08-25 10:14:43 -05:00
b6bc1664ac
wip
2025-08-25 05:54:56 -05:00
588b38c8c6
wip
2025-08-25 04:31:21 -05:00
48dacb277c
wip
2025-08-25 04:25:35 -05:00
74b6b5b56d
wip
2025-08-25 03:47:56 -05:00
75385e0254
workspace
2025-08-24 19:43:51 -05:00
5749b7df98
allow clippy to take arg
lint / pre-commit (push) Has been cancelled
lint / rustfmt (push) Has been cancelled
lint / clippy (push) Has been cancelled
lint / cargo-check (push) Has been cancelled
release / test (push) Has been cancelled
release / build (push) Has been cancelled
test / generate-matrix (push) Has been cancelled
zizmor 🌈 / zizmor latest via PyPI (push) Has been cancelled
release / release (push) Has been cancelled
test / Python , Django () (push) Has been cancelled
test / tests (push) Has been cancelled
2025-08-22 21:38:41 -05:00
1dfcf1d957
add complete Apache License, Version 2.0 text to LICENSE
...
lint / rustfmt (push) Has been cancelled
lint / clippy (push) Has been cancelled
lint / cargo-check (push) Has been cancelled
release / build (push) Has been cancelled
release / test (push) Has been cancelled
test / generate-matrix (push) Has been cancelled
zizmor 🌈 / zizmor latest via PyPI (push) Has been cancelled
lint / pre-commit (push) Has been cancelled
release / release (push) Has been cancelled
test / Python , Django () (push) Has been cancelled
test / tests (push) Has been cancelled
not sure why I only included the Appendix content when I last edited
this. oops!
2025-08-19 14:17:29 -05:00
2086f80cc0
reorganize server crate by moving workspace related code to submodule ( #182 )
test / generate-matrix (push) Has been cancelled
zizmor 🌈 / zizmor latest via PyPI (push) Has been cancelled
lint / pre-commit (push) Has been cancelled
lint / rustfmt (push) Has been cancelled
lint / clippy (push) Has been cancelled
lint / cargo-check (push) Has been cancelled
release / build (push) Has been cancelled
release / test (push) Has been cancelled
test / Python , Django () (push) Has been cancelled
test / tests (push) Has been cancelled
release / release (push) Has been cancelled
2025-08-17 22:50:46 -05:00
d0c745ff2a
Finish basic logging setup with tracing ( #181 )
lint / pre-commit (push) Waiting to run
lint / rustfmt (push) Waiting to run
lint / clippy (push) Waiting to run
lint / cargo-check (push) Waiting to run
release / release (push) Blocked by required conditions
release / build (push) Waiting to run
release / test (push) Waiting to run
test / generate-matrix (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
test / tests (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
2025-08-17 19:38:31 -05:00
dependabot[bot]
bdb562ebf2
Bump actions/download-artifact from 4 to 5 in the gha group ( #169 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-17 18:49:36 -05:00
aa917bd21d
Add Cargo.lock
and relax some dependency version constraints ( #179 )
2025-08-17 18:49:20 -05:00
352c50d1b4
Add unified file and LSP logging using tracing to server ( #178 )
2025-08-17 18:28:50 -05:00
fd0fc0a8d2
swap tmux shell script for Rust binary ( #177 )
2025-08-17 17:15:42 -05:00
1ceb972f0e
Add logging macros for tracing migration ( #176 )
2025-08-17 16:55:58 -05:00
7e9339ba86
update uv.lock for zig removal
2025-08-17 16:33:52 -05:00
52895a0458
bump rust toolchain to 1.88 ( #167 )
release / build (push) Has been cancelled
release / test (push) Has been cancelled
lint / clippy (push) Has been cancelled
lint / cargo-check (push) Has been cancelled
test / generate-matrix (push) Has been cancelled
lint / pre-commit (push) Has been cancelled
lint / rustfmt (push) Has been cancelled
zizmor 🌈 / zizmor latest via PyPI (push) Has been cancelled
release / release (push) Has been cancelled
test / tests (push) Has been cancelled
test / Python , Django () (push) Has been cancelled
2025-07-24 22:39:21 -05:00
6f4baa5456
remove zig
...
that's what i get for trying something without understanding it
2025-07-24 21:05:54 -05:00
ef896255fb
bump PyO3/maturin-action to 1.49.3 and add zig to linux builds ( #166 )
2025-07-24 20:17:04 -05:00
8ce8b24fed
bump salsa crate from git hash to 0.23.0 ( #165 )
2025-07-24 19:57:33 -05:00
8f50e27014
add nox to dev dep group and remove script metadata from noxfile.py ( #164 )
2025-07-24 19:12:38 -05:00
dependabot[bot]
8dadb15e44
Bump maturin from 1.8.7 to 1.9.0 in the uv group ( #161 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-24 18:50:41 -05:00
350fab77e7
bump astral-sh/setup-uv to v6.4.3 ( #163 )
2025-07-24 18:43:11 -05:00
dependabot[bot]
c1c5c87853
Bump the gha group with 3 updates ( #159 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-24 17:57:36 -05:00
dependabot[bot]
fc85ea96ad
Bump the cargo group across 1 directory with 2 updates ( #162 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-24 17:44:14 -05:00