Commit Graph

12603 Commits

Author SHA1 Message Date
David Glasser
0b8a33282e METEOR@1.0.3.2 release/METEOR@1.0.3.2 2015-02-25 08:55:26 -08:00
David Glasser
67a45935e0 banner update for 1.0.3.2 2015-02-24 16:24:42 -08:00
David Glasser
d1e76b52cb Update examples and docs to 1.0.3.2-rc.0 2015-02-24 15:48:20 -08:00
David Glasser
18c6183926 History update 2015-02-24 15:19:20 -08:00
David Glasser
58c58b0320 METEOR@1.0.3.2-rc.0 release/METEOR@1.0.3.2-rc.0 2015-02-24 12:40:51 -08:00
David Glasser
89381e98cd Fix crash when downloading second package build
The logic to figure out which build dirs are temp dirs which need to be
freed and which are not was wrong, since it missed the non-temp

               files.pathResolve(files.pathDirname(packagePath),
                                 packageLinkTarget));

Use a more explicit way of tracking this.

(Fixed merge conflict when merging from devel.)
2015-02-24 12:39:42 -08:00
David Glasser
f2f0482c69 Revert "Kill PhantomJS processes after meteor --test"
This reverts commit cd014c7600.

This was intended to be placed on devel (see #3205) and I accidentally
placed it on master.
2015-02-24 12:18:10 -08:00
David Glasser
52affebcb8 docs: disable appcache on Firefox
Fixes #3248.
2015-01-23 17:07:16 -08:00
ekatek
3347604325 Merge branch 'release-1.0.3' 2015-01-20 17:59:53 -08:00
ekatek
1e062d9f82 update examples to 1.0.3.1 2015-01-20 17:57:11 -08:00
ekatek
4c41b886a4 update docs to 1.0.3.1 2015-01-20 17:53:12 -08:00
ekatek
38e0e344c4 prepare for 1.0.3.1
- increment the release number in banners.json
- increment version number for meteor-tool
- increment release number in the release configuration
release/METEOR@1.0.3.1
2015-01-20 13:50:34 -08:00
ekatek
afb0915e68 be slightly more efficient in checking if dir exists
Cache the result of the stat call, rather than repeating it.
Also, while at it, rename the function.
2015-01-20 13:37:18 -08:00
ekatek
73a2f50d7d error handling in mkdir_p
Summary:
According to its contract, mkdir -p returns true if the directory
exists (and creates it if needed) and false if the item exists and isn't
a directory (so we couldn't make one). Because directory creation can
be concurrent, we need to wrap the actual mkdir call in a try/catch to handle
this issue (rather than just checking once).

This issue was always here. Previously, the race was against other apps editing
the same directory (which didn't come up that often). As of 1.0.3, files.js is a lot
more yieldy and this becomes a race condition on Meteor itself.

Test Plan: self-test

Reviewers: glasser

Differential Revision: https://phabricator.meteor.io/D15
2015-01-20 13:23:45 -08:00
ekatek
99124d881a increment package versions release/METEOR@1.0.3 2015-01-20 10:25:22 -08:00
ekatek
87a9c59c64 fix History.md and banners.json 2015-01-20 10:13:36 -08:00
ekatek
3a3ba62736 set the banner 2015-01-20 09:53:29 -08:00
ekatek
b5628f4b23 minor test fixes
This mostly fixes tests:
- removes the 'restarted' check from some tests. We don't need it in those cases
  (printing the other banner is enough). We can no longer rely on that executing
  after the code in the package (in fact it seems to execute before, and then
  get overwritten), and the test still tests what it is intended to (that the new
  package code executes).

- minor fixes to essentially syntax errors -- the skeleton now uses double quotes
  instead of single quotes, so a regex failed to work, for example. We changed a
  version number in one part of the test, but not another.

- fixes selftest.js, sort of, to actually print out what test we are testing. This
  is an unfortunate interaction of Console.js changes in 1.0.2 and a progress bar
  (that came later). The progress bar erases the message telling you what test is
  running when you use a standard terminal. That's awkward, fixed.
2015-01-16 16:50:51 -08:00
ekatek
fe88795ef9 fixing some tests
Literally, just fixing a test to account for the fact that we now use " instead of
' in the package.js skeleton.
2015-01-15 13:20:14 -08:00
ekatek
c123b89c4e history.md update 2015-01-15 11:22:56 -08:00
ekatek
3eba43a42b do not tell publish-release to call a nonexistent command 2015-01-15 10:56:58 -08:00
ekatek
fbfd5c4664 increment version numbers release/METEOR@1.0.3-rc.1 2015-01-15 10:50:09 -08:00
David Glasser
a1f8394750 Fix double execution of Session.close
In Session.close, `self.socket.close` could trigger this event handler:

    socket.on('close', function () {
      if (socket._meteorSession) {
        Fiber(function () {
          socket._meteorSession.close();
        }).run();
      }
    });

which could trigger a reentrant call to Session.close.  The self.inQueue
guard was not sufficient to stop multiple execution, because it was too
low.

Symptoms included:

- The "sessions" server fact would be decremented twice and become
  inaccurate (and even negative!)
- Connection.onClose callbacks could be called twice

Fixes #3331.
2015-01-14 18:37:24 -08:00
ekatek
d663d846c0 remove the deprecated set-latest-readme command 2015-01-14 18:36:41 -08:00
ekatek
4957ba34bb updated mailmap 2015-01-14 13:21:02 -08:00
ekatek
066e4fb435 update History.md 2015-01-14 12:21:18 -08:00
David Glasser
2e43b2bac9 mailmap: mention --email 2015-01-14 12:06:46 -08:00
David Glasser
e5130bdcea History: rough draft of changes since 1.0.3 2015-01-14 12:06:34 -08:00
Willson Mock
75dac55ad3 update license with up-to-date year 2015-01-14 12:06:26 -08:00
David Glasser
4ba315d2f6 Semi-expose password hashing
See #3410.
2015-01-14 12:05:05 -08:00
ekatek
f446fbc292 fixing existing-version
This was broken as part of the merge.
2015-01-13 20:15:15 -08:00
ekatek
c2de48c909 show build architectures correctly
Part of the merge that has gone wrong: we forgot to show build arches
in --ejson. Fixing.
2015-01-13 20:00:44 -08:00
ekatek
4c42a87721 increment versions release/METEOR@1.0.3-rc.0 2015-01-13 19:32:42 -08:00
ekatek
40fa95830f increment version numbers 2015-01-13 19:30:27 -08:00
ekatek
8243ba4ac1 update docs 2015-01-13 19:21:46 -08:00
ekatek
60883bc4d8 release script and bump tool version 2015-01-13 19:20:33 -08:00
ekatek
f8d6be9f96 increment to the dev bundle that includes moment 2015-01-13 18:16:50 -08:00
Avital Oliver
547e8f6111 Add spacebars->tracker package dependency
Fixes #3395
2015-01-13 18:00:06 -08:00
Avital Oliver
cb4f69a4df Use Spacebars comment instead of HTML comment in accounts-ui
Fixes #3384
2015-01-13 17:40:46 -08:00
Rodrigo Estebanez
87e3c6499d add tokenId to google response
Signed-off-by: Rodrigo Estebanez <restebanez@mdsol.com>
2015-01-13 16:57:24 -08:00
David Glasser
76a38e0100 Merge branch 'pr/3330' into devel
This adds "test-packages --velocity", which is like "run --test", but
"test-packages --test" would look silly.

Fixes #3330.
2015-01-13 16:36:12 -08:00
David Glasser
2aba1dce35 style cleanup 2015-01-13 16:35:39 -08:00
rissem
909cd7a99f document --velocity flag 2015-01-13 16:33:56 -08:00
rissem
bfdad18487 support velocity when using test-packages command 2015-01-13 16:33:56 -08:00
David Glasser
1c6856722c Fix some minor docs issues
Fixes #3319.
2015-01-13 16:28:14 -08:00
Small Helm LLC
97d4dc54df using Meteor._relativeToSiteRootUrl for CSS reload 2015-01-13 16:07:38 -08:00
David Glasser
9ab74b60d4 Only load moment when needed
Good for performance, and also for the fact that devel is currently semi
broken due to dev bundle issues (will fix soon)
2015-01-13 16:05:18 -08:00
ekatek
061c176f1d reverting to old dev bundle for a bit 2015-01-13 15:56:44 -08:00
David Glasser
44f2305c8e remove excess console.log 2015-01-13 15:40:51 -08:00
ekatek
e4bd9b7a07 merging 'meteor show' changes
This is mostly cleaning up some syntax errrors that have resulted from
merging the previous commits.
2015-01-13 13:53:22 -08:00