Commit graph

706 commits

Author SHA1 Message Date
John Miller
1956876200 Support Directories
Increased support for IPEP 16: Notebook multi-directory dashboard and
URL mapping. The ein:notebooklist buffer will show subdirectories, which
can be opened by user. Does not support going back up in the hierarchy,
however.

Not fully tested, so use with caution!
2014-09-11 20:04:00 -05:00
John Miller
1178703886 Merge pull request #2 from gcr/patch-2
Encode URL before opening it
2014-05-26 12:13:20 -05:00
gcr
1914e68b89 Encode URL before opening it
This fixes the bug where EIN cannot open notebooks with spaces in them.

I'm not sure if this is correct!
2014-05-23 15:24:48 -04:00
gcr
9c90f25e5a Handle pager opening
Before, this fork has a small regression: Typing 'thing?' into the shell does not open the pager. This small change fixes this small regression.
2014-05-23 15:21:16 -04:00
millejoh
3b0498655c Support kernel reset operations. 2014-05-10 12:59:03 -05:00
millejoh
c8c36192c3 Update arguments to avoid loading an init file (makes it easier for me
to test using a 'vanilla' emacs environment).
2014-05-10 12:57:48 -05:00
John Miller
20a725012b Preliminary support for IPython 2.0
Basic, mostly untested support for the brave new world of IPython 2.0.
2.0 now supports the concepts of 'paths', letting notebooks be stored in
a directory hierarchy. This has resulted in a change in the web API -
most URL's are now prefixed with 'api/'.

EIN does not (yet) support hierarchical notebooks, but at least it now
plays better with the new URL scheme for iPython 2.0.

Oh, there also seems to have been a change in the format of the ipython
notebook. This has been fixed too, but is probably bakcwards
incompatible.
2014-04-14 12:48:55 -05:00
Takafumi Arakaki
d62dc59869 Require 'cc-mode in ein-utils.el
It looks like in new Emacs version (> 24.3?), c-mode-syntax-table is not
available by default.
2014-03-17 19:14:02 +01:00
Takafumi Arakaki
a1ddf7a7a9 Rename: ein-cached -> ein-async 2013-07-10 21:14:58 +02:00
Takafumi Arakaki
5845dc6e35 Remove unused code from ein-ac.el 2013-07-10 21:14:58 +02:00
Takafumi Arakaki
372c7f619c Disable caching complete candidates
ein:ac-clear-cache takes too much time by the result of profiler.el.
Also, as ac-source-ein-cached sends request in background [1], there is
no need for caching anymore.

[1] 865a96f3d2
2013-07-10 21:14:58 +02:00
Takafumi Arakaki
7901e90db7 Default ein:query-timeout is nil if curl is used
this is to address #114
2013-06-11 16:51:06 +02:00
Takafumi Arakaki
ff622a6468 Fix how ws_url is set
IPython notebook 1.0.dev sends empty ws_url as of this PR
https://github.com/ipython/ipython/pull/3307
2013-06-10 19:56:46 +02:00
Takafumi Arakaki
b12b91da7a Add ein:slice-image
This is a workaround for issue #94.
2013-06-05 01:43:49 +02:00
Takafumi Arakaki
819e3e3df3 Fix: unintended text was inserted by dot-complete 2013-06-05 01:38:56 +02:00
Takafumi Arakaki
203ff99987 Register ein:worksheet-execute-all-cell to menu
Add it to document also.

