4f74e48b11
swap for generic method
2025-01-04 19:24:20 -06:00
595967d372
combine tag open methods
2025-01-04 17:38:20 -06:00
50c451ec86
allow for errors to not halt parsing
2025-01-04 17:30:17 -06:00
a4b6742c6a
add errors
2025-01-04 16:23:36 -06:00
7bb9904f81
remove renaming
2025-01-04 15:49:57 -06:00
f391e0de9c
revert
2025-01-04 15:47:57 -06:00
43b5c78bfc
rename tag spec intermediates to branches
2025-01-04 15:45:57 -06:00
2fe1bb8fd6
adjust checking for special tags
2025-01-04 15:42:27 -06:00
1c5740b4f6
correctly associate branch children
2025-01-04 15:36:57 -06:00
ec05c62c2a
add closing tag and adjust branching strat
2025-01-04 15:32:04 -06:00
0ea2dea1a9
wip
2025-01-04 15:17:24 -06:00
8bfead37b2
remove some comments and unused methods
2025-01-04 14:06:28 -06:00
335cbd7351
rework errors
2025-01-04 13:55:18 -06:00
16cff07ed2
remove debug printing
2025-01-04 13:07:22 -06:00
d363087e83
remove specs from field on Parser
2025-01-04 13:05:34 -06:00
745b1e40ad
add TagSpecs and fix parsing of Django tag blocks
2025-01-04 11:38:21 -06:00
59e2665c6f
add html-django
language id ( #67 )
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 2s
release / linux (map[runner:ubuntu-22.04 target:ppc64le]) (push) Failing after 2s
release / linux (map[runner:ubuntu-22.04 target:s390x]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 2s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 2s
release / musllinux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 2s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 2s
release / macos (map[runner:macos-13 target:x86_64]) (push) Has been cancelled
release / macos (map[runner:macos-14 target:aarch64]) (push) Has been cancelled
release / sdist (push) Has been cancelled
test / test (macos-latest) (push) Has been cancelled
test / test (ubuntu-latest) (push) Has been cancelled
test / test (windows-latest) (push) Has been cancelled
release / windows (map[runner:windows-latest target:x64]) (push) Has been cancelled
release / windows (map[runner:windows-latest target:x86]) (push) Has been cancelled
release / release (push) Has been cancelled
2025-01-03 14:16:24 -06:00
680df1d611
🔖 bump version 5.1.0-alpha.1 -> 5.1.0-alpha.2 ( #64 )
release / windows (map[runner:windows-latest target:x86]) (push) Waiting to run
release / macos (map[runner:macos-13 target:x86_64]) (push) Waiting to run
release / macos (map[runner:macos-14 target:aarch64]) (push) Waiting to run
release / sdist (push) Waiting to run
release / release (push) Blocked by required conditions
release / windows (map[runner:windows-latest target:x64]) (push) Waiting to run
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 4s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 2s
release / linux (map[runner:ubuntu-22.04 target:ppc64le]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:s390x]) (push) Failing after 2s
release / linux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 2s
release / linux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 2s
release / musllinux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 2s
release / musllinux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 2s
2025-01-03 12:16:58 -06:00
b33d3f890d
Add support for system-wide installation ( #62 )
2025-01-03 11:39:18 -06:00
94403b46a8
🔖 bump version 5.1.0-alpha.0 -> 5.1.0-alpha.1
2025-01-03 09:53:09 -06:00
f848798699
remove extra server layer in front of tower-lsp's server ( #49 )
2024-12-24 13:40:47 -06:00
c16635b1c0
add initial autocomplete for installed templatetags ( #46 )
2024-12-23 19:36:54 -06:00
664eb211c4
adjust names
2024-12-23 11:39:10 -06:00
a73e912e0f
swap from IPC architecture to PyO3 library ( #45 )
2024-12-23 10:12:10 -06:00
757a400a8a
adopt DjangoVer ( #41 )
...
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
* adopt DjangoVer
* add section to readme detailing djangover
* add subsection about breaking changes
* adjust requirements to reference new section
* tweak wording
* more tweaking
* wording and stylistic tweaks
* bump uv lock
* add metadata for version info
* add initial bumpver config
* add utility just command
* change version pattern
2024-12-16 12:10:10 -06:00
7db1e9688d
rename snapshot test
2024-12-16 12:02:49 -06:00
0c9dc72daf
rename ast crate
2024-12-16 10:33:14 -06:00
3af91d404c
change agent module
2024-12-16 10:30:23 -06:00
9845c0e861
switch to maturin build system, include binary in python package ( #33 )
2024-12-15 16:18:23 -06:00
19b2566c8f
rename binary crate to djls
( #32 )
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
2024-12-15 15:18:54 -06:00
340cd7a1c0
rename folder
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
2024-12-14 21:03:22 -06:00
8e941ba8a0
reorganize proto files a bit ( #30 )
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
2024-12-14 00:06:06 -06:00
b1b3e6a5ec
fix django block parsing (for now) ( #31 )
...
it's clear i need a rethink of parsing django block tags to nodes,
becuase my mental picture of them differs from the actual use of them.
E.g. I tend to think of them the same as HTML tags as either "void" tags
or ones with end tags and children but not that's not the case at all.
Some have intermediate tags (`{% if %}{% else %}{% endif %}`) which is
not a huge lift to support, but the mind blowing realization was that
it's just convention that the closing tag starts with `end`.
for builtin's, yeah that's it's the case that all of the tags that have
opening and closing tags all close with a matching tag that is the
initial tag with `end` prefixed. but given the flexibility of the django
template engine, a third-party could feasibly use *any* closing tag it
wanted. that makes it very hard to build a structured, full-featured AST
for a Django template.
maybe that's not really needed for an LSP. but i'll need to come up with
*something* eventually.
2024-12-13 23:55:32 -06:00
a9fc0824d0
remove unused imports
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
2024-12-13 20:25:11 -06:00
25f2c45f8d
remove comment
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
2024-12-13 08:44:49 -06:00
d1cc9f7ca0
specify dependencies to minor version
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run
2024-12-13 07:18:08 -06:00
134f3fea54
fix parseing of django tags with potential intermediates
2024-12-13 01:13:04 -06:00
a5e42fe7a4
swap
2024-12-13 00:50:26 -06:00
b0ba264452
parse doctype tag
2024-12-13 00:48:51 -06:00
61b55641cb
add test for void html tag
2024-12-13 00:48:24 -06:00
cff90ee869
move GIS check to Python agent ( #29 )
2024-12-12 23:32:52 -06:00
b993e35460
centralize commands ( #28 )
2024-12-12 22:51:35 -06:00
b13d19a4bf
remove import check for django in setup ( #27 )
...
unneeded now since the agent imports and sets up Django as part of it's
initial serving
2024-12-12 20:03:48 -06:00
0a6e975ca5
Get rid of all transport types and settle on Protobuf ( #25 )
...
* Get rid of all transport types and settle on Protobuf
hope i don't regret this
* Update Cargo.toml
* Update agent.py
2024-12-12 16:53:49 -06:00
643a47953e
add protobuf transport and refactor to support ( #24 )
2024-12-11 20:28:57 -06:00
a135fdc8bb
remove unneeded client and server code ( #22 )
2024-12-11 16:24:03 -06:00
235bb4419d
switch from runner to ipc and long-running sidecar process ( #21 )
2024-12-11 16:16:40 -06:00
4c10afb602
create djls-cli and migrate serving LSP to it ( #20 )
2024-12-11 10:23:35 -06:00
2cbc24b5f0
remove unused socket_path
2024-12-10 22:18:20 -06:00
6f27c5ba9d
remove vestiges of windows traits ( #19 )
...
* remove vestiges of windows traits
* remove unused
2024-12-10 22:16:09 -06:00