Commit Graph

167 Commits

Author SHA1 Message Date
Brian E. Granger
60a89580ea Help section implemented and working. 2011-07-20 20:42:35 -07:00
Brian E. Granger
a0c36fbe7a Controls in cell section have a solid layout. 2011-07-20 20:42:35 -07:00
Brian Granger
b4015cd010 Minor fixes to fonts and spacing. 2011-07-20 20:42:35 -07:00
Brian E. Granger
3db8ae6073 Initial draft of panel section and the cell section working. 2011-07-20 20:42:35 -07:00
Brian E. Granger
4db2677391 Improving the scrolling model. 2011-07-20 20:42:35 -07:00
Brian E. Granger
c538958f71 Left panel is now working. 2011-07-20 20:42:35 -07:00
Brian E. Granger
3c07de2208 More accuract height calculations for the pager collapse/expand. 2011-07-20 20:42:35 -07:00
Brian E. Granger
4e0dd9ddbb Pager is working again. 2011-07-20 20:42:35 -07:00
Brian E. Granger
9efad482a9 More work updating the notebook to use dynamics resizing. 2011-07-20 20:42:35 -07:00
Brian E. Granger
76d7a1fdac Adding note about vbox related scroll bugs. 2011-07-20 20:42:35 -07:00
Brian Granger
122b449011 Updating jQuery to 1.6.2 and jQuery UI to 1.8.14.
I have also added a focus.html files for testing focus related
events.
2011-07-20 20:42:35 -07:00
Brian E. Granger
b46517689b Refactoring pager into its own class. 2011-07-20 20:42:35 -07:00
Brian E. Granger
68091df3f1 Initial payload handling.
* Syntax highlighting fixed for things like "math?".
* Basic pager is working.
2011-07-20 20:42:35 -07:00
Brian E. Granger
d99e820c94 Starting to refactor the notebook layout 2011-07-20 20:42:35 -07:00
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
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