Commit graph

3351 commits

Author SHA1 Message Date
Gandalf-the-Bot
da0c5c9b9a Bundled output for commit 1579fe8430 [skip ci] 2018-05-29 09:54:58 +00:00
Barney Carroll
1579fe8430
Do not normalise component children on ingestion (#2155)
* Do not normalise component children on ingestion

* Don't normalise vnode children

* Component hyperscript tests: children aren't normalised

* test, not text

* Update change log: #2155 & #2064
2018-05-29 10:53:16 +01:00
Gilbert
0f498e0aec Fix stack trace edge case 2018-05-25 17:45:01 +02:00
Pierre-Yves Gérardy
64b1e47e66
Change log cleanup 2018-05-25 16:18:31 +02:00
Pierre-Yves Gérardy
2969b8323c ospec v2.1.0 2018-05-25 15:12:12 +02:00
Henry
4e35d0591c quick grammar fix (#2163) 2018-05-24 16:23:20 -10:00
Pierre-Yves Gérardy
562d680981 [ospec/bin] Back to ES5 (and complimentary cleanup), fix #2160 2018-05-24 18:57:04 +02:00
Pierre-Yves Gérardy
010d8daae9 [ospec] pinpoint the o.only() call site 2018-05-22 18:35:26 +02:00
Már Örlygsson
2794ceb76f [ospec] Make the default reporting nicer looking (#2147)
* feat(ospec): Add spacing before report results

...sometimes tested code emits console.log() messages
which then blend in with ospec's report

* feat(ospec): Reword and prettify the report messages

* feat(ospec): Make console.errors more compact, yet more readable

* docs(ospec): Update change-log.md

* fix(ospec): Fix grammar when number of assertions is 1

* feat(ospec): Make "all passed" message bright green

* refactor(ospec): define `cStyle()` helper for browser styling

* feat(ospec): Use en-dashes for the horizontal divider

* feat(ospec): Revert stacktrace coloring, make context bright red

...and add extra newline above each error - for readability
in commandline (node.js) mode

* feat(ospec): Improve the only-test-passed message

"1 assertion passed" --> "The 1 assertion passed"

* docs: Update LOC count
2018-05-22 18:19:54 +02:00
Gandalf-the-Bot
11940b427b Bundled output for commit 6097cfb2e9 [skip ci] 2018-05-18 18:50:40 +00:00
magikstm
6097cfb2e9 Small optimization in render hyperscript.js (#2064)
* Small optimization in render hyperscript.js

* Remove temporary variable

* Small optimization in render hyperscript.js

Squashed commits:

[5b103291] Small optimization in render hyperscript.js

* Remove sloppy mode comment
2018-05-18 20:48:56 +02:00
Pierre-Yves Gérardy
4922912bbb [chore] remove Danger for now 2018-05-16 01:09:49 +02:00
Pierre-Yves Gérardy
58b06d4aad [chore] bump marked version to v0.3.19 2018-05-16 01:09:49 +02:00
Barney Carroll
e1a50890e9 stream: Removed valueOf & toString methods (fixes #2150) (#2151)
* stream: Removed `valueOf` & `toString` methods (fixes #2150)

* Update stream documentation
2018-05-16 00:01:30 +02:00
Pierre-Yves Gérardy
93c84a5786 [docs] typo 2018-05-10 09:35:03 +02:00
Pierre-Yves Gérardy
d13a61a4d8 [docs] clarify the component/RouteResolver distinction 2018-05-10 09:34:04 +02:00
Pierre-Yves Gérardy
4823369abe
[docs] typo 2018-05-10 09:28:02 +02:00
Pierre-Yves Gérardy
567fe154e7
[docs] clarify the component/RouteResolver distinction 2018-05-10 09:13:57 +02:00
Pierre-Yves Gérardy
95fbdf9ea2
[ospec] change log: credit @zyrolasting 2018-05-09 21:11:52 +02:00
Pierre-Yves Gérardy
9df3e97cc3 [ospec] v2.0.0 2018-05-09 21:04:24 +02:00
Gilbert
91b08c6491 Add --require feature to ospec executable (#2144)
* Allow requires before running tests

This enables requiring modules like `esm` before any test files are loaded.

* Update ospec documentation

Also add documentation for `--require` option

* Update ospec change-log.md

* [opsec] move the change log item to v2.0

* [ospec] tweak the docs
2018-05-09 17:46:55 +02:00
Pierre-Yves Gérardy
43053c6088
[ospec] don't output colors when pipe or file redirection is used (#2143) 2018-05-09 07:58:47 +02:00
Pierre-Yves Gérardy
ca1bce9732
[ospec] Update change log to reflect #2141 2018-05-07 01:52:49 +02:00
Már Örlygsson
ceabe993a3 fix(ospec): Only run o.run() once (#2142) 2018-05-07 01:46:56 +02:00
Már Örlygsson
cfaa377c1e [ospec] feat: nicer binary with support for globs (#2141)
* feat(ospec): CLI support for file-patterns and an --ignore flag

The added dependency is only used by the node.js binary - which normally only ever installed via npm/yarn anyway.

This does not interfer with ospec proper being dependencyless.

* chore(mithril): Add glob dependency needed by the ospec binary

this is only needed while ospec is inlined in the
mithril repo. As soon as ospec is split away into a
standalone npm module, this will not be required anymore.

* refactor(ospec): Use 'match' events instead of callback

Performance should be similar, but the code looks
cleaner and easier to grok.

* Misc tweaks
2018-05-07 01:32:01 +02:00
Scotty Simpson
f161a59343 Update animation.md 2018-05-05 16:39:22 +02:00
Pierre-Yves Gérardy
c34b0decc9 ospec v1.4.1 change log 2018-05-04 21:36:19 +02:00
mar
e075de4c92 docs: Link to ospec/change-log.md, remove repeated lines 2018-05-04 21:36:19 +02:00
mar
af3f69dfef docs: Add first attempt at ospec change-log file 2018-05-04 21:36:19 +02:00
Pierre-Yves Gérardy
be6c8c079d
Merge pull request #1802 from jonahx/iss-1798
Fix issue #1798
2018-05-04 14:13:15 +02:00
Pierre-Yves Gérardy
4818109c9a
Merge branch 'next' into iss-1798 2018-05-04 14:08:39 +02:00
Pierre-Yves Gérardy
d2e80f7345
A more general fix 2018-05-04 14:05:42 +02:00
Adam Gamble
fb3c344055 Scan with halt (#1957)
* HALT if scan reducer doesn't change value

* Updated docs to reflect new scan behaviour with HALT
2018-05-03 16:52:33 +01:00
Gandalf-the-Bot
117fac91a7 Bundled output for commit 44e165a357 [skip ci] 2018-04-23 11:54:15 +00:00
Pierre-Yves Gérardy
44e165a357 [render/render] Misc comment fixes 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
f7a95d8c12 Cleanup, comments, and optimize getKeyMap 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
801bde219e [render/render] move keyed cached nodes when needed, fix diff semantics for cached nodes, fix #2132 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
878e4958dc tests for #2132 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
9490950c30 [render/render] Simplify updateNodes, fix #2128 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
dd6ceca31d tests for #2128 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
9136585fe4 [DOM Mock] Fix insertBefore when the reference node follows the moving child in a nodeList 2018-04-23 13:52:03 +02:00
Pierre-Yves Gérardy
c6693aa361 Disentangle keyed and unkeyed diff 2018-04-23 13:52:03 +02:00
soulofmischief
898d0aec82 Fix url in vnodes.md
URL was being incorrectly parsed due to parentheses. The parenthesis have been replaced with UTF-8 encodings.
2018-04-22 00:56:21 +02:00
Már Örlygsson
f375bdc02e fix: Bundler tests only pass when run from project root 2018-04-22 00:50:09 +02:00
Isiah Meadows
0dbf17c621
Disown myself from render-related fixes [ci skip] 2018-04-20 20:08:31 -04:00
Pat Cavit
c335aa70ca
docs: latest site updates (#2126) 2018-04-20 08:36:08 -07:00
Gandalf-the-Bot
ec43ca089c Bundled output for commit 203df39c30 [skip ci] 2018-04-16 07:47:53 +00:00
Pierre-Yves Gérardy
203df39c30 Remove the DOM nodes recycling pool (fix #1653, fix #2023) 2018-04-16 09:45:45 +02:00
Scotty Simpson
6f7f543b07 docs: awkward/redundant fix (#2120) 2018-04-13 22:35:04 -07:00
Pat Cavit
0c54409d41 docs: Fix some site weirdness
Fixes #2117
2018-04-13 11:12:07 +02:00