Commit Graph

2012 Commits (b00bce8c9a185dfea78ad169da1c4e3da1c194a3)

Author SHA1 Message Date
Colin Casey 3f906bfd95 Omits readonly attributes from SSR code
7 years ago
Richard Harris c8abbfc3a1 always add raw property to text nodes
7 years ago
Richard Harris 32c500f987 Merge branch 'raw-entities' of https://github.com/RedHatter/svelte into RedHatter-raw-entities
7 years ago
Richard Harris d0f84150bf code style
7 years ago
Richard Harris c2fa3dd30d Merge branch 'feat/2174_dev_runtime_warning_when_passing_unknown_props' of https://github.com/colincasey/svelte into colincasey-feat/2174_dev_runtime_warning_when_passing_unknown_props
7 years ago
Rich Harris c96ccf6dc6 Merge pull request #2856 from sveltejs/raf
7 years ago
Richard Harris eb8bafdf08 fix test
7 years ago
Richard Harris 181e954224 only invalidate referenced values
7 years ago
Richard Harris 0f51970ac1 fix tests
7 years ago
Timothy Johnson 5a87705a38 Fixes #2714
7 years ago
Benjamin Milde f56445f3a1 Allow binding of <details> open
7 years ago
Colin Casey 4f474521ec check for unknown props when creating component
7 years ago
Rich Harris 6d6685c4ca Merge pull request #2829 from colincasey/bugfix/2821_custom_elements_with_no_svelte_options
7 years ago
Colin Casey a21afe8b5e Allow custom element to be declared with no tag and no options
7 years ago
Christian Kaisermann ab5b379c3c fix: 🐛 data attributes without value outputting as "true"
7 years ago
Colin Casey 9b74037d51 include parent component in test scenario
7 years ago
Colin Casey 684a47316f unit test for child rendering lifecycle
7 years ago
Rich Harris ce3a49520a Merge pull request #2781 from sveltejs/gh-2780
7 years ago
Richard Harris aa35bb5634 ensure spring works server-side = fixes #2773
7 years ago
Richard Harris 8e85255d7b oops
7 years ago
Richard Harris 5c172504c0 handle non-falsy non-function deriver return values - fixes #2780
7 years ago
Rich Harris 960e0be017 Merge pull request #2733 from sanderhahn/master
7 years ago
Rich Harris 103e56410f Merge pull request #2749 from colincasey/custom_elements_without_tags
7 years ago
Rich Harris eabc9ba385 Merge pull request #2754 from EmilTholin/reset-quote-mark
7 years ago
Rich Harris 902b7dbae1 Merge pull request #2755 from EmilTholin/mutated-const-reative-dependency
7 years ago
Rich Harris d060af034e Merge pull request #2766 from EmilTholin/debug-hoisted-variable
7 years ago
Emil Tholin 3b163fe341 Add error for missing equals after attribute name
7 years ago
Emil Tholin 093bf15cb9 Don't get hoisted variable from ctx when using @debug
7 years ago
Sander Hahn 29714f8d93 simplify test
7 years ago
Emil Tholin c6df0df7df Set mutated const variables as reactive dependencies
7 years ago
Sander Hahn cabd8ad3a5 advanced type for derived
7 years ago
Emil Tholin 00324b2d0e Set quote_mark to null when closing quote mark is found
7 years ago
Colin Casey 6481c4cd61 FIX #2417: allows custom element to be defined without a tag
7 years ago
Rich Harris 2a54d14f1a failing missing-declaration test
7 years ago
Rich Harris 557fa13abf failing vars test
7 years ago
Rich Harris e8757b9006 fix tests
7 years ago
Rich Harris b858e8db32 implement namespaced components
7 years ago
Rich Harris ceca22b26f Merge pull request #2709 from LostKobrakai/multiple-event-listeners
7 years ago
Benjamin Milde 65654b33e6 Switch test to runtime test
7 years ago
Rich Harris 98ec6a8e46 allow derivers to return cleanup functions - fixes #2553
7 years ago
Rich Harris 580224d07d Merge pull request #2703 from EmilTholin/hoisting-injected-reactive-vars
7 years ago
Emil Tholin fb3c5f6a90 Don't hoist functions dependent on injected reactive variables
7 years ago
Rich Harris 27caa350e1 Merge pull request #2695 from sveltejs/gh-2644
7 years ago
Rich Harris 47e6cc3935 Merge pull request #2694 from sveltejs/gh-2444
7 years ago
Rich Harris ccf90f6e36 Merge pull request #2683 from sveltejs/gh-2681
7 years ago
Richard Harris d6316cb693 use safe_not_equal logic for derived stores - fixes #2644
7 years ago
Richard Harris dfc06cc7a1 invalidate dependencies of reactive declarations - fixes #2444
7 years ago
Benjamin Milde 73cbb4ce74 Allow multiple event listeners on a single node
7 years ago
Emil Tholin 9d237f9f4b Warn on improper use of reactive declarations
7 years ago
Conduitry f31a155f07 fix instrumentation of auto-subscription self-assignments (#2681)
7 years ago
Rich Harris 50ee4efac4 Merge pull request #2658 from MikeMatrix/each-block-rest-destructuring
7 years ago
Rich Harris 3364ba22cf Merge pull request #2664 from EmilTholin/each-block-destructuring-rest
7 years ago
Rich Harris acc4dfd293 Merge pull request #2607 from EmilTholin/figcaption_figure_first_element_ancestor
7 years ago
Rich Harris 06436eb029 Merge pull request #2596 from EmilTholin/await-empty-block-warnings
7 years ago
Rich Harris d9f81dcb82 Merge pull request #2618 from EmilTholin/remove_21618scope_from_spread
7 years ago
Rich Harris 394900935f Merge pull request #2619 from sveltejs/gh-2435
7 years ago
Rich Harris e17e7807d0 Merge pull request #2631 from EmilTholin/reactive-values-fixed
7 years ago
Rich Harris 7003ecc33a Merge pull request #2634 from sveltejs/gh-2625
7 years ago
Emil Tholin f1d8b480fa Add support for object-rest in each destructuring
7 years ago
Michael Braun aa6e612bf0 Experimenting with array destructuring in each-blocks
7 years ago
Emil Tholin 151cc46574 Remove the scope key from props when calculating spread
7 years ago
Conduitry 60399950cb update tests
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
Conduitry 46092cbfb7 fix resubscriptions inside script block (#2435)
7 years ago
Emil Tholin 7da6ef68bc Check if a figcaption's first element ancestor is a figure
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
Rich Harris 23778f1135 Merge pull request #2518 from sveltejs/gh-2510
7 years ago
John Chesley 2d9697839c failing test for #2542
7 years ago
Conduitry df27ced1ef fix unit test under Node 12
7 years ago
Hongarc bfd2a3b903 Remove whitespace at end of line
7 years ago
Conduitry 6dad5bdc2b add test
7 years ago
Richard Harris 7bd667a6b9 update references to svelte.technology - fixes #2450
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 f41e59e474 failing test for #2320
7 years ago
Rich Harris 71dc6bddda Merge pull request #2415 from sveltejs/gh-2356
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 3b6bada541 failing tests for #2356
7 years ago
Conduitry 09b9672336 add test
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 f3f816341b fix hydration tests
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
Conduitry 4f17f9c856 add initial_value argument to derived store
7 years ago
Conduitry 524f5e7331 rename `derive` to `derived`
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
8 years ago
Rich Harris 2157430a3f Merge pull request #2351 from jches/gh/2347
8 years ago
John Chesley f10878f644 add failing test for #2278
8 years ago
John Chesley 3d5d13e4d2 add failing test for #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 597086be2a add playbackrate to runtime test
8 years ago
Lukas 1df1830712 add playbackrate to compilation test
8 years ago
Conduitry b74215e185 add test
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 fa6427530f move test
8 years ago
Rich Harris 844a483011 test for conflicting slot names
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 962bb8d178 Merge pull request #2310 from sveltejs/gh-2296
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 944cba6649 update readable signature to match writable - fixes #2296
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
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
Richard Harris 1bb1294c51 failing test for #2022
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
Conduitry b8f08008c2 add test
8 years ago
Rich Harris ccb56bba2f allow reactive declarations to only depend on $$props - fixes #2264
8 years ago
Rich Harris 15b6e84cbb handle assignments to store values in reactive declarations (#2119)
8 years ago
Conduitry 27bbc43af6 update tests
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
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 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