Commit graph

18 commits

Author SHA1 Message Date
John Miller
b242519fa5 Merge branch 'master' into 38-fixing-testing 2016-09-24 12:26:24 -05:00
John Miller
812757fcc3 Revert "Basic javascript support via skewer.el"
This reverts commit 9e39797ce7.
2016-09-03 18:10:07 -05:00
John Miller
9e39797ce7 Basic javascript support via skewer.el
EIN will try to use skewer to execute javascript cells, which works for
the most part. Those hoping to have widgest or something like d3 working
are going to be disappointed, however, as at its heart ein is not an
HTML page and those packages depend on modifying the DOM of the notebook
web page.

It remains to be seen if those issues are surmountable, but for the
moment this functionality will live in this branch and this branch
alone.
2016-09-03 18:01:57 -05:00
John Miller
e49fe22774 Bug fix, better info on running kernel.
Fixed bug with `ein:notebook-open-in-browser`; this command should now
work in IPython notebook 3.0 and later.

Notebook/worksheets now display the name of the kernel that the notebook
is running under. Next step is to make this clickable!

Also some documentation for my new super-secret project to add
evaluation of dynamic javascript to ein.
2016-08-31 09:13:25 -05:00
John Miller
5043ba9bb6 A little bit of documentation, add to menu
Document the new interactive function `ein:notebook-switch-kernel`
and add it to the menu. Not sure yet if it is worth giving a default
keybinding.
2016-08-28 20:56:00 -05:00
John Miller
586879598a Switch kernel in running notebook.
Does so by changing kernelspec and restarting notebook.
2016-08-26 20:52:54 -05:00
John Miller
5245d70087 Setuptools for testing
Depending on Makefile ties us to Unix systems. Automating testing
and setup through setuptools might make testing on Windows less
complicated.
2016-07-02 19:12:49 -05:00
John Miller
78315a3d50 More documentation for inline Latex Images
This should probably go on the wiki somewhere (along with the rest of
this document).
2016-04-20 14:37:21 -05:00
John Miller
6170931932 Cleanup, documenting options for inline Latex images 2016-04-12 17:35:37 -05:00
John Miller
71ee42a803 Load secure cookies when using secure connection.
Secure connections (i.e. wss, https) store cookies in a secure jar,
websocket connections now take this into account when connecting
using wss protocol.
2016-04-08 21:22:14 -05:00
John Miller
c5cf44a795 Fix saving new notebooks, whitespace updates.
Newly created notebooks no longer error on saving - bug in how
kernelspec metadata was being filled in.

Also a number of miscellaneous fixes to indentation that have
inexplicably appeared in the code.

Some small fixes for typos and catching up on version info.
2016-03-01 16:02:00 -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
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
bd1db231e2 Typos, some more design notes. 2015-08-26 20:46:44 -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
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
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
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