Commit graph

1274 commits

Author SHA1 Message Date
Sean Hussey
c1912d2726 Fixing a few typos. Changing all instances of "thennable" to
"thenable". No functional changes.
2015-12-18 14:40:41 -05:00
Isiah Meadows
49b97a5e56 Merge pull request #897 from isiahmeadows/deferred-fix
Clean up unused parameter and m.request tests
2015-12-16 13:43:34 -05:00
impinball
eff4231b73 Regenerate minified variants [ci skip] 2015-12-16 13:41:24 -05:00
impinball
11f05e3180 Call onreadystatechange in handler 2015-12-16 13:38:09 -05:00
impinball
c21566366e Fix inflexible/slightly broken m.request tests 2015-12-16 13:33:34 -05:00
impinball
7f7a0a3815 Remove unused parameter 2015-12-16 12:24:12 -05:00
Isiah Meadows
b920466c51 Merge pull request #896 from isiahmeadows/next
Update minified build
2015-12-16 12:05:36 -05:00
impinball
92ac26a31a Update minified build 2015-12-16 12:04:59 -05:00
Isiah Meadows
2b688a3334 Merge pull request #895 from isiahmeadows/next
Fix issue with a placeholder
2015-12-16 11:58:28 -05:00
impinball
565ca32d9a Fix issue with a placeholder 2015-12-16 11:54:34 -05:00
Isiah Meadows
784f0f4f28 Merge pull request #893 from isiahmeadows/speed
More performance improvements + etc. (fix mistakes in #887)
2015-12-16 11:26:43 -05:00
impinball
1b4737b0c6 Rewrite most of the last commit of #887 (without the m.request bug) 2015-12-16 11:22:11 -05:00
impinball
c6fc86f728 Merge branch 'next' of https://github.com/lhorie/mithril.js into speed 2015-12-16 11:05:24 -05:00
Isiah Meadows
ec3ca05027 Merge pull request #894 from lhorie/revert-892-revert-887-speed
Revert "Revert "More performance improvements + etc.""
2015-12-16 11:04:42 -05:00
Isiah Meadows
b2faa43f91 Revert "Revert "More performance improvements + etc."" 2015-12-16 11:04:07 -05:00
Isiah Meadows
897060d6ed Merge pull request #892 from lhorie/revert-887-speed
Revert "More performance improvements + etc."
2015-12-16 10:53:52 -05:00
Isiah Meadows
998704a722 Revert "More performance improvements + etc." 2015-12-16 10:53:27 -05:00
impinball
69836f3811 Small performance improvements (part 1) 2015-12-16 10:51:43 -05:00
Leo Horie
e364121ffb Merge pull request #887 from isiahmeadows/speed
More performance improvements + etc.
2015-12-16 10:45:35 -05:00
impinball
75a3f0785c Revert "Few more small performance tweaks"
This reverts commit 0e00621840.
2015-12-16 10:37:12 -05:00
impinball
c30bee5fa2 Merge branch 'next' of https://github.com/lhorie/mithril.js into speed 2015-12-15 16:59:15 -05:00
Isiah Meadows
c0ee413d3d Merge pull request #889 from isiahmeadows/next
Remove stray semicolon
2015-12-15 16:58:24 -05:00
impinball
295209b975 Remove stray semicolon 2015-12-15 16:57:28 -05:00
impinball
0e00621840 Few more small performance tweaks 2015-12-15 16:56:04 -05:00
impinball
bfc9dd45d4 Merge branch 'next' of https://github.com/lhorie/mithril.js into speed 2015-12-15 13:53:16 -05:00
Isiah Meadows
072be75f48 Merge pull request #888 from isiahmeadows/next
Move unloading test to where it's supposed to be [ci skip]
2015-12-15 13:52:52 -05:00
impinball
27a3dca013 Move unloading test to where it's supposed to be [ci skip] 2015-12-15 13:52:14 -05:00
impinball
573f7a9e95 Make ESLint happy 2015-12-15 13:16:44 -05:00
impinball
689362047e Unignore TodoMVC stuff 2015-12-15 12:44:51 -05:00
impinball
086f56e13c Regenerate mithril.min.js{,.map} 2015-12-15 12:27:08 -05:00
impinball
20c3bf07f0 Merge branch 'next' of https://github.com/lhorie/mithril.js into speed 2015-12-15 12:26:07 -05:00
impinball
0b21bd2bda Improve performance (part 2), make smaller, other fixes
Or, a lot of things yet again.

1. Prototypes are avoided. Method definitions are avoided at all costs in the
   renderer. C-like structs are exclusively used internally. This helps
   significantly in both speed and size.

2. The deferred implementation had a couple functions refactored into static
   equivalents.

3. Only 1 test fails now.

4. Several names were changed to be much smaller. Some of the exports were
   aliased. This was a pure size improvement for free.

5. Regexes are inlined. It's better to let the engine do the caching.

6. The version string was inlined. It's still at the top.

7. `this` is avoided as much as possible in the rendering.
2015-12-15 12:22:02 -05:00
Isiah Meadows
df62ed54f5 Merge pull request #695 from pdfernhout/next
Add an interactive test called unloadingTest.html
2015-12-15 11:40:36 -05:00
Isiah Meadows
b08dba8ad1 Merge pull request #816 from ikki3355/next
links "config" ed with route need to reset pendingRequests count to zero on click
2015-12-15 11:12:49 -05:00
impinball
0a744f6387 Merge branch 'next' of https://github.com/lhorie/mithril.js into speed 2015-12-15 07:10:40 -05:00
impinball
a7b2294c11 OO-ize DOM builder, improve performance (part 1), add benchmarking suite 2015-12-15 07:07:50 -05:00
Isiah Meadows
e63a6f37bd Merge pull request #853 from isiahmeadows/prop-fix
Isolate m.prop() and m.deferred() implementations (mostly)
2015-12-15 06:41:09 -05:00
impinball
9428fe729c s/fufill/resolve/ 2015-12-15 06:38:10 -05:00
impinball
70d2734a58 Merge branch 'next' of https://github.com/lhorie/mithril.js into prop-fix 2015-12-14 06:42:34 -05:00
Leo Horie
c202c04631 Merge pull request #884 from nordfjord/fix-fix-unloading
fix hasty error
2015-12-11 17:24:43 -05:00
Einar
71c880d78d fix hasty error 2015-12-11 22:14:08 +00:00
impinball
2a47a8e77d Merge branch 'next' of https://github.com/isiahmeadows/mithril.js into prop-fix 2015-12-10 19:14:32 -05:00
Isiah Meadows
8997f37818 Merge pull request #882 from isiahmeadows/request-fix
Fix #873, regenerate minified variants.
2015-12-10 19:03:23 -05:00
impinball
cb29a21ec3 Fix #873, regenerate minified variants.
Drive-by fix: uppercase tag name in failing m.trust test (doesn't make it
pass, though).
2015-12-10 18:54:43 -05:00
Leo Horie
747ba7e6d9 Merge pull request #834 from isiahmeadows/patch-2
Create a bug reporting/contributing/style guide
2015-12-10 16:34:40 -05:00
Leo Horie
c5a012b6f6 Merge pull request #877 from nordfjord/next
fix subcomponent unloading
2015-12-10 14:23:21 -05:00
Leo Horie
0cc97ec220 Merge pull request #879 from nordfjord/fix-linting
fix linting errors
2015-12-10 14:22:32 -05:00
Einar Norðfjörð
5ef5addb82 fix linting errors 2015-12-10 19:01:52 +00:00
Einar Norðfjörð
e846335f16 fix subcomponent unloading 2015-12-10 18:34:08 +00:00
Leo Horie
bdbe0b8a21 Merge pull request #876 from KasperTidemann/next
Fixes wording.
2015-12-10 09:59:29 -05:00