Commit Graph

4285 Commits

Author SHA1 Message Date
David Greenspan
320fc842e8 port "if"; fix chaining; buf.write(func); more get() 2013-07-24 23:58:19 -07:00
David Greenspan
ac26dd5a4f rendering of comps with reactive types in new API 2013-07-24 22:40:09 -07:00
David Greenspan
4935843374 some render tests 2013-07-24 17:55:29 -07:00
David Greenspan
46dcffc5db wip 2013-07-24 15:13:26 -07:00
David Greenspan
32354095a7 port rest of dom.js (non-working) 2013-07-24 14:06:22 -07:00
David Greenspan
1d9874d659 shark refactor for devshop 2013-07-24 01:47:24 -07:00
David Greenspan
29f2adee70 port "skel" 2013-07-23 16:29:48 -07:00
David Greenspan
1a70c41c3f make test-in-browser work 2013-07-23 16:17:27 -07:00
David Greenspan
12e2af21d3 notes, TODO 2013-07-16 20:31:34 -07:00
David Greenspan
23fa59bd77 bodies inherit from UI.Body 2013-07-16 19:45:56 -07:00
David Greenspan
7a1b5fe8cd start porting driver.js
helpers don't work because they assume `this` is data :(
2013-07-16 19:35:45 -07:00
David Greenspan
3a5b5e28c8 support multiple <body> tags 2013-07-16 19:35:16 -07:00
David Greenspan
bfe8e47331 add_files second arg not needed 2013-07-16 19:08:13 -07:00
David Greenspan
347ace2a1d Merge branch 'devel' into shark 2013-07-16 19:04:06 -07:00
David Glasser
6970a89ee0 Implement "api.imply". Make all accounts packages imply accounts-base.
If X uses Y and Y implies Z, then X is also treated as using Z. This can be used
to create umbrella packages, etc.
2013-07-16 18:45:56 -07:00
David Glasser
57f6d25ef2 Make api.add_files("f") default to ["client","server"]. 2013-07-16 18:43:58 -07:00
David Greenspan
8018394b8b fixes; merge strings in Spacebars compilation 2013-07-16 17:59:49 -07:00
David Greenspan
332e1417f3 spacebars runs 2013-07-16 17:49:57 -07:00
David Greenspan
759ae2c1d7 Merge branch 'devel' into shark
Conflicts:
	packages/templating/plugin/html_scanner.js
