Commit graph

3351 commits

Author SHA1 Message Date
Gandalf-the-Bot
6bf7be8887 Bundled output for commit fed0846a11 [skip ci] 2018-06-07 16:11:30 +00:00
Pierre-Yves Gérardy
fed0846a11 [docs] #2174 docs and change log 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
32b319d140 [render/hyperscript] Normalize to class attrs to className, ignore only nullish values 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
15cf47a829 [performance] use individual files rather than the build, revamp the attrs code to reduce variance, reset the scratch pad more reliably 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
8daa386e5e [render/test] add a render/hyperscript integration suite for classes 2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
92b22fe8e6 [render/hyperscript] have the attrs take precedence over the selector, improve class normalization
fix #1773
fix #2172
2018-06-07 18:09:38 +02:00
Pierre-Yves Gérardy
1a87cc44cd [performance testing] add classes in some selectors for the attrs test 2018-06-07 18:09:38 +02:00
Gandalf-the-Bot
4ca2b362f7 Bundled output for commit 3f5cabc5c5 [skip ci] 2018-06-01 19:28:42 +00:00
Pierre-Yves Gérardy
3f5cabc5c5 Chore: Normalize the way we use eslint-disable 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
6283aa4a7d [render/render] Test for removing styles and assorted domMock changes 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
1fdc9278c7 [benchmark] add consecutive nullish values to the attrs test 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
cfa128a5cd [render/render] make updateAttrs smarter about null values 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
4921083898 [render/render] Fix xlink:href handling 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
2469505b1b Move xlink:href test to the proper file 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
b39f4f683d [domMock] Better accuracy for namespaced elements 2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
5b51b682ee Improve attrs removal, fix #1804 2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
dc15acd791 Improve attrs setting performance
before:

> mutate styles/properties x 7,999 ops/sec ±10.87% (46 runs sampled)

after:

> mutate styles/properties x 16,104 ops/sec ±4.36% (66 runs sampled)
2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
4197cf0ae1 Enable the tests for #1804 2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
9016091adf [ospec] docs and change log 2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
14695c9cda [ospec] Allow more than one o.only() test 2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
a23216b987 [ospec] record errors thrown in tests as failures 2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
53597871b8 [ospec] don't allocate task for tests that will be skipped in o.only mode, fix stack overflow 2018-06-01 20:22:58 +02:00
Gandalf-the-Bot
277f35fb3a Bundled output for commit 285cb5382f [skip ci] 2018-05-29 21:52:06 +00:00
Pierre-Yves Gérardy
285cb5382f [render] cleanup and comments 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
144ce68192 [render/render] get rid of vnode.skip 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
e3b240032a [domMock] don't call public methods from DOM API methods (it messes up spying) 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
2cfc68359d [render/render] Introduce longest increasing subsequence-based node moves in keyed diff, fix #1791, fix #2026 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
95ec3d28aa test for the LIS-based diff 2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
24875832e9
[ospec] Document changes made to the result objects. 2018-05-29 23:02:23 +02:00
Gandalf-the-Bot
315b9f13fa Bundled output for commit 0484758837 [skip ci] 2018-05-29 20:44:39 +00:00
Pierre-Yves Gérardy
0484758837 [ospec] docs and change log tweaks 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
d05bc9be49 [ospec] make it clear the timeout parameter is deprecated. 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
4a4377e553 [ospec] Make the specTimeout tests hopefully less flaky 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
aa0f9eae98 [ospec] o.defaultTimeout => o.specTimeout, and documentation.
The timeout parameter is deprecated but will still work for now
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
25975c5ce4 [ospec] Restore the assertion success on async test finalization in time 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
8ebf036b8c [ospec] Improve the done() call checker 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
33180370ea [ospec] Change the reserved test name token from '__' to '\x01' 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
0574d193a0 [ospec] better variable name 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
285d00742d [ospec] Detect incomplete assertions 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
21a6a857ef [ospec] update change log 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
ad83d617e1 [ospec] replace ES6 std lib call with ES5 equivalent 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
e342805bfb [ospec] Add o.defaultTimeout() 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
9c1f8d5f35 [ospec] cleanup in code and tests, better error messages 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
e473536866 [ospec] cleanup o.only 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
f6e23da56c [ospec] update change log 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
8d78d493a7 [ospec] tests for the done() callback 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
64680425e7 [ospec] Add o.timeout() to set a timeout for Promise-based async tests 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
b292f75bd8 [ospec] don't count succesful async test termination as a test success 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
89b665fbf6 [ospec] revamp async testing finalization 2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
ff1a07df1b [ospec] give async timeouts a proper stack trace 2018-05-29 22:42:20 +02:00