Commit Graph

4010 Commits

Author SHA1 Message Date
Naomi Seyfer
18384d197c rename some things having to do with url path prefixes 2013-07-09 11:21:54 -07:00
Emily Stark
2e44b70cb7 Update galaxy configure command to work with galaxy discovery changes 2013-07-08 22:00:38 -07:00
Emily Stark
0ab16fd9cd Suppress debug output in SynchronousQueue test 2013-07-08 22:00:38 -07:00
Emily Stark
3550a9f2db Update History.md with Assets API 2013-07-08 22:00:38 -07:00
Slava Kim
4e931f5a86 Merge branch 'logs-f-reconnect' into linker 2013-07-08 17:22:20 -07:00
Slava Kim
00c27969c6 Continue streaming from the last seen log on reconnect in logs -f. 2013-07-08 17:21:41 -07:00
Emily Stark
9495307fd8 Update History.md with wrapAsync change 2013-07-08 13:23:35 -07:00
Emily Stark
f6320da259 Don't print stack of undefined/null exceptions 2013-07-08 12:17:33 -07:00
Emily Stark
b12686c91e Only throw err if we have one 2013-07-08 12:10:05 -07:00
Emily Stark
756f01d311 Merge branch 'galaxy-discovery' into linker 2013-07-08 12:01:39 -07:00
Emily Stark
fffe315c07 Properly calculate galaxy URLs for non-ssh-tunnel operations 2013-07-08 12:00:49 -07:00
Emily Stark
5979a518a9 Throw errors from SynchronousQueue tasks that are run.
One of the synchronous queue tests expects this.
2013-07-08 11:25:07 -07:00
Emily Stark
6340bcc121 Wrap SynchronousQueue tasks in BindEnvironment. 2013-07-08 11:25:07 -07:00
Emily Stark
5993609bd3 glasser's comments 2013-07-08 11:25:07 -07:00
Emily Stark
cf6eb7221f Don't strip rootSiteName from deployed site names 2013-07-08 11:23:53 -07:00
Emily Stark
3f8998d956 Minor changes corresponding to 6456a in galaxy 2013-07-08 11:23:53 -07:00
Emily Stark
09fcab2cf8 Small cleanup 2013-07-08 11:23:53 -07:00
Emily Stark
1ee24a4fcb Use galaxy discovery for logs command 2013-07-08 11:23:53 -07:00
Emily Stark
8bce08db3e Fix arg; now meteor mongo works with galaxy discovery 2013-07-08 11:23:53 -07:00
Emily Stark
ab8a83f078 Discover galaxy by asking proxy for it. 2013-07-08 11:23:53 -07:00
Emily Stark
2142d97dd3 Merge branch 'wrap-async' into linker 2013-07-08 09:49:29 -07:00
Emily Stark
ad97d4df44 Make LocalCollection and _Mongo writes meteor-style async.
Also fixes a mongo-livedata test to pass the required 2 arguments to update.
2013-07-08 09:49:04 -07:00
Emily Stark
ca497d5440 Fix args to LocalCollection callback.
Added tests for local collections with no connections, which is where this
problem was manifesting itself.
2013-07-08 09:49:04 -07:00
Emily Stark
40f1b52c2c Update comment 2013-07-08 09:49:04 -07:00
Emily Stark
4a93bdae68 Remove numRequiredArgs argument. 2013-07-08 09:48:47 -07:00
Emily Stark
3e6fc3be05 WIP: Run collection writes asynchronously on server.
The basic idea is that LocalCollection and _Mongo objects now have write methods
that take optional callbacks, and they run asynchronously and call the callback
when done. (For LocalCollection, nothing is actually asynchronous but just
appears to be.) The write methods on Collection wrap these write methods using
Meteor._wrapAsync.

Tests are passing, but needs to be cleaned up.
2013-07-08 09:47:21 -07:00
Emily Stark
71af4bc490 Use wrapAsync in some call sites 2013-07-08 09:47:21 -07:00
Emily Stark
ed47b5f7c8 Rewrite wrapAsync, with numRequiredArgs argument.
See comments for examples of how to use it.
2013-07-08 09:47:21 -07:00
Emily Stark
58be4bb584 Add tests for async server-side mongo writes. 2013-07-08 09:47:21 -07:00
Emily Stark
af801545bf Use a noop callback if client code doesn't provide one 2013-07-08 09:47:20 -07:00
Emily Stark
658a966003 Add Meteor._wrapAsync with couple tests 2013-07-08 09:47:20 -07:00
David Glasser
12a93615cf Make buildmessage parseStack more robust to multi-line errors.
This makes Handlebars parse errors not crash.
2013-07-02 19:50:38 -07:00
David Glasser
a753284c6d Improve error message on bad @export. 2013-07-02 16:41:10 -07:00
David Glasser
e4fd5d0a48 Add comment about deployConfig 2013-07-02 16:21:33 -07:00
David Glasser
c4609fc04c rename Meteor._postStartup -> WebApp.onListening (needs matching galaxy change) 2013-07-02 16:15:12 -07:00
David Glasser
e38bf5e1ab Move a few more functions off of __meteor_bootstrap__ 2013-07-02 16:15:12 -07:00
David Glasser
1f26045fe0 __meteor_bootstrap__.bundle -> WebApp.clientProgram 2013-07-02 16:15:12 -07:00
David Glasser
053db8e9e9 Begin to refactor webapp package.
Move stuff from __meteor_bootstrap__ to WebApp exported symbol.

Note that the WebApp API continues to be subject to change.
2013-07-02 16:15:12 -07:00
Avital Oliver
d8a955b989 Expose error stack trace when caught in bindAndCatch 2013-07-02 15:18:01 -07:00
David Glasser
e2951cca6c Fix routepolicy/webapp dependency.
Inspired by awwx's #1176.

Move Meteor._routePolicy to @exported RoutePolicy.
2013-07-02 15:11:45 -07:00
David Glasser
ce401d6e48 Check for weak dependency correctly. 2013-07-02 14:50:04 -07:00
Naomi Seyfer
1ed49bb4ee fix the runner to actually detect ending on linker 2013-07-02 14:02:10 -07:00
David Glasser
6e8668d52f Merge branch 'linker-esprima' into linker 2013-07-01 22:59:27 -07:00
David Glasser
0e549a47ed Use ignoreEval in the (unused) findGlobalDottedRefs code too.
Add comment explaining why eval has the wacky behavior in escope.
2013-07-01 22:50:58 -07:00
David Glasser
38462b596e Fix ++/+=. Add comment about why we can't use ImplicitGlobalVariable. 2013-07-01 22:50:58 -07:00
David Glasser
bf8b7e50c3 Handle parse errors. 2013-07-01 22:50:58 -07:00
David Glasser
d64e16f72e Goodbye, blacklist! 2013-07-01 22:50:58 -07:00
David Glasser
8686a9e592 Different hack for getting package-scope vars for js-analyze itself. 2013-07-01 22:50:58 -07:00
David Glasser
f1aaa5227a Add a bunch of 'vars' found by looking at built packages. 2013-07-01 22:50:58 -07:00
David Glasser
09c9133038 comment about breaking @unit 2013-07-01 22:50:58 -07:00