Commit graph

2326 commits

Author SHA1 Message Date
John Miller
dd494cba59 Less talkative notebook saving.
EIN now logs messages regarding notebook saving using 'verbose level.
2016-10-23 19:26:21 -05:00
John Miller
701ddbe39c Autosaving and checkpoints as distinct actions.
Saving a notebook and creating a checkpoint are related, but distinct
activities. EIN does better now with this distinction. See updates to
the documentaiton (which should get pushed to github any day now).
2016-10-21 12:10:49 -05:00
John Miller
bdc140e446 Bump version to 0.11.0 2016-10-20 12:28:42 -05:00
John Miller
c7bf4f6521 Update docs, get scoping right for notebook checkpoint calls
Document the new checkpoint functions. Fix issue that was preventing
the list of checkpoints from being updated in the notebook.
2016-10-20 11:14:23 -05:00
John Miller
bb95f71f5e Give ein notebooks content checkpoint functionality. 2016-10-19 14:43:19 -05:00
John Miller
7d8474e2c4 Low level support for managing notebook checkpoints.
Via the Jupyter contents REST API.
2016-10-19 11:57:34 -05:00
John Miller
3632f2da77 One last try to fix .travis.yml
Use method suggested in comments of post at:

http://sachachua.com/blog/2015/02/continuous-integration-code-coverage-emacs-packages-travis-coveralls/
2016-10-19 09:14:34 -05:00
John Miller
c670486f1e No xpm or gif for emacs build.
Fixing travis errors.
2016-10-18 13:07:50 -05:00
John Miller
1d86493fb1 Initial Cask support, tweaking .travis.yml
We will get travis-ci to work yet.
2016-10-18 13:01:54 -05:00
John Miller
f74c19ecb6 Revert "Moving away from eieio to cl-generic"
This reverts commit 55176c3a4c.
2016-10-17 17:20:41 -05:00
John Miller
62d9f1117d Moving away from eieio to cl-generic
The goal is to eventually eliminate most of the warnings that are
generated when byte-compiling ein.

Do this over several commits to make it easier to revert in the likely
event that something breaks.
2016-10-17 17:20:41 -05:00
John Miller
12220c982c Merge pull request #125 from robbyoconnor/fix-119
This seems to be the culprit for #119
2016-10-17 08:54:58 -05:00
Robert O'Connor
1fc20669bc
This seems to be the culprit for #119
Fixes #119

Also Resolves syl20bnr/spacemacs#7181
2016-10-16 22:31:23 -04:00
John Miller
eff24be9fb Merge pull request #123 from sam-s/master
fix issue 122: do not assume we are always connected to a server
2016-10-16 19:53:18 -05:00
John Miller
7cab72cac3 Stability fixes.
Get the call signature correct, try to avoid always calling
`ein:query-kernelspec`.
2016-10-16 19:52:01 -05:00
Sam Steingold
42031dbee6 do not assume we are always connected to a server
(ein:notification-tab-create-line ((tab ein:notification-tab))):
do not fail when (ein:$notebook-kernelspec ein:%notebook%) returns nil
2016-10-15 23:46:04 -04:00
John Miller
11a95db183 Merge remote-tracking branch 'refs/remotes/origin/master' into org-babel
# Conflicts:
#	lisp/ein-core.el
2016-10-15 13:11:38 -05:00
John Miller
55176c3a4c Moving away from eieio to cl-generic
The goal is to eventually eliminate most of the warnings that are
generated when byte-compiling ein.

Do this over several commits to make it easier to revert in the likely
event that something breaks.
2016-10-13 16:29:44 -05:00
John Miller
3d50f72e0a Handle session and kernelspec slightly better.
Try to be more robust in handling session and kernelspec parameters for
org source blocks.

