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
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
315b106c96
Start using notification widget
2012-05-25 02:04:07 +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
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
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
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
Takafumi Arakaki
6bc632b574
Trim newlines in ein:notebook-split-cell-at-point
2012-05-19 03:56:43 +02:00
Takafumi Arakaki
49545be8bd
Make goto-next/prev-cell behave more intuitively
2012-05-18 02:59:00 +02:00
Takafumi Arakaki
a562c7a19d
Add ein:notebook-move-cell-up/down-command
2012-05-18 01:38:59 +02:00
Takafumi Arakaki
6ab4d4860a
Add test: ein:notebook-execute-current-cell
...
mocker.el is added to write this test.
2012-05-17 18:41:28 +02:00
Takafumi Arakaki
cbbd118236
Add ein:notebook-split-cell-at-point command
2012-05-17 15:48:21 +02:00
Takafumi Arakaki
542bc5590c
Improve ein:notebook-toggle-cell-type-simple
2012-05-17 14:40:17 +02:00
Takafumi Arakaki
17a6a383e2
Fix ein:notebook-console-security-dir-get
2012-05-16 19:15:48 +02:00
Takafumi Arakaki
e1fd1a1364
Add test and fix inter-buffer yanking
2012-05-16 12:58:59 +02:00
Takafumi Arakaki
b7c5dd4996
Add test: ein:notebook-goto-prev-cell-simple
2012-05-16 12:35:30 +02:00
Takafumi Arakaki
43e33dc947
Add test: ein:notebook-goto-next-cell-simple
2012-05-16 12:32:39 +02:00
Takafumi Arakaki
63542fb11b
Add test: ein:notebook-toggle-cell-type-simple
2012-05-16 12:12:53 +02:00
Takafumi Arakaki
034be5bdde
Fix a bug in cell yank: cannot yank in empty notebook
2012-05-16 12:08:53 +02:00
Takafumi Arakaki
2dc31e6512
Add test: ein:notebook-copy-cell-command-simple
2012-05-16 11:56:27 +02:00
Takafumi Arakaki
8883b9dc42
Add test: ein:notebook-kill-cell-command-simple
2012-05-16 11:54:39 +02:00
Takafumi Arakaki
0970207a23
Add test: ein:notebook-delete-cell-command-simple
2012-05-16 11:48:54 +02:00
Takafumi Arakaki
a5ea71c275
Add eintest:notebook-make-empty to simplify test code
2012-05-16 11:45:55 +02:00
Takafumi Arakaki
c536b2e2a3
Refactor eintest:notebook-from-json
2012-05-16 11:43:36 +02:00
Takafumi Arakaki
d300fa6fbb
Add simple tests for cell insertion
2012-05-16 11:41:38 +02:00
Takafumi Arakaki
85bbdfe9a1
Add test: ein:notebook-from-json-empty
2012-05-16 11:37:18 +02:00
Takafumi Arakaki
6378ee1c8a
Add test ein:notebook-from-json-simple
2012-05-16 06:47:29 +02:00
Takafumi Arakaki
0df35d6812
Fixed failing tests due to the renaming in ec029f0
2012-05-15 05:24:58 +02:00
Takafumi Arakaki
a8738c178f
Add ein:notebook-console-open
2012-05-14 20:32:10 +02:00
Takafumi Arakaki
4de38417b7
Add ein:notebook-test-notebook-name
2012-05-13 04:47:41 +02:00