Ben Newman
7ea260dac2
Tolerate UNKNOWN errors in files.statOrNull on Windows.
...
Fixes #7243 .
2016-06-21 13:40:15 -04:00
Ben Newman
b83e4d3061
Avoid crashing when proxying invalid requests.
2016-06-20 18:31:13 -04:00
Ben Newman
e9ed66e385
Install npm dependencies without creating package.json files.
...
With npm@3, we can get away with using only npm-shrinkwrap.json files.
2016-06-20 15:43:51 -04:00
Ben Newman
9897092a7c
Merge pull request #7237 from meteor/release-1.3.3.1
...
Release 1.3.3.1
2016-06-17 22:49:08 +00:00
Jack Ivy
4b584c10ce
Allow --headless option for test and test-packages
2016-06-17 13:15:00 -04:00
Ben Newman
a5b34af583
Fix babel-runtime/regenerator import in tools runtime setup.
...
Fixes #7181 .
2016-06-16 16:59:58 -04:00
Ben Newman
3f3a6dc6b5
Fix misuse of Map object in Resolver.prototype.resolve.
...
Using this._resolveCache as an object rather than using the Map methods
(.has, .get, .set) almost works, miraculously, except of course when
resolving a module identifier whose name is "has", "get", or "set",
because then the cache appears to contain a matching entry, but the cached
value is a function object, not a proper byParentDir object.
Fixes #7215 .
2016-06-16 16:59:56 -04:00
Jonas Aschenbrenner
d2309542a2
Removes Velocity testing code
2016-06-16 19:13:25 +02:00
Ben Newman
dce2b20ddb
Merge pull request #7033 from meteor/release-1.3.3
...
Release 1.3.3
2016-06-10 18:18:28 -04:00
Ben Newman
b907fea4c4
Update modules test app to use the official Meteor 1.3.3 release.
2016-06-10 17:21:30 -04:00
Ben Newman
32555d5ed9
Bump compiler.BUILT_BY in tools/isobuild/compiler.js.
2016-06-10 16:17:23 -04:00
Ben Newman
9d0c4b9cfa
Bump LINKER_CACHE_SALT to trigger relinking.
2016-06-10 14:33:47 -04:00
Ben Newman
eea8612834
Update modules test app to 1.3.3-rc.5.
2016-06-09 13:20:20 -04:00
Ben Newman
cf4b098c09
Also record .meteor-last-rebuild-version.json after install from shrinkwrap.
2016-06-09 11:45:21 -04:00
Ben Newman
091c0417f1
Write .meteor-last-rebuild-version.json after initial install.
...
This should help prevent unnecessary rebuilds for packages with binary
dependencies installed from Atmosphere.
Related: #7188
2016-06-09 10:43:43 -04:00
Tom Coleman
fa21921280
Merge pull request #7176 from chemicstry/ipv6_support
...
IPv6 Support. closes #7155
2016-06-08 13:01:50 +10:00
Tom Coleman
bb1e1039f8
Added documentation for Assets.absoluteFilePath()
...
See https://github.com/meteor/meteor/issues/6552
2016-06-08 12:56:32 +10:00
Ben Newman
1792c8d0fb
Delegate _joinAndStat call to this.resolver in ImportScanner.
2016-06-07 14:15:54 -04:00
Ben Newman
5ae53de46b
Warn but do not crash when .babelrc dependencies unmet.
2016-06-06 19:55:22 -04:00
Ben Newman
1f840e7a50
Merge branch 'devel' into release-1.3.3
2016-06-06 15:30:26 -04:00
Ben Newman
e60878a8ab
Revert "Reimplement files.rm_recursive with fs.renameSync."
...
This reverts commit 73685f6cf8 .
It's a shame to have to walk back this optimization, but performance isn't
worth loss of stability: https://github.com/meteor/meteor/issues/7168
2016-06-06 13:27:13 -04:00
chemicstry
512799ed9e
Initial IPv6 support
2016-06-06 02:17:36 +03:00
Wexpo Lyu
a8063e81f7
Use NPM_CONFIG_REGISTRY.
2016-06-03 15:37:46 +08:00
Ben Newman
40b5a9bdeb
Cache Resolver.prototype.resolve results by id and directory.
2016-06-02 17:08:31 -04:00
Ben Newman
9856d1d418
Declare files.rename a "quickie" rather than reimplementing it.
...
This reverts commit b5c104b09e , which was
breaking tools/tests/compiler-plugins.js tests.
2016-06-02 17:08:03 -04:00
Ben Newman
b5c104b09e
Reimplement files.rename in terms of fs.renameSync.
...
There's no reason renaming should yield, and it's much faster if we do it
synchronously, anyway (30 seconds saved during modules test app startup).
2016-06-02 12:03:04 -04:00
Ben Newman
73685f6cf8
Reimplement files.rm_recursive with fs.renameSync.
...
This saves 25+ *seconds* when building the modules test app, and will
likely have huge benefits for any other sizeable app, too.
Since the temporary directory is created with files.mkdtemp, and those
directories are cleaned up at shutdown, this reimplementation effectively
defers the work of rm_recursive until shutdown, which is much better than
doing it during startup.
2016-06-02 11:25:58 -04:00
Ben Newman
00641091d7
Enable profiling for Resolver methods.
2016-06-02 11:25:58 -04:00
Ben Newman
db8d4f4dab
Merge branch 'devel' into release-1.3.3
2016-06-01 14:24:24 -04:00
Ben Newman
dc9941bfa6
Return {path,id,stat} from Resolver.prototype.resolve.
...
The id property is an absolute module identifer, suitable for passing to a
native Node require function.
2016-06-01 13:39:57 -04:00
Ben Newman
949e418c12
Privatize resolve* helper methods of Resolver class.
2016-06-01 13:37:17 -04:00
Jesse Rosenberger
e24150cab1
Change package creation skeleton to import properly
...
The package skeleton test example was omitting the first part of the package name and thus failing to find it within the test package.
Fixes meteor/meteor#6653
2016-06-01 20:12:24 +03:00
Ben Newman
bfc59dd3e3
Test that relative module identifiers work for .babelrc plugins.
2016-06-01 01:39:24 -04:00
Ben Newman
8a82a7af90
Use Resolver class to implement inputFile.resolve(id).
2016-06-01 01:39:23 -04:00
Ben Newman
ec679755ce
Extract standalone Resolver class from ImportScanner.
2016-06-01 01:39:23 -04:00
Ben Newman
eb18d43024
Test that unprefixed .babelrc package names work too.
2016-06-01 01:39:23 -04:00
Ben Newman
64bbd70c1a
Implement InputFile.prototype.readAndWatchFileWithHash.
...
Note that a module identifier is an acceptable input path, and will be
automatically converted to an OS-specific absolute path if necessary.
2016-06-01 01:39:22 -04:00
Ben Newman
b1df82ac0a
Merge branch 'devel' into release-1.3.3
2016-05-31 14:09:46 -04:00
Gadi Cohen
dfee72792f
Proper import chain for Meteor packages ( closes #6907 )
...
Don't include the ", false" for install() on traditional packages
add tests
2016-05-28 20:30:34 +02:00
Ben Newman
bae5983d59
Merge branch 'devel' into release-1.3.3
2016-05-27 00:02:48 -04:00
Ben Newman
653ce6b9e9
Improve npmRequire function used by compiler plugins.
...
The most substantive change here is the additional call to
colonConverter.convert, which fixes #7096 .
In the future, I would like to unify this implementation with similar
logic in tools/static-assets/server/npm-require.js.
2016-05-26 23:23:28 -04:00
Ben Newman
a62d89519d
Merge pull request #7125 from meteor/7087-fix-flaky-tests
...
Fix flaky tests
2016-05-26 14:59:00 -04:00
Tom Coleman
ab85045f58
Don't allow logs to yield to avoid missing logs when the app quits
2016-05-25 18:23:28 -07:00
Zoltan Olah
6573364513
Merge pull request #7108 from meteor/laosb-fix-1469
...
Warn users when they meteor reset with MONGO_URL.
2016-05-25 18:03:31 -07:00
Tom Coleman
3b0ae7a903
Rebalanced tests
2016-05-25 17:03:05 -07:00
Tom Coleman
cd0b47e567
Only isopacket.load the logging package once
...
This was causing yielding problems leading to log ordering issues
2016-05-25 14:15:55 -07:00
Tom Coleman
47308da931
Added a test that reproduces logging out of order
2016-05-25 10:54:43 -07:00
Wexpo Lyu
9e083c232d
Refined the tip.
2016-05-25 12:48:02 +08:00
Tom Coleman
4ae58378e9
Upped timeout for connection to fake mongo
2016-05-24 16:50:05 -07:00
Tom Coleman
eadfd1f5b2
Upped timeout for bad PID test
2016-05-24 16:48:43 -07:00