Commit Graph

634 Commits

Author SHA1 Message Date
David Glasser
6320acabc4 Merge branch 'master' into devel
Conflicts:
	History.md
	tools/safe-pathwatcher.js
	tools/tests/old.js
	tools/watch.js
2014-12-19 11:42:50 -08:00
David Glasser
8722ac6063 Bump release file for 1.0.2 2014-12-19 10:32:31 -08:00
David Glasser
b76801bf5e less excited 2014-12-19 00:20:02 -08:00
David Glasser
3556010f51 banner update 2014-12-18 17:40:34 -08:00
David Glasser
6256122784 Update mailmap/contributors 2014-12-18 10:44:24 -08:00
David Glasser
4723a310ab 1.0.2-rc.7 2014-12-17 14:41:12 -08:00
David Glasser
7239b4051c 1.0.2-rc.6 2014-12-17 00:22:47 -08:00
Ben Newman
f5dc40765c Package version bumps. 2014-12-15 21:51:25 -05:00
David Glasser
c120069ff6 1.0.2-rc.3 2014-12-12 17:38:27 -08:00
Ben Newman
43037f7c37 Add the promise NPM package to the dev bundle. 2014-12-12 17:40:11 -05:00
David Glasser
e4b32c9dc5 1.0.2-rc.2 2014-12-12 07:53:45 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
0ed8a9b32d bump package versions for a test release 2014-12-10 14:50:11 -08:00
David Glasser
c9345ed4ea Delete straggling submodule objects 2014-12-09 14:04:42 -08:00
Emily Stark
71652f9b9f Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	docs/client/full-api/concepts.html
	docs/client/full-api/tableOfContents.js
	examples/localmarket/.meteor/packages
	packages/ddp/package.js
	packages/meteor-tool/package.js
	packages/mongo/package.js
	scripts/admin/manifest.json
2014-12-09 13:15:29 -08:00
Emily Stark
a9b013d22e Merge branch 'release-1.0.1' 2014-12-09 13:01:53 -08:00
Emily Stark
6211e17150 update manifest 2014-12-09 12:43:54 -08:00
Emily Stark
38cde607f5 tweak banner 2014-12-09 12:41:51 -08:00
ekatek
a79e69130f Merge pull request #3232 from meteor/word-wrap-final
Automatically line-wrap output
2014-12-09 12:23:30 -08:00
Emily Stark
cbae209f78 add link to www in banner 2014-12-08 10:23:23 -08:00
Emily Stark
9fd826f436 update release file for 1.0.1 2014-12-08 09:13:35 -08:00
Emily Stark
9bacc49a46 Update History and banners 2014-12-08 08:51:31 -08:00
Sashko Stubailo
6493d6ae15 Search-as-you-type for docs.meteor.com
Conflicts:
	docs/client/data.js
2014-12-05 13:16:57 -08:00
Sashko Stubailo
ecd0bdbe6d Search-as-you-type for docs.meteor.com
Conflicts:
	docs/client/data.js
2014-12-05 12:22:09 -08:00
ekatek
24a4ed9bdc Automatically line-wrap output
Includes the following changes to Console.js:

- Console.info, Console.warn, Console.debug and Console.error now automatically
  line-wrap the output to 80 characters, or the width of the terminal screen (if
  known). This is in line with our current style guide on how things should be wrapped!

- Sometimes, there are parts of text that we don't want to line-wrap. For example, if we are
  telling the user to run 'meteor long-command --with --options' we don't want to
  have a newline in the middle of that! Wrap those commands in Console.command, like
  this:
     Console.info("something and then run", Console.command(command), "and then");
  This also makes them bold if chalk is on, as a nice bonus. So, if we ever turn
  chalk back on, the bolding of commands will be more consistent.

- Sometimes, there is bulkier output that we don't want to format at all, including
  line-wrapping: log snippets, stack traces, JSON output, etc. In that case, we can use
  Console.rawInfo, Console.rawError, Console.rawWarn and Console.rawDebug. Don't use
  Console.command inside the raw* functions! It won't be processed (at all).

- There are fancier things that we can do, other than just simply wrapping things.
  We can indent:
  "  Start here and then when wrapping
     continue over here".

  We frequently do this for commands, for example. In the past, we did this manually --
  but we can't do this for long messages that might get wrapped, and anyway, it is
  good to codify this instead of counting spaces. Allows us to be better about consistency,
  for example.

- We can also add a bulletPoint, which is a small notice in the beginning that looks like
  this:
  " => Start here and then when wrapping
       continue below the bulletPoint".

  Since it is a elss intuitive option, I have wrapped most of the time that we use a
  bulletPoint into helper functions on the Console.js.

- Some common bulletpoints that we use are:
    ASCII Checkboxes (Console.success)
    ASCII X-s (Console.failWarn and Console.failInfo)
    =>  (Console.arrowError, Console.arrowWarn, Console.arrowInfo)
    WARNING (Console.labelWarn)

  The => are sometimes indented, so they take an optional indent argument, showing how
  many spaces to indent by.

The wrapper interface would be less complicated, if there was a more unified conceit behind our
terminal messages. If there is one, it is not documented. My hope is that, in many cases,
moving these to Console will make it easier for someone with great product sense to
clean up our terminal messages. It will also make it easier to write such messages, since
it will be easier to follow an accepted standard.

In the codebase outside of Console:

