e87c917cb6
use nightly rustfmt and sort imports ( #145 )
lint / pre-commit (push) Waiting to run
release / build (push) Waiting to run
release / test (push) Waiting to run
release / release (push) Blocked by required conditions
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-05-14 00:46:55 -05:00
00140c58ca
move all state to single field on server struct ( #144 )
test / tests (push) Blocked by required conditions
lint / pre-commit (push) Waiting to run
release / test (push) Waiting to run
release / release (push) Blocked by required conditions
release / build (push) Waiting to run
test / generate-matrix (push) Waiting to run
test / Python , Django () (push) Blocked by required conditions
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
2025-05-13 23:25:27 -05:00
26cd151ef5
move LSP serve method to main cli crate and fix shutdown handling ( #143 )
2025-05-13 15:52:47 -05:00
d55ca65a70
inline chained expressions
release / build (push) Failing after 16s
release / test (push) Has been skipped
lint / pre-commit (push) Has been cancelled
zizmor 🌈 / zizmor latest via PyPI (push) Has been cancelled
release / release (push) Has been cancelled
2025-05-10 07:51:04 -05:00
ccf33290b3
introduce salsa and integrate into djls-project crate ( #139 )
lint / pre-commit (push) Waiting to run
zizmor 🌈 / zizmor latest via PyPI (push) Waiting to run
release / build (push) Failing after 15s
release / test (push) Has been skipped
release / release (push) Has been cancelled
2025-05-09 23:16:39 -05:00
5997d9b87a
simplify task queue API to directly accept futures ( #137 )
2025-05-07 17:20:37 -05:00
eb5903822d
change some imports
release / build (push) Failing after 22s
release / test (push) Has been skipped
lint / pre-commit (push) Has been cancelled
release / release (push) Has been cancelled
2025-05-03 23:04:14 -05:00
42c19e751d
Refactor and reorganize primary djls
crate ( #136 )
2025-05-03 22:09:19 -05:00
0d816ea0dc
mock system interactions to fix flaky environment tests ( #129 )
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 4s
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 3s
release / linux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
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 3s
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 3s
release / test (push) Has been skipped
lint / pre-commit (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 / 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
release / release (push) Has been cancelled
2025-05-01 00:28:04 -05:00
95a68e5f3a
Make venv fallback test robust against VIRTUAL_ENV
( #128 )
2025-04-30 22:49:42 -05:00
2dacbb0056
fix path_str on windows
2025-04-30 15:09:28 -05:00
7ef503d866
fix release build failures due to libpython linking ( #125 )
2025-04-30 15:02:00 -05:00
9398df6a21
remove auto-initialize
PyO3 feature and use prepare_freethreaded_python
( #121 )
2025-04-30 14:20:40 -05:00
7eb9580750
Create djls-dev crate and centralize Python linking build scripts ( #119 )
2025-04-30 12:59:04 -05:00
c09d6541ba
improve Python environment activation ( #118 )
2025-04-30 12:34:20 -05:00
3b7ffe0b70
Add configurable venv path and improve Python detection ( #116 )
lint / pre-commit (push) Waiting to run
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 5s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
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 3s
release / test (push) Has been skipped
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 3s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
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 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 4s
release / sdist (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 / 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 / release (push) Has been cancelled
2025-04-29 23:01:00 -05:00
3008389f2b
Add djls-conf
crate and add initial settings ( #113 )
2025-04-29 17:43:38 -05:00
b83ed621b5
Refactor and simplify initial tagspecs ( #110 )
lint / pre-commit (push) Waiting to run
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 6s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
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 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 3s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
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 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / test (push) Has been skipped
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 / 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
release / release (push) Has been cancelled
2025-04-29 14:07:35 -05:00
9fcf71f6af
refactor parser a bit ( #108 )
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:s390x]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:ppc64le]) (push) Failing after 2s
release / linux (map[runner:ubuntu-22.04 target:x86]) (push) Failing after 3s
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 3s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 3s
release / test (push) Has been skipped
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
release / linux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 5s
lint / pre-commit (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 / 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
release / release (push) Has been cancelled
2025-04-22 00:15:55 -05:00
980983e4f3
refactor queue to use closures and move project init to queue ( #107 )
2025-04-21 23:04:24 -05:00
c2e27d43c3
rename, relocate, and simplify the task queue ( #106 )
2025-04-21 21:59:00 -05:00
8e0f7dff30
🔖 bump version 5.1.0-alpha.2 -> 5.2.0-alpha
2025-04-21 17:56:41 -05:00
e098272ea6
swap in tower-lsp-server dependency ( #100 )
2025-04-21 13:52:28 -05:00
7654334052
rename templates crate to djls-templates ( #89 )
2025-04-20 22:34:54 -05:00
42d089dcc6
add TagSpecs and alter Parser ( #68 )
...
lint / pre-commit (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 7s
release / linux (map[runner:ubuntu-22.04 target:armv7]) (push) Failing after 3s
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 2s
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 3s
release / musllinux (map[runner:ubuntu-22.04 target:aarch64]) (push) Failing after 3s
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 2s
release / musllinux (map[runner:ubuntu-22.04 target:x86_64]) (push) Failing after 2s
release / sdist (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 / 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 / release (push) Has been cancelled
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-19 23:58:59 -05: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