Commit graph

863 commits

Author SHA1 Message Date
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
4862959f86 Merge branch 'new-protocol-metadata' 2012-08-10 21:12:59 +02:00
Takafumi Arakaki
615abaec22 Test ein:completer-finish-completing 2012-08-09 01:35:00 +02:00
Takafumi Arakaki
6b2ab803a5 Test ein:cell-finish-tooltip 2012-08-09 01:24:26 +02:00
Takafumi Arakaki
5ee0471cee Add test for ein:ac-set-document 2012-08-09 01:06:21 +02:00
Takafumi Arakaki
92ad2c8ca5 Refactor tests for ein:kernel-construct-help-string 2012-08-09 00:56:34 +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
428ad715f8 Update change log 2012-08-08 22:19:10 +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
5f10dcccb4 Merge branch 'tramp' 2012-08-04 04:20:39 +02:00
Takafumi Arakaki
c00bfd231d Update change log 2012-08-04 04:18:44 +02:00
Takafumi Arakaki
5888582310 Fix ein:filename-translations docstring 2012-08-04 04:16:05 +02:00
Takafumi Arakaki
dedef7e032 Workaround error in tests from MuMaMo
Without this workaround, I had three failed tests:

3 unexpected results:
   FAILED  ein:notebook-ask-before-kill-emacs-simple
   FAILED  ein:notebook-from-json-simple
   FAILED  ein:notebook-yank-cell-command-two-buffers

These tests failed because of the following same error:

    (error "fun-var-sym=mumamo-eval-in-ein:notebook-bg-mode, use-major-entry=(ein:notebook-bg-mode (mumamo-eval-in-ein:notebook-bg-mode mumamo-def-eval-in-ein:notebook-bg-mode mumamo-kw-eval-in-ein:notebook-bg-mode))")
2012-08-04 04:10:58 +02:00
Takafumi Arakaki
e49811db5c Add tests for filename translator 2012-08-04 04:01:27 +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
286f9d0df8 Merge branch 'fix-merge-split' 2012-08-01 23:22:38 +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
c1b0eab11d Document eintest:notebook-split-cell-at-point 2012-08-01 22:02:37 +02:00
Takafumi Arakaki
7eecbd9478 Document ein:connect-to-notebook-command 2012-08-01 21:05:56 +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
1be099d4e7 Merge branch 'complete-on-dot' 2012-07-29 18:21:02 +02:00
Takafumi Arakaki
e493368721 Update change log and document 2012-07-29 18:19:46 +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
6b38440568 Merge branch 'autoexec2' 2012-07-29 17:16:05 +02:00
Takafumi Arakaki
7849492059 Added auto-execution document and change log 2012-07-29 17:12:40 +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