Commit Graph

1078 Commits (3a3c531426d56bbf4466ce7815c0964fb7215e1d)

Author SHA1 Message Date
pushkin 29e03d2a9f fix parent in slot wrapper (#4705)
6 years ago
Tan Li Hau b957b5d1a0 add await catch shorthand (#4490)
6 years ago
Maurício Kishi fab8f2d5ff support dimension bindings in cross-origin mode (#2989)
6 years ago
Tan Li Hau f0f4118c8a fix creating debugging comment for HTML comment (#4567)
7 years ago
Tan Li Hau d0924fbfb4 fix deconflicting variable name for slot fallback (#4564)
7 years ago
Tan Li Hau 5cea55ecb8 clean up event handlers on re-mount (#4493)
7 years ago
Tan Li Hau 1bae772d0a support destructuring in await (#4548)
7 years ago
Tan Li Hau 5da0de4ce0 complain if named slots other than direct descendant of component (#4509)
7 years ago
Tan Li Hau 8025246550 do not initialise slot fallback fragment unless necessary (#4514)
7 years ago
Jacob Wright 6c81672712 allow transitions and animations to work within iframes (#3625)
7 years ago
Tan Li Hau 1f5af90f74 fix else-block update in keyed each-block (#4558)
7 years ago
Tan Li Hau 0672678e64 allow <svelte:self> to be part of a slot (#4532)
7 years ago
Tan Li Hau ee10effb0f introduce $$restProps (#4489)
7 years ago
Conduitry a63bcba8d1 fit bitmask overflow initial dirty value in 'if' blocks (#4507)
7 years ago
Conduitry 45790bc15f add dev runtime warning for unknown slot names (#4501)
7 years ago
Tan Li Hau 5e6dc186c3 fix render fallback slot content due to whitespace (#4500)
7 years ago
Tan Li Hau 05270ff1a2 in spread, distinguish never-updating and always-updating props (#4487)
7 years ago
pushkin f636bd8a7b check for unknown props even if component doesn't have writable props (#4454)
7 years ago
Tan Li Hau 330f6c3127 fix bitmask overflow for slot (#4485)
7 years ago
Conduitry 95995482e3 deconflict `value` parameter in contextual bindings (#4452)
7 years ago
Conduitry 78d5d1a8c8 fix dev mode each block validation when using strings (#4451)
7 years ago
swyx 5a880ecd28 implement Dev mode validation of {#each} block argument (#4419)
7 years ago
Tan Li Hau 8102c4d2e2 perform dirty check before updating keyed each blocks (#4413)
7 years ago
Conduitry d41d4d50ab fix indirect bindings on elements with spreads (#4398)
7 years ago
Conduitry 88f85890ce fix event handlers that are dynamic via reactive declarations or stores (#4394)
7 years ago
Conduitry 4f6e25b9bb fix invalidation in ++foo.bar (#4395)
7 years ago
Conduitry c1cd4a63e2 fix handling of reserved keywords when parsing (#4390)
7 years ago
Conduitry f5922f7cee fix binding to module-level variables (#4352)
7 years ago
David Kondrad 7acea7a94d Internals: Scheduler: Fix infinite loop in flush (#4316)
7 years ago
Conduitry 14555bf203 make autosubscribing to a nullish store a no-op (#4304)
7 years ago
Conduitry e11f8da5e2 disallow duplicate each keys in dev mode (#4303)
7 years ago
Tan Li Hau a9298d0ebd fix nested block not reactive (#4294)
7 years ago
Conduitry 2a0d3333d0 apply event modifiers to <svelte:body> events (#4279)
7 years ago
Tan Li Hau ff07d4a818 fix allow let scoped to root element (#4266)
7 years ago
Conduitry 89e99a5a11 only attach SSR <head> markers when hydratable: true (#4260)
7 years ago
Tan Li Hau 9cb198800d fix actions having no access to parent nodes (#4252)
7 years ago
Conduitry 981cf42a46 fix $$invalidate getting confused by an undefined third argument (#4170)
7 years ago
Conduitry 702755cc81 fix when LHS of a reactive assignment is a member expression (#4212)
7 years ago
Conduitry b4da95ce15 update rollup and plugins
7 years ago
David Kondrad 08bd8d1707 dynamic events: validate handler before executing (#4105)
7 years ago
Tan Li Hau 3c57b36b29 feat order attributes + actions too (#4156)
7 years ago
Tan Li Hau 0d6ad76d85 fix dynamic event handler for bind variables
7 years ago
David Kondrad 6bf0cae797 compiler: text util: preserve space after svg <tspan> tags (#4107)
7 years ago
Tan Li Hau 546bb026bf fix destructuring in slot let binding
7 years ago
Colin Casey 6dcf4d91f8 FIX #2446: apply bindings and event handlers in order
7 years ago
Tan Li Hau a5e7ca6b38 revert remove contextual overflow (#4102)
7 years ago
Tan Li Hau c73e2ee9a9 fix invalidate while update
7 years ago
Timothy Johnson 819056ab5c propagate changes through slots with props (#4091)
7 years ago
Tan Li Hau 5e0455bb79 fix dirtybit (#4095)
7 years ago
Conduitry 8f01bf0b6c fix bitmask overflow when using slotted components (#4077)
7 years ago
Rich Harris ba8641360b fix bitmask overflow slot updates
7 years ago
Rich Harris 7de835fa10 write compiled output to disk for easier inspection
7 years ago
Tan Li Hau 0d3284f423 fix: bitmask overflow better handle global (#4063)
7 years ago
Tan Li Hau df32d642e3 fix: if inside bind await block contextual dependencies
7 years ago
Tan Li Hau df771016ff fix: loop-guard scope leak
7 years ago
Conduitry 32f43b125b fix child context in await blocks with no `then` variable (#4022)
7 years ago
mrkishi 2fcfe2547e use raf's time for smoother transitions
7 years ago
Conduitry 2b967c041b add regression test against #3966
7 years ago
Tan Li Hau 9492211e5e fix handle marking global variable as dependency
7 years ago
Tan Li Hau dc67d6aa50 fix context export not working if conflicts with instance variable
7 years ago
Tan Li Hau 0678ca9172 no missing prop warning for non-writable props
7 years ago
Rich Harris 78d50d02e8 Bitmask-based change tracking (#3945)
7 years ago
pngwn 7b4c796199 Add aria-hidden to resize listener object. Fixes #3948.
7 years ago
Richard Harris 1e4dcaf3cf regression test for #3939
7 years ago
Richard Harris 3f3fb832f3 remove samples/_ directories, used for local experiments
7 years ago
Tan Li Hau 01cc5b0a15 fix dynamic event handler expression
7 years ago
Conduitry e9dcce76cc Deconflict dev mode block function names again (#3907)
7 years ago
Tan Li Hau 3f8dc7104a fix text content escape html (#3916)
7 years ago
Rich Harris 2d7b40412f update deps, prevent naming conflict seen in #3891
7 years ago
Tan Li Hau fe0e002872 add loopGuardTimeout options
7 years ago
Rich Harris 46125bbbdc Merge pull request #3886 from AlbertLucianto/fix/bind-out-of-sync
7 years ago
Rich Harris df742e37ca Merge pull request #3871 from AlbertLucianto/fix/bind-value-fails-range-max
7 years ago
Richard Harris afe3445444 Merge branch 'master' of github.com:sveltejs/svelte into fix/bind-out-of-sync
7 years ago
Tan Li Hau 3f4155da2e prevent infinite loop
7 years ago
AlbertLucianto 56b6a62a8d fix binding out of sync on reactive update
7 years ago
AlbertLucianto 48263676b9 add await blowback reactive test case
7 years ago
AlbertLucianto efcab56fbd reorder add attributes to fix value validation
7 years ago
Tan Li Hau 9600a41214 feat dynamic event handler
7 years ago
Rich Harris 2af80f977f Merge pull request #3831 from tanhauhau/tanhauhau/no-create-fragment-if-not-needed
7 years ago
Tan Li Hau 7643873a8d escape html quotes
7 years ago
Tan Li Hau 821021e9e7 reenable skipped test due to jsdom
7 years ago
Tan Li Hau 57955a999e fix window bindings to store (#3835)
7 years ago
Tan Li Hau d06284788b swapped out expected and actual for asserts in error
7 years ago
Tan Li Hau 474de99404 Don't create a fragment at all for DOM-less components
7 years ago
Rich Harris af6d010844 Merge pull request #3811 from sveltejs/gh-3508-alt
7 years ago
Rich Harris 52ada05fcc Merge pull request #3814 from tanhauhau/tanhauhau/unify-solo-for-test-folder
7 years ago
Tan Li Hau 55b7fd210d add a xss test case
7 years ago
Tan Li Hau 14070ca553 look for test folder name for solo mode as well
7 years ago
Conduitry 296a2c8d14 add test
7 years ago
Tan Li Hau c5c5822f9a feat: allow innerHtml if no dynamic dependencies
7 years ago
Conduitry 409fab4966 fix handling of style scoping and `class:` with spread scopes (#3792)
7 years ago
Mike Lewis cb2aceaa5c add regression test for missing class on elem with bind and spread (#3668)
7 years ago
Conduitry 42427e86b1 Don't lose `class:` directive classes on an element with `{...spread}` attributes when updating (#3781)
7 years ago
Tan Li Hau b502ec0afc allow solo for test suite (#3747)
7 years ago
Conduitry 8741a65c16 Fix boolean attributes in presence of spread attributes (#3775)
7 years ago
Conduitry dde89f8f66 add sigil-expression-function-body test against regression (#3756)
7 years ago
Tan Li Hau 3ff5eb78d1 deconflict with builtins (#3724)
7 years ago
Conduitry a9d7ef4804 fix compound ifs with outros and no dependencies (#3595)
7 years ago
Maurício Kishi 32808fd11f fix store validation code generation (#3735)
7 years ago
Conduitry 58a92fc38b fix `bind:this` binding to a store (#3591)
7 years ago