Commit Graph

7133 Commits

Author SHA1 Message Date
Matthias Bussonnier
242fc93f93 Merge pull request #7889 from Carreau/after-one-year
Js completion traceback, erase line on tab, and double complete.
2015-03-01 21:19:03 -08:00
Matthias Bussonnier
f3e0261db7 Merge pull request #7777 from minrk/fallback-127
fallback on 127.0.0.1 if localhost cannot be bound
2015-03-01 21:13:21 -08:00
Min RK
f76ce1d6b9 warn about failure to bind to localhost
when falling back on 127.0.0.1
2015-03-01 20:22:51 -08:00
Min RK
c605ea44cc fallback on 127.0.0.1 if localhost cannot be bound
Some (broken) systems cannot bind to localhost.
This handles that failure and falls back to 127 as the default
2015-03-01 20:22:51 -08:00
Jonathan Frederic
ca95e914cb Merge pull request #7908 from minrk/catch-localStorage-failure
actually catch failure to load widget state
2015-02-28 17:40:43 -08:00
Min RK
17ee541add actually catch failure to load widget state
load callback was called directly,
rather than in promise function that catches errors
2015-02-28 15:10:48 -08:00
Min RK
fb12238bb2 update js serialize test
msg count and msgspec v5 API changes
2015-02-28 13:31:05 -08:00
Thomas Kluyver
2b95955079 Merge pull request #7906 from minrk/skip-perm-test-windows
skip permission error -> 403 test on Windows
2015-02-28 13:17:30 -08:00
Matthias Bussonnier
709126542a Merge pull request #7832 from minrk/default-secure-session
remove default_secure, make Session secure by default
2015-02-28 12:59:14 -08:00
Min RK
0bc4549d25 skip permission -> 403 test on Windows
The test actually passes on my VM (Win 7),
but not on Jenkins (Server 2012).

I haven't figured out how to identify the subset of Windows systems where it won't work,
but since the problem appears to be in the test,
not the tested code, skipping on Windows seems the right way to go.
2015-02-28 11:52:52 -08:00
Thomas Kluyver
c0269602a3 Merge pull request #7904 from minrk/adapt-not-error
make it clearer that we adapt to old messages
2015-02-28 11:40:15 -08:00
Min RK
d9f01671ae make it clearer that we adapt to old messages
> Adapting to protocol vX for kernel Y

instead of

> Kernel Y speaks protocol version X

some have interpreted the "Kernel speaks" statement was an error message;
this should be clearer about what's happening,
and that there is no error.
2015-02-28 11:35:37 -08:00
Min RK
109ee00ebb get session.key from kernel manager
in kernel channel handlers

we were accidentally relying on loading Session.key from config set via the default_secure decorator,
which forced the key to be the same for every kernel.
2015-02-28 11:22:19 -08:00
Min RK
96334d4594 deprecate default_secure decorator
make Session secure by default on its own

I think the decorator was an artifact of very early design prototyping, and really isn't necessary.
2015-02-28 11:22:19 -08:00
Matthias Bussonnier
dad4ba22b8 Merge pull request #7881 from minrk/ssl-options
add ssl_options config value
2015-02-28 10:15:57 -08:00
Matthias Bussonnier
de90843b29 Merge pull request #7893 from Carreau/add-markdown-menu
Add Markdown to the list of downloadable nbconverted formats.
2015-02-28 10:15:12 -08:00
Matthias Bussonnier
4c567fb544 Merge pull request #7779 from abeguerra/defect-5544-fix-hyperlink-display
Fixed rendering of URL in append_stream function
2015-02-28 10:05:56 -08:00
Gert-Ludwig Ingold
5cef46f26e fix margin in RadioButtons 2015-02-28 18:42:34 +01:00
Min RK
65b2b3a651 Merge pull request #7888 from Carreau/horse
Don't recompute values
2015-02-27 17:28:45 -08:00
Fernando Perez
50c8c5feed Merge pull request #7852 from minrk/open-perm
Catch IOError in addition to OSError.

