David Glasser
8c48196f4d
Remove unnecessary requires from mini-files.js
...
and add a comment making it clear that we are NOT using this file for
the concurrency-related changes, just for cross-platform normalization.
2015-02-09 11:40:44 -08:00
Sashko Stubailo
18692b672d
Special cases for files.getHomeDir on win32
...
Fixes https://github.com/meteor/windows-preview/issues/38
2015-02-09 11:33:32 -08:00
Ben Newman
4ad860ca47
Move tools/shell/server.js to tools/server/shell-server.js.
...
Since this file ends up getting copied into the server bundle, along with
files like boot.js, it makes sense to keep it with those files.
Renamed tools/shell/client.js to tools/shell-client.js for symmetry.
2015-02-09 11:42:49 -05:00
Slava Kim
d07ff8e99c
Convert the Windows-styled path from Assets.get* calls
2015-02-07 08:54:44 -08:00
Sashko Stubailo
ce93b8f108
Improve findMongoPids and style in run-mongo.js
2015-02-06 17:14:22 -08:00
Avital Oliver
02038e70a6
Correctly detect which package versions are installed
...
This was a small mistake left over from a previous commit
to change the return value of _alreadyInstalled
2015-02-06 16:50:11 -08:00
Avital Oliver
ff32eb5722
In selftest in Windows, kill child processes more
...
In a previous commit we did that in one but not all cases in selftest
where we try to kill child processes.
2015-02-06 15:33:24 -08:00
David Glasser
b276aa79ca
Give a more specific error message on disk full
...
Fixes #2378 .
Note that this error is detected by reading stdout, and we don't
actually want to buffer all of stdout in memory (it grows pretty fast).
2015-02-06 14:57:40 -08:00
Sashko Stubailo
6aa9142e67
Fix some test bugs related to package names/dirs
2015-02-06 14:49:23 -08:00
Avital Oliver
2f24eb418d
Fix incorrect logic, while improving an error message
2015-02-06 14:28:51 -08:00
Sashko Stubailo
e6a26bded0
Wrong method call in self test. (add flow plz)
2015-02-06 13:56:01 -08:00
Sashko Stubailo
497340498f
Fix missing createPackage arguments in selftest
2015-02-06 13:53:24 -08:00
Avital Oliver
8fb583507f
Make "run" selftest pass on Windows
2015-02-06 13:47:15 -08:00
Sashko Stubailo
0ba325d1ca
Guard against undefined options
2015-02-06 13:40:33 -08:00
Ben Newman
19080bd53d
Split server/shell.js into shell/server.js and shell/client.js.
...
Note that shell/server.js is copied into the bundle as shell-server.js,
like before, however now it contains none of the extraneous code that
belongs in shell/client.js.
The original reason server and client code were combined in a single file
was to share helper functions and configuration variables (e.g.
getInfoFile and EXITING_MESSAGE). Now, shell/client.js requires
shell/server.js to access those shared exports.
2015-02-06 14:33:19 -05:00
David Glasser
30481e10bb
Mongo 2.6 makes --nohttpinterface the default
2015-02-05 22:40:44 -08:00
David Glasser
505a77ecad
Update other places that mention the Node version
2015-02-05 22:40:43 -08:00
David Glasser
6e5f034a0d
if a self-test throws, don't stop running tests
...
Previously, if a random exception was thrown in a self-test test (as
opposed to a specific TestFailure), it would crash the whole process and
not run any more tests. That's silly. It should just be a test
failure!
2015-02-05 22:39:32 -08:00
David Glasser
2cc0d41ee2
Fix packages with organizations test
2015-02-05 22:32:42 -08:00
David Glasser
bcf2b58946
avoid use of shell
...
use execFile's callback instead of an event
2015-02-05 20:39:06 -08:00
David Glasser
695ed96a22
fix non-run uses of bundler
2015-02-05 20:35:15 -08:00
Sashko Stubailo
3cd883bda4
Merge branch 'windows-r' into devel
...
Conflicts:
meteor
tools/tropohouse.js
2015-02-05 20:28:09 -08:00
Sashko Stubailo
0c8e7baf30
Add fail fast and rename option to "reference directly"
2015-02-05 20:12:39 -08:00
Sashko Stubailo
48db054307
Move path to top and unrequire files.js in profile require
2015-02-05 19:55:56 -08:00
Sashko Stubailo
f525218ca9
"not yet available"
2015-02-05 19:52:20 -08:00
Sashko Stubailo
e55632a66b
Don't load windows code if we aren't on windows
2015-02-05 19:51:40 -08:00
Sashko Stubailo
019f58cb90
Remove redundant windows checks
2015-02-05 19:49:25 -08:00
Slava Kim
599f6b4f37
Convert __dirname
2015-02-05 17:02:19 -08:00
Slava Kim
4eb73b3984
Fix requires to profile.js since we replaced the wrapper with tiny-profile.js
2015-02-05 16:40:14 -08:00
Slava Kim
a04ac580e9
Remove redundant profile.js left from old times
2015-02-05 16:33:21 -08:00
Slava Kim
312d395daa
Fix comment per glasser's comments
2015-02-05 16:29:49 -08:00
Slava Kim
b0f51a62f3
Don't access Isopack directly because of potential problems of circular
...
dependencies
2015-02-05 16:27:29 -08:00
Slava Kim
7ff1f6b2d2
Glasser's comments
2015-02-05 16:25:44 -08:00
Slava Kim
e6419e7cfe
Make all calls to copyDirectory to explicitely state the option "symlink: false"
2015-02-05 16:17:53 -08:00
Slava Kim
dff3bf1d43
Remove dead code per glasser's comments
2015-02-05 16:14:59 -08:00
Slava Kim
5948763bbb
More windows cordova tests, fixes for every command
2015-02-05 16:07:49 -08:00
Slava Kim
a470dc99c2
Refine the windows cordova script once again
2015-02-05 15:31:50 -08:00
David Glasser
e27ca92451
Fix bundler-npm test-only crash
2015-02-05 15:26:40 -08:00
Slava Kim
cbac505a12
Move the mobile check on Windows earlier: before the ip/port parsing
2015-02-05 15:19:53 -08:00
Slava Kim
91667d927f
Make the cordova on windows test more nuanced on having whethear the app had
...
mobile platforms or not
2015-02-05 15:16:58 -08:00
Slava Kim
810eaa573d
Add the underscore dependency to the test
2015-02-05 15:11:51 -08:00
Slava Kim
f4da8d4927
More Cordova on Windows self-tests
2015-02-05 15:09:11 -08:00
Slava Kim
d9d8147a3d
Correct comments according to avi's and sashko's comments
2015-02-05 15:00:35 -08:00
Slava Kim
2c1e27d973
Add a self-test for meteor script parsing
2015-02-05 14:05:17 -08:00
Slava Kim
25e69e8492
Always use convertToPosixPath because the function can be ran on any platform
2015-02-05 14:05:17 -08:00
Slava Kim
adc5e40fb7
Extract the meteorLinkScript parsing logic to separate testable functions
2015-02-05 14:05:17 -08:00
Sashko Stubailo
7b8147761b
Improve comment about physical location
2015-02-05 12:12:47 -08:00
Sashko Stubailo
68565d4ade
Code style on unary ops
2015-02-05 12:04:30 -08:00
Sashko Stubailo
4e2671ec7b
Replace debug option with printErrors and add comments
2015-02-05 12:00:17 -08:00
Sashko Stubailo
6622ac35e1
Code style
2015-02-05 11:53:43 -08:00