fixes #63
2013-04-12 18:24:38 +02:00
Takafumi Arakaki
76591e007b Use region as default code for ein:shared-output-eval-string 2013-03-10 08:11:30 +01:00
Takafumi Arakaki
9a637921f1 Improve ein:shared-output-eval-string 2013-03-08 14:10:37 +01:00
Takafumi Arakaki
7f17f3bc43 Improve bug report template
to avoid trouble like #104.
2013-02-23 16:35:08 +01:00
Takafumi Arakaki
e5b53e5043 Do not try dot-complete when in string literal etc. 2013-02-13 21:46:24 +01:00
Takafumi Arakaki
fe682db22d Fix compile warnings in ein-ac.el and ein-jedi.el 2013-02-13 21:32:36 +01:00
Takafumi Arakaki
5b18c666e3 Make ein:jedi-complete work when kernel is dead
Previously deferred:callback-post was not called for the
deferred object from ein:jedi--completer-complete when the
kernel is dead.  It is called with an empty result now.
2013-02-13 21:20:56 +01:00
Takafumi Arakaki
a5a246c734 Check ein:kernel-live-p in ein:ac-* functions 2013-02-13 21:06:50 +01:00
Takafumi Arakaki
955a82461e Follow change in IPython kernel: payload key
This is the change introduced by ipython/ipython#2872
2013-02-10 05:00:40 +01:00
Takafumi Arakaki
d0e96d0be6 Bump to 0.2.1alpha2 2013-02-10 04:12:50 +01:00
Takafumi Arakaki
17b657cf8f Show recent history first in helm/anything UI 2013-01-21 22:06:58 +01:00
Takafumi Arakaki
20818f2e77 Do not list duplications when searching history
The key 'unique' is introduced in IPython as of:
https://github.com/ipython/ipython/pull/2792
2013-01-18 14:28:21 +01:00
Takafumi Arakaki
735e14e7b4 Add ein:kernel-kernel-info-request
See: ipython/ipython#2649
2013-01-18 14:03:17 +01:00
Takafumi Arakaki
93786cc61a Bump to 0.2.1alpha1 2013-01-17 11:27:39 +01:00
Takafumi Arakaki
10db056db4 Record request.el configuration 2013-01-16 21:01:01 +01:00
Takafumi Arakaki
0c8aa32ca2 Fix: org-store-link not working in connected buffer 2013-01-16 15:35:23 +01:00
Takafumi Arakaki
f6a40567c0 EIN requires request >= 0.2 2013-01-10 22:41:55 +01:00
Takafumi Arakaki
bdb107a71d Include request in ein:dev-sys-info 2013-01-10 22:20:33 +01:00
Takafumi Arakaki
271e04055c Fix and simplify ein:notebooklist-new-notebook-error
* The url.el bug 12374 is fixed and request.el provides
  monkey patch.   There is no need for the workaround now.
* request-response-redirects does not exist anymore.
2013-01-10 22:10:03 +01:00
Takafumi Arakaki
de5853a15e Workaround in ein:notebooklist-login--error 2013-01-10 21:59:42 +01:00
Takafumi Arakaki
7b80104ea6 Cosmetic fix on ein:notebooklist-login--error 2013-01-09 05:51:25 +01:00
Takafumi Arakaki
8a1eef9e6a Fix ein:notebook-save-notebook: remove ":cache nil" 2012-12-29 19:48:05 +01:00
Takafumi Arakaki
8409fa14ad Fix timeout handling in ein:query-singleton-ajax 2012-12-29 19:36:53 +01:00
Takafumi Arakaki
84ea2748fb Remove unused functions from ein-query.el 2012-12-29 19:32:43 +01:00
Takafumi Arakaki
e58ce1413e Use request-cookie-string 2012-12-29 19:30:00 +01:00
Takafumi Arakaki
0a191c7686 Fix ein:notebooklist-delete-notebook 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
e24078b03b Add request as dependency 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
191a8f0022 Cosmetic changes
The changes I deferred in the previous commits to make the
diff small.
2012-12-29 18:55:06 +01:00
Takafumi Arakaki
5b5aa30752 Use keyword arguments of CB supported by request.el 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
2f317bf2e4 Remove unsupported :cache argument 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
fdb80c9962 Rewrite callbacks: replace cons with apply-partially 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
9e3be6c954 Rewrite ein:query-singleton-ajax using request 2012-12-29 18:55:06 +01:00
Takafumi Arakaki
553224241f Bump to 0.2.1alpha0 2012-12-29 18:53:05 +01:00
Takafumi Arakaki
12f01a93b2 Bump to 0.2.0 2012-12-29 18:48:01 +01:00
Takafumi Arakaki
06b559af35 Do not delete existing bug report buffer 2012-12-26 19:30:16 +01:00