Commit Graph

2047 Commits (4223bd393c024f8e6180365ec5a331e811536975)

Author SHA1 Message Date
Richard Harris 2d14ecc0a1 bind to store values in simple cases - fixes #1997
8 years ago
Richard Harris 5f6509bfbf set current = true on mount as well as intro - fixes #2000
8 years ago
Richard Harris 7dda23a926 failing tests for #2000
8 years ago
Rich Harris d1767bd1eb Implement local transitions — fixes #1480
8 years ago
Rich Harris 69c9422907 Better composition — implements https://github.com/sveltejs/rfcs/pull/12
8 years ago
Rich Harris 519e5c0895 Merge pull request #2007 from sveltejs/gh-2005-evschris
8 years ago
Richard Harris 6c1076c580 housekeeping
8 years ago
Chris Reeves 43742738e2 defer hoisting until after the template is walked - fixes #2005
8 years ago
Rich Harris 82d2abac4e Merge pull request #2003 from sveltejs/gh-2002
8 years ago
Chris Reeves ab263120c9 update await-block to use on_outro and check_outros - fixes #1995
8 years ago
Chris Reeves 15c22749b5 check module scope when determining if a name is contextual - fixes #2001
8 years ago
Chris Reeves 927a0fadf5 make sure a hoistable name is not also a shadowed name rendering an expression - fixes #2002
8 years ago
Rich Harris 81f7ca3895 Merge pull request #1993 from sveltejs/gh-1920
8 years ago
Richard Harris 6334140213 prevent writing to reactive values - fixes #1920
8 years ago
Richard Harris 1cb7a0a3e3 test that private state doesnt leak into parent
8 years ago
Richard Harris c464a11cdf dont use identity function to reflect props
8 years ago
Rich Harris 27def9722f Merge pull request #1991 from sveltejs/gh-1952-b
8 years ago
Rich Harris ae330538c8 Merge pull request #1988 from sveltejs/gh-1976
8 years ago
Richard Harris 21a4d1f1c4 hoist vars and lets - closes #1952
8 years ago
Richard Harris 80ba415093 fix scroll bindings
8 years ago
Richard Harris d930ab0f92 rename afterFlush to nextTick, schedule update if necessary
8 years ago
Richard Harris 72793a3713 expose add_render_callback as afterFlush - fixes #1976
8 years ago
Rich Harris ae238382f5 Merge pull request #1986 from sveltejs/gh-1985
8 years ago
Chris Reeves e421065c5a propagate mutation change tracking upward through deps so that adjacent scopes generate proper update code - fixes #1985
8 years ago
Richard Harris 463fac37f7 set immutable option correctly - fixes #1968
8 years ago
Richard Harris 4c42252592 reenable all tests
8 years ago
Richard Harris c7d3ef23fc support multiple preprocessors, handle dependencies - fixes #1973
8 years ago
Richard Harris c6d80aa379 improve preprocess tests
8 years ago
Chris Reeves 5c306736d2 reconcile test diff
8 years ago
Rich Harris d519be3092 Merge pull request #1974 from evs-chris/gh-1916-evschris
8 years ago
Rich Harris 8d31848cfc Merge pull request #1978 from evs-chris/gh-1977-evschris
8 years ago
Rich Harris 3966d5b5f5 Merge pull request #1980 from evs-chris/gh-1952-evschris
8 years ago
Richard Harris a638fe2e80 test for #1852
8 years ago
Rich Harris cc3d6e64b4 Merge pull request #1967 from sveltejs/gh-1939
8 years ago
Rich Harris c30ae9a896 Overhaul transitions - fixes #1906
8 years ago
Chris Reeves bb16fea37e first pass at tracking mutation to avoid unnecessary update code - #1952
8 years ago
Chris Reeves 6dc5e2a6fc fix newline-before-block diffs caused by code builder adjustments
8 years ago
Chris Reeves bfdcf936ea gather event listeners for slot default elements and render in a condition - fixes #1977
8 years ago
Chris Reeves 1adbf8b29e pull contextual deps through for member exprs in this bindings - fixes #1916
8 years ago
Conduitry 8ff8ff3aad replace <svelte:document> with <svelte:body> (#1846)
8 years ago
Richard Harris 542dba436a set parent correctly for children of await blocks - should fix #1939
8 years ago
Richard Harris e38874f236 Merge branch 'master' into gh-1948
8 years ago
Richard Harris f5694432da prevent invalid svelte: tags - fixes #1948
8 years ago
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
Rich Harris c730cc9f4e Merge pull request #1533 from sveltejs/gh-1532
8 years ago
Rich Harris b2126ac620 Merge pull request #1529 from sveltejs/gh-1527
8 years ago
Rich Harris d708dde42b call outrocallback immediately for empty each block
8 years ago
Rich Harris 909015a34e fix for #1522... maybe?
8 years ago
Rich Harris 2e5c29749f failing test for #1522
8 years ago
Rich Harris f02f4cf6fc Merge pull request #1526 from kaisermann/refs-callee-warn
8 years ago
Rich Harris 8fc6d850cc failing test for #1527
8 years ago
Christian Kaisermann b5ff260353 Add refs.* to valid event handler callees warning message
8 years ago
Conduitry 95377be635 fix spread when an attribute or prop has multiple dependencies (#1515)
8 years ago
Rich Harris 6e21fa87f6 Merge pull request #1501 from sveltejs/gh-1499
8 years ago
Rich Harris 1b6cef0873 prevent possibility of conflicts with __file
8 years ago
Rich Harris 8859065599 update CLI tests to fix version number thing
8 years ago
Rich Harris 5b7d28dcfe change __svelte_meta to __svelte_meta.loc
8 years ago
Rich Harris 721f8b6bc6 Merge pull request #1505 from kaisermann/transform-prefixed-keyframes
8 years ago
Conduitry 141f4a052b update some stray references to v1 syntax
8 years ago
Christian Kaisermann cb62b47d4f Make the compiler also transform prefixed @keyframes
8 years ago
Rich Harris ad27d5471e add location info to nodes - fixes #1499
8 years ago
Rich Harris 327c38fd5f Merge pull request #1498 from sveltejs/gh-1497
8 years ago
Rich Harris 9398528525 fix nested outro transitions
8 years ago
Rich Harris ba9fc59da5 Merge pull request #1494 from sveltejs/gh-1230
8 years ago
Conduitry fccbcc74ae use CSS classes for ref:* selectors (#1230)
8 years ago
Rich Harris 4c8e0922a9 separate hasOutros from hasOutroMethod - fixes #1492
8 years ago
Rich Harris 2c3efb891c Merge branch 'master' into gh-1489
8 years ago
Rich Harris b444c96c38 fix dynamic component bindings (#1489)
8 years ago
Conduitry 289e4aaa42 tidy, and revert changes to cli test sample commands
8 years ago
Conduitry fc67566493 normalize paths in comments in cli tests
8 years ago
Pat Cavit 0d1bb9cc8b cross-platform test setup via shelljs
8 years ago
Rich Harris 3974584c9e Merge pull request #1479 from sveltejs/gh-1470
8 years ago
Rich Harris f067d76495 always create outro method for top-level block - fixes #1470
8 years ago
Rich Harris 54a72c1a57 nested components skip intro on initial render - fixes #1460
8 years ago
Rich Harris 4f89adeaaf Merge pull request #1468 from sveltejs/gh-1458
8 years ago
Rich Harris d0ffb5d81a add test, tweak codegen
8 years ago
Rich Harris 0ede1d6395 add snapshot test
8 years ago
Rich Harris 8e2f8fd16d support parameterised animations
8 years ago
Rich Harris 152aff3a23 quote slot names if necessary - fixes #1461
8 years ago
Rich Harris d0f8f1741c pass in destroy method
8 years ago
Rich Harris f97397ff90 tidy up a bit
8 years ago
Rich Harris f3475cd4fd add animation validation tests
8 years ago
Rich Harris 27e5331a98 css animations
8 years ago
Rich Harris d6b897b16b implement js transitions, albeit messily
8 years ago
Rich Harris 96d67b274d groundwork for animations (#1431)
8 years ago
Rich Harris 3d8aad2f6c fix skipped intros
8 years ago
Rich Harris f0a36373f6 allow transition functions to return a function (#1431)
8 years ago
Rich Harris a1c810f870 supply 1 - t as second argument to transition tick/css functions (#1431)
8 years ago
Rich Harris f9db67edbb nested component transitions
8 years ago
Rich Harris 1b2ced7bf1 nested await block outros
8 years ago
Rich Harris de93e49c68 outroing each blocks
8 years ago
Rich Harris 721af8fc64 WIP towards nested transitions
8 years ago
Rich Harris 0e43507660 add skipIntroByDefault compiler option (#547)
8 years ago
Conduitry a9fb844dcd allow spaces around reserved words used in tags in attributes (#1445)
8 years ago
Rich Harris 0e793011a8 allow spread props on elements with tests for static attributes
8 years ago
Rich Harris 0e0e7bebc8 Abort outro if block is recreated — fixes #1425
8 years ago
Rich Harris ead5aec41b Group outro callbacks — fixes #648
8 years ago
Conduitry 816060283d fix handling of shorthand event handler in dynamic components
8 years ago
Rich Harris fa9e2be6ef Merge pull request #1422 from sveltejs/each-object-create
8 years ago
Rich Harris 393d1df33b fix duplicate events on range input bindings (#1419)
8 years ago
Rich Harris 3b82f90db2 use Object.create for each block child contexts
8 years ago
Rich Harris 1fad00ab10 simplify handling of html blocks
8 years ago
Rich Harris a344afaa86 update tests
8 years ago
Rich Harris 46bc257df8 ugh
8 years ago
Rich Harris 42346c2015 support transitions in await blocks - fixes #956
8 years ago
Rich Harris 1eacde9f1e Merge branch 'await-helper' into gh-956
8 years ago
Rich Harris 3e8e589616 fix #1417
8 years ago
Rich Harris b4089474c4 failing test for #1417
8 years ago
Rich Harris aac1e4678c failing test for #956
8 years ago
Rich Harris 17d7aea40e failing test for #1413
8 years ago
Rich Harris 195f9af187 Merge pull request #1395 from sveltejs/gh-1327
8 years ago
Conduitry 0413e7d63d mark elements with refs as ineligible for innerhtml (#1407)
8 years ago
Rich Harris a60d5166b5 update state with new computed properties
8 years ago
Rich Harris 450165ac5c Merge branch 'master' into gh-1327
8 years ago
Rich Harris ebf3d8617f Merge pull request #1405 from sveltejs/gh-1399-alt
8 years ago
Rich Harris df8cf577bf Merge pull request #1402 from sveltejs/gh-1397
8 years ago
Rich Harris fd7063e84a fix and simplify cycle detection
8 years ago
Rich Harris c176506086 put test alongside other store tests
8 years ago
Rich Harris 53c596ca85 only update component props if they are dynamic - fixes #1394
8 years ago
Rich Harris c7bd87bd83 evaluate each block key in child scope - fixes #1397
8 years ago
Brian Takita cb1978e937 Fix https://github.com/sveltejs/svelte/issues/1399
8 years ago
Rich Harris 3d39095e78 Merge pull request #1393 from sveltejs/bind-width-etc
8 years ago
Rich Harris 7263e08173 Merge pull request #1392 from sveltejs/gh-1390
8 years ago
Rich Harris 4106095033 update test
8 years ago
Rich Harris e137e50516 failing test for #1327
8 years ago
Rich Harris 7ea5b0f0c6 only overwrite this in event handlers for custom events - fixes #1390
8 years ago
Conduitry d1bdb62be9 fix svelte-cli references
8 years ago
Rich Harris 4a5af06318 remove debugging logging
8 years ago
Rich Harris 21c23aca60 Merge pull request #1386 from sveltejs/gh-984
8 years ago
Rich Harris ca88cb6231 rewrite version numbers to make cli testing less of a pain
8 years ago
Rich Harris cb19266f82 update tests
8 years ago
Rich Harris 2e79826b30 Merge branch 'master' into gh-984
8 years ago
Rich Harris fbb0bd4d46 update tests
8 years ago
Rich Harris 4e044ef391 Merge branch 'master' into gh-1360
8 years ago
Rich Harris 619c6b9bec prevent bind:offsetWidth etc on void elements
8 years ago
Rich Harris b6beef00ef keep ES5 function names in dev mode
8 years ago
Rich Harris 489c843a90 integrate CLI - fixes #1360
8 years ago
Rich Harris d695d7b75a update tests
8 years ago
Rich Harris 14b6f8bb67 add validation logic, error on dimension bindings for SVG elements
8 years ago
Rich Harris b7b98578cd update tests
8 years ago
Rich Harris 01dc4a7b85 bind to dimensions
8 years ago
Rich Harris e4e84a1261 Merge branch 'master' into gh-984
8 years ago
Rich Harris fd73fadf98 WIP towards #984
8 years ago
Rich Harris b767227a2f bind to destructured properties
8 years ago
Rich Harris 4d1e71fdd5 sparse array patterns
8 years ago
Rich Harris 58f481d2e4 destructuring
8 years ago
Rich Harris 364921ee8a deduplicate each block context generation for keyed blocks
8 years ago
Rich Harris 1deafca304 Merge branch 'master' into gh-1287
8 years ago
Rich Harris 93148ee808 deduplicate each block context generation (#1287)
8 years ago
Rich Harris f7f9c25e0a failing test for #1187
8 years ago
Rich Harris 394240a2aa set window scroll from bindings on initialisation - fixes #938
8 years ago
Rich Harris 70b01fe960 allow arbitrary expressions in each block keys - fixes #703
8 years ago
Rich Harris ee522dc7e0 Merge pull request #1374 from sveltejs/gh-1368
8 years ago
Rich Harris cf48355bee Merge pull request #1375 from sveltejs/gh-1369
8 years ago
Rich Harris c563cfa83d Merge pull request #1376 from sveltejs/gh-1297
8 years ago
Rich Harris 91cd2cfef1 Merge pull request #1377 from sveltejs/gh-1303
8 years ago
Rich Harris 170ca172e4 Merge pull request #1378 from sveltejs/gh-1286
8 years ago
Rich Harris c0366c7b0f preserve outer context for await blocks - fixes #1251
8 years ago
Rich Harris fc6fd787d2 recalculate each block values lazily - fixes #1286
8 years ago
Rich Harris 51651ebce5 implement full-state computed properties - fixes #1303
8 years ago
Rich Harris 21c4d9ce55 overwrite this in custom event handlers - fixes #1297
8 years ago
Rich Harris a19aec1ea9 assign custom methods to custom element prototype - fixes #1369
8 years ago
Rich Harris 7ced1d4e74 fix #1368
8 years ago
Rich Harris 09468dfb47 all tests passing
8 years ago
Rich Harris d6d3af8e03 minor fixes
8 years ago
Rich Harris dd61ceba66 minor fixes, update various tests
8 years ago
Rich Harris f3262e03aa update parser tests
8 years ago
Rich Harris e0161f1dfa reenable non-runtime tests
8 years ago
Rich Harris 0e98b39803 more stuff
8 years ago
Rich Harris 3186f2e0ba WIP
8 years ago
Rich Harris 032aeab970 baby steps towards #1316
8 years ago
Rich Harris 6800b160d0 Merge pull request #1364 from sveltejs/gh-1356
8 years ago
Rich Harris 947b39cd8d Merge pull request #1365 from sveltejs/gh-1354
8 years ago
Rich Harris 50377c2a6b prevent stale state in component event handlers - fixes #1353
8 years ago
Rich Harris 50dd0fd460 set state to blank object on destroy, not null - fixes #1354
8 years ago
Rich Harris d6a8a71448 tweak
8 years ago
Rich Harris e0dc854a5f correctly report changed properties in initial state/update events - fixes #1356
8 years ago
pk 04b1c11026 Failing test for #1356
8 years ago
Rich Harris dcdcb9ab03 Merge pull request #1358 from sveltejs/gh-1038
8 years ago
Conduitry f5fb3e6c08 add test
8 years ago
Rich Harris 0769c2fd59 update spread props in each blocks without other dynamic attributes - fixes #1337
8 years ago
Rich Harris 736cd9ea06 support $method(...) calls, and warn on store.method(...)
8 years ago
Rich Harris e65253ddde remove legacy prop stuff, now that we emit ES2015
8 years ago
Conduitry db44965a26 fix <svelte:window> to use new APIs
8 years ago
Rich Harris 5c9b7df07b fixes
8 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
8 years ago
Rich Harris ac662d3b92 update test
8 years ago
Rich Harris 14c8e88045 remove redundant test
8 years ago
Rich Harris 17be6f5b29 skip test, fix post-v2
8 years ago
Rich Harris 62e9f12db0 tidy up
8 years ago
Rich Harris b128399540 fix some more tests
8 years ago
Rich Harris 6719958169 remove cascade option
8 years ago
Rich Harris 325b5a6c5c update css tests
8 years ago
Rich Harris 00d4550733 update hydration tests
8 years ago
Rich Harris ff214ef8ab SSR tests
8 years ago
Rich Harris 842e49155c update validation tests
8 years ago
Rich Harris 53963dc7e6 remove store option
8 years ago
Rich Harris 50533bcefa remove v1 tests
8 years ago
Rich Harris 3db454c91d remove v1 runtime tests
8 years ago
Rich Harris e6e3f9a07c remove deprecated renderCss method
8 years ago
Rich Harris 90d06134fd remove v1 snapshot tests
8 years ago
Rich Harris 7a5042208b oops
8 years ago
Rich Harris c854f2c9fc remove v1 parser tests
8 years ago
Rich Harris b6d93feba6 dont typecast numeric attributes
8 years ago
Rich Harris cd0ffa35f6 remove validate and Stylesheet from public API
8 years ago
Rich Harris 75c86887b8 remove code, map and cssMap from svelte.compile output
8 years ago
Rich Harris 2994c9681d update snapshot tests
8 years ago
Rich Harris c806aad410 update tests to account for removal of observe
8 years ago
Rich Harris d532561a7f update snapshot tests
8 years ago
Rich Harris d9828355b2 update store tests
8 years ago
Rich Harris d045e3907d remove ES5 constraint
8 years ago
Rich Harris 9b81ff1640 deprecate get with string argument
8 years ago
Rich Harris cae27b1904 allow overwritten observe
8 years ago
Rich Harris ef1954947e Merge pull request #1345 from sveltejs/gh-1069
8 years ago
Rich Harris 382e0191a8 use destructuring syntax for computed props in v2 mode - fixes #1069
8 years ago
Rich Harris f07b050d52 update tests
8 years ago
Rich Harris 526a7799ec deprecate observe
8 years ago
Rich Harris 3b4b8c25d5 implement onstate and onupdate
8 years ago
Rich Harris 97acdbe30e Merge branch 'master' into gh-1197
8 years ago
Rich Harris 2855fbdc32 add some onstate/onupdate tests
8 years ago
Rich Harris c20ae70b88 Merge pull request #1340 from sveltejs/gh-474
8 years ago
Rich Harris f8801feb2b add codes to errors
8 years ago
Conduitry b7145ffaee in v2, don't parse for interpolations in non-root style elements (#1339)
8 years ago
Rich Harris 7b1df97d7e add codes to validation errors
8 years ago
Rich Harris 2151301716 update tests
8 years ago
Rich Harris 17a20bbe37 add codes to warnings (#474)
8 years ago
Rich Harris 62cbb31844 Merge pull request #1330 from sveltejs/gh-1318
8 years ago
Rich Harris dca723a3ef attribute shorthand test
8 years ago
Rich Harris 844c89dce6 update keyed each block syntax
8 years ago
Rich Harris 1a41f8bddd implement dynamic components etc
8 years ago
Rich Harris f6958f03fe reenable all tests
8 years ago
Rich Harris c6157909c3 fix debugging comments
8 years ago
Rich Harris 23f8f87243 fix head/window meta tags
8 years ago
Rich Harris d1ca636120 v2 js tests
8 years ago
Rich Harris 9235efb8dd more tests, support svelte: elements
8 years ago
Rich Harris 22bb74413a add validator tests
8 years ago
Rich Harris 0ac3a522d9 attribute shorthand
8 years ago
Rich Harris dd2de33df3 fix #1331
8 years ago
Rich-Harris 8e95bf5111 brute force new keyed each block syntax
9 years ago
Rich-Harris ac13b72bd6 update parser for v2
9 years ago
Rich-Harris 6aef662fa5 add v2 parser tests, handle single curly tags
9 years ago
Rich Harris 24238e5778 Merge pull request #1299 from sveltejs/gh-1257
9 years ago
Rich Harris bbec452b0a Merge pull request #1311 from sveltejs/gh-1278
9 years ago
Rich Harris f26cd3b58e Merge pull request #1312 from sveltejs/gh-1275
9 years ago
Rich Harris f7bdf71946 Merge pull request #1313 from sveltejs/gh-1270
9 years ago
Rich Harris 209012c59d Merge pull request #1314 from sveltejs/gh-1269
9 years ago
Rich-Harris 22308a02ea support custom events on <:Window> - fixes #1268
9 years ago
Rich-Harris 381356aae7 make CSS DCE case-insensitive - fixes #1269
9 years ago
Rich-Harris 0963c226a8 fail validation if bound <select> has dynamic multiple attribute - fixes #1270
9 years ago
Rich-Harris 0ed59b7d74 deconflict against inherited contexts - fixes #1275
9 years ago
Rich-Harris 9a9f787e52 treat component events the same as element events - fixes #1278
9 years ago