Commit Graph

17640 Commits

Author SHA1 Message Date
Ben Newman
fe143dd847 Merge pull request #7851 from rodrigopalhares/7850-observer-sequence_null_values
observe-sequence: Bug, array with null values. fixes #7850
2016-10-11 18:59:26 -04:00
Ben Newman
e86ef3cb47 Merge pull request #7898 from meteor/bump-mongo-versions-to-fix-travis-tests
Fix Travis CI tests by setting mongoOptions.server.reconnectTries = Infinity.
2016-10-08 15:30:42 -04:00
Ben Newman
0c324f3145 Bump mongo package version to 1.1.12_5. 2016-10-08 14:58:45 -04:00
Ben Newman
3ee0cd73e1 Set mongoOptions.server.reconnectTries = Infinity.
Setting mongoOptions.server.auto_reconnect was removed by #7880 via commit
0ffb9ac824, though it seems the Server
options still respect autoReconnect, even in version 2.2 of the driver:
http://mongodb.github.io/node-mongodb-native/2.2/api/Server.html

That said, having inspected the code of the `mongodb` package, I do not
believe this change is really critical, since the default value for
autoReconnect appears to be true.

More importantly, I can't find any support in the code of the `mongodb`
npm package or its dependencies for the claim that setting
mongoOptions.server.reconnectTries to 0 is the same as making it infinite,
so this commit sets it to Infinity.
2016-10-08 14:53:24 -04:00
Ben Newman
cc5bb86611 Use npm-mongo@2.2.10_1 in mongo@1.1.12_4. 2016-10-08 13:58:37 -04:00
Ben Newman
39046e4eb8 Make npm-mongo package version match npm mongodb package. 2016-10-08 13:58:37 -04:00
Ben Newman
d8d70eaba6 Revert "Add version constraints to dependencies of the mongo package."
This (partially) reverts commit 904c77fe80.
2016-10-07 16:41:45 -04:00
Ben Newman
7e7885c2a5 Remove -beta.5 suffix from facts package version. 2016-10-07 16:41:45 -04:00
Ben Newman
904c77fe80 Add version constraints to dependencies of the mongo package. 2016-10-07 16:02:07 -04:00
Tom Coleman
0ffb9ac824 Reconnect to mongo indefinitely. (#7880)
* Reconnect to mongo indefinitely.

A fix for https://github.com/meteor/meteor/issues/7822

It seems the driver now always autoReconnects, but only for 30s.

To get the old (sensible) behavior of endlessly reconnecting, we set `reconnectTries` to 0.

* Releasing an rc of mongo package
2016-10-07 15:47:35 -04:00
Ben Newman
e624899169 Merge branch 'master' into devel
This involved rolling some package versions back to non-beta versions,
since release-1.4.2 was previously merged into devel, but I think the
result is a more reasonable state for the devel branch.
2016-10-07 15:41:50 -04:00
Ben Newman
9ed63c22cc Bump coffeescript version to match coffee-script npm version.
As suggested by @mitar and agreed by @tmeasday.
2016-10-07 11:27:58 -04:00
Ben Newman
d3d60fc475 Merge pull request #7886 from abernix/feature/add-cordova-dependency-test
Add Cordova Platform Dependency Tests
2016-10-07 11:21:58 -04:00
Ben Newman
c969cde1af Merge pull request #7814 from engelgabriel/patch-1
Add --headless option to the build command.
2016-10-07 10:03:38 -04:00
Ben Newman
a24448e7a7 Merge pull request #7885 from abernix/feature/fix-console-success
`Console.success` should provide an indicator when pretty is disabled
2016-10-07 09:58:36 -04:00
Ben Newman
16e9e0c0f9 Merge pull request #7884 from abernix/feature/fix-console-fail
Fix for `Console.failInfo` and `Console.failWarn` when `pretty` is false.
2016-10-07 09:56:25 -04:00
Ben Newman
1e0737321d Merge pull request #7879 from meteor/decompose-package-singletons
Decompose PackageNamespace, PackageNpm, and PackageCordova classes.
2016-10-07 09:49:35 -04:00
Jesse Rosenberger
8c948d2ebc Test: Ensure message when platform already added
If the platform is already added, it should provide the appropriate message.
2016-10-07 14:17:11 +03:00
Jesse Rosenberger
3359d2397c Add test which verifies the Cordova dependency messages are working
Previously, the Cordova message was failing in CI.  It wasn't caught on CircleCI since they have Cordova installed by default so this path was never tested.  I found this when I ran this through Semaphore CI who does not have Cordova available by default.

This test fails without meteor/meteor#7884 and passes with it.
2016-10-07 14:16:48 +03:00
Jesse Rosenberger
932750f77d Fix redeclared var & change to let 2016-10-07 14:07:54 +03:00
Jesse Rosenberger
58a6d743c8 Console.success should provide an indicator when pretty is disabled
`Console.success` is currently called in only one place but it relies on the fact that `pretty` console mode is enabled for it to make any sense.  This adds the ability to pass an "ugly" (less pretty?) message to `Console.success` (default: "success") and changes the Cordova dependency checker to use "installed" when showing a met-dependency.

Fixes meteor/meteor#7883
2016-10-07 13:41:39 +03:00
Jesse Rosenberger
1d3d6c2bda Fix for Console.failInfo and Console.failWarn when pretty is false
These functions were both using the `Console._fail` function which is passed a severity of failure as a string (e.g. "warn", "error", etc.) which corresponds to the appropriate `Console` function.  Previously, the string was just being called as if it was a function.

Fixes meteor/meteor#7882
2016-10-07 13:36:59 +03:00
Ben Newman
2d18c25f7e Be more defensive when terminating watchers. 2016-10-06 18:09:22 -04:00
Ben Newman
14ee8775c3 Decompose PackageNamespace, PackageNpm, and PackageCordova classes.
Similar to the treatment given to PackageAPI in my commit
af50b4cc5b.

This clear separation of concerns will be helpful for optimizing
PackageSource#initFromPackageDir.
2016-10-06 17:39:23 -04:00
Ben Newman
2b1a33e903 Merge pull request #7558 from mitar/coffeescript-babel
Fix bad CoffeeScript interaction with Babel by calling stripExportedVars earlier.
2016-10-06 15:10:47 -04:00
Ben Newman
9608506ce5 Merge pull request #7835 from sebakerckhof/optimize-ignorefiles
Optimize ignoreFiles patterns.
2016-10-06 15:07:29 -04:00
Ben Newman
06e583c9f0 Merge pull request #7866 from meteor/release-1.4.1.2
Release 1.4.1.2
2016-10-04 14:47:10 -04:00
Ben Newman
1d74c0ce5e Bump package versions for the official 1.4.1.2 release. release/METEOR@1.4.1.2 2016-10-04 12:44:28 -04:00
Ben Newman
2937403be0 Bump package versions for 1.4.1.2-rc.0 release. release/METEOR@1.4.1.2-rc.0 2016-10-04 12:34:01 -04:00
Ben Newman
595f67fda8 Bump $BUNDLE_VERSION to 4.3.0 before rebuilding dev bundle. 2016-10-04 11:58:35 -04:00
Ben Newman
9ecf3f2b50 Upgrade Node to 4.6.0 and npm to 3.10.8. 2016-10-04 11:58:35 -04:00
Mitar
b50d058730 Merge pull request #2 from GeoffreyBooth/coffeescript-babel
Update CoffeeScript
2016-10-02 12:23:40 -07:00
Geoffrey Booth
354d05fba8 Bump version of coffeescript package 2016-10-02 12:16:04 -07:00
Geoffrey Booth
7296323a54 Bump version of CoffeeScript to 1.11.1 2016-10-02 12:14:01 -07:00
Geoffrey Booth
bb9b6cb4af Merge remote-tracking branch 'upstream/devel' into coffeescript-babel
# Conflicts:
#	packages/coffeescript/plugin/compile-coffeescript.js
2016-10-02 12:04:07 -07:00
Mitar
44d6187b67 Merge branch 'devel' into coffeescript-babel 2016-09-30 23:14:57 -07:00
Mitar
084fea9689 Merge pull request #1 from GeoffreyBooth/coffeescript-babel
Fix CoffeeScript exported variables on files processed by Babel
2016-09-30 23:13:32 -07:00
Geoffrey Booth
29c37d5d2d CoffeeScript compiler: strip exported variables *before* running through the Babel compiler, to avoid Babel turning a one-line var statement into a multiline var statement and breaking the parsing logic in stripExportedVars 2016-09-30 22:33:32 -07:00
Rodrigo Palhares
75032f0a8d observer-sequence: Bug, array with null values. fixes #7850 2016-09-30 15:52:18 -03:00
Ben Newman
c829bf580e Merge pull request #7840 from meteor/reconfigure-mongo-when-port-differs
Reconfigure Mongo replica set when --port differs
2016-09-29 16:56:36 -04:00
Ben Newman
dd3fe9a264 Add additional delay to "run: run" test. 2016-09-29 16:03:18 -04:00
Michiel ter Reehorst
8dbfd9769a Bump the coffeescript package version (#7845)
That way everyone who wants to can update to version `1.2.6` and enjoy coffeescript `1.11.0`.
2016-09-29 15:59:35 -04:00
Lieuwe Rooijakkers
c13fe33aa3 coffeescript: improve es6 regex performance (#7846) 2016-09-29 15:59:06 -04:00
seke
3ea64dfe8c Fix regexp for Icon\r files 2016-09-29 17:44:27 +02:00
Ben Newman
295d3d5678 Kill mongo when server process exits.
We try to kill any mongod processes before starting new ones, but this
change kills it when the development server shuts down, too.

Killing mongo on shutdown is particularly important for tests that run
meteor multiple times in a row, and for whatever reason fail to find and
kill running mongod processes on startup, e.g. because the --port has
changed (#7563).

This comment by @glasser seems to suggest this is a reasonable idea:
https://github.com/meteor/meteor/issues/2182#issuecomment-45685614

Fixes #2182 and possibly other related bugs.
2016-09-29 09:48:55 -04:00
Ben Newman
5b2e08a80c Automatically reconfigure Mongo replication set when --port differs.
Fixes #7563.
2016-09-29 09:48:55 -04:00
Ben Newman
20a6604126 Remove pointless and exception-swallowing assert.doesNotThrow wrappers. 2016-09-29 08:51:57 -04:00
Ben Newman
f8ba1226b1 Rename test entry point module so that it isn't ignored. 2016-09-29 08:51:56 -04:00
Ben Newman
697e7ae0f7 Protect against null return values from getDevBundleForRelease. (#7841)
Fixes #7838.
2016-09-28 19:54:10 -04:00
seke
323ed8884e enhance test 2016-09-28 16:07:20 +02:00