Commit graph

1808 commits

Author SHA1 Message Date
John Miller
f39c57a633 Directory bugfix. First steps in IPython 3.0 support.
Fixed bug in accessing directories a depths greater than 1 level.

Some initial support for IPython 3.0 and IPEP 27. Can open notebooklists
and notebooks, but having some issues connecting to websocket.
2014-10-17 16:44:04 -05:00
John Miller
9a5cc12975 Renaming Notebooks
Renaming notebooks is functional, apparently, but code needs more
testing. I am concerned that the PATCH request is not generating a 200
response code as it should be (and does when I test under Python).

Also some preliminary code to provide breadcrumbs in notebooklist
buffer.
2014-09-28 13:52:30 -05:00
John Miller
7185d18e8c Creating and deleting notebooks
Creating and deleting notebooks from the notebooklist buffer is now
funcitonal and supports subdirectories per IPEP 16.
2014-09-19 09:17:12 -05:00
John Miller
b9e145c4db Cleaning up status messages
Corrected error in response code checking when saving a network (IPython
server now returns 200 instead of 204).

Cleaned up error that was being raised from EIN's notification system.
Seems like there is some logic for popping to a buffer once a
notification event first, but to what buffer is unclear so for know I
have disabled that functionality.
2014-09-12 12:37:24 -05:00
John Miller
66a035cfe5 Bug in saving notebooks
Fixed a bug in saving notebooks in a subdirectory - EIN thought the save
was failing and incorrectly creating a new workbook at the top of the
directory hierarchy.
2014-09-12 09:20:55 -05:00
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
John Miller
cb9be0ebec Merge pull request #1 from gcr/patch-1
Handle pager opening
2014-05-26 12:13:08 -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
30f102c12a Merge branch 'auto-complete-performance' 2013-07-11 10:04:14 +02:00
Takafumi Arakaki
bc32b00d2a Update changelog 2013-07-10 21:14:58 +02: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
0cc49439a1 Merge pull request #120 from jhamrick/master
Resolve tools/testein.py failure on OS X
2013-06-29 09:12:29 -07:00
Jessica B. Hamrick
b7a4692f69 Don't use GNU arguments for ps
Fixes #119
2013-06-28 15:41:36 -07:00
Takafumi Arakaki
87e88bc179 Use environment variable EMACS, if defined 2013-06-11 18:20:34 +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
0421afde19 Merge branch 'fix-travis' 2013-05-19 10:41:22 +02:00
Takafumi Arakaki
d7cab8a225 Unfreeze tornado 2013-05-19 07:12:38 +02:00
Takafumi Arakaki
6fd2a2adeb Record Python package information 2013-05-19 06:53:30 +02:00
Takafumi Arakaki
cbfc531671 Use pyzmq 2.2.0.1 when testing against IPython 0.12.* 2013-05-19 06:34:29 +02:00
Takafumi Arakaki
e1bcfe28ed Use tornado 2.4.1 when testing against IPython 0.12.* 2013-05-19 06:20:45 +02:00
Takafumi Arakaki
2c615e7b86 Ignore travis failures with IPython 0.12.* 2013-05-19 06:12:09 +02:00
Takafumi Arakaki
becd04fc53 Refactor Makefile; add clean and purge 2013-05-19 06:07:47 +02:00
Takafumi Arakaki
1fd6bbe305 Use git to install developmental version of IPython
Recent changes in IPython requires git submodule for installing
developmental version.
2013-05-19 06:01:49 +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
592d40f9eb Mention C-u in ein:dev-start-debug document 2013-02-23 00:35:29 +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
6bbabf6ab6 Merge branch 'makefile-refactoring' 2013-02-10 05:50:14 +01:00
Takafumi Arakaki
6cb611d72e Use pattern rule env-ipy.% 2013-02-10 05:33:25 +01:00
Takafumi Arakaki
6a92afbc02 Simplify Makefile
testein-default/24 etc. are very old and can be merged with the
ones used by travis test.
2013-02-10 05:28:36 +01:00
Takafumi Arakaki
df95d130c4 Merge branch 'travis-enhancement' 2013-02-10 05:14:17 +01:00
Takafumi Arakaki
a1c8b71fd4 Should allow_failures.env be a string?
Probably `matrix.allow_failures.env` should be a string when I don't
use `matrix`/`global` in `env`.
2013-02-10 05:11:44 +01:00
Takafumi Arakaki
bc9bae222b Should allow_failures be exactly the same as env? 2013-02-10 05:04:44 +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