Brian Granger
f90b5761a2
Refactoring of text/markdown/rst/html cells.
2011-08-09 11:37:14 -07:00
Brian E. Granger
81a1099f87
Starting work on a Markdown cell.
2011-08-09 10:05:20 -07:00
Brian E. Granger
b62857f151
Fixing HTML cell syntax highlighting.
2011-08-08 14:33:48 -07:00
Brian E. Granger
b7bcdabc9a
Updating CodeMirror to v 2.12.
...
For now I am keeping the old codemirror2 directory in here until
we finish debugging the new version.
2011-08-08 14:03:36 -07:00
Brian E. Granger
9964704b73
New HTMl cell working with CodeMirror editing.
2011-08-08 11:12:11 -07:00
Brian E. Granger
a003af7977
Starting to rename text cell to html cell.
2011-08-08 08:44:51 -07:00
Brian E. Granger
875e7da94b
Added saving and loading of output of all types.
2011-08-07 20:38:51 -07:00
Brian E. Granger
188e6271e1
Using beforeunload to save at exit and kill the kernel.
2011-08-07 12:26:33 -07:00
Brian E. Granger
8cf1812395
Fixed subtle bug in kernel restarting.
...
* Old routers were not being shutdown and removed.
* We were incorrectly associating the new kernel with the notebook
(we were using the *old* kernel_id for this).
* General clean ups in the kernel manager.
2011-08-07 11:17:54 -07:00
Brian E. Granger
a0cbccaa03
Adding kernel/notebook associations.
2011-08-06 21:33:55 -07:00
Brian E. Granger
ad84abcf36
Improvements to file uploaded, mime types and .py reader.
...
* The .py notebook reader now uses that ast module to split
a plain python file into blocks. These blocks become cells in
the notebook.
* Proper mime types are used for xml (application/xml), json
(application/json) and python (application/x-python).
* Other fixes to file uploading.
2011-08-06 17:47:18 -07:00
Brian E. Granger
458c48b229
File upload/import working from notebook browser.
2011-08-05 22:06:45 -07:00
Brian E. Granger
e0cc1a6c48
Implemented delete functionality in nb browser.
...
* Dialog confirms the notebook delete.
* Notebook element is removed from list upon deletion.
2011-08-05 11:04:43 -07:00
Brian E. Granger
c106630a2f
Implemented basic notebook browser and fixed numerous bugs.
2011-08-04 22:57:01 -07:00
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.
2011-08-04 13:55:04 -07:00
Brian E. Granger
4973135bf1
Fixing setupbase.py for nbformat package.
2011-08-01 09:56:42 -07:00
Brian E. Granger
e193e98ecd
Merge branch 'repr_html' of https://github.com/minrk/ipython into minrk-repr_html
2011-07-29 15:23:39 -07:00
MinRK
8e64e13bbb
support html representations in the notebook frontend
...
html gets highest priority, because it is the native language
of the frontend.
2011-07-29 11:04:04 -07:00
Brian E. Granger
59a9cd1777
Updates to basic notebook format.
...
* The format now handles multiple output blocks.
* XML now as worksheets, cells and outputs tags.
2011-07-29 10:15:22 -07:00
Brian E. Granger
10963a588e
Adding Cell.grow back to fix bug.
...
This can go away once we star to use CodeMirror for TextCells.
2011-07-28 09:17:03 -07:00
Brian Granger
8207ecc086
Fixing minor resize bug on the Mac.
2011-07-27 15:21:22 -07:00
Brian E. Granger
cad3c34d62
Hacks to prevent FLOUC (flash of unformatted content).
2011-07-27 15:09:23 -07:00
Brian E. Granger
4f57e3c7fe
Fixes to terminal mode execution (ctrl-enter).
2011-07-27 13:36:41 -07:00
Brian E. Granger
b6b4107e59
Notebook now uses tab for autocompletion.
2011-07-27 13:16:38 -07:00
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.
2011-07-27 09:16:36 -07:00
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.
2011-07-27 09:13:29 -07:00
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