Commit graph

863 commits

Author SHA1 Message Date
Takafumi Arakaki
bf614f729e Update gh-pages 2012-06-21 15:06:30 +02:00
Takafumi Arakaki
642e461061 Merge branch 'query-singleton-ajax' 2012-06-21 15:05:09 +02:00
Takafumi Arakaki
9847301a5f Document ein:query-timeout more 2012-06-21 15:03:41 +02:00
Takafumi Arakaki
3ef39aa7d4 Fixed misplaced ein:notebook-querty-timeout-open/save in doc 2012-06-21 14:59:27 +02:00
Takafumi Arakaki
91e578e9cc Correct ein:notebook-querty-timeout-open/save docs 2012-06-21 03:53:51 +02:00
Takafumi Arakaki
38a3533e8f Minor fix in ein:query-ajax-timeout-callback 2012-06-21 01:05:54 +02:00
Takafumi Arakaki
c52c05836e Increase ein:notebook-querty-timeout-save
I checked that ein:notebook-querty-timeout-open/save are enough
for opening/saving 50MB notebook in my machine.
2012-06-21 01:05:42 +02:00
Takafumi Arakaki
1b7edc7aa1 Document query timeout configurations 2012-06-21 00:48:03 +02:00
Takafumi Arakaki
0bf69e5e7b Make default query timeout shorter 2012-06-21 00:02:14 +02:00
Takafumi Arakaki
283615ee50 Add ein:notebook-querty-timeout-open/save 2012-06-21 00:01:23 +02:00
Takafumi Arakaki
446ff43248 Add ein:byte-compile-ein 2012-06-20 23:15:48 +02:00
Takafumi Arakaki
4667aea841 Ignore compiled version in test-load.el 2012-06-20 23:15:46 +02:00
Takafumi Arakaki
be2db6ed10 Load compiled version in ein:load-files by default 2012-06-20 23:15:36 +02:00
Takafumi Arakaki
976bb3fefb Make notebook save callback more user cancel aware 2012-06-20 23:14:27 +02:00
Takafumi Arakaki
99660cf5e7 Use ein:query-singleton-ajax everywhere 2012-06-20 23:14:26 +02:00
Takafumi Arakaki
1ad0b71d6c Add ein:query-singleton-ajax 2012-06-20 23:14:25 +02:00
Takafumi Arakaki
de7f0c7fa6 Refactor to make timeout cancel more general 2012-06-20 20:29:06 +02:00
Takafumi Arakaki
2e0286c10b Add ein:dev-show-debug-setting 2012-06-20 18:43:32 +02:00
Takafumi Arakaki
6f821d5fea Set ein:debug in ein:dev-start/stop-debug 2012-06-20 18:43:16 +02:00
Takafumi Arakaki
28c23d1f36 Cleaner ein:notebook-console-open
See also:
https://github.com/fgallina/python.el/issues/85
2012-06-20 18:24:49 +02:00
Takafumi Arakaki
b38c03c506 Remove meaningless code from ein-notebooklist.el 2012-06-19 00:41:59 +02:00
Takafumi Arakaki
727365a482 Add keybind `q' to quit shared output buffer 2012-06-19 00:41:33 +02:00
Takafumi Arakaki
6135e75b59 Reload notebook list after new notebook is created
This refreshes data stored in notebook list struct so that new notebook
info is available for command like ein:notebooklist-open-notebook-global
2012-06-18 21:04:27 +02:00
Takafumi Arakaki
7b1f7ac7d1 Add C-c C-w as an alias of C-c M-w 2012-06-18 17:01:52 +02:00
Takafumi Arakaki
118635dc1a Update gh-pages 2012-06-17 20:09:16 +02:00
Takafumi Arakaki
ac8d0e9492 Added byte compile instruction in the doc
I just noticed macro ein:aand in ein:cell-from-ewoc-node slows down
significantly notebook when using without compile.
2012-06-17 16:16:06 +02:00
Takafumi Arakaki
5a93a096dc Make EIN byte compile-able w/o optional packages 2012-06-17 16:10:55 +02:00
Takafumi Arakaki
4849b21dc3 Support print page in ein:notebook-open-in-browser 2012-06-17 14:49:54 +02:00
Takafumi Arakaki
efcd1e8f63 Improve ein:notebook-execute-current-cell-and-goto-next 2012-06-17 13:41:23 +02:00
Takafumi Arakaki
54a3d3687b Add messaging in ein:notebook-copy-cell-command 2012-06-17 12:52:09 +02:00
Takafumi Arakaki
7d81026f2c Fix ein:notebook-merge-cell-command
Let binding of buffer-undo-list of shadowed the global variable.
2012-06-17 09:50:45 +02:00
Takafumi Arakaki
9fe12edfea Update gh-pages 2012-06-17 09:18:14 +02:00
Takafumi Arakaki
c1eb3ca233 Add ein:pytools-doctest in document 2012-06-17 09:10:54 +02:00
Takafumi Arakaki
96bba6ab44 Better ein:notebooklist-ask-url-or-port 2012-06-17 09:08:33 +02:00
Takafumi Arakaki
3f94bb29ec Add ein:default-url-or-port in document 2012-06-17 09:08:08 +02:00
Takafumi Arakaki
fb4ed0b449 Add more tests for undo 2012-06-17 08:59:04 +02:00
Takafumi Arakaki
c884baf473 Add ein:pytools-doctest 2012-06-17 04:42:27 +02:00
Takafumi Arakaki
4a7c81869f Merge branch 'configurable-undo' 2012-06-17 03:34:55 +02:00
Takafumi Arakaki
4b3cf371c0 Add alternative keybinds for source code jumping 2012-06-17 02:36:00 +02:00
Takafumi Arakaki
1e48027ab0 Use exclude option in ein:notebooklist-mode-map doc 2012-06-17 01:58:23 +02:00
Takafumi Arakaki
1ef27808c5 Add dummy for maybe_reset_undo.Notebook in shared output 2012-06-17 01:12:13 +02:00
Takafumi Arakaki
3570580c58 Make ein:use-smartrep docstring simple 2012-06-17 01:03:45 +02:00
Takafumi Arakaki
7284604a1b Add ein:notebooklist-mode-map in the doc 2012-06-17 01:03:21 +02:00
Takafumi Arakaki
f2a5a6894e Add install section and improve usage section 2012-06-17 00:51:52 +02:00
Takafumi Arakaki
dc21cd2f38 Update README and doc
Once this branch is merged, EIN will be "ready for release" state.
2012-06-17 00:19:00 +02:00
Takafumi Arakaki
6b5b54c965 Trigger ein:notebook-empty-undo-maybe via event
Previous tests were failed because undo was not reset after the
execution callbacks modified the buffer.  This is fixed by calling
ein:notebook-empty-undo-maybe via event in all the callbacks.
2012-06-16 23:42:58 +02:00
Takafumi Arakaki
0c13bc4234 Modifying undo in PP is wrong
Previous change was not complete since the test does NOT fail.
The test must fail because the test was for `full' undo but
actually it was tested against normal undo.

