Commit graph

286 commits

Author SHA1 Message Date
Takafumi Arakaki
b39fc5cc6b Use multi-line message in ein:kernel--websocket-closed 2012-08-12 18:54:03 +02:00
Takafumi Arakaki
3b1e76f48c Add ein:display-warning 2012-08-12 17:48:24 +02:00
Takafumi Arakaki
a2446988f8 Tweak section comments in ein-utils.el 2012-08-12 17:33:35 +02:00
Takafumi Arakaki
559a439e4c Move comment to docstring in ein:ac-setup-maybe 2012-08-11 17:59:58 +02:00
Takafumi Arakaki
8ab408aa53 Add more comments on ein:ac-setup-maybe 2012-08-11 17:55:32 +02:00
Takafumi Arakaki
81c338c655 Fix ein:ac-config 2012-08-11 17:21:31 +02:00
Takafumi Arakaki
c57235d458 Add a comment on ein:ac-setup-maybe 2012-08-11 17:12:57 +02:00
Takafumi Arakaki
cb21a52450 Avoid error when compiling ein-ac.el w/o MuMaMo 2012-08-11 15:51:35 +02:00
Takafumi Arakaki
3722d04adb Avoid error when loading/compiling ein-ac.el
if auto-complete is not on load-path
2012-08-11 15:49:26 +02:00
Takafumi Arakaki
45a20c6b54 Monkey patch json-encode-char
Otherwise, saving the output including "unicode space" (\u00a0) fails.
Easy way to check: !tree
2012-08-11 14:10:41 +02:00
Takafumi Arakaki
57df02d204 Start v0.1.2 (bump to 0.1.2alpha0) 2012-08-11 01:53:23 +02:00
Takafumi Arakaki
2e85132fd8 Bump to 0.1.1 2012-08-11 01:48:53 +02:00
Takafumi Arakaki
a7ed0ca447 Remove ein:cell-max-num-outputs from document
And disable it (set to nil).

Limiting number of output does not work well, when a lot of inputs
comes with carriage returns.  Probably it is better to limit by
number of lines (plus maybe number of images).
2012-08-11 00:48:56 +02:00
Takafumi Arakaki
080e16304c Document helm/anything-ein-notebook-buffers 2012-08-10 22:10:20 +02:00
Takafumi Arakaki
3ab25e6fe8 Cosmetic change in ein:connect-to-notebook-buffer 2012-08-10 22:10:19 +02:00
Takafumi Arakaki
0ed3f93e78 Refactoring: add ein:notebook-opened-buffer-names 2012-08-10 22:10:18 +02:00
Takafumi Arakaki
0f42dc1d20 Autload helm/anything interface 2012-08-10 22:10:16 +02:00
Takafumi Arakaki
5ca14aadfa Add ein-helm.el 2012-08-10 21:13:59 +02:00
Takafumi Arakaki
12fae49898 Fix arguments of other callbacks
Any callbacks called from ein:kernel--handle-shell-reply are passed
metadata.  Therefore, complete/tooltip callbacks must be changed.
2012-08-08 23:27:07 +02:00
Takafumi Arakaki
9f1b319333 Document and add FIXMEs in ein:kernel-execute 2012-08-08 22:15:22 +02:00
Takafumi Arakaki
c798f7d143 Adapt to new kernel-execute API
This is required to avoid wrong-number-of-arguments error,
unlike javascript.
2012-08-08 21:30:14 +02:00
Takafumi Arakaki
b799de0cbe Add metadata to argument for kernel-execute CBs 2012-08-08 21:18:00 +02:00
Takafumi Arakaki
41bc85f9c7 Improve ein:kernel-execute docstring 2012-08-08 20:05:46 +02:00
Takafumi Arakaki
ed0bd74630 Adapt to new messaging protocol (add metadata)
As this change just introduces an additional key in outgoing
message, the new version of EIN also works with previous versions
of IPython.

