Commit Graph

12367 Commits

Author SHA1 Message Date
David Glasser
533ff573ce update autoupdate QA 2014-12-18 17:32:34 -08:00
David Glasser
7633de6efd fix another word-wrap self-test 2014-12-18 16:11:23 -08:00
David Glasser
589dbbabcb Fix typo in meteor update message
Turns out that "[object Object]'" doesn't have a noPrefix property!
2014-12-18 15:09:05 -08:00
David Glasser
c49e7f97a1 Update contributor list again 2014-12-18 10:47:14 -08:00
Tim Haines
28ae4d48c2 Doc fix: meteor bundle -> meteor build 2014-12-18 10:46:44 -08:00
David Glasser
7fb54a952a Fix self-test expecting a removed message 2014-12-18 10:46:22 -08:00
David Glasser
b804b2cd55 Fix wordwrap-related test failures 2014-12-18 10:44:47 -08:00
David Glasser
6256122784 Update mailmap/contributors 2014-12-18 10:44:24 -08:00
David Glasser
8dc1567cc2 Explain why you'd set METEOR_WATCH_FORCE_POLLING 2014-12-18 10:15:12 -08:00
David Glasser
d58bb59e48 Fix self-test --list formatting 2014-12-18 10:11:44 -08:00
Ben Newman
cfe07d898c Mention meteor shell in History.md. 2014-12-18 10:56:06 -05:00
Nick Martin
37781be2e0 Minor History.md tweaks. 2014-12-18 01:34:47 -08:00
Emily Stark
2dc8464cf7 Add History entry for OAuth1 query parameter change 2014-12-17 20:31:55 -08:00
David Glasser
6527e669ab Reorganize History.md 2014-12-17 18:21:45 -08:00
David Glasser
934bfca426 More History.md cleanup 2014-12-17 18:17:58 -08:00
David Glasser
4723a310ab 1.0.2-rc.7 release/METEOR@1.0.2-rc.7 2014-12-17 14:41:12 -08:00
David Glasser
356d6b91ff Remove dead justCheckOnce clause 2014-12-17 13:55:41 -08:00
Ben Newman
e4fd1134a1 Deal with some file-watching race conditions. 2014-12-17 16:46:11 -05:00
Ben Newman
becfb57a15 Don't rely on pathwatcher.watch to determine if files exist. 2014-12-17 16:00:01 -05:00
Ben Newman
3ace90ccc7 Remove a stray call to require("./safe-pathwatcher.js").testDirectory. 2014-12-17 15:03:00 -05:00
Ben Newman
0c8edc1511 Use both pathwatcher and polling to detect changes more robustly.
This strategy was suggested by @glasser after we realized just how
hopeless it is to probe the file system to test pathwatcher:
https://github.com/meteor/meteor/issues/3285#issuecomment-67296961

I've made some attempt to de-duplicate these events (since we're
effectively watching twice now), but we have other mechanisms for dealing
with bursty file change events, so these measures do not need to be
completely bulletproof.

Fixes #3284 (again).
2014-12-17 14:16:41 -05:00
David Glasser
cb33da8536 Missing space in login message 2014-12-17 00:36:22 -08:00
David Glasser
7239b4051c 1.0.2-rc.6 release/METEOR@1.0.2-rc.6 2014-12-17 00:22:47 -08:00
David Glasser
d090f55b4b Fix safe-pathwatcher memory leak 2014-12-17 00:05:50 -08:00
David Glasser
dc24e7b7d7 Implement soft refresh.
Fixes #3213.

