Ben Newman
12e563664b
Disable the HTTP timeout for the Galaxy upload POST.
2016-06-23 11:49:57 -04:00
Ben Newman
df77c39908
Bump default HTTP timeout to 60 seconds, and allow disabling.
2016-06-23 11:49:23 -04:00
Tom Freudenberg
4cd91f67fa
Fix error on accessing empty releaseRecordForConstraints var
...
When running meteor from checkout this var is defined to be null.
Accessing var instance attribute will raise an exception
2016-06-23 02:01:32 +02:00
Ben Newman
6c55961d98
Revert "Tolerate UNKNOWN errors in files.statOrNull on Windows."
...
This reverts commit 7ea260dac2 .
The original reporter of #7243 says the problem has gone away (see
https://github.com/meteor/meteor/issues/7243#issuecomment-227643684 ), and
I would rather not hide UNKNOWN errors if we can help it.
2016-06-22 15:26:37 -04:00
Ben Newman
8507d44717
Flatten the files.withCache hierarchy.
...
It turns out throwing away cached results collected during nested
file.withCache calls was not a good idea.
2016-06-22 15:12:30 -04:00
Ben Newman
b14fb05128
In node_modules directories, cache packageSource._findSources.
...
This caching vastly reduces the amount of work _findSources must do when
the server restarts, at the small cost of ignoring new files added within
node_modules subdirectories. Even if you have to restart the server when
you add a file to node_modules (super rare), that's still MUCH better than
waiting for _findSources to rescan the node_modules directory every time
the server restarts.
Part of #7253 and #7008 .
2016-06-22 14:45:11 -04:00
Ben Newman
a2e380d154
Cache files.{stat,lstat,realpath,readdir} hierarchically.
...
Passing a function to files.withCache invokes the function and causes the
results of these four files.* methods to be cached for the duration of the
function invocation.
Part of #7253 and #7008 .
2016-06-22 14:41:54 -04:00
Ben Newman
9a5907b911
Merge branch 'devel' into release-1.3.4
2016-06-22 13:22:44 -04:00
Zoltan Olah
8f86d08827
Merge pull request #7143 from mitar/timeouts
...
Set timeout for HTTP requests
2016-06-22 08:59:38 +10:00
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
Mitar
3846c6f45c
Changed timeout 30 seconds as instructed by our god Math.random().
2016-06-16 23:12:08 -07: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
Mitar
853e218a89
Set timeout for HTTP requests.
2016-05-31 23:35:46 +02: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