Commit Graph

162 Commits (cf1e00e6025f85d6948c05322e5404b2f57d722f)

Author SHA1 Message Date
Rich Harris 203e123d94 Merge pull request #676 from sveltejs/gh-608
8 years ago
Rich Harris 2fa784ecc3 handle @foo and #foo edge cases
8 years ago
Rich Harris c4ad36023c move whitespace logic out of parse and into preprocess
8 years ago
Rich Harris d08c04d313 merge master -> codegen
8 years ago
Rich Harris 7ad4befd25 deconflict name with imports (#655)
8 years ago
Rich Harris ebae9f9c28 run prettier
8 years ago
Rich Harris 334772a11d use #foo instead of block.alias("foo")
8 years ago
Rich Harris 9feee3a0bf use @foo for generator.alias("foo")
8 years ago
Rich Harris dcb905aab6 fix each-else blocks that are empty on initial render (#662)
8 years ago
Rich Harris e0917fd874 allow components to have computed member expressions for bindings (fixes #624)
8 years ago
Rich Harris 1a798ec8ad Merge branch 'master' into gh-616
8 years ago
Rich Harris 4b1f1e8392 TS-ify spaces.js and deindent.js, so they get included in prettier task
8 years ago
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
8 years ago
Conduitry 05a7a262c3 also escape back-ticks and backslashes in text nodes in SSR code (#616)
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich Harris 7b99d47215 add cascade option, to prevent components inheriting styles (#583)
8 years ago
Rich Harris 8d2607c37d fix server-side rendering of textareas with value/children
8 years ago
Rich-Harris 5cbe6b764a more TS
8 years ago
Rich-Harris 4486b93d88 more TS
8 years ago
Rich-Harris 7c3fca57cf more typescript conversion
8 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
8 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
8 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
8 years ago
Rich-Harris 43091431d1 simplify SSR codegen
8 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris ab19649dfa preprocess template, so that we can discover dependencies ahead of time
9 years ago
Rich-Harris 8148230e49 align SSR compiler with DOM compiler
9 years ago
Rich-Harris abf774bc57 remove generator.push and generator.pop
9 years ago
Rich-Harris d93a3698fb all tests passing once more. now the real work begins
9 years ago
Rich-Harris e7d324f305 visitors can just be functions now
9 years ago
Rich-Harris 2d4f9eac00 make visitors responsible for visiting their own children
9 years ago
Rich Harris 3fcbf428bd while we're at it, remove unused stuff from generated SSR code
9 years ago
Rich Harris d2db41f811 remove unnecessary template declarations - fixes #440
9 years ago
Rich Harris 4b5754b9a7 centralise logic for manipulating source javascript
9 years ago
Rich-Harris 1308907f67 include css in compiler output (#409)
9 years ago
Conduitry 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
9 years ago
Rich Harris 3ead9bfc3f Merge branch 'master' into gh-371
9 years ago
Conduitry 7d03b74576 use maps and sets in many places instead of plain objects
9 years ago
Rich Harris 8558b45337 Merge branch 'master' into gh-371
9 years ago
Conduitry c877b3c615 deconflict `template` variable (#392)
9 years ago
Rich-Harris cefbe45edb SSR support for <:Window> (albeit impossible to test for some reason)
9 years ago
Rich Harris 5866a99b9a treat binding values as expressions
9 years ago
Conduitry de042daed3 initial support for dev versions of shared helpers
9 years ago
Rich-Harris 92925ede0d fix two-way binding for components inside each-blocks - closes #356
9 years ago
Conduitry 52b3a43e7b accept DOCTYPE element in any case
9 years ago
Rich-Harris 0f60242bb9 self-references (#51)
9 years ago
Rich Harris 16e3574bfb warn on onrender/onteardown, replace with oncreate/ondestroy (#40)
9 years ago
Rich Harris 98d9cdbea7 allow each blocks to introduce reserved words as contexts (#222)
9 years ago
Rich Harris eb95fd1ebb use css-tree to generate CSS AST and walk it
9 years ago
Rich Harris 23265d5dfd two-way component binding in SSR (#275)
9 years ago
Rich Harris c66474e8bb Merge branch 'master' into universal-tests
9 years ago
Rich Harris 94aca91d35 fix/skip various SSR tests
9 years ago
Rich Harris 6d8543f6ed fix apostrophe entity (#267)
9 years ago
Paul Sauve d767e6af75 Fix same issue but in SSR code
9 years ago
Rich-Harris 11dc7dc380 handle component directives at positions other than end (fixes #221)
9 years ago
Rich-Harris e7dd885ecf handle directives on components (fixes #216)
9 years ago
Rich-Harris 603d61729e use SsrGenerator subclass
9 years ago
Rich Harris 8a99178070 lint
9 years ago
Rich Harris fd655f8c5b tidy up
9 years ago
Rich Harris 32317a07a0 centralise import handling
9 years ago
Rich Harris 4df7cfa0f8 use shared generator for SSR compiler
9 years ago
Rich-Harris f73a87230a move some files around
9 years ago