2013-07-16 17:38:50 -07:00
David Greenspan
14f6574135 spacebars almost runnable 2013-07-16 17:31:09 -07:00
Emily Stark
255c126160 Merge branch 'email-deploy-config' into devel 2013-07-16 16:43:47 -07:00
Emily Stark
dcd740c35d Don't copy MAIL_URL env var to deployConfig, since we check for it anyway in the
email package.
2013-07-16 16:43:31 -07:00
Emily Stark
737bbc7f12 Get mail url from deployConfig when present. 2013-07-16 15:59:55 -07:00
Emily Stark
1b4ee9c90f Look for galaxy discovery responses with special fields rather than treating the
body of any 200 response as a galaxy url.
2013-07-16 15:12:56 -07:00
David Glasser
e18e2435b3 Remove unused Package._require function.
It doesn't set dependencyInfo correctly and was no longer used (before linker,
it was used by the handlebars and templating packages).
2013-07-16 13:47:52 -07:00
David Glasser
575de93b1f Fix wrong field name in c37ed42b8. 2013-07-16 12:48:26 -07:00
David Glasser
4afb7129f0 Allow bundler-test and watch-test to be run from anywhere. 2013-07-16 12:48:26 -07:00
David Greenspan
9c8106360a comment 2013-07-16 11:34:29 -07:00
David Greenspan
a116be3f83 spacebars WIP 2013-07-16 10:22:36 -07:00
Emily Stark
1597f3da82 Minor clean up on ssh tunnels
(addressing glasser's comments on 5c3b769)
2013-07-16 09:51:05 -07:00
David Glasser
c37ed42b80 Move buildVersion into buildinfo.json, and drop that file from built tarballs. 2013-07-16 09:16:32 -07:00
Emily Stark
5c3b769e44 Clean up galaxy command setup and ssh tunnel cleanup.
Uses cleanup.js to register an exit handler that cleans up the ssh tunnel,
instead of the try/finally. The galaxyCommand wrapper takes care of finding a
galaxy, opening a tunnel, and cleaning up the tunnel when the command
finishes. Commands that want to keep the tunnel open can just use
prepareForGalaxy and not galaxyCommand.

galaxyCommand required refactoring argument parsing a bit; now each command has
an optional argumentParser step that runs before the actual command, which
allows us to wrap the command function knowing that the arguments have already
been parsed (e.g. site is always in argv._[1]).

Also reverts c185b2be because that fix is no longer necessary.
2013-07-15 22:31:07 -07:00
Geoff Schmidt
eb1e15e457 Improve error reporting when parsing Handlebars templates 2013-07-15 22:21:57 -07:00
David Glasser
c51ea9c9c0 Update Github instructions.
https://github.com/blog/1523-oauth-improvements
2013-07-15 21:49:08 -07:00
David Glasser
6a1b5d3032 Consistently use fut['return']() in package code.
Some package code is loaded in browsers, which may fail to parse code which uses
'return' or 'throw' as a method name.  We used to inconsistently use fut.ret for
this purpose; instead, just consistently use fut['return'] and fut['throw']. We
don't bother to do this in tools code which is definitely never run outside of
Node.

Also remove some unused requires.

Fixes #1222.
2013-07-15 21:39:03 -07:00
Bjorn Tipling
068f0abb50 oauth1 requires random package. 2013-07-15 20:23:00 -07:00
Geoff Schmidt
096a6efddd Improve stack parsing 2013-07-15 18:23:54 -07:00
Slava Kim
c185b2bed6 Fix ssh-tunnel reconnect problem by keeping reference to Fiber we want to yield to.
For more info look here: https://github.com/laverdet/node-fibers/issues/131
2013-07-15 18:04:48 -07:00
Slava Kim
690da6a535 Close galaxy conn. as soon as we get mongo url.
Since we use it only on `meteor mongo ...` command, we usually don't need it afterwards but never close it.
2013-07-15 15:06:01 -07:00
David Glasser
a77932e34b fix typo release/linker-pre2 2013-07-15 13:29:18 -07:00
David Glasser
2b80e5b973 Generate a dummy package.js in unipackages, to make the downloader happy.
Change the downloader to no longer expect packages to contain package.js.

This actually requires us (already!) to bump BUILD_VERSION, since I've already
published packages without the package.js!
2013-07-15 13:25:26 -07:00
David Glasser
71065615be Update to linker-compatible awssum. 2013-07-15 12:45:21 -07:00
David Glasser
02a123a47c Introduce concept of "build version" to unipackages.
We bump the "build version" of the tools precisely when we want to rebuild all
packages.  This handles the "I ran meteor update, I may need to rebuild my
app/$PACKAGE_DIRS packages" case, as well as ensuring that warehouse package
version numbers are incremented when we need to rebuild all packages (but not on
EVERY tools directory change).
release/linker-pre1
2013-07-15 12:36:02 -07:00
David Glasser
296ca6f0c0 Link to bug where we can't get syntax error line/column numbers. 2013-07-15 11:27:48 -07:00
David Glasser
ec6abfb2f9 Release unipackages instead of source trees. 2013-07-15 11:19:51 -07:00
David Greenspan
ccde6a051f prepare to port Spacebars to new render API
- remove code for @annotations
- rewrite component.lookup
- take old API out of package.js, move to "old" dir

totally breaks everything including "shark" demo
2013-07-14 11:11:24 -07:00
David Greenspan
01bf367b65 minor wording tweaks 2013-07-13 17:39:50 -07:00
David Greenspan
f658983622 start of Spacebars docs 2013-07-13 17:35:27 -07:00
David Greenspan
c50134beaf spacebars: fewer special identifiers mid-path 2013-07-13 17:34:35 -07:00
David Greenspan
a342232868 Merge branch 'devel' into shark 2013-07-12 20:27:43 -07:00