Commit Graph

2428 Commits

Author SHA1 Message Date
ekatek
3e64bd78cd keep track of old dependencies while restarting in runner 2014-09-11 16:41:59 -07:00
David Glasser
d5df1b9eb5 sigh, old test versions files update 2014-09-11 15:57:22 -07:00
David Glasser
b0cc3bd155 die correctly if test-packages fails 2014-09-11 14:18:42 -07:00
Justin SB
d223c21ae8 Initial support for selenium in test-packages
Run with
    ./meteor test-packages --driver-package test-in-console --selenium
2014-09-11 10:11:15 -07:00
ekatek
ce4a3359fe show breaking changes when adding or updating 2014-09-10 22:39:39 -07:00
David Glasser
6998b1a747 Revert accidental watch change from 78497c0
Fixes #2550.
2014-09-10 17:43:02 -07:00
David Glasser
3379a13533 Use ChildProcess kill method to reload CSS
Using the method instead of process.kill means that we don't send the
signal if we already know the process is dead and that we don't throw on
ESRCH (ie, the kernel telling us the process is gone).  (If the process
has already died we will soon get around to doing a different kind of
restart.)

Fixes #2550.
2014-09-10 17:40:15 -07:00
ekatek
9afa9af885 give a suggestion for how to name your package 2014-09-10 17:37:47 -07:00
ekatek
7af9519dc4 bettter message about experimental package versions 2014-09-10 16:17:25 -07:00
ekatek
100ab98160 put things into tryfinally in case of errror 2014-09-10 15:57:43 -07:00
ekatek
f02314f66e glasser's responses on the -rc changes 2014-09-10 15:53:23 -07:00
ekatek
69f637c8e5 glassers comments on wrap numbers 2014-09-10 15:53:23 -07:00
ekatek
ab72ed0619 show a spinnie when downloading large packages 2014-09-10 15:53:23 -07:00
ekatek
390b6394b5 strip out extra dependencies on semver in tool 2014-09-10 15:53:23 -07:00
ekatek
8f29056b4c wrapping external library versions support in p-v-p and constraint-solver 2014-09-10 15:53:23 -07:00
Sashko Stubailo
1c20a0413e Documenting Npm and Cordova in package.js
Summary: Also includes improvements to JSDoc, ignore those!

Test Plan: Read the docs

Reviewers: slava, ekate

Reviewed By: slava

CC: nim

Differential Revision: https://phabricator.meteor.com/D819
2014-09-10 15:49:04 -07:00
Sashko Stubailo
4c2a8877e8 Talk about tarball URLs 2014-09-10 15:37:10 -07:00
Sashko Stubailo
8ea02e67e3 Merge branch 'devel' into npm-cordova-docs 2014-09-10 15:33:10 -07:00
David Glasser
97481ebf64 fix .meteor/versions in meteor create --release X
Previously, we would not write the versions file in this case because
project._recordVersions thought we were doing "run with a different
release temporarily"
2014-09-10 12:04:01 -07:00
Sashko Stubailo
0f9427e0b2 Improve documentation, add to table of contents 2014-09-10 09:16:03 -07:00
Sashko Stubailo
4106491efe Document Npm and Cordova in package.js 2014-09-09 23:28:28 -07:00
Maxime Quandalle
03a53fef63 Fix css hot code push self test
Previous tests assumed that there were at least one stylesheet, which is no more true
2014-09-10 02:25:18 +02:00
Maxime Quandalle
df51260143 Don't add an empty stylesheet to the bundle if there are no CSS files 2014-09-10 00:52:43 +02:00
Sashko Stubailo
e742697675 Migrate docs completely to the new JSDoc system
Summary: Done, yo. Check out the DocsData global in the docs app

Test Plan: Ran the docs diff script, checked visually.

Reviewers: avital

Reviewed By: avital

CC: nim, ben, dgreenspan

Differential Revision: https://phabricator.meteor.com/D811
2014-09-09 12:58:21 -07:00
David Glasser
7282c0ee5b Fix test (broken by bdcf0d188 at least on my mac) 2014-09-08 21:28:41 -07:00
David Glasser
1c432f7d03 Don't drop caches on the first build
Change a function to take options

