Commit Graph

1220 Commits

Author SHA1 Message Date
Matthias BUSSONNIER
011403a14f use print function in module with print >> 2012-07-05 14:32:56 +02:00
Matthias BUSSONNIER
bd2ccf816a deactivate 2to3 repr fix when using setup.py 2012-07-05 12:56:29 +02:00
Matthias BUSSONNIER
86788872a8 deactivate 2to3 apply fix when using setup.py 2012-07-05 12:54:17 +02:00
Thomas Kluyver
b43f24da5f Merge pull request #2064 from Carreau/pep-3110
Use new style "except Exception as e" syntax.
2012-07-04 13:50:45 -07:00
Matthias BUSSONNIER
908c4ea8f9 fix english in comment 2012-07-04 13:25:23 +02:00
Matthias BUSSONNIER
86787a3b62 disable some specific 2to3 fixes whith setup.py
this should allow a more compatible codebase between python 2.x and 3.x
2012-07-04 08:35:35 +02:00
Min RK
a7571d1cc7 Merge pull request #2076 from fperez/exclude-static-tests
Skip notebook 'static' dir in test suite.

There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).

Closes #2075
2012-07-01 16:21:51 -07:00
Fernando Perez
22071dfede Skip notebook 'static' dir in test suite.
There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).
2012-07-01 13:14:47 -07:00
Fernando Perez
3171c69214 Merge pull request #2068 from minrk/sysinfo
record sysinfo in sdist

closes #2054
2012-06-30 15:57:23 -07:00
MinRK
d2940640f5 record sysinfo in sdist
closes #2054
2012-06-30 15:17:46 -07:00
Fernando Perez
20f3e5812c Merge pull request #2067 from minrk/release_windows
update tools/release_windows.py
2012-06-30 13:49:07 -07:00
MinRK
3b4f48e16d enable uploading wininst to PyPI with tools/release_windows.py
adds upload_wininst command to setup.py
2012-06-30 13:41:30 -07:00
Matthias BUSSONNIER
d85f075ad7 conform to pep 3110
brutally replace all `exeption <type>, <name>:` by
`exception <type> as <name> :`

`exception <type>, <type> :` should not be present anywhere in the code
anymore, or should be present with explicit tuple as
`exception (<type>, <type>)`
2012-06-30 18:34:56 +02:00
MinRK
ae177a38cb remove empty IPython.scripts test group 2012-06-30 01:00:56 -07:00
MinRK
abab58c0eb add missing plugin .txt to package_data 2012-06-30 00:51:18 -07:00
MinRK
e75d54a9e3 add Jörgen to mailmap 2012-06-29 17:20:46 -07:00
MinRK
ff3fd0a309 update mailmap 2012-06-29 15:33:12 -07:00
Min RK
24ffbaa28a Merge pull request #1954 from ipython/example_notebooks
example notebooks

Specific content changes from #1570:

* no longer reference left panel
* no longer suggest starting the notebook with `--pylab`, instead favoring `%pylab inline`
* use IPython.display imports

closes #1570
2012-06-28 16:29:37 -07:00
Min RK
e57052b8d8 Merge pull request #2050 from minrk/xunit-quotes
only add quotes around xunit-file on Windows

because it uses os.system. We can trust Popen to handle spaces in the string on other platforms.
2012-06-28 11:25:55 -07:00
MinRK
722e90d50a only add quotes around xunit-file on Windows 2012-06-28 11:23:13 -07:00
MinRK
bc1ea4dfbc rebuild example notebooks
* no longer reference left panel
* no longer suggest starting the notebook with `--pylab`.
2012-06-27 22:31:20 -07:00
Min RK
360e40feca Merge pull request #2047 from minrk/badFirefox
disable auto-scroll on mozilla
2012-06-27 19:57:41 -07:00
Min RK
b8d1bbffaa Merge pull request #2046 from jstenar/iptest-unicode
iptest unicode

- fix space in path issue for iptest when using --with-xunit
- fix unicode issue in path for iptest

closes #760
2012-06-27 15:16:30 -07:00
MinRK
422965cb3d disable auto-scroll on mozilla
see #2041 for details
2012-06-27 15:07:07 -07:00
Jörgen Stenarson
9919f31095 2012-06-27 22:04:54 +02:00
Jörgen Stenarson
13b30ed3c4 2012-06-27 22:03:54 +02:00
Fernando Perez
b68f7f620e Merge pull request #2042 from minrk/scrolltweak
Increase auto-scroll threshold to 100 lines.

It is more important that we not be surprising or annoying than we auto-hide moderately long output.  The manual toggle is always available for intermediate outputs.

Also explicitly ignore shift keydown in our keycode handler, which prevented the sequence:

    <ctrl> M <shift> o

