Commit graph

1485 commits

Author SHA1 Message Date
Takafumi Arakaki
63d234cd82 Rename class: %s/$connect/connect/g 2012-08-19 00:24:18 +02:00
Takafumi Arakaki
3a3c21e785 Add a note on naming rule in ein.el 2012-08-19 00:24:17 +02:00
Takafumi Arakaki
f754a06ed6 Rename: ein:@shared-output -> ein:%shared-output%
%s/\_<ein:@\(shared-output\)\_>/ein:%\1%/g
2012-08-19 00:24:10 +02:00
Takafumi Arakaki
281d09a5f5 Rename: ein:@connect -> ein:%connect%
%s/\_<ein:@\(connect\)\_>/ein:%\1%/g

Define obsolete alias, as user might use this variable.
2012-08-18 23:03:07 +02:00
Takafumi Arakaki
71015afd45 Rename: ein:@traceback -> ein:%traceback%
%s/\_<ein:@\(traceback\)\_>/ein:%\1%/g
2012-08-18 23:02:42 +02:00
Takafumi Arakaki
5bbb240eef Rename: ein:@notification -> ein:%notification%
%s/\_<ein:@\(notification\)\_>/ein:%\1%/g

Define obsolete alias, to make test pass.
2012-08-18 23:02:20 +02:00
Takafumi Arakaki
71ec80da82 Rename: ein:query... -> ein:%query-ajax-canceled%
%s/\_<ein:\(query-ajax-canceled\)\_>/ein:%\1%/g
2012-08-18 23:00:51 +02:00
Takafumi Arakaki
b044aca6b7 Rename: ein:query... -> ein:%query-ajax-timer%
%s/\_<ein:\(query-ajax-timer\)\_>/ein:%\1%/g
2012-08-18 23:00:24 +02:00
Takafumi Arakaki
b74f7acbcd Rename: ein:cell... -> ein:%cell-append-stream-last-cell%
%s/\_<ein:\(cell-append-stream-last-cell\)\_>/ein:%\1%/g
2012-08-18 23:00:05 +02:00
Takafumi Arakaki
733e68284a Rename: ein:notebook -> ein:%notebook%
%s/\_<ein:notebook\_>/ein:%notebook%/g

Define obsolete alias, as user might use this variable.
2012-08-18 22:59:31 +02:00
Takafumi Arakaki
079701cfb2 Rename: ein:notebooklist -> ein:%notebooklist%
%s/\_<ein:notebooklist\_>/ein:%notebooklist%/g

