Brian E. Granger
ffe92842fc
Merge pull request #4853 from minrk/imgmd
...
fix setting image height/width from metadata
12 years ago
Brian E. Granger
bc7b51d1b0
Merge pull request #4374 from jdfreder/widget-msg
...
IPEP 23: Backbone.js Widgets
12 years ago
Jonathan Frederic
75b148d40b
Renamed widgets...
...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
12 years ago
Jonathan Frederic
5ed3a0ebc5
Simplify get_msg_cell function of notebook.js
12 years ago
Brian E. Granger
fd07bb54b6
Fixing shortcut counts to work for n>2.
12 years ago
Brian E. Granger
0af185787a
Added platform dep. logic.
12 years ago
Brian E. Granger
1af4bfb3ce
Misc work on shortcuts:
...
* shift+v for paste above.
* ii for interrupt
* 00 for restart
* All shortcuts can have a count field for multiple press.
12 years ago
MinRK
0d1536c390
use jQuery attr instead of setAttribute
...
when appending images.
This was an optimization with no apparent performance benefit.
12 years ago
Min RK
0b70f26f0e
Merge pull request #4655 from minrk/marked-nbconvert
...
prefer marked to pandoc for markdown2html
12 years ago
MinRK
dd2f4a25aa
quick review pass on javascript
12 years ago
MinRK
001e06103b
review pass on widgetmanager.js
12 years ago
MinRK
e6f84111cd
treat all falsy values the same in tooltip
...
undefined, null, and empty string are all treated the same.
12 years ago
MinRK
a7bd321648
don't show tooltip if object is not found
...
closes #4875
12 years ago
Jonathan Frederic
134413c89c
Fixed bug that prevented popup widget from displaying
12 years ago
Jonathan Frederic
c807dd29e4
Prevent TextBox from blurring unless explicity by user.
12 years ago
Jonathan Frederic
3026ddb52b
Fixed bug in throttling code.
12 years ago
Min RK
64421304c0
Merge pull request #4826 from Carreau/no-html
...
some $.html( -> $.text(
12 years ago
Jonathan Frederic
7c32616556
Moved keyboard_manager logic into a sep. function.
12 years ago
MinRK
f02b5bef21
fix setting image height/width from metadata
12 years ago
MinRK
848010e911
fix tooltip token regex for single-character names
...
closes #4808
12 years ago
Matthias BUSSONNIER
f5fa732bd3
avoid injection in input prompt
12 years ago
Jonathan Frederic
91e82218a8
Changed selection widget API to use labels list
...
for mapping custom str reprs to items in the selection list
12 years ago
Jonathan Frederic
7f12f35fea
Added code that removes the views when a model/widget is closed.
12 years ago
Jonathan Frederic
288b8a0ced
s/view_name/_view_name
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
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
046280b51a
s/ModalView/PopupView
12 years ago
Jonathan Frederic
10bd54bd30
Move js *RangeWidget code into *Widget
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
cb6094281c
s/custom_content/content
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
Matthias BUSSONNIER
149867e74c
some $.html( -> $.text(
...
Thoses that are obvious and easy to fix.
we shoudl have I think a travis test that grep for .html( and return
less than 20 lines :-)
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
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