from being recognized, as the shift keypress would reset the control-key state.
2012-06-26 14:44:56 -07:00
MinRK
fae43d51d4 double auto-scroll threshold to 100 lines
it is more important that we not be surprising or annoying than we hide moderately long output.
2012-06-26 14:41:32 -07:00
MinRK
da17f26fbe ignore shift keydown
prevented case-sensitive shortcuts if shift was pressed after control key
2012-06-26 11:41:53 -07:00
Fernando Perez
e39fff880f Merge pull request #2037 from minrk/qtconsole
For Windows installation, remove `ipython-qtconsole` gui-script and simply use `ipython qtconsole`.

QtConsole entry in the Windows Start Menu is updated appropriately.

Closes #1516.
2012-06-25 12:07:47 -07:00
Fernando Perez
efd2c5b2bf Merge pull request #2031 from minrk/confirm
disable ^C^C confirmation on Windows since it uses select.select on stdin, which is illegal on Windows.
2012-06-24 18:17:41 -07:00
MinRK
ab2de249ed disable ^C^C confirmation on Windows 2012-06-24 16:06:12 -07:00
Thomas Kluyver
a81f55cc92 Merge pull request #2016 from jdmarch/quotes-for-test-runner
BUG: test runner fails in Windows if filenames contain spaces.
2012-06-24 07:34:39 -07:00
MinRK
06188412b3 remove ipython-qtconsole gui-script
Always use `ipython qtconsole`

QtConsole entry in the Windows Start Menu is updated appropriately.
2012-06-23 21:32:16 -07:00
Jonathan March
3edd709ab6 BUG: test runner fails in Windows if filenames contain spaces. 2012-06-23 19:55:07 -05:00
Fernando Perez
f6a20e449e Merge pull request #2014 from minrk/profile_re
Relax profile regex in notebook.  Almost any text is a valid profile name, and the previous code only included ascii alphanumeric strings.

closes #2011.
2012-06-23 14:21:51 -07:00
MinRK
603b7d9598 relax profile regex in notebook
Almost any text is a valid profile name, and the previous code
only included ascii alphanumeric strings.

closes #2011
2012-06-23 12:34:16 -07:00
Fernando Perez
6226f830a0 Merge pull request #2012 from mcelrath/mono_cursor_offset
Fix spurious appearance of the #fontarea when fonts don't have any problem; also remove loud dialog when problematic font is detected and simply adjust baseline.  Users will have a slightly offset baseline for bold/italic highlights, but without any functional problems.

Fixes #2005.
2012-06-22 22:54:35 -07:00
mcelrath
591a8eac23 Fix spurious appearance of #fontarea at end of document. 2012-06-22 21:22:59 -07:00
mcelrath
5a070dcd1a Merge remote-tracking branch 'upstream/master' into mono_cursor_offset 2012-06-22 21:22:43 -07:00
Fernando Perez
50e4c5888b Merge pull request #2010 from bfroehle/webbrowser_missing
notebook: Print a warning (but do not abort) if no webbrowser can be found.

Closes gh-2006.
2012-06-22 17:51:34 -07:00
Bradley M. Froehle
7ae0c9482f notebook: Print a warning (but do not abort) if no webbrowser can be found.
Closes gh-2006.
2012-06-22 17:39:15 -07:00
Min RK
e306daad47 Merge pull request #1981 from tkf/kill-bg-processes
Clean BG processes created by %%script on kernel exit

* uses less forceful shutdown of kernels in the notebook, allowing atexit machinery to fire
* enables daemon BackgroundJobs
* cleanup %%script --bg subprocesses at shutdown
2012-06-20 13:35:56 -07:00
Min RK
87f3762e64 Merge pull request #1951 from minrk/nbdir
minor notebook startup/notebook-dir adjustments

* change inaccurate / distressing "Overwriting profile..." log message
* `ipython notebook path` results in setting notebook-dir if it's a dir,
  rather than unconditionally setting file-to-run
* file-to-run overrides no-browser
* kernels start in the notebook dir, rather than the Server's cwd
* notebook dir is validated, and created if it doesn't exist (only if parent exists, like ~all other such things)

closes #1985
closes #1980
2012-06-20 13:06:30 -07:00
Bussonnier Matthias
f200bd0392 Merge pull request #1974 from Carreau/notebook-path-completion
Allow path completion on notebook.
add slash (/) for unix,  backslash (\) and colon (:) for windows
as authorized characters in completions.
2012-06-19 23:42:32 -07:00
MinRK
d72d3f7e30 add tests for notebook_dir validation 2012-06-19 20:55:25 -07:00
Min RK
1c0c9d7b9f Merge pull request #1979 from msabramo/testing
Add basic support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/)
2012-06-19 20:24:48 -07:00
Marc Abramowitz
324c052184 Add .tox to .gitignore 2012-06-19 08:13:37 -07:00
Takafumi Arakaki
af977fc15b Merge pull request #1 from minrk/kill-bg-processes
Use shutdown requests rather than hard kills in notebook
2012-06-18 18:16:29 -07:00
MinRK
61bbd632ef use shutdown_kernel instead of hard kill in notebook 2012-06-18 18:08:37 -07:00