Commit Graph

2835 Commits (eb1d4f2c469b4dd1f1357083f87cfa2bfb74df0d)

Author SHA1 Message Date
Игорь Фролов 255a18f654 feat(internal): Support globalThis in modern environments (#4628)
6 years ago
Tan Li Hau 2501ba3d74 remove unneeded fragment block (#4568)
7 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
vlasy c2e090e651 throw compiler error when binding directly to const variables (#4506)
7 years ago
Tan Li Hau 1f5af90f74 fix else-block update in keyed each-block (#4558)
7 years ago
Tan Li Hau d98cdf2242 fix hydration of top-level content (#4550)
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
Tan Li Hau b5fe3c999b fix lazy code breaks in build
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
Brian Takita f1b4ed80f8 chore: more specific typings, and add README note about Yarn (#4483)
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
Tan Li Hau 88eb91c600 mark module variables as mutated or reassigned (#4469)
7 years ago
rixo 96388e6166 exclude global variables from $capture_state (#4475)
7 years ago
Conduitry 7c455a3cb7 don't treat $$-names as stores during invalidation (#4453)
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
rixo 8930ecf59c make $capture_state/$inject_state act on entire state (#3822)
7 years ago
swyx 5a880ecd28 implement Dev mode validation of {#each} block argument (#4419)
7 years ago
Tan Li Hau 533d9ac909 warn if component is expected to be reactive (#4409)
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
Tan Li Hau 8cc782c6b2 better error messages for else, elseif, then, catch with unclosed tag (#4136)
7 years ago
Jordan Gensler aa9e245f02 avoid using .shift() in flush() (#4356)
7 years ago
Conduitry cbfed9614b fix arrow function precedence (#4385)
7 years ago
Conduitry f5922f7cee fix binding to module-level variables (#4352)
7 years ago
Conduitry 3581bed534 disallow simultaneous foo / {foo} / bind:foo (#4343)
7 years ago
Conduitry f6920b1449 fix detection of unused partially global CSS selectors (#4332)
7 years ago
David Kondrad 7acea7a94d Internals: Scheduler: Fix infinite loop in flush (#4316)
7 years ago
Dave Lunny 56772b24c1 [Internals] Improve unit tests (#4262)
7 years ago
Conduitry 14555bf203 make autosubscribing to a nullish store a no-op (#4304)
7 years ago
Conduitry f498127d33 fix hydration of <title> (#4311)
7 years ago
Conduitry e11f8da5e2 disallow duplicate each keys in dev mode (#4303)
7 years ago
Conduitry 32d28312f5 fix deriving from RxJS observables (#4300)
7 years ago
Tan Li Hau a9298d0ebd fix nested block not reactive (#4294)
7 years ago
Conduitry 4edddcf705 preserve js comments where possible (#4293)
7 years ago
Conduitry 4d14236214 fix removing attributes during hydration (#1733)
7 years ago
Conduitry 434095f0b3 fix '~=' and class selectors with arbitrary whitespace (#4286)
7 years ago
Conduitry 2a0d3333d0 apply event modifiers to <svelte:body> events (#4279)
7 years ago
Tan Li Hau e974aff732 disallow binding variables declared in await and catch
7 years ago
John Muhl 62f1591cf9 Add more globals
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 8f6692e36a fix hydrating <head> (#4082)
7 years ago
Jesse Skinner 4ad626090e fix stringifying of attributes in presence of spread in SSR (#4247)
7 years ago
Tan Li Hau 4eec466be7 SSR should only render one <title> (#4250)
7 years ago
Tan Li Hau f5b52deb92 fix hydrating each else (#4253)
7 years ago
Tan Li Hau 9cb198800d fix actions having no access to parent nodes (#4252)
7 years ago
burningTyger dbc55cad1c remove quotes from code suggestion
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
Timothy Johnson ea2271f4b9 Pass compiler version in dev events
7 years ago
Tan Li Hau 36ca1df4c2 fix safari input jumping
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 3f43be39b2 fix css specificity (#4146)
7 years ago
Tan Li Hau 546bb026bf fix destructuring in slot let binding
7 years ago
Tan Li Hau acd705b83f compile css once (#4143)
7 years ago
Colin Casey 6dcf4d91f8 FIX #2446: apply bindings and event handlers in order
7 years ago
jamesgeorge007 d6899e1e8c refactor: use Array.includes
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
David Kondrad 2d922f478c compiler: tag auto-subscribe stores as referenced in vars (#4089)
7 years ago
Rich Harris 2111a41f14 Merge pull request #4069 from mrkishi/invalidate
7 years ago
Conduitry 8f01bf0b6c fix bitmask overflow when using slotted components (#4077)
7 years ago
Rich Harris 7191167b54 unrelated tidy up i just realised i can now do
7 years ago
Rich Harris 4cdd1769af ci failures. clutching at straws
7 years ago
Rich Harris ba8641360b fix bitmask overflow slot updates
7 years ago
Rich Harris 1ad838fc81 handle slot updates when parent component has a bitmask overflow
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
Benjamin W. Broersma 7a84876ada Skip JS globals for InlineComponent nodes in warn_if_undefined. (#4071)
7 years ago
Tan Li Hau df771016ff fix: loop-guard scope leak
7 years ago
mrkishi 5447c2df1c remove instrumentation from main execution context
7 years ago
Conduitry 9645ddb23c fix bare imports in `format: 'cjs'` mode (#4050)
7 years ago
Conduitry a18a36afab fix warnings for props that are only used as stores (#4021)
7 years ago
Conduitry 32f43b125b fix child context in await blocks with no `then` variable (#4022)
7 years ago
das eb5b92079b Tidy up (#4005)
7 years ago
Rich Harris 2a2a2a5a2d Merge pull request #4014 from mrkishi/raf-time
7 years ago
mrkishi 2fcfe2547e use raf's time for smoother transitions
7 years ago
Timothy Johnson 63a9d866f0 Fix listen_dev argument order
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
Richard Harris b5a1d75783 update estree-walker - closes #3977, closes #3979
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
Rich Harris 679c00ef18 Merge pull request #3934 from tanhauhau/tanhauhau/dynamic-event-handler-expression
7 years ago
Tan Li Hau 01cc5b0a15 fix dynamic event handler expression
7 years ago
Rich Harris b2283ef214 Merge pull request #3927 from MattiasBuelens/video-bindings
7 years ago
Rich Harris 8d1f9a52e8 Merge pull request #3627 from simeydotme/3555-fix-flip-scaling
7 years ago
Mattias Buelens 28b1304d20 Add bindings for HTMLVideoElement.videoHeight and videoWidth
7 years ago
Mattias Buelens c16e1d7f52 Rename internal resize event for dimension bindings
7 years ago
Rich Harris 772e81ab39 Merge pull request #3650 from MattiasBuelens/more-media-bindings
7 years ago
Rich Harris cd2f8aef12 Merge pull request #3893 from NitayRabi/types---allow-access-to-typed-returned-from--.svelte
7 years ago
Rich Harris c6cfa7d7c7 tabs
7 years ago
Rich Harris 2e2c86e324 Merge pull request #3894 from tanhauhau/tanhauhau/skip-comment-for-preprocessors
7 years ago
Conduitry e9dcce76cc Deconflict dev mode block function names again (#3907)
7 years ago
Conduitry b7139fa012 Use IE-compatible js to check for unknown prop warnings (#3915)
7 years ago
Tan Li Hau 3f8dc7104a fix text content escape html (#3916)
7 years ago
Mattias Buelens 5da073c3ed Add mount condition for playbackRate and volume
7 years ago
Mattias Buelens eea13f0c13 Refactor mount code rendering for bindings
7 years ago
Mattias Buelens c228807c64 Add binding for HTMLMediaElement.ended
7 years ago
Mattias Buelens 8b09833611 Add binding for HTMLMediaElement.seeking
7 years ago
Nitay Rabinovich d051ae3cbb Export SvelteComponentDev as API
7 years ago
Tan Li Hau 028b1ce161 skip comments for preprocessors
7 years ago
Rich Harris 5c4255a53f Merge pull request #3891 from PaulMaly/patch-1
7 years ago
Tan Li Hau fe0e002872 add loopGuardTimeout options
7 years ago
Nitay Rabinovich 77fd87296e Fix linting and exporting
7 years ago
Nitay Rabinovich 553898decf Rexport SvelteComponent as SvelteComponent API
7 years ago
PaulMaly 1d407228d9 User `let` instead `var` for loop index
7 years ago
Richard Harris 37bd75ad2d add type info for createEventDispatcher - fixes #3877
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
Richard Harris 5b36489095 helperise loop protection
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
Rich Harris 749ababf85 Merge pull request #3884 from sveltejs/gh-3882
7 years ago
Richard Harris 1b4ee64f09 neaten up hydration code - fixes #3882
7 years ago
Richard Harris bad771fa17 revert #3723, add special case for src attributes
7 years ago
Rich Harris 3d771a46ff Merge pull request #3876 from tanhauhau/tanhauhau/scoped-css-with-undefined-class
7 years ago
Richard Harris 6570cf54de reinstate block comments
7 years ago
AlbertLucianto efcab56fbd reorder add attributes to fix value validation
7 years ago
Tan Li Hau d56ae38bd9 fix undefined class with scoped-css
7 years ago
Richard Harris 58a9a3f9b8 reinstate banner
7 years ago
Rich Harris 7afddb1991 Merge branch 'master' of github.com:sveltejs/svelte into tanhauhau/use-periscopic
7 years ago
Rich Harris 89993464ee Merge branch 'master' of github.com:sveltejs/svelte into tanhauhau/dynamic-event-handler
7 years ago
Rich Harris d4fd1031a1 lint
7 years ago
Rich Harris bfcb6c71c6 encode parts of filename, not entire string
7 years ago
Rich Harris ccfa4ba118 lint
7 years ago
Tan Li Hau 9600a41214 feat dynamic event handler
7 years ago
Rich Harris 35b682c0db Merge pull request #3823 from leomarquine/fade-easing
7 years ago