Commit Graph

1611 Commits (609839d014d1f479b2f70931657d3feea1d08e0d)

Author SHA1 Message Date
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