Jonathan Frederic
5366cef17d
Fix an issue in the `kernel_running` function of the JS tests,
...
This fix allows the JS test to be ran against a remote server
with a higher than LAN latency. This bug in our testing
framework was exposed when running `iptest js/widgets --url`
against tmpnb.
11 years ago
Thomas Kluyver
5ede5318d5
Merge pull request #6751 from jdfreder/iptestgun
...
Added --url option to iptest
11 years ago
Thomas Kluyver
eacd05505c
Open download in a new window instead of changing the URL
...
Closes gh-6764
11 years ago
Jonathan Frederic
fc3178e13e
Make order of operations more explicit.
11 years ago
Jonathan Frederic
79670e8afb
Merge pull request #6494 from takluyver/widget-comm-require
...
Allow widget views to be loaded from require modules
11 years ago
Jonathan Frederic
c3b1bf795e
Add --url option to iptest
11 years ago
Thomas Kluyver
f0f6c0d29b
Merge pull request #6677 from minrk/services
...
remove unnecessary 'js' subdir from services
11 years ago
Thomas Kluyver
c39939869f
Merge pull request #6653 from mattpap/fix_ansispan
...
Fix IPython.utils.ansispan() to ignore stray [0m
11 years ago
Mateusz Paprocki
61c17c8ef6
Update static/style/{ipython,style}.min.css
11 years ago
Mateusz Paprocki
439098a9d5
IPython.{util->utils}.fixConsole() in html/tests/base
11 years ago
MinRK
a67abc297d
remove unnecessary 'js' subdir from services
...
part of the point of services is that they are just code, so they won't have js/less/etc. files.
11 years ago
Matthias Bussonnier
103d5dc9b7
Merge pull request #6720 from takluyver/kernelspec-pygments-lexer
...
Respect kernelspec metadata for syntax highlighting in nbconvert
11 years ago
Matthias Bussonnier
d269912958
Merge pull request #6110 from minrk/binarycomm
...
support binary buffers in comm messages
11 years ago
MinRK
7fd161599b
cleanup serialize per review
11 years ago
MinRK
ab9e2b496d
move grid-float-breakpoint to 540px
...
collapses navbar before running over to two lines
due to help/indicator collision.
11 years ago
MinRK
e36df49c5f
tweak collapsed navbar style
...
- notification and indicators appear above menu on small screen
- collapsed menu button floats left
11 years ago
MinRK
5ccbd18e5d
collapse the navbar on narrow windows
...
so it doesn't take up a bunch of vertical height when not in use
11 years ago
MinRK
36cd457b11
move the navbar-collapse transition to xs
...
avoids stacked navbar on narrow (but not too narrow) windows
11 years ago
Matthias Bussonnier
7ae250bbeb
Merge pull request #6693 from minrk/please-no-jsonp
...
set contentType='application/json'
11 years ago
Matthias Bussonnier
3b31574971
Merge pull request #6697 from minrk/less-1.7.5
...
require less >= 1.7.5
11 years ago
Thomas Kluyver
ddbe427dfa
Add pygments_lexer key to kernelspec
11 years ago
Matthias Bussonnier
bd8413dfc7
Use low overhead object heritence in Js (Object.create vs new)
...
the use of
XX.prototype = new YY();
Does trigger the constructor of YY without the nead for it. `Object.create`
does go around this limitation and target browser that are relatively Old.
Cf https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
for more info
It might help to get rid of some logic in constructors that check wether some
options are passed in, that were causing errors on noteboko load. Typically
`if(element){ }` on Abstract `Cell` constructor.
11 years ago
MinRK
492b80d05f
require less >= 1.7.5
...
fixes bug where `vbox > *` style was applied to `vbox()` classes
11 years ago
MinRK
95355e6ff2
Merge pull request #6624
...
closes #6656
closes #6399
11 years ago
Jonathan Frederic
356743495b
Merge pull request #6666 from jdfreder/widget_numbers
...
Add version trait to Widget base,
11 years ago
MinRK
868994087f
finish up FilesHandler
...
- load FilesHandler like everything else
- remove copy/paste leftovers
11 years ago
Thomas Kluyver
fddccc08de
Merge pull request #6711 from minrk/invoke
...
use invoke instead of fabric
11 years ago
Matthias Bussonnier
6766daa397
Merge pull request #6705 from jhamrick/celltoolbar-justify
...
Right-justify celltoolbar instead of reversing
11 years ago
Matthias Bussonnier
e7c2c369e0
Add about dialog in Notebook Help Menu.
...
This allow to get info on version of IPython when running remotely.
The about dialog also send a kernel info request and display the banner
which is useful for non-python kernel that don't match IPython version
11 years ago
MinRK
7c2083aa60
test saving with problematic cell contents
11 years ago
MinRK
2624f82787
set contentType='application/json'
...
instead of skipping straight to headers
avoids jQuery's crazy JSONP detection on `=.*??`,
which was triggered because it assumed the contentType was unspecified,
and thus should be guessed based on content.
11 years ago
MinRK
41cfd4f5cf
use invoke instead of fabric
...
it's the descendant of the part of fabric we actually use,
it doesn't have complex compiled dependencies like fabric,
and it works on Python 3.
11 years ago
Jessica B. Hamrick
8896b538b5
Add regression tests for live notebook
11 years ago
MinRK
9e425bf94b
move binary msg test to services/serialize
11 years ago
MinRK
8c743d304f
unsigned ints for offsets
...
because signed ints for sizes is icky
11 years ago
MinRK
11f5775103
test binary websocket messages
...
only runs on slimerjs for now
11 years ago
MinRK
3de7e9bd74
test websocket-friendly binary message roundtrip
...
Python-side
11 years ago
MinRK
b548e51550
use TextEncoding for string<->ArrayBuffer
...
requires text-encoding js polyfill, for now
11 years ago
MinRK
3693ac83ae
support binary message from javascript
11 years ago
MinRK
6cef7fcb86
use utf8.js
...
move message serialization to kernel.serialize module
11 years ago
MinRK
c9c131ebf9
s/unserialize/deserialize
11 years ago
MinRK
3a1c845f96
support buffers in comm messages
...
- add buffers arg to comm Python api
- support binary websocket messages when buffers are present
- reimplement utf8 in javascript, because javascript is the best
11 years ago
Jessica B. Hamrick
b68507ae91
Display prompt in the notebook correctly
11 years ago
Jessica B. Hamrick
8294a5938b
Right-justify celltoolbar instead of reversing
11 years ago
Jonathan Frederic
c0108e1089
Merge pull request #6681 from SylvainCorlay/widget_hbox_align
...
Minor change in widgets.less to fix alignment issue
11 years ago
Min RK
8107e8a41b
Merge pull request #6669 from SylvainCorlay/font_awesome_update
...
Font awesome update
11 years ago
Thomas Kluyver
0b7cbae7e0
Merge pull request #6685 from minrk/allow-no-session-id
...
allow session_id to be undefined when starting kernel channels
11 years ago
MinRK
3946dedbda
remove redundant 'responsive-utilities' from style.less
...
it's already included in bootstrap.less
11 years ago
Thomas Kluyver
74d2ddf751
Merge pull request #6686 from minrk/default-kernel
...
use default kernel name in kernels service
11 years ago
Sylvain Corlay
e9ceb94db1
genereate css
11 years ago
Jonathan Frederic
1172876191
Add version trait to Widget base,
...
From widget Trello: version numbers for widget models;
when reloaded, will give the widget a chance to do
something intelligent or fail (by default) if the
version number doesn't match.
11 years ago
Jonathan Frederic
98cef15a7c
Merge pull request #6221 from Carreau/cm4
...
Switch to CodeMirror 4.6.0
11 years ago
Jonathan Frederic
6a304fc63c
Merge pull request #6540 from takluyver/comms-mgr-needs-no-shell
...
Make comm manager (mostly) independent of InteractiveShell
11 years ago
MinRK
7da61bfc13
use default kernel name in kernels service
...
matches sessions API
11 years ago
MinRK
97f7116624
allow session_id to be undefined when starting kernel channels
11 years ago
Min RK
1b5874ac65
Merge pull request #6629 from minrk/wscookie
...
remove on_first_message authentication
11 years ago
Sylvain Corlay
43d08b0795
fix alignment
11 years ago
Min RK
00f88ee1be
Merge pull request #6654 from Carreau/closes-6647
...
Have /api return the IPython version
11 years ago
Bussonnier Matthias
76a54f0a82
Have /api return the IPython version
...
return version as a string, to be consistent with other APIs.
closes #6647
11 years ago
Matthias Bussonnier
87dc17ccbc
cleanup style fixed in separate PR and few other things
11 years ago
Matthias Bussonnier
b24e69b058
cleanup whitespace
11 years ago
Matthias Bussonnier
3de3ef9add
add comment about codemirror.modeURL
11 years ago
Matthias Bussonnier
c183aa5fe6
remove unused cm_loadmode
11 years ago
MinRK
8e863d951c
use require to load CodeMirror modes
...
CM's loadmode addon only works if you *don't* load CodeMirror itself with require.
11 years ago
MinRK
7aed2fbb55
fix this.editor reference
11 years ago
Matthias Bussonnier
dc912dbdbd
handle somehting selected and multiple cursors and 4 tabs show content in pager
11 years ago
Matthias Bussonnier
e0f19a386e
protect agains undefined
11 years ago
Matthias Bussonnier
804d89351b
rework keyboard management to avoit completer and up/down bugs
11 years ago
Matthias BUSSONNIER
5b355936df
Update to codemirror 4
...
Update to codemirror 4.6 and update most notebook to work wiht it
this include keyevent that where triggerd twice and the re-writing of
ipython-gfm anf ipython mode to work with require.
11 years ago
Jonathan Frederic
262bf7d2c9
Merge pull request #6673 from jhamrick/fix-tooltip
...
Fix broken show in pager button
11 years ago
Jessica B. Hamrick
685040427a
Fix broken show in pager button
11 years ago
MinRK
624f0071a2
remove on_first_message authentication
...
in ZMQStreams. No need for weird, special first message.
- use regular cookie auth
- use url param for session id
11 years ago
Min RK
63a7969123
Merge pull request #6416 from Carreau/foobarcode
...
Unify Text/CodeCell code.
11 years ago
Min RK
60bfcf8c74
Merge pull request #6665 from jdfreder/travis_please_run_on_this
...
Separate widget model name from com target name.
11 years ago
Jonathan Frederic
4b968ece0b
s/target_name/model_name
11 years ago
Matthias BUSSONNIER
9657a3f7cd
Generalise render/unrender to all cells type
...
Allow change of behavior in pure (custom) css.
11 years ago
Matthias Bussonnier
b2a0798fdf
Merge pull request #6598 from minrk/nbformat-backport
...
nbformat validation
11 years ago
Matthias Bussonnier
a8949405da
Merge pull request #6644 from minrk/trust-changed
...
trigger trust_changed properly on load
11 years ago
Matthias Bussonnier
65f41327c9
Merge pull request #6106 from chronitis/interact-slider-textedit
...
Allow text input on slider widgets
11 years ago
Matthias Bussonnier
7d7b85a043
Merge pull request #6649 from minrk/302-notebooks
...
redirect /api/notebooks to /api/contents
11 years ago
Matthias Bussonnier
fa11da9162
Merge pull request #6586 from jhamrick/kernel-session-js
...
Kernel and session javascript cleanup
11 years ago
Jonathan Frederic
24096b0f45
Separate widget model name from com target name.
11 years ago
MinRK
b87fee048c
redirect /api/notebooks to /api/contents
...
eases 2.x-3.x transition for consumers such as emacs-ipython-notebook
11 years ago
MinRK
b2d946d44e
don't convert notebooks on upload
11 years ago
MinRK
8392c7ac9e
don't check_and_sign old notebooks on upload
11 years ago
MinRK
4ae05c729c
trust is stored in code_cell.metadata
...
not top-level code_cell
11 years ago
MinRK
ddd3aa2a5a
add dialogs for failed save/load
...
- failed validation doesn't prevent save/load,
but the user is now warned about it.
- there is now a warning dialog if fromJSON fails,
rather than the usual silent failure.
11 years ago
Min RK
633b315a87
Merge pull request #6658 from Carreau/less-175
...
pin less to less than 1.7.5
11 years ago
Jessica B. Hamrick
b650c56a66
One more this/that change
11 years ago
Jessica B. Hamrick
bbb9edf374
Fix bugs with this and that
11 years ago
Jessica B. Hamrick
37c2419c5e
Rename all status_event to kernel_event
11 years ago
Jessica B. Hamrick
40ebe5d816
Make kernel dialogs be a special type of dialog
11 years ago
Jessica B. Hamrick
8f28134a89
Keep trying to reconnect
11 years ago
Jessica B. Hamrick
205a35ceec
Fix equals sign and clarify where the number of restart attempts comes from
11 years ago
Jessica B. Hamrick
e5a5bdcdd3
Handle and test for failed restart in session.js
11 years ago
Jessica B. Hamrick
29e6885b60
Test for autorestart and failed autorestart
11 years ago
Jessica B. Hamrick
f2ad4fc176
Better way to wait inbetween tests
11 years ago
Jessica B. Hamrick
fe2402f99d
Increase wait time between tests
11 years ago
Jessica B. Hamrick
7f8b95a661
Add status_ready.Kernel event and rename status_started to status_created
11 years ago
Jessica B. Hamrick
dea6b85f3c
Fix bug when clicking notification for kernel_dead.Session
11 years ago