Commit Graph

358 Commits

Author SHA1 Message Date
Brian E. Granger
64273fa929 Autocompletion working with CTRL-SPACE. 2011-07-26 16:45:46 -07:00
Brian Granger
e09906c1a8 Added complete method of JS kernel object. 2011-07-26 14:22:41 -07:00
Brian Granger
f24bd4f635 Colors now working in tracebacks and the pager.
For now I am just converting ANSI color escape sequences to HTML
<span> tags that have css classes for coloring.
2011-07-22 22:28:36 -07:00
Brian E. Granger
4558e8af5f Prevent shift-enter from propagating and performing default. 2011-07-22 17:18:56 -07:00
Brian E. Granger
239b087e8f Updating font-sizing to use the YUI protocol. 2011-07-22 17:07:35 -07:00
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.
2011-07-22 16:04:54 -07:00
Brian E. Granger
5fb6787570 Work on save widget, kernel status widget and notebook section. 2011-07-22 11:20:29 -07:00
Brian E. Granger
41e20d3f3e Minors fixes and initial work on save widget.
* Fixed width of buttons in left panel.
* Started to create a save widget for the header.
2011-07-20 20:42:35 -07:00
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
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