Commit Graph

1420 Commits (36f1192a93be0d27794c6b4429f8a5a1bd36f031)

Author SHA1 Message Date
Conduitry d1bdb62be9 fix svelte-cli references
9 years ago
Rich Harris 4a5af06318 remove debugging logging
9 years ago
Rich Harris 21c23aca60 Merge pull request #1386 from sveltejs/gh-984
9 years ago
Rich Harris ca88cb6231 rewrite version numbers to make cli testing less of a pain
9 years ago
Rich Harris cb19266f82 update tests
9 years ago
Rich Harris 2e79826b30 Merge branch 'master' into gh-984
9 years ago
Rich Harris fbb0bd4d46 update tests
9 years ago
Rich Harris 4e044ef391 Merge branch 'master' into gh-1360
9 years ago
Rich Harris 619c6b9bec prevent bind:offsetWidth etc on void elements
9 years ago
Rich Harris b6beef00ef keep ES5 function names in dev mode
9 years ago
Rich Harris 489c843a90 integrate CLI - fixes #1360
9 years ago
Rich Harris d695d7b75a update tests
9 years ago
Rich Harris 14b6f8bb67 add validation logic, error on dimension bindings for SVG elements
9 years ago
Rich Harris b7b98578cd update tests
9 years ago
Rich Harris 01dc4a7b85 bind to dimensions
9 years ago
Rich Harris e4e84a1261 Merge branch 'master' into gh-984
9 years ago
Rich Harris fd73fadf98 WIP towards #984
9 years ago
Rich Harris b767227a2f bind to destructured properties
9 years ago
Rich Harris 4d1e71fdd5 sparse array patterns
9 years ago
Rich Harris 58f481d2e4 destructuring
9 years ago
Rich Harris 364921ee8a deduplicate each block context generation for keyed blocks
9 years ago
Rich Harris 1deafca304 Merge branch 'master' into gh-1287
9 years ago
Rich Harris 93148ee808 deduplicate each block context generation (#1287)
9 years ago
Rich Harris 70b01fe960 allow arbitrary expressions in each block keys - fixes #703
9 years ago
Rich Harris ee522dc7e0 Merge pull request #1374 from sveltejs/gh-1368
9 years ago
Rich Harris cf48355bee Merge pull request #1375 from sveltejs/gh-1369
9 years ago
Rich Harris c563cfa83d Merge pull request #1376 from sveltejs/gh-1297
9 years ago
Rich Harris 91cd2cfef1 Merge pull request #1377 from sveltejs/gh-1303
9 years ago
Rich Harris 170ca172e4 Merge pull request #1378 from sveltejs/gh-1286
9 years ago
Rich Harris c0366c7b0f preserve outer context for await blocks - fixes #1251
9 years ago
Rich Harris fc6fd787d2 recalculate each block values lazily - fixes #1286
9 years ago
Rich Harris 51651ebce5 implement full-state computed properties - fixes #1303
9 years ago
Rich Harris 21c4d9ce55 overwrite this in custom event handlers - fixes #1297
9 years ago
Rich Harris a19aec1ea9 assign custom methods to custom element prototype - fixes #1369
9 years ago
Rich Harris 7ced1d4e74 fix #1368
9 years ago
Rich Harris 09468dfb47 all tests passing
9 years ago
Rich Harris d6d3af8e03 minor fixes
9 years ago
Rich Harris dd61ceba66 minor fixes, update various tests
9 years ago
Rich Harris f3262e03aa update parser tests
9 years ago
Rich Harris e0161f1dfa reenable non-runtime tests
9 years ago
Rich Harris 0e98b39803 more stuff
9 years ago
Rich Harris 3186f2e0ba WIP
9 years ago
Rich Harris 032aeab970 baby steps towards #1316
9 years ago
Rich Harris 6800b160d0 Merge pull request #1364 from sveltejs/gh-1356
9 years ago
Rich Harris 947b39cd8d Merge pull request #1365 from sveltejs/gh-1354
9 years ago
Rich Harris 50377c2a6b prevent stale state in component event handlers - fixes #1353
9 years ago
Rich Harris 50dd0fd460 set state to blank object on destroy, not null - fixes #1354
9 years ago
Rich Harris d6a8a71448 tweak
9 years ago
Rich Harris e0dc854a5f correctly report changed properties in initial state/update events - fixes #1356
9 years ago
pk 04b1c11026 Failing test for #1356
9 years ago
Rich Harris dcdcb9ab03 Merge pull request #1358 from sveltejs/gh-1038
9 years ago
Conduitry f5fb3e6c08 add test
9 years ago
Rich Harris 0769c2fd59 update spread props in each blocks without other dynamic attributes - fixes #1337
9 years ago
Rich Harris 736cd9ea06 support $method(...) calls, and warn on store.method(...)
9 years ago
Rich Harris e65253ddde remove legacy prop stuff, now that we emit ES2015
9 years ago
Conduitry db44965a26 fix <svelte:window> to use new APIs
9 years ago
Rich Harris 5c9b7df07b fixes
9 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
9 years ago
Rich Harris ac662d3b92 update test
9 years ago
Rich Harris 14c8e88045 remove redundant test
9 years ago
Rich Harris 17be6f5b29 skip test, fix post-v2
9 years ago
Rich Harris 62e9f12db0 tidy up
9 years ago
Rich Harris b128399540 fix some more tests
9 years ago
Rich Harris 6719958169 remove cascade option
9 years ago
Rich Harris 325b5a6c5c update css tests
9 years ago
Rich Harris 00d4550733 update hydration tests
9 years ago
Rich Harris ff214ef8ab SSR tests
9 years ago
Rich Harris 842e49155c update validation tests
9 years ago
Rich Harris 53963dc7e6 remove store option
9 years ago
Rich Harris 50533bcefa remove v1 tests
9 years ago
Rich Harris 3db454c91d remove v1 runtime tests
9 years ago
Rich Harris e6e3f9a07c remove deprecated renderCss method
9 years ago
Rich Harris 90d06134fd remove v1 snapshot tests
9 years ago
Rich Harris 7a5042208b oops
9 years ago
Rich Harris c854f2c9fc remove v1 parser tests
9 years ago
Rich Harris b6d93feba6 dont typecast numeric attributes
9 years ago
Rich Harris cd0ffa35f6 remove validate and Stylesheet from public API
9 years ago
Rich Harris 75c86887b8 remove code, map and cssMap from svelte.compile output
9 years ago
Rich Harris 2994c9681d update snapshot tests
9 years ago
Rich Harris c806aad410 update tests to account for removal of observe
9 years ago
Rich Harris d532561a7f update snapshot tests
9 years ago
Rich Harris d9828355b2 update store tests
9 years ago
Rich Harris d045e3907d remove ES5 constraint
9 years ago
Rich Harris 9b81ff1640 deprecate get with string argument
9 years ago
Rich Harris cae27b1904 allow overwritten observe
9 years ago
Rich Harris ef1954947e Merge pull request #1345 from sveltejs/gh-1069
9 years ago
Rich Harris 382e0191a8 use destructuring syntax for computed props in v2 mode - fixes #1069
9 years ago
Rich Harris f07b050d52 update tests
9 years ago
Rich Harris 526a7799ec deprecate observe
9 years ago
Rich Harris 3b4b8c25d5 implement onstate and onupdate
9 years ago
Rich Harris 97acdbe30e Merge branch 'master' into gh-1197
9 years ago
Rich Harris 2855fbdc32 add some onstate/onupdate tests
9 years ago
Rich Harris c20ae70b88 Merge pull request #1340 from sveltejs/gh-474
9 years ago
Rich Harris f8801feb2b add codes to errors
9 years ago
Conduitry b7145ffaee in v2, don't parse for interpolations in non-root style elements (#1339)
9 years ago
Rich Harris 7b1df97d7e add codes to validation errors
9 years ago
Rich Harris 2151301716 update tests
9 years ago
Rich Harris 17a20bbe37 add codes to warnings (#474)
9 years ago
Rich Harris 62cbb31844 Merge pull request #1330 from sveltejs/gh-1318
9 years ago
Rich Harris dca723a3ef attribute shorthand test
9 years ago
Rich Harris 844c89dce6 update keyed each block syntax
9 years ago
Rich Harris 1a41f8bddd implement dynamic components etc
9 years ago
Rich Harris f6958f03fe reenable all tests
9 years ago
Rich Harris c6157909c3 fix debugging comments
9 years ago
Rich Harris 23f8f87243 fix head/window meta tags
9 years ago
Rich Harris d1ca636120 v2 js tests
9 years ago
Rich Harris 9235efb8dd more tests, support svelte: elements
9 years ago
Rich Harris 22bb74413a add validator tests
9 years ago
Rich Harris 0ac3a522d9 attribute shorthand
9 years ago
Rich Harris dd2de33df3 fix #1331
9 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
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