fixes #46
2012-08-08 19:33:51 +02:00
Takafumi Arakaki
ac29aa2e8a No auto-complete drop-down list when no matches 2012-08-04 04:28:21 +02:00
Takafumi Arakaki
5888582310 Fix ein:filename-translations docstring 2012-08-04 04:16:05 +02:00
Takafumi Arakaki
c4924efdbd Refactor ein:filename-to/from-python functions 2012-08-04 02:13:14 +02:00
Takafumi Arakaki
d2c8c5eee6 Document ein:kernel-request-stream 2012-08-04 00:04:16 +02:00
Takafumi Arakaki
959102e70e Document ein:tramp-create-filename-translator more 2012-08-03 23:58:08 +02:00
Takafumi Arakaki
6113b47a76 Rename to ein:tramp-create-filename-translator
And make it more robust by adapting code from slime-tramp.el.
2012-08-03 23:52:34 +02:00
Takafumi Arakaki
7a7e1bfa31 Use filename translator in ein:kernelinfo-update-ccwd 2012-08-03 23:28:38 +02:00
Takafumi Arakaki
1be0c9924e Add ein:make-tramp-filename-translation 2012-08-03 23:06:46 +02:00
Takafumi Arakaki
51992efe5b ein:pytools-jump-to-source works with tramp now
ein:filename-translations is added.
2012-08-03 23:05:23 +02:00
Takafumi Arakaki
c58d16d12a Use destructuring-bind in ein:pytools-jump-to-source 2012-08-03 22:21:17 +02:00
Takafumi Arakaki
454ecffa8d Check that the cell to merge exists 2012-08-01 23:20:57 +02:00
Takafumi Arakaki
4308b8ba9f Reverse the direction to merge
Rational to do this is this makes split+merge an identity operation.
2012-08-01 23:19:37 +02:00
Takafumi Arakaki
d4d1b0c9aa Fix ein:notebook-merge-cell-command undo spec
Follow the specification written in ein:notebook-enable-undo.
2012-08-01 23:04:48 +02:00
Takafumi Arakaki
22848bdd91 Use the output area of the bottom cell when merge
fixes #37
2012-08-01 23:02:17 +02:00
Takafumi Arakaki
b3050b27ef Preserve output of the bottom cell when splitting
Also eintest:notebook-undo-after-split is fixed.  Previous test
was actually wrong.  Note that (ein:notebook-empty-undo-maybe)
is added to make the test pass for ein:notebook-enable-undo=yes.
The current behavior is what mentioned in ein:notebook-enable-undo.

fixes (part of) #37
2012-08-01 22:44:00 +02:00
Takafumi Arakaki
c611076807 Add ein:connect-to-notebook-command 2012-08-01 21:04:50 +02:00
Takafumi Arakaki
d25ef23ba8 Do not start completion by "." when in comment/str 2012-08-01 20:04:47 +02:00
Takafumi Arakaki
96dd850ee5 Document ein:complete-on-dot bit more 2012-07-29 18:19:28 +02:00
Takafumi Arakaki
64ead0598a Use set-keymap-parent instead of setcdr
Otherwise, the previous commit does not work.
2012-07-29 18:14:33 +02:00
Takafumi Arakaki
38d8321259 Option to start completion when "." is inserted 2012-07-29 18:14:31 +02:00
Takafumi Arakaki
d65dfc457d Cosmetic changes on ein-connect.el 2012-07-29 17:33:08 +02:00
Takafumi Arakaki
0995fe51e8 Document autoexec more 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
a65822a982 Add ein:notebook-turn-on-autoexec command 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
b329b03bdd Change connect-mode lighter depending on :autoexec 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
dbfeb30f89 Invoke auto-execution via after-save-hook 2012-07-29 17:11:57 +02:00
Takafumi Arakaki
04a121ad72 Add ein:notebook-execute-autoexec-cells 2012-07-29 17:11:57 +02:00