Commit Graph

624 Commits (62c70cce9fe7234130b223ccbe61e47652fbec49)

Author SHA1 Message Date
Rich Harris 47da5f9038 put attribute selector before pseudo-class selector - fixes #658
9 years ago
Rich Harris 6a1248334b update tests
9 years ago
Rich Harris 30cc2664c7 test with hydratable: true and hydratable: false
9 years ago
Rich Harris 1bce6f22ce get all tests passing with hydration
9 years ago
Rich Harris f10d2bb250 fix most non-hydration tests
9 years ago
Rich Harris 79ca1b962c events, bindings, if block fixes
9 years ago
Rich Harris d964b63ad3 fix component hydration
9 years ago
Rich Harris e26c37b408 more hydration
9 years ago
Rich Harris 1cc36884d4 hydration working with elements, text nodes, tags and if blocks
9 years ago
Rich Harris 451ea0068c Merge branch 'master' into hydration
9 years ago
Rich Harris b8141d0fc5 doh
9 years ago
Rich Harris 282a3553d2 add test for #643
9 years ago
Rich Harris 30bbbc5c30 fix bad indentation in generated code
9 years ago
Paul Sauve 62b42db6cf Fix #643
9 years ago
Rich Harris 77cd688922 Merge pull request #642 from sveltejs/gh-639-b
9 years ago
Rich Harris 937a33b03c Merge pull request #641 from sveltejs/gh-639-a
9 years ago
Rich Harris 8a095f1d11 mark indirect dependencies of <select> bindings - #639
9 years ago
Rich Harris 6a13e538b3 skip failing SSR test for now
9 years ago
Rich Harris f2596decc6 sync state with view, if <select> binding does not have initial value (#639)
9 years ago
Rich Harris 0013764a01 first, very incorrect stab at hydration
9 years ago
Rich Harris 49b2136220 add hydration tests
9 years ago
Rich Harris 0c0122cd1f include ast in svelte.compile return value (#632)
9 years ago
Rich Harris b844f7a58d Merge pull request #627 from sveltejs/gh-624
9 years ago
Conduitry c31bdc6863 correctly handle empty <style> tag (#634)
9 years ago
Rich Harris ae39be8368 Merge pull request #630 from sveltejs/gh-620
9 years ago
Rich Harris e926dc09f4 only enforce static type if input is bound (fixes #620)
9 years ago
Rich Harris 20801f2dc2 warn on missing component (#623)
9 years ago
Rich Harris e04ae39b51 allow components to have computed member expressions for bindings (fixes #624)
9 years ago
Rich Harris 736f36b717 more useful presentation of failing SSR code
9 years ago
Rich Harris ef3d0f8dd1 lint
9 years ago
Rich Harris 81561703fa more improvements to ergonomics around test failures
9 years ago
Rich Harris 27a10994ad failing test for #625
9 years ago
Rich Harris 789f04c5e3 remove logging
9 years ago
Rich Harris a4e28a7499 improve readability of debugging printouts
9 years ago
Rich Harris 204ee5a746 Merge branch 'master' into gh-616
9 years ago
Rich Harris ba0cbdb8d0 TS-ify spaces.js and deindent.js, so they get included in prettier task
9 years ago
Conduitry 330c22e146 also escape back-ticks and backslashes in text nodes in SSR code (#616)
9 years ago
Rich Harris ecc84fbecf prettierfy test files
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
9 years ago
Conduitry c97159ee2e sanitize event name in handler function name (#612)
9 years ago
Rich Harris 8458a3f9e2 merge master -> gh-592
9 years ago
Rich Harris 63a1df3f76 Merge pull request #607 from sveltejs/gh-583
9 years ago
Rich Harris 5a3aa566ce Merge pull request #606 from sveltejs/gh-584
9 years ago
Rich Harris 173fdffaa8 Merge pull request #605 from sveltejs/gh-602
9 years ago
Rich Harris 7e5e6c3f13 add test for #610
9 years ago
Rich Harris ac94286897 Merge branch 'fix-each-block' of https://github.com/hperrin/svelte into hperrin-fix-each-block
9 years ago
Hunter Perrin eb71c440a4 Fixed each block producing elements in wrong order after change. Fixes #610.
9 years ago
Rich Harris 14c42114fe update tests to use new assign helper
9 years ago
Rich Harris ac83b405a6 add cascade option, to prevent components inheriting styles (#583)
9 years ago
Rich Harris 41cd7f1b15 coerce empty string in number/range inputs to undefined - closes #584
9 years ago
Rich Harris 4b08fe38f2 change error message for invalid bindings
9 years ago
Rich Harris 19a64181b6 support binding to computed member expressions (fixes #602)
9 years ago
Rich Harris 96efd6d993 Merge branch 'master' into gh-592
9 years ago
Rich Harris feb308cebf Merge pull request #601 from sveltejs/gh-574
9 years ago
Rich Harris ac6bdd4df3 Merge pull request #600 from sveltejs/gh-575
9 years ago
Rich Harris bc1f416121 remove TODO
9 years ago
Rich Harris 7d4dcdf531 update tests
9 years ago
Rich Harris c61db3c898 remove some files from repo
9 years ago
Rich Harris cbc0b968ef separate unmount from destroy
9 years ago
Rich Harris 2478c797ab Merge branch 'master' into gh-592
9 years ago
Rich Harris 7b9ef42d3b apply t0 styles to nodes if css transition has delay. fixes #574
9 years ago
Rich Harris 14936889ae always use helpers if referenced, not just for CallExpressions, and warn on context clashes (#575)
9 years ago
Rich Harris d1e2ef34f1 treat <textarea> children the same as a value attribute
9 years ago
Rich Harris 2da800524d fix server-side rendering of textareas with value/children
9 years ago
Rich Harris 791bbc0ad5 use value property for textareas
9 years ago
Rich Harris e46e631a48 prevent textarea from having both value and children
9 years ago
Rich Harris 02068bfb3a separate parsing rules for textareas
9 years ago
Rich Harris cd76c110f7 make transitionManager treeshakeable (fixes #593)
9 years ago
Rich Harris 18f5e06e83 compare bundled output with expectations
9 years ago
Rich Harris dde59938c6 Merge pull request #591 from sveltejs/gh-590
9 years ago
Conduitry 7732e69df5 add failing unit test for #592
9 years ago
Conduitry 819217decc add unit test
9 years ago
Conduitry 8cdd4dad8a downgrade invalid callee error for event handlers to a warning (#579)
9 years ago
Rich Harris eb6c72debe Merge pull request #571 from sveltejs/gh-569
9 years ago
Rich-Harris 735bd21550 fix insertion order of if blocks and their anchors
9 years ago
Rich-Harris 13607ebe89 dont store keyed block iterations in an array
9 years ago
Conduitry 5f2c7cb725 failing test for #569
9 years ago
Rich-Harris 5ecdcaf0ad update dynamic keyed each blocks
9 years ago
Rich-Harris e9a9aea5a8 handle bidirectional transitions
9 years ago
Rich-Harris 1f6743c197 Merge branch 'master' into gh-543
9 years ago
Rich Harris 8ca425e339 Merge pull request #567 from sveltejs/gh-562
9 years ago
Rich-Harris ae138329dd another crack at the algorithm. outros not currently applied
9 years ago
Rich-Harris 2fab5c1cb8 fix bug in assert.htmlEqual
9 years ago
Rich-Harris 8c0b1bee06 update keyed each-block outro test to check div order
9 years ago
Rich-Harris 3db74bff28 apply delays to bidirectional transitions - fixes #562
9 years ago
Rich-Harris 9833dd0174 validate transition directives - closes #564
9 years ago
Rich Harris 3c8e83edfb Merge pull request #563 from sveltejs/gh-561
9 years ago
Rich-Harris 796adf8961 fix outros on compound if blocks, get IfBlock.js coverage to 100%
9 years ago
Rich-Harris 2d7d7fec2a validate <:Window>
9 years ago
Rich-Harris 21371b2362 test @rules in css
9 years ago
Rich-Harris 87a4fb4879 some more html entity stuff, the bits i understand at least
9 years ago
Rich-Harris d6856c135b add complete list of html entities
9 years ago
Rich-Harris 5b307ca1ee increase test coverage
9 years ago
Rich-Harris da23dab0bf failing test for #561
9 years ago
Rich Harris 41a5a53be5 Merge pull request #559 from sveltejs/simpler-codegen
9 years ago
Rich Harris 952a381445 Merge pull request #556 from sveltejs/gh-540
9 years ago
Rich-Harris 2cab755163 oops
9 years ago
Rich-Harris 690249816c abort intros before restarting them - fixes #546
9 years ago
Rich-Harris 72b7b3447e remove unnecessary if statement
9 years ago
Rich-Harris 30abda37bd simplify SSR codegen
9 years ago