Commit graph

876 commits

Author SHA1 Message Date
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
125e4cf7e2 Add unwritten items in change log 2012-08-11 00:57:03 +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
8f8a9461e7 Merge branch 'helm' 2012-08-10 22:12:54 +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
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