Brian E. Granger
1293556dde
Double clicking on the end space will insert a new cell.
15 years ago
Brian E. Granger
1d43249604
Adding page break logic to the print css.
...
* I have added page-break-inside logic to div.input and
div.output_area.
* Fixed a bug in CodeCell that was putting the output_area class
on the wrong div.
15 years ago
Brian E. Granger
69d2e18f7a
Merge branch 'htmlnotebook_publish' of https://github.com/stefanv/ipython into stefanv-htmlnotebook_publish
15 years ago
Brian E. Granger
b5b4cf260f
Modifying CodeMirror focus hack to work better.
...
I had removed a text area focus event earlier today and that
broke the . key. We are still having problems with CodeMirror
elements gaining focus, but this seems to fix the issue.
15 years ago
Stefan van der Walt
823124215c
Refactor static printing.
15 years ago
Brian E. Granger
cff986a539
Removed HTMLCell from UI and added better placeholder logic.
15 years ago
Brian E. Granger
0f3bc468e3
Better alert message if no WebSockets are detected.
15 years ago
Brian E. Granger
e08bdc3d6f
Better WebSocket detection added.
15 years ago
Brian E. Granger
164ef7c9cb
Adding code to handle MozWebSocket for FF 6.
15 years ago
Brian E. Granger
e176318797
More review changes.
...
* Favicon.ico is served.
* Test suit now passes.
* Help links work for for me.
* Other changes made to address inline comments.
* The printing of long lines is an extremely subtle issue and I will open an issue for it.
* zmqws.py is completely gone so the naked print is not an issue.
* ipython-notebook removed from scripts.
* Updated copyright and authors of files.
* Fixed missing docstrings in IPython.nbformat.
15 years ago
Brian E. Granger
63a148fad5
Don't scroll to bottom when last cell is selected.
15 years ago
Stefan van der Walt
49ad421c8b
htmlnotebook: Suppress cell boundary when publishing.
15 years ago
Stefan van der Walt
201999642f
Implement static publishing of HTML notebook.
15 years ago
Brian E. Granger
1271cfcfcd
Removing old CodeMirror version.
15 years ago
Brian E. Granger
dfac7eca2b
WebSocket url is now passed to browser when a kernel is started.
15 years ago
Brian E. Granger
726f8c1780
Pager is not activated if the pager text is empty.
...
* Things like asdf.*? used to open the pager even though there
was nothing to show.
15 years ago
Brian E. Granger
bf8ba0889e
Code cell gets focused after "To Code" is triggered.
15 years ago
Brian E. Granger
dcd25caf9a
Adding additional whitespace at botton of notebook for TAB comp.
15 years ago
Brian E. Granger
0790979100
Fixing tab completion edge cases.
15 years ago
Brian E. Granger
60147f495f
A single tab-completion match is now automatically selected.
15 years ago
Brian E. Granger
e445ad1796
Fixing latex rendering bug.
15 years ago
Brian E. Granger
75c54c887e
Notebook id removed from the notebook format.
15 years ago
Brian E. Granger
3d7d0f8b0b
Added a notebook dirty flag that is used when exiting page.
15 years ago
Brian E. Granger
e911393836
Browser window title follows the name of the notebook.
15 years ago
Brian E. Granger
63de9cd719
Fixing bug that caused plots to not be saved.
...
CodeCell.append_mime_type needed a default element.
15 years ago
Brian E. Granger
a9d6f2eb2d
Major refactor of kernel connection management in the notebook.
...
* Full kernel heartbeating is working.
* Connections between the notebook and server and now created
a new each time there is a WebSocket connection. Each channel is
also handled separately. This dramatically simplifies the
server code and makes for a more scalable system.
15 years ago
Brian E. Granger
b264e21a6d
Clear all output is implemented.
15 years ago
Brian E. Granger
24a3464921
Disabling auto-save at exit.
15 years ago
Brian E. Granger
058c0b4767
HTML output cells are now styled with the rendered_html class.
15 years ago
Brian E. Granger
c72b41883f
Adding tracebacks, evalue and etype to the nbformat and notebook.
15 years ago
Brian E. Granger
0c3bba9641
Adding time delay to show the notebook saving more clearly.
15 years ago
Brian E. Granger
1abacb4fce
HTML/Markdown cells no longer saved their rendered output.
15 years ago
Brian E. Granger
0b5b3ed341
Added collapsed field to the code cell.
15 years ago
Brian E. Granger
0529d43ae7
Fixing padding of output cells.
15 years ago
Brian E. Granger
c2ce42121b
%loadpy works in the notebook and bug with inline plotting fixed.
15 years ago
Brian E. Granger
3db421fb73
Autoindentation fixed and enabled by default.
15 years ago
Brian E. Granger
0db7ab16a3
Finishing display system work.
...
* Added image/jpeg MIME type to notebook format, the core display
logic and the notebook.
* Finished HTML, SVG, Image, Math, Javascript, JSON classes.
15 years ago
Brian E. Granger
3ad866c73d
Reducing/adjusting the padding of cells to make the notebook more
...
compact.
* Reduced padding between cells from 15px to 5px.
* Prompt width is now dynamic to grow/shrink as the prompt number
increases in width.
* Reduced padding between input and output from 15px to 5px.
15 years ago
Brian E. Granger
8a55d6bf22
Adding minor help strings for keyboard shortcuts.
15 years ago
Brian E. Granger
20adfc4ced
Updates to the css style of rendered html text cells.
15 years ago
Brian E. Granger
217616a505
Fixed text cell rendering bug.
15 years ago
Brian E. Granger
a70cbfc382
Implemented smart autoindenting.
15 years ago
Brian E. Granger
bc5dd6d359
Markdown cells are now saved and restored in notebooks.
15 years ago
Brian Granger
c56f76980e
Reordering Export button and renaming Export->Export As
15 years ago
Brian Granger
f90b5761a2
Refactoring of text/markdown/rst/html cells.
15 years ago
Brian E. Granger
81a1099f87
Starting work on a Markdown cell.
15 years ago
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.
15 years ago
Brian E. Granger
9964704b73
New HTMl cell working with CodeMirror editing.
15 years ago
Brian E. Granger
a003af7977
Starting to rename text cell to html cell.
15 years ago
Brian E. Granger
875e7da94b
Added saving and loading of output of all types.
15 years ago
Brian E. Granger
188e6271e1
Using beforeunload to save at exit and kill the kernel.
15 years ago
Brian E. Granger
a0cbccaa03
Adding kernel/notebook associations.
15 years ago
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.
15 years ago
Brian E. Granger
458c48b229
File upload/import working from notebook browser.
15 years ago
Brian E. Granger
e0cc1a6c48
Implemented delete functionality in nb browser.
...
* Dialog confirms the notebook delete.
* Notebook element is removed from list upon deletion.
15 years ago
Brian E. Granger
c106630a2f
Implemented basic notebook browser and fixed numerous bugs.
15 years ago
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.
15 years ago
MinRK
8e64e13bbb
support html representations in the notebook frontend
...
html gets highest priority, because it is the native language
of the frontend.
15 years ago
Brian E. Granger
10963a588e
Adding Cell.grow back to fix bug.
...
This can go away once we star to use CodeMirror for TextCells.
15 years ago
Brian Granger
8207ecc086
Fixing minor resize bug on the Mac.
15 years ago
Brian E. Granger
cad3c34d62
Hacks to prevent FLOUC (flash of unformatted content).
15 years ago
Brian E. Granger
4f57e3c7fe
Fixes to terminal mode execution (ctrl-enter).
15 years ago
Brian E. Granger
b6b4107e59
Notebook now uses tab for autocompletion.
15 years ago
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.
15 years ago
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.
15 years ago
Brian E. Granger
64273fa929
Autocompletion working with CTRL-SPACE.
15 years ago
Brian Granger
e09906c1a8
Added complete method of JS kernel object.
15 years ago
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.
15 years ago
Brian E. Granger
4558e8af5f
Prevent shift-enter from propagating and performing default.
15 years ago
Brian E. Granger
239b087e8f
Updating font-sizing to use the YUI protocol.
15 years ago
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.
15 years ago
Brian E. Granger
5fb6787570
Work on save widget, kernel status widget and notebook section.
15 years ago
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.
15 years ago
Brian E. Granger
60a89580ea
Help section implemented and working.
15 years ago
Brian E. Granger
a0c36fbe7a
Controls in cell section have a solid layout.
15 years ago
Brian Granger
b4015cd010
Minor fixes to fonts and spacing.
15 years ago
Brian E. Granger
3db8ae6073
Initial draft of panel section and the cell section working.
15 years ago
Brian E. Granger
4db2677391
Improving the scrolling model.
15 years ago
Brian E. Granger
c538958f71
Left panel is now working.
15 years ago
Brian E. Granger
3c07de2208
More accuract height calculations for the pager collapse/expand.
15 years ago
Brian E. Granger
4e0dd9ddbb
Pager is working again.
15 years ago
Brian E. Granger
9efad482a9
More work updating the notebook to use dynamics resizing.
15 years ago
Brian E. Granger
76d7a1fdac
Adding note about vbox related scroll bugs.
15 years ago
Brian E. Granger
b46517689b
Refactoring pager into its own class.
15 years ago
Brian E. Granger
68091df3f1
Initial payload handling.
...
* Syntax highlighting fixed for things like "math?".
* Basic pager is working.
15 years ago
Brian E. Granger
d99e820c94
Starting to refactor the notebook layout
15 years ago
Brian E. Granger
ed3a348817
Using $.proxy to clean up callbacks.
15 years ago
Brian E. Granger
215fbc4a29
Implemented module and namespace pattern in js notebook.
15 years ago
Brian E. Granger
1fd4434be4
Splitting notebook.js into muliple files for development ease.
15 years ago
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.
15 years ago
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.
15 years ago
Brian Granger
a91129b49a
Better handling of up/down arrows for CodeCells.
15 years ago
Brian Granger
6a8c7da009
CodeMirror code editing added.
...
* codemirror2 repo has been added to IPython.
* Custom coloring used to match the qtconsole.
15 years ago
Brian Granger
2f9f482a6c
General CSS cleanup.
...
* Created layout.css for common layout related mixins.
* monospace is the default font for now.
15 years ago
Brian Granger
c7dbb124f2
Updating notebook examples, and notebook js/html.
15 years ago
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.
15 years ago
Brian Granger
1cae7230d9
Shift-Enter only selects the next cell if it is a CodeCell.
15 years ago
Brian Granger
9edf46f9dc
Cells call grow by hand when they reload from JSON.
15 years ago
Brian Granger
cc4a8cff40
Added basic styling to text cells.
15 years ago
Brian Granger
680bcc4825
Basic exception display in the notebook is working.
15 years ago
Brian Granger
3b5f4b3dbe
Fixes to the latex rendering by adjusting the MathJax config.
15 years ago
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.
15 years ago
Brian Granger
6e36522cdf
Initial latex printing for sympy and fixes to autogrow.
15 years ago
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"
15 years ago
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.
15 years ago
Brian Granger
bba15fb958
Further font adjustments to the notebook.
...
* Using Fernando's recommended monospaced font list.
* Increased tool/tab menus to 10 pt.
15 years ago
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.
15 years ago
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.
15 years ago
Brian Granger
a5c3132665
Status monitoring added to notebook.
...
* Busy == red
* Idle == gray
* Restarting == black
15 years ago
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.
15 years ago
Brian Granger
a589310431
Interrupt and restart work for kernels.
15 years ago
Brian Granger
bb7e0bff27
Minor changes to notebook css.
15 years ago
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.
15 years ago
Brian Granger
00b857165e
Fixing main toolbar area and cleaning up jquery themes.
15 years ago
Brian Granger
910d129f14
Server side of file based notebook store implemented.
15 years ago
Brian Granger
3ed9c3371c
Make the main notebook div auto scroll.
15 years ago
Brian Granger
96cb3a8982
Initial reply handling implemented along with css fixes.
15 years ago
Brian Granger
a2aef63d09
Work on the server side of the html notebook.
15 years ago
Brian Granger
f44f537ee4
Adding preventDefault to shift-up/down events.
15 years ago
Brian Granger
276e5db516
Added placeholder text for TextCell.
15 years ago
Brian Granger
6729e2f4f4
Fixing selection and focus logic.
15 years ago
Brian Granger
94647cfbb1
Adding shift-enter support.
15 years ago
Brian Granger
360b6bf6ab
Initial draft of HTML5/JS/CSS3 notebook.
15 years ago