Commit Graph

1255 Commits (00d4550733bf9c98566e29b87f852431de77f3dc)

Author SHA1 Message Date
ekhaled 4fe99e0ff3 fix tests on linux
9 years ago
ekhaled 73e0181cac add test for transitions on nested components
9 years ago
ekhaled 61ad7bcaeb fix snapshots
9 years ago
Rich Harris ba5b661dc7 update deps to get tests to pass again
9 years ago
Rich Harris 1dca323660 only apply key to keyed each block, not its children - fixes #1202
9 years ago
Lee Reamsnyder 67ea9626eb process code in @supports queries with cascade: false
9 years ago
Conduitry 517621bea1 update js if-block-no-update test
9 years ago
Conduitry cee1feaff6 add failing test for #1195
9 years ago
Rich Harris fde43ea376 Merge branch 'master' into gh-1175
9 years ago
Rich Harris 34f18989d8 only use page[XY]Offset
9 years ago
Rich Harris 1bd5d0897c use base36 for style classes
9 years ago
Rich Harris f822a50d3e update more tests
9 years ago
Rich Harris 3053aaeec3 update tests
9 years ago
Rich Harris 5a8a2dff9c Merge branch 'master' into gh-1144
9 years ago
Rich Harris e561f05e9f fix out of date test
9 years ago
Rich Harris d625e8d16f allow observing $foo in dev mode - #1181
9 years ago
Rich Harris 4226cbb4c4 wrap <slot> updates in conditional - fixes #1144
9 years ago
Rich Harris 43e116685a Merge pull request #1173 from sveltejs/gh-1122
9 years ago
Rich Harris d9b9327779 update tests
9 years ago
Rich Harris 648a0a895f Merge pull request #1169 from sveltejs/gh-1166
9 years ago
Rich Harris 610dd36130 update tests
9 years ago
Rich Harris 9f182f95f0 Merge pull request #1178 from GarethOates/storeCancelScope
9 years ago
Rich Harris cd62a43102 add test for #1179
9 years ago
Gareth Oates 92cb77f8da There was no test to determine if onchange cancel threw an error
9 years ago
Robert Hall 61ac049b70 Using pageYOffset & pageXOffset
9 years ago
Rich Harris dcf8e4694a Merge branch 'master' into gh-1122
9 years ago
Rich Harris e4da15330f put _differs on prototype, remove runtime option
9 years ago
Rich Harris c7acf71efd Merge branch 'immutable-support' of https://github.com/jacwright/svelte into jacwright-immutable-support
9 years ago
Rich Harris 0a0f7d142f remove some unused code etc
9 years ago
Rich Harris a7fd6ecc78 all tests passing
9 years ago
Rich Harris c5211e8074 everything working except some destructuring stuff
9 years ago
Rich Harris 63614be14b Merge branch 'master' into gh-1122
9 years ago
Rich Harris 8e7fdb1031 Merge pull request #1158 from sveltejs/gh-1156
9 years ago
Rich Harris f674561331 update tests
9 years ago
Jacob Wright e7eb8aff2f Adds some runtime tests for the immutable option
9 years ago
Jacob Wright 6fc42fe18b Add another test
9 years ago
Jacob Wright 514ebd28b7 Adding compiler option for immutable back in
9 years ago
Rich Harris 991c9b42ae increase test coverage
9 years ago
Rich Harris 4c6b3b79da increase test coverage, handle immediately-closed blocks
9 years ago
Rich Harris 98fead1c64 increase test coverage
9 years ago
Jacob Wright 7afb9b79f7 Makes immutable a component option rather than a compile option
9 years ago
Rich Harris f9e5bb3d18 failing test for second part of #1100
9 years ago
Jacob Wright faa613d357 Removes date checks and simplifies NaN checks, adds tests
9 years ago
Rich Harris 910f7a46e3 use ["default"] instead of .default in legacy mode - fixes #1166
9 years ago
Rich Harris b4edc7c01e doh
9 years ago
Rich Harris 8b6a099ced empty blocks are a dev warning, not an error
9 years ago
Rich Harris cb19de6c24 Merge branch 'master' into gh-1117
9 years ago
Rich Harris 4106840a00 Merge pull request #1153 from sveltejs/gh-1100
9 years ago
Rich Harris a7334b9148 Merge pull request #1165 from sveltejs/sigil-component-attribute-ssr
9 years ago
Rich Harris b47c62111d Merge pull request #1154 from sveltejs/gh-1065
9 years ago
Conduitry 1b551ca703 Merge branch 'master' into sigil-component-attribute-ssr
9 years ago
Conduitry 68b3b26166 do not escape html characters in tags in non-root <style> in SSR mode
9 years ago
Rich Harris af4e510916 Merge pull request #1160 from sveltejs/gh-1108
9 years ago
Conduitry acc7c244ed expand escape-template-literals test
9 years ago
Conduitry b65ab427ad fix escaping of sigils in component attribute values in SSR
9 years ago
Jacob Wright e1ae3d1a43 Add support to computed and store for immutable structures
9 years ago
Conduitry bef0f9b0c7 make test more robust
9 years ago
Conduitry 9d2ccbb433 add test
9 years ago
Rich Harris 7ff328a2f9 failing test for #1082
9 years ago
Conduitry 27fbf382ce remove <noscript> elements in DOM mode (#1108)
9 years ago
Rich Harris 02574812ee error on unclosed comments and blocks with only whitespace
9 years ago
Rich Harris 4d312302ff Merge branch 'empty-each-blocks' of https://github.com/Crisfole/svelte into Crisfole-empty-each-blocks
9 years ago
Rich Harris 979a16f165 Merge pull request #1155 from sveltejs/ssr-escape-attribute-values
9 years ago
Rich Harris fc3e150a8c Merge pull request #1149 from sveltejs/gh-1138
9 years ago
Christopher Pfohl 35a9edbb9c Make sure scripts are passing good data so it's only the parse that can go wrong
9 years ago
Christopher Pfohl 40633327c4 Empty Each Blocks should have consistent behavior.
9 years ago
Conduitry 3d238b0846 escape attribute values in SSR
9 years ago
Rich Harris dd47757d3b prevent erroneous missing data warnings for custom elements - fixes #1065
9 years ago
Rich Harris 91e16dd411 component store bindings - fixes #1100
9 years ago
Rich Harris 40a5d3bb50 in custom elements, call oncreate in connectedCallback - fixes #1117
9 years ago
Rich Harris 5d17248074 prevent await blocks using stale state - fixes #1131
9 years ago
Rich Harris a69442734d remove empty style blocks in prod mode - fixes #1138
9 years ago
Rich Harris 7d0ebc36fc Merge pull request #1145 from jacobmischka/fix-destructured-hoisting
9 years ago
Jacob Mischka 00ba7c5176 Add audio video volume binding (#1148)
9 years ago
Jacob Mischka f831405682 Add destructured context container to usedContexts
9 years ago
Rich Harris dc7ff61de7 Merge pull request #1137 from sveltejs/gh-1135
9 years ago
Rich Harris ca2a33e702 Merge branch 'master' into gh-1135
9 years ago
Rich Harris e2efbdf36d Merge branch 'master' into gh-1062-again
9 years ago
Rich Harris fed4c69f13 change test outcome for uninitialised component bindings inside conditionals
9 years ago
Rich Harris f004837196 update snapshot tests
9 years ago
Rich Harris 89ce3ae3d5 run oncreate functions in sensible order (#1135)
9 years ago
Conduitry 8f06877504 update jsdom; update `window.performance.now` test shim
9 years ago
Conduitry f71fc96c92 another stab at #1062; also fix attribute case in static HTML
9 years ago
Conduitry 5e68edeb4a fix handling of boolean attributes in SSR (#1109)
9 years ago
Rich Harris e97d9edbaf fix test failure
9 years ago
Rich Harris a67aa5db2e Merge branch 'issue-1091' of https://github.com/emilos/svelte into emilos-issue-1091
9 years ago
Rich Harris b9647ff966 Merge pull request #1106 from sveltejs/gh-1083
9 years ago
Rich Harris 2abed15c99 oops
9 years ago
Rich Harris 557035c887 handle wacky identifier names in templates
9 years ago
Rich Harris 563fd552dd Merge pull request #1112 from sveltejs/gh-1110
9 years ago
James Birtles 0e7bf529c2 addd failing nested store test
9 years ago
Conduitry e85b8edfe7 do not run a11y validation on child component elements (#1110)
9 years ago
Rich Harris 084eb39fbd simplify test slightly, add test for reserved words
9 years ago
Rich Harris ea07020d8a fix expected error position, tweak expected message to include suggested alternative
9 years ago
Rich Harris b76818c6c2 run prettier (spaces -> tabs)
9 years ago
Rich Harris 2ef77052d5 Merge branch 'master' of https://github.com/asweingarten/svelte into asweingarten-master
9 years ago
Rich Harris ccbba4b487 Merge pull request #1094 from sveltejs/gh-1061-b
9 years ago
Emil Ajdyna 7c58d0520c Base scoping hashes on CSS content rather than entire file
9 years ago
asweingarten 417acc3236 [1083] Svelte should throw a compile time error when illegal characters are used in computed names
9 years ago
Rich Harris 40fe045c6b Merge pull request #1093 from sveltejs/gh-1061-a
9 years ago
Rich Harris d56ae292ed Merge pull request #1095 from sveltejs/gh-1062
9 years ago
Rich Harris 0761f25683 be more relaxed about attribute casing - fixes #1062
9 years ago
Rich Harris 4abd7b416d fire oncreate handlers for components inside await blocks (#1061)
9 years ago
Rich Harris 7b0e577a52 validate contents of await blocks (#1061)
9 years ago
Rich Harris 02898f8d37 deconflict referenced globals - fixes #1079
9 years ago
Rich Harris d5e93c6d51 add test to ensure only <, > and & are escaped
9 years ago
Conduitry 11d909b9c4 update test
9 years ago
Rich Harris a42ca8d28a Merge pull request #1076 from emilos/a11y
9 years ago
Rich Harris fc1505f883 Merge pull request #1072 from sveltejs/gh-1071
9 years ago
Emil Ajdyna d44f922df8 Allow xlink:href attribute
9 years ago
Rich Harris ae5b15baba reuse timeout function
9 years ago
Rich Harris 9923d6131f escape HTML - fixes #1066
9 years ago
Rich Harris 0d1af53840 remove incorrect test
9 years ago
Rich Harris 9fcb2f4f7f failing tests for #1066
9 years ago
Rich Harris c22e0cfd1b lock scroll bindings to allow tweening - fixes #1071
9 years ago
Rich Harris 49fc3eee5d prevent main fragment being created twice - fixes #1063
9 years ago
Rich Harris 96ca2bd1b7 propagate console events inside nightmare
9 years ago
Rich Harris ee571319af Merge pull request #1053 from sveltejs/gh-1027
9 years ago
Rich Harris 71ac27cb14 Merge pull request #1059 from sveltejs/gh-54
9 years ago
Rich Harris 62a385a8a2 only optimise <title> inside <:Head>
9 years ago
Rich Harris a587fb6303 Merge branch 'master' into gh-1027
9 years ago
Rich Harris 3515e488d1 Merge pull request #1052 from sveltejs/gh-1051
9 years ago
Rich Harris fb60f9f80a Merge pull request #1054 from sveltejs/gh-1026
9 years ago
Rich Harris 5c1f6ff206 add option to disable two-way binding (#54)
9 years ago
Rich Harris f51ab57088 dont create text nodes inside <:Head> - fixes #1026
9 years ago
Rich Harris 1b2949f572 optimise <title> - fixes #1027
9 years ago
Rich Harris d7e236f7cc warn on unused events/transitions - fixes #1051
9 years ago
Rich Harris d0136fe543 detect unused/misplaced components - closes #1039
9 years ago
Rich Harris 5304abf915 fix data references in event handlers inside await-then-catch (fixes #1032)
9 years ago
Rich Harris b61e3c8a35 Merge pull request #1048 from sveltejs/gh-1022
9 years ago
Rich Harris 8e67c210c9 Merge pull request #1047 from sveltejs/gh-1040
9 years ago
Rich Harris c2aeead86e reenable tests
9 years ago
Rich Harris 5c54cad290 boy do i feel stupid. fixes #1022
9 years ago
Rich Harris 94f7b959b8 create initial data for dynamic components in correct place - fixes #1040
9 years ago
Rich Harris e323373c08 fix toString method in SSR output - closes #1044
9 years ago
Rich Harris 721cf679aa tweak error wording slightly
9 years ago
Emil Ajdyna 2523e47180 Check against this usage in computed functions
9 years ago
Rich Harris f639bbed42 get store() to work with nested components in SSR compiler
9 years ago
Rich Harris 28e3ecdb3e can just use options here
9 years ago
Emil Ajdyna 8609956e22 Add state() method handling for components
9 years ago
Rich Harris bd85fc13fc Merge pull request #1024 from sveltejs/gh-1013
9 years ago
Rich Harris 74982fc202 fix unrelated bug that was causing tests to fail
9 years ago
Rich Harris ee29ee40fe unmount head children correctly
9 years ago
Rich Harris 84b70eac88 server-side <:Head>
9 years ago
Rich Harris 69dab15d8d remove <:Document>, implement <:Head> on client-side
9 years ago
Rich Harris 7d38f2d1e1 Merge pull request #1021 from sveltejs/gh-1015
9 years ago
Rich Harris 7c01ab2cb7 deprecate renderCss
9 years ago
Rich Harris 286e4350d4 generate title in SSR compiler
9 years ago
Rich Harris 69a9fe042e deconflict properly
9 years ago
Rich Harris f0055e555b change server-side render method signature
9 years ago
Rich Harris 2390952973 add new <:Document> meta-component
9 years ago
Emil Ajdyna 554145b9ce Expose root as a public property
9 years ago
Rich Harris feee1d9c8f implement preload
9 years ago
Rich Harris f5573cd8e8 Merge pull request #1019 from sveltejs/gh-1012
9 years ago
Rich Harris 1600a89b98 Merge pull request #1018 from sveltejs/gh-1014
9 years ago
Rich Harris 48dc90d9f7 remove solo
9 years ago
Rich Harris afcf2aa3f2 deconflict computed properties with arguments to _recompute - fixes #1012
9 years ago
Rich Harris f6995a800b allow await blocks in slots - fixes #1014
9 years ago
Rich Harris ffdae43b70 allow components without slots to have whitespace as only child - fixes #1007
9 years ago
Efthymis Sarmpanis aa56cde383 Failing test for improper toString override in CompileError
9 years ago
Rich Harris 35af771990 rename file
9 years ago
Rich Harris 3fdf5d98e2 sanitize filenames before SSRing - fixes #1005
9 years ago
Rich Harris d615c3a9b8 support dynamic import - closes #1003
9 years ago
Rich Harris 89305e63c9 await...then shorthand - fixes #957
9 years ago
Rich Harris d127015849 emit dev mode error for bad arguments to set - fixes #990
9 years ago
Rich Harris 877e811c99 don't add event to expectedProperties - fixes #972
9 years ago
Rich Harris e5e5ff6fbf trim SSR'd output more intelligently - fixes #998
9 years ago
Rich Harris 93f6f8edcb Handle empty classes when pruning unused styles - fixes #997
9 years ago
Rich Harris 6334899b3d fix figcaption a11y warning - fixes #996
9 years ago
Rich Harris a39b435a41 don't use dataset with svg elements - fixes #995
9 years ago
Rich Harris 0fb180009e fix dynamic components inside elements - fixes #994
9 years ago
Rich Harris 72ce87fd31 Merge pull request #987 from tivac/preprocess-options
9 years ago
Pat Cavit ecb965251d test: filename passed to hooks
9 years ago
Rich Harris c64561458b Merge branch 'master' into gh-640
9 years ago
Rich Harris f54bfe29dd mount await blocks with siblings (#974), and unmount correctly (#975)
9 years ago
Rich Harris f5c5083881 fix tests, finish renaming stuff
9 years ago
Rich Harris 5e71d2fff4 slotted contents of dynamic components
9 years ago
Tim Hall d744b038e4 Failing test for #975
9 years ago
Tim Hall f5c608f357 Failing test for #974
9 years ago
Rich Harris cd534ab792 update props of existing dynamic component
9 years ago
Rich Harris e3ac083ab0 dynamic component bindings
9 years ago
Rich Harris b7d9c1e113 rename tests
9 years ago
Rich Harris 96267066b6 dynamic component event handlers
9 years ago
Rich Harris ef838363d9 client-side dynamic components mostly working (#640)
9 years ago
Rich Harris 3c98ba7985 parse :Switch tags
9 years ago
Rich Harris 3551019a75 dont transform bidi transitions twice - fixes #962
9 years ago
Rich Harris 4ba5d65a16 correctly mount await block that has an anchor
9 years ago
Rich Harris 6187a703c2 Merge branch 'master' into gh-654
9 years ago
Rich Harris 9613e3f506 reenable all tests
9 years ago
Rich Harris 2d72a50ad9 fix attribute parsing
9 years ago
Rich Harris b5a8755102 remove tests of coffeescript etc
9 years ago
Rich Harris ab7550c4e2 more direct tests
9 years ago
Rich Harris 9dc02f1748 use helper
9 years ago
Rich Harris 4f05a22cb3 return promise, so that test results are correct
9 years ago
Efthymis Sarmpanis 6500b460e8 Basic support for style and script preprocessors
9 years ago
Rich Harris 7a7ce6097c Merge pull request #965 from sveltejs/gh-961
9 years ago
Rich Harris a075bb552c update test
9 years ago
Rich Harris 0b8ef112ca prevent boolean attributes breaking shapes inside estree-walker - fixes #961
9 years ago
Rich Harris 27e3e3330f guard against introducing ES6+isms into store.js
9 years ago
Rich Harris 037786f5f3 Merge branch 'master' into prevent-cyclical-store-computations
9 years ago