Commit Graph

19393 Commits

Author SHA1 Message Date
Jesse Rosenberger
b97f2f9d33 Merge pull request #9039 from hwillson/issue-6286
Deprecate fastclick
2017-09-04 13:54:10 +03:00
Jesse Rosenberger
99167d4ec7 Merge pull request #8698 from sebakerckhof/uglify-es-minifier
Update uglifier to version 3 (uglify-es)
2017-09-04 13:53:26 +03:00
Hugh Willson
3067c630e1 Add fastclick deprecation PR link, now that is exists 2017-08-24 07:25:59 -04:00
Hugh Willson
a365ad7910 Deprecate fastclick
Since `fastclick` is no longer maintained, is introducing bugs,
and is no longer really necessary with modern mobile browsers,
it is being deprecated.
2017-08-24 07:19:29 -04:00
Jesse Rosenberger
247d8e1c65 Upgrade uglify-es to version 3.0.28.
Same bump as done in 87181a68e8 but for `uglify-es` instead of `uglify-js`, the switch made by meteor/meteor#8698.
2017-08-23 20:21:09 +03:00
Jesse Rosenberger
4997a3ca0c Merge branch 'devel' into uglify-es-minifier 2017-08-23 20:16:01 +03:00
Ben Newman
0ebca07f06 Merge pull request #8888 from mitar/minimongo-iterator
Make Minimongo cursor iterable.
2017-08-23 11:26:49 -04:00
Hugh Willson
58f58017a3 Merge branch 'devel' into minimongo-iterator 2017-08-23 11:03:45 -04:00
Hugh Willson
cd5405437c Visually notify of uncaught exceptions breaking client tests (#9034)
* Visually notify of uncaught exceptions breaking client tests

These changes add a global `window.onerror` event handler
to the `test-in-browser` package, to catch any previously
uncaught exceptions. When uncaught exceptions are found,
an alert box is displayed above the test results table.
This should help notify developers of hidden uncaught
exceptions that could be preventing client tests from
running.

Fixes #4979.

* Bump the test-in-browser package version
2017-08-22 20:52:30 -04:00
Hugh Willson
e027a46d71 Add missing CLI help for test/test-packages --driver-package (#9035) 2017-08-22 15:57:43 -04:00
Hugh Willson
5319b4800c Add the missing meteor list --tree History.md entry (#9025) 2017-08-21 16:26:14 -04:00
Ben Newman
65c8b481e2 Specify a few more version constraints in coffeescript packages.
Small follow-up to #9018.

Note (especially @GeoffreyBooth): these version constraints do two things:
(1) specify a minimum version, and (2) fix the major version. In other
words, the coffeescript package should not need to be republished when we
publish new minor versions of these core packages in Meteor 1.5.2 or 1.6.

When/if we publish a new major version of these packages, the coffeescript
package can simply bump its version constraints, but that probably won't
happen any time soon. I think that's reasonable because a major version
bump suggests there are some significant changes that need to be
acknowledged by dependent packages.
2017-08-17 09:44:13 -04:00
Ben Newman
568e695eeb Merge pull request #9018 from GeoffreyBooth/coffeescript-compiler-split-2
Split coffeescript package, take 2.
2017-08-17 08:53:19 -04:00
Mitar
958c029821 Added History entry. 2017-08-17 02:21:12 -07:00
Mitar
d1f891f462 Added tests. 2017-08-17 02:16:45 -07:00
Mitar
e000cf98a7 Merge branch 'devel' into minimongo-iterator 2017-08-17 02:00:30 -07:00
Geoffrey Booth
4bd17e3f30 Fix syntax of api.mainModule 2017-08-16 12:37:31 -07:00
Jesse Rosenberger
d86b0c712e Be more considerate of interactive environments and expired tokens. (#9015)
If a login token is expired, or no longer valid, make sure that Meteor doesn't
just sit there at a login prompt that the user can't see.

This currently only applies if `headless` mode is enabled, though a follow-up
to this commit might consider setting `headless = true` automatically
in a CI environment using environment variables such as: `CI`, `TRAVIS`,
`JENKINS_URL`, etc., as the npm-registry-client does in a similar way.

See: https://github.com/npm/npm-registry-client/pull/129/files

Fixes #8839.
2017-08-16 11:21:53 -04:00
Jesse Rosenberger
5626ad7dee JUnit support for meteor self-test test runner. (#9014) 2017-08-16 11:21:07 -04:00
Geoffrey Booth
6a612f4213 Fix coffeescript-compiler version; make more ecmascript-y 2017-08-15 18:19:48 +00:00
Geoffrey Booth
27c6a52d35 Fix coffeescript / coffeescript-compiler dependency versions 2017-08-15 16:52:40 +00:00
Geoffrey Booth
89af934b54 Fix coffeescript package version to same as coffeescript-compiler; update documentation 2017-08-15 16:40:27 +00:00
Geoffrey Booth
dd6a0f703b Move all coffeescript* packages back into non-core 2017-08-15 10:23:54 +00:00
Ben Newman
3677e17a23 Bump coffeescript package version to 1.13.0.
This Meteor package version does not need to track the npm version of the
coffeescript package, and probably should not change as often as the
version of the packages/non-core/coffeescript-compiler package.
2017-08-15 10:22:53 +00:00
Geoffrey Booth
13fb390bc7 Move coffeescript and coffeescript-test-helper packages back into core. (#8960)
They depend on core packages like caching-compiler, but coffeescript-compiler
can remain in non-core, so it can update more frequently as npm coffeescript
gets updated.
2017-08-15 10:21:18 +00:00
Geoffrey Booth
e4c0240179 Split coffeescript package into coffeescript / coffeescript-compiler. 2017-08-15 10:21:17 +00:00
Geoffrey Booth
0d65440fe0 Instructions for how to test the coffeescript package 2017-08-15 10:21:16 +00:00
Geoffrey Booth
7b8a5f3ab8 Bump CoffeeScript version 2017-08-15 10:21:16 +00:00
Ben Newman
34b0237364 Avoid api.export("process") in modules package.js.
Declaring a package-local variable called `process` in the `modules`
package causes uglify-js not to replace `process.env.NODE_ENV` with a
string literal value in any `node_modules` contained by the `modules`
package, which causes React Dev Tools to display a warning.
2017-08-14 22:32:19 -04:00
Ben Newman
93d0c5f2ba Merge pull request #9007 from meteor/immediately-dirty-optimistic-functions
Immediately dirty optimistic functions when relevant paths modified.
2017-08-11 15:22:49 -04:00
Ben Newman
4dfa9c3ae2 Add METEOR_WATCH_PRIORITIZE_CHANGED=false back to two self-tests. 2017-08-11 15:21:50 -04:00
Ben Newman
837f12c3c4 Add additional timeouts to 'update during run' self-test. 2017-08-11 15:21:50 -04:00
Ben Newman
56aea02723 Stop setting METEOR_WATCH_PRIORITIZE_CHANGED=false in self-tests.
Assuming #9007 fixes the file watcher timing problems, it should no longer
be necessary to disable the optimizations of #8866.
2017-08-11 15:21:50 -04:00
Jesse Rosenberger
5c011253f7 Change "expected" for meteor list command-line test.
This test doesn't actually run normally, as it's quite slow, but
started failing with the changes to #8936.  This fixes that!
2017-08-11 21:17:41 +03:00
Ben Newman
0f9c58d6b9 Immediately dirty optimistic functions when relevant paths modified.
Should fix #8988 and #8942.

Now that #8866 is the default behavior, it can take up to 5000ms for
changes to files modified during the build process to be noticed.

Before #8866, when we called e.g. files.writeFile(path), a native file
watcher would notice the change immediately, almost always before the
build process read the file again. This was definitely racy, but we were
getting away with it consistently... until #8866.

I was able to reproduce the problem in #8988 by running

  echo some-local-package-name >> .meteor/packages

in an app with a local package of the given name. After debugging the
endless rebuild cycle, I found that .meteor/versions was being rewritten
by files.writeFile during the build process, but the file watching system
was not noticing the change in time to prevent watch.isUpToDate from
returning true. The change was finally detected when restarting the
Watcher responsible for .meteor/versions, which of course triggered
another rebuild, so the same problem kept happening again and again.
2017-08-11 13:57:16 -04:00
Ben Newman
184b21a72b Talk about blockers to Meteor adoption in Roadmap.md 2017-08-11 13:50:34 -04:00
Sashko Stubailo
132728ee73 Update Roadmap.md 2017-08-11 10:29:35 -07:00
Sashko Stubailo
c512eee3b6 Add reference to feature request issue (#9010) 2017-08-11 10:28:51 -07:00
Sashko Stubailo
348223cae8 Add React section to Roadmap.md (#9008) 2017-08-11 13:20:53 -04:00
Ben Newman
97469911d8 Updates to Roadmap.md 2017-08-11 13:19:27 -04:00
Jesse Rosenberger
a581fa644b Update ISSUE_TEMPLATE.md 2017-08-11 16:20:07 +03:00
Jesse Rosenberger
859e17af0d Update ISSUE_TEMPLATE.md
In retrospect, I could have tested this new issue template formatting by copying and pasting into the issue textarea, but I didn't.  Sorry for the incremental commits on `devel`.  This should be the last one. :)
2017-08-11 16:18:22 +03:00
Jesse Rosenberger
aa0da9afa9 Update ISSUE_TEMPLATE.md
Formatting.
2017-08-11 16:15:24 +03:00
Jesse Rosenberger
a27ab661eb Update ISSUE_TEMPLATE.md 2017-08-11 16:12:38 +03:00
Radosław Miernik
ecac7ddc03 Merge branch 'devel' of github.com:meteor/meteor into minimongo-iterator 2017-08-10 21:46:32 +02:00
Ben Newman
e1b60a661e Use urlParse instead of url.parse in meteor-services/config.js.
Looks like this was a neglected find/replace that should've happened in
10e8d7d08d (cc @abernix).
2017-08-10 15:14:52 -04:00
Ben Newman
01a7e8b07d Bump minimongo package version to 1.3.0. 2017-08-10 14:59:30 -04:00
Ben Newman
3e4accda7c Merge pull request #8893 from radekmie/minimongo-without-underscore
Minimongo ES5/ES6 refactoring and performance improvements
2017-08-10 14:56:09 -04:00
Radosław Miernik
bf978305ab Fixed typos. 2017-08-09 17:20:57 +02:00
Radosław Miernik
8b43925d1f Refactored braces. 2017-08-09 17:12:24 +02:00