Combined with previous commit, drops about a second from time to app
started in 'meteor run'
2014-09-08 19:05:16 -07:00
David Glasser
d6957bad00 All uniload.load for ddp should be the same
Otherwise the uniload cache doesn't work. This shaves a 365 ms off of
stats report for me (in a built release, which doesn't even use the
compiler!)
2014-09-08 18:45:30 -07:00
Sashko Stubailo
74cf848f2d Merge branch 'devel' into jsdocfinal 2014-09-07 10:09:47 -07:00
ekatek
2dc2bf59ae better output for maintainer lists 2014-09-06 18:29:56 -07:00
Sashko Stubailo
6f829b32a9 Merge branch 'devel' into jsdocfinal
Conflicts:
	docs/client/api-box.js
	docs/client/api.html
	docs/client/data.js
	docs/client/nameToId.js
	docs/client/names.json
2014-09-05 18:43:20 -07:00
ekatek
debb13fdb6 refactorred the update function to be legible and have fewer bugs 2014-09-05 18:21:24 -07:00
Sashko Stubailo
2c969270ea Add docs for EJSON interface, attempt to remove data.js from diffs
Only Match.test, check, and UI.dynamic left. I can see the light!
2014-09-05 14:37:28 -07:00
Sashko Stubailo
ef14f531ae Fix some small errors based on doc diff script 2014-09-05 11:52:59 -07:00
Sashko Stubailo
443fd8874b Fix some package api docs 2014-09-05 09:56:22 -07:00
Sashko Stubailo
f1085bdb83 Added the api calls in package.js 2014-09-05 09:41:05 -07:00
Sashko Stubailo
586b6e2712 Auto document a lot more things 2014-09-04 21:42:03 -07:00
David Glasser
b66f22b0ed This One Weird Trick Speeds Up Startup By 50%
This is a horrible horrible hack.  If for no other reason that (without
EJSON.clone around) it leaves internal pieces of catalog.official and
catalog.complete intertwined.

But! It does mean that every single tool startup now only has to read
and parse packages.data.json once instead of twice.  Which speeds up
'meteor --version' from 1 second to 0.5.

We'll solve this for real with the sqlite refactoring. But this is fast
and easy for now.
2014-09-04 21:38:03 -07:00
Avital Oliver
186579ea5e Merge branch 'master' into devel
Conflicts:
	examples/todos/.meteor/versions
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	scripts/admin/meteor-release-experimental.json
	tools/help.txt
	tools/tests/apps/hot-code-push-test/.meteor/versions
2014-09-04 16:56:19 -07:00
Maxime Quandalle
aa3ceb466f Remove sourcemap linking with a //# comment
Firefox now supports sourcemap linking using a HTTP response header
Firefox print a lot of warning when using the `//#` linking
2014-09-04 15:57:32 -07:00
Emily Stark
e46522c7c6 Shorten 'meteor admin maintainers' help text 2014-09-04 15:30:43 -07:00
Emily Stark
23b8e178ff Remove a word from 0.9.1 upgrader 2014-09-04 11:39:31 -07:00
Emily Stark
569431841e Add Blaze upgrader for 0.9.1 2014-09-04 11:34:44 -07:00
ekatek
5a8f843282 better regex for version checks 2014-09-04 11:25:40 -07:00
ekatek
4956f94b88 validate versions better 2014-09-04 11:13:04 -07:00
Sashko Stubailo
6a2b92d638 Merge branch 'release-0.9.1' of github.com:meteor/meteor into release-0.9.1 2014-09-03 17:18:46 -07:00
Sashko Stubailo
b18d592042 Minor changes to help text 2014-09-03 17:18:33 -07:00
ekatek
2c6f294168 correcting help for meteor add 2014-09-03 16:50:26 -07:00
David Glasser
5b8504efb2 Assets added via a plugin are not source files
Fixes #2488.

Assets added via "no handler" already have their source files added to
`sources` via the `sources.push(relPath)` in the sourceItems loop, and
assets added via a handler should not appear as source files themselves
--- the file that triggered the handler should!

This fixes packages like `mizzao:build-fetcher` which add static
assets via a plugin.
2014-09-03 16:19:09 -07:00
David Greenspan
0b1d744731 Merge branch 'reactive-dict' into devel
Conflicts:
	examples/todos/.meteor/versions
2014-09-03 15:20:09 -07:00
Matthew Arbesfeld
bd63f59b92 Remove unused code from hot-code-push-test 2014-09-03 14:55:44 -07:00