140 Commits

Author SHA1 Message Date
Nick Martin
1385137f01 Bump version number in prep for release 2013-02-07 22:49:56 -08:00
Nick Martin
d71e31b5b5 Make inFiber help pass arguments through. This fixes with_password in meteor deploy/logs/mongo. 2013-01-31 12:24:42 -08:00
Avital Oliver
d2319bc134 Wrap some CLI functions in a Fiber 2013-01-25 18:48:04 -08:00
David Glasser
2aa92b2ed3 Update to use APIs from new versions of fibers and uglify-js.
Combine files before minimizing.

minimongo - subkey sort fails when minized, so clearly there is some sort of
uglify bug.
2013-01-16 11:34:30 -05:00
David Glasser
3a99938dff Upgrade Fibers to 1.0.0 and UglifyJS to 2.2.3.
This definitely won't "work" because both have API changes.

UglifyJS 1 was having issues minifying certain code (eg lodash).  But UglifyJS 2
was occasionally segfaulting (as was other code using large regexps).  See the
bottom of https://github.com/laverdet/node-fibers/issues/89

Hopefully this will fix it.
2013-01-16 10:47:57 -05:00
David Glasser
2d27799008 find_mongo_pids: Fix regression in 203a82d.
Don't consider "ps" stderr to be an error. This occurs on OSX Mountain Lion if
DYLD_LIBRARY_PATH or a similar env var is set, and is harmless.
2013-01-08 10:41:01 -08:00
David Glasser
864371f9ab Bump version number to 0.5.4 and write History.md. 2013-01-08 10:40:52 -08:00
David Glasser
203a82d9b9 Fix race condition in 'meteor mongo'.
The 'exit' event on a ChildProcess doesn't necessarily occur before all the
'data' events on its stdio, so sometimes 'meteor mongo' didn't find the
process. We should have been using the 'close' event. Switch from
child_process.spawn to child_process.exec, which simplifies the code and uses
the right event.
2013-01-03 09:29:52 -08:00
David Glasser
dd5bf80f5b Make the modification needed for testing the updater simpler. 2012-12-31 11:48:44 -08:00
David Glasser
cf4190e9c0 Increment version to 0.5.3. 2012-12-23 12:36:05 -08:00
David Glasser
13074d58b9 Remove two copies of underscore.js from Meteor, using NPM package instead.
Follow-up to 27382c6. A step towards addressing issue #302.

We still have one copy in the underscore smart package, for serving to clients.
2012-12-21 11:20:01 -08:00
Naomi Seyfer
9bc802b3f6 Added file with library of mongo exit codes
Make meteor clearer about why mongo exited.

test for one possible mongo badness

Only print explanation if we have it
2012-12-07 11:27:18 -08:00
Naomi Seyfer
0531db7dcb Adjusting code as per code review comments 2012-12-06 14:21:42 -08:00
Naomi Seyfer
4d5498424a launch_mongo now returns a handle that can stop the mongo proc 2012-12-06 14:21:42 -08:00
Naomi Seyfer
24e70fda21 Find mongo and kill it dead on --once exit 2012-12-06 14:21:42 -08:00
David Greenspan
b4fae6212b Rename variables in bundler with identical names
api -> declarationFuncs for top-level Package.on_use etc

on_{use,test} -> on_{use,test}_handler when stored
2012-12-04 17:21:16 -08:00
David Glasser
6d1c0a7c93 Merge branch 'master' into devel 2012-11-27 10:32:57 -08:00
David Glasser
68db80f500 Update version number to 0.5.2. 2012-11-27 08:43:29 -08:00
David Greenspan
95f0278cb9 semicolons 2012-11-21 19:42:10 -08:00
Nick Martin
83386b23d9 Bump version number to 0.5.1. 2012-11-15 23:14:19 -08:00
Nick Martin
34b7bdbbac Bump underscore version. 2012-11-15 20:44:56 -08:00
Tom Wijsman
8f83b2c32e Made sure all file system related statements use proper path.join and path.sep to support other platforms. 2012-10-30 15:53:49 -07:00
Nick Martin
6dfb976104 Bump version number for 0.5.0. 2012-10-12 21:17:18 -07:00
David Glasser
5eb81e920d Increment version to 0.4.2. 2012-10-01 18:25:18 -07:00
David Glasser
a0252d6fbe Fix #352: meteor should work if a parent directory is named 'public'.
Also make sure that every use of app_dir that eventually gets passed to
_scan_for_sources is a resolved path. (Maybe should just resolve in
require_project instead?)
2012-09-24 11:41:22 -07:00
David Glasser
f40b7b03c0 Update version number for 0.4.1.
This will be the commit that 0.4.1 is released from. If the initial release
candidate fails QA, this commit will be reverted.
2012-09-18 10:49:40 -07:00
David Glasser
d1467c983d Revert "Update version number for 0.4.1."
This reverts commit 8ddcc21a0e.

