0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

1619 Commits

Author SHA1 Message Date
Chris Reeves
d3a7ccae4f reconcile test diff 2019-01-13 21:23:56 -05:00
Rich Harris
0f9ea4a4f4
Merge pull request #1974 from evs-chris/gh-1916-evschris
Attempt at #1916, including update handling
2019-01-13 16:50:49 -05:00
Rich Harris
f3701794be
Merge pull request #1978 from evs-chris/gh-1977-evschris
Render default slot content event handlers conditionally (with bonus) - #1977
2019-01-13 16:43:25 -05:00
Rich Harris
4c9a55cb66
Merge pull request #1980 from evs-chris/gh-1952-evschris
First pass at tracking mutation to avoid unnecessary update code - #1952
2019-01-13 16:38:33 -05:00
Richard Harris
d033c833ad test for #1852 2019-01-13 14:25:34 -05:00
Rich Harris
2d3dbdd6a9
Merge pull request #1967 from sveltejs/gh-1939
set parent correctly for children of await blocks
2019-01-13 14:19:55 -05:00
Rich Harris
0ea3840046
Overhaul transitions - fixes #1906 2019-01-13 14:19:01 -05:00
Chris Reeves
e85222ad84 first pass at tracking mutation to avoid unnecessary update code - #1952
also tracks mutation on child refs of const declarations - #1917
2019-01-13 04:01:25 -05:00
Chris Reeves
057298a79f fix newline-before-block diffs caused by code builder adjustments 2019-01-11 01:18:12 -05:00
Chris Reeves
6c89975396 gather event listeners for slot default elements and render in a condition - fixes #1977 2019-01-11 01:14:00 -05:00
Chris Reeves
3a7b9adc7f pull contextual deps through for member exprs in this bindings - fixes #1916 2019-01-09 12:22:22 -05:00
Conduitry
f8d69e296f replace <svelte:document> with <svelte:body> (#1846) 2019-01-05 14:16:43 -05:00
Richard Harris
fc5d929e76 set parent correctly for children of await blocks - should fix #1939 2019-01-04 22:57:40 -05:00
Richard Harris
c0a218b69e Merge branch 'master' into gh-1948 2019-01-04 22:02:29 -05:00
Richard Harris
2eb881dcb6 prevent invalid svelte: tags - fixes #1948 2019-01-04 22:02:12 -05:00
Rich Harris
76faa92464
Merge pull request #1961 from sveltejs/gh-1957
deconflict with implicit props
2019-01-04 21:59:01 -05:00
Rich Harris
4676946e83
Merge pull request #1962 from sveltejs/gh-1960
typo
2019-01-04 21:58:46 -05:00
Conduitry
58b3ea63cc fix malformed code in window binding event handlers (#1963) 2019-01-04 20:36:44 -05:00
Richard Harris
f0b6be1355 fix #1960 typo 2019-01-04 14:03:01 -05:00
Richard Harris
423e4e6cbc deconflict with implicit props - fixes #1957 2019-01-04 13:48:55 -05:00
Conduitry
8427bde679 preserve attributes during preprocess (#1873) 2019-01-03 13:20:56 -05:00
Richard Harris
329b013e40 render functions that close over contextual data - fixes #1938 2019-01-01 19:08:02 -05:00
Richard Harris
e15d13bf91 allow reactive store references anywhere in script - fixes #1889 2019-01-01 18:11:41 -05:00
Richard Harris
1d9ce0fff5 update tests 2019-01-01 15:06:42 -05:00
Richard Harris
e56c5653a7 start refactoring transitions 2019-01-01 12:28:08 -05:00
Richard Harris
a7370ce024 fix test 2019-01-01 11:37:25 -05:00
Richard Harris
d58996534d start centralising rAF stuff 2018-12-31 17:45:07 -05:00
Richard Harris
dcc1996aef prevent duplicate declaration of store values - fixes #1883 2018-12-31 10:52:22 -05:00
Rich Harris
d6552025e4
fix hoisting of functions that reference imported values - fixes #1933 2018-12-31 10:48:06 -05:00
Rich Harris
c0a8e630e3
Fix media bindings, simplify others 2018-12-31 09:43:20 -05:00
Rich Harris
f8517edba9
Merge pull request #1932 from sveltejs/gh-1931
rewrite props after instrumentation
2018-12-29 14:20:03 -05:00
Rich Harris
e7642db13d
Merge pull request #1930 from sveltejs/gh-1894
whitelist process, and fallback to globals
2018-12-29 14:19:52 -05:00
Richard Harris
454ff8d84e rewrite props after instrumentation - fixes #1931 2018-12-29 13:57:39 -05:00
Richard Harris
c2d4ce3395 add process to globals whitelist 2018-12-29 13:18:19 -05:00
Richard Harris
18c2ae715f prevent false positive detection of events that can be made passive - fixes #1914 2018-12-29 10:25:01 -05:00
Rich Harris
cfb6f52f2b
Merge pull request #1925 from sveltejs/gh-1924
Prevent modification of internal state
2018-12-29 00:16:10 -05:00
Rich Harris
11e8270963
Merge pull request #1923 from sveltejs/gh-1919
make event handler names unique across components
2018-12-29 00:13:33 -05:00
Richard Harris
88c674079b always use stats.warn instead of options.onwarn - fixes #1918 2018-12-28 22:19:25 -05:00
Richard Harris
468b5dc0c4 fix tests 2018-12-28 21:57:40 -05:00
Richard Harris
ef944b5713 prevent parent component modifying child component state - fixes #1924 2018-12-28 21:45:03 -05:00
Richard Harris
fc0b49eca2 make event handler names unique across components - fixes #1919 2018-12-28 21:04:40 -05:00
Rich Harris
35f57c0212
Merge pull request #1910 from sveltejs/gh-1908
don't lump in `bind:this` with everything else
2018-12-23 16:55:40 -05:00
Rich Harris
abdbb00d6d fix test 2018-12-23 16:34:35 -05:00
Rich Harris
f16e4d3bdd dont lump in bind:this with everything else - fixes #1908 2018-12-23 16:33:03 -05:00
Rich Harris
7440fa54e9 remove missing prop warning false positives - fixes #1902 2018-12-23 14:29:18 -05:00
Rich Harris
392fec9238 only apply aliasing logic once 2018-12-23 10:38:25 -05:00
Rich Harris
1f46e23e1b
More conservative invalidation 2018-12-22 18:49:04 -05:00
Rich Harris
29052aba7d
Bring svelte.technology source into main repo 2018-12-22 16:09:27 -05:00
Conduitry
5200e2bb0e oops 2018-12-22 07:06:56 -05:00
Conduitry
cd36531e0b fix runtime tests 2018-12-22 07:03:44 -05:00