84af0f7a60
feat: include support for json5 encoding
...
JSON5 is a superset of JSON, which includes support for trailing commas,
extra whitespaces, comments, and an expanded set of numbers. This commit
adds mainly decoding support for json5, in `@lune/serde`. Encoding
"support" is also included, but isn't a practical use-case.
* Expanded `EncodeDecodeFormat` to have a `Json5` variant
* Handled JSON5 decoding using `serde_json5` crate
* Matched JSON5 encoding alongside JSON
2024-02-25 16:38:18 +05:30
Plain English
baa03424d4
Fix fs.copy not working with empty dirs ( #155 )
2024-02-20 13:36:19 +01:00
vocksel
3c68d8e314
Serve from other IPs ( #142 )
2024-01-19 20:39:57 +01:00
Filip Tibell
474ceb139a
Change properties on fs.metadata to be DateTime values instead of numbers
2024-01-14 17:06:41 +01:00
Filip Tibell
b07202a64b
Implement support for path aliases in require
2024-01-14 13:33:15 +01:00
Filip Tibell
0392c163a0
Give standalone compilation its own dir, leave some future notes
2024-01-14 11:15:17 +01:00
Filip Tibell
e5e83d1ad6
Rename lune struct to runtime
2024-01-14 10:41:18 +01:00
Filip Tibell
ef9550ced5
Make clippy happy
2024-01-14 10:37:54 +01:00
Filip Tibell
d7c603e881
Refactor CLI to use subcommands, update changelog
2024-01-14 10:35:27 +01:00
Filip Tibell
3565c897c0
Remove old cli setup flags
2024-01-14 09:41:08 +01:00
Filip Tibell
9c27057bf3
Use blocking io for print and warn globals
2024-01-14 09:38:56 +01:00
6f8b1e4896
Implement standalone executable compilation ( #140 )
2024-01-13 21:19:59 +01:00
Filip Tibell
c9ce29741b
Add support for multiple query & header values in net request
2023-12-30 17:38:58 +01:00
Filip Tibell
cd78fea1f5
Fix print and warn globals yielding
2023-12-30 16:28:04 +01:00
guidable0
39d9557559
Fix overwrite option for copying directories ( #133 )
2023-12-29 21:17:16 +01:00
Filip Tibell
1c814285c6
Implement GetDebugId instance method
2023-10-25 11:10:24 +02:00
Filip Tibell
7e9aaeafe6
Fix lints
2023-10-21 11:41:09 +02:00
Filip Tibell
37afe7b05e
Add test for async custom instance methods in roblox builtin
2023-10-21 11:30:20 +02:00
ec6060a6cb
Support listing directories with init.lua(u)
files in them ( #119 )
2023-10-12 21:50:20 -05:00
Filip Tibell
e16c28fd40
Refactor process spawn for more granular stdio options
2023-10-11 16:32:16 -05:00
Filip Tibell
1aa6aef679
Add typedefs and tests for custom instance properties and methods
2023-10-08 23:05:19 -05:00
Filip Tibell
9fe3b02d71
Start work on custom instance properties and methods in roblox builtin
2023-10-06 11:58:39 -05:00
Filip Tibell
ed07ba8613
Update dependencies
2023-10-05 21:48:26 -05:00
Kenneth Loeffler
ede3365f64
Use TerrainMaterials::from_str to parse material variant name ( #118 )
2023-10-05 21:10:11 -05:00
Filip Tibell
e92cb4ee64
Fix new clippy lints
2023-10-05 20:54:36 -05:00
Filip Tibell
dc7e3888d7
Split process spawn tests into multiple files
2023-10-05 20:53:29 -05:00
8865692f1d
Allow for passing stdin to child ( #106 )
2023-10-05 20:30:27 -05:00
Kenneth Loeffler
c43648faec
Use clone_multiple_into_external in Document instance methods ( #117 )
2023-10-04 14:25:26 -05:00
Filip Tibell
74d7f3d66f
Update dependencies
2023-10-04 09:02:17 -05:00
Filip Tibell
fda0e9ab5e
Investigate yielding issues in net serve
2023-10-03 21:58:55 -05:00
Filip Tibell
96adf83fad
Fix process built-in not working in REPL
2023-10-03 21:39:30 -05:00
Filip Tibell
e4850666c5
Get rid of our custom typeof shim, thanks mlua
2023-10-03 21:26:08 -05:00
Filip Tibell
f620f453f2
Add environment option to luau load built-in
2023-10-03 21:03:47 -05:00
SnorlaxAssist
83ac971792
Fix failing test cases on Windows ( #111 )
2023-09-25 14:14:29 -05:00
Filip Tibell
bfcd78c43e
Round decimal place in Vector3 and CFrame when converting to dom type
2023-09-25 13:43:59 -05:00
Filip Tibell
2e53cdcad7
Fix list subcommand not listing global dir without a local dir
2023-09-25 12:41:56 -05:00
Filip Tibell
fbee7c85bd
Fix net server stopping when handle is garbage collected
2023-09-25 12:32:57 -05:00
Filip Tibell
a86a62ae1f
Fix missing newline in warn global
2023-09-18 18:52:41 -05:00
Kenneth Loeffler
1dfffdc31b
Use correct matrix ordering coventions for CFrame ( #103 )
2023-09-17 21:54:26 -05:00
Filip Tibell
28b5b6fcaa
Ignore code inside doc comment to fix CI failing
2023-09-17 12:35:28 -05:00
Filip Tibell
5a6a8a0931
Add note about smol and async-executor in scheduler struct
2023-09-16 21:29:39 -05:00
Filip Tibell
fad48b9603
Refactor DateTime builtin to be a wrapper around chrono, improve error handling, misc smaller changes and consistency improvements
2023-09-16 21:29:39 -05:00
Kenneth Loeffler
67fe1d3e4d
Refactor CFrame.new constructors to use a match on arg len ( #102 )
2023-09-16 21:28:44 -05:00
e2aef015fa
Implement DateTime Built-in Library ( #94 )
2023-09-11 12:52:07 -05:00
Filip Tibell
a3feece9d4
Add back variadic CFrame methods
2023-08-24 19:13:56 -05:00
Filip Tibell
b79d3ce4e2
Make clippy happy
2023-08-24 19:09:05 -05:00
Kenneth Loeffler
bcfc7d2f55
Implement Terrain:GetMaterialColor and Terrain:SetMaterialColor ( #93 )
2023-08-24 18:39:13 -05:00
Filip Tibell
64b152e34b
Enable sorting of keys during serde serialization
2023-08-23 15:11:12 -05:00
Filip Tibell
de0f017540
Refactor export tables for roblox builtin library
2023-08-23 14:53:52 -05:00
Filip Tibell
52a6c4f4da
Revert #85 to fix SIGSEGV
2023-08-23 12:07:16 -05:00