Get rid of submodules (again). The future is Cask.
2016-10-13 15:15:08 -05:00
John Miller
0c447297dd Remove subprojects.
I will have to rethink how to do this for testing and zeroein. It may be
better to deprecate zeroein altogether since melpa works so well and is
so ubiquitous these days.
2016-10-13 08:30:11 -05:00
John Miller
c8a93e133a Remove gitmodules in subprojects.
To unbreak melpa.
2016-10-13 08:17:33 -05:00
John Miller
ea9933ec9d Better return values, except for images
Do a better job return results of code execution, however images are not
being saved to file. Very unsure why this is.
2016-10-12 13:42:19 -05:00
John Miller
914f68bc35 Bump version. 2016-10-12 07:01:14 -05:00
John Miller
f4dfd363dc Basic support for org code blocks
We can execute code blocks via the shared output buffer, but support for
handling return values is very rudimentary.
2016-10-11 20:29:48 -05:00
John Miller
90c7e4501f Try to fix blocking call warning
According to the internet this is because we need a `with-local-quit` at
the right time and place.
2016-10-09 12:45:32 -05:00
John Miller
256b14a49f Make synchronous comm a user configurable parameter.
EIN can communicate with the jupyter contents API synchronously or
asyncronously, with the default behavior the latter. For a time it has
been possible to force synchronous from the code, but now I have made
that a user-configurable parameter (see `ein:force-sync`).
2016-10-05 11:39:54 -05:00
John Miller
bb87e07dd1 Merge branch '38-fixing-testing' 2016-10-03 11:40:00 -05:00
John Miller
85744a78bd Fix delete test, travis config tweaking cont.
Make delete test slightly less complicated, but hopefully still as
test-y. More tweaking to travis config.
2016-10-03 11:36:27 -05:00
John Miller
f9bcc3f1ca Check if variable exists
Because we aren't sure this variable is available in earlier versions of
emacs.
2016-09-30 15:18:58 -05:00
John Miller
262037c392 Call the right emacs 2016-09-30 15:07:11 -05:00
John Miller
26e7f080df Try to fix emacs compile errors in travis. 2016-09-30 15:02:11 -05:00
John Miller
834404e0c7 Simplify travis setup, use emacs-travis tool. 2016-09-30 14:46:47 -05:00
John Miller
5e8eb9e381 A better travis config
emacs-lisp language no longer seems to be an option. Going with Python
is a better deal anyway, since we get access to setuptools and don't
have to mess around with virtualenv's or the convoluted Makefile.
2016-09-30 14:30:51 -05:00
John Miller
f07b5ad7f0 execute_result is the new pyout
Caught one! "pyout" messages are now called "execute_result", so we
should act accordingly. Before "execute_result" was being treated as
"display_data".
2016-09-30 13:26:54 -05:00
John Miller
cf70c7ecd9 Cleaning up testing
Trying to keep up with jupyter..
2016-09-30 13:24:28 -05:00
John Miller
6ea5c255aa Fix command template for windows
Windows did not like all those newlines. Less readable in the code but
at least it works.
2016-09-30 09:59:19 -05:00
John Miller
14880fe272 Making cool badges even cooler.
And fixing some unfortunate typos.
2016-09-24 14:30:01 -05:00
John Miller
174c587624 Add cool MELPA badges. 2016-09-24 14:23:30 -05:00
John Miller
11756b0e04 Preliminary update and test commands
Added two tasks, one for creating/updating libs that ein currently
depends on, another for running testein.py.
2016-09-24 14:15:25 -05:00
John Miller
1a2587fb71 Merge commit 'a241b0d46873e5f4b642486bed3ed11c5ec586d8' as 'lib/ein-mumamo' 2016-09-24 13:01:13 -05:00
John Miller
a241b0d468 Squashed 'lib/ein-mumamo/' content from commit 028fefe
git-subtree-dir: lib/ein-mumamo
git-subtree-split: 028fefec499598add1a87b92ed991891f38f0c7b
2016-09-24 13:01:13 -05:00
John Miller
1c81db32ff Merge commit '273928198c4951c8d6156a3903112fbf9a189a66' as 'lib/request' 2016-09-24 13:01:07 -05:00
John Miller
273928198c Squashed 'lib/request/' content from commit 1245013
git-subtree-dir: lib/request
git-subtree-split: 12450136785fe6ff8df940f9c0601406a9fd8bc9
2016-09-24 13:01:07 -05:00
John Miller
53b790202a Merge commit '7ff1fdcb4fe92fc4f968c807dfdb39119f80076d' as 'lib/ert' 2016-09-24 13:01:01 -05:00
John Miller
7ff1fdcb4f Squashed 'lib/ert/' content from commit ac402f1
git-subtree-dir: lib/ert
git-subtree-split: ac402f113ca96937f694b4e678d2fb76f965678f
2016-09-24 13:01:01 -05:00
John Miller
1a696f8299 Merge commit '08e9bb84ef334f0c7986617639e7f3a48e1957d2' as 'lib/markdown-mode' 2016-09-24 13:00:57 -05:00
John Miller
08e9bb84ef Squashed 'lib/markdown-mode/' content from commit e89c377
git-subtree-dir: lib/markdown-mode
git-subtree-split: e89c377d80a3acae322c7523112122c989cfd3ec
2016-09-24 13:00:57 -05:00
John Miller
6037320a0c Merge commit 'f1318bbcad09d0c5fd35f767ee77ea047798aca7' as 'lib/smartrep' 2016-09-24 13:00:29 -05:00
John Miller
f1318bbcad Squashed 'lib/smartrep/' content from commit f0ff5a6
git-subtree-dir: lib/smartrep
git-subtree-split: f0ff5a6d7b8603603598ae3045c98b011e58d86e
2016-09-24 13:00:29 -05:00
John Miller
4e33fb9533 Merge commit '799253c7ecd43395a66bfd595346093072c785b5' as 'lib/pos-tip' 2016-09-24 13:00:19 -05:00