Commit Graph

1754 Commits (dd94551b22cafae49b46aa3d9b097b6b7a9c64a8)

Author SHA1 Message Date
Rich Harris fd36e46be5 Merge pull request #1961 from sveltejs/gh-1957
8 years ago
Rich Harris afdf32328a Merge pull request #1962 from sveltejs/gh-1960
8 years ago
Conduitry ccb8b9fe1a fix malformed code in window binding event handlers (#1963)
8 years ago
Richard Harris af39f40368 fix #1960 typo
8 years ago
Richard Harris f0206ff4b9 deconflict with implicit props - fixes #1957
8 years ago
Conduitry 7f0f6b287d preserve attributes during preprocess (#1873)
8 years ago
Richard Harris 575f8ad775 render functions that close over contextual data - fixes #1938
8 years ago
Richard Harris c1d4a75a00 allow reactive store references anywhere in script - fixes #1889
8 years ago
Richard Harris 9cac743948 update tests
8 years ago
Richard Harris ef33a912cf start refactoring transitions
8 years ago
Richard Harris e4f7b47ea9 fix test
8 years ago
Richard Harris a4b9f497e3 start centralising rAF stuff
8 years ago
Richard Harris 0c6386fc88 prevent duplicate declaration of store values - fixes #1883
8 years ago
Rich Harris e22457f613 fix hoisting of functions that reference imported values - fixes #1933
8 years ago
Rich Harris 543218c57a Fix media bindings, simplify others
8 years ago
Rich Harris fe350b8410 Merge pull request #1932 from sveltejs/gh-1931
8 years ago
Rich Harris aa98a88b05 Merge pull request #1930 from sveltejs/gh-1894
8 years ago
Richard Harris c1330d7b1c rewrite props after instrumentation - fixes #1931
8 years ago
Richard Harris bc10a15aa1 add process to globals whitelist
8 years ago
Richard Harris 827c4b46e7 prevent false positive detection of events that can be made passive - fixes #1914
8 years ago
Rich Harris aa05f2beb4 Merge pull request #1925 from sveltejs/gh-1924
8 years ago
Rich Harris fae70b59f7 Merge pull request #1923 from sveltejs/gh-1919
8 years ago
Richard Harris 7c0413bd2c always use stats.warn instead of options.onwarn - fixes #1918
8 years ago
Richard Harris f5fb02a24a fix tests
8 years ago
Richard Harris 6c89a53cab prevent parent component modifying child component state - fixes #1924
8 years ago
Richard Harris 9435878ad2 make event handler names unique across components - fixes #1919
8 years ago
Rich Harris 6adec40d13 Merge pull request #1910 from sveltejs/gh-1908
8 years ago
Rich Harris 788bf02f86 fix test
8 years ago
Rich Harris a9d60f5647 dont lump in bind:this with everything else - fixes #1908
8 years ago
Rich Harris b584844610 remove missing prop warning false positives - fixes #1902
8 years ago
Rich Harris 25bf3f5f34 only apply aliasing logic once
8 years ago
Rich Harris b30f2cdbf1 More conservative invalidation
8 years ago
Rich Harris 33f3fdee5c Bring svelte.technology source into main repo
8 years ago
Conduitry 710c40e77c oops
8 years ago
Conduitry 19f0cff726 fix runtime tests
8 years ago
Conduitry 58d596153f maybe this?
8 years ago
Conduitry 3ba8231195 maybe fix custom-elements tests
8 years ago
Conduitry b84f1fb308 use extension-less import for svelte/internal
8 years ago
Rich Harris 194e896509 glitch-free reactive stores
8 years ago
Rich Harris e78d837ffb store auto-subscriptions
8 years ago
Rich Harris c53f2af6fd implement `bind:this`
8 years ago
Rich Harris efba821c84 Implement reactive assignments (#1839)
8 years ago
Rich Harris f5ff2d4274 Merge pull request #1810 from sveltejs/gh-1809
8 years ago
Rich Harris fdfafdcab2 Merge pull request #1822 from aphitiel/gh-1743
8 years ago
Rich Harris c5ac16ecb5 Merge branch 'await-then-catch-order' of https://github.com/RedHatter/svelte into RedHatter-await-then-catch-order
8 years ago
Rich Harris f385e829b7 use helper for combining window binding props
8 years ago
Timothy Johnson 2cf3b7a535 fix transition-js-await-block test
8 years ago
Timothy Johnson b7dc37d48a added test for async block ordering (#1440)
8 years ago
Rich Harris 858fc22bfb expose stats.props
8 years ago
pk 940599bb2f Merge branch 'test-gh-1743' into gh-1743
8 years ago
pk 79548aa076 Failing test for #1743
8 years ago
Pat Cavit 6fe4bf97c0 fix: add check for template store to conditional (#1829)
8 years ago
pk 1a4ea738eb move resize handler from _beforecreate to _after.. (fixes #1743)
8 years ago
Conduitry 87421b536c add test
8 years ago
Rich Harris c5bc080cbc Merge pull request #1819 from sveltejs/gh-1088
8 years ago
Rich Harris 3f3954102f disallow passive|preventDefault combo
8 years ago
Rich Harris 4082cdefe7 implement event modifiers
8 years ago
Rich Harris 6c92d9955f disallow once/passive in legacy mode, for now
8 years ago
Rich Harris 4784ff02d6 add some more modifier validation tests
8 years ago
Rich Harris 5fd4c94270 merge master -> gh-1088
8 years ago
Rich Harris f55121a1d3 only add list/index to each block context if necessary
8 years ago
Rich Harris 0bd3553e96 merge master -> gh-1187-b
8 years ago
Rich Harris b06ff8ad39 Merge pull request #1813 from sveltejs/gh-1484-alt
8 years ago
Rich Harris eb347bf2e6 Merge pull request #1815 from sveltejs/gh-1434
8 years ago
Rich Harris 5885506f81 redo 9e9a078d on top of current master
8 years ago
Rich Harris af490843f1 Merge branch 'master' into gh-938
8 years ago
Rich Harris d081e830c8 reinstate tests
8 years ago
Rich Harris 5b902fc444 merge master -> gh-938
8 years ago
Rich Harris 0a63261d5d Merge branch 'master' into gh-1434
8 years ago
Rich Harris a23169262e dont render undefined/null attributes in SSR
8 years ago
Rich Harris ef1741485b merge master -> set-undefined-attr
8 years ago
Rich Harris ad1c636273 add a <svelte:document> tag - #1484
8 years ago
Rich Harris 4c5c440a88 render server bindings
8 years ago
Rich Harris ccf54b2187 better error for missing store - fixes #1807
8 years ago
Rich Harris 94c3381980 Merge pull request #1797 from sveltejs/gh-1793
8 years ago
Rich Harris 0f25c560bc Merge pull request #1798 from sveltejs/gh-1795
8 years ago
Rich Harris a1ec36414e remove leftover logging
8 years ago
Rich Harris 4003b3fd82 detach each block iterations with no update method - fixes #1795
8 years ago
Rich Harris 5deb460d8b extend dependency tracking to all directives
8 years ago
Rich Harris 00e87b2356 recognise dependencies in class directives - fixes #1793
8 years ago
Yury Zhuravlev 72939812c1 fix #1780 just start use parent instead parent.parent in IfBlock wrapper
8 years ago
Rich Harris bcc736384f Merge branch 'fix-lost-anchor-if-if-block-first' of https://github.com/stalkerg/svelte into stalkerg-fix-lost-anchor-if-if-block-first
8 years ago
Rich Harris b59adb2613 Merge pull request #1776 from sveltejs/gh-1772
8 years ago
Yury Zhuravlev e3e50855ed Fix removing next link during strip whitespaces for first element.
8 years ago
Rich Harris decb5f965d include solidus in attribute values - fixes #1772
8 years ago
Rich Harris 83ff84cc57 fix blocks inside <svelte:head> - closes #1774
8 years ago
Rich Harris 3c58fe208a Merge pull request #1759 from sveltejs/gh-1745
8 years ago
Rich Harris c951e31a7a Merge pull request #1761 from dmitrykurmanov/patch-1
8 years ago
Rich Harris 07a85eb790 handle elseif blocks with no else
8 years ago
Dmitry Kurmanov 39c62a140b Update index.js
8 years ago
Rich Harris f134494615 deprecate onerror - fixes #1745
8 years ago
Rich Harris c5616474a1 while we're here, update parser output files
8 years ago
Rich Harris a451101a32 remove -bundle files
8 years ago
Rich Harris 9b8b779ee9 move render logic into separate phase (#1678)
8 years ago
Jacob Wright 36ffdcd0a6 Fixes shorthand class directives which do not have classes
8 years ago
Rich Harris 4a01c1a2fe warn on unused helpers - fixes #1704
8 years ago
Rich Harris 3d7a15ec9a [WIP] Refactor, change where validation occurs (#1721)
8 years ago
Yury Zhuravlev edf26fde24 Fix binding input with event in each and add test case.
8 years ago
Rich Harris 16e33c836e increase timeout so that tests pass on this horrendously expensive piece of shit laptop i am forced to use. PS fuck you, apple
8 years ago
Rich Harris e682676be2 Merge pull request #1715 from sveltejs/dynamic-import
8 years ago
Rich Harris 82082fd6d1 support dynamic import in expressions
8 years ago
Jacob Wright 36adf33829 Fixes keyed each blocks for outro
8 years ago
Rich Harris 08bf21dbb3 Merge pull request #1693 from sveltejs/gh-1617
8 years ago
Rich Harris 777d95b218 Merge pull request #1695 from sveltejs/class-shortcut
8 years ago
Josh Duff 2658c168a7 Only update inputs when the value changed
8 years ago
Jacob Wright 586f806c26 Remove camel-casing, but account for dashed parameters still.
8 years ago
Jacob Wright 848066a472 Adds class directive shortcut
8 years ago
Jacob Wright 53befe6b30 Fix for each-blocks preventing outros from completing
8 years ago
Rich Harris 840ecf6142 not sure where that extra blank line came from
8 years ago
Rich Harris 8fe75716a4 alternative approach to #1520
8 years ago
Rich Harris 5cb9279265 Merge branch 'master' into gh-1520
8 years ago
Rich Harris f7e3aa9fe6 Merge branch 'master' into gh-890
8 years ago
Rich Harris 4ded5d7b7f Merge pull request #1681 from sveltejs/gh-1666
8 years ago
Rich Harris 2af86b6e3b Merge pull request #1682 from sveltejs/gh-1659
8 years ago
Rich Harris d0e94cc320 Merge pull request #1683 from sveltejs/gh-1658
8 years ago
Jacob Wright d6bdf5e3a1 Fixes an error with outros and elseifs
8 years ago
Jacob Wright 4fe7e81146 Adds the class directive
8 years ago
Rich Harris 96e61bc9ac dont warn on empty block for nbsp - fixes #1658
8 years ago
Rich Harris e9e9198d5c support debug tag in SSR mode - fixes #1659
8 years ago
Rich Harris b687387b51 correctly set select value on mount - fixes #1666
8 years ago
Rich Harris 91b620ef0d run transitions in context of component - fixes #1675
8 years ago
Jacob Wright a669faca84 Allows actions to use any expression type
8 years ago
Jacob Wright 8aaf9119b0 Allows fragment updates to happen after state updates
8 years ago
Rich Harris 6e10fcd263 update unrelated test
8 years ago
Rich Harris 6d0c5bb680 allow non-existent dynamic components to be destroyed (#1660)
8 years ago
Rich Harris 4b9e264a5f Merge pull request #1670 from sveltejs/init
8 years ago
Rich Harris 66c4285055 Merge pull request #1653 from sveltejs/actions-onmount
8 years ago
Rich Harris 66813c6283 Merge pull request #1672 from blittle/master
8 years ago
James Birtles bf16371c9f fix test
8 years ago
Bret Little c55bf8a92d Properly propagate amdId to the compiler
8 years ago
Rich Harris 9fde41412a update tests
8 years ago
Christian Kaisermann c0e7047aca Also check for null-valued attributes
8 years ago
Christian Kaisermann cb57973392 Remove an undefined attribute instead of setting it to "undefined" (string)
8 years ago
Rich Harris a007000f09 Merge pull request #1652 from sveltejs/gh-1544-computed-whole-state
8 years ago
Rich Harris 56f5e5f998 Merge pull request #1530 from sveltejs/gh-1522
8 years ago
Jacob Wright f39d026137 Change actions to init on mount rather than hydrate
8 years ago
Conduitry 59c0e3377f exclude current prop in computed properties using entire state #1544
8 years ago
Admin c65f06a610 Changes stop and prevent to stopPropagation and preventDefault
8 years ago
Rich Harris f01e45948f update tests
8 years ago
Rich Harris d63175e2e3 -> v2.10.0
8 years ago
Rich Harris 4ba610e8aa Merge branch 'master' of github.com:sveltejs/svelte
8 years ago
Rich Harris 91ba205942 tidy up
8 years ago
Rich Harris 165343056f only add debugger statements in dev mode
8 years ago
Rich Harris c07b2e4419 Merge pull request #1642 from ekhaled/gh-1600-ios
8 years ago
Rich Harris 9d3ed61516 handle single identifiers in {@debug} tags
8 years ago
Rich Harris 04be1fd0cd fix test
8 years ago
Rich Harris c2294ffa0f Merge branch 'debug' of https://github.com/GarrettGeorge/svelte into GarrettGeorge-debug
8 years ago
Admin 868eb7b0af Adds tests for valid and invalid debug tag usage.
8 years ago
Admin 8d133bf3af Adds invalid test for event-modifiers.
8 years ago
ekhaled 2906ada316 update snapshot
8 years ago
Admin 448d7335d4 Fixes tests that use events
8 years ago
Admin 9f3d64dd25 Changes {@debug _ } to {@debug}
8 years ago
Rich Harris 4b293ed6db Merge pull request #1637 from sveltejs/list-whitespace
8 years ago
Rich Harris b2540e1c57 Merge pull request #1636 from sveltejs/gh-875
8 years ago
Admin cadaca24c7 Adds debug all option to debug tag
8 years ago
Rich Harris 65112181e7 preserve whitespace inside lists
8 years ago
Rich Harris 082a471584 tests were wrong way round
8 years ago
Rich Harris 6df0aa7a18 replace appendNode(node, parent) with append(parent, node) - easier to follow
8 years ago
Rich Harris 9c17a0a334 tweak test
8 years ago
Rich Harris 011a6a207c use props when passing data to custom elements (#875)
8 years ago
Admin ad3bc077e5 Adds validation for invalid reference names like foo-bar.
8 years ago
Rich Harris 65aa0691eb Merge pull request #1628 from sveltejs/gh-1540
8 years ago
Rich Harris 50b78ae044 Merge pull request #1631 from sveltejs/gh-1618
8 years ago
Rich Harris a1513f61a9 encapsulate local styles inside global ones - fixes #1618
8 years ago
Rich Harris 3f05095552 failing test for #1621
8 years ago
Rich Harris ed9a7250f2 handle rest elements in computed properties - fixes #1540
8 years ago
Rich Harris dfc3078b7d update CLI tests
8 years ago
Rich Harris 45b3b4132a stringify values before setting text data - fixes #1598
8 years ago
ekhaled f3d94bff21 failing test for #1598
8 years ago
Rich Harris eeb4617b99 upgrade mocha
8 years ago
Rich Harris a0c8bcef2e fix rollup config etc
8 years ago
Rich Harris a907c5289b eslint
8 years ago
Rich Harris 348ac156aa add non-spread test for attribute safety
8 years ago
Rich Harris 6030ea0f5c sanitize spread attributes and disallow invalid attribute names
8 years ago
Rich Harris e037cc4bee Merge pull request #1612 from ekhaled/gh-1589
8 years ago
Rich Harris 26ec91e224 Merge pull request #1610 from ekhaled/gh-1600
8 years ago
ekhaled 23c8691dd4 add failing test for #1589
8 years ago
ekhaled 832ad0aa1f closes #1600
8 years ago
Curtis Maloney 8e8d8ef7b5 [Fixed #1608] Allow binding of input files
8 years ago
Rich Harris 86c2e847b2 null out refs to dynamic components - fixes #1596
8 years ago
Rich Harris f74733d43d Merge branch 'master' of github.com:sveltejs/svelte
8 years ago
Conduitry 0dcea4128b allow {:then}/{:catch} to have no bound identifier (#1507)
8 years ago
Conduitry cd5ebd2a3c in each-else, use mount/intro according to that branch's contents (#1586)
8 years ago
Conduitry 15299e7be0 in .fire always set calling flag back to false (#1587)
8 years ago
Yury Zhuravlev 13230096dd Merge branch 'master' into fix_outro_timeout
8 years ago
Conduitry 3f334171ce unique name for select_block_type in IfBlock#buildCompoundWithOutros
8 years ago
Conduitry 8e95c29a77 fix determing whether an attribute should prevent innerHTML optimization
8 years ago
Yury Zhuravlev 2bfc369951 Fix race condition for if block
8 years ago
Rich Harris 61266fb225 use template.content in place of template where appropriate - fixes #1571
8 years ago
Rich Harris f70073720a Merge pull request #1572 from sveltejs/gh-1561
8 years ago
Rich Harris e19bddb8be Merge pull request #1555 from fjorgemota/patch-1
8 years ago
Rich Harris dddad36b77 abort transition on detach - alternative fix for #1561
8 years ago
Rich Harris 877e408781 separate groupOutros from transitionsManager
8 years ago
Rich Harris d6b4ab1770 outro when <svelte:component> switches - #1568
8 years ago
Fernando Jorge Mota a27160c5fa Support invalid JS attributes when passing data to components and on binding attributes, too
8 years ago
Rich Harris 152dd63f8f Revert "Fix for #1553"
8 years ago
Rich Harris a9447e8668 Merge pull request #1557 from PaulMaly/1553-return-from-custom-event-handler
8 years ago
Pavel Malyshev a777312c8d Fix for #1553
8 years ago
Christian Kaisermann 6545b94c54 Fix prefixed animation name replacement
8 years ago
Pavel Malyshev c3835c08d3 Fix for #1538
8 years ago