Commit graph

37 commits

Author SHA1 Message Date
John Miller
c40f41bd6f Shortcut to run integration and functional testing without compile check. 2018-10-13 07:17:44 -05:00
dickmao
bc10cea743 Normalize url-or-port
```
"http://localhost:8888"
"http://localhost:8888/"
"http://127.0.0.1:8888"
"http://127.0.0.1:8888/"
"8888"
8888
```

Ideally these should converge to the same thing.  Since many hash
tables are keyed off `url-or-port`, forgetting to
normalize `url-or-port` with `ein:url` leads to missed cache hits and
general malaise.  So we try to do that.

Address a FIXME: apply callbacks to `ein:notebook-list-login-and-open`.

Removed py3.5 from travis build matrix to reduce developer strain.
2018-10-12 21:55:33 -05:00
dickmao
11c2245c41 Asynchronize all server communication
Use deferred and callbacks instead of `:sync t` for tkf requests which
is known to have issues.  Query server attributes once on
notebooklist-open to avoid sequencing issue #176 (but allow Resync).
Under curl backend, a second request for the same "key" as a pending
request will abort the latter, which has resulted in a clobbered
curl-cookie-jar file, so merely warn and don't abort.

Fix #176
2018-10-07 00:40:48 -04:00
dickmao
ad8408dfb7 Implement undo
`M-x customize-group RET ein`
Toggle `Ein:Worksheet Enable Undo`
Save for Future Sessions
Restart emacs or kill/restart notebook

Fixes #338
2018-10-02 10:00:25 -04:00
dickmao
ec28cbe708 revive tkf tests
`make test-unit`
`make test-int` (formerly `cask exec ert-runner`)
An intermittent travis-melpa issue is solved by gonewest818.
2018-09-27 00:52:00 -04:00
John Miller
db630250ac New branch for company-mode backend development. 2016-03-03 13:29:00 -06:00
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
vagrant
a1afb096c7 Testing cleanup to run on vagrant. 2014-12-02 22:16:55 +00:00
John Miller
c963d236c7 Documentation update and travis cleanup
Progressing back towards having automated testing via travis. Updated
contact info for ein:dev-bug-report-template and updated requirements in
README.rst.
2014-11-03 16:34:14 -06:00
Takafumi Arakaki
87e88bc179 Use environment variable EMACS, if defined 2013-06-11 18:20:34 +02:00
Takafumi Arakaki
6fd2a2adeb Record Python package information 2013-05-19 06:53:30 +02:00
Takafumi Arakaki
becd04fc53 Refactor Makefile; add clean and purge 2013-05-19 06:07:47 +02:00
Takafumi Arakaki
6cb611d72e Use pattern rule env-ipy.% 2013-02-10 05:33:25 +01:00
Takafumi Arakaki
6a92afbc02 Simplify Makefile
testein-default/24 etc. are very old and can be merged with the
ones used by travis test.
2013-02-10 05:28:36 +01:00
Takafumi Arakaki
0d7cf29002 Run test with curl and url-retrieve 2013-01-16 21:01:00 +01:00
Takafumi Arakaki
4ebe754f3f Add "submodule" build target 2012-12-29 17:59:21 +01:00
Takafumi Arakaki
c2433badc8 Silence ert-compile build target 2012-12-26 19:09:51 +01:00
Takafumi Arakaki
127386db47 travis-ci-zeroein: rm -rf lib/* then try again 2012-09-28 01:29:17 +02:00
Takafumi Arakaki
4a928a4eef Test that zeroein.el runs in travis 2012-09-28 01:02:25 +02:00
Takafumi Arakaki
e0731db536 Print IPython version 2012-09-19 00:52:27 +02:00
Takafumi Arakaki
8b05d26a97 Test against dev version of IPython 2012-09-19 00:50:12 +02:00
Takafumi Arakaki
58406d8eca Add env-clean/log-clean make target 2012-09-18 22:46:18 +02:00
Takafumi Arakaki
a87292d94c Run functional tests in Travis CI 2012-09-18 18:34:57 +02:00
Takafumi Arakaki
da36474302 Add IPYTHON variable in Makefile 2012-09-18 18:24:40 +02:00
Takafumi Arakaki
69ec2c14ac Do not hard code log file path in Makefile 2012-09-18 17:39:24 +02:00
Takafumi Arakaki
f368a1b5a9 Make Python virtualenv under env/
This is for testing against several IPython versions.
2012-09-18 16:17:43 +02:00
Takafumi Arakaki
fa3f2c0232 Fix travis-ci make target 2012-09-14 14:25:09 +02:00
Takafumi Arakaki
8bf54bd777 Fix testein.py path 2012-09-13 15:56:33 +02:00
Takafumi Arakaki
9834632b41 Check python --version in travis-ci make target 2012-09-13 00:03:08 +02:00
Takafumi Arakaki
814139a2a4 Use environment variable to control Emacs version 2012-09-12 19:05:20 +02:00
Takafumi Arakaki
8e92ebbaa3 Cleaner test result 2012-09-12 18:25:39 +02:00
Takafumi Arakaki
981d69b706 Show Emacs version 2012-09-12 18:20:28 +02:00
Takafumi Arakaki
743f9b7928 Use emacs-snapshot for test in travis-ci 2012-09-12 18:04:38 +02:00
Takafumi Arakaki
b501a07df6 Add .travis.yml 2012-09-12 17:54:19 +02:00
Takafumi Arakaki
f59b33d185 Add make target testein-unit-all 2012-09-12 17:31:38 +02:00
Takafumi Arakaki
541f377a13 Add make target to compile ERT
Otherwise, testein-default (using Emacs 23.3.1) fails with error
"Lisp nesting exceeds `max-lisp-eval-depth'".
2012-09-12 17:13:33 +02:00
Takafumi Arakaki
2a919070b1 Adapt testein.py from zeroein 2012-09-12 16:35:04 +02:00