Commit Graph

20175 Commits

Author SHA1 Message Date
Sashko Stubailo
78027030e7 Remove underscore from callbacks 2017-11-10 09:40:14 -08:00
Sashko Stubailo
af0ecc0aab Fix undefined options 2017-11-10 09:40:14 -08:00
Sashko Stubailo
dadd4323e4 No more dynamic method naming 2017-11-10 09:40:14 -08:00
Sashko Stubailo
7b69fa7f48 Add brackets to if/else chain 2017-11-10 09:40:14 -08:00
Sashko Stubailo
90f95641cf Move onReset into a method 2017-11-10 09:40:14 -08:00
Sashko Stubailo
9095c7e2d6 Move onMessage into method 2017-11-10 09:40:14 -08:00
Sashko Stubailo
34d78acf21 Replace _.isFunction 2017-11-10 09:40:14 -08:00
Sashko Stubailo
17ef5c2955 Make sure all imports have the .js extension 2017-11-10 09:40:14 -08:00
Sashko Stubailo
8a9875cf97 Remove underscore from stream_client_nodejs 2017-11-10 09:40:14 -08:00
Sashko Stubailo
437b7808be Replace _.all with Array#every 2017-11-10 09:40:14 -08:00
Sashko Stubailo
8788b2d793 Get rid of self=this in method invoker 2017-11-10 09:40:14 -08:00
Sashko Stubailo
0ac733f5ec Fix an oddly broken line 2017-11-10 09:40:14 -08:00
Sashko Stubailo
4966bc537b Replace function statements with arrow functions or declarations 2017-11-10 09:40:14 -08:00
Sashko Stubailo
caf91e7932 Add back import that isn't strictly required 2017-11-10 09:40:14 -08:00
Sashko Stubailo
0dd710e580 Replace _.extend with spread 2017-11-10 09:40:14 -08:00
Sashko Stubailo
d6f0fdfb35 Get ClientStream off of LivedataTest 2017-11-10 09:40:14 -08:00
Sashko Stubailo
8bbfd531c1 Make Connection a real class 2017-11-10 09:40:14 -08:00
Sashko Stubailo
2633d962ca Factor out method invoker 2017-11-10 09:40:14 -08:00
Sashko Stubailo
45928b2cb2 No more self=this 2017-11-10 09:40:14 -08:00
Sashko Stubailo
8fb63d1b86 Clean up urlHelpers 2017-11-10 09:40:14 -08:00
Sashko Stubailo
6a0b94340c Remove underscore and self=this from stream_client_common 2017-11-10 09:40:14 -08:00
Sashko Stubailo
5da802d642 Remove underscore from one file 2017-11-10 09:40:14 -08:00
Sashko Stubailo
88847faf27 Remove all self=this and convert callbacks to arrow functions 2017-11-10 09:40:14 -08:00
Sashko Stubailo
3739ec98cd Use classes and inheritance instead of extending prototype 2017-11-10 09:40:14 -08:00
Sashko Stubailo
a6ff818fdc Reformat package.js, and remove some LivedataTest 2017-11-10 09:40:14 -08:00
Sashko Stubailo
775279d1f5 Refactor some small stuff 2017-11-10 09:40:14 -08:00
Jesse Rosenberger
70ffce52fc Merge pull request #9340 from meteor/abernix/remove-windows-installer
Remove the source of the deprecated Windows installer.
2017-11-09 23:33:09 +02:00
Jesse Rosenberger
854076c817 Remove the source of the deprecated Windows installer.
This code had been used to compile the previous generation of
the Windows installer, `InstallMeteor.exe`, however it has been
replaced with the `meteor` Chocolatey package.

