Commit Graph

116 Commits

Author SHA1 Message Date
Jonathan Frederic
b53386b37b Ran function comment conversion tool 2014-12-03 13:42:43 -08:00
Matthias Bussonnier
480beffd7b Move js donc into function themselves.
Then it is possible in the browser js console to get the documentation
interactively.
2014-11-29 15:33:14 +00:00
Jason Grout
da8cab76dd Clean up promises code some more. 2014-11-19 19:16:54 +00:00
Jonathan Frederic
61ebd40206 Bug fix, promise not resolving. 2014-11-17 11:44:10 -08:00
Jonathan Frederic
907bde3b25 Address review comments 2014-11-15 08:49:45 -08:00
Jonathan Frederic
3c949aad92 Remove message promise. 2014-11-15 08:49:45 -08:00
Jonathan Frederic
fe398593e7 Typo fix 2014-11-15 08:49:44 -08:00
Jonathan Frederic
93cedc167e Address @takluyver 's comments 2014-11-15 08:49:44 -08:00
Jonathan Frederic
eb319c8aab Promise logic is infectious like a disease 2014-11-15 08:49:44 -08:00
Jonathan Frederic
b56fc606ad Promise the messages to the model 2014-11-15 08:49:44 -08:00
Jonathan Frederic
bed3a4cfda use es6 2014-11-15 08:48:36 -08:00
Jonathan Frederic
bbcd5cb55f Bug fixes 2014-11-15 08:48:34 -08:00
Jonathan Frederic
3870bb571b Use rsvp.js for Promises 2014-11-15 08:48:34 -08:00
Jonathan Frederic
1d1572421f Add a WrappedError class 2014-11-15 08:48:34 -08:00
Jonathan Frederic
c41dcb35e9 Proxy console.error calls 2014-11-15 08:48:33 -08:00
Jonathan Frederic
2eae36ac9a Use load_class in comms instead of callbacks. 2014-11-15 08:48:33 -08:00
Min RK
fe00509f32 add sticky Connection lost notification
when reconnect process gives up
2014-11-07 15:42:40 -08:00
Min RK
a6d427e5c9 add exponential falloff for reconnect
avoids constant reconnect attempts every 3 seconds forever

gives up after 6 tries (last timeout 64s)
2014-11-07 14:52:15 -08:00
Thomas Kluyver
db6cd028ea Merge pull request #6793 from takluyver/langinfo
Move language info from kernelspec to kernel_info_reply
2014-10-30 16:15:19 -07:00
Thomas Kluyver
9c7d73a05e Move language info from kernelspec to kernel_info_reply 2014-10-24 16:24:24 -07:00
Thomas Kluyver
a77b5e8e31 Support specifying requirejs modules for comm targets 2014-10-24 12:15:55 -07:00
MinRK
a67abc297d remove unnecessary 'js' subdir from services
part of the point of services is that they are just code, so they won't have js/less/etc. files.
2014-10-19 15:40:50 -07:00
MinRK
7fd161599b cleanup serialize per review 2014-10-18 19:04:57 -07:00
MinRK
8c743d304f unsigned ints for offsets
because signed ints for sizes is icky
2014-10-15 12:23:33 -07:00
MinRK
11f5775103 test binary websocket messages
only runs on slimerjs for now
2014-10-15 12:23:33 -07:00
MinRK
b548e51550 use TextEncoding for string<->ArrayBuffer
requires text-encoding js polyfill, for now
2014-10-15 12:23:32 -07:00
MinRK
3693ac83ae support binary message from javascript 2014-10-15 12:23:32 -07:00
MinRK
6cef7fcb86 use utf8.js
move message serialization to kernel.serialize module
2014-10-15 12:23:32 -07:00
MinRK
c9c131ebf9 s/unserialize/deserialize 2014-10-15 12:23:32 -07:00
MinRK
3a1c845f96 support buffers in comm messages
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
2014-10-15 12:23:31 -07:00
MinRK
624f0071a2 remove on_first_message authentication
in ZMQStreams. No need for weird, special first message.

- use regular cookie auth
- use url param for session id
2014-10-09 15:12:20 -07:00
Jessica B. Hamrick
b650c56a66 One more this/that change 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
bbb9edf374 Fix bugs with this and that 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
37c2419c5e Rename all status_event to kernel_event 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
8f28134a89 Keep trying to reconnect 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
29e6885b60 Test for autorestart and failed autorestart 2014-10-08 11:30:32 -07:00
Jessica B. Hamrick
7f8b95a661 Add status_ready.Kernel event and rename status_started to status_created 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
42e863db8c Remove debugging statements 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
01ba501b88 Fix event tests 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
9180004fd1 Better way of logging events 2014-10-08 11:30:31 -07:00
Jessica B. Hamrick
42a9a1f46d Make kernel js events clearer and more consistent 2014-10-08 11:30:30 -07:00
Jessica B. Hamrick
951d9a7249 Don't actually change kernel constructor signature 2014-10-08 11:30:30 -07:00
Jessica B. Hamrick
05611569ec Add docstrings to kernel.js 2014-10-08 11:30:30 -07:00
Jessica B. Hamrick
2dbfc30934 Add no_kernel.Kernel event 2014-10-08 11:30:30 -07:00
Jessica B. Hamrick
999daf041c Handle query string in Kernel.start 2014-10-08 11:30:30 -07:00
Jessica B. Hamrick
741b2e97b1 Only set channels to null when they are fully closed 2014-10-08 11:30:29 -07:00
Jessica B. Hamrick
a601531e1c Move channels into their own object 2014-10-08 11:30:29 -07:00
Jessica B. Hamrick
cf98a0a5a0 Better respect for abstraction barriers 2014-10-08 11:30:29 -07:00
Jessica B. Hamrick
2f3d8617b4 Fix shutdown test 2014-10-08 11:30:29 -07:00
Jessica B. Hamrick
ade7692ccd Fix bugs in kernel.js 2014-10-08 11:30:29 -07:00