John Miller
10044ddc9d
Better cleanup
...
Remove Islands Tests.ipynb, we didn't need it. Remove temporary
notebooks after running tests - note that this is difficult to test
under Windows, so I am guessing that this is the right thing to do.
2015-06-30 17:16:10 -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
John Miller
93b449be34
Merge pull request #54 from CestDiego/hotfix-g
...
Important fix, there is a `g` where there shouldn't be.
2015-05-28 14:31:08 -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
John Miller
68fd057608
Merge branch 'master' of https://github.com/millejoh/emacs-ipython-notebook
2015-05-27 07:11:28 -05:00
John Miller
8183b00d33
That image will be the death of me.
2015-05-27 07:10:52 -05:00
John Miller
077bc72621
Merge pull request #52 from maxhgerlach/traceback-goto-line
...
Traceback goto line
2015-05-27 07:10:33 -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
e72ae55d11
Starting to get annoyed...
2015-05-19 06:57:56 -05:00
John Miller
c73cfa3e1d
Correct image link in README.
...
Sigh.
2015-05-19 06:56:51 -05:00
John Miller
afd216df66
Update README links.
2015-05-19 06:55:25 -05:00
John Miller
bbda0d3ab8
Demo notebook for generating screenshots.
2015-05-19 06:41:34 -05:00
John Miller
513ba18032
Merge pull request #48 from flamingbear/master
...
point URI references to millejoh.
2015-05-17 10:00:43 -05:00
Matt Savoie
ca2a3ff70b
point URI references to millejoh.
2015-05-16 12:56:58 -06: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
b4ed5b8017
Update .gitignore, new notebook for development/testing.
2015-05-04 10:55:18 -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
John Miller
c488bfb020
Detect ipdb vs pdb, handle debugger output.
...
Somehow lost ability to handle iopub responses when debugger session is
running.
Also try to set prompt in comint buffer to match debugger being called
(ipdb vs. pdb).
2015-04-10 13:59:36 -05:00
John Miller
1d6c26bbf6
Merge remote-tracking branch 'origin/stdin-channel'
...
Conflicts:
lisp/ein-ipdb.el
lisp/ein-kernel.el
2015-04-09 08:15:23 -05:00
John Miller
a17c642a0c
Exit debugging sessions more gracefully.
2015-04-08 10:31:57 -05:00
John Miller
df8e2b01fa
Apply font properties on comint output.
...
`ein:cell-append-text` is a great little function. Thank you tkf...
2015-04-07 20:08:30 -05:00
John Miller
518201d5e7
Comint now functional.
...
On %debug magic, ein opens a comint buffer that communicates with the
ipdb session. Question now is will this lead to functioning with gud?
2015-04-07 19:43:22 -05:00
John Miller
bf11f775c2
Getting closer.
2015-04-07 06:51:37 -05:00
John Miller
29e1d7e077
Experiment with comint.
...
Doing as a first step towards integration with gud...
2015-04-06 13:34:42 -05:00
John Miller
04d36b3fa1
Bump version.
...
May also have fixed some indentation issues as ein-python was meant for
an old version of python.el.
2015-04-06 12:20:46 -05:00
John Miller
ab8ad81c51
Revert "Separate ipdb buffer, basic command loop."
...
This reverts commit 33522fcb8d
.
2015-04-06 12:14:45 -05:00
John Miller
3fdcd06930
Merge remote-tracking branch 'origin/stdin-channel'
2015-04-06 11:59:35 -05:00
John Miller
33522fcb8d
Separate ipdb buffer, basic command loop.
2015-04-06 07:23:09 -05:00
John Miller
3344fac972
Merge pull request #39 from kidmose/feature/test-ipy-3
...
Feature/test ipy 3
2015-04-02 21:53:15 -05:00
Egon Kidmose
76cfd4fd91
travis to test with emacs24, ipython 3.0.0
2015-04-01 14:29:08 +02:00
Egon Kidmose
374dabece8
fix Typerror (str.strip got unicode, expected str)
2015-04-01 13:53:18 +02:00
Egon Kidmose
247acddbbe
Requirements for ipython 3.0.0
2015-04-01 12:20:46 +02:00
John Miller
faaa578807
Basic support for ipdb sessions.
...
Similar to support in web interface; interaction with debugger is sent
to cell output. We can do better.
2015-03-31 17:26:00 -05:00