It turned out let binding of buffer-undo-list in ein-cell.el
was the right way to do it, since EWOC does some buffer
modification outside of the pretty printer.  Therefore, setting
inhibit-read-only and buffer-undo-list in the pretty printer
makes no sense.  Thus, they are removed from ein:notebook-pp.

This means that wrapping EWOC functions with let binding of
buffer-undo-list is essential.  Meaning that what I wrote in
the FIXME ein:notebook-pp was wrong.  Therefore,
ein:notebook-empty-undo-maybe cannot be called in ein:notebook-pp
and ein:notebook-empty-undo-maybe must be called in every single
functions that modifies buffer via EWOC.

Tests for three cases of undo configuration are added.
These test still fail:
ein:notebook-undo-after-execution-1-cell/yes
ein:notebook-undo-after-execution-2-cells/yes
2012-06-16 23:42:23 +02:00
Takafumi Arakaki
363b63de04 Make undo in notebook configurable
Note that ein:notebook-empty-undo-maybe is called in:
* ein:notebook-pp
* ein:notebook-delete-cell
2012-06-16 21:48:21 +02:00
Takafumi Arakaki
311151fdc8 Inhibit undo in pretty printer 2012-06-16 21:05:22 +02:00
Takafumi Arakaki
5b06f8fcd8 More precise check in undo tests 2012-06-16 21:04:47 +02:00