Define obsolete alias, as user might use this variable.
2012-08-18 22:59:14 +02:00
Takafumi Arakaki
aa7fa77906 Remove buffer specific logging
It is not super useful feature.  Simplifying logging module by
removing this is better.
2012-08-16 17:54:03 +02:00
Takafumi Arakaki
714f07e759 Add ein:ewoc-create in ein-utils 2012-08-16 17:03:53 +02:00
Takafumi Arakaki
6e6c0c65f3 Rename ein:notebook-console-security-dir in docstring 2012-08-16 16:40:27 +02:00
Takafumi Arakaki
a75d6ede3c Add ein:console-open in ein:connect-mode-map 2012-08-16 16:32:57 +02:00
Takafumi Arakaki
1b28e37316 Fix obsolete variable aliases
define-obsolete-variable-alias must come before defcustom
2012-08-16 16:24:02 +02:00
Takafumi Arakaki
75ff49589d Refactor ein:console-open 2012-08-16 16:11:16 +02:00
Takafumi Arakaki
39fbba35f0 Cosmetic change in ein-console.el 2012-08-16 16:03:53 +02:00
Takafumi Arakaki
6beaf48c38 Move ein:notebook-console-* to ein:console-* 2012-08-16 15:52:41 +02:00
Takafumi Arakaki
5d159f3f87 Add ein:connect-reload-buffer 2012-08-16 03:43:14 +02:00
Takafumi Arakaki
3a6fffa0d1 Better error for incompatible EWOC version
Old ewoc-create does not have NOSEP argument.
See also #49
2012-08-16 03:37:17 +02:00
Takafumi Arakaki
2d96f0d970 Merge branch 'generic-getter'
Generic getter functions `ein:get-*' remove complex dependencies.

Commands `ein:tb-show', `ein:shared-output-show-code-cell-at-point',
and `ein:shared-output-eval-string' use the getter functions to get
appropriate object in buffer/at point, so that these functions are
usable in many types of buffer.
2012-08-16 03:34:51 +02:00
Takafumi Arakaki
b3c92e11dc Merge branch 'master' of github.com:tkf/emacs-ipython-notebook 2012-08-16 03:34:19 +02:00
Takafumi Arakaki
31216cb370 Fix compiler warning in ein:get-traceback-data--connect 2012-08-16 01:59:24 +02:00
Takafumi Arakaki
f4f116b26f Replace ein:pytools-eval-string-internal
with ein:shared-output-eval-string
2012-08-16 01:59:23 +02:00
Takafumi Arakaki
ee1557913b Replace ein:connect-eval-string
with ein:shared-output-eval-string
2012-08-16 01:59:22 +02:00
Takafumi Arakaki
99b0f59ff9 Replace ein:notebook-eval-string
with ein:shared-output-eval-string
2012-08-16 01:59:20 +02:00
Takafumi Arakaki
53fbf9b554 Add ein:shared-output-eval-string
This function should be usable anywhere.
2012-08-15 23:04:20 +02:00
Takafumi Arakaki
f4a2ea78a2 Adapt to newer python.el
Also stop calling python-shell-parse-command because it just
adds "-i" in the command line.

fixes #50
2012-08-15 22:47:16 +02:00
Takafumi Arakaki
1193f12b8f Move notebook-show-in-shared-output to shared-output 2012-08-15 21:41:05 +02:00
Takafumi Arakaki
d7e05fba63 Improve the previous fix on ein:tb-show
Traceback shown in shared-output buffer by
ein:notebook-show-in-shared-output did not have kernel info and
thus failed when ein:tb-show was called.
2012-08-15 21:05:48 +02:00
Takafumi Arakaki
e426340cd3 Fix: ein:tb-show did not work in shared-output buffer
It did not work because ein:get-notebook does not work.  Notebook
is not well defined in shared-output buffer since it knows only
about kernel (through cell).  This reflect the design that kernel
and notebook is well decoupled.
2012-08-15 20:54:22 +02:00
Takafumi Arakaki
adac1a5619 Fix and improve ein:generic-getter docstring 2012-08-14 23:02:18 +02:00
Takafumi Arakaki
06b1c74a5a Add tests ein:get-*--nil and fix a bug 2012-08-14 22:14:02 +02:00
Takafumi Arakaki
3f8f995910 Provide ein:tb-show in connect/shared-output 2012-08-14 21:11:18 +02:00
Takafumi Arakaki
9709c74b9f Remove ein:notebook-view-traceback 2012-08-14 21:11:16 +02:00
Takafumi Arakaki
730741bd03 Add ein:tb-show command 2012-08-14 21:11:13 +02:00
Takafumi Arakaki
8ebea1b1a7 Add macro ein:and-let* 2012-08-14 21:05:13 +02:00
Takafumi Arakaki
2faeb54475 Add ein:get-traceback-data generic getter 2012-08-14 21:05:12 +02:00
Takafumi Arakaki
4d4e22912b Add ein:get-cell-at-point generic getter 2012-08-14 21:05:11 +02:00
Takafumi Arakaki
b2893f128b Add FIXME on ein-connect.el 2012-08-14 21:05:10 +02:00
Takafumi Arakaki
81473d67a2 Simplify ein:connect-to-notebook-buffer 2012-08-14 21:05:09 +02:00
Takafumi Arakaki
f0a4888c90 Remove ein:get-notebook-buffer 2012-08-14 21:05:08 +02:00
Takafumi Arakaki
fa5ec1b070 Refactor ein-pytools to get rid of declare-function 2012-08-14 21:05:06 +02:00
Takafumi Arakaki
73cadcaaa4 Use generic getters in ein-pytools.el 2012-08-14 21:05:05 +02:00
Takafumi Arakaki
f510e8d50f Implement "generic getter" mechanism
See the docstring of ein:generic-getter
2012-08-14 21:05:03 +02:00
Takafumi Arakaki
2199309759 Remove traceback method from ein$notebook
This simplifies the dependency.
2012-08-13 18:47:21 +02:00
Takafumi Arakaki
764e67ee4a Save nbformat_minor (send to server if it is given) 2012-08-12 19:43:39 +02:00
Takafumi Arakaki
5269926ddd Add ein:notebook--check-nbformat 2012-08-12 19:33:39 +02:00
Takafumi Arakaki
b39fc5cc6b Use multi-line message in ein:kernel--websocket-closed 2012-08-12 18:54:03 +02:00