Jonathan Frederic
2d13d05e9c
Replace O(N^2) algorithm with a faster one.
12 years ago
Jonathan Frederic
9e643f5692
Support multiple types in selection widget.
12 years ago
Jonathan Frederic
c9973a7114
Float widget views now inherit from int counterparts
12 years ago
Jonathan Frederic
2bb9ba9a9c
Adjusted throttling
12 years ago
Jonathan Frederic
9560b29beb
Removed float widget bound tests,
...
once the int widget inherits from the float, or vise-versa, the tests
will be covered by the int
12 years ago
Jonathan Frederic
1b8b6b3a88
Fixed bug where views child to other views would not have cell information
12 years ago
Jonathan Frederic
f06a0a7d5e
Fixed a couple more context typos
12 years ago
Jonathan Frederic
629d65da89
Fixed context errors and a couple of typos to get the tests working again
12 years ago
Jonathan Frederic
99f3f5155e
Fixed some typos related to _.each loops
12 years ago
Jonathan Frederic
d7b86104b8
Fixed typo - else -> elif
12 years ago
Jonathan Frederic
046280b51a
s/ModalView/PopupView
12 years ago
Jonathan Frederic
7ce9f37b17
Made tests reflect changes to widget naming scheme.
12 years ago
Jonathan Frederic
10bd54bd30
Move js *RangeWidget code into *Widget
12 years ago
Jonathan Frederic
e323f64e6d
Create base widget classes
12 years ago
Jonathan Frederic
b432b4840f
Use CUnicode for width and height in ImageWidget
12 years ago
Jonathan Frederic
c5e48c0b75
Added some small comments to widget code
12 years ago
Jonathan Frederic
80c3339791
- remove second line in create_child_view
...
- add undefined check in delete_child_view
12 years ago
Jonathan Frederic
58f56a5dd7
Explicitly return null if there aren't any results
12 years ago
Jonathan Frederic
08e40697de
Removed for () loops where necessary. Replaced with _.each
12 years ago
Jonathan Frederic
35a02a0436
Replace .html with .text everywhere possible
12 years ago
Jonathan Frederic
af4809bec4
Prefer JQuery to Underscore
12 years ago
Jonathan Frederic
d9a703d305
'create' should be handled in sync
12 years ago
Jonathan Frederic
2b27b4101b
Remove todo in apply update
12 years ago
Jonathan Frederic
e823d386ab
Fixed name conflict with _property_lock
12 years ago
Jonathan Frederic
077bd5c6ca
Added new CallbackDispatcher class
12 years ago
Jonathan Frederic
611614b6eb
Document in widget packing that vaues must be JSON-able.
12 years ago
Jonathan Frederic
cf05ef015a
ict comprehension and list comprehension in pack/unpack widgets
12 years ago
Jonathan Frederic
cb6094281c
s/custom_content/content
12 years ago
Jonathan Frederic
5fe860ed26
Added doc strings to properties in widget.py
12 years ago
Jonathan Frederic
1689eed2f6
Reorganized attrs in widget.py
12 years ago
Jonathan Frederic
097951a6b8
Remove residual tabs
12 years ago
Jonathan Frederic
b7cd129c37
Added a line that was accidently deleted during merge of 4e813c5
12 years ago
Jonathan Frederic
691cd56038
Change the callback logic so the order makes more sense:
...
*Now*
View calls Model which calls Widget Manager
*instead of *
View calls Widget Manager, which then the Model modifies right
before sync
12 years ago
Jason Grout
fe6edb26a6
Rewrite widget syncing
...
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
e17200a533
Widget require.js fix
...
The WidgetManager namespace is passed around instead of a
widget_manager instance...
12 years ago
Jonathan Frederic
c39050e642
Fixed widget_manager instance test.
12 years ago
Jonathan Frederic
469c865603
Added support for multiple kernels.
12 years ago
Jonathan Frederic
6871c8f9e0
Cherry pick of @jasongrout 's 2bc2f96.
...
Only merged changes to notebook and kernel... (see original comment below).
Separate the widget registry from the widget managers;
attach widget managers to kernels.
Yet to do: take care of clean-up when a kernel is deleted
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jason Grout
140d1872f7
Delete unnecessary save
12 years ago
Jason Grout
ce19a34d93
Pass the whole message into the widget manager display_view call
...
We do this so implementations can see metadata and any other things in the message, if they want.
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
12 years ago
Jason Grout
092e40df32
make the saving to python a method of the model, called with callbacks
...
Conflicts:
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jason Grout
24ec0da125
Fix the cell reference in views
...
This solution is kludgy, but it does fix what broke when we tried to take the cell references out of views.
Conflicts:
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
7cc6692fc4
Make dropdown view DOM swap elements on update.
12 years ago
Jonathan Frederic
82bf9c6826
Fix bug in all children containing views
12 years ago
Jonathan Frederic
d317532a38
Halign dict colons
12 years ago
Jonathan Frederic
bd3ba3328c
Added PEP8 style comments to all of the JS code.
12 years ago
Jonathan Frederic
7387f886c6
containers and selectioncontainers now only allow one of any single child
12 years ago
Jonathan Frederic
bfdebf9632
More PEP8 changes
12 years ago
Jonathan Frederic
bad85fb879
Remove O(N) cell by msg-id lookup
12 years ago
Jonathan Frederic
ff39989b8b
s/Int/CInt s/Float/CFloat
12 years ago