Commit Graph

7151 Commits

Author SHA1 Message Date
Min RK
dfb36abc4d make 'download as PDF' say 'via LaTeX'
so it's clear that LaTeX is required
2015-03-03 13:46:26 -08:00
Min RK
fd3013dbb4 Merge pull request #7838 from jasongrout/kernel-messages-sync
Keep kernel messages synchronous

promises all the way down
2015-03-03 09:57:08 -08:00
Jason Grout
e1a6dbd4be Handle kernel messages synchronously
A problem can happen when two messages come in for different
comms, where the second depends on the first (for example, the
first might be a message setting the state of a widget, and the
second triggering a view creation for the widget).  Since comm
message queues are independent of each other, the second message
could be executed before the first message.

This exposes a more fundamental assumption users are likely to
have that messages from python are processed synchronously.

Thanks to @dmadeka for reporting an error that led to discovering this issue.
2015-03-03 16:01:23 +00:00
Gareth Elston
a33f98a254 Update Widget Events.ipynb 2015-03-03 14:38:11 +00:00
Jonathan Frederic
2eb028bcec Merge pull request #7930 from jdfreder/invokecss
invoke css
2015-03-02 14:43:50 -08:00
Jonathan Frederic
e50344f4e6 invoke css 2015-03-02 14:27:53 -08:00
Jonathan Frederic
b8ffcf351c invoke css 2015-03-02 14:26:14 -08:00
Jonathan Frederic
5ad87d13d6 Merge pull request #7902 from gertingold/radio
fix margin in RadioButtons
2015-03-02 14:25:06 -08:00
Jonathan Frederic
0cf008d23d Only pad indicator text. 2015-03-02 14:21:30 -08:00
Jonathan Frederic
65868feb17 Move checkbox down two pixels b/c it looks like 💩 where it is. 2015-03-02 14:17:54 -08:00
Jonathan Frederic
e09b83e910 Merge pull request #7725 from SylvainCorlay/fabutton
Adding font-awesome icon to button and toggle button
2015-03-02 11:54:06 -08:00
Sylvain Corlay
03b884a615 Moving styling to else statement 2015-03-02 14:34:37 -05:00
Matthias Bussonnier
103f2f1df2 Update comment for future removal of code 2015-03-02 10:34:38 -08:00
Matthias Bussonnier
ed60311a75 Fix configurability of codecell
code cell where actually not configurable,
this fixes that + add a convenient methods to dump the
content of the configuration in the config file.

this also close #7896 by defaulting closebracket to true,
which is now configurable :-)

It also switches the default magic highlight mode to string so that they
could also be configured.
2015-03-02 10:29:06 -08:00
Min RK
15d4e2d675 Merge pull request #7921 from grelston/patch-1
Fix AttriuteError for widgets.[js][d]link in Widget Events.ipynb
2015-03-02 09:32:10 -08:00
Min RK
6cb15fbffe Merge pull request #7780 from jasongrout/message-race
Fix race condition in javascript kernel message processing
2015-03-02 09:27:36 -08:00
Jason Grout
35026c3184 Merge pull request #7 from minrk/serialize-test
update js serialize test
2015-03-02 10:19:42 -05:00
Gareth Elston
a214898c97 Update Widget Events.ipynb
Running Widget Events.ipynb in http://try.jupyter.org/ raises the following errors:

In [11]: AttributeError: 'module' object has no attribute 'link'
In [12]: AttributeError: 'module' object has no attribute 'dlink'

In [13]: widgets.<Tab> shows 'jsdlink' and 'jslink', which generate the expected linked sliders.
2015-03-02 11:27:10 +00:00
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