Permalink
Commits on Nov 19, 2011
  1. Ensures that ipython-complete is called.

    python-mode defines a key-binding for the tab key for its own
    completion function (py-shell-complete) if that one wins, then
    py-shell-complete will hang emacs as it tries to communicate
    with the python shell process which does not exist. This uses
    def-advice to instead call ipython-complete when py-shell-complete
    is called.
    committed Nov 19, 2011
Commits on Nov 17, 2011
  1. Merge branch 'unicodesafe-ls'

    takluyver committed Nov 17, 2011
  2. Fix unicode test for Python 3.

    takluyver committed Nov 17, 2011
  3. Add simple test for non-ascii characters in system_raw call.

    J�rgen Stenarson committed Nov 17, 2011
Commits on Nov 16, 2011
  1. Use unicode_to_str from py3compat

    J�rgen Stenarson committed Nov 16, 2011
  2. Quick fix for os.system requiring str parameter

    jstenar committed Nov 16, 2011
Commits on Nov 15, 2011
  1. Latexify formulas contained in html text.

    closes gh-994
    albop committed with minrk Nov 13, 2011
Commits on Nov 14, 2011
  1. fix isalive -> is_alive typo in external.ssh

    only affected paramiko ssh tunnel cleanup in atexit.
    
    from upstream changes in pyzmq (see pyzmq PR#157)
    minrk committed Nov 14, 2011
Commits on Nov 13, 2011
  1. fix small indexing bug in %config

    classnames list was based on subset of self.configurables, so indexing
    for queries like `%config InlineBackend` would be off.  Fix is to use subset throughout %config, so that indices match.
    minrk committed Nov 13, 2011
Commits on Nov 11, 2011
  1. Merge pull request #955 from minrk/websocket

    Websocket fixes:
    
    1. alert client on failed and lost web socket connections
    
    A long message is given if the connection fails within 1s, which assumes the connection did not succeed. Otherwise, it is a short 'connection closed unexpectedly'.
    
    This also means that clients are notified on server termination (for better or worse).
    
    2. remove superfluous ws-hostname parameter from notebook
    
    This made the notebook server artificially and unnecessarily brittle against tunneling and explicit hostname resolution.  Now, the ws_url is defined based on the Origin of the request for the url, so it always matches the http[s] url.  This means that it will follow the same tunnel, and the hostname will be already resolved.  Resolving the hostname twice makes no sense at all unless the websockets are going to a different server than the http requests.
    
    Implemented as a property, so it should still be easy to change for future cases where it might behave differently (e.g. websockets on a different host, or at a non-root url).
    fperez committed Nov 11, 2011
  2. Merge pull request #979 from minrk/windows/system_raw

    use system_raw in terminal, even on Windows
    
    system_raw uses os.system instead of utils.process.system, and makes more sense in a Terminal session.
    fperez committed Nov 11, 2011
  3. Catch errors raised by user objects when accessing attributes.

    When analyzing the line with prefilter, we look into whether objects
    have a 'rewrite' attribute.  While this is off-spec, we've seen in the
    wild objects that raise something other than AttributeError on
    attribute access.  Now we catch all exceptions in this codepath.
    
    Closes #988.
    fperez committed Nov 11, 2011
  4. minor test fixes for win32

    minrk committed Nov 11, 2011
Commits on Nov 10, 2011
  1. fix arguments for commands in _process_posix

    quotations marks could trivially break the command parsing. This has been
    fixed by using the `args` kwarg, rather than trying to stuff it all into
    one string.
    
    previously-failing tests added
    
    Closes gh-989.
    minrk committed with fperez Nov 10, 2011
  2. Show traceback, continuing to start kernel if pylab init fails

    Error message goes directly over stderr (and traceback over stdout),
    rather than as a pyerr message, which is associated with a particular
    frontend, and thus ignored because startup actions were not requested
    by anyone.
    
    This better matches the terminal behavior, where `ipython --pylab` without matplotlib
    installed shows a traceback, but continues to start.
    
    In the qtconsole the traceback will come in below the banner, but in the notebook
    the message will not arrive until after the first execution.
    
    closes gh-990, closes gh-991.
    minrk committed with fperez Nov 10, 2011
  3. Merge pull request #981 from minrk/nblines

    Split likely multiline text when writing JSON notebooks, and reduce indentation in the JSON file to 1 space per level.
    
    These changes are aimed at making the notebook files more friendly to use in version-control environments.  With multiline blocks split as lines, diffs will be much more readable (version control systems think in terms of lines as their atomic unit).  And reducing the amount of indentation will also make code blocks easier to read without unnecessary scrolling.
    fperez committed Nov 10, 2011
  4. shorten json indent to 1sp

    minrk committed Nov 10, 2011
  5. allow change of PNG DPI in inline backend

    This moves setting the DPI to the rcParams initialization,
    so that it can be changed later by the user, setting
    `rcParams['savefig.figsize']`.
    
    DPI has no effect on SVG figures, so any other value will result in
    mismatch between svg and png figures.
    minrk committed with fperez Oct 31, 2011
  6. add wantDirectory to ipdoctest, so that directories will be checked f…

    …or exclusion
    
    This prevents ImportErrors raised in `__init__` checks from causing a failure when they should have been excluded.
    
    closes gh-918
    closes gh-968
    minrk committed Nov 2, 2011
  7. handle targets='all' in remotefunction

    * add explanation of lazy evaluation of 'all' to direct_view docstring
    * previously failing test included
    
    closes gh-986
    minrk committed Nov 9, 2011
  8. Remove executable bit from images.

    Closes #982.  Thanks to Julian Taylor for the heads-up.
    fperez committed Nov 10, 2011
Commits on Nov 9, 2011
  1. Merge pull request #963 from minrk/pyside

    disable calltips in PySide < 1.0.7 to prevent segfault due to PySide bug.
    minrk committed Nov 9, 2011
  2. Tweak docstring for %recall.

    Closes gh-932
    takluyver committed Nov 9, 2011
  3. Remove executable permissions from image files.

    Closes #982.
    fperez committed Nov 9, 2011
  4. Merge pull request #976 from minrk/whatsnew

    Getting started on What's New for 0.12, and adding github sphinx extension,
    for easy links to GitHub issues, pull requests, etc.
    minrk committed Nov 9, 2011
  5. add github extension for easy links to issues/pulls.

    adapted from Doug Hellmann's bitbucket extension.
    minrk committed Nov 4, 2011