Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade dcs (WIP) #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dcs
Submodule dcs updated 92 files
+1 −0 .gitignore
+4 −1 .gitmodules
+1 −0 .npmrc
+70 −8 README.md
+7 −4 browser.ls
+0 −6 connectors/README.md
+0 −186 connectors/couch-dcs/couch-nano.ls
+0 −781 connectors/couch-dcs/package-lock.json
+0 −115 connectors/couch-dcs/server.ls
+0 −101 connectors/omron/fins/omron-fins-client.ls
+0 −11 connectors/omron/fins/package-lock.json
+0 −25 connectors/omron/fins/troubleshooter.ls
+0 −21 connectors/socketio/browser.ls
+0 −377 connectors/socketio/package-lock.json
+0 −31 connectors/socketio/server.ls
+0 −77 connectors/tcp/client.ls
+0 −37 connectors/tcp/server.ls
+22 −10 index.ls
+42 −22 install-modules.sh
+0 −170 lib/cca-pouchdb.ls
+7 −0 lib/event-emitter.ls
+2 −2 lib/index.ls
+40 −4 lib/logger.ls
+0 −272 lib/long-polling.ls
+49 −24 lib/memory-map.ls
+13 −1 lib/packing.ls
+58 −0 lib/test-utils.ls
+0 −41 package-lock.json
+6 −2 package.json
+0 −79 proxy/authority.ls
+0 −129 proxy/client.ls
+35 −0 services/README.md
+1 −0 services/couch-dcs/.npmrc
+36 −15 services/couch-dcs/README.md
+2 −0 services/couch-dcs/addressing-couchdb-limitations.md
+41 −6 services/couch-dcs/client.ls
+315 −0 services/couch-dcs/couch-nano.ls
+99 −0 services/couch-dcs/notes.md
+1 −0 services/couch-dcs/package.json
+348 −0 services/couch-dcs/server.ls
+14 −0 services/dcs-proxy/deps.ls
+0 −0 services/dcs-proxy/protocol-actor/README.md
+23 −1 services/dcs-proxy/protocol-actor/auth-db.ls
+145 −0 services/dcs-proxy/protocol-actor/client.ls
+95 −0 services/dcs-proxy/protocol-actor/handler.ls
+8 −4 services/dcs-proxy/protocol-actor/helpers.ls
+1 −0 services/dcs-proxy/socket-io/.npmrc
+20 −0 services/dcs-proxy/socket-io/browser.ls
+0 −0 services/dcs-proxy/socket-io/package.json
+30 −0 services/dcs-proxy/socket-io/server.ls
+7 −0 services/dcs-proxy/tcp/README.md
+18 −0 services/dcs-proxy/tcp/client.ls
+42 −0 services/dcs-proxy/tcp/server.ls
+1 −0 services/omron/fins/.npmrc
+8 −0 services/omron/fins/README.md
+0 −0 services/omron/fins/index.ls
+162 −0 services/omron/fins/omron-fins-client.ls
+0 −0 services/omron/fins/package.json
+1 −0 services/omron/fins/run-ls
+26 −0 services/omron/fins/troubleshooter.ls
+0 −0 services/omron/hostlink/helpers.ls
+0 −0 services/omron/hostlink/hostlink-protocol.ls
+0 −0 services/omron/hostlink/hostlink-serial-connector.ls
+0 −0 services/omron/hostlink/test-over-serial.ls
+0 −0 services/omron/index.ls
+2 −2 services/omron/omron-protocol-actor.ls
+0 −0 services/rpi/index.ls
+0 −0 services/rpi/package-lock.json
+0 −0 services/rpi/package.json
+5 −0 services/siemens/index.ls
+0 −0 services/siemens/nodeS7
+0 −0 services/siemens/s7-actor.ls
+6 −0 src/actor-manager.ls
+52 −27 src/actor.ls
+22 −25 src/auth-handler.ls
+7 −0 src/auth-helpers.ls
+4 −4 src/auth-request.ls
+39 −14 src/signal.ls
+42 −32 src/topic-match.ls
+1 −1 test/signal-test.ls
+48 −0 tools/find-root.sh
+4 −0 tools/run-js
+18 −0 tools/run-ls
+1 −0 tools/service-runner
+20 −10 transports/README.md
+1 −0 transports/serial-port/.npmrc
+0 −736 transports/serial-port/package-lock.json
+7 −3 transports/socket-io/index.ls
+1 −0 transports/tcp/.npmrc
+123 −0 transports/tcp/index.ls
+14 −0 transports/tcp/package.json
+12 −0 update.sh
7 changes: 2 additions & 5 deletions examples/hello-world.ls
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
require! 'dcs': {Actor, sleep}

class Hello extends Actor
new class Hello extends Actor
action: ->
<~ :lo(op) ~>
@log.log "hello!"
<~ sleep 1000ms
lo(op)

class World extends Actor
new class World extends Actor
action: ->
<~ :lo(op) ~>
@log.log "world!"
<~ sleep 2000ms
lo(op)

new Hello!
new World!
5 changes: 0 additions & 5 deletions examples/run-ls

This file was deleted.

1 change: 1 addition & 0 deletions examples/run-ls