Commit Graph

887 Commits

Author SHA1 Message Date
Jonathan Frederic
3bcee30e8c Added comments to kbm and shrunk focus_cell lines 2014-02-28 15:11:21 -08:00
Jonathan Frederic
69e760841a Move should cancel blur into codecell 2014-02-28 15:06:47 -08:00
Jonathan Frederic
4fdc99e111 Remove notebook load log succes 2014-02-28 15:03:27 -08:00
Jonathan Frederic
a6f883d7f2 Couple of whiteboard logic implementation misses 2014-02-28 14:30:06 -08:00
Jonathan Frederic
9451589e38 implemented whiteboard logic 2014-02-28 14:18:56 -08:00
Jonathan Frederic
0884716a7d Re-added widget textbox blur fix FF 2014-02-27 16:15:11 -08:00
Jonathan Frederic
bfc51c2a29 Final touches? 2014-02-27 16:09:00 -08:00
Jonathan Frederic
c5fb037e41 Reorg index and focus_editor params on edit_mode func 2014-02-27 15:52:05 -08:00
Jonathan Frederic
048ca30b0c Remove fixes that are implemented correct in new CM 2014-02-27 15:47:01 -08:00
Brian E. Granger
e847a31348 Always refresh the CM editor upon TextCell unrender. 2014-02-27 15:45:06 -08:00
Jonathan Frederic
b976804051 Moved edit_mode canceling logic back into cell. 2014-02-27 15:45:06 -08:00
Jonathan Frederic
ff37fb7a36 Standardized comments and removed last logs 2014-02-27 15:45:06 -08:00
Jonathan Frederic
64ae25508d Removed change that is no longer needed 2014-02-27 15:45:06 -08:00
Jonathan Frederic
70086d352f s/unfocus/blur 2014-02-27 15:45:06 -08:00
Jonathan Frederic
c7860d8bc8 Post in person review
Removed logic for reverse ordered events
Removed almost all of the log statements
Removed list for should unfocus callbacks
Removed all the logic in focus_editor
Only call focus_editor if the keyboard was used to enter edit mode
2014-02-27 15:45:06 -08:00
Jonathan Frederic
3595c099c2 Fixed rebase problems 2014-02-27 15:45:06 -08:00
Jonathan Frederic
10d79a9102 Added cell unfocus event canceller API 2014-02-27 15:45:05 -08:00
Jonathan Frederic
a6aaa8a886 Use is_focused for element kbman removal event 2014-02-27 15:45:05 -08:00
Jonathan Frederic
6f7c502157 Fixed lots of bugs
Half overhaul of notebook focus events...
2014-02-27 15:45:05 -08:00
Jonathan Frederic
206d35a89e DEBUG
Added lots of log calls and a couple small 'fixes' (attempts)
2014-02-27 15:45:05 -08:00
Jonathan Frederic
7913305312 jshint 2014-02-27 15:45:05 -08:00
MinRK
bdde544d47 don't forget base_url when updating address bar in rename 2014-02-26 15:01:07 -08:00
Jonathan Frederic
6c1ef48f1a Merge pull request #5173 from jdfreder/movewidgets
Moved widget files into static/widgets/*
2014-02-25 16:14:10 -08:00
Min RK
0117b587ab Merge pull request #4985 from damianavila/closebrackets
Enable autoCloseBrackets in CodeMirror by default.
2014-02-25 09:04:22 -08:00
Fernando Perez
371afec677 Merge pull request #5112 from minrk/completion-band-aid
Band-aid for completion in the notebook: not the ideal solution, but will have to do the job for now so that typing while completing works.

closes #4860
2014-02-21 18:08:19 -08:00
Brian E. Granger
edb8d68331 Merge pull request #5132 from minrk/oops-pdf-transform
remove application/pdf->pdf transform in javascript
2014-02-21 16:28:12 -08:00
Jonathan Frederic
28423647a2 Updated require references to point to new files 2014-02-21 16:25:52 -08:00
Jonathan Frederic
e0ba52c802 Moved widget files into static/widgets/*
Since they do not depend on anything ntoebook related
2014-02-21 16:25:52 -08:00
Min RK
612acd2e08 Merge pull request #5170 from jdfreder/widget-throttle-trait
Added msg_throttle sync=True widget traitlet
2014-02-21 15:32:10 -08:00
Brian E. Granger
eda4569099 Merge pull request #5037 from jdfreder/ff-widget-align
FF Fix: alignment and scale of text widget
2014-02-21 12:37:40 -08:00
MinRK
37cb0fbdee remove websocket url
websockets should follow the kernel URL

(normal behavior is unchanged, only unused configurability is removed)
2014-02-20 22:54:36 -08:00
Brian E. Granger
db4960769b Merge pull request #5100 from minrk/base_kernel_url
remove base_kernel_url
2014-02-20 17:00:38 -08:00
Jonathan Frederic
0e56051a01 Added parentheses to emphasize order of op. 2014-02-20 08:48:05 -08:00
Jonathan Frederic
0eebd9e05b Added msg_throttle sync=True widget traitlet 2014-02-20 08:41:05 -08:00
Jonathan Frederic
d1d863af86 fab css 2014-02-19 14:14:14 -08:00
Jonathan Frederic
3b8beec541 Added a class for RadioButtons container
with appropriate top padding...
2014-02-19 14:14:14 -08:00
Jonathan Frederic
033ea6d88c Added bottom margin to text widget 2014-02-19 14:14:14 -08:00
Paul Ivanov
efc01b8854 remove append_json reference
we never had such a method
2014-02-18 23:41:10 -08:00
Paul Ivanov
7b5c834649 fix IPython typo, closes #5155 2014-02-18 21:10:25 -08:00
Jonathan Frederic
a7fb5e1e55 Merge pull request #5114 from minrk/empty-button
use non-breaking space for button with no description
2014-02-17 08:37:08 -08:00
MinRK
ea8896399b remove application/pdf->pdf transform in javascript
We have the old transforms because they were added before we realized it was a bad idea. We should not add new ones.
2014-02-15 13:21:37 -08:00
Thomas Kluyver
d6986cf4ec Merge pull request #4778 from minrk/install-nbextensions
add APIs for installing notebook extensions
2014-02-14 15:21:15 -08:00
MinRK
59d3a8ff5f handle empty string in ToggleButtonsWidget 2014-02-13 11:08:45 -08:00
MinRK
9c452998ea add utils.escape_html 2014-02-13 11:08:44 -08:00
MinRK
0eff2bb651 handle space-only strings, not just zero-length 2014-02-13 11:08:44 -08:00
MinRK
c50096334c use non-breaking space for button with no description
to preserve button's size

reverses some inappropriate replacements of .html with .text.

closes #5113
2014-02-13 11:08:44 -08:00
MinRK
fd346d1790 fix remove event in KeyboardManager.register_events
only call enable on remove when focused.

fixes a bug where command mode could be entered inappropriately
when non-focused elements are removed from the page
(see first `@interact` example).
2014-02-13 10:51:33 -08:00
MinRK
a1e263785c band-aid for completion
Unlike @Carreau's attempt at using proper CodeMirror completion,
this is just a band-aid to get the existing completion back to working for 2.0.

This adds a keypress handler on the completer,
which then calls insert with the charCode of the key press event,
replacing the final `elif` branch of the keydown handler.

This cannot be done with keydown,
since keydown doesn't know what character is incoming,
only the hardware key that is struck.
2014-02-12 17:21:40 -08:00
MinRK
a184724bdb remove base_kernel_url 2014-02-11 21:26:10 -08:00
Brian E. Granger
24c27ce5e5 Merge pull request #5059 from jdfreder/widgets-patch-fix
Fix incorrect `Patch` logic in widget code
2014-02-11 14:51:53 -08:00