- Went through and looked at our use of Console.error/info/etc, replacing with rawError/etc
  whenever approporiate.

- Went through and modified most of 'stdout' and 'stderr' calls to use the new functions.
  I made an exception for stuff that doesn't want a new line at the end, or otherwise does
  weird things (ex: print user logs directly), on the basis that, at this juncture, it is
  better to be safe than to be sorry.

- Long messages no longer need to break the code style guide by ignoring indentation rules.
  Fixed that where approporiate.

- Fixed the tests! A number of our stock messages are actually longer than 80 chars.

- Personal favourite: The Android license agreement is now line wrapped! Much better experience.

- There is some more work to do on:
  - longform help (currently comes with built-in linebreaks, would have to change the entire
    mechanism for how that works)
  - Buildmessage sometimes has headers that start with =>, but they are short. I didn't want to
    pass wrapper options all the way to main.captureOrExit before merging the rest of this and
    making sure that we like it. Since these messages are fairly short, I don't think that's
    likely to be a serious problem.

I hope that this makes life easier for us in the future! No more counting chars, no more breaking
the style guide. Better experience for users with wider terminals (or even shorter terminals!).
Let's give this a try.
2014-12-04 17:56:04 -08:00
David Glasser
44454ce480 Remove upgrade-to-engine again
It was resurrected to make sure that people could upgrade to 1.0, but
that's over.
2014-12-01 01:41:12 -08:00
Ben Newman
187b0e00f2 Make a note of future aspirations about installing pathwatcher. 2014-11-26 14:23:18 -05:00
Ben Newman
4403a5bf7e Install pathwatcher from NPM instead of GitHub. 2014-11-26 13:52:50 -05:00
David Glasser
f403b06799 switch unmatched pushd to cd 2014-11-26 10:22:27 -08:00
David Glasser
1487d824be move tool deps to package.json to run npm dedupe 2014-11-26 10:19:37 -08:00
David Glasser
289d92f2ec separate server deps from tool deps
move package.json to a JS file so it can have comments.
2014-11-26 09:45:49 -08:00
David Glasser
bfffb986cb generate-dev-bundle: use local node/mongo tarballs
(kind of like the dev bundle itself)
2014-11-26 09:24:35 -08:00
Ben Newman
01a19bf182 Don't remove the rimraf dependency from pathwatcher/node_modules/.
One of the actual dependencies (as opposed to devDependencies) of
pathwatcher (fs-plus) depends on rimraf, but it doesn't get installed in
pathwatcher/node_modules/fs-plus/node-modules/ because it's already
installed in pathwatcher/node_modules/, so we should avoid deleting it.
2014-11-26 00:45:08 -05:00
Ben Newman
ad03de15fc Download pre-built node and mongo build artifacts from S3. 2014-11-26 00:01:49 -05:00
Ben Newman
b8cb7ee04f Add script for building mongo separately. 2014-11-25 22:08:14 -05:00
Ben Newman
f85c02ca8b Add script for building node separately. 2014-11-25 22:08:14 -05:00
Ben Newman
fff79abea8 Source build-dev-bundle-common.sh in generate-dev-bundle.sh. 2014-11-25 20:56:59 -05:00
Ben Newman
c8b5e30984 Decompose common dev_bundle build logic and variables. 2014-11-25 20:56:59 -05:00
Ben Newman
48f8d7f89c Install node-pathwatcher from our branch. 2014-11-25 15:58:13 -05:00
Ben Newman
f15f56fff7 Upgrade pathwatcher to prevent tests from hanging.
I fixed https://github.com/atom/node-pathwatcher/issues/47 with
https://github.com/atom/node-pathwatcher/pull/48, and @kevinsawicki
published my changes to NPM as pathwatcher@2.3.3.

These changes make it so pathwatcher no longer keeps our test processes
alive when they would otherwise naturally exit.
2014-11-21 17:37:15 -08:00
Ben Newman
88477358ac Add node-pathwatcher NPM package to dev bundle. 2014-11-17 20:27:29 -05:00
Ben Newman
2cb7d51d21 Revert "Add watchman and sane to the dev bundle."
This reverts commit c426ffe899.
2014-11-17 20:11:32 -05:00
Ben Newman
c426ffe899 Add watchman and sane to the dev bundle. 2014-11-11 21:08:49 -05:00
Slava Kim
44832cbbdc Add return types and properties types in JSDoc to a lot of methods 2014-11-02 02:45:17 -08:00
David Glasser
34aac459a0 Upgrade esprima to 1.2.2 from pre-1.1 2014-10-30 15:12:30 -07:00
David Glasser
e79e04fd60 Upgrade Mongo to 2.4.12 from 2.4.9
Not quite ready to take 2.6 yet
2014-10-30 15:12:29 -07:00
David Glasser
fc375be7c8 Upgrade openssl in mongo to 1.0.1j from 1.0.1g 2014-10-30 15:12:29 -07:00
David Glasser
d91667a941 Upgrade http-proxy to 1.6.0 from 1.0.2
The patch was integrated in 1.0.3.
2014-10-30 15:12:29 -07:00
David Glasser
66bd817382 Upgrade phantomjs to 1.9.12 from 1.8.1-1 2014-10-30 15:12:29 -07:00
David Glasser
8b9771420b upgrade sqlite3 to 3.0.2 from 3.0.0 2014-10-30 15:12:29 -07:00