Commit Graph

1499 Commits (16e33c836eb601d8b0d7ab4c3ff91cbf67ecaa7b)

Author SHA1 Message Date
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 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
8 years ago
Rich-Harris ac13b72bd6 update parser for v2
8 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
Rich Harris bd7cc3ce15 Merge pull request #1310 from sveltejs/gh-1300
9 years ago
Rich-Harris b496a2f058 bail out of CSS optimisations on encountering spread - fixes #1300
9 years ago
Rich-Harris cbafb650bf ensure correct order of DOM insertions with neighbouring keyed each blocks - fixes #1306
9 years ago
Rich-Harris df07dde5fd spread on dynamic component - fixes #1307
9 years ago
Rich-Harris 15b371eeff merge master -> gh-1257
9 years ago
Rich Harris 0601e3bc0f Merge pull request #1298 from sveltejs/gh-795
9 years ago
Rich Harris 3af38db0f2 Merge pull request #1289 from sveltejs/gh-195
9 years ago
Rich-Harris 29f8b28747 handle boolean attributes
9 years ago
Rich-Harris 834824f4c6 include warnings in stats object
9 years ago
Rich-Harris fd16fadad9 add lifecycle hooks
9 years ago
Rich-Harris 51df2cb7f6 add stats tests, handle imports
9 years ago
Rich-Harris e8442d01eb dont generate test output if no css
9 years ago
Rich-Harris 6d47e924c4 output { js, css, ast } from svelte.compile - fixes #795
9 years ago
Rich-Harris aea4caaf2a fix element spread SSR
9 years ago
Rich-Harris 6e41ebe91b component spread
9 years ago
Rich-Harris cf05f19e11 tidy up/notes to self
9 years ago
Rich Harris 31a6174a6a Merge pull request #1295 from sveltejs/each-block-keyed-empty
9 years ago
Rich-Harris 249e1f014b Revert "fix handler in-place"
9 years ago
Rich-Harris b7589e3162 Merge branch 'custom-event-teardown' of https://github.com/ekhaled/svelte into ekhaled-custom-event-teardown
9 years ago
ekhaled 59df8ca4f3 fix handler in-place
9 years ago
Rich-Harris 760b430ea8 handle empty each blocks
9 years ago
Rich-Harris 29358228a5 argh, need a precommit check for this
9 years ago
Rich-Harris b3a5973894 allow keyed each block to have static content - fixes #1291
9 years ago
ekhaled c1b1e4b188 add dev mode warning when teardown is returned instead of destroy
9 years ago
ekhaled bf71af4c2f support both destroy and teardown in custom event handlers
9 years ago
Rich-Harris 8a38ba3636 basic attribute spreading on elements
9 years ago
Josh Duff 4539466c0c Accept backtick string literals in tag/props properties
9 years ago
Josh Duff 3062a86435 Fix backtick string literals not being recognized for the svg property
9 years ago
Rich-Harris ff56d9c312 Merge branch 'master' into mrkishi-spread
9 years ago
Conduitry 5dcbb8881b fix assembly of initial state object
9 years ago
Rich-Harris 85c10c2172 include spread with other attributes
9 years ago
Rich-Harris c5aa5693e5 merge master -> mrkishi-spreadh
9 years ago
Rich Harris 22028c094c Merge pull request #1279 from jacwright/action-this
9 years ago
Rich Harris 4e28a2d637 Merge pull request #1280 from sveltejs/dynamic-component-mount-ref
9 years ago
Luke Edwards 74e0e7e51d update test samples’ expectants
9 years ago
Conduitry bfd8edc938 when mounting dynamic components, set ref if required
9 years ago
Jacob Wright 74fa12a3e1 Make tests work when running all of them together.
9 years ago
Jacob Wright 97f74dc8a6 Make actions execute with the component context
9 years ago
Rich Harris 9908272d73 Merge pull request #1247 from jacwright/behaviors
9 years ago
Rich-Harris 18e96a642f Merge branch 'preserve-comments-option' of https://github.com/zzolo/svelte into zzolo-preserve-comments-option
9 years ago
Rich-Harris 00873cc5f7 tidy up
9 years ago
Rich-Harris abde84e6db all tests passing
9 years ago
Rich-Harris 93d4a7da12 holy shit i think i did it
9 years ago
Rich-Harris a5eb7d0549 am close...
9 years ago
Alan Palazzolo d9855597b8 Add option preserve comments in SSR rendering.
9 years ago
Jacob Wright a5ed6cbe18 Adds actions to components
9 years ago
Rich Harris 9227d025a1 Merge branch 'master' into gh-1254
9 years ago
Rich Harris dad62871e6 Merge pull request #1256 from sveltejs/each-keyed-helper
9 years ago