Also ameliorates the memory leak of parsedSourceMaps in
files.runJavaScript (because now we don't reload unchanged plugins).
2014-12-16 23:59:59 -08:00
David Glasser
31bd507b11 refactor: move pluginProviderPackageMap in Isopack
This also un-breaks soft refresh for troposphere packages:
previousIsopack was accidentally being set to an
{isopack,pluginProviderPackageMap} object, and so the "can we reuse the
previous one" check was never actually passing.
2014-12-16 23:46:26 -08:00
David Glasser
8f9bb8da17 delete dead fields 2014-12-16 23:36:38 -08:00
David Glasser
b492b71b60 Drop browserstack support from built tool
We haven't really been trying to keep 'meteor self-test' passing from
built tool in a while, so why waste the bandwidth?
2014-12-16 21:08:26 -08:00
David Glasser
6c43678bc0 Clear two types of tokens on Accounts.setPassword 2014-12-16 17:46:26 -08:00
Emily Stark
d700610397 Disallow mixed modifier/non-modifier fields in updates
We expect modifiers to be either modifiers or replacements, not a
mix. MongoDB does this check also, but do it in meteor too as a safety
belt.
2014-12-16 17:16:26 -08:00
Emily Stark
d9feb32148 Disallow EJSON custom types as replacement documents in updates 2014-12-16 17:16:13 -08:00
Emily Stark
747dd88bbf Clear password reset tokens on password change
Conflicts from devel:
	History.md
2014-12-16 17:16:02 -08:00
David Glasser
5924a6a140 Fix pathwatcher fallback tests
- Future.wait does not throw
- any non-empty env var counts as true
2014-12-16 17:11:09 -08:00
Ben Newman
07f6cf41fb Run file watching tests with both pathwatcher.watch and fs.watchFile.
Running the two versions of the test in parallel is safe because they run
in separate processes, and a good idea because it cuts the time taken by
the test in half, from 36sec to 19sec.

Conflicts from devel:
	tools/tests/old.js
2014-12-16 17:10:50 -08:00
Ben Newman
1307132c25 Create temporary pathwatcher test file in app directory.
Previously we were testing pathwatcher.watch by creating a file in
.meteor/local, but developers using Vagrant VMs often mount .meteor on a
different (non-network) file system, for Mongo's sake.

Writing the file directly in the app directory increases the likelihood
that it will interact with pathwatcher in the same way as other source
files the developer will be editing.

Conflicts from devel:
	tools/safe-pathwatcher.js
2014-12-16 17:09:59 -08:00
Ben Newman
fe8297697b Avoid pathwatcher.watch failures in testDirectory. 2014-12-16 17:07:03 -08:00
David Glasser
bd3e276f33 Move pathwatcher fallback message to debug level 2014-12-15 22:51:30 -08:00
Ben Newman
f5dc40765c Package version bumps. release/METEOR@1.0.2-rc.5 2014-12-15 21:51:25 -05:00
David Glasser
e8bef27a5e Be more specific about how to run meteor update 2014-12-15 18:12:53 -08:00
Ben Newman
651348f6f5 Allow forcing fs.watchFile with an environment variable. 2014-12-15 13:13:16 -08:00
Ben Newman
0f00c9e482 Fall back to fs.watchFile if pathwatcher.watch does not work.
Fixes #3284.
2014-12-15 13:13:15 -08:00
David Glasser
56ceae09aa rough draft of History.md for 1.0.2 2014-12-12 18:19:53 -08:00
David Glasser
c120069ff6 1.0.2-rc.3 release/METEOR@1.0.2-rc.3 2014-12-12 17:38:27 -08:00
David Glasser
f1c0654e33 "Fix" bizarre memory corruption (?) bug
See #3285.  For some reason, in some mostly-replicatable circumstances,
this is necessary.  Clearly some sort of V8/Node/Fibers bug.
2014-12-12 17:36:29 -08:00
David Glasser
e4b32c9dc5 1.0.2-rc.2 release/METEOR@1.0.2-rc.2 2014-12-12 07:53:45 -08:00
David Glasser
fd79f43f4b Fix app build for Cordova
Caught by a zillion tests, oops.  But not by --prepare-app!
2014-12-12 07:37:57 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. release/METEOR@1.0.2-rc.1 2014-12-11 22:44:41 -08:00
David Glasser
89a441eede publish in app: don't write, display versions
Typically, there is a delta due to adding the test slice of the
published package, but there's no reason to tell the user about this or
save it in .meteor/versions.
2014-12-11 22:36:45 -08:00
David Glasser
809b2b69f5 Don't compile web.cordova unibuilds unless needed
Specifically, we only compile them if there's a cordova platform in the
current project, or if we are publishing the package.

(Ideally, we wouldn't require every published package to have
web.browser and web.cordova unibuilds --- we'd just publish a 'web'
unibuild unless there's actually a difference between the two. But we
are not there yet.)

This adds an extra flag to isopack-buildinfo.json, so that we know to
rebuild all the isopacks when we add the first cordova platform (or
remove the last cordova platform).

The implementation around publish is a little clunky; if you're in a
non-Cordova app and run meteor publish, it will rebuild all the packages
with web.cordova, and the next time you prepare the app it will rebuild
them again without it. It does work though.

Fixes #3274.
2014-12-11 22:26:29 -08:00
David Glasser
79527ccd9c Don't crash on circular dependency
Previously, we would register the circular dependency error properly
with buildmessage, but then try to build the package with a circular
dependency anyway, leading to a crash.

Fixes #3280.
2014-12-11 21:31:41 -08:00