Commit graph

389 commits

Author SHA1 Message Date
6f3c12c627
chore: remove github configs 2024-12-27 19:14:52 +05:30
122caa9418
chore: update copyright notice and include LICENSE in pesde manifest 2024-12-27 11:44:48 +00:00
8de63be6ba
chore(build): move exports.d.ts to index.d.ts in build step 2024-12-27 11:42:34 +00:00
e08f13897a
chore(vscode): fix typescript formatter config 2024-12-27 11:36:29 +00:00
a827ac7559
chore(vscode): add stylua for luau formatting 2024-12-27 11:17:49 +00:00
659cde4017
feat: prepare as pesde & npm package
* Add README with basic documentation
* Add exports.ts with required TS and Luau exports
* Add build script to extract Luau exports from exports.ts
* Setup pesde package manifest
* Apply formatting, setup stylua
2024-12-27 11:17:18 +00:00
cb885f7b45
fix: convert missed imports to requires 2024-12-26 12:22:18 +00:00
7b6e7ce8d5
chore: include vscode recommended extensions & config 2024-12-26 12:11:00 +00:00
748278587d
refactor: remove unused requires 2024-12-26 12:03:20 +00:00
644bb253b9
chore(pkg): add self to authors field 2024-12-26 12:02:25 +00:00
622aa75ae3
refactor: make library lune compatible
* Moved over to requires with type assertion to remove dependence on
  `TS` runtime which is roblox exclusive
* Imports are now exclusively used for types, which are stripped at
  compile-time
* Renamed `buff` utility to `typedArrays`
* Added patch for roblox-ts global types to modify `require` signature
  to behave like ES5 requires
2024-12-26 11:56:00 +00:00
daimond113
0404f2d333
remove unnecessary files for fork 2024-12-26 10:58:51 +01:00
daimond113
20d3146428
add ts types, port to using luau apis 2024-12-26 10:55:56 +01:00
daimond113
cf8e6ba0f7
initialize roblox-ts port 2024-12-26 10:55:52 +01:00
Diogo Teles Sant'Anna
62cb729e78
CI: set read-only permission on github workflow (#272)
Closes #271
2023-03-11 06:10:48 +03:00
Vitaly Puzrin
3c06216518 2.1.0 released 2022-11-07 02:54:01 +02:00
Vitaly Puzrin
b61f524902 dist rebuild 2022-11-07 02:53:46 +02:00
Vitaly Puzrin
23c773e31c Update comments in tree.js for Babel compatibility
- Closes #261, #263, #262
2022-11-07 01:34:34 +02:00
Alex Kocharin
174a1d12b6 Ensure backward compatibility for headers.extra 2022-06-10 21:05:42 +03:00
Alex Kocharin
77f1c17c6d Don't bother computing check value after successful inflateSync().
0d36ec47f3
2022-06-10 20:10:56 +03:00
Alex Kocharin
a194382b3c Fix a bug that can crash deflate on some input when using Z_FIXED.
5c44459c3b
2022-06-10 20:10:56 +03:00
Alex Kocharin
8a1cdad62b Fix deflateEnd() to not report an error at start of raw deflate.
c376a417a7
2022-06-10 20:10:56 +03:00
Alex Kocharin
4dd6658edc Fix bug when window full in deflate_stored().
8ba393e70d
2022-06-10 20:10:56 +03:00
Alex Kocharin
b579434679 Limit hash table inserts after switch from stored deflate.
2d80d3f6b5
2022-06-10 20:10:56 +03:00
Alex Kocharin
2326b42e45 Permit a deflateParams() parameter change as soon as possible.
f9694097dd
2022-06-10 20:10:56 +03:00
Alex Kocharin
25a8b18c5d Update high water mark in deflate_stored.
7d9c9d410a
2022-06-10 20:10:56 +03:00
Alex Kocharin
91a1be15c2 Fix deflate stored bug when pulling last block from window.
4c7c907683
2022-06-10 20:10:56 +03:00
Alex Kocharin
14eb66909b Fix bug in deflate_stored() for zero-length input.
bc5503b224
2022-06-10 20:10:56 +03:00
Alex Kocharin
49d5060e87 Speed up deflation for level 0 (storing).
9dc5a8585f
2022-06-10 20:10:56 +03:00
Alex Kocharin
bee5019c40 Fix bugs in creating a very large gzip header.
9674807c82
2022-06-10 20:10:56 +03:00
Alex Kocharin
1154023108 Fix bug when level 0 used with Z_HUFFMAN or Z_RLE.
94575859cf
2022-06-10 20:10:56 +03:00
Alex Kocharin
9709958d84 Do a more thorough check of the state for every stream call.
b516b4bdd7
2022-06-10 20:10:56 +03:00
Alex Kocharin
d53e75c309 Reject a window size of 256 bytes if not using the zlib wrapper.
049578f0a1
2022-06-10 20:10:56 +03:00
Alex Kocharin
f1c987cc5f Remove offset pointer optimization in inftrees.c.
6a043145ca
2022-06-10 20:10:56 +03:00
Alex Kocharin
024d11ee5f Add option to not compute or check check values.
9852c209ac

+ added macro renaming in
53ce271311
2022-06-10 20:10:34 +03:00
Alex Kocharin
8f630ba374 Fix bug that accepted invalid zlib header when windowBits is zero.
6cef1de740
2022-06-10 20:05:26 +03:00
Alex Kocharin
a98f90806e Fix inflateInit2() bug when windowBits is 16 or 32.
0db8fd3714
2022-06-10 20:05:26 +03:00
Alex Kocharin
b07a436d39 Sync code with madler/zlib, cosmetic changes only
5370d99a2a
8a979f6c79
c901a34c92
7096424f23
a456d898bb
21c66cd5ac
ee7d7b5dda
37ed2112a1
723e928b84
8678871f18
2022-06-10 20:05:06 +03:00
OrIOg
8a3fa92fd1
Fixing documentation on direct functions (#253) 2022-05-11 17:48:34 +03:00
Vitaly Puzrin
0398fad238 2.0.4 released 2021-07-29 14:51:41 +03:00
Vitaly Puzrin
ae27cbccef dist rebuild 2021-07-29 14:51:25 +03:00
Alex Kocharin
26dff4fb34 Use TextEncoder and TextDecoder if available
fix https://github.com/nodeca/pako/issues/228
2021-07-27 19:18:32 +03:00
Alex Kocharin
1ac0a4c7ec Change tests to use binary comparision with fixtures 2021-07-23 20:28:50 +03:00
oldshensheep
b967322bef
Typo fix (#225) 2021-05-03 11:07:47 +03:00
Vitaly Puzrin
6f40f480e5 typo fix 2021-01-09 21:59:30 +03:00
Vitaly Puzrin
2db010f0a8 2.0.3 released 2021-01-09 19:39:37 +03:00
Vitaly Puzrin
9ca8060c33 dist rebuild 2021-01-09 19:39:19 +03:00
Vitaly Puzrin
108a89b0ac Add everything to package exports 2021-01-09 19:31:47 +03:00
Vitaly Puzrin
b93a6e5643 Add package.json export, close #211 2021-01-09 19:24:32 +03:00
Vitaly Puzrin
356c576448 Typo fix 2020-12-21 12:22:30 +03:00