Takafumi Arakaki
886ca90fe3
Fix cell yank
...
This change fix this error:
Got error from the on-message function: Unbound slot: "#<class ein:codecell>", "#<ein:codecell Cell>", :events, oref
This error was issued when executing yanked cell because the :events
slot of the yanked cell was empty.
2012-06-05 21:52:51 +02:00
Takafumi Arakaki
119951651f
Add ein:notebooklist-open-notebook-global
2012-06-05 14:54:18 +02:00
Takafumi Arakaki
cc0aa11a19
Put dummy event handler in shared-output cell
2012-06-05 00:52:00 +02:00
Takafumi Arakaki
f41b26c483
Fix ein:kernel--handle-payload
...
ein:aif cannot be used there because `it' is already taken by the
`loop' macro which replaces `it' with some random symbol. In the
`then' clause, `it' indicates the value tested by `if' (just like
aif).
2012-06-04 21:12:06 +02:00
Takafumi Arakaki
f1c25510b7
Set events properly for the already existing cells
2012-06-04 19:46:19 +02:00
Takafumi Arakaki
6b3f7d1f8c
Code cell sets dirty flag via event
2012-06-04 16:33:19 +02:00
Takafumi Arakaki
e9210fe644
Cosmetic changes on code alignment
2012-06-04 16:23:53 +02:00
Takafumi Arakaki
93199a392b
Remove cell from kernel-execute callbacks
2012-06-04 16:18:17 +02:00
Takafumi Arakaki
bb56cd4681
Update README.rst
2012-06-03 18:48:07 +02:00
Takafumi Arakaki
155b41d699
ein:pytools-jump-to-source-command from connect
2012-06-03 17:55:27 +02:00
Takafumi Arakaki
05a437b1ad
Make ein:pytools-jump-to-source-command more robust
2012-06-03 17:50:13 +02:00
Takafumi Arakaki
853a9ec50e
Add ein:pytools-jump-to-source-command (M-.)
...
As this command requires to invoke multi-line python code, ein.py is
added to store python code needed for EIN. The sys.path is added
automatically when the kernel is started so that any function can be
called as ``__import__("ein").FUNCTION()``. This way, namespace is
not contaminated at all.
2012-06-03 17:30:16 +02:00
Takafumi Arakaki
5766a68c29
Add ein:$kernel-after-execute-hook
...
... and hook ein:kernelinfo-update-ccwd to update default-directory in
very eager manner.
2012-06-03 00:22:16 +02:00
Takafumi Arakaki
3cb3589c79
Make logging more robust
...
Previously logging fails when the log buffer is deleted accidentally.
Now it is automatically created.
2012-06-02 22:26:30 +02:00
Takafumi Arakaki
a7ed044dc4
Merge branch 'kernelinfo' into master
...
Conflicts:
ein-websocket.el
2012-06-02 22:12:50 +02:00
Takafumi Arakaki
6d0893b0b9
Suppress silent flag from shared output cell
...
Some kind of outputs (pyout/inline image) was not shown in the shared
output buffer because the silent flag was on. This is fixed now.
2012-06-02 21:53:59 +02:00
Takafumi Arakaki
be0c3665b9
Fix ein:notebook-toggle-cell-type: set kernel
...
Set kernel slot if the converted cell is a code cell.
2012-06-02 21:47:03 +02:00
Takafumi Arakaki
77d574dc73
Fix test: ein:notebook-toggle-cell-type-simple
2012-06-02 20:59:14 +02:00
Takafumi Arakaki
8e3aeb3ea4
Document ein:connect-mode more
2012-06-02 20:41:41 +02:00
Takafumi Arakaki
351ff8b26b
Add ein:notebook-eval-string
2012-06-02 20:40:22 +02:00
Takafumi Arakaki
adc8ba277d
Add ein:connect-eval-string
2012-06-02 20:25:13 +02:00
Takafumi Arakaki
d922db4b38
Add ein:notebook-change-cell-type command
2012-06-02 18:46:02 +02:00
Takafumi Arakaki
690c752a6e
Adapt ein:notebook-toggle-cell-type to v3 notebook
2012-06-02 18:44:29 +02:00
Takafumi Arakaki
695ee1a433
Change prompt for text cells
2012-06-02 12:21:07 +02:00
Takafumi Arakaki
a96caa5692
Merge branch 'new-ws'
2012-06-02 12:03:21 +02:00
Takafumi Arakaki
f018885fbb
Simplify ein-websocket.el
2012-06-01 23:38:43 +02:00
Takafumi Arakaki
02878d3b36
Remove ein:$websocket-readyState
...
ein:websocket-open-p directly uses websocket-ready-state now.
2012-06-01 22:56:09 +02:00
Takafumi Arakaki
ef1b66c2dc
Simplify ein:websocket-filter
2012-06-01 22:50:45 +02:00
Takafumi Arakaki
8e5f0f6f4f
Quick fix to follow the API change of websocket.el
2012-06-01 22:48:44 +02:00
Takafumi Arakaki
86b8ba6f05
Fix ein:kernelinfo-update-ccwd
2012-06-01 21:27:34 +02:00
Takafumi Arakaki
36c5a188c2
Fix WS "onopen": readyState must be set before CB
2012-06-01 00:40:52 +02:00
Takafumi Arakaki
a030f6ec7a
Add ein:dev-start/stop-debug commands
2012-05-31 23:54:43 +02:00
Takafumi Arakaki
043809cc76
Add after-start-hook to kernel and use it for info
2012-05-31 23:01:12 +02:00
Takafumi Arakaki
0715c33e46
Add ein:kernelinfo-init
2012-05-31 18:12:44 +02:00
Takafumi Arakaki
5926f3fb2a
Add ein:$kernelinfo to track cwd and hostname
2012-05-31 16:22:13 +02:00
Takafumi Arakaki
30011e7de6
Refactor ein:kernel-sync-directory
2012-05-27 05:49:41 +02:00
Takafumi Arakaki
6dde09196a
Don't show uninteresting tooltip
2012-05-27 05:39:33 +02:00
Takafumi Arakaki
03437ff35a
Add functions to sync directory with kernel's CWD
...
Another possible way to implement this is to use user_expressions.
However, replied message is Python's repr. As there is no reliable
way to convert it except using Python itself, I am using stream to
get CWD.
2012-05-27 05:19:17 +02:00
Takafumi Arakaki
fbbff8b644
Remove hard-coded timeout
2012-05-27 02:03:58 +02:00
Takafumi Arakaki
66a8a90ddc
Merge branch 'ein-query'
2012-05-27 01:39:39 +02:00
Takafumi Arakaki
9ba9be9253
Add some keys to smartrep config and remove C-d
2012-05-27 01:26:41 +02:00
Takafumi Arakaki
878c74d3e1
Fix: response-status was not passed to ajax callbacks
2012-05-26 22:55:23 +02:00
Takafumi Arakaki
b37dbaeeeb
Add eintest:delete-untitled0
2012-05-26 22:39:39 +02:00
Takafumi Arakaki
b9e056d8f7
Fix eintest:get-untitled0-or-create
2012-05-26 22:37:26 +02:00
Takafumi Arakaki
27d924b020
Fix test-ein-kernel.el
2012-05-26 21:25:20 +02:00
Takafumi Arakaki
58fbfc3f0e
Use ein:query-ajax in ein-kernel.el
2012-05-26 21:24:53 +02:00
Takafumi Arakaki
fffeeb2d3b
Clean up eintest:notebook-from-json
2012-05-26 20:51:18 +02:00
Takafumi Arakaki
053962a5bf
Fix eintest:notebook-from-json
2012-05-26 20:49:31 +02:00
Takafumi Arakaki
95434c845d
Use ein:query-ajax in ein:notebook-request-open
2012-05-26 20:41:47 +02:00
Takafumi Arakaki
f6bcb438e8
Rename s/data-type/parser/g
2012-05-26 20:23:22 +02:00