48cb1d0c26
chore(nix): fix luau-lsp
sha checksum
2025-03-11 16:42:05 +00:00
834b750794
refactor: use btest
instead of band
and ~=
...
Seriously did not know that this existed. Can potentially allow for perf
optimizations on Luau's ends.
2025-03-11 16:38:22 +00:00
d2d0e258f2
chore(nix): use actually correct sha256 for luau-lsp
2025-02-26 12:31:18 +00:00
f568a8a869
chore(nix): update luau-lsp
sha256 hash
2025-02-26 12:30:04 +00:00
c1d10d37df
chore(actions): run all test suites, not just extract
...
Fixes an extra suite argumenta added to the test runner command, which
told it to only run tests located in the extraction module.
2025-02-24 08:19:27 +00:00
3b66104cb3
chore(actions): fix tty
device being nonexistent in test step
...
`/dev/tty` does not exist in an actions step since it is being run non
interactively. Similarly using the stdout device does not work either,
since we're within a command substitution expression, where `/dev/stdout`
is not attached to a shell.
Instead, we have to use `/dev/stderr`, which is attached to a shell at
all times. I don't know if there are any better alternatives, but
writing to stderr doesn't sit quite right with me, since this should
ideally output to stdout. Oh, well.
2025-02-24 08:14:41 +00:00
330ee3b884
chore(actions): don't set shell
key for test step
2025-02-24 08:04:35 +00:00
b7d26776c5
chore(actions): use format string shell
key for test step
2025-02-24 08:02:47 +00:00
3bd86b99f1
chore(actions): actually error in CI if tests fail
2025-02-24 07:59:23 +00:00
a53580c9f9
style: apply stylua
formatter
2025-02-24 07:42:44 +00:00
ee4d0e1a8d
fix: relax size checks and move test to edge case
...
Relaxed size checks to not error for empty ZIP files in other test
cases, and only validate that the number of entries is 0 for our test
case, moving it to the edge cases suite instead.
2025-02-24 07:39:35 +00:00
39009b734c
fix: improve validation and and fix regression in tests
...
Previous EoCD detection performance improvement changes in
https://github.com/0x5eal/luau-unzip/commit/b710e296 inadvertently fixed
some bugs to do with max size ZIP reads, which caused a regression in
the `invalid_cde_number_of_files_allocation_greater_offset.zip` test,
which used to error as expected due to out-of-bounds buffer reads. This
commit fixes this by improving size validations present in the methods
`ZipReader:parseEocdRecord` and `ZipReader:parseCentralDirectory`.
2025-02-24 07:20:40 +00:00
545de01536
style: apply stylua
formatter
2025-02-23 20:15:58 +00:00
f60b74d7ee
chore(lune): test runner not exiting with correct code
2025-02-23 20:15:07 +00:00
db819fdd61
refactor: remove debug print from ZipReader:parseEocdRecord
2025-02-23 20:13:25 +00:00
9f9b394207
chore(tests): strip newlines and first line before comment len
2025-02-23 20:04:37 +00:00
bd30a000ef
fix: use proper byte count corresponding to 64 KB
2025-02-23 20:03:18 +00:00
a5bb7166ad
fix: max comment size is 64 KB, not 64 KiB
...
This was caught in the new test case for max length comments, where the
comment would partially get cut off due us to using the wrong size units
in `ZipReader:findEocdPosition`.
2025-02-23 19:21:40 +00:00
e70b3b8055
chore(tests): add edge case test for max_comment_size.zip
2025-02-23 19:21:38 +00:00
github-actions[bot]
73169f1b1b
docs: update refs for d198f7f038
2025-02-23 18:56:23 +00:00
d198f7f038
merge: origin/main->main
2025-02-23 18:55:24 +00:00
3f5e5c17cd
style: apply stylua
formatter
2025-02-23 18:53:57 +00:00
4f99477caf
style: convert indentation to tabs
2025-02-23 18:53:24 +00:00
1e3a59f713
chore(tests): add test data for max comment size ZIP
2025-02-23 18:52:35 +00:00
b710e2963c
perf: improve EoCD offset detection algorithm
2025-02-23 18:51:11 +00:00
a677432c59
chore: zed editor configs
2025-02-23 14:27:08 +00:00
github-actions[bot]
547ac859be
docs: update refs for 638c017f0a
2025-02-23 12:12:47 +00:00
638c017f0a
chore(lune): use proper markdown heading hierarchy in docsgen
2025-02-23 12:11:24 +00:00
github-actions[bot]
fea6567014
docs: update refs for 409e731de6
2025-02-23 12:02:31 +00:00
409e731de6
chore(lune): add newlines after top heading in docsgen
2025-02-23 12:01:46 +00:00
da06f81f65
docs: remove old API reference markdown
2025-02-23 12:00:49 +00:00
github-actions[bot]
11922ab775
docs: update refs for d70ac63383
2025-02-23 12:00:18 +00:00
d70ac63383
chore(pkg): prepare for v0.1.3
2025-02-23 11:59:25 +00:00
1f1a876099
chore(CHANGELOG): update entries
2025-02-23 11:58:13 +00:00
4ad55c9f52
chore(lune): add @generated
comment and heading for docsgen
2025-02-23 11:56:52 +00:00
c7f9c8e03c
fix(lune): write docs to docs/intro.md
instead
2025-02-23 11:51:25 +00:00
52ae48178e
chore(CHANGELOG): update v0.1.2 release details slightly
2025-02-23 11:33:44 +00:00
7e0e11b4b9
chore(pkg): prepare for v0.1.2
2025-02-23 11:17:43 +00:00
fefbad4a85
chore(CHANGELOG): update entries
2025-02-22 19:24:49 +00:00
9e63617c55
chore(nix,pkg): bump and pin pesde to v0.6.0
2025-02-22 19:23:35 +00:00
5d123d0459
style: apply stylua
formatter
2025-02-21 19:47:42 +00:00
cc6a56d2d4
chore(actions): use correct expression for commit SHA
2025-02-21 19:47:41 +00:00
df712239ba
chore(actions): rerun API ref updater action on workflow change
2025-02-21 19:47:38 +00:00
github-actions[bot]
fa236a4fae
docs: update refs for https://github.com/0x5eal/luau-unzip/commit/
2025-02-21 19:42:50 +00:00
0b908786e3
chore(lune): fix misspelling in markdown codegen for docs
2025-02-21 19:41:52 +00:00
25b87de27e
chore: add a markdown docs generation script for moonwave comments ( #2 )
2025-02-21 19:39:14 +00:00
bcf2205dac
chore(actions): add workflow for autoupdating API refs
2025-02-21 19:31:37 +00:00
45e68e0ae9
chore(CHANGELOG): update entries
2025-02-21 19:24:02 +00:00
a5cf833361
chore(pkg): add docs/
into includes
2025-02-21 19:23:44 +00:00
e177984b14
Merge branch 'main' into chore/docsgen
2025-02-21 19:22:28 +00:00