Commits on Feb 2, 2012
  1. Merge pull request #1361 from ellisonbg/nbissues

    fperez committed Feb 2, 2012
    A number of bug fixes for notebook issues that had crept up recently with all the major improvements done on multiple fronts.
    In closing #1359, we've changed slightly how Math() works: it now unconditionally surrounds its input with $$...$$, so that it always appears in displayed math mode.  We have also introduced a new display object, Latex(), which does *not* add any latex markup, for other constructs beyond simple math expressions.  This change makes Math() friendlier to use in simple cases and means that Math(sympy.latex(foo)) will produce the expected displayed math results without the user having to add any $ markup.
    Summary of Fixes:
    Fixes #1344: Ctrl + M + L does not toggle line numbering in htmlnotebook.
    Fixes #1337: Tab in the notebook after `(` should not indent, only give a tooltip.
    Fixes #1339: Notebook printing broken.
    Fixes #1348: `Ctrl-m-Ctrl-m` does not switch to markdown cell
    Fixes #1359: [sympyprinting] MathJax can't render \root{m}{n}
  2. Changes to Math class and added Latex class.

    ellisonbg committed Feb 2, 2012
    * Math now adds $$ if the user doesn't provide them.
    * Latex is like Math, but doesn't add delimiters.
  3. Related to #1359. Removing extra $ that older versions sympy add.

    ellisonbg committed Feb 2, 2012
    Older versions of sympy put in an extra $ when using
    latex(e, mode='plain'). We are removing those before we add our
    own to make sure it works.
  4. Merge pull request #1364 from minrk/jsonlib

    minrk committed Feb 2, 2012
    avoid jsonlib returning Decimal
    Cleanup jsonlib checking code in IPython.zmq.session for readability, and ensure that floating-point numbers come out of messages as floats instead of Decimal when using jsonlib.
  5. Merge pull request #1362 from minrk/truncate_history_log

    minrk committed Feb 2, 2012
    Don't log complete contents of history replies, even in debug
    This changes the debug message to include only the length of the history reply, rather than its entire contents, which gets huge, and is an impediment to the legibility of debugging output.
Commits on Feb 1, 2012
  1. Proper error handling for nbformat versions in client code.

    ellisonbg committed Feb 1, 2012
    1. Users are warned when an older nbformat notebook is converted.
    2. The notebook notifies the user when a notebook that is too new
       is attempted to load.
    To test these things, create a simple notebook. Then change its
    nbformat field by hand to 2 (to test 1) and then 4 (to test 2).
  2. avoid jsonlib returning Decimal

    minrk committed Feb 1, 2012
    The only functional change is that Decimal objects will no longer come out of jsonlib, but the code that handles jsonlib's two minor differences wrt other json libraries is now a bit clearer and better documented.
    Relevant test is added.
  3. Fixing #1337. Tooltip stops TAB from being handled by others.

    ellisonbg committed Feb 1, 2012
    Pressing TAB to get the tooltip "range(TAB" was inserting a TAB.
    To get rid of this we are now telling CodeMirror to ignore it
    and also stopping the event from bubbling up the DOM.
  4. Fixing #1359. We are not using itex mode in sympyprinting.

    ellisonbg committed Feb 1, 2012
    Previuosly we were using itex=True in the sympy latex printer.
    I don't know why where were doing this but we should use regular
    printing mode and put the $$ around the equations ourselves.
  5. Fixing Shift-Enter bug in text cells.

    ellisonbg committed Feb 1, 2012
    Hitting Shift-Enter on an already rendered text cell should simply
    move past it. It was causing the cell to enter edit mode. This
    is not fixed.
  6. Fixing minor issues with nbformat.

    ellisonbg committed Feb 1, 2012
    * Test suite passes.
    * nbformat put into a single location for easy update.
  7. Major refactoring of saving, notification.

    ellisonbg committed Feb 1, 2012
    * Refactored the save widget so that the notebook doesn't depend
      on it.  Now the notebook emits events and the save widget
      observes those events.
    * Created a new event system for all IPython events (events.js).
      We should start to use this to allow our classes to be loosely
    * Created a new notification widget that should be used for all
      notifications. Uses new event system.
    * Removed the kernel status widget.
    * All kernel status message use new event/notification system.
    * The print notebook view works again.
Commits on Jan 30, 2012
  1. Merge pull request #1347 from Carreau/fixes-1243

    ellisonbg committed Jan 30, 2012
    Fix weird magic completion in notebook.  Closes #1243.
  2. Merge pull request #1346 from astraw/alternate-url-fixups

    ellisonbg committed Jan 30, 2012
    fixups for alternate URL prefix stuff
  3. Merge pull request #1331 from ellisonbg/celltypes

    ellisonbg committed Jan 30, 2012
    Added plaintext and heading cells to the notebook UI and nbformat.
    In the process we have updated the nbformat to v3 and integrated these new cell types into the new toolbar.
  4. Adding back deleted file.

    ellisonbg committed Jan 30, 2012
  5. Fixing minor bugs in nbformat and saving.

    ellisonbg committed Jan 30, 2012
    * json separator is not ',' to avoid adding extra space at EOL.
    * vs used throughout nbformat.current.
    * Cell collapse is properly loaded from notebook.
  6. More work updating nbformat.

    ellisonbg committed Jan 30, 2012
    * Implemented conversion function (no-op for now).
    * Other misc changes.
  7. Adding v2 nbformat back in.

    ellisonbg committed Jan 30, 2012
  8. Incrementing nbformat to version 3.

    ellisonbg committed Jan 30, 2012
    I will need to put the old v2 nbformat back in.
  9. Removing

    ellisonbg committed Jan 27, 2012
  10. Adding new HeadingCell.

    ellisonbg committed Jan 27, 2012