Commit graph

93 commits

Author SHA1 Message Date
Takafumi Arakaki
5cc2c08180 Merge branch 'master' of github.com:tkf/emacs-ipython-notebook 2012-06-07 02:55:29 +02:00
Takafumi Arakaki
422adbdd2b Change variable type of event: use symbol
As there is no "pattern matching" for event handling anymore, using
cons for event-type makes no sense.
2012-06-06 21:16:48 +02:00
Takafumi Arakaki
05b699e50e Improve test ein:notebook-yank-cell-command-simple 2012-06-06 02:03:14 +02:00
Takafumi Arakaki
e9210fe644 Cosmetic changes on code alignment 2012-06-04 16:23:53 +02:00
Takafumi Arakaki
93199a392b Remove cell from kernel-execute callbacks 2012-06-04 16:18:17 +02:00
Takafumi Arakaki
be0c3665b9 Fix ein:notebook-toggle-cell-type: set kernel
Set kernel slot if the converted cell is a code cell.
2012-06-02 21:47:03 +02:00
Takafumi Arakaki
77d574dc73 Fix test: ein:notebook-toggle-cell-type-simple 2012-06-02 20:59:14 +02:00
Takafumi Arakaki
b37dbaeeeb Add eintest:delete-untitled0 2012-05-26 22:39:39 +02:00
Takafumi Arakaki
b9e056d8f7 Fix eintest:get-untitled0-or-create 2012-05-26 22:37:26 +02:00
Takafumi Arakaki
27d924b020 Fix test-ein-kernel.el 2012-05-26 21:25:20 +02:00
Takafumi Arakaki
fffeeb2d3b Clean up eintest:notebook-from-json 2012-05-26 20:51:18 +02:00
Takafumi Arakaki
053962a5bf Fix eintest:notebook-from-json 2012-05-26 20:49:31 +02:00
Takafumi Arakaki
e5a4e8a229 Allow no undo after deleting a cell 2012-05-25 17:57:52 +02:00
Takafumi Arakaki
98ae4efbb9 Fix compile error of test-ein-notebook.el 2012-05-25 17:40:29 +02:00
Takafumi Arakaki
559da7b154 Merge branch 'filter-output-on-save' 2012-05-25 15:16:51 +02:00
Takafumi Arakaki
8d5e174f53 Test discard-output option of ein:cell-to-json 2012-05-25 15:12:54 +02:00
Takafumi Arakaki
ede88fc70a Add eintest:cell-to-json to simplify tests 2012-05-25 15:01:35 +02:00
Takafumi Arakaki
0e086985ea Add tests for ein:cell-to-json 2012-05-25 14:54:03 +02:00
Takafumi Arakaki
179916fd31 Show "Restarting kernel..." message which fadeouts 2012-05-25 03:03:57 +02:00
Takafumi Arakaki
315b106c96 Start using notification widget 2012-05-25 02:04:07 +02:00
Takafumi Arakaki
f2c6df94e0 Fix a bug in ein:notification-bind-events 2012-05-25 01:48:29 +02:00
Takafumi Arakaki
0d051b0102 Add tests on notification widget and fix bugs 2012-05-25 01:32:05 +02:00
Takafumi Arakaki
fb1067835b Add tests for input-prompt-number 2012-05-23 23:13:24 +02:00
Takafumi Arakaki
160f15becd Fix: copied cell can't be executed 2012-05-23 18:46:09 +02:00
Takafumi Arakaki
294eded27e Add tests for the previous fix 2012-05-23 15:53:10 +02:00
Takafumi Arakaki
1113b4eeb2 Add ein:trim-indent and its tests 2012-05-23 13:24:21 +02:00
Takafumi Arakaki
7ca440ab75 Merge branch 'master' into refactor-kernel 2012-05-23 02:26:05 +02:00
Takafumi Arakaki
d2801ebcfc Add test: ein:notebook-execute-current-cell-question 2012-05-23 02:21:45 +02:00
Takafumi Arakaki
4cbd11ebaa Merge branch 'master' into refactor-kernel 2012-05-23 02:10:14 +02:00
Takafumi Arakaki
d538d7673e Add new test: ein:notebook-request-help 2012-05-23 02:03:23 +02:00
Takafumi Arakaki
676e4ff523 Fix test ein:notebook-execute-current-cell
Many old functions are updated.
2012-05-23 01:15:42 +02:00
Takafumi Arakaki
46af87db27 Setup dummy kernel and events for notebook tests
This fixes a lot of tests (but not all).
2012-05-23 00:00:33 +02:00
Takafumi Arakaki
6a7b0497b0 Simplify mocking for test-ein-kernel.el 2012-05-22 23:45:53 +02:00
Takafumi Arakaki
085fd73823 Fix test-ein-kernel.el: these tests are passed 2012-05-22 23:32:47 +02:00
Takafumi Arakaki
c245491c50 Correct kernel test to follow the previous fixes
msg_type in the "fake packet" is moved into the header sub-object.

Related previous fixes:
* 85c90fc6c6 -- fix shell-reply
* a02a4a4221 -- fix iopub-reply
2012-05-22 04:20:35 +02:00
Takafumi Arakaki
76d677c77c Merge branch 'extra-output-tests'
Newly added 6 tests fail.
2012-05-20 21:00:43 +02:00
Takafumi Arakaki
e625540e00 Add new tests for multiple pyout/display-data 2012-05-20 20:55:49 +02:00
Takafumi Arakaki
97bb0302d0 Improve test generator for cell output 2012-05-20 20:50:40 +02:00
Takafumi Arakaki
e96746d4e5 Better ewoc pretty printer for stream
ein:cell-insert-output handles flushed stream better.

But this change is kind of contaminating other output type because now
ein:cell-insert-output inserts newline in the region of other output
type node if the previous output is stream type.  Maybe I need something
more like DOM.
2012-05-20 19:54:21 +02:00
Takafumi Arakaki
b229901983 Generate tests for pyout and display_data 2012-05-20 18:18:59 +02:00
Takafumi Arakaki
5a29ca35af Eliminate repeated part from the cell output tests 2012-05-20 17:52:49 +02:00
Takafumi Arakaki
8f6dc98bb6 Add test: ein:cell-insert-output-pyerr-simple 2012-05-20 17:38:32 +02:00
Takafumi Arakaki
90c3309d2e Add tests: ein:cell-insert-output-stream-* 2012-05-20 17:23:09 +02:00
Takafumi Arakaki
52de6aab55 Add tests: ein:cell-insert-output-pyout-* 2012-05-20 17:11:53 +02:00
Takafumi Arakaki
4da77fd286 Separate test-ein-notebook.el in sections 2012-05-20 16:30:33 +02:00
Takafumi Arakaki
3514a1def5 Add test and fix ein:notebook-ask-before-kill-emacs
Two bugs are fixed.  One is in notebook-ask-before-kill-emacs and the
other is in ein:notebook-modified-p.
2012-05-20 03:19:55 +02:00
Takafumi Arakaki
b7efef9bfd Fix failing tests
* test-ein-cell.el was not changed in 10fb29f when the cell types are
  changed.
* test-ein-notebook.el was not changed in b9b5dc5 when the destructor
  was introduced.
2012-05-20 00:41:16 +02:00
Takafumi Arakaki
8ecd3100c4 Add tests for ein:notebook-merge-cell-command 2012-05-19 13:48:27 +02:00
Takafumi Arakaki
cb1eab8d80 Add new function ein:cell-location and its tests 2012-05-19 13:10:44 +02:00
Takafumi Arakaki
218a2e28ed Fix a bug and add more tests for cell splitting 2012-05-19 04:19:17 +02:00