Brian E. Granger
861a481f29
Actually kill old kernels upon restart.
2011-07-20 20:42:35 -07:00
Brian E. Granger
ed3a348817
Using $.proxy to clean up callbacks.
2011-07-20 20:42:35 -07:00
Brian E. Granger
215fbc4a29
Implemented module and namespace pattern in js notebook.
2011-07-20 20:42:34 -07:00
Brian E. Granger
d9cf4fa390
Updating main notebook template to use split scripts.
2011-07-20 20:42:34 -07:00
Brian E. Granger
1fd4434be4
Splitting notebook.js into muliple files for development ease.
2011-07-20 20:42:34 -07:00
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.
2011-07-20 20:42:34 -07:00
Brian E. Granger
47ca4892b1
More work on updating the notebook zmq forwarding.
2011-07-20 20:42:34 -07:00
Brian E. Granger
60a21ecc14
Work to adapt routers to new Session message protocol.
2011-07-20 20:42:34 -07:00
Brian E. Granger
a66bf72d2b
Notebook app debugging.
...
* Logging is now working with a default of INFO.
* Other misc bug fixes.
2011-07-20 20:42:34 -07:00
Brian E. Granger
d04eb09f2e
Refactoring the notebook app to support the new config system.
2011-07-20 20:42:34 -07:00
Brian E. Granger
52b29af5bd
Refactored htmlnotebook session and kernel manager.
...
* The KernelManager now manages multiple kernels with a uniform
API.
* The SessionManager now manages the full set of channels+streams
and the IPython.zmq.session.Session object for a single kernel.
2011-07-20 20:42:34 -07:00
Brian E. Granger
ff6d76c9e5
Renaming NotebookApplication to NotebookWebApplication.
2011-07-20 20:42:34 -07:00
Brian E. Granger
1140eeb679
Initial reorg of files complete.
...
I have moved things around to get ready for making the notebook
a full blown app, but have not actually made it an app. That is
next.
2011-07-20 20:42:34 -07:00
Brian E. Granger
29bd45d3d5
Fixing import statments in handlers and notebookapp.
2011-07-20 20:42:34 -07:00
Brian E. Granger
6e2fd5206e
Creating files to new notebook app.
2011-07-20 20:42:34 -07:00
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.
2011-07-20 20:42:33 -07:00
Brian Granger
a91129b49a
Better handling of up/down arrows for CodeCells.
2011-07-20 20:42:33 -07:00
Brian Granger
6a8c7da009
CodeMirror code editing added.
...
* codemirror2 repo has been added to IPython.
* Custom coloring used to match the qtconsole.
2011-07-20 20:42:33 -07:00
Brian Granger
2f9f482a6c
General CSS cleanup.
...
* Created layout.css for common layout related mixins.
* monospace is the default font for now.
2011-07-20 20:42:33 -07:00
Brian Granger
c7dbb124f2
Updating notebook examples, and notebook js/html.
2011-07-20 20:42:33 -07:00
Brian Granger
0dd637b4d5
Added note about tornado version to main script.
2011-07-20 20:42:33 -07:00
Brian Granger
a24e75c2a2
Adding logic to look for CDN version of MathJax and fallback to local.
2011-07-20 20:42:33 -07:00
Brian Granger
36aafb3b86
Fine tuning of notebook styles.
...
* Padding added to L/R of notebook div (40px).
* Margin added to T/B of cells (15px).
* Margin added to T of output div (15px).
* More elements using border-box layout mode.
2011-07-20 20:42:33 -07:00
Brian Granger
1cae7230d9
Shift-Enter only selects the next cell if it is a CodeCell.
2011-07-20 20:42:33 -07:00
MinRK
f7a3abb023
include html frontend in packages/package_data
...
chmod +x ipython-notebook script
2011-07-20 20:42:33 -07:00
Brian Granger
9edf46f9dc
Cells call grow by hand when they reload from JSON.
2011-07-20 20:42:33 -07:00
Brian Granger
cc4a8cff40
Added basic styling to text cells.
2011-07-20 20:42:33 -07:00
Brian Granger
680bcc4825
Basic exception display in the notebook is working.
2011-07-20 20:42:33 -07:00
Brian Granger
3b5f4b3dbe
Fixes to the latex rendering by adjusting the MathJax config.
2011-07-20 20:42:32 -07:00
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.
2011-07-20 20:42:32 -07:00
Brian Granger
6e36522cdf
Initial latex printing for sympy and fixes to autogrow.
2011-07-20 20:42:32 -07:00
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"
2011-07-20 20:42:32 -07:00
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.
2011-07-20 20:42:32 -07:00
Brian Granger
bba15fb958
Further font adjustments to the notebook.
...
* Using Fernando's recommended monospaced font list.
* Increased tool/tab menus to 10 pt.
2011-07-20 20:42:32 -07:00
Brian Granger
ffc2dffeca
Tweaking and cleanup of notebook.css.
...
* Adjusted font sizes for improved readability.
* Got rid of unused css attributes and styles.
* Changed font of Title to Verdana.
2011-07-20 20:42:32 -07:00
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.
2011-07-20 20:42:32 -07:00
Brian Granger
a5c3132665
Status monitoring added to notebook.
...
* Busy == red
* Idle == gray
* Restarting == black
2011-07-20 20:42:32 -07:00
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.
2011-07-20 20:42:32 -07:00
Brian Granger
a589310431
Interrupt and restart work for kernels.
2011-07-20 20:42:32 -07:00
Brian Granger
bb7e0bff27
Minor changes to notebook css.
2011-07-20 20:42:32 -07:00
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.
2011-07-20 20:42:32 -07:00
Brian Granger
00b857165e
Fixing main toolbar area and cleaning up jquery themes.
2011-07-20 20:42:32 -07:00
Brian Granger
f45f35ec2e
Added message to help users open notebook.
2011-07-20 20:42:32 -07:00
Brian Granger
d0f883af9d
Initial template for notebook browser.
2011-07-20 20:42:32 -07:00
Brian Granger
910d129f14
Server side of file based notebook store implemented.
2011-07-20 20:42:32 -07:00
Brian Granger
3ed9c3371c
Make the main notebook div auto scroll.
2011-07-20 20:42:31 -07:00
Brian Granger
96cb3a8982
Initial reply handling implemented along with css fixes.
2011-07-20 20:42:31 -07:00
Brian Granger
17d899d38f
Basic server for htmlnotebook working.
2011-07-20 20:42:31 -07:00
Brian Granger
a2aef63d09
Work on the server side of the html notebook.
2011-07-20 20:42:31 -07:00
Brian Granger
f44f537ee4
Adding preventDefault to shift-up/down events.
2011-07-20 20:42:31 -07:00