Lucien Greathouse
1b9e90e786
Port from Failure to Snafu ( #281 )
...
* Failure -> Snafu for build command
* Port skeletal remains of init to snafu
* failure -> snafu for serve
* failure -> snafu for upload, remove impl_from macro
* failure -> custom error in vfs
* Bye bye, failure
* Fix Rust 1.36 build regression
2019-12-18 15:44:46 -08:00
Lucien Greathouse
41396367ac
Tell Cargo to use Rojo's README.md
2019-12-17 13:59:59 -08:00
Lucien Greathouse
16c9a23d55
Shuffle around Rojo's public API
2019-12-17 13:58:46 -08:00
Lucien Greathouse
ce338a2a72
Remove impl_from macro from public API
2019-12-17 13:40:52 -08:00
Lucien Greathouse
1f7f2b22e7
Rewrite Project, remove SourceProject ( #274 )
...
* Rewrite project file to have relative paths and drop SourceProject
* Redo project error types
* Tidy up and document Project type
* Strip out init command
2019-12-12 14:45:15 -08:00
Lucien Greathouse
47c7f63d75
Switch everything to StructOpt ( #277 )
...
* Add types for Rojo's subcommands
* Flesh out CLI types
* Port everything to structopt instead of clap
2019-12-12 14:30:47 -08:00
Lucien Greathouse
8b1e85fbb4
Upgrade dependencies
2019-12-11 18:05:44 -08:00
Lucien Greathouse
ff4e9fb027
Stop overriding default-members in CI
2019-12-10 17:13:37 -08:00
Lucien Greathouse
d15ef40988
Upgrade dependencies correctly this time
2019-12-10 17:02:08 -08:00
Lucien Greathouse
eadfb18f74
Update rbx_xml and rbx_reflection
2019-12-10 13:39:55 -08:00
Lucien Greathouse
4b89bb087a
Attach context to instances produced by middleware ( #273 )
2019-12-04 11:38:28 -08:00
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