Commit Graph

705 Commits

Author SHA1 Message Date
Brian E. Granger
8f149a2623 Help links work on Firefox. 2011-08-18 20:37:47 -07:00
Brian E. Granger
cbe3563d8d Save button becomes Rename when the notebook name changes. 2011-08-18 20:23:03 -07:00
Brian E. Granger
f35f9323e6 Better tabindex support. 2011-08-18 20:16:33 -07:00
Brian E. Granger
1293556dde Double clicking on the end space will insert a new cell. 2011-08-18 20:07:14 -07:00
Brian E. Granger
b17100a63b Merge branch 'htmlnotebook_list_notebooks' of https://github.com/stefanv/ipython into stefanv-htmlnotebook_list_notebooks 2011-08-18 19:53:18 -07:00
Brian E. Granger
7d53b7a7b2 Merge branch 'stefanv-htmlnotebook_publish' into htmlnotebook 2011-08-18 19:48:51 -07:00
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.
2011-08-18 19:47:52 -07:00
Stefan van der Walt
55ffc1c083 Move glob to global level import. 2011-08-18 19:31:16 -07:00
Stefan van der Walt
fb2c31b2ea Allow period characters in notebook names. 2011-08-18 19:11:49 -07:00
Brian E. Granger
6243652cfd Changing notebook uuid algorithm to preserver across sessions. 2011-08-18 18:43:33 -07:00
Brian E. Granger
69d2e18f7a Merge branch 'htmlnotebook_publish' of https://github.com/stefanv/ipython into stefanv-htmlnotebook_publish 2011-08-18 14:12:12 -07:00
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.
2011-08-17 17:19:42 -07:00
Stefan van der Walt
823124215c Refactor static printing. 2011-08-17 17:07:58 -07:00
Brian E. Granger
cff986a539 Removed HTMLCell from UI and added better placeholder logic. 2011-08-17 15:29:22 -07:00
Brian E. Granger
0f3bc468e3 Better alert message if no WebSockets are detected. 2011-08-17 15:11:55 -07:00
Brian E. Granger
e08bdc3d6f Better WebSocket detection added. 2011-08-17 15:01:46 -07:00
Brian E. Granger
164ef7c9cb Adding code to handle MozWebSocket for FF 6. 2011-08-17 14:55:44 -07:00
Brian E. Granger
ad791ad465 Finish removing ipython-notebook. 2011-08-17 13:36:38 -07:00
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.
2011-08-17 13:21:19 -07:00
Brian E. Granger
63a148fad5 Don't scroll to bottom when last cell is selected. 2011-08-17 11:50:57 -07:00
Stefan van der Walt
49ad421c8b htmlnotebook: Suppress cell boundary when publishing. 2011-08-16 22:40:36 -07:00
Stefan van der Walt
201999642f Implement static publishing of HTML notebook. 2011-08-16 18:56:34 -07:00
Brian E. Granger
70cf4b80ba Stripping notebook server flags from kernel's argv. 2011-08-16 11:58:20 -07:00
Brian E. Granger
1271cfcfcd Removing old CodeMirror version. 2011-08-15 23:40:31 -07:00
Brian E. Granger
dfac7eca2b WebSocket url is now passed to browser when a kernel is started. 2011-08-15 23:35:01 -07:00
Matthew Brett
acf85b0824 BF - allow nose with-doctest setting in environment
IPDoctest replaces the normal doctest plugin.  Previously we did this by
initializing the builtin plugins but skipping the doctest plugin.
However, if the user has a noserc file with 'with-doctest=1' or the
environment variable 'NOSE_WITH_DOCTEST', then nose will try and
initialize the doctest plugin when it isn't there, and barf.  This
commit defers the removal of the doctest plugin to the configuration
stage, so doctest can be enabled before it is thrown away by us.
2011-08-15 19:12:12 -07:00
Brian E. Granger
e45e339344 Kernel/notebook mapping is removed when a kernel dies.
* Previously, when a kernel died due to an external cause, the
  notebook/kernel mapping was not removed, so the kernel would
  be resused even though it was dead.
* The heartbeat now properly removes the notebook/kernel mapping.
2011-08-15 15:06:11 -07:00
Brian E. Granger
3602f7f023 Date is properly removed from JSON reply before WebSocket forward.
* Both the header and parent_header have a date field that cannot
  be json serialized. This field is just removed for now, but
  in the future, we will covert the date to a ISO8601 field.
* Better error handling around this code has also been added
  to prevent the server from crashing due to malformed messages.
2011-08-15 14:43:49 -07:00
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.
2011-08-15 14:25:49 -07:00
Brian E. Granger
a086fc6d83 I like ClearAll better than Clr All. 2011-08-15 14:21:28 -07:00
Brian E. Granger
c7a12effa1 Export works with filenames having spaces.
* The fix was to put the filename in double quotes in the
  Content-Disposition header.
* Export As/Clear All have been renamed to Export and Clr All
2011-08-15 14:19:36 -07:00
Brian E. Granger
bf8ba0889e Code cell gets focused after "To Code" is triggered. 2011-08-15 14:15:21 -07:00
Brian E. Granger
dcd25caf9a Adding additional whitespace at botton of notebook for TAB comp. 2011-08-15 14:10:27 -07:00
Brian E. Granger
0790979100 Fixing tab completion edge cases. 2011-08-15 14:03:17 -07:00
Brian E. Granger
60147f495f A single tab-completion match is now automatically selected. 2011-08-14 23:41:54 -07:00
Brian E. Granger
e445ad1796 Fixing latex rendering bug. 2011-08-14 23:30:11 -07:00
Brian E. Granger
75c54c887e Notebook id removed from the notebook format. 2011-08-14 22:38:46 -07:00
Brian E. Granger
3d7d0f8b0b Added a notebook dirty flag that is used when exiting page. 2011-08-14 22:01:39 -07:00
Brian E. Granger
e911393836 Browser window title follows the name of the notebook. 2011-08-14 21:48:20 -07:00
Brian E. Granger
3be2ace4f2 Autotry additional ports if 8888 if already in use. 2011-08-14 21:41:01 -07:00
Brian E. Granger
63de9cd719 Fixing bug that caused plots to not be saved.
CodeCell.append_mime_type needed a default element.
2011-08-14 21:29:07 -07:00
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.
2011-08-14 17:58:25 -07:00
Brian E. Granger
b264e21a6d Clear all output is implemented. 2011-08-13 16:18:16 -07:00
Brian E. Granger
24a3464921 Disabling auto-save at exit. 2011-08-13 16:08:30 -07:00
Brian E. Granger
058c0b4767 HTML output cells are now styled with the rendered_html class. 2011-08-13 15:55:58 -07:00
Brian E. Granger
c72b41883f Adding tracebacks, evalue and etype to the nbformat and notebook. 2011-08-13 15:53:35 -07:00
Brian E. Granger
0c3bba9641 Adding time delay to show the notebook saving more clearly. 2011-08-11 16:55:46 -07:00
Brian E. Granger
1abacb4fce HTML/Markdown cells no longer saved their rendered output. 2011-08-11 16:48:22 -07:00
Brian E. Granger
0b5b3ed341 Added collapsed field to the code cell. 2011-08-11 16:44:50 -07:00
Brian E. Granger
0529d43ae7 Fixing padding of output cells. 2011-08-11 15:39:48 -07:00