5019 Commits

Author SHA1 Message Date
Brian E. Granger
94f717781d Merge pull request #6125 from jdfreder/flex
Embrace the flexible box model in the widgets
2014-08-20 14:15:22 -04:00
Jonathan Frederic
62bd36bcc9 s/that/this bug 2014-08-20 09:34:25 -07:00
Jonathan Frederic
be3ba35736 Fix typo in deprecated class name. 2014-08-20 09:34:05 -07:00
Jonathan Frederic
8877d32c4e Merge pull request #6194 from SylvainCorlay/immediate-widget-comm
Allow model id to be set externally on creation of the widget.
2014-08-19 14:33:03 -07:00
Jonathan Frederic
ed593f02f1 Merge pull request #6171 from tarzzz/slider-value-validate
Validate slider value, when limits change
2014-08-18 20:03:14 -07:00
Thomas Kluyver
fb00ee07b9 Merge pull request #6333 from minrk/tree-slash-redirect
allow slash in root->tree redirect
2014-08-18 11:11:54 -07:00
MinRK
7ee8403ed8 allow slash in root->tree redirect
before #6117, only `/base_url/` worked,
after #6117, only `/base_url worked,
after this PR, both should work.
2014-08-18 10:47:20 -07:00
Min RK
0539281c8a Merge pull request #6318 from minrk/tornado-4-error-html
use write_error instead of get_error_html
2014-08-16 11:43:29 -07:00
MinRK
568034c349 use write_error instead of get_error_html
get_error_html is removed in tornado 4.0
2014-08-15 13:41:13 -07:00
Jonathan Frederic
2790684a17 Fixed typo 2014-08-15 10:41:43 -07:00
Jonathan Frederic
a12b302597 renamed: widget_container.js -> widget_box.js 2014-08-15 10:37:46 -07:00
Jonathan Frederic
afdba2fd47 Fix logic, use box where applicable 2014-08-15 10:14:04 -07:00
Jonathan Frederic
9b5ece6661 Make popup inherit from widget box 2014-08-14 16:09:50 -07:00
Jonathan Frederic
371b12a9b0 Fab CSS 2014-08-14 15:53:13 -07:00
Jonathan Frederic
0aca365718 Address Sylvain's comments. 2014-08-14 15:51:41 -07:00
Tarun Gaba
258b888835 added 'var' 2014-08-15 02:59:28 +05:30
Tarun Gaba
dda92ff7ea Removed another stray alertO 2014-08-15 02:21:53 +05:30
Tarun Gaba
825186c868 Removed alert statement! 2014-08-15 02:19:26 +05:30
Tarun Gaba
539596bcdd adressed @jdfrederer's concern! 2014-08-15 02:18:38 +05:30
Jonathan Frederic
690059f8f8 Merge pull request #6296 from jasongrout/sync-hold
Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits
2014-08-14 12:45:19 -07:00
Min RK
9c7bb48014 Merge pull request #6289 from takluyver/git-hooks-bash
Use bash shebang line for git hooks
2014-08-14 11:46:18 -07:00
Thomas Kluyver
91fbd4d6fd Merge pull request #6303 from minrk/nbformat-error
Fix error message when failing to load a notebook
2014-08-13 17:46:59 -07:00
MinRK
6d542013a4 add utils.ajax_error_msg for extracting the JSON error message. 2014-08-13 14:40:51 -07:00
MinRK
cb3da26e61 display JSON error message on failed notebook load
if there is one (escaped for safety).
2014-08-13 14:27:12 -07:00
Jonathan Frederic
2db702fa57 Filenames s/container/box 2014-08-13 13:29:30 -07:00
Jonathan Frederic
d985ee86c6 s/Container/Box 2014-08-13 13:19:27 -07:00
Jonathan Frederic
865fb20c00 Merge pull request #6284 from jasongrout/patch-6
Default view should be the base widget view class
2014-08-12 13:06:59 -07:00
Jason Grout
5cd46788f9 Before syncing a widget's state, check first for the property lock, then for the widget state lock 2014-08-12 18:23:57 +00:00
Jason Grout
af26d9cc24 Add a new context manager, Widget.hold_sync(), which holds any syncing until the manager exits
Sometimes for consistency or efficiency purposes, it makes sense to update
a group of properties all at once.  This context manager makes this possible.

