Commit graph

238 commits

Author SHA1 Message Date
Filip Tibell
c43d164c6a
Implement more instance method tests 2023-03-25 17:07:08 +01:00
Filip Tibell
6895b66550
Fix unnecessary error message printing for destroyed instances 2023-03-25 16:46:46 +01:00
Filip Tibell
580ed6414c
Implement proper cloning of instance reference properties for instance cloning 2023-03-25 16:13:26 +01:00
Filip Tibell
e041f3e2ea
Add test for instance attributes, fix binary strings 2023-03-25 11:39:32 +01:00
Filip Tibell
8b0edc8dae
Fix access of roblox instance reference properties when they are not set 2023-03-25 11:12:09 +01:00
Filip Tibell
25f46c10a8
Add in restrictions for roblox attribute names 2023-03-25 11:00:22 +01:00
Filip Tibell
22ab18026b
Implement attributes & instance ref properties for roblox lib 2023-03-25 10:48:14 +01:00
Filip Tibell
587a1c796d
Finish gitbook gen command 2023-03-24 12:51:37 +01:00
Filip Tibell
673c193228
Fix docs gen 2023-03-24 12:38:27 +01:00
Filip Tibell
9cf6c0f44f
Replace references to wiki with gitbook 2023-03-24 11:46:22 +01:00
Filip Tibell
124c0d06b5
Fix roblox builtin writing mysterious root instances 2023-03-23 09:42:24 +01:00
Filip Tibell
3a36a9dd1b
Add function for roblox auth cookie 2023-03-22 20:20:43 +01:00
Filip Tibell
d802288906
Update wiki with new roblox builtin 2023-03-22 20:08:55 +01:00
Filip Tibell
bf574607fb
Make new async require work with concurrent requires 2023-03-22 18:16:45 +01:00
Filip Tibell
ed07409dbc
Fix selene typedefs generation 2023-03-22 16:40:43 +01:00
Filip Tibell
440d5f7ab1
Fix tests being flaky 2023-03-22 14:12:05 +01:00
Filip Tibell
94c1f42dbe
Implement proper access of default properties for roblox instances 2023-03-22 13:51:18 +01:00
Filip Tibell
201f38d44e
Implement tests for getting & setting roblox instance properties
Also fix some related bugs
2023-03-22 13:29:39 +01:00
Filip Tibell
afdde26a18
Add tests for reading & writing roblox place & model files 2023-03-22 13:02:05 +01:00
Filip Tibell
34e417e57b
Implement GetService and FindService 2023-03-22 12:43:23 +01:00
Filip Tibell
1441544426
Make DataModel class name a shared constant for safety 2023-03-22 11:29:11 +01:00
Filip Tibell
b0d401421e
Implement mechanism for implementing roblox methods only on certain classes 2023-03-22 11:20:47 +01:00
Filip Tibell
9f13b8e667
Don't allow instances to be created from dom roots 2023-03-22 10:28:49 +01:00
Filip Tibell
b63d016818
Merge parent setter methods 2023-03-22 10:21:42 +01:00
Filip Tibell
a21861918b
Prevent setting Parent prop of DataModel instances 2023-03-22 10:15:39 +01:00
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