Commit Graph

9032 Commits

Author SHA1 Message Date
Matthew Arbesfeld
98cf0ae6e9 Wip refactoring 2014-08-07 14:30:24 -07:00
Slava Kim
901c5b8ec7 Add a line about mobile build features (plugins & platforms) to help.txt:list 2014-08-07 14:00:04 -07:00
Slava Kim
d569896436 Print project-level plugins and platforms in meteor list 2014-08-07 13:58:45 -07:00
Slava Kim
ff17848007 Parse the plugins to a dictionary 2014-08-07 13:13:40 -07:00
Slava Kim
e261cfe600 Add firefoxos to supported 2014-08-06 18:00:40 -07:00
Slava Kim
bfd1c25fb4 Platforms/plugins management 2014-08-06 17:50:25 -07:00
Slava Kim
f1f21fcb61 Check the platforms on meteor run <platform> 2014-08-06 17:18:14 -07:00
Matthew Arbesfeld
59782157db Add platforms test, doesn't pass yet 2014-08-06 16:00:15 -07:00
Slava Kim
a0c0c75e62 Add/Remove platforms based on project's platforms 2014-08-06 15:54:11 -07:00
Slava Kim
dbe4abd3a4 Pass plugins and platforms from project 2014-08-06 15:36:59 -07:00
Slava Kim
b8179787f0 Project functions for managing platfroms 2014-08-06 14:58:49 -07:00
Slava Kim
2feef6ec9f fix tests for webapp after merge 2014-08-06 14:56:36 -07:00
Matthew Arbesfeld
3c7ed69f6b Fix client.* -> web.* 2014-08-06 13:51:31 -07:00
Matthew Arbesfeld
9f2ee36e60 Merge branch 'packaging' into cordova-hcp
Conflicts:
	packages/constraint-solver/constraint-solver-tests.js
	packages/constraint-solver/constraint-solver.js
	packages/less/plugin/compile-less.js
	packages/meteor/plugin/basic-file-types.js
	packages/star-translate/translator.js
	packages/stylus/plugin/compile-stylus.js
	packages/templating/plugin/compile-templates.js
	packages/webapp/webapp_server.js
	tools/bundler.js
	tools/commands.js
	tools/compiler.js
	tools/package-source.js
	tools/run-app.js
	tools/selftest.js
	tools/tests/old/test-bundler-assets.js
	tools/tests/old/test-bundler-options.js
	tools/unipackage.js
2014-08-06 13:43:56 -07:00
Matthew Arbesfeld
5059a5655d Add run commands 2014-08-06 12:08:48 -07:00
Matthew Arbesfeld
cb16be87d0 Wip 2014-08-06 11:08:59 -07:00
David Glasser
59e5b031f8 use just one connection in updateServerPackageData 2014-08-05 15:49:46 -07:00
David Glasser
0422dfb5c6 fix updateServerPackageData test 2014-08-05 15:48:27 -07:00
ekatek
80a87f7f66 fetch dependencies for publish-for-arch 2014-08-05 14:16:52 -07:00
ekatek
ad708ca569 this should fix local versionsFrom in most cases and is technically right 2014-08-05 13:31:24 -07:00
David Glasser
62db7b694c api.versionsFrom may only be called once 2014-08-05 13:17:26 -07:00
David Glasser
845286b925 Merge branch 'devel' into packaging 2014-08-05 13:13:27 -07:00
ekatek
82323fcfa9 do not close the connection 2014-08-05 13:10:56 -07:00
ekatek
ecaa9e0231 download all dependencies to be on the safe side 2014-08-05 13:10:56 -07:00
ekatek
bcf85a42b9 don't print out add messages when no versions file present 2014-08-05 13:10:56 -07:00
ekatek
64ddf8a979 fixing the amIAuthorized issues 2014-08-05 13:10:56 -07:00
ekatek
5e4c8cd276 search --mine 2014-08-05 13:10:55 -07:00
ekatek
98a9b5b31a don't check authorization on the client 2014-08-05 13:10:55 -07:00
David Glasser
835eb66377 a tiny bit more info to help debug an error 2014-08-05 12:56:07 -07:00
David Glasser
ddc3657e4f Watch files which fail before emitting a resource
Regression introduced by the CSS watching code (specifically, f230eba62)
by the sourceIsWatched check. We need to be able to tell the difference
between "source handler didn't do anything because there was an error"
and "source handler didn't do anything because it's web-specific and
this is an os arch".

A simple fix would have been to interpret compileStep.error as
"sourceIsWatched = true", but I didn't think of that until after doing
it the slightly more complicated but more precise way :)

Also, ensure that if the runner rebuilds the client and there's an
error, it properly kills the app process (and the watchers and the
keepalive interval, etc).
2014-08-04 21:32:22 -07:00
Emily Stark
07852ebcbe Fix galaxy login 2014-08-04 20:38:33 -07:00
David Greenspan
5ff8117310 Update comments after looking into e7250a0
It seems that when ObserveSequence observed a Cursor, it used to stop() the observe when the main autorun was invalidated, creating a “gap” during which no callbacks would be received (or fired).  This was before we used Deps.nonreactive in the main autorun (shielding the cursor.observe from being stopped).  Now the observe is only stopped upon re-run or when the ObserveSequence is stopped, and there is no gap.

