Commit Graph

960 Commits

Author SHA1 Message Date
David Glasser
5e03daeb66 Only lint modified files 2015-06-25 15:03:13 -07:00
Sashko Stubailo
fd81473151 Make dangling comma a warning - it's sometimes nonsensical
Maybe this means we should remove this rule altogether
2015-06-24 22:07:40 -07:00
Sashko Stubailo
1fae311b40 Actually make eslintrc follow guide
I checked every rule!
2015-06-24 21:53:43 -07:00
Sashko Stubailo
9a21399099 Copy linter config from AirBnB javascript repo 2015-06-24 21:08:27 -07:00
Ben Newman
e29d287d8e Bump meteor-babel and meteor-promise dependency versions.
https://github.com/meteor/babel/issues/1
https://github.com/meteor/babel/issues/2
https://github.com/meteor/promise/commit/a056baf5b4
2015-06-24 20:15:50 -04:00
Sashko Stubailo
959d5dc092 Only lint files that have been changed in a commit 2015-06-24 15:11:59 -07:00
Sashko Stubailo
3bed8f6a62 Add a git hook copying mechanism to meteor tool
Introduce the first hook - ESLint for the tool
2015-06-24 14:54:55 -07:00
Ben Newman
9b5ffcabde Upgrade meteor-babel and install meteor-promise to polyfill Promise. 2015-06-24 16:35:04 -04:00
Sashko Stubailo
7b7776d225 Fix up linter rules 2015-06-24 11:15:01 -07:00
Ben Newman
38ce0d1f3c Bump meteor-babel version to 0.1.12. 2015-06-23 16:36:22 -04:00
Sashko Stubailo
312663db67 Transpile the Meteor command line tool with Babel
- Uses Ben's meteor-babel npm package that has a default config
- From a checkout, uses the meteor-babel/register module and compiles at runtime
- When meteor-tool is published, precompiles the files
- Adds tests to make sure source maps work everywhere
2015-06-23 14:32:49 -04:00
Carter Chung
d1251d6990 Correct typo
affects doctool.md and doctool.md.md
2015-06-16 14:06:16 -07:00
Ben Newman
5190b5f730 Upgrade meteor-promise NPM dependency to v0.2.2.
Promise callback functions (and Promise.async functions) now share a pool
of recyclable Fibers.
2015-06-12 17:47:31 -04:00
Ben Newman
f95ecd18de Upgrade meteor-promise NPM dependency to v0.2.0.
This ensures that all Promise callback functions run in a Fiber, as if
Meteor.bindEnvironment were called when the Promise was created.

Not bumping the dev bundle version with this commit, because these changes
will get rolled into the dev bundle updates for the es6-tool branch.
2015-06-11 13:37:20 -04:00
Avital Oliver
d1aba25b8b Update eslint to Airbnb style guide
github.com/airbnb/javascript/tree/es6
2015-06-10 20:14:44 -07:00
Anubhav Jain
74dde90cda Fixed jsdoc.sh to start script from the meteor home directory.
Jsdoc.js relies on this or otherwise throws an error.
2015-06-10 14:42:32 -07:00
David Glasser
ce5c7b725b Fix copy-dev-bundle-from-jenkins.sh
awscli doesn't print full paths with slashes, so splitting on slashes is
wrong.  And I'm not sure what `>/dev/null | wc -l` was supposed to
detect, but it didn't work due to the spaces wc prints.

It's possible that there's an aws cli version skew here. We should
rewrite this as a node script just using some node s3 module.
2015-05-21 19:26:01 -07:00
Slava Kim
9b401ace63 Merge branch 'cordova5-update' into devel
Updates Cordova to Cordova 5.0.
Also updates Android Cordova to 4.0.
Also includes a new feature: adding Cordova Plugins from a file:/// URI (they are hard to lock but this is a tradeoff we take for easier plugin development).
2015-05-21 18:08:01 -07:00
Kelly
e6978ee671 generate bundle with Android SDK 22 2015-05-21 18:01:18 -07:00
Avital Oliver
84177ab7de Windows installer: Split title text
Now it reads:

Installing Meteor,
The JavaScript App Platform
2015-05-20 20:26:54 -07:00
Avital Oliver
966a61f184 Windows installer: Change title text on progress
Now it says "Installing Meteor, The JavaScript App Platform".

Also make it say "Uninstalling" when we're... uninstalling.
2015-05-20 14:26:08 -07:00
Avital Oliver
b416cf5819 Windows installer: Fix on Windows Server 2012
Turns out there was unused code that dealt with strings
that may or may not have been initialized, and treated
them as multi-byte strings even though they were unicode
strings.

