Jessica B. Hamrick
504f0b4d9d
Add docstring to Session.restart
11 years ago
Jessica B. Hamrick
c43e06bbc4
Add test for kernel_dead.Session
11 years ago
Jessica B. Hamrick
42e863db8c
Remove debugging statements
11 years ago
Jessica B. Hamrick
01ba501b88
Fix event tests
11 years ago
Jessica B. Hamrick
9180004fd1
Better way of logging events
11 years ago
Jessica B. Hamrick
8d4c9e7f30
Add tests for events
11 years ago
Jessica B. Hamrick
fa718fc8d2
Use Session.restart in Notebook.start_session
11 years ago
Jessica B. Hamrick
d5a4dec6c3
Add restart function to session
11 years ago
Jessica B. Hamrick
42a9a1f46d
Make kernel js events clearer and more consistent
11 years ago
Jessica B. Hamrick
f77e60764e
Use session.delete rather than kernel.kill
11 years ago
Jessica B. Hamrick
951d9a7249
Don't actually change kernel constructor signature
11 years ago
Jessica B. Hamrick
05611569ec
Add docstrings to kernel.js
11 years ago
Jessica B. Hamrick
4aa66d09dd
Add docstrings to session.js
11 years ago
Jessica B. Hamrick
2dbfc30934
Add no_kernel.Kernel event
11 years ago
Jessica B. Hamrick
d606d53b4e
More informative error messages
11 years ago
Jessica B. Hamrick
999daf041c
Handle query string in Kernel.start
11 years ago
Jessica B. Hamrick
b9cf034d51
Add some more kernel tests
11 years ago
Jessica B. Hamrick
befe8eb720
Update session tests
11 years ago
Jessica B. Hamrick
99f686918b
Fix kernel and session tests
11 years ago
Jessica B. Hamrick
741b2e97b1
Only set channels to null when they are fully closed
11 years ago
Jessica B. Hamrick
a601531e1c
Move channels into their own object
11 years ago
Jessica B. Hamrick
cf98a0a5a0
Better respect for abstraction barriers
11 years ago
Jessica B. Hamrick
2f3d8617b4
Fix shutdown test
11 years ago
Jessica B. Hamrick
ade7692ccd
Fix bugs in kernel.js
11 years ago
Jessica B. Hamrick
3dfe601a8f
Fix session references in toolbar and menubar
11 years ago
Jessica B. Hamrick
9f1574eb6c
User correct check for whether kernel is running in tests
11 years ago
Jessica B. Hamrick
bd3c553d44
Fix messages received by notification area
11 years ago
Jessica B. Hamrick
bd16964276
Clean up kernel.js
11 years ago
Jessica B. Hamrick
c0eb372612
Fix bugs introduced into session.js
11 years ago
Jessica B. Hamrick
3f00b88baa
Fix reference to session in notebook.js
11 years ago
Jessica B. Hamrick
8d76a40677
Clean up session class
11 years ago
Bussonnier Matthias
32bcaac5e2
pin less to less than 1.7.5
...
1.7.5 drop all vendor-prefixed values that are set to the default value
of most browser leading to huge change in the number of lines in css and
pain everywhere.
11 years ago
MinRK
1da7562d55
trigger trust_changed properly on load
...
event signature was not consistent
11 years ago
Mateusz Paprocki
ff5b4c6874
Test IPython.utils.fixConsole() (really ansispan())
11 years ago
Mateusz Paprocki
ba54e020a3
Use more yellowish color for ansiyellow
11 years ago
Mateusz Paprocki
904216d546
Fix ansispan() to ignore stray [0m
11 years ago
Jonathan Frederic
d2df98ce1a
Fix conflict with d1305d7510cc3
11 years ago
Manuel Riel
a490488f62
remove commented-out code
11 years ago
Manuel Riel
67f2322a8c
simplify bin-file test
11 years ago
Manuel Riel
0e95bd9eda
remove unused import in test_files.py
11 years ago
Manuel Riel
4a5c7ebb25
remove unused import
11 years ago
Jonathan Frederic
032300ea49
Merge pull request #6645 from jdfreder/css_order
...
Make sure DOMWidget _css is set after basic style traits
11 years ago
Thomas Kluyver
95b857b679
Merge pull request #6637 from minrk/notice-python-error
...
Check for Python errors in js tests
11 years ago
Thomas Kluyver
6163656f28
Merge pull request #6634 from minrk/select-contains
...
don't use contains in SelectWidget item_query
11 years ago
Jonathan Frederic
176529cce2
Make sure DOMWidget _css is set after basic style traits
11 years ago
Matthias Bussonnier
cfbd65d808
Merge pull request #6640 from jhamrick/ui-tour
...
Fix icons and typos in ui tour
11 years ago
Jessica B. Hamrick
27562308b1
Fix button alignment/size
11 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
11 years ago
Jessica B. Hamrick
9ee37de1db
Fix icons and typos in ui tour
11 years ago
MinRK
845c7b4700
Check for Python errors in js tests
...
When running a cell in the js tests,
this checks for any errors and treats them as a failure.
Helps avoid confusion caused by silently ignoring failures in Python code.
11 years ago
MinRK
6740d0492e
don't use contains in SelectWidget item_query
...
gives false positive matches when some values are substrings of others
11 years ago
Manuel Riel
c5069fe1fd
remove redundant abs_path
11 years ago
Manuel Riel
fc59a1b927
use ContentManagers own is_hidden() function
11 years ago
Thomas Kluyver
825284bc6d
Remove superfluous error checking
11 years ago
Manuel Riel
28d4444def
2 checks for python2 and python3)
11 years ago
Manuel Riel
bb8e33d70d
fix bin-file test in ipython3
11 years ago
Manuel Riel
775ea55206
another shot at bin-tests on python3
11 years ago
Manuel Riel
e75cfa24df
make base64 decoding ipython3 compatible
11 years ago
Manuel Riel
c6d548fbeb
correctly handle base64 and json, improve bin-file test
11 years ago
Jonathan Frederic
438dc56ea6
Merge pull request #6617 from SylvainCorlay/selection
...
Selection Widgets: forcing 'value' to be in 'values'
11 years ago
Manuel Riel
dc352a334b
Use \xFF in bin file test
11 years ago
Manuel Riel
2268268a9d
add tests for file download via ContentsManager
11 years ago
Thomas Kluyver
590ba19ac3
Clean up some JS code
11 years ago
Thomas Kluyver
1ff846520b
Put callbacks for create_view and create_child_view in options
...
And add errback support
11 years ago
Thomas Kluyver
c4a9cf9020
Fix logic
11 years ago
Thomas Kluyver
09b10dcb86
Make changes suggested by @jdfreder
11 years ago
Thomas Kluyver
5953a3f874
Allow widget views to be loaded from require modules
...
This required refactoring things that create widget views to use
callbacks instead of return values.
11 years ago
Manuel Riel
36c1a145e9
add new FilesHandler class
11 years ago
Manuel Riel
2b4cbbfea2
add new FilesHandler to serve files from ContentsManager.
11 years ago
Matthias Bussonnier
e808d23594
Merge pull request #6607 from minrk/cluster-load-remove
...
remove deleted profiles from cluster list
11 years ago
Matthias Bussonnier
ffc574d4dd
Merge pull request #6596 from minrk/stream-text
...
msgspec 5: stream.data -> stream.text
11 years ago
Matthias Bussonnier
e504ea6d1f
Merge pull request #6608 from minrk/rm-delayed-callback
...
stop using deprecated DelayedCallback
11 years ago
Matthias Bussonnier
b0cecaf91b
Merge pull request #6606 from minrk/logname
...
use app name on tornado log statements
11 years ago
Sylvain Corlay
54a36e7369
forcing value to be in values
11 years ago
Jason Grout
7700848737
Add semantic classes to top-level containers for single widgets
...
This makes it much easier to customize all widgets of a certain type using
CSS. For example, to change just the IPython widget selects, a CSS
rule like .widget-select select {...} should work well.
11 years ago
MinRK
ee1d9d65f3
stop using deprecated DelayedCallback
...
in favor of simpler IOLoop.add_timeout
It was added in pyzmq, but deprecated in pyzmq-13.
11 years ago
MinRK
1f231f7b5a
remove deleted profiles from cluster list
11 years ago
MinRK
84a72ae87a
use app name on tornado log statements
...
avoids mixture of 'tornado.access' and 'NotebookApp'
11 years ago
Sylvain Corlay
8a384cd489
adding a tooltip in IPython buttons
11 years ago
Matthias Bussonnier
0d9db64180
Merge pull request #6582 from jdfreder/symmetric_state
...
Symmetric widget get/set_state
11 years ago
Matthias Bussonnier
eeb9cb0209
Merge pull request #6558 from jhamrick/kernel-start-failure
...
Handle kernel start failures more gracefully
11 years ago
Jessica B. Hamrick
1d6359f970
Use codemirror for error messages
11 years ago
Min RK
28edb94897
Merge pull request #6488 from jhamrick/lock-cells
...
Proof of concept for preventing cell deletion via metadata
11 years ago
MinRK
f69b1b15a3
msgspec 5: stream.data -> stream.text
11 years ago
Bussonnier Matthias
0dcce32de7
use standard html
11 years ago
Gordon Ball
48b6f53f51
Require base/js/keyboard and use keycode.enter
11 years ago
Jessica B. Hamrick
60b18ad23e
Fix ReferenceError in js tests, fixes #6542
11 years ago
Jonathan Frederic
60bf0f5b2f
s/apply_update/set_state
11 years ago
Jonathan Frederic
852ec2ab69
s/_handle_receive_state/set_state in tests too
11 years ago
Jonathan Frederic
f83140dae8
s/long thing/set_state
11 years ago
Jessica B. Hamrick
6bc5702398
More descriptive short message
11 years ago
Jessica B. Hamrick
6a8cae2913
Don't pop up modal dialog
11 years ago
Jessica B. Hamrick
d0e942213d
Always show the modal dialog, and have a fallback generic message
11 years ago
Jessica B. Hamrick
46e40e5ea1
Return a proper JSON object
11 years ago
Jessica B. Hamrick
5e1e8a116c
Use 501 error code instead of 400
11 years ago
Jessica B. Hamrick
c4a89cd54d
Better user experience when kernel isn't found
11 years ago
Jessica B. Hamrick
5ba858fc7c
Remove 'we' from message
11 years ago
Jessica B. Hamrick
263181c416
Report the exact error that occurred
11 years ago
Jessica B. Hamrick
58fcb3abb9
Show the user a different notification
11 years ago
Jessica B. Hamrick
cfc234dc89
Handle NoSuchKernel errors more gracefully
11 years ago
Min RK
780ceee03a
Merge pull request #6415 from Carreau/move-md-show-logic
...
Move md-cell display logic to css
11 years ago
Matthias Bussonnier
4c480e3ca1
Merge pull request #6573 from Carreau/drop-2.6
...
Drop some 2.6 workaround.
11 years ago
Matthias Bussonnier
a940971866
Merge pull request #6568 from minrk/remember-kernel
...
Make default kernel configurable
11 years ago
MinRK
a060056e36
remove unused dateformat
...
we are using moment.js for dates now
11 years ago
Matthias Bussonnier
9155675440
drop more 2.6 hacks
11 years ago
Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
11 years ago
Matthias Bussonnier
2d490858e5
Merge pull request #6544 from jhamrick/notification-widget
...
Clean up notification widget
11 years ago
sylvain.corlay
60925f0a1a
hasOwnProperty
11 years ago
MinRK
072bcdc484
allow kernel_name to be undefined in js
...
Falls back to KM.default_kernel_name,
as configured server-side.
11 years ago
Doug Blank
6c3d40bbcd
Update documentation for functions that can return null
11 years ago
MinRK
974d45343e
allow kernel_name to be undefined in requests
...
fallback to KM.default_kernel_name in that case
12 years ago
Doug Blank
3997769def
Fixed off by one error in get_prev_cell
...
Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
12 years ago
Jessica B. Hamrick
9c1e7fa2eb
Clarify stickiness of warning/danger notifications
12 years ago
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
12 years ago
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
12 years ago
Jessica B. Hamrick
6f49f4b78e
Add tests for notification area and widgets
12 years ago
Jessica B. Hamrick
e68f6e585a
Small changes to notification widget
12 years ago
Jessica B. Hamrick
2c5a10a6e0
Add documentation to notification area
12 years ago
Jessica B. Hamrick
5769a5bd97
Add documentation to NotificationWidget methods
12 years ago
Jessica B. Hamrick
180dd71e81
Allow timeout and click callback
12 years ago
Jessica B. Hamrick
756d4063c3
Fix tests
12 years ago
Jessica B. Hamrick
10d500525a
Make cell be undeletable ONLY when metadata is explicitly false
12 years ago
Jessica B. Hamrick
a018cb4299
Add tests for undeletable cells
12 years ago
Jessica B. Hamrick
990425f034
Handle 'deletable' cell metadata
12 years ago
Jonathan Frederic
341527779b
Fix notify_trait getting called too early.
12 years ago
Thomas Kluyver
3cb8c5a0a1
Merge pull request #6532 from SylvainCorlay/barewidgetmodels
...
Fix Issue #6530
12 years ago
Matthias Bussonnier
4609465161
Merge pull request #6472 from parleur/master
...
Keep metadata through celltype changes
12 years ago
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
12 years ago
Thomas Kluyver
f420cdf3e7
Make comm_manager a property of kernel, not shell
12 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
12 years ago
Gordon Ball
3ec873b084
Change _parse_text_input to _parse_value and update float range regex
12 years ago
Gordon Ball
3011820cd3
Add support for parsing pairs of numbers for range sliders
12 years ago
Gordon Ball
67630b0886
Ignore the event object for handleTextChange
12 years ago
Gordon Ball
0f7fbc0781
Add keydown listener to commit changes on <enter>
12 years ago
Gordon Ball
0b45bacd0d
Add support to the float slider
12 years ago
Gordon Ball
6a976cf2b6
Use contentEditable to allow modification via the the slider readout
12 years ago
Matthias Bussonnier
684d739d92
Merge pull request #6520 from minrk/comm-default
...
avoid copious warnings in interact tests
12 years ago
Sylvain Corlay
fb336de4ed
register bare views
12 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
12 years ago
Jonathan Frederic
9f3dfbc56c
Fix slidercolor on widget construction
12 years ago
Jonathan Frederic
d4d554052e
Address problems found in in-person review
12 years ago
Brian E. Granger
1e8b4ee586
Merge pull request #6051 from chronitis/interact-widget-on-demand
...
Interact on_demand option
12 years ago
Matthias Bussonnier
56d48e2892
codemirror rempo moved, update links in comments
12 years ago
Jonathan Frederic
aa04d40a8d
Added test
12 years ago
Matthias Bussonnier
633dbc8131
Merge pull request #5844 from jdfreder/scrollmanager
...
'Paul' scroll feature
12 years ago
Jonathan Frederic
f81d88aebf
fab css
12 years ago
Jonathan Frederic
a7e7f95ef1
Remove forgotten hreadout
12 years ago
Jonathan Frederic
b1c1e3533a
fab css
12 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Jonathan Frederic
6637b768cc
Merge pull request #6463 from SylvainCorlay/bulk_update
...
Bulk update of widget attributes
12 years ago
Min RK
bfdb098d76
Merge pull request #6495 from Carreau/expandpath
...
Expand user home path in template search path.
12 years ago
MinRK
ec4d3597c7
avoid copious warnings in interact tests
...
comm was mocked out, but in a way that makes traitlets complain
12 years ago
Sylvain Corlay
cd782c916d
state_lock loop
12 years ago
Gordon Ball
48e1a0b2bc
s/choose/manual/g
12 years ago
Jonathan Frederic
46cefe28a9
Merge pull request #6497 from SylvainCorlay/_ws_opened
...
status_started.Kernel was never triggered
12 years ago
MinRK
979b8dd9db
actually use new tornado_settings
...
instead of deprecated webapp_settings
12 years ago
Sylvain Corlay
c4006f1439
status_started.Kernel was never triggered
12 years ago
Thomas Kluyver
ab13b8fde6
Merge pull request #6491 from minrk/tornado_settings
...
rename webapp_settings to tornado_settings
12 years ago
Min RK
6b0421f3d8
Merge pull request #6480 from minrk/origin-check-no-proto
...
only compare host:port in Websocket.check_origin
12 years ago
Matthias Bussonnier
2c65ea0416
Merge pull request #6431 from jhamrick/input_ui_focus
...
Register input with keyboard manager
12 years ago
Matthias BUSSONNIER
9d58482944
Expand user home path in template search path.
...
cause that pretty much always what you want to do if you have a `~` ina
path.
12 years ago
Jonathan Frederic
0bd868888e
Make HeadingScrollManager scroll to heading elements, not cells.
12 years ago
Sylvain Corlay
769e7fa108
rename to on_atomic_change
12 years ago
MinRK
d65244d34c
rename webapp_settings to tornado_settings
...
deprecate `webapp_settings`
More informative name to those who would actually use this feature.
It sets overrides for the tornado global `settings` object.
12 years ago
MinRK
4bc339bd95
better log messages when rejecting cross-origin requests
12 years ago
Jonathan Frederic
9831e6ea1b
Make the default the single page scroller.
12 years ago
Jonathan Frederic
c957cbc9c2
Set heading scroll manager as default scroll manager.
12 years ago
Jonathan Frederic
46eb5288bc
Scroll to all heading levels <= target level.
12 years ago
Jonathan Frederic
f6adf3e064
Fixed dumb typo,
...
forgot to update scrollmanager ref to scroll_manager.
12 years ago
Jonathan Frederic
3f9fea0328
Added comments clarifying scroll units
12 years ago
Jonathan Frederic
8c0c04910b
options bug fix
12 years ago
Jonathan Frederic
3ff4d4c16e
Address review comments
12 years ago
Jonathan Frederic
27058f4804
Removed ScrollManager selector combo.
12 years ago
Jonathan Frederic
e843a3d0e4
Fixed rebase indents
12 years ago
Jonathan Frederic
8617696c5b
Added heading and slideshow scroll managers
12 years ago
Jonathan Frederic
7e7683a587
Added scroll mode selector,
...
fixed rebase conflicts.
12 years ago
Jonathan Frederic
62a21b0e6f
Add ScrollManager to global ipy namespace in main.js instead of,
...
in the bottom of the scroll manager js file.
12 years ago
Jonathan Frederic
5c5025f3b6
Added smooth scroll to replace std browser behavior.
12 years ago
Jonathan Frederic
c2d72353a2
Fixed bug
12 years ago
Jonathan Frederic
617f078165
Make slideshow toolbar add classes to modified cells.
12 years ago
Jonathan Frederic
06ad682d68
Add scrollmanager
12 years ago
Min RK
a712e079b4
Merge pull request #6483 from jhamrick/fix-heading-anchors
...
Trim anchor link in heading cells, fixes #6324
12 years ago
Jonathan Frederic
591b2b3ad7
Tabs->Spaces
12 years ago
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
12 years ago
Jonathan Frederic
0acd8daf71
Merge pull request #6438 from SylvainCorlay/model_destroy_message
...
Destroy backbone model on comm:close
12 years ago
Sylvain Corlay
e809fcb545
stop listening
12 years ago
Jessica B. Hamrick
d46606a48b
Trim anchor link in heading cells, fixes #6324
12 years ago
Jonathan Frederic
9c1c4f9f0a
Fix bug in bounded int/float logic.
12 years ago
MinRK
d06e337881
only compare host:port in Websocket.check_origin
...
don't include protocol
- matches tornado's own behavior
- avoids incorrect 403 in http-behind-https proxy situations.
12 years ago
Sylvain Corlay
75cb63fba2
Adding a comment and renaming on_bulk_change to on_change
12 years ago
Sylvain Corlay
06747c1ada
simplification of trigger destroy
12 years ago
Jonathan Frederic
4495fa5246
Merge pull request #6437 from weichm/patch-1
...
"event" is not defined error in Firefox
12 years ago
Jonathan Frederic
78db5dc24e
Merge pull request #6377 from jasongrout/fix-widget-prefix
...
Strip the IPY_MODEL_ prefix from widget IDs before referencing them.
12 years ago
Pierre Gerold
406860fd35
Typo and presentation
12 years ago
Pierre Gerold
98f2d989b6
Modify cells converter funcs to keep metadata through
12 years ago
Richard Everson
be80e62340
Check time of last ping before timing out a missing pong.
12 years ago
Sylvain Corlay
222dc5fb3e
Destroy backbone model on comm:close
12 years ago
sylvain.corlay
e77b21cb22
optimization of WidgetModel.apply_update
12 years ago
sylvain.corlay
6eea0c37aa
Added on_bulk_change method in WidgetModel
12 years ago
Jason Grout
78ae8b36c5
Fix several small bugs in the notebook trust framework
...
1. The trust dialog is not called with the notebook context, so we have to use the closure to bind to a notebook event.
2. Replace != with !==
3. The trust_changed.Notebook event default handler expects the trust value to be value key inside an object. In fact, the event handler is redundant with the code--both seem to set the trust value of the current notebook.
12 years ago