Removed references to this gap from comments.

I believe the current code is correct, and in addition, we could now optimize the cursor-to-same-cursor case (and basically not do anything if seq===lastSeq and is a Cursor, i.e. not stop the old handle, create a new handle, or diff).
2014-08-04 19:06:15 -07:00
David Glasser
7d05640ea0 Make buildmessage fiber-aware
Port a simplified version of Meteor.EnvironmentVariable and
Meteor.bindEnvironment to fiber-helpers.js to deal with this.

Identify uses of fiberHelpers.inFiber and switch them to either
fiberHelpers.bindEnvironment (if the callback they are wrapping is
semantically "part of" the context that creates the callback) or
fiberHelpers.inBareFiber (otherwise).

Without this, concurrency was causing the wrong buildmessage message
sets and jobs to be active when builds yielded.
2014-08-04 19:03:05 -07:00
David Glasser
4b7adf8397 Make events documentation more clear
Fixes #2335. See also Issue #2202.
2014-08-01 17:04:24 -07:00
MaximDubrovin
6345d92f07 move phantom_script.js setInterval into page.open callback
Until I made this I always got only ```<head/>``` with it's content, ```<body>``` was empty.

It seems setInterval script was finished earlier then url content was loaded to the page. Maybe because I have subscriptions with response time lower then 100ms so they were ready very quickly — database server in the same data center.

http://phantomjs.org/api/webpage/method/open.html
2014-08-01 16:44:04 -07:00
David Glasser
112198f3e8 Don't tell users to add ~/.meteor to PATH
Tilde expansion doesn't work in $PATH
2014-08-01 16:40:33 -07:00
ekatek
581b51afcc clean up misc, operations stuff 2014-08-01 15:29:19 -07:00
Avital Oliver
e7250a045f Eliminate _fetch on handles returned from cursor.observe()
This was originally introduced with
f1b77fec96, but it looks
like all of our tests now pass. (Maybe eliminating `rewind` in
b5a0613f85 made this no
longer necessary?)

If we find that this commit did break something, let's make sure to
add a failing test before reverting.
2014-08-01 15:01:26 -07:00
Avital Oliver
6166abde14 Reorg observe-sequence
(in preparation for {{#each}} over objects)
2014-08-01 14:59:48 -07:00
Avital Oliver
80b0973507 rename bindToCurrentDataIfIsfunction to bindDataContext
(for clarity)
2014-08-01 14:58:11 -07:00
ekatek
9d5aa280c3 invalid release should be a buildmesage, not an error 2014-08-01 00:13:08 -07:00
Justin SB
93b7a6fb10 Add some more scenarios for benchmark 2014-07-31 19:58:16 -07:00
David Glasser
d7594fd72d Code change from packaging-PREVIEW branch 2014-07-31 15:16:52 -07:00
David Glasser
1d17caeeaf Merge branch 'devel' into packaging 2014-07-31 15:07:40 -07:00
Emily Stark
bf0e0b61df Fix usage of timeoutScaleFactor in test-utils 2014-07-31 15:05:56 -07:00
David Glasser
8adb56b2b3 Fix typo in make-bootstrap-tarballs 2014-07-31 14:33:23 -07:00
David Glasser
09faa5371a Merge branch 'packaging-only-client-archs' into packaging 2014-07-31 14:20:49 -07:00
David Glasser
cee6d7401e fix orderKey regexp 2014-07-31 14:12:21 -07:00
Matthew Arbesfeld
8bcbd65344 Separate "browser" target into web.browser/cordova
Cordova projects often have a different set of files than web targets,
so we would like to be able to target different client architectures in
our bundles. Ideally, we allow the user to use arbitrary client
architectures - but this patch is a step in the right direction by
abstracting out more of the hard coded "browser"/"os" lines.

We accomplish this separation in a backwards compatible way by allowing
api.___ commands to target a "client" architecture. For example,
api.addFiles('a.js', 'client') adds 'a.js' to both the 'client.browser'
and 'client.cordova' targets.

Effects on 0.9 packaging stuff: packages don't have to change, but the
"data.json" file in ".meteor0" has "browser" in some places. We think we
have to fix the troposphere code where this data.json is created.

Some plugins will also be backwards-incompatible with this change, since
many have a "clientArch.matches("browser")" line in the plugin
code. Ideally, we fix plugins so that this stops being an issue, but for
now package authors can just patch that line.

At the compiled (unipackage) level the new names are 'web.browser' and
'web.cordova', replacing 'browser'. In package.js, the new names are
'client.browser' and 'client.cordova', serving as an adjunct to 'client'.
2014-07-31 14:12:15 -07:00
ekatek
722ebace9a don't just crash on unknown packages when changing admin 2014-07-31 13:53:40 -07:00