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
MinRK
da2f38c24e
uniformity in ajax error handler arguments
...
send arguments on failed events
12 years ago
MinRK
3ad0072c9e
make sure to encode URL components for API requests
...
notebook names can have spaces, hashes, other special characters.
12 years ago
MinRK
54ccc1dbe4
store cell toolbar preset in notebook metadata
...
allows resume on load
12 years ago
Matthias BUSSONNIER
73820fb038
remove opts not to conflict with brian
...
do not add the option not to select each cell in a row when buildogn the
notebook at load time.
12 years ago
Matthias BUSSONNIER
d6afb79da0
fix wrong default
12 years ago
Matthias BUSSONNIER
048ccde41b
get rid of most slowdown at notebook loading.
...
1) Do not setOption('mode',new_mode) on CM if new and old mode are the
same. It triggert **a lot** of calculation of bounding box in the
end.
2) Do **not** select cell when loading the notebook it triggers
**a lot** of CM even that check visible things and so on and so
forth. So add a option to add_cell_at_index not to select it
3) jQuery $.attr has some magics, but has a slight overhead on
real native ELEM.setAttribute DOM method. Seem slight improvement
when loads of PNGs on one page
12 years ago
Min RK
bc0dc279f1
Merge pull request #4303 from ipython/multidir
...
Add multidirectory support for the Notebook.
Major change to URL schemes in the notebook server,
documented in [IPEP 16](https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping ).
12 years ago
Paul Ivanov
8b26933af5
Merge pull request #4378 from minrk/split-below
...
split adds new cell above, rather than below
12 years ago
MinRK
50665831bd
update copy API in js
12 years ago
MinRK
0558ec4ce0
Cells shouldn't know about Sessions
12 years ago
MinRK
d1a36fe4c0
use 'id' for checkpoint ID key
...
rather than redundant checkpoint.checkpoint_id
12 years ago
MinRK
e16a5807c7
fixup bad rebase
12 years ago
MinRK
a7f297f8f3
save before download-as
...
uses `async : false`
closes #852
download-as-py still unavailable.
12 years ago
MinRK
8b94ee2b47
use `async : false` to avoid pop-up blocker on New / Copy notebook
12 years ago
MinRK
b33ffa7068
update upload and copy
...
adds 'notebook.ipynb/copy' url handler
because we were putting too many things in a single POST handler.
12 years ago
MinRK
4e12521082
fix dashboard upload
12 years ago
MinRK
40f577b538
add utils.url_path_join
...
javascript equivalent of Python-side function.
12 years ago
Zachary Sailer
470595f9e7
handle path separators with os.sep and add tests
...
Added more tests to the notebook manager to check for the correct
path separators on different operating system. Fixed the get_path
method.
12 years ago
Zachary Sailer
1f04b48725
Renaming fixed
12 years ago
Zachary Sailer
f3af343f4f
Change new/copy URLS to POST requests
12 years ago