Brian E. Granger
b11824ef1b
Massive work on the notebook document format.
...
* Finished nbformat work and debugged the versioning API.
* Integrated the nbformat with the notebook. Save/New/Open/Export
are all now working.
15 years ago
Brian E. Granger
cad3c34d62
Hacks to prevent FLOUC (flash of unformatted content).
15 years ago
Brian E. Granger
4f57e3c7fe
Fixes to terminal mode execution (ctrl-enter).
15 years ago
Brian E. Granger
96be322070
Removing default input prompt number.
...
In a notebook setting being able to delete and add cells makes it
virtually impossible to correctly guess what the next input
prompt number should be. We now follow the convention that our
prompts look like "In [ ]:" before execution.
15 years ago
Brian E. Granger
5519c01de3
CTRL-ENTER now runs a cell in "terminal mode"
...
In this mode, a new cell is not created after the current cell
is run. Once the cell is run, the current input is cleared, so
it acts just like the terminal.
15 years ago
Brian E. Granger
64273fa929
Autocompletion working with CTRL-SPACE.
15 years ago
Brian Granger
e09906c1a8
Added complete method of JS kernel object.
15 years ago
Brian E. Granger
4558e8af5f
Prevent shift-enter from propagating and performing default.
15 years ago
Brian E. Granger
239b087e8f
Updating font-sizing to use the YUI protocol.
15 years ago
Brian E. Granger
27b5357678
Fixing execution related things.
...
* Extra enter on FF is fixed by hooking into CodeMirror's
onKeyEvent hook. We now have CodeMirror ignore shift-enter
completely as we handle it ourselves.
* The cell execution logic in notebook.js has been refactored and
the Run All/Selected buttons have been hooked up.
15 years ago
Brian E. Granger
5fb6787570
Work on save widget, kernel status widget and notebook section.
15 years ago
Brian Granger
b4015cd010
Minor fixes to fonts and spacing.
15 years ago
Brian E. Granger
3db8ae6073
Initial draft of panel section and the cell section working.
15 years ago
Brian E. Granger
4db2677391
Improving the scrolling model.
15 years ago
Brian E. Granger
c538958f71
Left panel is now working.
15 years ago
Brian E. Granger
3c07de2208
More accuract height calculations for the pager collapse/expand.
15 years ago
Brian E. Granger
4e0dd9ddbb
Pager is working again.
15 years ago
Brian E. Granger
9efad482a9
More work updating the notebook to use dynamics resizing.
15 years ago
Brian E. Granger
76d7a1fdac
Adding note about vbox related scroll bugs.
15 years ago
Brian E. Granger
b46517689b
Refactoring pager into its own class.
15 years ago
Brian E. Granger
68091df3f1
Initial payload handling.
...
* Syntax highlighting fixed for things like "math?".
* Basic pager is working.
15 years ago
Brian E. Granger
ed3a348817
Using $.proxy to clean up callbacks.
15 years ago
Brian E. Granger
215fbc4a29
Implemented module and namespace pattern in js notebook.
15 years ago
Brian E. Granger
1fd4434be4
Splitting notebook.js into muliple files for development ease.
15 years ago
Brian E. Granger
0c261d5466
Updating the notebook to work with the latex master.
...
* PNG figures are now used for matplotlib.
* NEW msg format is used where msg_type is in the header.
* Session is used for sending/recving.
15 years ago
Brian Granger
3c9e42586f
Much improved nagivation for the notebook cells.
...
* Up/Down arrow now used to navigate cells.
* For text cells, shift-enter renders, enter edits.
15 years ago
Brian Granger
a91129b49a
Better handling of up/down arrows for CodeCells.
15 years ago
Brian Granger
6a8c7da009
CodeMirror code editing added.
...
* codemirror2 repo has been added to IPython.
* Custom coloring used to match the qtconsole.
15 years ago
Brian Granger
2f9f482a6c
General CSS cleanup.
...
* Created layout.css for common layout related mixins.
* monospace is the default font for now.
15 years ago
Brian Granger
c7dbb124f2
Updating notebook examples, and notebook js/html.
15 years ago
Brian Granger
1cae7230d9
Shift-Enter only selects the next cell if it is a CodeCell.
15 years ago
Brian Granger
9edf46f9dc
Cells call grow by hand when they reload from JSON.
15 years ago
Brian Granger
680bcc4825
Basic exception display in the notebook is working.
15 years ago
Brian Granger
3b5f4b3dbe
Fixes to the latex rendering by adjusting the MathJax config.
15 years ago
Brian Granger
040a285de3
Refactoring of the output and display system.
...
* LaTeX rendering now works.
* Font's are reworked in the css style sheet.
* Testing on FF and Chrome.
15 years ago
Brian Granger
6e36522cdf
Initial latex printing for sympy and fixes to autogrow.
15 years ago
Brian Granger
005820c005
Basic notebook saving and loading.
...
* The logic in the server and javascript frontend is there for
a basic JSON notebook format with a .ipynb extension.
* To save a new notebook: "%notebook save filename.ipynb"
* To save a notebook that is already saved: "%notebook save"
* To load a notebook from the cwd: "notebook load filename.ipynb"
15 years ago
Brian Granger
b584914bfb
Work on the notebook's code cell.
...
* Cleaned up the js code for creating the code cell.
* Added a div around the input text area to allow the text area
to have a width of 100%.
* Added CodeCell.toJSON.
15 years ago
Brian Granger
d8ca0d5d5b
Fixes to notebook scrolling and layout.
...
We are now using the flexible box model, so the layout won't work
on IE9, but it already doesn't work on IE9 because of WS support.
15 years ago
Brian Granger
a5c3132665
Status monitoring added to notebook.
...
* Busy == red
* Idle == gray
* Restarting == black
15 years ago
Brian Granger
06a6f1b145
Cleaned up kernel action interface.
...
* Using POST rather than GET.
* Using simple URLs rather than a query string.
* Using a regexp to match the action.
15 years ago
Brian Granger
a589310431
Interrupt and restart work for kernels.
15 years ago
Brian Granger
49c970cddf
Different clients now share a single zmq session.
...
Previously, each client (browser window) would open its own set
of ZMQ sockets to a kernel. Now one master set of connections
to the kernel is created and all clients share those connections.
In some ways, this simplifies the URL design.
I have also made kernel_ids server-side created.
15 years ago
Brian Granger
00b857165e
Fixing main toolbar area and cleaning up jquery themes.
15 years ago
Brian Granger
910d129f14
Server side of file based notebook store implemented.
15 years ago
Brian Granger
96cb3a8982
Initial reply handling implemented along with css fixes.
15 years ago
Brian Granger
a2aef63d09
Work on the server side of the html notebook.
15 years ago
Brian Granger
f44f537ee4
Adding preventDefault to shift-up/down events.
15 years ago
Brian Granger
276e5db516
Added placeholder text for TextCell.
15 years ago
Brian Granger
6729e2f4f4
Fixing selection and focus logic.
15 years ago