jeparlefrancais
3cf82e112f
Install plugin from CLI ( #304 )
...
* add install command
* cargo fmt
* filter spec files
* Update src/cli/plugin.rs
Co-Authored-By: Lucien Greathouse <me@lpghatguy.com >
* Update src/cli/plugin.rs
Co-Authored-By: Lucien Greathouse <me@lpghatguy.com >
* fix comments
* encode plugin with rbx_binary
* update build script
* refactor pathbuf error into io error
* fix rojo typo
* remove snafu
* Update `snapshot_from_fs_path`
* Print `rerun-if-changed` even for directories, in order to run the
build.rs script when files are added.
* Switch `filter_map` loop to a regular for loop. I like the FP-style
iterator stuff in Rust, but I think Result handling is easier in a
normal loop. Also, I don't believe the result of read_dir implements
`ExactSizedIterator`, so some of the wins of map+collect aren't there.
* Replace Result::unwrap with ? in build.rs
* Simplify error handling code in runtime
* Checkout with submodules
Co-authored-by: Lucien Greathouse <me@lpghatguy.com >
2020-03-29 13:41:54 -07:00
Lucien Greathouse
9b459c20d6
Fix GHA only running on pushes to master
2020-03-29 13:17:06 -07:00
Lucien Greathouse
5c85cd27c3
Fix default place project.
...
Closes #311 .
2020-03-29 12:21:55 -07:00
Lucien Greathouse
4bf73c7a8a
Implement support for turning .json files into Lua modules ( #308 )
...
* Stub implementation
* Flesh out feature and add tests. Other snapshots currently failing.
* Blacklist .meta.json in JSON handler
* Write to correct property (Source) instead of Value
* Update changelog
2020-03-28 00:36:01 -07:00
Lucien Greathouse
62e51b7535
Upgrade to latest rbx-dom
2020-03-27 23:58:31 -07:00
Lucien Greathouse
729a7f0053
Turn panics into errors in ServeSession
2020-03-26 12:16:55 -07:00
Lucien Greathouse
03c297190d
Make ServeSession::new fallible
2020-03-26 12:07:44 -07:00
Lucien Greathouse
9c790eddd7
Tidy up ServeSession now that trait bounds are gone
2020-03-26 12:06:16 -07:00
Lucien Greathouse
8ebe7e332b
Update Changelog
2020-03-25 17:02:32 -07:00
Lucien Greathouse
f43777e37e
Require a Rojo project again ( #307 )
2020-03-25 17:01:28 -07:00
Lucien Greathouse
691a8fcdeb
Upgrade lockfile using latest rustc
2020-03-25 16:15:21 -07:00
Lucien Greathouse
69c0e8d70e
Fix warnings
2020-03-21 17:49:56 -07:00
Lucien Greathouse
330c92c9a8
Refactor ChangeProcessor loop to get rid of panics
2020-03-21 17:47:25 -07:00
Lucien Greathouse
cf0ff60d31
plugin: Add simple signal implementation for future work
2020-03-18 23:31:22 -07:00
Lucien Greathouse
9e9cf5dd1f
plugin: Add support for pausing updates tracked by InstanceMap
2020-03-18 23:27:30 -07:00
Lucien Greathouse
5768d8e4a4
plugin: Miscellaneous cleanup
2020-03-18 23:15:03 -07:00
Lucien Greathouse
3b433e53be
Memofs v0.1.1
memofs-v0.1.1
2020-03-18 18:35:44 -07:00
Lucien Greathouse
28ddf40344
memofs: Update fs-err and use it more
2020-03-18 18:06:58 -07:00
Lucien Greathouse
c1286db9c1
Update Changelog
2020-03-18 16:26:41 -07:00
Lucien Greathouse
f13940262e
Update CHANGELOG
2020-03-18 12:03:50 -07:00
Lucien Greathouse
9f0a6101b8
Add configurable color options
2020-03-18 12:03:07 -07:00
Lucien Greathouse
0b0fe01a7c
Tidy up root repository files
2020-03-18 11:40:12 -07:00
Lucien Greathouse
85e098d5c8
Update README
2020-03-18 11:36:50 -07:00
Lucien Greathouse
e8d1faf4e2
Update changelog
2020-03-18 10:43:42 -07:00
Lucien Greathouse
2a46df1110
Expose two-way sync.
...
- Convert plugin DevSettings flag to settings panel feature
- Remove server feature, always enable write API
2020-03-18 10:39:40 -07:00
Lucien Greathouse
1601e6d26e
Update changelog
2020-03-17 23:20:40 -07:00
Lucien Greathouse
0e4f6dea2b
plugin: Add setting for opening scripts externally
2020-03-17 23:20:05 -07:00
Lucien Greathouse
a2356773dc
Add checkbox and fill out settings panel
2020-03-17 23:14:32 -07:00
Lucien Greathouse
4a4da4737d
Fix plugin settings persistent
2020-03-17 23:03:59 -07:00
Lucien Greathouse
2cefd1bf2e
plugin: Add PluginSettings context item, render it in settings screen
2020-03-17 23:03:01 -07:00
Lucien Greathouse
c5ce15fe34
plugin: Add dummy settings panel
2020-03-17 22:38:53 -07:00
Lucien Greathouse
76dea568c9
Update changelog
2020-03-17 22:30:00 -07:00
Lucien Greathouse
8e81140eff
Increase verbosity of logging
2020-03-17 22:29:23 -07:00
Lucien Greathouse
d58e1f0792
Add logging when running rojo build
2020-03-17 22:28:38 -07:00
Lucien Greathouse
830c242751
plugin: Stop using codename in dev mode
2020-03-17 22:25:04 -07:00
Lucien Greathouse
91d45afd0f
Add plugin feature 'UnstableOpenScriptsExternally'
2020-03-17 18:13:52 -07:00
Lucien Greathouse
102c77b23e
Implement /api/open/{id} to open a script by ID in your default editor
2020-03-17 17:50:54 -07:00
Lucien Greathouse
aa4039a2e7
bye snafu
2020-03-16 23:37:00 -07:00
Lucien Greathouse
c065ded440
Tidy up SnapshotError a lot
2020-03-16 21:35:46 -07:00
Lucien Greathouse
f69096dadb
Use thiserror and anyhow for command-level error types
2020-03-16 21:13:38 -07:00
Lucien Greathouse
363f95ba14
memofs: Use fs_err instead of std::fs when possible
2020-03-16 20:35:58 -07:00
Lucien Greathouse
dcc15e8911
Refactor upload to use ServeSession and drop common_setup
2020-03-16 20:20:12 -07:00
Lucien Greathouse
bd13047b58
Release 0.6.0-alpha.3
v0.6.0-alpha.3
2020-03-13 23:50:54 -07:00
Lucien Greathouse
1a83789c01
Update Changelog
2020-03-13 20:50:03 -07:00
Lucien Greathouse
1cbe272e19
Fix malformed meta files causing panics.
...
Fixes #280 .
2020-03-13 20:38:06 -07:00
Lucien Greathouse
6de74b41b3
Update snapshot error type and handle serde_json errors in JSON models
2020-03-13 20:31:31 -07:00
Lucien Greathouse
b0fc9ee507
Rename 'src/common' in default place template to 'src/shared'
2020-03-13 20:25:50 -07:00
Lucien Greathouse
a95ffe1d31
Add snapshot error handling to ChangeProcessor
2020-03-13 20:24:14 -07:00
Lucien Greathouse
4119a510f5
Fix broken error source tracking
2020-03-13 20:12:42 -07:00
Lucien Greathouse
cfa7f03815
Add help link to default model project
2020-03-13 20:11:08 -07:00