More changes are necessary to History.md.
2012-09-18 10:21:26 -07:00
David Glasser
8ddcc21a0e Update version number for 0.4.1.
This will be the commit that 0.4.1 is released from. If the initial release
candidate fails QA, this commit will be reverted.
2012-09-17 23:38:51 -07:00
David Glasser
f340c35c02 Basic email support. 2012-09-14 18:38:29 -07:00
Tom Coleman
123f17833e A package directory MUST contain a package.js
So we know for sure after calling `get_package_dir` that we can then read the `package.js` file without things exploding.
2012-09-13 19:24:39 -07:00
Tom Coleman
e05e938d70 Throw a helpful error if we can't find a package. 2012-09-13 10:09:31 +10:00
David Glasser
2ac2ffd427 Merge pull request #326 from xenolf/fix-add_resource-doc
fixed documentation for add_resource
2012-09-07 14:25:59 -07:00
azhwkd
29a00b92c9 fixed documentation for add_resource
Extended the documentation to mention the "static" type.
2012-09-07 23:03:17 +02:00
Nick Martin
c7584cdc75 Merge branch 'node-0.8' into devel 2012-09-06 20:35:13 -07:00
David Glasser
6cc67f4373 Packages should be able to both have tests and register extensions. 2012-09-06 12:13:30 -07:00
Nick Martin
70e82dd5f9 Replace path.existsSync with fs.existsSync 2012-08-31 14:04:06 -07:00
Nick Martin
8f4045c1b9 Bump version number for release. 2012-08-30 21:00:42 -07:00
Nick Martin
6f8f08714b Merge branch 'devel' into spark 2012-08-27 13:48:45 -07:00
Avital Oliver
67a6fe0f8f Merge branch 'package_support' of git://github.com/tmeasday/meteor into packages 2012-08-20 16:16:26 -07:00
Nick Martin
1df6b74ada Feedback from review. 2012-08-16 21:16:31 -07:00
Nick Martin
f18b58763b Initial absolute-url package. 2012-08-15 23:28:51 -07:00
David Greenspan
01c7afea5f Merge branch 'master' into spark
Include 0.3.9 changes in spark branch (which my have public followers)
2012-08-13 14:55:31 -07:00
Nick Martin
92b848fe1a Update version for release 0.3.9. 2012-08-07 23:02:12 -07:00
Geoff Schmidt
c6ec5b1673 leaderboard and todos run on spark!! rough cut. 2012-08-03 12:53:03 -07:00
David Greenspan
ac06cbb4b6 typo in error msg 2012-07-17 20:23:33 -07:00
Nick Martin
7510b8430e Bump version number for release! 2012-07-12 22:10:40 -07:00
Tom Coleman
014884aa5c Changed it so you provide a list of dirs to search for packages in.
Seems more consistent with the way that other projects do it. Plus it makes list / add / remove work better.
2012-07-05 16:40:09 +10:00
Tom Coleman
77959b1918 Altered get_package_dir to search env.PACKAGE_DIRS 2012-07-05 16:06:17 +10:00
Nick Martin
2d619a4930 Use https to get the updater manifest, now that we serve it via https. 2012-06-27 18:14:46 -07:00
Nick Martin
a248f0ff28 Allowing passing in a default DDP endpoint as an environment variable. 2012-06-26 15:14:30 -07:00