renderjs:7171391d1a8a6af652f6e09ea2f21f112faf3a74 commitshttps://lab.nexedi.com/nexedi/renderjs/-/commits/7171391d1a8a6af652f6e09ea2f21f112faf3a742018-01-17T14:47:37+01:00https://lab.nexedi.com/nexedi/renderjs/-/commit/7171391d1a8a6af652f6e09ea2f21f112faf3a74URL polyfill for IE.2018-01-17T14:47:37+01:00Tristan Caveliertristan.cavelier@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/99929f72410450e5aa7c623a75a6b22cae1f7941Protect the changeState calls with the 'changestate' mutex.2018-01-17T14:47:36+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/0b307c5444c7b081f6085b166098cb2cfed87d74declareMethod: add a third options parameter to ease mutex usage.2018-01-17T14:47:36+01:00Romain Courteaudromain@nexedi.com
Example: rJS(window).declareMethod('getFoo', function () {}, {mutex: 'foo'})
It will prevent 2 concurrent execution of the getFoo calls.
The same mutex can be used by other methods if the same name 'foo' is used.https://lab.nexedi.com/nexedi/renderjs/-/commit/428d97dd822f68e31919badd1219f29b65174731Add mutex implementation.2018-01-17T14:47:36+01:00Romain Courteaudromain@nexedi.com
Mutex execution should be cancellable.
callback should always be cancellable without preventing the mutex to be released.https://lab.nexedi.com/nexedi/renderjs/-/commit/f7281a1e49d804b2dff6e79ac406d6678457637dJSlint: check more files2018-01-17T14:47:36+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/330bfff96d1cdb9cebc80a665a6ad27387660742Release version 0.16.22017-10-25T16:17:04+02:00Romain Courteaudromain@nexedi.com
Fix a memory leak.https://lab.nexedi.com/nexedi/renderjs/-/commit/fb8ef9d19b9d162beeba547d0254c9a36f962e04Add some test pages to check renderJS memory consumption.2017-10-25T16:11:56+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/6d7b391f2c5566b7603fe94c0efd7b24da521122Fix memory leak: do not use the same promise to instanciate all gadgets.2017-10-25T16:11:56+02:00Romain Courteaudromain@nexedi.com
Seems the .then method never realse the memory if the original promise is kept.
Manually create new promise instead each time.https://lab.nexedi.com/nexedi/renderjs/-/commit/e0a05c37bb840788f7822bce4b5b5a09b7994383Update renderJS website url2017-10-25T16:11:56+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/16183a961e2f61254e2fe427d30a4308a27e1675Promise progress channel is not used.2017-10-25T16:11:56+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/0c2428cadcf30757cb32000a742411a6b5b0ca6bGive a name to all anonymous functions.2017-10-25T16:11:56+02:00Romain Courteaudromain@nexedi.com
This will make JS stack more readable.https://lab.nexedi.com/nexedi/renderjs/-/commit/be0964751aafda3ef84563857bbf5616ebc96610Release version 0.16.12017-09-20T10:01:56+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/b1abe030eb2e28d8a61d4dcba0dc10c846cc81abrename README2017-09-12T15:17:23+02:00Sven Francksven.franck@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/renderjs/merge_requests/12" data-original="https://lab.nexedi.com/nexedi/renderjs/merge_requests/12" data-link="false" data-link-reference="true" data-project="118" data-merge-request="1363" data-project-path="nexedi/renderjs" data-iid="12" data-mr-title="rename README" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/renderjs!12</a>https://lab.nexedi.com/nexedi/renderjs/-/commit/70b63c78a7d61161416a859c408e29926a6511d9update README2017-09-12T14:20:48+02:00Sven Francksven.franck@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/renderjs/merge_requests/11" data-original="https://lab.nexedi.com/nexedi/renderjs/merge_requests/11" data-link="false" data-link-reference="true" data-project="118" data-merge-request="1359" data-project-path="nexedi/renderjs" data-iid="11" data-mr-title="update README" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">nexedi/renderjs!11</a>https://lab.nexedi.com/nexedi/renderjs/-/commit/83d1db174b70b2ce90716d6be722ac5fc6a1bcddonLoop: call the callback function with the gadget as 'this'2017-09-05T09:33:05+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/a5273d87369cf61b5a1fb1d926c6b13fcfd9b906Release version 0.16.02017-08-07T10:12:08+02:00Romain Courteaudromain@nexedi.com
Iframe: ensure all channels are OK before calling readyhttps://lab.nexedi.com/nexedi/renderjs/-/commit/229d2f017b41e97896c57a1fce9b748a8e0e868fTest: add expect for all tests2017-08-07T09:52:06+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/84bcf0e9f0d458b6a363022de2c25c08b6569e0eIframe: ensure all channels are OK before calling ready2017-08-07T09:52:06+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/987147b7247d9766a36d47739a0250f1ce785abeGrunt: dev is done on a remote server2017-08-07T09:52:06+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/048bf35a8be47811bc9aa91d8cf69d5cd6f27df0Package: freeze grunt-jslint2017-07-24T10:50:50+02:00Romain Courteaudromain@nexedi.com
Do not update jslint version which deprecates indentation options.https://lab.nexedi.com/nexedi/renderjs/-/commit/c6f8315c69d229f4fe226214bdcfc9a56255d75eRelease version 0.15.02017-06-26T10:53:41+02:00Romain Courteaudromain@nexedi.com
Add onLoop service.
Allow manualBootstrap.https://lab.nexedi.com/nexedi/renderjs/-/commit/14dbf92c85fe901ec838e03058b4b11313e4baccAdd onLoop service.2017-06-26T10:44:19+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/5606fe766152c68981e352f48235b37a4030ed6fAllow renderjs from JS only, without initial gadget-tag/script-tag2017-03-29T14:49:50+02:00Sebastian Kreiselsebastian.kreisel@nexedi.com
The inital loaded HTML does not contain anything of renderjs and gets added only after pageload.
Instead of registering init() for the DOMContentLoaded event directly, a deferred promise is used which gets resolve either by the event, or by a manual call of rJS.manualBootstrap().
Tests:
* injects rsvp/renderjs in a blank iframe
* makes sure renderjs is only present after it was injected
* calls manual bootstrap to initialzed renderjs
* creates small test gadget to ensure renderjs is working within the iframe (after bootstrap was executed)https://lab.nexedi.com/nexedi/renderjs/-/commit/38a9b387d4f2990354ac2ceefaffaac59a3a972cRelease version 0.14.12017-02-27T16:59:55+01:00Romain Courteaudromain@nexedi.com
onStateChanges bug fixeshttps://lab.nexedi.com/nexedi/renderjs/-/commit/07d8ddc69f16ec128d96619f194265d0715058d8trigger onStateChange when previous calls is finished2017-02-24T11:16:29+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/95726c33feffe8844cdbbd845aa8d5c5d9d7f7bePrevent calling onStateChange callback if not needed2017-02-24T09:52:33+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/32a5a8efe43ff8409a068a20faf888d2db6856f6Release version 0.14.02017-01-18T10:31:41+01:00Romain Courteaudromain@nexedi.com
Nearly drop iframe timeout.
Add reportGadgetDeclarationError acquired method.https://lab.nexedi.com/nexedi/renderjs/-/commit/bce5da919616143a2d79591c7200a4f261810591Ensure state initialization is done before the ready callbacks.2017-01-17T11:08:43+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/727a1ed884029328abad7c804643b18f683d9a67Add reportGadgetDeclarationError acquired method.2017-01-16T14:28:44+01:00Romain Courteaudromain@nexedi.com
This can be used to catched loading errors from HTML gadget declaration.
This will prevent the parent gadget to fail.https://lab.nexedi.com/nexedi/renderjs/-/commit/19ec19e93e5427d7871f197ec005822e1d8a9d80Iframe gadget: launch the timeout only after the iframe load.2017-01-13T15:16:11+01:00Romain Courteaudromain@nexedi.com
This should improve renderJS usage on slow network.https://lab.nexedi.com/nexedi/renderjs/-/commit/74505395d4739ea6b8fccb12847b8eba21977ea7Use 'this' in the ready function.2017-01-13T10:09:32+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/b3ca6f36ad13b215c8a1580fd954f57800af9a90Release version 0.13.02016-12-06T18:00:45+01:00Romain Courteaudromain@nexedi.com
Performance improvements.https://lab.nexedi.com/nexedi/renderjs/-/commit/8677f05a63d71882ed8c7ab982ef6debf0fae93fFetch JS dependencies in parallel.2016-12-06T17:58:32+01:00Romain Courteaudromain@nexedi.com
Allow browser to fetch the JS files in parallel.
Loading should stay synchronous.https://lab.nexedi.com/nexedi/renderjs/-/commit/098c272c815261433ff8d3d56ec3ac7aa5bf9286Use document fragment to aggregate DOM element.2016-12-06T17:55:54+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/8c2ac0ccd6c3f11755dbbc0873108d5302e1c6c2Allow to load multiple gadget HTML definition in parallel.2016-12-06T09:33:56+01:00Romain Courteaudromain@nexedi.com
Speed up loading the declarative sub gadget definition.https://lab.nexedi.com/nexedi/renderjs/-/commit/4dc97e6d46c7c57b19b2b90cb2cc704539df7c66Load gadget's JS and CSS in parallel.2016-12-05T15:09:06+01:00Romain Courteaudromain@nexedi.com
Use document fragment to add all dependencies with one DOM call only.https://lab.nexedi.com/nexedi/renderjs/-/commit/e78ac40281543e63a9fdcc82909e5302cd6abe9aSpeed up getAbsoluteURL2016-12-02T15:00:50+01:00Romain Courteaudromain@nexedi.com
Do not create a DOM document to calculate an URL.https://lab.nexedi.com/nexedi/renderjs/-/commit/beb63634363a7cdfce511c94555289f19d8974e2Release version 0.12.12016-11-24T11:21:57+01:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/renderjs/-/commit/21e6eb769195d0bcf6f579ede841852ada2cf48dAccumulate modification_dict on onStateChange error2016-11-24T10:06:33+01:00Romain Courteaudromain@nexedi.com
Resetting the internal gadget state leads to unexpecting errors, and so,
it was a bad idea.https://lab.nexedi.com/nexedi/renderjs/-/commit/183cb3625bc1a883e6ce9610fb105b68175aa515Release version 0.12.02016-11-23T11:14:07+01:00Romain Courteaudromain@nexedi.com