Paul Ivanov
f41750ca6b
address PR feedback
12 years ago
Paul Ivanov
c28096f0c5
prevent saving of partially loaded notebooks
...
closes #5363
12 years ago
Jonathan Frederic
da334e782e
focus next cell on shift+enter
12 years ago
Brian E. Granger
1407b4347e
Merge pull request #5268 from ellisonbg/cmd-mode
...
Refactoring Notebook.command_mode
12 years ago
MinRK
54e1558c16
make trust notebook dialog a single paragraph
12 years ago
MinRK
8cd744db85
mention that Trust triggers reload
12 years ago
Brian E. Granger
4e0a2ee476
Make sure we are in command mode before we select a new cell.
12 years ago
MinRK
d5b0026cf1
trust via mark cells and save, rather than trust API request
12 years ago
MinRK
b5c8a51331
disable trust notebook menu item on trusted notebooks
12 years ago
MinRK
1ae689f30c
Add Trust Notebook to File menu
12 years ago
Brian E. Granger
6f4263dc74
Removing conditionals that are not needed.
12 years ago
Brian E. Granger
e374ca5ebb
Refactoring Notebook.command_mode.
12 years ago
Brian E. Granger
af7dd15181
Removing old keyboard handling from IPython.utils.
12 years ago
Jonathan Frederic
39d39d0ea6
s/trigger_edit_mode/edit_mode
12 years ago
Jonathan Frederic
4fdc99e111
Remove notebook load log succes
12 years ago
Jonathan Frederic
a6f883d7f2
Couple of whiteboard logic implementation misses
12 years ago
Jonathan Frederic
9451589e38
implemented whiteboard logic
12 years ago
Jonathan Frederic
c5fb037e41
Reorg index and focus_editor params on edit_mode func
12 years ago
Jonathan Frederic
048ca30b0c
Remove fixes that are implemented correct in new CM
12 years ago
Jonathan Frederic
b976804051
Moved edit_mode canceling logic back into cell.
12 years ago
Jonathan Frederic
ff37fb7a36
Standardized comments and removed last logs
12 years ago
Jonathan Frederic
64ae25508d
Removed change that is no longer needed
12 years ago
Jonathan Frederic
70086d352f
s/unfocus/blur
12 years ago
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
12 years ago
Jonathan Frederic
10d79a9102
Added cell unfocus event canceller API
12 years ago
Jonathan Frederic
6f7c502157
Fixed lots of bugs
...
Half overhaul of notebook focus events...
12 years ago
Jonathan Frederic
206d35a89e
DEBUG
...
Added lots of log calls and a couple small 'fixes' (attempts)
12 years ago
MinRK
e1e0b19a6a
s/base_project_url/base_url/
...
deprecate NotebookApp.base_project_url
12 years ago
MinRK
24703985e9
only add .ipynb if extension is not included
...
prevents .ipynb.ipynb double extension
12 years ago
MinRK
61b06a39e2
holy crap, semicolons
12 years ago
MinRK
13fc9022d9
various unicode fixes
...
- remove notebookPath, notebookName, and baseProjectUrl methods everywhere
- use base_project_url *attributes* instead
- we should never use escaped URLs except when making an actual request
Should fix issues with double-escaping
12 years ago
Brian E. Granger
af884b797f
Add edit/command mode indicator.
12 years ago
Brian E. Granger
2c5db865d4
Merge pull request #4974 from ivanov/better-paste
...
make paste focus the pasted cell
12 years ago
Min RK
003c5e8eda
Merge pull request #4971 from ellisonbg/testjs-fd
...
Fixing issues with js tests
12 years ago
Brian E. Granger
82a4538759
Notebook.delete should take no args.
12 years ago
Paul Ivanov
836fd887dc
make paste focuses the pasted cell
...
This is to make paste behave in the same manner that insert cell above
and below currently work (inserting a new item causes that item to
receive focus).
This solves a problem where, if a user pastes below a cell whose bottom
edge is below the current viewing area, they have no indication that any
action has occurred. The same applies for paste above a cell whose top
edge is occluded.
12 years ago
Brian E. Granger
aa71651468
Fixing issues with js tests.
...
* Closing old pages to prevent fd leaks.
* Making sure kernels are killed to prevent fd leaks.
* Moving towards deleting old notebooks (this is not done, but
this should be merged as is).
12 years ago
Brian E. Granger
bcd4209375
alt+enter should always insert below
12 years ago
Brian E. Granger
4c7ce61011
Don't enter edit mode when changing cell type and preserve renderd.
12 years ago
Brian E. Granger
7c65e96941
Simplified Cell menu items related to output.
12 years ago
Brian E. Granger
9538fb7d8f
Converting loops in *_all_output to $.map().
12 years ago
Brian E. Granger
54666e2e98
Cleaning up output management in code and menus.
12 years ago
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
12 years ago
Jonathan Frederic
5ed3a0ebc5
Simplify get_msg_cell function of notebook.js
12 years ago
Matthias BUSSONNIER
149867e74c
some $.html( -> $.text(
...
Thoses that are obvious and easy to fix.
we shoudl have I think a travis test that grep for .html( and return
less than 20 lines :-)
12 years ago
Jonathan Frederic
6871c8f9e0
Cherry pick of @jasongrout 's 2bc2f96.
...
Only merged changes to notebook and kernel... (see original comment below).
Separate the widget registry from the widget managers;
attach widget managers to kernels.
Yet to do: take care of clean-up when a kernel is deleted
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
bad85fb879
Remove O(N) cell by msg-id lookup
12 years ago
Jonathan Frederic
48eaebf683
Moved the logic to get a cell by message id into the notebook.js.
...
Also added more detail to the comments in the get output area function in widgets.js
12 years ago
Jonathan Frederic
8502b2c182
Remove init_widget_js, use require.js for everything
...
Updated examples
Fixed bug with message throttling
12 years ago
Jonathan Frederic
4c7357f4a4
Revert notebook.js to master
12 years ago