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
75f94faab9
chore(CHANGELOG): update entries
2025-02-21 19:21:54 +00:00
f397b84a7b
chore(lune): write info logs for docsgen script
2025-02-21 19:19:14 +00:00
2d9293dbbc
docs: regenerate markdown docs
2025-02-21 19:16:09 +00:00
f5ec183853
docs: use GitHub's supported markdown callout syntax
2025-02-21 19:14:23 +00:00
b9b6722985
Merge branch 'main' into chore/docsgen
2025-02-21 19:08:30 +00:00
776ac470dd
chore(actions): only trigger CI for main
branch
...
Prevents double running of CI for secondary branches which are being
PR'd into main. This also makes checks only run for branches if they're
being PR'd as a consequence.
2025-02-21 19:07:03 +00:00
897f37b86e
chore(lune): add description comment to lune script
...
Comments starting with `-->` get displayed as a short description for
the script in the `lune list` output.
2025-02-21 19:04:55 +00:00
0275badc55
docs: generate markdown docs from moonwave comments
2025-02-21 18:45:38 +00:00