Commit Graph

602 Commits (202d119e9a22267c2d31bb24c466b861004724f7)

Author SHA1 Message Date
Tan Li Hau 1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially (#5600)
4 years ago
Tan Li Hau 6fa3e91b5d
support $$props and $$restProps for custom elements (#5608)
4 years ago
Andreas Ehrencrona ddf13211af
Updated to ESLint config 5.4.0 (#5541)
4 years ago
Ben McCann 229a16d6e7
upgrade ESLint config (#5472)
4 years ago
Ben McCann 0645631b28
Use TypeScript in tests (#5433)
4 years ago
Tan Li Hau a1651ca271
add nonpassive event modifier (#5442)
4 years ago
Tan Li Hau aef5671411
update acorn and parse expression as module script (#5423)
4 years ago
Tan Li Hau 8a28d1bb38
valid XHTML syntax in innerHTML for static elements (#5317)
4 years ago
Antony Jones 82dc26a31c
Fix lint warnings (#5263)
4 years ago
Tan Li Hau 0ac341d2c6
expose which slots are present in $$slots (#4602)
4 years ago
Tan Li Hau ec0f79c5af
add updating guard to binding callback (#5126)
4 years ago
Tan Li Hau 2450dd1ff0
update acorn@^7.3.1 for optional chaining support (#5013)
4 years ago
Tan Li Hau 55c809624d
fix collapsing HTML with static content (#5059)
4 years ago
Tan Li Hau 6289dfcdcd
fix <select> one-way bind when options change (#5054)
4 years ago
Tan Li Hau 7dfd9e9653
deconflict bind:this variable (#4949)
4 years ago
Tan Li Hau c21a42edbf
remove unreferenced variable from initial context (#4941)
4 years ago
Tan Li Hau bf6c74fb17
fix binding for each block local variable (#4861)
4 years ago
pushkin 0da70f46b9
handle line ending differences in tests (#4915)
4 years ago
Rich Harris b0377cc4e4
fix `{@html}` assuming it lives inside a <div> (#4863)
4 years ago
Rich Harris 3330c3fbab
only add event listeners when a block is first mounted (#4860)
4 years ago
Tan Li Hau 24ef4e1181
set select multiple value with spread (#4894)
4 years ago
Robert Hall 7fe1384f43
Property "muted" for <audio> and <video> (#4690)
4 years ago
pushkin 8d8db4e836
ensure if_block dependency is dirty to cancel outro (#4634)
4 years ago
Maurício Kishi ff5f25249e
support dimension bindings in cross-origin mode (#2989)
4 years ago
Tan Li Hau b4b57c39a2
clean up event handlers on re-mount (#4493)
5 years ago
Conduitry f2ee7efb94
add dev runtime warning for unknown slot names (#4501)
5 years ago
pushkin b6aaa44880
check for unknown props even if component doesn't have writable props (#4454)
5 years ago
rixo 0786d2858d
exclude global variables from $capture_state (#4475)
5 years ago
rixo cb64fb2ac9
make $capture_state/$inject_state act on entire state (#3822)
5 years ago
swyx 3fbafe33c2
implement Dev mode validation of {#each} block argument (#4419)
5 years ago
Tan Li Hau 6250046c05
perform dirty check before updating keyed each blocks (#4413)
5 years ago
Conduitry f12340acf0
preserve js comments where possible (#4293)
5 years ago
Conduitry 2f81365e44
fix awaited expressions that need parentheses (#4283)
5 years ago
Tan Li Hau a422d2aba5 fix actions having no access to parent nodes (#4252)
5 years ago
Tan Li Hau 7fb35dd0dc fix safari input jumping
5 years ago
David Kondrad 8a596936d2 dynamic events: validate handler before executing (#4105)
5 years ago
Tan Li Hau 52dbc882a7 feat order attributes + actions too (#4156)
5 years ago
Tan Li Hau c0dab9fefb fix css specificity (#4146)
5 years ago
Colin Casey abe88f3b3a FIX #2446: apply bindings and event handlers in order
5 years ago
Tan Li Hau a8b306f0a1 revert remove contextual overflow (#4102)
5 years ago
Tan Li Hau f9a9484e39 fix dirtybit (#4095)
5 years ago
David Kondrad 6c0fb5be64 compiler: tag auto-subscribe stores as referenced in vars (#4089)
5 years ago
Rich Harris 6928284085
Merge pull request #4069 from mrkishi/invalidate
5 years ago
Tan Li Hau 2c9d864e33 fix: loop-guard scope leak
5 years ago
mrkishi 3cce56b5d0 remove instrumentation from main execution context
5 years ago
Rich Harris cd21acfb3c
Bitmask-based change tracking (#3945)
5 years ago
Richard Harris 39bbac4393 neater test output
5 years ago
Mattias Buelens 51c1adeca5 Test whether dimension bindings still work for video elements
5 years ago
Mattias Buelens f2f87d126c Add bindings for HTMLVideoElement.videoHeight and videoWidth
5 years ago
Mattias Buelens 79d3763e92 Rename internal resize event for dimension bindings
5 years ago
Mattias Buelens f0f5b5aac0 Add test for video bindings
5 years ago
Rich Harris 004faf67f4
Merge pull request #3650 from MattiasBuelens/more-media-bindings
5 years ago
Rich Harris ca474fc96b more doh
5 years ago
Rich Harris 46fef94a5c
Merge pull request #3866 from tanhauhau/tanhauhau/improve-testing-experience
5 years ago
Rich Harris cecfab3faf
doh
5 years ago
Rich Harris 95501ed5f5
Print 'delete this directory' message and move on
5 years ago
Conduitry afe5ad430a
Use IE-compatible js to check for unknown prop warnings (#3915)
5 years ago
Mattias Buelens ed4f89d7fa Add mount condition for playbackRate and volume
5 years ago
Mattias Buelens 39c009499e Add binding for HTMLMediaElement.ended
5 years ago
Mattias Buelens 5658d94545 Add binding for HTMLMediaElement.seeking
5 years ago
Tan Li Hau b382b9a9c6 add loopGuardTimeout options
5 years ago
Richard Harris 47cac13b7d helperise loop protection
5 years ago
Tan Li Hau ace35336b7 prevent infinite loop
5 years ago
Conduitry eb0cfbccd4 fix tests
5 years ago
Rich Harris 1b454bad4a
Merge pull request #3884 from sveltejs/gh-3882
5 years ago
Richard Harris 11b030b101 neaten up hydration code - fixes #3882
5 years ago
Richard Harris e3b1d467ce revert #3723, add special case for src attributes
5 years ago
Richard Harris 98519802e8 update code-red, enable all tests
5 years ago
Richard Harris d8b25afacd update tests
5 years ago
Tan Li Hau d8b9274697 update test snapshot with --update flag
5 years ago
Rich Harris 6a0a1210ec update test
5 years ago
Tan Li Hau 3d46405481 skip missing input files
5 years ago
Tan Li Hau 105919e7ba feat dynamic event handler
5 years ago
Rich Harris f7833ac53e
Merge pull request #3831 from tanhauhau/tanhauhau/no-create-fragment-if-not-needed
5 years ago
AlbertLucianto fb30ed079e fix input binding fails if type declared last
5 years ago
Tan Li Hau 0c8cb44d01 fix window bindings to store (#3835)
5 years ago
Tan Li Hau aa0341c9ca Don't create a fragment at all for DOM-less components
5 years ago
Rich Harris 1273f97808
Merge pull request #3811 from sveltejs/gh-3508-alt
5 years ago
Tan Li Hau 2b2f40d32a use textContent instead of innerHtml, preventing XSS
5 years ago
Richard Harris 47a9811c1e alternative fix for #3508
5 years ago
Tan Li Hau 464868bb6c feat: allow innerHtml if no dynamic dependencies
5 years ago
Tan Li Hau 5dbb08d19b allow solo for test suite (#3747)
5 years ago
Tan Li Hau fca35def53 deconflict with builtins (#3724)
5 years ago
Richard Harris 4419a55977 fix test
5 years ago
Richard Harris 8aa98795a1 dont cache attribute values (ref #3579)
5 years ago
Richard Harris 1d150306e2 Merge branch 'master' of github.com:sveltejs/svelte
5 years ago
Richard Harris 908a06c133 typos
5 years ago
Richard Harris 456f5372e6 merge master -> tanhauhau/debugging-with-no-dependencies
5 years ago
das 54a129c7fa continue inlining $$invalidate calls (#3548)
5 years ago
Rich Harris b9f14846b0
Structured code generation (#3539)
5 years ago
Tan Li Hau 4eb9affda1 fix debugging with no dependencies
5 years ago
Richard Harris f2568f6665 remove $unsafe_set in favour of modified $inject_state
5 years ago
Richard Harris 8174119746 update tests
5 years ago
Richard Harris a821aa7a15 merge sveltejs/master -> devtools
5 years ago
Richard Harris 670fadf260 update test
5 years ago
Richard Harris 6f60ed8871 Merge branch 'hmr' of https://github.com/Axelen123/svelte into Axelen123-hmr
5 years ago
Rich Harris d8b4dd74fb
Merge pull request #3533 from sveltejs/gh-3512
5 years ago
Rich Harris 1a9f6b4a09
Merge pull request #3530 from sveltejs/gh-3524
5 years ago
Richard Harris 6ea7d77f68 preserve arrow function event handlers
5 years ago
Richard Harris 46bfaff1e6 inline $$invalidate calls - fixes #3512
5 years ago