Fernando Perez
986f2e7223
Merge pull request #893 from minrk/clearoutput
...
Adding clear_output to kernel and HTML notebook.
This enables the clearing of output during the execution of a cell. It can be used for simple forms of animation in the notebook.
15 years ago
MinRK
033c9d9848
Add tooltips to the notebook via 'title' attr.
...
All buttons, show/hide clickable areas, etc. should have some tooltip describing
what they do. There are jQuery plugins for enhanced tooltips, but this gets
the lightest version working.
closes #436
15 years ago
MinRK
24d37b6bcc
add channel-selection to clear_output
...
example notebook updated accordingly
15 years ago
Brian Granger
10deb3b744
Adding clear_output to kernel and HTML notebook.
15 years ago
Fernando Perez
9fa9f0b15f
Merge pull request #884 from fperez/nb-usability
...
Various Notebook usability fixes:
- add kernel restart dialog confirmation (it destroys the user session)
- add missing keybindings
- change language from 'terminal mode' to 'in-place execution' which is more descriptive
- adjust spacing/padding and colors slightly for readability and better use of space in small screens.
- add line numbering toggle to code cells. Triggered with C-m-l.
- show keybindings in monospaced font.
- add QuickHelp button that is always visible and at the top.
- add missing keybindings for kernel interrupt/restart from the kbd.
15 years ago
MinRK
8d139492ce
show_keyboard_shortcuts -> toggle_keyboard_shortcuts
...
Now multiple calls no longer show multiple instances of the shortcut dialog. Rather, clicking the quick help, or invoking `C-m h` will hide
the dialog if shown.
15 years ago
MinRK
53d10a61ab
fix quickhelp widget
...
Move header.js -> quickhelp.js, as it not longer acts on whole header.
15 years ago
Fernando Perez
77c62893bc
Keep kernel-related bindings together in code.
15 years ago
Fernando Perez
1a109765b8
Clean up accidentally introduced hard tabs in JS code.
15 years ago
Fernando Perez
e9d744f06c
Add quick help button: broken ATM, style and binding aren't working.
...
Help needed here, will discuss during pull request before merging.
15 years ago
Fernando Perez
6d0715988f
Change button labels in restart dialog to action words.
15 years ago
Fernando Perez
e852a86669
Add confirmation dialog to kernel restart action.
15 years ago
Fernando Perez
e41ba5a75c
Refactor line num. toggle into proper function, access via C-m-l.
...
This makes the keybinding consistent with the rest, updated help dialog.
15 years ago
Fernando Perez
e8326241eb
Add C-m-{'i', '.'} as keybindings for kernel interrupt/restart.
15 years ago
Fernando Perez
e00e604144
Add Ctrl-L as a way to toggle line-numbers for any individual code cell
15 years ago
Felix Werner
a4bec7e65d
Fixed testing of new notebook name before saving.
15 years ago
Felix Werner
f5b52442aa
Notify the user of errors when saving a notebook.
15 years ago
Felix Werner
a89d947322
Update document title and last_saved_name only after a successful save.
15 years ago
MinRK
52592d47b1
fix missing trailing comma in kernel.js
15 years ago
MinRK
4eb4926812
use ROUTER/DEALER sockets for stdin
...
stdin requests are now directed to the frontend that made the execution
request that called raw_input.
allow_stdin flag added to execution_request to indicate whether stdin_requests are allowed.
StdInNotImplementedError exception class added to IPython.core.error, and is raised if raw_input is called from execute requests where allow_input is undefined.
closes gh-673
15 years ago
MinRK
c022dca01a
small CSS adjustments in notebook
...
* add think border around input area
* change background instead of foreground on stderr
* only stderr/stdout are output_stream, general text (including streams) is output_text
* reduce vertical padding on stream output, per @fperez
15 years ago
MinRK
788d7e6348
allow stdout/stderr to have distinct css
...
make stderr output darkred
15 years ago
MinRK
a9d9a8b72c
support contiguous stream output in notebook
...
Consecutive messages to stdout or stderr will not be split
into separate divs, until a new message to different stream
arrives.
Appending will only occur when the latest output is the same
as the new one. Interleaving messages will still result in
multiple divs.
15 years ago
Brian Granger
b7ab64f304
fixConsole no longer trims the final text.
15 years ago
Brian E. Granger
98393e9a28
Merge branch 'enh/httpauth' of https://github.com/satra/ipython into satra-enh/httpauth
15 years ago
MinRK
d11ef986a4
authenticate Websockets with the session cookie
...
Now all Notebook connections are authenticated.
15 years ago
Brian E. Granger
8c76fcf71c
Fixing Ctrl-Enter on Firefox.
15 years ago
MinRK
549cf4ee2a
fix undefined 'session_id' member in kernel.js
15 years ago
Brian E. Granger
c6d030761e
Merge branch 'placeholder' of https://github.com/minrk/ipython into minrk-placeholder
15 years ago
MinRK
3aed0a0b94
use null char to start text cell placeholders
15 years ago
Brian E. Granger
acc81dfbee
Ctrl-Enter now does not delete input, but selects it.
15 years ago
Brian E. Granger
0b19dd7bfe
Temporary fix for placeholder related CM bug.
15 years ago
MinRK
ba1df9be55
underline keyboard shortcut letter on buttons
15 years ago
Fernando Perez
b8c1ab1ada
Fix above/below keybinding mismatch and rename api to use above/below
15 years ago
Stefan van der Walt
3a8811e115
Add code highlighting to markdown cells.
15 years ago
Stefan van der Walt
dfeb4342ed
Align colons in help dialog.
15 years ago
Brian E. Granger
d60edf973d
Changing prev/next keyboard shortcut to use p/n.
15 years ago
Brian E. Granger
b89d656a3c
Fixing console.log messages related to keyboard shortcuts.
15 years ago
Brian E. Granger
cf0c66fe4e
Adding keyboard shortcut help dialog.
15 years ago
Brian E. Granger
d3e67106a1
Adding keyboard shortcuts.
15 years ago
Brian E. Granger
6798c5cc97
All output types are not indented.
15 years ago
Brian E. Granger
ab384fc787
Cell collapse/expand is not called "Toggle".
15 years ago
Brian E. Granger
ea8b4de42d
Implemented metadata for notebook format.
15 years ago
Brian E. Granger
7e7a6ab50b
Notebook upload handles filenames with periods.
15 years ago
Brian E. Granger
0784df1b9d
Making JSON the default .ipynb format.
15 years ago
Brian E. Granger
4d15c8b8e5
Fixing logic for rename behavior.
15 years ago
Brian E. Granger
cbe3563d8d
Save button becomes Rename when the notebook name changes.
15 years ago
Brian E. Granger
f35f9323e6
Better tabindex support.
15 years ago
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
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
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
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