Commit Graph

3950 Commits

Author SHA1 Message Date
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
d5e112dce0 Merge pull request #18 from jdfreder/modal-rewrite
Implemented whiteboard logic
2014-02-28 14:22:05 -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
Thomas Kluyver
0059c317c3 Merge pull request #5216 from minrk/notebook-dir-cli
fixup positional arg handling in notebook app
2014-02-27 15:13:37 -08:00
Min RK
4038421da6 Merge pull request #5221 from jdfreder/ctuple
Change widget children List to Tuple.
2014-02-26 20:42:01 -08:00
Thomas Kluyver
1d869298fb Merge pull request #5231 from minrk/rename-base-url
don't forget base_url when updating address bar in rename
2014-02-26 15:05:13 -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
72625c478f Merge pull request #16 from minrk/more-ctuple
don't validate ContainerWidget.children
2014-02-26 08:40:16 -08:00
MinRK
d8b6a1a0ba don't validate ContainerWidget.children
just use a plain Tuple, so we don't have to define a new Trait
2014-02-25 19:08:43 -08:00
Jonathan Frederic
4b35f84c15 Merge pull request #15 from minrk/ctuple
fix validation of ContainerWidget.children
2014-02-25 17:06:59 -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
MinRK
cc1ba8b1f7 remove incorrect is instance check in children_changed 2014-02-25 15:00:48 -08:00
MinRK
c89ec19fca don't check shape of ContainerWidget.children 2014-02-25 14:37:12 -08:00
Jonathan Frederic
7855de2f13 s/CTuple/Tuple 2014-02-25 13:50:58 -08:00
Jonathan Frederic
dedbc3b0e1 Changed children list to CTuple.
Also removed some unused refences in the widget code
and added support for tuples in the pack/unpack code.
2014-02-25 09:46:27 -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
MinRK
bb7f27541f write config instead of direct assignment from the command-line
Gross.
2014-02-24 15:48:43 -08:00
MinRK
6e09314027 fixup positional arg parsing in notebook app
- `ipnb .` triggers override of sub-config, even when the parent isn't changed
- `ipnb /path/nb.ipynb` sets notebook_dir to `/path`
2014-02-24 15:42:49 -08:00
Min RK
c73acb300f Merge pull request #5200 from Carreau/jinja-no-cache
Allow to pass option to jinja env
2014-02-23 22:15:29 -08:00
Matthias BUSSONNIER
816df5bb34 Allow to pass option to jinja env
Mainly to pass cache_size=-1 while developping not to cache templates
2014-02-23 23:28:57 +01: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
84c9b8e041 Merge pull request #5181 from minrk/gnureadline
use gnureadline on OS X
2014-02-21 16:34:50 -08:00
Brian E. Granger
708c30c912 Merge pull request #5136 from minrk/interact-default
set default value from signature defaults in interact
2014-02-21 16:28:52 -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
Brian E. Granger
7a35e2a0be Merge pull request #5116 from minrk/os_path
reorganize who knows what about paths
2014-02-21 16:27:05 -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
MinRK
386274488d don't create notebook_dir if it doesn't exist 2014-02-21 13:22:57 -08:00
MinRK
d37780c6a6 use config instead of App.instance to propagate notebook_dir
Should behave more logically (I hope).
2014-02-21 13:22:57 -08:00
MinRK
f9e8824fef use NotebookManager APIs in nbconvert handler 2014-02-21 13:22:56 -08:00
MinRK
cb25736a24 reorganize who knows what about paths
- add NotebookApp.notebook_dir
- add KernelManager.root_dir
- remove NotebookManager.notebook_dir, move to FileNBM.notebook_dir

Default value for KM.root_dir and fNBM.notebook_dir is NotebookApp.notebook_dir, but they can be configured separately.

SessionManager passes the API path to KernelManager,
which is responsible for turning it into the kernel's cwd.
2014-02-21 13:22:56 -08:00