I don't actually understand why this would cause a failure
only on Windows Server 2012, but this change definitely fixed
the problem, and the code removed was unnecessary and wrong anyways.

While at it, improved error reporting in case we fail to
get the link to the bootstrap tarball, or download it.

Also fixed a bug that broke login/signup (due to passing a
char* instead of a wchar_t*)
2015-05-20 14:26:08 -07:00
Avital Oliver
49b358e981 Windows installer: Always install latest version
Uses the https://packages.meteor.com/bootstrap-link
URL to generate a link to the windows bootstrap tarball.

With this change we no longer have to build a new installer
for every release.
2015-05-20 14:26:07 -07:00
Avital Oliver
2f44cab535 Windows installer: Cancel button works immediately 2015-05-20 14:26:06 -07:00
Avital Oliver
274b779847 Windows Installer: New API for downloading tarball
This API actually lets us download the bootstrap tarball from cloudfront
on Windows Server, /and/ correctly reads the proxy settings from Internet
Explorer.
2015-05-20 14:26:06 -07:00
Avital Oliver
88c09fde3f Revert 808a276eab
This is a step on the way to building an installer that always
fetches the latest release of Meteor, so that we don't need to
build a new installer for every release.

TODO:
* Expose a new endpoint on https://package.meteor.com with the latest
  release, and consume it in the installer
* Use libcurl to fetch the installer, so that we can bypass the TLS
  settings on Windows Server which by default don't let you fetch
  HTTPS assets that use TLS 1.2 (as do ours)
* Automatically detect and use the proxy settings configured in
  Internet Explorer, eg
  http://stackoverflow.com/questions/202547/how-do-i-find-out-the-browsers-proxy-settings
2015-05-20 14:26:05 -07:00
Kelly
641cc4c333 update cordova to 5.0.0 2015-05-19 17:02:12 -07:00
Ben Newman
3720e7d75f Add meteor-promise to the tool bundle, and upgrade to v0.1.0. 2015-05-07 17:38:50 -07:00
Ben Newman
d72582fd75 Add meteor-promise to dev_bundle/server-lib/node_modules/. 2015-05-06 17:09:49 -07:00
Ben Newman
19683041f7 Upgrade http-proxy to v1.11.1 in dev bundle. 2015-05-06 17:09:49 -07:00
Ben Newman
62664c9aa7 Update $arg after shifting --prod flag away. 2015-05-06 17:09:49 -07:00
David Glasser
b80de49ed9 fix banners typo 2015-04-28 17:38:34 -07:00
David Greenspan
b4d06de260 Comments and naming in jsdoc.sh code 2015-04-08 16:43:17 -07:00
Sashko Stubailo
e75875e369 Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	tools/run-mongo.js
	tools/tests/mongo.js
2015-04-06 11:30:20 -07:00
Sashko Stubailo
a67fa66b6c Update banners 2015-04-06 10:46:33 -07:00
Sashko Stubailo
7ca7749b6e Bump for 1.1.0.2 2015-04-03 12:01:49 -07:00
Sashko Stubailo
70d3077bb6 Bump release for rc 2015-04-03 11:08:45 -07:00
Slava Kim
cdaaa6b0eb Merge branch 'master' into devel 2015-04-02 14:43:23 -07:00
Slava Kim
3a11a31d82 Banners 2015-04-02 14:39:54 -07:00
Slava Kim
2f13780ed5 Bumps 2015-04-02 13:59:55 -07:00
zyzo
a68ff30be4 Issue #3916: Add links to GitHub source code to docs
PR #3934

[stubailo: some improvements]
2015-04-01 17:32:13 -07:00
zyzo
4689ee7dfa Issue #3916: Add links to GitHub source code to docs
PR #3934

[stubailo: some improvements]
2015-04-01 17:21:05 -07:00
David Greenspan
8557d054dc Merge branch 'master' into devel 2015-03-31 16:36:15 -07:00
Sashko Stubailo
ba9c9012c1 Update banner 2015-03-31 14:15:04 -07:00
Sashko Stubailo
9d667d1fee Update release number 2015-03-31 14:15:04 -07:00
Slava Kim
698b208a02 Quit the installer process if running in cli 2015-03-31 14:11:10 -07:00
Slava Kim
d978bc7c82 Don't broadcast a dead message that blocks the process from exiting 2015-03-31 12:35:53 -07:00
Slava Kim
1612a7509a Don't show a confirmation popup when running w/o UI 2015-03-31 12:34:45 -07:00
Sashko Stubailo
5182736c61 Bump RC version 2015-03-31 11:42:58 -07:00
Sashko Stubailo
9c8cce8ce7 Write banner 2015-03-31 11:40:03 -07:00