Refs: https://github.com/meteor/meteor-chocolatey-installer.
2017-11-09 23:13:29 +02:00
Sashko Stubailo
0749a1890a Make ddp-client more aligned with code style (#9337)
- single quotes
- 80 char line width
2017-11-09 15:10:19 -05:00
Ben Newman
3690d7a327 Merge pull request #9324 from meteor/modernize-ddp
Convert ddp-client to use only api.mainModule for client and server.
2017-11-09 11:54:34 -05:00
Sashko Stubailo
0dcc4f18e1 Use export from instead of import then export 2017-11-09 08:23:34 -08:00
Sashko Stubailo
5bc54cabce Organize files into directories: client, common, server, test 2017-11-09 08:22:45 -08:00
Sashko Stubailo
2f099b476e Get rid of random_stream 2017-11-09 08:22:45 -08:00
Sashko Stubailo
becfd8939b Refactor stream_client_common to work more like a mixin 2017-11-09 08:22:45 -08:00
Sashko Stubailo
36d8926b99 Remove livedata_common entirely 2017-11-09 08:22:45 -08:00
Sashko Stubailo
266626f897 Add missing import 2017-11-09 08:22:45 -08:00
Sashko Stubailo
cdc4285357 Convert ddp-client to use only api.mainModule for client and server 2017-11-09 08:22:45 -08:00
James Baxley
70e815e7be Upgrade webapp package's Npm.depends dependencies. (#9315) 2017-11-09 10:52:25 -05:00
Jesse Rosenberger
d7e660fff1 In AppVeyor testing, only run a single dynamic import test.
Currently, three 'dynamic import' tests exist in the self-test suite:

 * dynamic import(...) in development
 * dynamic import(...) in production
 * dynamic import(...) with cache

These tests take quite some time to run; each test takes ~5 minutes.

While it's great to test them in a faster environment (Unix), which
Meteor will continue to do, the overall value of the three separate
tests is not as great in a slower testing environment, like Windows.
2017-11-09 15:53:47 +02:00
Jesse Rosenberger
235d00e2c7 Update references to cordova_lib.raw to account for raw deprecation.
The changes made in #9213 were seemingly innocent, but when merging
I missed the fact that the 'cordova-lib' package bump was done to a new
entry on the 'dev bundle', rather than on the
`CORDOVA_DEV_BUNDLE_VERSIONS` in tools/cordova/index.js which, as of
meteor/meteor#8976, is responsible for auto-installing Cordova when it
is used rather than including it in the pre-packaged 'dev bundle'.

That mistake was fixed with 958c44ff1b and
d6adc1b3a9, but not before it caused the
Cordova tests to falsely pass on the PR since it was functionally still
testing the previous version of Cordova, 7.0.0.

Unfortunately, one of the changes in the 7.1.0 was the deprecation of an
API we use within Meteor: the `raw` API on `cordova_lib`. Luckily, as
seen on the following commit, that change was merely a re-organizational
commit and still provides us access to that API by simply removing
the `raw.` segment and accessing the various methods directly:

90b6857f4d

Never saw that deprecation message, but we certainly saw the failure in
CI: https://circleci.com/gh/meteor/meteor/10412.

With any luck, this commit/PR will fix the problem.
2017-11-08 19:20:49 -05:00
Jesse Rosenberger
c70054dff1 Remove unintented extra space in Console message. 2017-11-09 02:10:21 +02:00
Ben Newman
eb8cf102cd Update tools/tests/old/app-with-private test app. 2017-11-08 17:52:49 -05:00
Jesse Rosenberger
853cf81367 Only run AppVeyor tests for Windows 64-bit, and not also 32-.
AppVeyor does provide us quite a bit of value at no cost since we're
open-source software, but with only a single container at our disposal
under that plan, our build queue is often maxed-out for hours.

Since most Meteor developers are using 64-bit platforms, the 64-bit
tests provide the most value.  Meteor doesn't have much (if any?) in the
way of 32-bit/64-bit exceptions so any functionality difference would be
at the OS level.  Some day, we might bring this back.
2017-11-09 00:28:01 +02:00
Jesse Rosenberger
1d91e05264 Remove functionality behind the build farm command.
It's still possible to publish packages for different platforms by using
the `meteor publish-for-arch` command, though it's become increasingly
difficult to offer compatible versions for every circumstance due to the
wide matrix of Node.js ABI versions. This makes it unlikely that
a package built on the build farm will be appropriate for the
application which the package is consumed by, substantially reducing the
overall value of rather expensive infrastructure.

Since Meteor 1.4, and as part of the jump from Node 0.10 to Node 4,
Meteor introduced the capability to compile binary dependencies at the
time that a package is installed.  Additionally, many Node.js packages
are already pre-compiled in a much more effective and wide-spread nature
for the entire JavaScript ecosystem using tools like `node-pre-gyp`.

cc @benjamn.
2017-11-09 00:23:25 +02:00
Jesse Rosenberger
d6adc1b3a9 Update 'cordova-lib' to the intended version, 7.1.0, not 7.1.1.
I think I just typo-ed that patch version right before I committed it.

It certainly should have been 7.1.0. :(

Ref: https://github.com/meteor/meteor/pull/9213

cc @skirunman.
2017-11-08 21:55:48 +02:00
Jesse Rosenberger
958c44ff1b Move 'cordova-lib' back to CORDOVA_DEV_BUNDLE_VERSIONS for auto install.
While 'cordova-lib' used to live in 'dev-bundle-tool-package.js' where
it was pre-bundled into the "dev bundle", that is no longer the case.

It is now automatically installed, on demand, when Cordova is used.

This follows up on meteor/meteor#9213, which added it back to the
'dev-bundle-tool-package.js' and updates it in the new location.

Ref: https://github.com/meteor/meteor/pull/9213
Ref: 073f2410a6

cc @skirunman.
2017-11-08 21:53:37 +02:00
Ben Newman
a39f502d2c Define addSource and addMissing dynamic-import helper functions. 2017-11-08 14:40:55 -05:00
Ben Newman
35bc8f0c15 Bump boilerplate-generator package versions. 2017-11-08 14:30:43 -05:00
Ben Newman
84dd4d4ed3 Bump minimongo package version to 1.4.1. 2017-11-08 14:22:28 -05:00
Ben Newman
fa80c17c0e Bump ddp-server package version to 2.1.1. 2017-11-08 14:03:04 -05:00