Commit Graph

2905 Commits

Author SHA1 Message Date
Nick Martin
943d8178cc Use the right path to android bundle when running from a release. 2014-10-03 22:25:27 -07:00
Sashko Stubailo
4c3cd91bce Merge branch 'devel' into 0.9.4-second-preview 2014-10-03 21:08:44 -07:00
Sashko Stubailo
94074d5972 Very carefully handle all of the different cases for servers and ports
1. mobile-server passed
2. running on device
3. running on simulator
2014-10-03 21:06:22 -07:00
Justin SB
0ee76cf5f7 Log error from running command, if one is thrown 2014-10-03 18:27:14 -07:00
Justin SB
e0c35cc28e Fix syntax of stdio inherit directive 2014-10-03 18:05:59 -07:00
Sashko Stubailo
aebc4d66ab Merge branch 'devel' into 0.9.4-second-preview 2014-10-03 17:44:13 -07:00
Justin SB
3f2ee65a3b Exit immediately from checkRequirements on failure
We can't e.g. check if android targets are installed, if android isn't installed
2014-10-03 17:09:00 -07:00
Sashko Stubailo
eaa8dc7a3b Update set to setPreference 2014-10-03 16:51:29 -07:00
Slava Kim
de6a037320 Move HCP-cache clean-up to autoupdate code
Clean up on every soft restart (every time the js app loads) not on every hard
restart (every time the native shell loads). This fixes the problem described
in issue #2727: HCP cache keeps accumulating in development mode leading to
crashes.
2014-10-03 16:14:48 -07:00
Justin SB
7361a5de3d Remove (done) TODO 2014-10-03 15:49:04 -07:00
Emily Stark
b4a0df4e7d Add test for --mobile-server propagating through hot code pushes 2014-10-03 15:46:43 -07:00
Emily Stark
07f0c56a85 Preserve --mobile-server setting across hot code pushes.
The server sends hot code push updates to mobile clients with ROOT_URL
and DDP_DEFAULT_CONNECTION_URL taken from the MOBILE_ROOT_URL and
MOBILE_DDP_URL environment variables. These are set by the main meteor
process when it starts the app runner.
2014-10-03 15:46:43 -07:00
Justin SB
f3d83058a1 Add note that USE_GLOBAL_ADK is not currently supported 2014-10-03 15:44:33 -07:00
Justin SB
491925478c Link adb logcat to parent stdout/stderr 2014-10-03 15:36:40 -07:00
Justin SB
6307ace605 Start android emulator earlier in the run process 2014-10-03 15:28:00 -07:00
Justin SB
37eedc4bbe spawn, don't own, android tool for configure-android
Probably should actually depend on which command we run
2014-10-03 15:28:00 -07:00
David Greenspan
9922283515 Disable progress bar when prompting
Can’t tell for sure if it works, but it ought to
2014-10-03 14:51:22 -07:00
Emily Stark
3069788e01 Rework --mobile-server defaults.
* --port now requires a port ('meteor run --port example.com' isn't valid).
* --mobile-server defaults to your detected IP address and the port from
    --port.
* If you provide a value for --mobile-server, we default to http:// as
  the protocol. A host is required for --mobile-server if you don't omit
  the option entirely. Similar for the --server argument to 'meteor
  build'.

This commit includes the 'netroute' npm module as a core package (which
has binary dependencies) for IP detection. It would be nice to put it in
packages/non-core, but I think it has to be a core package in order to
uniload it.
2014-10-03 12:11:44 -07:00
Slava Kim
d42030989d Document the test-app-path option in test-packages
As using it is the only way to run tests on iOS
2014-10-03 12:07:39 -07:00
Justin SB
c50bdca142 Check platform readiness on run & print errors appropriately 2014-10-03 08:07:45 -07:00
Justin SB
49455afd4d Eagerly check platform readiness in a few commands 2014-10-03 07:53:04 -07:00
Justin SB
34f6c1be27 Make IOS a singleton 2014-10-03 07:49:08 -07:00
Justin SB
3f95047e16 Make Android a singleton 2014-10-03 07:48:25 -07:00
Justin SB
288035cbee Make it easy to check platform requirements in a command 2014-10-03 07:46:11 -07:00
Justin SB
f1c8d55818 Allow platform checks to be done any time
Also rename prerequisites to requirements, as I type it wrong every time
2014-10-03 07:38:10 -07:00
Justin SB
a263e08651 Add hints for Java installation on Linux 2014-10-03 07:36:50 -07:00
Avital Oliver
b4d0bb593b Tweak message asking users to remove old iOS SDKs 2014-10-02 23:43:43 -07:00
Justin SB
83743846d9 Fix omitted self qualifier 2014-10-02 23:03:43 -07:00
Justin SB
beafe491c4 Warn if old iOS SDKs installed 2014-10-02 22:57:45 -07:00
Justin SB
98b507ca5b Don't check exit code for checking if xcode license agreed 2014-10-02 22:48:03 -07:00
Justin SB
e4b0cd4910 Fix more typos; rename agreedXcodeLicense -> hasAgreedXcodeLicense 2014-10-02 22:45:50 -07:00
Justin SB
13353132ec Intel HAXM license doesn't require that the user explictly agree to it; we can put it in LICENSE.txt 2014-10-02 22:42:47 -07:00
Justin SB
ef46eeb1be Send y when installing android target, a few text tweaks 2014-10-02 22:30:04 -07:00
Justin SB
6b417cc493 Move more functionality out of ensure_android_bundle.sh 2014-10-02 22:23:22 -07:00
Justin SB
84c1866768 Launch appstore instead of error-prone xcode install
We have to launch in the browser, but it is still better..
2014-10-02 21:54:54 -07:00
Justin SB
36cde0a160 Fix some typos & a capitalization 2014-10-02 21:29:39 -07:00
Justin SB
6a031c1daf Merge branch 'android_faster' into devel
Conflicts:
	tools/commands-cordova.js
2014-10-02 21:09:53 -07:00
Justin SB
afad6e0e43 Work on ios --getready 2014-10-02 21:08:57 -07:00
ekatek
eda7709316 fix forgottenECVs and reduce refresh rate
Two things:
 - to determine if two versions are compatible, we need to know their ECVs. (earliest
compatible versions). If the version that we have is local, then we don't have access to the
version record of the server version, so we can't figure out its ECV. That's why in the olden
days, there was a hack to store ECVs separately ('forgotten ECVs'). The new catalog didn't
have that function implemented -- it might not need it, but in that case, it would need to make
changes to the constraint solver that might be risky at this point. In any case, implementing this
function in the new world is pretty easy and solves the problem for now.

- when we look for things, we look in the local catalog, then the server catalog and if the server
catalog can't find it, it will refresh. However, sometimes, we are looking for something that the
server catalog cannot POSSIBLY have (ie: it has a build ID). That's fine, actually, but it causes
an extra refresh on the server catalog that we don't need. I put in a break to make sure that, if we
know for a fact that the server catalog does not have a version record (ie: it has a build id), we don't
bother looking in it and just return null to begin with. That should help.
2014-10-02 17:46:57 -07:00
ekatek
d3880241f5 fixing error message, we do not allow 0 wrap numbers 2014-10-02 17:34:53 -07:00
ekatek
7d77456509 fix the error message in package source 2014-10-02 17:31:03 -07:00
Sashko Stubailo
3641e48eb6 Update package skel to include package name and omit "METEOR@" 2014-10-02 17:24:22 -07:00
Sashko Stubailo
83a8c10a0a Fix typo 2014-10-02 16:49:31 -07:00
Sashko Stubailo
81b963d729 Edit mobile-config.js documentation 2014-10-02 16:47:02 -07:00
Sashko Stubailo
c98e6d8afb Merge branch '0.9.4-pre.2' into devel
Conflicts:
	History.md
	packages/meteor-tool/package.js
	packages/minimongo/package.js
	packages/package-version-parser/package.js
	scripts/admin/banners.json
	scripts/admin/meteor-release-experimental.json
2014-10-02 16:04:13 -07:00
Justin SB
f1fb54e5ed Capitalize a "building package" message 2014-10-02 15:53:29 -07:00
Justin SB
1abc78c6fe Merge branch 'cordova-datadir' into devel
Fixes for mobile HCP; save to datadir
2014-10-02 15:23:16 -07:00
Slava Kim
f24904b66c Save HCP files into the dataDirectory from cordova.file plugin.
Rather than relying onto manual path manipulations.
2014-10-02 02:18:12 -07:00
Slava Kim
55621b5a85 Print the ios-device warning after the tool checked that every platfrom is added 2014-10-02 00:43:42 -07:00
Sashko Stubailo
d30ee0a69e Fix backcompat for isopack.json, try releasing again 2014-10-01 20:08:43 -07:00