Commit Graph

4004 Commits

Author SHA1 Message Date
David Greenspan
53affec869 generic Components respect "content arg"; bugfix 2013-06-25 16:00:13 -07:00
David Greenspan
1e854ebb31 Merge branch 'linker' into shark 2013-06-25 15:18:42 -07:00
David Greenspan
a63638266e Merge branch 'devel' into linker 2013-06-25 15:17:27 -07:00
David Greenspan
49e98134fd fix Spark memory leak (#1157) 2013-06-25 15:09:49 -07:00
David Greenspan
f5616f6355 Merge branch 'devel' into linker 2013-06-25 13:45:32 -07:00
David Greenspan
b3b2c26936 body/else become content/elseContent 2013-06-25 13:41:29 -07:00
David Greenspan
ae295659d0 lookup searches up for "data" arg
try `{{> content}}` instead of `body`
2013-06-25 12:13:42 -07:00
David Glasser
f04df9262e * tools/packages.js: change an array to an object, since that's how it's used. 2013-06-25 09:55:23 -07:00
David Glasser
cebf6924bb Lots of missing dependencies, mostly in accounts code. 2013-06-25 09:53:42 -07:00
David Greenspan
62fb1f4bf2 example twiddling 2013-06-25 05:57:58 -07:00
David Greenspan
6551e3a366 search Template.foo namespace for components
fix inheritance superClass tracking
2013-06-25 05:08:14 -07:00
David Greenspan
fbfd3fb824 alias MyComp.augment to MyComp(…) 2013-06-24 14:51:17 -07:00
David Greenspan
e7451a406f Comp.augment (to be aliased to Comp(...)) 2013-06-24 14:45:25 -07:00
Emily Stark
f6184261e1 Missing dependency in accounts-ui-unstyled 2013-06-22 22:04:48 -07:00
David Greenspan
a872fe9565 Templates in Template.foo (wip) 2013-06-20 16:25:21 -07:00
Emily Stark
210f5f8539 Don't exit logs command when we want to keep tunnel open 2013-06-20 11:41:50 -07:00
David Glasser
99f4ab7ebd export d3 symbol in metadata file instead of modifying upstream code 2013-06-20 11:09:35 -07:00
David Glasser
9bce443701 coffeescript: ensure added code goes after 'use strict' 2013-06-20 11:06:33 -07:00
David Glasser
974bc116be Refactor coffeescript export support: move CS-specific parsing
into CS package.
2013-06-20 11:06:33 -07:00
Emily Stark
40078b8bee Fix some missing dependencies/exports 2013-06-20 10:27:21 -07:00
David Glasser
18ce0c63e9 coffeescript munging: If the line contains an assignment, assume it contains no
declarations instead of possibly munging inside some function.
2013-06-20 08:50:35 -07:00
David Glasser
d40ff521ef Support @export in CoffeeScript.
You must declare your @exports using single-line ### comments:

   ### @export x ###
   x = 5

This involves some ugly and not 100% correct low-level source hackery, making
some assumptions about the format that CoffeeScript generates.
2013-06-19 23:14:58 -07:00
David Glasser
a4d9f295fe Upgrade CoffeeScript to 1.6.3.
The change I care about is that single-line ### comments get output as
single-line /**/ comments, which is what linker's @keyword parser is looking
for.
2013-06-19 23:14:58 -07:00
David Greenspan
972e295df6 Don't mutate template AST in evaluate. Fixes #1143 2013-06-19 18:04:20 -07:00
David Glasser
a38f19ad05 Parse @export/etc lines in /*comments*/ too. 2013-06-19 12:33:01 -07:00
Emily Stark
e66ad0a182 Avoid making Asset calls before Meteor is loaded, might need to revisit 2013-06-19 12:22:39 -07:00
Nick Martin
e03ec98359 Merge branch 'test-in-browser-with-finer-deps' into devel 2013-06-18 20:54:56 -07:00
Emily Stark
16b20f4018 Merge branch 'assets-unipackage' into linker 2013-06-18 20:49:51 -07:00
Nick Martin
3e1820d288 use separate templates instead of isolate. 2013-06-18 20:33:55 -07:00
Nick Martin
5b1cf08158 rerender the test if new results come in while the test is expanded. 2013-06-18 20:09:00 -07:00
Emily Stark
164f8921b5 DevBundleFetcher plugin no longer necessary 2013-06-18 18:02:23 -07:00
Emily Stark
7a0c3b7ad8 Include files with no extension handlers as server assets.
Also some miscellaneous test cleanup.
2013-06-18 17:58:06 -07:00
Emily Stark
a97138f04f Don't allow .. in Assets inputs 2013-06-18 17:13:06 -07:00
Emily Stark
3ca046729a Make Assets API usable from unipackage; use it for dev-bundle-fetcher.
This involves saving the source directory (not just the bundle location) for
static assets so that they can be loaded when unipackages are run.
2013-06-18 13:55:28 -07:00
David Glasser
b68483e31b Implement package-level shared variables for CoffeeScript.
CoffeeScript doesn't allow you to assign to global variables using variable
assignment syntax (though you can assign properties to the global object), which
is the way to create package-level shared variables in Meteor. This commit
provides a CoffeeScript-specific to share variables between files in a package
without adding a redundant alternative for JavaScript files: simply assign
properties on the symbol `shared`.
2013-06-18 09:59:42 -07:00
David Glasser
760289a437 More logging color tweaks.
Yellow looks bad on white, and blue looks meh on black. So stop coloring info
lines, stop using yellow, and only use blue for the header part.
2013-06-18 09:51:00 -07:00
David Greenspan
f6b644cc0d Merge branch 'spacebars' into shark 2013-06-18 09:44:33 -07:00
David Greenspan
06fad56c5a expand comp.lookup behavior
also bodyClass,elseClass become body,else
2013-06-18 09:40:22 -07:00
David Glasser
ed6adc370a When removing the last NPM dependency, delete the NPM directory too.
Apply this to the current tree, which deletes the unused .npm directory from the
ctl package.

Specifically, this deletes the ".npm/package" or ".npm/plugin/foo" directory. We
don't attempt to also clean up the ".npm/plugin" or ".npm" directory, but a "git
clean -df" will do the trick if you really care.
2013-06-17 23:37:08 -07:00
Nick Martin
11a7d8d07a Comment and reorganize. No functional changes. 2013-06-17 22:58:37 -07:00
Nick Martin
64ab1aadbc Don't let divs cross isolate boundaries. This fixes IE8. 2013-06-17 22:58:37 -07:00
Nick Martin
5953c3796d Use much finer grain dependencies to avoid re-rendering the whole results table all the time.
This makes tests _much_ faster on old browsers where DOM access is slow.
2013-06-17 22:58:36 -07:00
David Glasser
4fe321bba7 Avoid crash if a client program doesn't have static or static-cachable dirs. 2013-06-17 22:48:45 -07:00
David Glasser
7dcb53c4bd Merge branch 'devel' into linker 2013-06-17 18:19:39 -07:00
David Glasser
0bf4594a20 Make new test pass with --production. 2013-06-17 18:12:32 -07:00
David Glasser
2e9aecdf84 Fix 'meteor test-packages --production onepackage'.
We were looking at "argv._" to find package names, where that was the argv that
was parsed at the top level, where we had no idea that "--production" was a
boolean, so it was pased as "--production=onepackage" and "onepackage" was not
included in argv._.
2013-06-17 18:02:38 -07:00
David Greenspan
e5a7a583a6 Merge branch 'spacebars' into shark 2013-06-17 17:37:51 -07:00
David Greenspan
c41babfdd7 RootComponent calls init 2013-06-17 17:36:25 -07:00
David Greenspan
6c118d97f0 warn when Body not a RootComponent 2013-06-17 17:18:38 -07:00
David Greenspan
dc75e8877b use spacebars for templating in build 2013-06-17 17:18:38 -07:00