286 Commits (6eda2d80f96c331d8eeb380fe763714cfef2c4e9)

Author SHA1 Message Date
Jonathan Frederic 8a5770b811 Add convenience API
11 years ago
Jonathan Frederic e02a5ec201 Promises...
11 years ago
Jonathan Frederic d466601dbb Persistence API,
11 years ago
Min RK befb16ebe3 Merge pull request #6948 from bollwyvl/graceful-mathjax-widgets
11 years ago
Jonathan Frederic e519371402 Merge pull request #7093 from jasongrout/model-views
11 years ago
Nicholas Bollweg (Nick) 83757b6a0e moving typeset to utils, usage in cell and outputarea
11 years ago
Jason Grout 9ca509d915 Merge remote-tracking branch 'public-upstream/master' into links-rebase
11 years ago
Nicholas Bollweg (Nick) c95a9aaf80 accept node or selection
11 years ago
Nicholas Bollweg (Nick) b17a40d950 moving typeset to DOMWidgetView
11 years ago
Nicholas Bollweg (Nick) 57f05c4a2b reversing order of arguments, as text may already exist
11 years ago
Nicholas Bollweg (Nick) 00fc31b0a8 also setting text in widget.typset
11 years ago
Nicholas Bollweg (Nick) 9cd878cf0f moving, checking MathJax typesetting to WidgetView
11 years ago
Jason Grout 26bec1ad36 Add None as a widget visible value to allow for visiblity: hidden
11 years ago
Jonathan Frederic 5a9e4d7986 Manual fixes
11 years ago
Jonathan Frederic b53386b37b Ran function comment conversion tool
11 years ago
Jason Grout 13c1b95fbd Make the model.views dict a dict of promises for views
11 years ago
Jason Grout 63f8566c6f Wait for any promises returned by a view's render method before considering the view created
11 years ago
Jason Grout 3c98127f7c remove obsolete optimization
11 years ago
Jason Grout e6a8ef00e0 Catch errors after our then()s, instead of in parallel with them (this missing exceptions)
11 years ago
Jason Grout efe7098a60 Fix viewlist to use promises correctly
11 years ago
Jason Grout 9553f30222 Update widget selection containers to reflect how viewlist works
11 years ago
Jason Grout 247ebf16f0 Add comments emphasizing the order of steps in widget box remove() methods
11 years ago
Jason Grout e7065d5a9f Remove obsolete logic: storing references to child views in a view
11 years ago
Jason Grout 53472ba91b reimplement the add/remove class logic to not use do_diff and remove do_diff
11 years ago
Jason Grout 1e8b2473b3 Merge branch 'viewlists' of https://github.com/jasongrout/ipython into viewlists
11 years ago
Jason Grout 05d013db59 At least log an error if there is no create or remove defined.
11 years ago
Jason Grout bc0cb3c8b5 Do something about do_diff being used for the class stuff in widgets
11 years ago
Jason Grout 88084db35d Return the viewlist from the update promise so that you can use it immediately.
11 years ago
Jonathan Frederic d181172948 Implement view logic in selection containers.
11 years ago
Jason Grout 307a320284 tweak documentation for viewlists
11 years ago
Jason Grout 93f658bc9b Make a copy of the input list so that changes to the children list don't automagically change our reference list
11 years ago
Jason Grout 7658bab99f Missing semicolon
11 years ago
Jason Grout a6b901fdd3 Make state_change initialization more conventional
11 years ago
Jason Grout 0164fd32ca Make error messages more consistent
11 years ago
Jason Grout 88ed50afad Refactor the do_diff and manual child view lists into a separate ViewList object
11 years ago
Jason Grout 2b96a97118 Simplify error-handling code
11 years ago
Jason Grout da8cab76dd Clean up promises code some more.
11 years ago
Jonathan Frederic db2ef15b81 Address @carreau 's comments
11 years ago
Jonathan Frederic d033d6c1ea Make output widget reactive.
11 years ago
Jonathan Frederic a5779bcd0e Output Widget
11 years ago
Matthias Bussonnier 0ee990614d Merge pull request #6923 from SylvainCorlay/toggle_button_tooltip
11 years ago
Thomas Kluyver 7cf7d3f202 Merge pull request #6818 from jdfreder/race_conditions
11 years ago
Jonathan Frederic f9d730d01e Address @takluyver 's review comments
11 years ago
Jonathan Frederic 907bde3b25 Address review comments
11 years ago
Jonathan Frederic 3c949aad92 Remove message promise.
11 years ago
Jonathan Frederic 0d591619c6 Make all tests async display safe
11 years ago
Jonathan Frederic 56c5020a84 bool_test passing with slimerjs
11 years ago
Jonathan Frederic bed3a4cfda use es6
11 years ago
Jonathan Frederic 8c149c9112 Current state with lots and lots of debugging junk
11 years ago
Jonathan Frederic b3c49fce66 Move the display Promise into a lower level method,
11 years ago
Jonathan Frederic fed878fed9 Don't throw Errors with Objects as the message/
11 years ago
Jonathan Frederic bbcd5cb55f Bug fixes
11 years ago
Jonathan Frederic 3870bb571b Use rsvp.js for Promises
11 years ago
Jonathan Frederic c67dcc0dc3 Finished adding error handling.
11 years ago
Jonathan Frederic 1d1572421f Add a WrappedError class
11 years ago
Jonathan Frederic b16b2e8749 Make display also pend on set_state.
11 years ago
Jason Grout a4331a93cc Fix some this vs. that errors, as well as returning some promises to wait for fulfillment
11 years ago
Jason Grout 8e769a012f Load the utils module
11 years ago
Jason Grout 1b9948d178 Add some error handling for creating views and models
11 years ago
Jason Grout 686e73dfdf More simplifications due to promises
11 years ago
Jason Grout 4412c12929 Simplify code by using Promises in a better way; try_load -> load
11 years ago
Jonathan Frederic c41dcb35e9 Proxy console.error calls
11 years ago
Jonathan Frederic 5a745be138 Add Promise support to models.
11 years ago
Jonathan Frederic 78c0bbdb4d Fix view rendering order.
11 years ago
Jonathan Frederic 4beda5d0fb Initial stab at adding promises to the widget framework.
11 years ago
Jason Grout ff680583c1 initial take on promises
11 years ago
Jonathan Frederic ba9e7365be Fix #6385
11 years ago
Min RK f569ccc58f Merge pull request #6920 from SylvainCorlay/serialize_date
11 years ago
Sylvain Corlay 7ac82931ca Tooltip on toggle button
11 years ago
Sylvain Corlay 54d6d18baf Correct height for checkbox widget
11 years ago
Sylvain Corlay 604d0bb666 A String is an object
11 years ago
Sylvain Corlay 4b6c753f3f Dates are JavaScript objects, and _pack_models returns an empty object
11 years ago
Jonathan Frederic ba77877c18 Rebase fixes
11 years ago
Jonathan Frederic db10ae8f2d s/target_name/widget_class
11 years ago
Jonathan Frederic 3cb5ac6fbb Clarified API for the create_model function,
11 years ago
Jonathan Frederic a68df8a8b1 Address @minrk 's review comments.
11 years ago
Jonathan Frederic fbca0bfa3f Rebase fixes.
11 years ago
Jonathan Frederic 5a655b24da Fixed typo.
11 years ago
Jonathan Frederic 2b5ebb9e8f Make Python push initial state.
11 years ago
Jonathan Frederic e7ee9c12b3 Enable widget instanciation from front-end.
11 years ago
Thomas Kluyver 031530da42 Support specifying requirejs modules for widget models
11 years ago
Jonathan Frederic 79670e8afb Merge pull request #6494 from takluyver/widget-comm-require
11 years ago
Sylvain Corlay 43d08b0795 fix alignment
12 years ago
Min RK 60bfcf8c74 Merge pull request #6665 from jdfreder/travis_please_run_on_this
12 years ago
Jonathan Frederic 4b968ece0b s/target_name/model_name
12 years ago
Matthias Bussonnier 65f41327c9 Merge pull request #6106 from chronitis/interact-slider-textedit
12 years ago
Jonathan Frederic 24096b0f45 Separate widget model name from com target name.
12 years ago
Jonathan Frederic 032300ea49 Merge pull request #6645 from jdfreder/css_order
12 years ago
Thomas Kluyver 6163656f28 Merge pull request #6634 from minrk/select-contains
12 years ago
Jonathan Frederic 176529cce2 Make sure DOMWidget _css is set after basic style traits
12 years ago
Jonathan Frederic 60531c917f Merge pull request #6481 from jdfreder/intvalidatefix
12 years ago
MinRK 6740d0492e don't use contains in SelectWidget item_query
12 years ago
Thomas Kluyver 825284bc6d Remove superfluous error checking
12 years ago
Thomas Kluyver 590ba19ac3 Clean up some JS code
12 years ago
Thomas Kluyver 1ff846520b Put callbacks for create_view and create_child_view in options
12 years ago
Thomas Kluyver c4a9cf9020 Fix logic
12 years ago
Thomas Kluyver 09b10dcb86 Make changes suggested by @jdfreder
12 years ago
Thomas Kluyver 5953a3f874 Allow widget views to be loaded from require modules
12 years ago
Jason Grout 7700848737 Add semantic classes to top-level containers for single widgets
12 years ago
Sylvain Corlay 8a384cd489 adding a tooltip in IPython buttons
12 years ago