Closes #7848
2015-02-27 17:07:53 -08:00
Thomas Kluyver
2111ac4812 back to development 2015-02-27 15:47:42 -08:00
Thomas Kluyver
76ce8cd2fb Release 3.0 2015-02-27 15:46:17 -08:00
Thomas Kluyver
287e4e49e0 Merge pull request #7886 from jdfreder/DOCSWWWEEEEEEP
A **LOT** of clean-up in `examples/Notebook`
2015-02-27 15:06:53 -08:00
Thomas Kluyver
58b6d447d8 Merge pull request #7891 from minrk/examples
pass on IPython Kernel example notebooks
2015-02-27 15:06:18 -08:00
Min RK
bcba94b30f Merge pull request #7892 from jdfreder/docsweepwidgets
Update examples/Interactive Widgets
2015-02-27 14:57:46 -08:00
Min RK
ea2ed412dd pass on IPython Kernel example notebooks
- Python 3 fixes
- add `%matplotlib notebook` to plotting example
- various copy-editing
2015-02-27 14:54:42 -08:00
Thomas Kluyver
99572b5e1a Merge pull request #7878 from minrk/nbconvert-downgrade
add downgrade example to whatsnew
2015-02-27 10:06:09 -08:00
Min RK
d0b57d7803 discuss --to notebook
- downgrade and execute examples
- also update `--to python` with `--to script`
2015-02-27 10:02:40 -08:00
Matthias Bussonnier
59cab4c2d8 Add Markdown to the list of downloadable nbconverted formats.
Seem it was just forgotten. The list was not auto generated on purpose
IIRC, as some format, like TeX were deemed not useful in menu.
2015-02-27 09:17:55 -08:00
Jonathan Frederic
e8c1f1296f Update examples/Interactive Widgets 🧌 2015-02-27 09:11:14 -08:00
Jonathan Frederic
7d27e20cf0 More cleaner is more better 2015-02-27 06:53:04 -08:00
Jonathan Frederic
5ac5888280 @Carreau 's review comments. 2015-02-26 21:14:19 -08:00
Matthias Bussonnier
a30b9b9446 Fix #4777 and #7887
The function in charge of actually converting cursor offset to
CodeMirror line number and character number was actually crashing when
the cursor was at the last character (loop until undefined, then access
length of variable, which is undefined).

This was hiding a bug in which when you would completer to a single
completion pressing tab after as-you-type filtering, the completion
would be completed twice.

The logic that was supposed to detect whether or not all completions had
a common prefix was actually faulty as the common prefix used to be a
string but was then changed to an object. Hence the logic to check
whether or not there was actually a common prefix was always true, even
for empty string, leading to the deletion of the line (replace by '') in
some cases.
2015-02-26 20:37:12 -08:00
Matthias Bussonnier
230ea32f0d Dont recompute values 2015-02-26 20:00:38 -08:00
Jonathan Frederic
052b4669b5 A LOT OF CLEANUP IN examples/Notebook 2015-02-26 17:50:29 -08:00
Min RK
3aa004e5c3 add ssl_options config value
exposes more ssl config, such as ca_certs, disabling SSLv3, etc.
2015-02-26 12:01:20 -08:00
Thomas Kluyver
148a5da3c2 Merge pull request #7879 from minrk/rm-old-nbformat
remove old notebook format doc at the bottom of nbconvert doc
2015-02-26 11:10:39 -08:00
Min RK
841c4907b1 remove old notebook format doc at the bottom of nbconvert doc
There is a much more complete doc of the nbformat now,
I didn't realize this was here, or I would have removed it when I added the new one.
2015-02-26 10:48:15 -08:00
Min RK
41e61d42a5 Merge pull request #7871 from takluyver/docs-misc-cleanup-feb15
Misc docs cleanup
2015-02-26 09:12:15 -08:00
Jonathan Frederic
f2dec681d2 Merge pull request #7872 from jdfreder/interact-styling
Remove padding without breaking interact style.
2015-02-25 15:35:36 -08:00
Jonathan Frederic
100b4470f3 invoke css 2015-02-25 15:07:36 -08:00
Jonathan Frederic
63b181a1a2 Only style direct decendants. 2015-02-25 15:07:21 -08:00
Jonathan Frederic
b822a9f191 invoke css 2015-02-25 14:48:48 -08:00
Sylvain Corlay
78d6a5023d fix padding issue 2015-02-25 14:48:30 -08:00
Jonathan Frederic
1fbbda5a14 Pad interact widgets. 2015-02-25 14:48:02 -08:00
Thomas Kluyver
751de151e3 Clean up some docstring formatting for interact/interactive 2015-02-25 14:34:06 -08:00
Thomas Kluyver
80b931897c Fix some formatting for config options help 2015-02-25 14:24:25 -08:00
Thomas Kluyver
0dd26a9b32 Merge pull request #7855 from minrk/no-extra-contents-manager
don't force instantiation of extra, unused contents manager
2015-02-25 09:58:38 -08:00
Min RK
ce7e03bc61 make sure SessionManager tests have a ContentsManager 2015-02-24 17:00:38 -08:00
Thomas Kluyver
193ecc9d22 Merge pull request #7858 from takluyver/i7857
Dump frontend config JSON with an indent
2015-02-24 16:01:01 -08:00