Commit Graph

1580 Commits (f5fb02a24a980a241fdbf41a2c66448c2b63069b)

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