~hime/shellac

(repo) add changelog document
854e4752 — Robert Straw 1 year, 1 month ago
(repo) bump versions of lacca/resin
c867731e — Robert Straw 1 year, 1 month ago
Merge branch 'dev/update-deps'
a18580e8 — Robert Straw 1 year, 1 month ago
(lacca) enum variant w/ no fields is no longer a Map

This fixes an issue where the stream type-descriptor is now simply a
string and not packed into an unnecessary dictionary. A test is
also added to cover the stderr variant as well as stdout.
45afc224 — Robert Straw 1 year, 1 month ago
(deps) update rmp-serde to 1.1
ee74361a — Robert Straw 3 years ago
(repo) ignore /wip/ directory
b5bd3a8f — Robert Straw 3 years ago
(docs) clean up doc comments
eb2fd407 — Robert Straw 3 years ago
(resin) clean up warnings re: channel sends

This patch cleans up a number of compile-time warnings, which makes the
overall build process cleaner when this is integrated into a mix
project.

* discard error in the case where we cannot send to the client's inbox
  after killing the inferior process. most likely the client was issuing
  a "less than graceful" shutdown and immediately hung-up afterwards.

* discard error in the case main loop exits because stdin was closed.
  (where would the error go? until some out-of-band logging is added
   it makes no sense to handle this error.)

* report an error in the case that we are unable to send the exit
  command to the associated server thread. the most likely way this
  could happen is in a case where somehow the client sends two exit
  messages before we have a chance to actually close the stdio handles.

  the exit thread would die after handling the first such message, if
  the client is still around we should probably report the error so
  the client can stop sending an unnecessary second exit message.
b1810fa5 — Robert Straw 3 years ago
(resin) cleanup deprecated `thread::sleep_ms` calls
7fb8bf28 — Robert Straw 3 years ago
(resin) (deps) do not use winapi crate

The winapi crate was included erroneously. The Rust stdlib includes the
ability to get the raw handle for the stdio without using the windows
API directly.
ccc949a5 — Robert Straw 3 years ago v0.2.1
(bump version) v0.2.1

This release includes the following changes:

      (style) fix whitespace errors in resin
      (docs) update readme to reflect v0.2
      (docs) update LICENSE copyright year
      (resin) do not use buffered I/O

This release includes one fairly major change to `resin`, which is that for
communication between the `lacca` and `resin` we now use the actual file
descriptor instead of going through the stdlibs stdin/stdout primitives.

The Erlang/OTP manual instructs that port authors do not use buffered
I/O when communicating w/ an external program. This is our attempt to
comply with that requirement. Coincidentally backporting this to v0.1  fixes
the issue in which CBOR messages were getting clobbered on the wire.
3b36641a — Robert Straw 3 years ago
(resin) do not use buffered I/O

Use the raw FDs, as described by the [Erlang ports][1] manual sec 4.2.
Using stdin/stdout is buffered and ultimately lead to problems decoding CBOR
as multiple messages were being sent together & `lacca` was not
properly equipped to handle this.

[1]: https://erlang.org/doc/tutorial/c_port.html
9c243af9 — Robert Straw 3 years ago
(docs) update LICENSE copyright year
7ca05bdd — Robert Straw 3 years ago
(docs) update readme to reflect v0.2
85183de2 — Robert Straw 3 years ago
(style) fix whitespace errors in resin
9d26e0b7 — Robert Straw 3 years ago v0.2.0
(bump version) v0.2

* switch away from CBOR to MsgPack
0a029dce — Robert Straw 3 years ago
(resin) switch to MsgPack encoding
a75b5f43 — Robert Straw 3 years ago
(lacca): switch to Msgpack encoding
7137dec5 — Robert Straw 3 years ago v0.1.6
(bump version) v0.1.6, bump resin v0.1.6

* updates serde_cbor to 0.11
f8aff6aa — Robert Straw 3 years ago
add sr.ht builds badge
Next