Commit Graph

2930 Commits

Author SHA1 Message Date
Sashko Stubailo
a1f9d36836 Merge branch 'devel' of github.com:meteor/meteor into devel
Conflicts:
	docs/client/data.js
2014-10-07 13:46:27 -07:00
Sashko Stubailo
b9db774834 Fix broken links and release headline 2014-10-07 13:46:00 -07:00
David Glasser
f0155d2b3d Delete docs about wrap numbers and ECV
This sentence is about ECV but nothing else in the docs discusses ECV
and it doesn't use that term. So it's actually kind of confusing; to me,
it suggested that asking for `1.2.3_1` might give you `1.2.3`, which is
not true.
2014-10-07 11:45:52 -07:00
Justin SB
a9d32c722a Jump straight to anchor on wiki instruction page 2014-10-07 08:36:36 -07:00
Justin SB
6fd0b7f9da Try to collect the maximum set of missing components and install all we can 2014-10-07 08:36:36 -07:00
Justin SB
c1ea124ca0 Open URLs instead of trying to auto-install stuff 2014-10-07 08:36:36 -07:00
Slava Kim
08a0a59925 Workaround Phonegap's inability to distinguish when to rebuild the apk 2014-10-07 01:13:10 -07:00
Slava Kim
ea0f431cb3 Change AndroidManifest.xml's debuggable property based on mode 2014-10-07 00:27:58 -07:00
Slava Kim
497af45dd8 Whitespace 2014-10-06 23:27:07 -07:00
Slava Kim
13861d80e1 meteor build outputs apk 2014-10-06 23:26:55 -07:00
David Glasser
1779d62281 some packaging-related docs cleanups
also, add instructions to the top of docs.js
2014-10-06 21:50:00 -07:00
David Glasser
94ab470b2f fix test-packages and clarify utils.parseUrl docs 2014-10-06 21:18:51 -07:00
David Glasser
94cbba6dad Look at correct constraint field
Old:

  $ curmeteor add iron:router@9.9.9
  Got error during resolve; trying refresh { [Error: conflict: constraints on iron:router cannot be satisfied.
  Constraints come from:
    <top level>] constraintSolverError: true }
  Could not satisfy all the specified constraints:
  Error: conflict: constraints on iron:router cannot be satisfied.
  Constraints come from:
    <top level>

New:

  $ curmeteor add iron:router@9.9.9
  iron:router@9.9.9: no such version
2014-10-06 17:37:33 -07:00
David Glasser
7890b14e4e Allow dots in pre-release tag in release versions
We started calling our releases 0.9.3.1-rc.0 to match what you need to
do in semver to get proper numeric comparisons; let's make sure to
create orderKeys that work with them.
2014-10-06 17:01:51 -07:00
Justin SB
88a836383b Embolden commands users should run 2014-10-06 14:04:20 -07:00
Justin SB
e9a352f22c More buildmessage around installing cordova plugins 2014-10-06 13:57:12 -07:00
Justin SB
fb863f8602 If SDK is not installed when adding platform, prompt to install-sdk and add platform 2014-10-06 13:57:12 -07:00
Emily Stark
87bd6f87d5 Remove warning about --mobile-server.
We no longer need this because we have a decent default for
--mobile-server now.
2014-10-06 11:59:34 -07:00
Sashko Stubailo
da3cf01947 Merge branch 'devel' of github.com:meteor/meteor into devel 2014-10-06 11:55:47 -07:00
Justin SB
9f04fa28a6 Cleanup text around add-platform 2014-10-06 11:30:23 -07:00
Justin SB
5f0ffbfb10 Change --getready -> install-sdk <platform> 2014-10-06 11:09:26 -07:00
Justin SB
b2a69271bd Clean up message when platform not added to project 2014-10-06 11:09:05 -07:00
Justin SB
5e2cb2bfc5 Remove 'random' pauses in HCP tests; insert the one which works
Still better to fix this properly, but this gives us a single starting point
2014-10-04 17:16:03 -07:00
Justin SB
abc12875b1 Better android --getready on Linux 2014-10-04 11:02:10 -07:00
Justin SB
858479af6b For now, don't block android operations if HAXM cannot be installed
Users can always use a device; we should probably block using the emulator,
if HAXM cannot be installed.
2014-10-04 07:06:53 -07:00
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