Commit Graph

979 Commits

Author SHA1 Message Date
David Glasser
dfa394ea1c Try to build dev bundle again
This time with actual Node 0.10.40, not some random commit because
Jenkins is running old versions of git where `git clone -b garbage`
isn't an error!
2015-07-17 00:00:26 -07:00
David Glasser
58397f5bf1 Now build new dev bundle 2015-07-16 23:22:36 -07:00
David Glasser
f59cf85740 Prepare to build Node 0.10.40 2015-07-16 21:58:14 -07:00
David Glasser
2e34ec1933 Merge branch 'devel' into batch-plugins 2015-07-16 00:47:15 -07:00
Ben Newman
1702e8a164 Globally polyfill ES2015-compliant Map and Set constructors for tool code.
Using these collections with for-of loops also requires a global Symbol
polyfill.
2015-07-15 18:57:20 -04:00
David Glasser
0514518e60 move escope into dev bundle
Preparation for removing the JSAnalyze special case.
2015-07-15 13:49:48 -07:00
David Glasser
b75064f689 Merge branch 'devel' into batch-plugins 2015-07-09 10:48:30 -07:00
Ben Newman
31da200260 Upgrade meteor-babel to support ES6 for-of loops. 2015-07-01 14:16:02 -04:00
Ben Newman
07c804af02 Upgrade meteor-babel to version 0.3.3. 2015-06-30 23:29:41 -04:00
Ben Newman
46b33db903 Update meteor-babel and meteor-promise dependencies to latest versions. 2015-06-30 19:37:54 -04:00
Sashko Stubailo
ed714ef868 Update a file to be linted; improve git hook 2015-06-30 14:33:36 -07:00
David Glasser
917c10f2b6 add lru-cache to dev bundle 2015-06-29 12:39:22 -07:00
David Glasser
e2b6ba060e oops, missed this merge conflict 2015-06-26 23:32:58 -07:00
David Glasser
1b8a311002 Only run eslint hook on js files
Looks like if you explicitly name non-js files on the command line, it
pays attention.
2015-06-26 23:25:40 -07:00
David Glasser
ed2fd7a4e7 Only run eslint hook on js files
Looks like if you explicitly name non-js files on the command line, it
pays attention.
2015-06-26 23:25:12 -07:00
David Glasser
919be97b6f Merge branch 'devel' into batch-plugins
Resolves these conflicts:
	meteor
	scripts/dev-bundle-server-package.js
	scripts/dev-bundle-tool-package.js
	tools/files.js

This requires building a new dev bundle, and moving the wrapCallSite
thing to source-map-retriever-stack.js.
2015-06-26 23:24:56 -07:00
Slava Kim
d8e26bd272 Use fork of source-map-support in tool, too
In addition to apps
2015-06-25 16:59:17 -07:00
David Glasser
0c254d52cf use a git command that works in hooks 2015-06-25 15:54:43 -07:00
Slava Kim
7d0f336205 Wrap node-source-map-support's frame wrapper to remove the extra domain we add in source-maps 2015-06-25 15:06:21 -07:00
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