Alejandro Catalina
c87bb4f6df
Fix (void-symbol ein-direct)
...
When setting ein to use `auto-complete` in either basic or superpack
mode I get this ein-direct symbol is void error.
2016-02-02 14:54:44 +01:00
Syohei YOSHIDA
9871e433f9
Add missing cl-generic dependency
2016-01-19 13:36:54 +09:00
John Miller
6facffd586
Be even more respectful of kernelspec data.
2016-01-13 18:24:59 -06:00
John Miller
5dec56eec2
Respect kernelspec info in notebook metadata.
...
This should allow us to reload notebooks using the same
kernel they were running when saved.
2016-01-13 18:07:15 -06:00
John Miller
90920e28c6
Create notebooks with user-specified kernels.
...
This works with the New Notebook widget in the notebooklist,
need to check if the menu commands also work.
2016-01-13 08:30:15 -06:00
John Miller
a89aa6aebd
Including kernelspecs into the notebooklist view.
...
EIN now shows kernels available for the Jupyter server being view in the
notebooklist buffer. We don't do much with the info, yet, though.
2016-01-13 07:52:02 -06:00
John Miller
25d1437de6
Ask for kernel when creating named notebook.
...
We don't do anything with the info, yet, but it is a good
test for our code for getting available kernels from the Jupyter
server.
2016-01-11 20:21:19 -07:00
John Miller
4f382f7312
Merge branch 'master' into kernelspecs
2016-01-11 15:40:08 -07:00
John Miller
a73e6f0be4
Remove :sync t from content save call.
...
That was uncomfortable.
2016-01-11 15:13:01 -07:00
John Miller
1987f601c7
Fix event firing for content save errors.
...
Code wasn't calling `ein:notebook-save-notebook-error` when content
saving failed. Small detail, but would result in "Notebook saving"
eternally hanging out in notebook message display.
2016-01-11 15:11:14 -07:00
John Miller
447854fdac
Query Jupyter for kernelspecs
...
Structures and logic for querying Jupyter server for a list of available
kernelspecs.
2016-01-11 09:20:40 -07:00
John Miller
21d0166851
Close but no cigar - fix image types when saving.
...
Notebooks created directly from ein store image data differently than
notebooks created from the web interface. We now try to fix that when
saving notebooks.
2016-01-07 05:55:30 -07:00
John Miller
7ae7511ad6
Wrong attribue for stream names.
...
Should use :stream, not :name (which isn't actually an attribute in the
ein structure).
2016-01-05 16:35:39 -07:00
John Miller
e6e9c29e3e
Add stream and error outputs
...
Support saving stream and error outputs in nbformat v4.
2016-01-04 20:41:09 -07:00
John Miller
a1489613ac
Fixing null in output metadata
...
Somewhat hackish solution by defadvicing json.el code to
overcome possible bug in said code. Apparently
`json-encode` does not handle nested empty hash tables properly.
2016-01-03 08:23:55 -07:00
John Miller
a4ab2a52f5
Simplifying and fixing code for saving notebooks
...
Code for generating v4 notebook json much cleaner and easier to
understand. As added bonus have fix for saving images.
2015-12-22 12:32:21 -06:00
John Miller
b8aa391b31
Fix ein:make-content-hierarchy
.
...
In the end so ein:notebooklist-open-notebook-global can work.
2015-12-04 14:15:41 -06:00
John Miller
3aa290ed91
Fix breadcrumbs in notebook list.
...
Seems like a regression, but I'm not 100% sure on that.
Update metadata name (add ein qualifier) per Jupyter documentation
guidance.
2015-09-14 13:16:49 -05:00
John Miller
eea09ed67f
Bug squashing
...
Making unnecessary call to `ein:query-ipython-version`.
2015-08-26 21:00:23 -05:00
John Miller
efaba65cfe
Fixing issue #70
...
Not sure if this completely address issue raised in #70 ; will need to confirm what expected behavior should be.
2015-08-26 20:45:09 -05:00
John Miller
1f4cb71d76
Update versions in ein-pkg.el
...
Think this is breaking ein on MELPA.
2015-08-26 12:59:58 -05:00
Diego Berrocal
57c97ae04b
HotFix: Change #
for ;;
as Comment Starter
...
Too much Python m8
2015-08-12 21:42:33 -05:00
John Miller
d1eb867cab
More forgiving version detection, doc update
...
Be more forgiving in detecting version; this change is mostly so EIN
works with recently released Jupyter/IPython 4.0.
Adding some additional comments to documentation to note that EIN seems
to work with Jupyter.
2015-08-12 15:17:46 -05:00
John Miller
0bbe7ad204
Be more friendly in ein:notebooklist-open
...
Accept URL's even if protocol not specified. If no protocol is specified
then assume http.
2015-07-08 16:17:54 -05:00
John Miller
e76251f8ef
Fix for #63
...
EIN didn't know how to generate websocket URL's for remote hosts. It
does now.
2015-07-08 13:37:09 -05:00
John Miller
6d667f630a
Fix typo in ein:kernel-del
.
2015-07-08 13:10:45 -05:00
John Miller
488bb67f09
Add kernel reconnect command, fix restart.
...
New commend `ein:notebook-reconnect-kernel` which will close then reopen
the websocket connection to a running kernel - without killing the
kernel.
Was not correctly killing and restarting the kernel in
`ein:kernel-restart.`
Fixed `ein-restart-kernel` to use REST API to kill kernel, then
restart/reconnect, again using the REST API.
Got rid of the `ein:kernel-stop` function. Seems confusing to have
'stop' and 'kill' methods running around.
2015-07-05 22:27:52 -05:00
John Miller
127039e2aa
Bump version.
...
Bump version (hope I found everywhere that it is documented). Fix
old-style print statements in one of the test notebooks.
2015-07-04 08:50:53 -05:00
John Miller
710ccaace2
Fix potential issues saving Latex Output
...
Sometimes ein will not save latex output properly. This is an attempt to
avoid that situation.
Also some updates to gitignore.
2015-06-30 16:25:50 -05:00
John Miller
f3a7c61df3
Cookies for websocket authentication
...
Support recently added feature to websocket for including cookies in
connection header. This allows us to connect to secured IPython 3.x (and
2.x I hope) servers.
2015-06-29 07:07:53 -05:00
John Miller
aaee6d0348
Properly encode notebook paths
...
This should fix an obscure (well, at least no one has created an issue
for this yet) failure trying to open a notebook path that contains
characters like (, or ), etc. that need to be escaped in the REST API
call.
2015-06-17 12:09:48 -05:00
John Miller
ec9eefb83c
Need to pass security cookie with ws open request
...
To work with notebook security model in IPython the websocket open
request needs to include security cookie created during
ein:notebooklist-login.
2015-06-10 10:19:13 -05:00
Diego Berrocal
8d02d8b6e4
Important fix, there is a g
where there shouldn't be.
...
This goes into the MELPA version, making it unusable
2015-05-28 14:19:09 -05:00
John Miller
0cf283a43b
Use session query to show running kernels.
...
Stopping a kernel now doesn't automatically close a buffer, nor does
closing a buffer automatically stop a running kernel. This is
functionality more in line of what EIN supported for IPython 0.x and
1.x.
2015-05-28 11:56:40 -05:00
John Miller
81583c4411
API for querying active sessions, don't kill session on closing buffer.
2015-05-27 21:49:48 -05:00
Max H. Gerlach
c7ac141b47
Jump to line in cell from traceback
2015-05-26 15:57:50 +02:00
Max H. Gerlach
efec1b50f1
new function ein:cell-goto-line.
...
This is a simple modification of ein:cell-goto to jump to a certain
line instead of a certain character.
2015-05-26 15:55:08 +02:00
John Miller
68dcef083f
Deprecate ein:notebook-set-buffer-file-name, update docs.
2015-05-16 07:46:47 -05:00
John Miller
a4c6892551
Support set-buffer-file-name
...
In support of fixing issues #46 and #47 .
2015-05-15 23:23:56 -05:00
John Miller
8e72876ae8
Fix for worksheet tag, clean up some comments.
2015-05-15 18:28:13 -05:00
John Miller
5886498684
Add worksheet tags to nbformat 4 notebooks
...
NBformat 4 has a tag key in the cell metadata. We use it to tag a cell
depending on which worksheet it is in. For now the code does nothing
else with this tag, but the goal is to reimplement multiple worksheets
in ein.
2015-05-14 09:39:47 -05:00
John Miller
d2681d88e3
Proper implementation of #42 , fix restart-kernel command.
...
Can jump to notebook cells from traceback buffer, kernel restart command
works on both IPython 2.x and 3.x.
2015-05-12 15:12:33 -05:00
John Miller
75c5f36ceb
Find cell references in tracebacks, revert ein-polymode.
...
Traceback knows how to find notebook input cells. Roll back ein-polymode
setup - we aren't ready for that yet.
2015-05-05 21:22:36 -05:00
John Miller
3ee7a85131
Merge remote-tracking branch 'origin/master' into index-polymode
2015-05-05 19:47:16 -05:00
John Miller
39513afd1e
Working in 2.x again.
...
Those if blocks can by pretty iffy. Har. Har . Har. It's late.
2015-05-04 23:36:47 -05:00
John Miller
fe4950cbb7
Correctly start sessions in ipython 3.x
...
Now start sessions correctly (I think) in IPython 3.x, but somehow this
seems to break IPython 2.x.
2015-05-04 22:59:18 -05:00
John Miller
91a9404748
Merge remote-tracking branch 'origin/master' into index-polymode
2015-05-04 10:55:38 -05:00
John Miller
fd6711c4e0
Quick fix for issue #43
...
This fixes the invalid json error, but behavior still leaves a bit to be
desired. EIN will save pretty text over html, which may be unexpected
behavior for some.
2015-05-03 09:31:30 -05:00
John Miller
ac53106194
Setup and documentation
...
Some test code and some exploratory writing (see Enhancements.org) to
get my head on straight.
2015-05-03 00:14:38 -05:00
John Miller
edb0fd216a
Fix prompt for ein ipdb comint buffer.
2015-04-10 14:01:40 -05:00