Commit Graph

2181 Commits (bf5b8ab777d8199abcd8e7665abc4dbb732272a3)

Author SHA1 Message Date
Emil Tholin f1d8b480fa Add support for object-rest in each destructuring
7 years ago
Michael Braun 5bcba3b388 Fix NPE on pattern check
7 years ago
Michael Braun aa6e612bf0 Experimenting with array destructuring in each-blocks
7 years ago
Emil Tholin 80d5c1442f Remove v1 each key parsing
7 years ago
Emil Tholin de6e4588fb Add alert, confirm, and prompt to globals
7 years ago
Emil Tholin 151cc46574 Remove the scope key from props when calculating spread
7 years ago
Conduitry 2efaf79503 fix determining which variables are initialised (#2635)
7 years ago
Conduitry 7b51a185a7 fix invalidating stores with UpdateExpression (#2625)
7 years ago
Emil Tholin 74d40e0510 Check 'injected' and 'fixed_reactive_declarations' independently
7 years ago
Loren Brichter 448479902d Subtle tweaks to spring animations
7 years ago
Conduitry 46092cbfb7 fix resubscriptions inside script block (#2435)
7 years ago
Emil Tholin 698a14b58f Make null the default anchor of insertBefore
7 years ago
thollander c8bf81f274 Create a new abstraction level to handle `Block`
7 years ago
Emil Tholin 7da6ef68bc Check if a figcaption's first element ancestor is a figure
7 years ago
thollander be13b56643 Use the already defined type for AppendTarget
7 years ago
Emil Tholin 227a08fc59 Don't show 'Empty block' warnings for non-existent await branches
7 years ago
Richard Harris 4fcd2583b1 fix subscribe implementation, add test for unsubscribing observables
7 years ago
Richard Harris 89fe6a132e Merge branch 'rxjs-support' of https://github.com/benlesh/svelte into benlesh-rxjs-support
7 years ago
Rich Harris 8513d9527f RxJS always returns a Subscription object with an unsubscribe.
7 years ago
Ben Lesh ce209dd0ee fix: Ensure RxJS users don't create memory leaks
7 years ago
Rich Harris 72d665ba72 Merge pull request #2511 from atomAltera/fix/2506
7 years ago
Rich Harris 23778f1135 Merge pull request #2518 from sveltejs/gh-2510
7 years ago
Rich Harris f3a725176b Merge pull request #2543 from jches/gh/2542
7 years ago
Ben Lesh f2ee6458e0 perf: Reuse the same promise instance in the scheduler
7 years ago
John Chesley b2e5becb12 fix cycle check for exported functions
7 years ago
Conduitry 9e9ea411f7 handle unknown nodes in extract_identifiers (#2510) (#2514)
7 years ago
Konstantin Alikhanov d808d9ee5d Fixing issue with cursor jumping in Safari #2506
7 years ago
Rich Harris f9f2afdd15 Merge pull request #2433 from sveltejs/gh-2430
7 years ago
Richard Harris a63cdcdf94 use maps for keyed each block lookups - fixes #2430
7 years ago
Mikhail Korepanov c904e21674 Fix creation of debugging comment for elements without children
7 years ago
Richard Harris a1d35d868d disallow duplicate slot="xxx" elements - fixes second half of #2320
7 years ago
Richard Harris e44293aa64 remove renderer.slots
7 years ago
Richard Harris c08cfc2bf8 sanitize names
7 years ago
Richard Harris 0cf04988c6 remove unused code
7 years ago
Richard Harris 394556941a fix
7 years ago
Richard Harris b6ca514188 inherit default slot values in named slots in SSR mode
7 years ago
Richard Harris cf2bf05812 receive default slot values in named slots
7 years ago
Richard Harris 4c86701f92 pass default slot values through to named slots
7 years ago
Rich Harris 71dc6bddda Merge pull request #2415 from sveltejs/gh-2356
7 years ago
Richard Harris 017cbc6bd3 oops, messed up the merge
7 years ago
Richard Harris 864d9f9cfb propagate scope changes across chained slots - fixes #2359
7 years ago
Rich Harris 49330b1994 Merge branch 'master' into gh-2356
7 years ago
Richard Harris 330b9ea55a wait until flush complete before unlocking bindings - fixes #2356
7 years ago
Richard Harris cc50321f95 only fire binding callbacks when values change
7 years ago
Conduitry f328f219e5 deconflict `value` argument in component bindings (#2395)
7 years ago
Rich Harris c610e83a00 Merge pull request #2409 from sveltejs/gh-2354
7 years ago
Rich Harris 92fc5da0a5 Merge pull request #2406 from sveltejs/gh-2399
7 years ago
Richard Harris 48ac4ed1f1 only create fallback content if no slot is provided - fixes #2354
7 years ago
Richard Harris 3201e717df better error for bindings to let: values - fixes #2301
7 years ago
Richard Harris 04900e90cd skip observedAttributes where appropriate - fixes #2399
7 years ago
Richard Harris 08fab520be allow reactive declarations to reference self - fixes #2386
7 years ago
Richard Harris dda2012b4d inject lets for destructured reactive declarations - fixes #2396
7 years ago
Richard Harris 7823bb7134 optimise certain $$invalidate calls
7 years ago
Richard Harris 6b1067e8c1 allow reactive declarations without dependencies - fixes #2285
7 years ago
nhducit 21db6acf3b Fĩ type
7 years ago
Richard Harris aac1f74d58 only use explicit namespace for top-level elements
7 years ago
Richard Harris bbe4ab7b7d apply namespace to foreignObject correctly - fixes #2340
7 years ago
Rich Harris 380f5ffaf2 Merge pull request #2349 from Panya/issue-2348
7 years ago
Rich Harris 2157430a3f Merge pull request #2351 from jches/gh/2347
7 years ago
Rich Harris ed983c1e88 Merge pull request #2357 from sveltejs/conditional-text-updates-2
7 years ago
Rich Harris 5cd5f36cce only coerce once
7 years ago
John Chesley a26c7824ac hoist all hoistable top-level functions
7 years ago
Jacob Wright 82baceb8ac Update text.data only when necessary
8 years ago
John Chesley 25f3f39ca6 do not hoist declaration if it is exported (fixes #2347)
8 years ago
Mikhail Korepanov 1c5b730698 Pass block to the render of an expression in an attribute
8 years ago
Rich Harris 8efa51519d update API reference docs (#2206)
8 years ago
Rich Harris 967596bcb6 Merge pull request #2326 from sveltejs/gh-2325
8 years ago
Richard Harris 50b0cf2d3e Merge branch 'master' of github.com:sveltejs/svelte
8 years ago
Conduitry 6b7ba8de79 don't preprocess tags whose names begin with script/style
8 years ago
Lukas 00a1d5a225 add playbackrate as binding for mediaelements (#2202)
8 years ago
Conduitry a0bbc13678 skip array literal length optimization in presence of spread (#2325)
8 years ago
Rich Harris 686384d50e Merge pull request #2321 from sveltejs/gh-2295
8 years ago
Conduitry 7208a07023 warn on template references to global variables (#2295)
8 years ago
Conduitry 5c97df6b84 disallow bindings to global variables (#2295)
8 years ago
Rich Harris 1447064eb5 handle foreignObject correctly, default to svg namespace for top-level svg elements - fixes #2298
8 years ago
Rich Harris 91d92c1e8a remove unused import
8 years ago
Rich Harris 0c7151c502 handle arbitrary slot names
8 years ago
Rich Harris 7c4ae2c859 simplify some slot_name stuff
8 years ago
Rich Harris 0d02a84f33 DRY out
8 years ago
Rich Harris a2503b2c9e Merge branch 'issue-2291' of https://github.com/Panya/svelte into Panya-issue-2291
8 years ago
Rich Harris c57ee5f8b6 Merge pull request #2309 from sveltejs/gh-2303
8 years ago
Rich Harris 0f7715e5f8 Merge pull request #2312 from sveltejs/gh-2294
8 years ago
Conduitry d4f038cfa7 subscribe to global stores from script (#2139)
8 years ago
Mikhail Korepanov 0ab7077d40 Move slot names test to runtime. Allow slot names that start with a digit
8 years ago
Mikhail Korepanov 658d235350 Add an error for a slot name starts with a digit
8 years ago
Mikhail Korepanov e85138f3e3 Don't remove digits and _ from slot names
8 years ago
Conduitry 392cec1070 note action/etc. references even when hoistable (#2294)
8 years ago
Richard Harris 1a3b260941 play transitions in slots - fixes #2303
8 years ago
Richard Harris d26e0c4a1e invalidate correctly inside event handlers - fixes #2305
8 years ago
Rich Harris 03de79ebc8 Merge pull request #2283 from sveltejs/gh-2280
8 years ago
Richard Harris cd93506fbb remove comment
8 years ago
Rich Harris 7a0175a0c1 Merge pull request #2286 from sveltejs/gh-2284
8 years ago
Conduitry f63fc5166f tidy some binding validation messages (#2300)
8 years ago
Conduitry 2d35095a60 find this= in <svelte:component> in presence of bind:this= (#2284)
8 years ago
Richard Harris 3c1dae08b0 replace comment anchors with empty text nodes - fixes #2280
8 years ago
John Chesley 3ee7938d34 break declaration grouping on non-declaration nodes (fixes #2022)
8 years ago
Rich Harris 7a1e2de8bb suppress $$props is not defined warning
8 years ago
Rich Harris 558cefa2c7 linting
8 years ago
Rich Harris f955eb28b5 Merge pull request #2258 from sveltejs/collapse-whitespace
8 years ago
Rich Harris c0d5950ef1 Merge pull request #2265 from sveltejs/gh-2119
8 years ago
Rich Harris c50d7412b9 Merge pull request #2266 from sveltejs/gh-2264
8 years ago
Rich Harris ccb56bba2f allow reactive declarations to only depend on $$props - fixes #2264
8 years ago
Rich Harris 6a9c206e47 same but for SSR
8 years ago
Rich Harris 15b6e84cbb handle assignments to store values in reactive declarations (#2119)
8 years ago
Conduitry e4e2772086 fix logic for inclusion of getters/setters on components (32262)
8 years ago
Rich Harris 69eeefbac1 Merge pull request #2261 from sveltejs/gh-2253
8 years ago
Rich Harris f362a92b40 fix
8 years ago
Conduitry 105586950f fix renamed instance exports (#2253)
8 years ago
Rich Harris 43bf63448d implement bind:online
8 years ago
Richard Harris 4fad86313f collapse consecutive whitespace characters in the absense of options.preserveWhitespace or a <pre>
8 years ago
Rich Harris 7e8e891d91 Tidy up (#2252)
8 years ago
Rich Harris 05223f26e0 Merge pull request #2251 from sveltejs/gh-2025-alt
8 years ago
Richard Harris 348491a0c1 update valid_options
8 years ago
Richard Harris 319f591dc0 make customElement a boolean option (#2025)
8 years ago
Richard Harris e970b8fdfc Merge branch 'master' into gh-2025
8 years ago
Richard Harris b4268e9a67 update stores when assigning to store values - fixes #2170
8 years ago
Rich Harris ddb829568f Merge pull request #2249 from sveltejs/gh-2182
8 years ago
Richard Harris 81e9befd07 merge master -> slot-runtime-hasupdatemethod and add a test
8 years ago
Richard Harris 1e55b97bed put callbacks with the other discardable items
8 years ago
Richard Harris ab20acd479 set/unset parent component correctly in SSR - fixes #2182
8 years ago
Rich Harris 5eaae1976b Merge pull request #2245 from sveltejs/gh-2236
8 years ago
Rich Harris 9a0b750855 Merge pull request #2244 from sveltejs/gh-2167
8 years ago
Richard Harris 427d4c1c8c prevent overwriting export consts - fixes #2236
8 years ago
Richard Harris 7c70cb0d58 various spring fixes, including #2167
8 years ago
Rich Harris d41eec1e4e Merge pull request #2242 from sveltejs/gh-2144
8 years ago
Rich Harris b4cc6a8320 Merge pull request #2235 from sveltejs/gh-2139
8 years ago
Richard Harris ad17bd7627 default to accessors: false (#2144)
8 years ago
Richard Harris cf96cd5fa4 call deferred transition function at correct time - fixes #2159
8 years ago
Rich Harris 3322540fdf Merge pull request #2239 from sveltejs/gh-2158
8 years ago
Rich Harris dd94551b22 Merge pull request #2238 from sveltejs/gh-2098
8 years ago
Richard Harris 16466087ff dispatch transition events inside render callback - fixes #2158
8 years ago
Richard Harris b8462fec83 fix repeated animations (#2098)
8 years ago
Richard Harris 7bdaa1e2de only clear out stylesheet after removing a specific animation - fixes #2053
8 years ago
Richard Harris 1d890623be same but for SSR
8 years ago
Richard Harris 8b28581eab subscribe to global stores (#2139)
8 years ago
Richard Harris 69680f58e7 Merge branch 'subscribable' of https://github.com/thgh/svelte into thgh-subscribable
8 years ago
Rich Harris b272901449 Merge pull request #2232 from sveltejs/gh-2222
8 years ago
Rich Harris 44f983e54a Merge pull request #2234 from sveltejs/gh-2163
8 years ago
Richard Harris 24b8645079 report changes correctly
8 years ago
Richard Harris e62c3c4588 remove some update false positives
8 years ago
Mikhail Korepanov 5d70e4c07b Add test case for #2115 and possible fix
8 years ago
Richard Harris 566ba5b137 store prop names as $$.props, prevent leaky bindings. fixes #2222
8 years ago
Richard Harris bdefae9f74 maintain context for contextual binding handlers - fixes #2146
8 years ago
Richard Harris 83520fbb3a augment warnings to help people figure out they need to add a <script>
8 years ago
Richard Harris 8d5ac176c8 remove some more unused code
8 years ago
Richard Harris a401071247 remove some unused code
8 years ago
Richard Harris e59d40f885 remove support for logic-less components with vars
8 years ago
Rich Harris 61ca7d40ad Merge pull request #2213 from sveltejs/gh-2212
8 years ago
Rich Harris 060973227d Merge pull request #2225 from sveltejs/gh-2214
8 years ago
Conduitry c39a3f6d58 skip non-writable vars in reactive declaration deps (#2173)
8 years ago