Commit graph

213 commits

Author SHA1 Message Date
Filip Tibell
178f7b41ab
Fully implement document methods for converting to/from instances 2023-03-22 10:14:05 +01:00
Filip Tibell
7553e91dc6
Simplify handling of internal weak dom, start adding instance tests 2023-03-22 09:39:26 +01:00
Filip Tibell
b8b39eb0b8
Implement lua APIs for reading & writing roblox files 2023-03-21 21:53:10 +01:00
Filip Tibell
4aa61c7eca
Integrate roblox lib into new require mechanism 2023-03-21 19:13:41 +01:00
Filip Tibell
06ba6b867e
Implement url encoding & decoding in net 2023-03-21 17:48:07 +01:00
Filip Tibell
6a289583bf
Shuffle some code around, update changelog 2023-03-21 16:53:09 +01:00
Filip Tibell
9e6cd4b0af
Move net encode/decode into serde builtin instead 2023-03-21 16:48:28 +01:00
Filip Tibell
1f887cef07
Fix websockets memory leak 2023-03-21 15:46:14 +01:00
Filip Tibell
29a3b41e15
Implement new builtins scope for require 2023-03-21 15:06:28 +01:00
Filip Tibell
172ab16823
Finish implementing async require, add test cases 2023-03-21 11:07:42 +01:00
Filip Tibell
0975a6180b
Async require now mostly working 2023-03-20 14:51:19 +01:00
Filip Tibell
6318176516
Start work on require overhaul 2023-03-20 13:52:18 +01:00
Filip Tibell
1876a25922
Start work on improved module loader 2023-03-20 09:43:01 +01:00
Filip Tibell
0f5f173488
Add links to original instance APIs for roblox instance implementation 2023-03-19 17:57:51 +01:00
Filip Tibell
694c9853c6
Fix some issues with root instances & destruction 2023-03-19 17:43:50 +01:00
Filip Tibell
97248cccdd
Implement rest of roblox instance methods, minus attributes 2023-03-19 17:24:47 +01:00
Filip Tibell
f181445920
Improve property access for roblox instances 2023-03-19 15:48:39 +01:00
Filip Tibell
c51548165a
Implement clone & destroy for roblox instances 2023-03-19 14:21:02 +01:00
Filip Tibell
69754bd830
Implement equality for roblox instances 2023-03-19 13:36:33 +01:00
Filip Tibell
34d6e622b7
Implement ancestry APIs for roblox instances 2023-03-19 13:33:08 +01:00
Filip Tibell
68515dc40a
Initial implementation of instances for roblox lib 2023-03-19 13:23:25 +01:00
Filip Tibell
560dc4acbe
Rename rbx alisases to dom instead for roblox lib 2023-03-18 09:29:53 +01:00
Filip Tibell
bd12b03e0c
Preserve cached font id in Font roblox datatype 2023-03-18 09:01:31 +01:00
Filip Tibell
6a797945d5
Handle default physical properties better 2023-03-18 08:53:22 +01:00
Filip Tibell
cc8f6ec843
Improve codegen of Font roblox datatype enums some more 2023-03-18 08:39:46 +01:00
Filip Tibell
b7d0481a83
Implement full getters & setters for Font roblox datatype 2023-03-17 17:18:00 +01:00
Filip Tibell
9722f5b862
Improve codegen of Font roblox datatype enums 2023-03-17 16:54:13 +01:00
Filip Tibell
d79895dc88
Start work on Font roblox datatype 2023-03-17 15:05:10 +01:00
Filip Tibell
e57316341b
Implement PhysicalProperties roblox datatype 2023-03-17 13:23:52 +01:00
Filip Tibell
e57abbe5d9
Helper scripts for making font & physical properties from enums 2023-03-17 10:44:21 +01:00
Filip Tibell
6d76df7524
Implement Ray roblox datatype 2023-03-17 10:18:05 +01:00
Filip Tibell
f0aadc6dfe
Implement Region3 roblox datatypes 2023-03-17 09:50:30 +01:00
Filip Tibell
a05067410a
Update rbx-dom to latest 2023-03-17 09:18:29 +01:00
Filip Tibell
1161b9f4e8
Handle OptionalCFrame in roblox conversion layer 2023-03-17 09:12:46 +01:00
Filip Tibell
e3bcf79f09
Implement number range/sequence roblox datatypes 2023-03-17 08:54:57 +01:00
Filip Tibell
94e84d6054
Implement CFrame roblox datatype 2023-03-16 21:33:47 +01:00
Filip Tibell
010f7325d1
Implement missing Vector3 constructors 2023-03-16 18:44:54 +01:00
Filip Tibell
72f3e2157b
Implement Rect roblox datatype 2023-03-16 09:56:37 +01:00
Filip Tibell
75188d3e35
Implement Faces roblox datatype 2023-03-16 09:24:56 +01:00
Filip Tibell
cfc9299165
Implement Axes roblox datatype 2023-03-15 22:06:53 +01:00
Filip Tibell
7aef25c316
Move datatype tests into datatypes module 2023-03-15 21:14:06 +01:00
Filip Tibell
de656fa26b
Implement tests for color sequences 2023-03-15 21:11:41 +01:00
Filip Tibell
b662b86922
Add tests for enum datatypes 2023-03-15 20:58:52 +01:00
Filip Tibell
83284be303
Add tests for color datatypes 2023-03-15 20:47:15 +01:00
Filip Tibell
2760fa0d1d
Implement conversions between BrickColor and Color3 2023-03-15 19:51:19 +01:00
Filip Tibell
158603d405
Implement roblox enum datatypes 2023-03-15 17:43:58 +01:00
Filip Tibell
709426d8ef
Implement ColorSequence roblox datatype 2023-03-15 16:14:17 +01:00
Filip Tibell
e9b79ea28f
Make implementation of math ops generic, implement math ops on Color3 2023-03-15 14:27:06 +01:00
Filip Tibell
2a6b88e6a7
Implement Color3 roblox datatype 2023-03-15 14:01:38 +01:00
Filip Tibell
b80d5e4bab
Implement BrickColor roblox datatype 2023-03-15 10:18:13 +01:00
Filip Tibell
7fd32e67c2
Improve error reporting & ergonomics for datatype conversion 2023-03-11 20:50:53 +01:00
Filip Tibell
b1a3495a14
Clean up conversion traits to make roblox datatypes easier to implement 2023-03-11 19:25:48 +01:00
Filip Tibell
89aaf40fdb
Implement std ops for roblox datatypes 2023-03-11 18:38:27 +01:00
Filip Tibell
ba52396bec
Implement udim roblox datatypes, minor vector fixes 2023-03-11 17:42:16 +01:00
Filip Tibell
0f9caf5461
Roblox datatypes refactor & organization 2023-03-11 16:39:23 +01:00
Filip Tibell
4afb51830c
Implement test suite for roblox datatypes 2023-03-11 11:21:34 +01:00
Filip Tibell
e330986da5
Export new datatypes 2023-03-11 10:26:33 +01:00
Filip Tibell
fd369f707f
Implement int vector roblox types 2023-03-11 10:20:22 +01:00
Filip Tibell
d23366fc98
Impl from traits for roblox datatypes 2023-03-11 10:02:26 +01:00
Filip Tibell
b7e4312770
Don't use simd-aligned vectors for better compatibility 2023-03-11 08:18:04 +01:00
Filip Tibell
a59b0190ab
Fix fs writeFile & readFile not working with invalid utf8 2023-03-11 08:16:16 +01:00
Filip Tibell
7261ca90ef
Always use luau numbers, not lua integers for translation layer 2023-03-10 13:37:42 +01:00
Filip Tibell
078c08eabf
Implement translation layer between lua values and rbx_dom_weak variants 2023-03-10 13:35:49 +01:00
Filip Tibell
0cc5c0823e
Implement Vector2 datatypes 2023-03-10 11:33:49 +01:00
Filip Tibell
501933e3f9
Initial implementation of datatypes module, first datatype impl 2023-03-10 11:07:03 +01:00
Filip Tibell
1129d32b7b
Minor fixes, improve docs for document struct 2023-03-09 19:34:30 +01:00
Filip Tibell
cda2d46ed9
Add unit tests for isa functions 2023-03-09 18:35:26 +01:00
Filip Tibell
0f4c36219f
Implement auto detection of document kind for roblox lib 2023-03-09 17:31:44 +01:00
Filip Tibell
5bdc968ffe
Start work on roblox feature, implement document struct 2023-03-09 12:17:25 +01:00
Filip Tibell
3163f33887
Add support for shebang at the top of a script 2023-03-08 19:23:47 +01:00
Filip Tibell
99ca1fc230
Improve general error message formatting 2023-03-08 12:56:08 +01:00
Filip Tibell
8e168d3a9d
Add support for absolute file paths in the CLI 2023-03-08 12:09:45 +01:00
Filip Tibell
cbd4ba967e
Implement passing scripts to cli through stdin, minor bug fix 2023-03-07 22:07:53 +01:00
Filip Tibell
d01d2a27f4
Improve websocket behavior, implement close code 2023-03-02 19:46:17 +01:00
Filip Tibell
2f3157b64d
Try to force definitions file to have LF endings 2023-02-26 21:41:15 +01:00
Filip Tibell
f6f9e9db1f
Fix generation of selene type definitions 2023-02-26 21:33:49 +01:00
Filip Tibell
88dbc368d1
Fix formatting-related panic 2023-02-26 13:59:34 +01:00
Filip Tibell
7d75d5c52f
Version 0.5.1 2023-02-25 13:41:50 +01:00
Filip Tibell
c83917206f
Update dependencies 2023-02-24 17:48:11 +01:00
Filip Tibell
5675d7fa2d
Deep dive and configure dependencies 2023-02-24 17:44:09 +01:00
Filip Tibell
3a57e1fdc2
Add all pages & sidebar for wiki, make naming of global types more consistent 2023-02-23 16:07:09 +01:00
Filip Tibell
9fd6f66686
Add support for query pairs in net.request params 2023-02-23 11:31:42 +01:00
Filip Tibell
26c880c7a0
Document all global and user-accessible types 2023-02-23 11:11:47 +01:00
Filip Tibell
a59753569f
Implement tests for new fs move api 2023-02-23 10:20:57 +01:00
Filip Tibell
1fdc6d088c
Implement API for moving / renaming files and / or directories 2023-02-23 00:00:48 +01:00
Filip Tibell
eecffca741
De-UNC file paths on windows wherever possible 2023-02-22 23:21:37 +01:00
Filip Tibell
ec040e420e
Generate full wiki from typedefs file 2023-02-22 22:10:20 +01:00
Filip Tibell
8e894c7ac9
Use new typedefs parser to generate docs file 2023-02-22 14:25:50 +01:00
Filip Tibell
d6d0b74ce0
Skip test for now 2023-02-22 13:09:52 +01:00
Filip Tibell
c3422edeb7
Fix typedefs parser not generating nillable unions for function unions where one has no args 2023-02-22 13:06:47 +01:00
Filip Tibell
41ba23d7ab
Fix unification of arg types in unions where one side has nil(s) 2023-02-22 12:40:48 +01:00
Filip Tibell
a96745c292
Support referenced types in parser type stringification 2023-02-22 12:35:49 +01:00
Filip Tibell
77623264ae
Improve unification of arg types in parser 2023-02-22 12:18:30 +01:00
Filip Tibell
7c25c3319d
Clean up typedefs parser 2023-02-22 11:31:58 +01:00
Filip Tibell
09db6d5d8a
Properly handle function generics in typedefs parser 2023-02-22 11:04:31 +01:00
Filip Tibell
7b1b77fbba
Rename doc > definition in type definitions parser 2023-02-22 10:53:00 +01:00
Filip Tibell
dc8290b51b
Fix visibility issues for selene gen 2023-02-22 10:48:04 +01:00
Filip Tibell
67f9d4eb9f
Implement full selene typedefs generator 2023-02-22 10:11:36 +01:00
Filip Tibell
f4c55ff2cf
Implement most of the selene typedefs generation 2023-02-21 22:14:00 +01:00
Filip Tibell
c252db4598
Finish new docs parser 2023-02-21 21:06:11 +01:00