We also fix a bug where send_state was not passing the key on to get_state.
2014-08-12 17:29:41 +00:00
Thomas Kluyver
e60f8bdda1 Merge pull request #6228 from jdfreder/eventful-list-dict
Add EventfulList and EventfulDict trait types.
2014-08-11 18:09:04 -07:00
Sylvain Corlay
f9fa4ada06 allowing widet id to be set externally 2014-08-11 18:36:59 +00:00
Jason Grout
8513f673e3 Make the widget comm attribute more straigtforward
Instead of automagically instantiating a comm when it is accessed, require a call to open().  This makes the comm attribute much less magical, and hopefully more understandable.
2014-08-11 18:36:59 +00:00
Jason Grout
16c366d1b5 Automatically open a comm on creation of widgets
This will immediately create a model on the javascript side when a widget is created.  This means that, for example, a widget that only interacts with its model can work without "displaying" it.
2014-08-11 18:30:26 +00:00
Thomas Kluyver
d6517f51c3 Git hooks use bash specific syntax 2014-08-10 17:26:54 -07:00
Jonathan Frederic
848c223785 Rebase cleanup 2014-08-08 15:00:22 -07:00
Jonathan Frederic
36721c73c6 Added some doc strings on the widgets.
Also address the comments Matthias left me.
2014-08-08 14:57:51 -07:00
Jonathan Frederic
dbb88f95cd Make HBox and VBox helper functions 2014-08-08 14:57:51 -07:00
Sylvain Corlay
c9ed512d54 adding hbox and vbox
Conflicts:
	IPython/html/static/widgets/js/widget_container.js
	IPython/html/widgets/widget_container.py
2014-08-08 14:57:51 -07:00
Jonathan Frederic
170b13102e Fix interact tests for rename 2014-08-08 14:56:11 -07:00
Jonathan Frederic
ba3033971e Renamed *Widget to *,
depracted old names.
2014-08-08 14:56:11 -07:00
Jonathan Frederic
37f00f73d7 Added baseline and stretch 2014-08-08 14:56:10 -07:00
Jonathan Frederic
6faf86ee77 Embrace flexible box model 2014-08-08 14:56:10 -07:00
Jason Grout
d64627380b Default view should be the base widget view class 2014-08-07 13:12:15 -04:00
Thomas Kluyver
8b4f30d8d1 Merge pull request #6280 from ivanov/mistune
nbconvert requires mistune
2014-08-06 16:25:43 -07:00
Paul Ivanov
6162c99028 nbconvert requires mistune
You get a cryptic error message from iptest if mistune is not installed.

Test group: nbconvert
E
======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'nbconvert')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 403, in loadTestsFromName
    module = resolve_name(addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/util.py", line 321, in resolve_name
    obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'nbconvert'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1
2014-08-06 15:37:29 -07:00
Jonathan Frederic
6026ef45d2 Merge pull request #6266 from Carreau/fix-lgw-css
fix loginwidget css
2014-08-06 10:56:41 -07:00
Jonathan Frederic
cffe958e4c s/this/self 2014-08-04 14:22:16 -07:00
Jonathan Frederic
d31655f50a kwarg on_events and hardcoded callbacks 2014-08-04 14:22:16 -07:00
Jonathan Frederic
e4860ae075 Use ternary operator for callback registration 2014-08-04 14:22:16 -07:00
Jonathan Frederic
22e210e981 Added on_events convinience method 2014-08-04 14:22:16 -07:00