Lucien Greathouse
f0a602b48b
Revert "Remove some PartialEq derives"
...
This reverts commit fe10da9a6c .
2019-12-03 16:47:19 -08:00
Lucien Greathouse
fe10da9a6c
Remove some PartialEq derives
2019-12-03 16:34:46 -08:00
Lucien Greathouse
948303aac8
Remove InstanceSnapshotContext in favor of InstanceContext ( #271 )
...
* Drop plugin context on the floor
* Remove redirect from old context to new context
* Pass InstanceContext via & instead of &mut reference
* Re-use context value in ChangeProcessor from metadata
2019-12-03 16:11:51 -08:00
Lucien Greathouse
12df80da56
Introduce InstanceContext ( #270 )
...
* Add instance context with dummy field
* Remove stub field
2019-12-03 15:30:20 -08:00
Lucien Greathouse
a48c238ed7
Add InstanceMetadata builder ( #269 )
...
* Add InstanceMetadata builder, with context field for globbing
* Revert snapshot changes
* Port snapshot functions to InstanceMetadata builder-ish pattern
* Remove IgnoreGlob struct
* Elide lifetime
2019-12-03 14:49:40 -08:00
Lucien Greathouse
da6c7b4d7a
Fix Insta snapshot files having their line endings truncated when edited
2019-11-25 18:10:39 -08:00
Lucien Greathouse
15cbbacc2f
Refcount entries in snapshot context, moving towards sharing
2019-11-25 15:11:58 -08:00
Lucien Greathouse
c3f6a17bae
Add builder-ish methods to InstanceSnapshot to make middleware code more readable
2019-11-19 14:02:57 -08:00
Lucien Greathouse
0fbeb70865
Remove erroneous comment in SnapshotJsonModel
2019-11-19 13:53:48 -08:00
Lucien Greathouse
02f98a4053
Remove lifetime from SnapshotInstanceResult
2019-11-19 13:06:31 -08:00
Lucien Greathouse
d2e2a13479
Start stripping out lifetimes in InstanceSnapshot
2019-11-19 13:05:18 -08:00
Lucien Greathouse
f32cb592e2
Remove ownership stuff from InstanceSnapshot
2019-11-19 13:02:35 -08:00
Lucien Greathouse
72342f3118
Trim vestigial middleware method
2019-11-19 12:55:55 -08:00
Lucien Greathouse
246fd5f6c4
Add init scripts as relevant paths to all directories.
...
This doesn't feel ideal. Though it's true that all directories are influenced by
any init scripts they have, the directory middleware shouldn't need to know
about Lua.
I don't really want to go back into working on the middleware chain since it
mostly feels like busywork when there are other things to build on in Rojo.
also all of this feels really complicated
2019-11-18 18:28:36 -08:00
Lucien Greathouse
715022def5
Make init files copy metadata from folder.
...
Fixes #267 .
2019-11-18 18:16:37 -08:00
Lucien Greathouse
78b2bafde1
Add test for #267 .
2019-11-18 18:11:33 -08:00
Lucien Greathouse
2d7ebac8e6
Enable test for removing files
2019-11-18 18:08:18 -08:00
Lucien Greathouse
bcffd2eb99
Add support for removing files, handled in ChangeProcessor
2019-11-18 18:08:12 -08:00
Lucien Greathouse
459bf62fab
Add missing contents for disabled remove_file test
2019-11-18 16:52:19 -08:00
Lucien Greathouse
bdaa671823
Plugin: Pipe InstanceMap around, improve debug output, fix session ID bug
2019-11-18 16:30:57 -08:00
Lucien Greathouse
463bf9b116
Make errors scrollable when too long
2019-11-18 15:57:22 -08:00
Lucien Greathouse
0c7a94c062
Update more code to new formatting machinery
2019-11-18 15:18:06 -08:00
Lucien Greathouse
af866f0665
Fix request timeout in long polling causing error to bubble to console
2019-11-15 15:54:58 -08:00
Lucien Greathouse
2493c70241
Fix log special case for empty tables
2019-11-15 15:43:42 -08:00
Lucien Greathouse
3c3359999c
Fix hydration patch incorrectly comparing properties
2019-11-15 15:42:11 -08:00
Lucien Greathouse
2467004dc2
Update HTTP logs
2019-11-15 15:40:03 -08:00
Lucien Greathouse
3a9f438390
Integrate fmt into log
2019-11-15 15:39:15 -08:00
Lucien Greathouse
3126de2c37
Build out real formatting machinery
2019-11-15 15:00:54 -08:00
Lucien Greathouse
b7d026b98e
Partial implementation of better formatting machinery
2019-11-14 18:43:51 -08:00
Lucien Greathouse
3f8b178f88
Add support for computing property and name changes in hydration patch computation
2019-11-14 18:18:38 -08:00
Lucien Greathouse
6184f4ce4f
Improve debug output for initialization of ServeSession
2019-11-14 18:18:24 -08:00
Lucien Greathouse
fa736697a9
Introduce early Lua formatting library inspired by Rust
2019-11-14 18:18:07 -08:00
Lucien Greathouse
2c88c700ca
Work around plugins loading too early by searching for DevSettings via ChildAdded
2019-11-14 18:16:48 -08:00
Lucien Greathouse
0b2e9ce1ad
Improve InstanceMap tracking of ValueBase instances
2019-11-14 18:16:17 -08:00
Lucien Greathouse
ccafdf250e
Add counterpart to setCanonicalProperty for reading
2019-11-14 18:15:53 -08:00
Lucien Greathouse
57b28faa74
Update ApiSubcribeMessage signature
2019-11-14 18:15:33 -08:00
Lucien Greathouse
d0d7c58af1
Start tracking property changes in plugin
2019-11-13 18:34:48 -08:00
Lucien Greathouse
339fc979f5
Add disabled test for removing file that currently hangs
2019-11-11 18:03:31 -08:00
Lucien Greathouse
47614c3102
Update names in subscribe portion of sync protocol
2019-11-11 17:52:09 -08:00
Lucien Greathouse
94e1501329
Stop having clibrojo as a default project, update docs
2019-11-07 18:24:16 -08:00
Lucien Greathouse
dfb015acc2
Add Rojo C API experiment
2019-11-07 18:20:55 -08:00
Lucien Greathouse
f1daafbf9e
Fix ordering not being preserved in Vfs
2019-11-03 00:00:50 -07:00
Lucien Greathouse
432e10c205
Scrap old project load tests
2019-11-02 23:47:03 -07:00
Lucien Greathouse
62b626a931
Remove Project::load_from_str in favor of from_slice
2019-11-02 23:43:24 -07:00
Lucien Greathouse
9a2893c6bc
Remove warnings for upgrading from 0.4.x
2019-11-02 23:41:32 -07:00
Lucien Greathouse
3a538f98ed
Tightened project discovery behavior
2019-11-02 23:36:28 -07:00
Lucien Greathouse
7c71708de7
Drop support for roblox-project.json
2019-11-02 23:16:01 -07:00
Lucien Greathouse
b64d97e808
Force PathMap to have deterministic ordering by using BTreeSet instead of HashSet
2019-10-21 16:25:34 -07:00
Lucien Greathouse
428a19789d
Enable 'move folder of stuff' test
2019-10-21 16:00:43 -07:00
Lucien Greathouse
7cc4055d94
Upgrade to Insta master to get bugfix.
...
Map sorting in Insta was previously not recursive.
As of this PR, it is!
https://github.com/mitsuhiko/insta/pull/80
Since it hasn't made it into a release yet, but is
important for Rojo to have snapshot determinism,
we're moving temporarily to depend on Insta via Git.
2019-10-21 15:29:33 -07:00