Commit Graph

996 Commits (434095f0b3cae469b1fc0ddecaa32e0c5cf29a0c)

Author SHA1 Message Date
Rich Harris 4c466071ca Merge pull request #3478 from sveltejs/gh-3447
7 years ago
Rich Harris 9834df0576 update simple if-blocks with complex but static conditions
7 years ago
Rich Harris 1fd156daaa mark reassigned/mutated values as non-hoistable - fixes #2731
7 years ago
Richard Harris fb5c02e317 lint
7 years ago
Rich Harris b7ec29fb0e Merge pull request #3443 from sveltejs/gh-2569
7 years ago
Rich Harris 4eadbe4270 Merge pull request #3435 from sveltejs/gh-1834
7 years ago
Rich Harris 396b524002 Merge pull request #3438 from sveltejs/gh-2355
7 years ago
Rich Harris 890bafdb40 update context if event handler uses index in keyed each block - fixes #2569
7 years ago
Rich Harris be1e249071 set context in await blocks - fixes #2443
7 years ago
Rich Harris 637b2545ca conservative updates for await blocks
7 years ago
Richard Harris 4599d4161e only reevaluate if block conditions if dependencies changed
7 years ago
Rich Harris f708d98ea9 more conservative if block updates
7 years ago
Richard Harris 003f59db23 lint
7 years ago
Richard Harris 4bfd90dfb7 Merge branch 'master' into gh-1834
7 years ago
Richard Harris 5548eb0e63 handle important declarations in inline styles - fixes #1834
7 years ago
Rich Harris 98121b9bf9 Merge pull request #3432 from sveltejs/gh-1830
7 years ago
Richard Harris 3bc15c983b bail out of style tag optimisation when appropriate - fixes #1830
7 years ago
Rich Harris a28cddd41b allow slots to have missing props in SSR - fixes #3322
7 years ago
Dave Poulter 6c4605fc8a Fix namespace for svg elements inside slots
7 years ago
Richard Harris e7b846f500 -> v3.8.0
7 years ago
Richard Harris 9cb5454b58 coerce tag values to string - fixes #2290
7 years ago
Richard Harris b9347efb6d Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Conduitry 984b8f46af generate valid code when spreading literal into props (#3185)
7 years ago
Samuel Elgozi b3198f151a Tests addedt for `self` modifier
7 years ago
Richard Harris e538dfe8fe failing test for #3354
7 years ago
Rich Harris fbd0aa743c Merge pull request #2028 from aphitiel/gh-1999
7 years ago
Rich Harris 3d92929f92 Rename main.html to main.svelte
7 years ago
Richard Harris 2561b5038c Merge branch 'master' of github.com:sveltejs/svelte
7 years ago
Richard Harris cfe3d3caca update #1844 test for v3
7 years ago
Richard Harris 285436bc0f Merge branch 'master' into aphitiel-gh-1844
7 years ago
Richard Harris c5d6d6ffcb correctly set mount anchor for HTML tags - fixes #2711
7 years ago
Richard Harris f3a9d39a91 add test for #3326
7 years ago
Richard Harris c226ba3d65 more robust handling of html tags - fixes #3285
7 years ago
Vadim Cebaniuc 50cd8d3f9d Merge branch 'master' into master
7 years ago
Vadim Cebaniuc c1fc9badaa Fix spread function result side effects
7 years ago
Richard Harris 1df14f6232 Merge branch 'master' into gh-3285
7 years ago
Richard Harris 82abfa5922 lint
7 years ago
Richard Harris 51516a97a9 prevent commas in attributes - fixes #3341
7 years ago
Rich Harris c8a33e329c Merge branch 'master' into gh-3283
7 years ago
Rich Harris 133b1167ae Merge pull request #3333 from Conduitry/gh-3179
7 years ago
Conduitry 5e64cb391a preserve async/generator-ness of hoisted function expressions (#3179)
7 years ago
Richard Harris 41e865f1f6 failing SSR test, plus some adjacent changes
7 years ago
Richard Harris fc9b261c1e failing test for #3285
7 years ago
bre30kra69cs 0315b723b0 optimize class name runtime calc & add tests & ref
7 years ago
bre30kra69cs 867e61e501 fix Literally undefined class #3283
7 years ago
Conduitry daa7ab664d add test
7 years ago
Rich Harris db1a1875c2 quote props if necessary in SSR mode - fixes #3312
7 years ago
Rich Harris 7b33c9c10f Merge pull request #3295 from sveltejs/gh-3286
7 years ago
Vadim Cebaniuc 74c19cf63c Fix non-object spread
7 years ago
Richard Harris 4ccb96d1ca always update reactive declarations with $$props - fixes #3286
7 years ago
Richard Harris fb9684dfa9 reuse unchanged spread levels - fixes #3289
7 years ago
Umang Galaiya 8ca6df376b [Test] Add test for class directive with spread attributes
7 years ago
Umang Galaiya cd2580c61f [Test] Add test for class with spread attributes
7 years ago
Rich Harris 851ad5c3df prevent outro groups getting muddled up - fixes #2086
7 years ago
Rich Harris 369ca827c4 new failing test for #2086
7 years ago
Rich Harris 8402607a97 add test from gh-2086
7 years ago
Rich Harris 014b25f625 Merge branch 'master' into gh-3113
7 years ago
Richard Harris 6f3150a328 fix test
7 years ago
Richard Harris d7d64a03b6 prevent dynamic components being detached twice - fixes #3113
7 years ago
Rich Harris 4e8e14cf9a WIP solution for #1340
7 years ago
Rich Harris 5be0a74998 lint
7 years ago
Rich Harris 78d9e1d364 Merge pull request #3158 from sveltejs/gh-3038
7 years ago
Rich Harris d80f711dde Merge pull request #3151 from sveltejs/gh-2906
7 years ago
Richard Harris 5e58764c63 prevent malformed code when injecting invalidate statements
7 years ago
Richard Harris b0246474ce correctly transform inline shorthand methods - fixes #2906
7 years ago
Rich Harris d054c8e8f9 onMount before first afterUpdate
7 years ago
Rich Harris b21a5c8562 Merge branch 'onmount_triggers_in_reverse_order_for_siblings' of https://github.com/colincasey/svelte into colincasey-onmount_triggers_in_reverse_order_for_siblings
7 years ago
Rich Harris cb545713a6 Merge pull request #3147 from sveltejs/gh-2693
7 years ago
Rich Harris 36b15b50a3 Merge pull request #3146 from sveltejs/gh-2135
7 years ago
Rich Harris 3f7c7e021e Merge pull request #3145 from sveltejs/gh-2034
7 years ago
Richard Harris 00d43752bb distinguish between lazy and non-lazy expressions - fixes #2693
7 years ago
Richard Harris 9601f44ff2 handle circular values when rendering bindings - fixes #2135
7 years ago
Richard Harris d4b021201f update bind:this references when setting to null - fixes #2034
7 years ago
Richard Harris 8d95c53c09 prevent await block mounting inside removed if block - fixes #1496
7 years ago
Rich Harris eb8ae7194d Pass hoisted values through to slots (#3124)
7 years ago
Rich Harris 3ec8e5fe33 Fix contextual bind:this (#2806)
7 years ago
Rich Harris e105d2ade2 Merge branch 'master' into gh-2917
7 years ago
Rich Harris a9cec4d457 Merge pull request #3110 from sveltejs/gh-3054
7 years ago
Rich Harris a3f70bd288 Merge pull request #3111 from sveltejs/gh-2923
7 years ago
Rich Harris 3aab13914c fix placement of each-else block, and clarify node references in source - fixes #2917
7 years ago
Rich Harris 098b92a3bf sanitize names of automatically-bubbled events - fixes #2923
7 years ago
Rich Harris 307db077eb check for existence of switch instance before introing - fixes #3054
7 years ago
Richard Harris 525e4c8853 actually this test should fail
7 years ago
Richard Harris 6886d3260f remove components without props from each block - fixes #3035
7 years ago
Rich Harris 2e8da2bc1f Merge pull request #3102 from sveltejs/gh-3027
7 years ago
Richard Harris ea0dd9c0de prevent top-level text being discarded - fixes #3027
7 years ago
Richard Harris e1148b6590 always bail out of hoisting on encountering local state - fixes #3044
7 years ago
Rich Harris 2d1ecd4544 lint
7 years ago
Rich Harris f2c0364da0 Merge branch 'master' into gh-3058
7 years ago
Rich Harris 57c6b2e94a always run onDestroy functions - fixes #3058
7 years ago
43081j e65c8e4f8d fix existing lint errors
7 years ago
Rich Harris 8390195c3a Merge branch 'master' into gh-2612
7 years ago
Rich Harris b1bf645272 Merge pull request #3093 from sveltejs/gh-3092
7 years ago
Rich Harris 14e739379b handle member expressions in destructuring assignments - fixes #3092
7 years ago
Rich Harris 204766ec0a add some docs, rename to textContent and innerHTML
7 years ago
Rich Harris 3bcb56b804 update tests
7 years ago
Rich Harris 3c21a184d1 Merge branch 'master' into init-contenteditable
7 years ago
Thomas Ghysels d6b5c42f7f Fix parsing ambiguous HTML entities (#3071)
7 years ago
Bryan Terce 34ac1ff42e Fix binding to values in a component when it uses `$$props` (#2725)
7 years ago
Bryan Terce dc3cb06f91 Fix dynamic `bind:this` on components (#2333)
7 years ago
Maurício Kishi d0448aba01 Merge branch 'master' into gh-2612
7 years ago
Bryan Terce b61b92166e preserve whitespace at each block boundaries (#713)
7 years ago
Bryan Terce 0cc4b91f65 Fix each blocks not unmounting components correctly (#3056)
7 years ago
Conduitry 3bc50e0945 fix text nodes in .innerHTML-optimized output
7 years ago
Conduitry fa485165ce Merge branch 'master' into gh-2612
7 years ago
Richard Harris d21f2b4518 merge master -> init-contenteditable
7 years ago
Conduitry 348b8cde03 update tests (#1434) (#2935)
7 years ago
mrkishi 61f4d3a8f2 make eslint happy
7 years ago
Efe Küçük 52b964652f do not collapse whitespace containing nbsp (#3014)
7 years ago
mrkishi c0d9d555df deconflict more globals
7 years ago
Conduitry 0b913aa338 import globals from helpers (#2612) (#2947)
7 years ago
Richard Harris e30d7b97d0 initialise text/html bindings if necessary
7 years ago
Richard Harris 3bb160571c Merge branch 'master' of https://github.com/leporo/svelte
7 years ago
Rich Harris 358e79f762 allow empty <title> tags - fixes #2980 (#2988)
7 years ago
Rich Harris e69e891691 support once modifier on component events, fail on others (#2987)
7 years ago
Rich Harris 6cc03f873c Merge branch 'master' into master
7 years ago
James Garbutt 11ced4a257 Introduce ESLint to svelte sources (#2958)
7 years ago
Efe Küçük e73eb33b45 Render textarea binding values inside element
7 years ago
Vlad Glushchuk bf0d66175b Add bind:text and bind:html support for contenteditable elements
7 years ago
Slava Z 126d095bdb Fix for #2655 - adding introstart...outroend events to in-out transition
7 years ago
Colin Casey a2cdcfde40 Merge branch 'master' into onmount_triggers_in_reverse_order_for_siblings
7 years ago
Colin Casey 142e6fb19f Merge branch 'master' into onmount_triggers_in_reverse_order_for_siblings
7 years ago
Richard Harris 965fae7991 update folder structure - #2790
7 years ago
Rich Harris bf5b8ab777 Merge pull request #2881 from sveltejs/gh-2878
7 years ago
Rich Harris 95533b226d Merge pull request #2880 from cudr/head_html_fix
7 years ago
Richard Harris 3122decd33 dont create unknown prop warnings for $$scope etc, or if component has $$props - fixes #2878
7 years ago
Rich Harris 1176e674d0 Merge branch 'master' into less-invalidation
7 years ago
cudr 435f3993ea add tests
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
Benjamin Milde f56445f3a1 Allow binding of <details> open
7 years ago
Colin Casey 4f474521ec check for unknown props when creating component
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
Richard Harris aa35bb5634 ensure spring works server-side = fixes #2773
7 years ago
Rich Harris eabc9ba385 Merge pull request #2754 from EmilTholin/reset-quote-mark
7 years ago
Emil Tholin c6df0df7df Set mutated const variables as reactive dependencies
7 years ago
Emil Tholin 00324b2d0e Set quote_mark to null when closing quote mark is found
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 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 47e6cc3935 Merge pull request #2694 from sveltejs/gh-2444
7 years ago