Htmlnotebook #705

Merged
merged 232 commits into from Aug 23, 2011
Commits on Jul 21, 2011
  1. Fixing code to assume msg_type and msg_id are top-level.

    ellisonbg committed Jul 14, 2011
    * I have gone through and looked for instances of ['msg_type'] and
      ['msg_id'] and tried to make sure that I added ['header'] so
      pull the values out of the header.
    * But there are many cases where I can't tell if the dict is the
      full message or the header already. This is especially true
      of the msg_id in the parallel db parts of the code.
    * Tests pass, but this is scary.
  2. Adding shift-enter support.

    ellisonbg committed with ellisonbg Mar 18, 2011
  3. Adding tests for zmq.session.

    ellisonbg committed Jul 14, 2011
  4. Different clients now share a single zmq session.

    ellisonbg committed with ellisonbg Apr 26, 2011
    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.
  5. Minor changes to notebook css.

    ellisonbg committed with ellisonbg Apr 26, 2011
  6. Cleaned up kernel action interface.

    ellisonbg committed with ellisonbg Apr 27, 2011
    * Using POST rather than GET.
    * Using simple URLs rather than a query string.
    * Using a regexp to match the action.
  7. Status monitoring added to notebook.

    ellisonbg committed with ellisonbg Apr 27, 2011
    * Busy == red
    * Idle == gray
    * Restarting == black
  8. Fixes to notebook scrolling and layout.

    ellisonbg committed with ellisonbg Apr 29, 2011
    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.
  9. Tweaking and cleanup of notebook.css.

    ellisonbg committed with ellisonbg Apr 29, 2011
    * Adjusted font sizes for improved readability.
    * Got rid of unused css attributes and styles.
    * Changed font of Title to Verdana.
  10. Further font adjustments to the notebook.

    ellisonbg committed with ellisonbg Apr 29, 2011
    * Using Fernando's recommended monospaced font list.
    * Increased tool/tab menus to 10 pt.
  11. Work on the notebook's code cell.

    ellisonbg committed with ellisonbg Apr 29, 2011
    * 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.
  12. Basic notebook saving and loading.

    ellisonbg committed with ellisonbg May 1, 2011
    * 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"
  13. Refactoring of the output and display system.

    ellisonbg committed with ellisonbg May 3, 2011
    * LaTeX rendering now works.
    * Font's are reworked in the css style sheet.
    * Testing on FF and Chrome.
  14. include html frontend in packages/package_data

    minrk committed with ellisonbg May 3, 2011
    chmod +x ipython-notebook script
  15. Fine tuning of notebook styles.

    ellisonbg committed with ellisonbg May 3, 2011
    * 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.
  16. Minor fix to sympy latex printing.

    ellisonbg committed with ellisonbg May 4, 2011
    * \dag is converted to \dagger.
  17. Adding new notebook examples.

    ellisonbg committed with ellisonbg May 4, 2011
    * Many that use sympy's quantum computing (github master required)
    * One from Fernando Perez that does text analysis.
  18. General CSS cleanup.

    ellisonbg committed with ellisonbg May 13, 2011
    * Created layout.css for common layout related mixins.
    * monospace is the default font for now.
  19. CodeMirror code editing added.

    ellisonbg committed with ellisonbg May 14, 2011
    * codemirror2 repo has been added to IPython.
    * Custom coloring used to match the qtconsole.
  20. Much improved nagivation for the notebook cells.

    ellisonbg committed with ellisonbg May 16, 2011
    * Up/Down arrow now used to navigate cells.
    * For text cells, shift-enter renders, enter edits.
  21. Updating notebook examples.

    ellisonbg committed with ellisonbg May 18, 2011
  22. Updating examples notebooks.

    ellisonbg committed with ellisonbg May 20, 2011
  23. Initial reorg of files complete.

    ellisonbg committed Jul 1, 2011
    I have moved things around to get ready for making the notebook
    a full blown app, but have not actually made it an app.  That is
    next.
  24. Refactored htmlnotebook session and kernel manager.

    ellisonbg committed Jul 12, 2011
    * The KernelManager now manages multiple kernels with a uniform
      API.
    * The SessionManager now manages the full set of channels+streams
      and the IPython.zmq.session.Session object for a single kernel.
  25. Notebook app debugging.

    ellisonbg committed Jul 12, 2011
    * Logging is now working with a default of INFO.
    * Other misc bug fixes.
  26. Updating the notebook to work with the latex master.

    ellisonbg committed Jul 14, 2011
    * 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.
  27. Initial payload handling.

    ellisonbg committed Jul 15, 2011
    * Syntax highlighting fixed for things like "math?".
    * Basic pager is working.
  28. Updating jQuery to 1.6.2 and jQuery UI to 1.8.14.

    ellisonbg committed with ellisonbg Jul 17, 2011
    I have also added a focus.html files for testing focus related
    events.
  29. Pager is working again.

    ellisonbg committed Jul 19, 2011
  30. Left panel is now working.

    ellisonbg committed Jul 19, 2011
  31. Improving the scrolling model.

    ellisonbg committed Jul 19, 2011
  32. Minors fixes and initial work on save widget.

    ellisonbg committed Jul 21, 2011
    * Fixed width of buttons in left panel.
    * Started to create a save widget for the header.
Commits on Jul 22, 2011
  1. Fixing execution related things.

    ellisonbg committed Jul 22, 2011
    * 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.
Commits on Jul 23, 2011
  1. Colors now working in tracebacks and the pager.

    ellisonbg committed Jul 23, 2011
    For now I am just converting ANSI color escape sequences to HTML
    <span> tags that have css classes for coloring.
Commits on Jul 26, 2011
Commits on Jul 27, 2011
  1. CTRL-ENTER now runs a cell in "terminal mode"

    ellisonbg committed Jul 27, 2011
    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.
  2. Removing default input prompt number.

    ellisonbg committed Jul 27, 2011
    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.
  3. Adding nbformat subpackage.

    ellisonbg committed Jul 27, 2011