Pete Shadbolt
6926485b83
More hints.
pirms 8 gadiem
Pete Shadbolt
0681aee924
More intelligible debug information.
pirms 8 gadiem
Pete Shadbolt
232635910a
Remove extraneous print statements from abpserver
pirms 8 gadiem
Pete Shadbolt
b2917465fe
Remove legacy HTML/JS, deterministic server
pirms 8 gadiem
Pete Shadbolt
ce322b561e
Update doc version
pirms 8 gadiem
Pete Shadbolt
f94d3eabd3
Multiple clients viewing / editing same state.
pirms 8 gadiem
Pete Shadbolt
fed7813eb3
We did need one of those functions.
pirms 8 gadiem
Pete Shadbolt
d6aefcdee8
More robust reconnect on server restart.
pirms 8 gadiem
Pete Shadbolt
bdf7e45606
Now we can do the complete set of operations.
pirms 8 gadiem
Pete Shadbolt
37dd9265ce
Can now sketchily delete nodes. Needs work.
pirms 8 gadiem
Pete Shadbolt
1c80b1f394
Selection now works - pretty hacky though.
pirms 8 gadiem
Pete Shadbolt
5567258c53
Now I can do CZ gates. Focus sucks though.
pirms 8 gadiem
Pete Shadbolt
899b202810
Closed the loop - JS -> Python -> JS
pirms 8 gadiem
Pete Shadbolt
352a1d4325
`add_node` is a constant annoyance :rage4:
NetworkX provides `add_node`, we don't, leads to missing
`graph.node["vop"]`. Does this fix it?
pirms 8 gadiem
Pete Shadbolt
d6b5f540df
Add & test GraphState.from_json
We needed to implement `GraphState.from_json` so that the server can
track a copy of the client's state. That's a useful byproduct of this
work!
pirms 8 gadiem
Pete Shadbolt
e273b3107f
Can message abpserver from JavaScript
pirms 8 gadiem
Pete Shadbolt
826a8b26d3
Starting to work on stripping out abp.js
pirms 8 gadiem
Pete Shadbolt
9f715aa713
Update server, some small docs
pirms 8 gadiem
Pete Shadbolt
85d6c262d9
PIP seems to be kinda working now
pirms 8 gadiem
Pete Shadbolt
98e8241d29
Update to v0.3, prepare for pip
pirms 8 gadiem
Pete Shadbolt
c9d7fe8d18
Everything works but it is a bit awkward
pirms 8 gadiem
Pete Shadbolt
6763052d4f
Trying to get `abserver` to install automatically
pirms 8 gadiem
Pete Shadbolt
452430627a
Threaded HTTP server -> no laggy refresh
pirms 8 gadiem
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
pirms 8 gadiem
Pete Shadbolt
548f7f59e0
Stopped WebSocket client from hanging :gun:
By default the server echoes messages to all clients.
The fancy.GraphState client was never calling ws.recv()
And hence a buffer was filling up somewhere
And we were hanging.
Adding a ws.recv() fixed the problem.
pirms 8 gadiem
Pete Shadbolt
0d78f792c2
Prepare for JS tests
pirms 8 gadiem
Pete Shadbolt
2596c65a33
Fast server boot
pirms 8 gadiem
Pete Shadbolt
60a5a22c06
Server now serves HTML to localhost:5001 :gun:
And we automatically pop a browser window when the server boots. Nice
pirms 8 gadiem
Pete Shadbolt
40c2b3caa9
Tidy up
pirms 8 gadiem
Pete Shadbolt
7785d264c9
Add stuff
pirms 8 gadiem
Pete Shadbolt
eb4fe7d81e
Move some files, comment visiblegraphstate
pirms 8 gadiem
Pete Shadbolt
f2f65ebeb4
Anders and briegel in javascript
pirms 8 gadiem
Pete Shadbolt
7bbaa85001
Improvements in speed, interface
pirms 8 gadiem
Pete Shadbolt
3a39a49ef0
Looks a little more promising
pirms 8 gadiem
Pete Shadbolt
c797b8abd1
Progress
pirms 8 gadiem
Pete Shadbolt
a6bb4aae34
Much more efficient, cleaner
pirms 8 gadiem
Pete Shadbolt
b24debbd14
Improve server
pirms 8 gadiem
Pete Shadbolt
530f914a45
Rudimentary visualization is good
pirms 8 gadiem
Pete Shadbolt
f76b0d9595
Server / client architecture is looking good!
pirms 8 gadiem
Pete Shadbolt
54d7657374
Now we are getting somewhere with the server
pirms 8 gadiem
Pete Shadbolt
58ced9272d
Add from_json, a buncha server/client stuff
pirms 8 gadiem
Pete Shadbolt
045cceea65
Fixing, tidying
pirms 8 gadiem
Pete Shadbolt
062eb828d5
Make it possible to add vertices without adding edges
pirms 8 gadiem
Pete Shadbolt
427d0674b5
It's working now - Ctrl-C, polling etc are good
pirms 8 gadiem
Pete Shadbolt
06d7fb9bf3
Maybe daemon was the secret auce
pirms 8 gadiem
Pete Shadbolt
2c9254f628
WTF
pirms 8 gadiem
Pete Shadbolt
9e597d9c13
Thread shutdown is working now
pirms 8 gadiem
Pete Shadbolt
da7ec98e8d
Start prototype server
pirms 8 gadiem