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
Jonathan Frederic
a576a0c8a1
Fixed widget.js and notebook.js so IPython.notebook.widget_manager is created.
12 years ago
Jonathan Frederic
5d9dcfc39e
Added widget.js
12 years ago
Brian E. Granger
506ffe5adf
Adding sorting and better layout to the KB shortcuts.
12 years ago
Brian E. Granger
c888f9d3e4
Cleaning up console log messages.
12 years ago
Brian E. Granger
418f3e46f2
Reordering conditional.
12 years ago
Brian E. Granger
201217d847
Renaming execute methods.
12 years ago
Brian E. Granger
11493ca042
Don't always call focus_cell in Cell.command_mode.
...
The focus_cell should only be called when a user enters
command mode by pressing ESC. Calling focus_cell was causing
jumps when command mode was entered through a mouse click.
12 years ago
Brian E. Granger
89c410d19d
Cell splitting merging works with RawCell now.
12 years ago
Brian E. Granger
6c7196a99e
Cleanup of cell splitting.
12 years ago
Brian E. Granger
b3322fc2d5
Ongoing work on cell splitting.
12 years ago
Brian E. Granger
142b9a4b95
shift-enter should doesn't create a new cell at the bottom.
12 years ago
Brian E. Granger
8a8a03a4d3
Fixing delete/undelete logic.
12 years ago
Brian E. Granger
b2f8d17940
Changing a heading cell level should enter edit mode and set dirty
12 years ago
Brian E. Granger
9a3783e2c4
Fixing select when inserting cell using menu.
12 years ago
Brian E. Granger
a2ffedb0ff
Carefully manage rendered state in merge cell.
12 years ago
Brian E. Granger
761109e4b7
Add + for merge cell below and carefully manage split cell state.
12 years ago
Brian E. Granger
740b7aa21b
Split cell keyboard shortcut wired up. Merge markdown adds 2nd \n.
12 years ago
Brian E. Granger
23b88a9a24
Moving a cell focuses it after the move.
...
This way if you move a cell a long way, the noteobook div will
scroll with you.
12 years ago
Brian E. Granger
c1166ea98a
Lots of updates and changes.
...
* Cleaning up the code mirror event handlers.
* Adding logic to prevent calling Notebook.command_mode on cell
focusout.
* Fixing bugs.
12 years ago
Brian E. Granger
caffba142e
Adding keyboard manager logic.
...
This is currently very broken.
12 years ago
Brian E. Granger
c775800714
Removing manual focusing of notebook div.
12 years ago
Brian E. Granger
a37443710b
Binding to notebook div not document.
12 years ago
Brian E. Granger
d137535431
Don't bind notebook keyboard events to $(document).
...
Keyboard events were previously bound to $(document), which
caused problems with our command mode not allowing other
focused elements (dialogs, etc.) to manage their own keyboard
events. We now bind to the notebook element.
12 years ago
Brian E. Granger
40977e545b
Semi working version of basic dual mode UX.
...
As of this point there are lots of things that don't work, but
most of the basic dual mode interactions do work fine.
12 years ago
Brian E. Granger
2a530ff30d
More work on the dual mode UX.
12 years ago
Brian E. Granger
54088a0105
Adding new logic to cells.
12 years ago
Min RK
8be6c4b617
Merge pull request #4575 from minrk/encode_paths
...
make sure to encode URL components for API requests
12 years ago