John Miller
a9736311c8
Fix what was broken with shared output buffers.
...
Regression from previous commits adding slide features.
2016-07-25 08:21:50 -05:00
John Miller
04c12f8ab2
Update version, documentation, formatting.
...
Version bump to 0.9, documentation for new slide functions and
correcting formatting from recent pull requests.
2016-07-23 08:32:22 -05:00
John Miller
67e5253e5e
Respect slideshow customization variable
...
Setting of `ein:worksheet-show-slide-data` wasn't actually doing
anything.
2016-07-22 08:57:11 -05:00
John Miller
3e1baa0657
Toggle viewing of slide metadata in worksheet.
...
Let the user control whether or not to view slide attributes in current
worksheet via `ein:worksheet-toggle-slideshow-view` (C-c S).
Also added a couple more slide attributes (fragment, notes) as
these appear to be support in current Jupyter version.
2016-07-20 12:50:04 -05:00
Guillaume Anciaux
d7d65f6ac8
fix the default slide and fix a problem at creation of new cells
2016-07-19 17:21:38 +02:00
Guillaume Anciaux
62c0c21d28
cleaning some debug messages
2016-07-19 10:46:50 +02:00
Guillaume Anciaux
1c549e72d7
addîng the slide info in prompt and allow switch slide type with C-c C-d
2016-07-19 10:37:00 +02:00
John Miller
b26c972ec8
Merge remote-tracking branch 'refs/remotes/origin/88-enhancement-latex-images'
2016-04-22 08:29:01 -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
8aaae29a23
Fix what introducing kernelspecs broke.
...
Embarassing, really. Missing parameters and some poorly placed branching
logic conspired to bring down ein on IPython 2.x. Should be better now.
2016-04-15 16:08:53 -05:00
John Miller
43471c771d
Better pretty printing defaults.
...
Make text output the last option when pretty printing is enabled
(eg when ein:output-type-preference is set to
ein:output-type-prefer-pretty-text-over-html). This will at least make
%%latex cells output the latex inside. Next step - automatically typeset
the math!
2016-04-15 13:16:05 -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
8efa954308
Account for when url-or-port is an integer
...
For determining websocket protocol, if url-or-port is an integer don't
need to check if it contains `https://`.
2016-03-30 21:38:33 -05:00
John Miller
847d4a0d3e
closes #81
...
This works by detecting if 'https:' appears in the url-or-port string,
which will be the case if you call `ein:notebooklist-open` using https:
+ url + port.
Note also that on windows, at least, I get SSL errors when using curl as
request backend. Using url-retrieve eliminates the errors and SSL access
works as advertised.
2016-03-30 21:32:14 -05:00
John Miller
ca0557b029
Bump version to 0.8.2.
2016-03-23 12:40:51 -05:00
John Miller
bd9668702a
Fix for issue #92
...
Use lexical-let vs let in `ein:notebooklist-render.`
2016-03-23 12:31:47 -05:00
John Miller
7e4df981c8
Fix for issue #91
...
Corrected `ein:junk-new` to include kernelspec selection.
2016-03-22 07:47:11 -05:00
John Miller
9fc8dd3be4
Update version to 0.8.1.
2016-03-10 15:19:29 -06:00
John Miller
a752e45772
Undo buffer-file-name madness.
...
No longer set buffer-file-name for ein:notebook buffers. This was
causing unexpected and potentially disastrous (as in data corruption)
behavior.
Some updates to travis configuration and testing. Still a long ways
from having that working, though.
2016-03-03 08:31:05 -06: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
261576f94b
Fix Issue #67 .
...
Only six months late. Jupyter changed callback signature for
complete_request, breaking ein's autocomplete code. Missed this for so
long because I am lazy and almost exclusively used jedi for
autocompletion. Ugh.
2016-02-03 22:26:53 -06:00
John Miller
a803bb0f54
More v0.8.0 bumping.
2016-02-03 08:41:55 -06:00
John Miller
3d2b3a81d1
Merge branch 'fix/ein-direct-void' of https://github.com/AlejandroCatalina/emacs-ipython-notebook into AlejandroCatalina-fix/ein-direct-void
2016-02-02 20:50:34 -06:00
John Miller
24afb15985
Bump to v0.8.0
2016-02-02 12:12:46 -06:00
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
John Miller
f64fdf0f9d
Merge pull request #86 from syohex/fix-dependency
...
Add missing cl-generic dependency
2016-01-19 08:14:28 -06:00
Syohei YOSHIDA
9871e433f9
Add missing cl-generic dependency
2016-01-19 13:36:54 +09:00
John Miller
6d66cc5a2e
Merge branch 'kernelspecs'
2016-01-14 16:41:19 -06: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
2c08c68125
Update to version 0.7.1.
2016-01-13 07:57:13 -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
82fde90d5d
Updating notebook formats, .gitignore additions.
2016-01-05 17:07:09 -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
65d30acd1c
Remove nxhtml as submodule.
...
This appears to be causing problems with MELPA build. This is a
temporary fix (I hope) until I figure out what the problem is.
2015-08-27 13:48:07 -05:00
John Miller
312b3c9e22
Fixing submodules. Maybe.
2015-08-27 10:08:40 -05:00
John Miller
eea09ed67f
Bug squashing
...
Making unnecessary call to `ein:query-ipython-version`.
2015-08-26 21:00:23 -05:00