Commit Graph

321 Commits

Author SHA1 Message Date
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
Brian Granger
276e5db516 Added placeholder text for TextCell. 2011-07-20 20:42:31 -07:00
Brian Granger
6729e2f4f4 Fixing selection and focus logic. 2011-07-20 20:42:31 -07:00
Brian Granger
94647cfbb1 Adding shift-enter support. 2011-07-20 20:42:31 -07:00
Brian Granger
360b6bf6ab Initial draft of HTML5/JS/CSS3 notebook. 2011-07-20 20:42:31 -07:00
MinRK
a79bd91af7 cleanup removed ipythonx,ipython-wx from setup.py 2011-07-18 14:43:16 -07:00
MinRK
b26c59e66f don't install deathrow 2011-07-13 23:55:31 -05:00
Min RK
393557bb3d Merge pull request #574 from jstenar/getcwdu
always use getcwdu instead of getcwd
2011-07-13 15:29:19 -07:00
Jörgen Stenarson
eea358698b 2011-07-12 19:19:38 +02:00
MinRK
5fcef9cac3 update gitignore to exclude dist and zipped man pages
These are files generated when building releases, that should not be tracked.
2011-07-05 17:25:05 -07:00
Christoph Gohlke
ec560ae17b Windows install fixes
* Make Start menu item include Python version and bit-ness (prevents clobbering)
* don't ask setuptools to install pyreadline on 64b Windows, due to pyreadline bug #787574
2011-07-04 13:21:06 -07:00
Thomas Kluyver
821c9609c0 Remove unused configobj and validate libraries from externals. 2011-06-27 21:36:40 +01:00
MinRK
4166074803 Merge branch 'winsetup' (PR #536)
introduces install dependency of setuptools on Windows

This is a temporary fix, and the setuptools dependency should
be removed in 0.12.

closes gh-536
closes gh-351
closes gh-369
2011-06-24 16:54:47 -07:00
MinRK
0332489792 'install' depends on setuptools on Windows 2011-06-24 12:14:36 -07:00
MinRK
76a5fa2456 Merge branch 'newapp'
closes gh-503
closes gh-454
closes gh-79
closes gh-456
closes gh-451
2011-06-20 20:47:08 -07:00
MinRK
34b5f30a9a update zmq dependency to 2.1.4 2011-06-20 16:40:22 -07:00