Commit Graph

10952 Commits

Author SHA1 Message Date
Slava Kim
2b280474cb Make icons/splashscreens options consistent with underscores 2014-10-08 13:30:14 -07:00
Emily Stark
e4244003cf Use single quotes in 'packages with organizations' selftest 2014-10-08 13:26:24 -07:00
Emily Stark
8b86948d41 Fix argument parsing test; default port is now a string 2014-10-08 11:50:21 -07:00
Emily Stark
6d17305629 Update path in cordova builds selftest 2014-10-08 11:19:17 -07:00
Emily Stark
149389d932 Update 'add cordova platforms' to match latest command output 2014-10-08 11:09:02 -07:00
Emily Stark
0bd892a261 Remove copied-and-pasted comment on 'add cordova platforms' 2014-10-08 11:07:32 -07:00
Emily Stark
842e3a290a Update 'add cordova plugins' test to reflect reality.
If we fail to install one plugin, then we uninstall all plugins to avoid
awakening the Cordova monsters. Previously, this test was passing
because we were passing a `--settings` argument, which was allowing the
facebookconnect plugin to install, but the build to fail to other,
not-understood reasons. Now that we've removed `--settings`, the plugin
fails to install, which means that all plugins get uninstalled.

Test passes now.
2014-10-08 11:01:18 -07:00
Emily Stark
32e192883e Fixes to 'add cordova plugins' selftest.
* Remove --settings option that is no longer supported.
* Add --server option that is now required.

Test still doesn't pass.
2014-10-08 11:01:18 -07:00
Justin SB
f12fddb95d reportDone -> reportProgressDone
progress.reportProgressDone()?  Interesting choice of function name, Justin...
2014-10-08 10:11:12 -07:00
Justin SB
19f845fccc Hacky parsing of installation progress 2014-10-08 10:09:06 -07:00
Justin SB
c88fffbc6a Special case the failure message for 'install-sdk ios' on Linux 2014-10-08 08:42:52 -07:00
Justin SB
48e91ff9aa Linux does not meet the iOS platform requirements 2014-10-08 08:39:10 -07:00
Justin SB
d4fd64da6a Split up the super-long android emulator acceleration message 2014-10-08 08:13:09 -07:00
Justin SB
bb77c6e210 Add some help to install-sdk 2014-10-08 08:11:03 -07:00
Justin SB
570644b589 Newline around URL to stop it wrapping in install-sdk 2014-10-08 08:07:07 -07:00
Justin SB
25d941690c Provide affirmation after successful install-sdk fixes 2014-10-08 08:06:00 -07:00
Justin SB
af71abfef1 Don't show errors if we can fix something during install-sdk 2014-10-08 08:04:08 -07:00
Slava Kim
b40faa363c Fix the typo 2014-10-07 18:43:43 -07:00
David Glasser
abbda82854 Merge branch 'debug-only-refactor' into devel 2014-10-07 18:26:31 -07:00
David Glasser
3faf1aa21e make test more convincing 2014-10-07 18:26:21 -07:00
David Glasser
5590d194c5 debug-only flag only affects bundler, not compiler 2014-10-07 18:26:21 -07:00
David Glasser
9bf291c8a0 Read and write debugOnly flag in isopack 2014-10-07 18:26:21 -07:00
David Glasser
f78184c497 Disallow plugins and imply in debugOnly packages 2014-10-07 18:26:21 -07:00
Slava Kim
8d2fd23005 Hide the splash screen only after the plugins and page is loaded 2014-10-07 17:29:41 -07:00
Justin SB
03a9c69451 Be much more liberal in detecting the JDK
Even detect JDK 1.6, which probably shouldn't really be used any more
2014-10-07 17:20:49 -07:00
ekatek
6a6bb529bb adding a var to make code style happy 2014-10-07 17:13:43 -07:00
Sashko Stubailo
6a700adce6 Merge branch 'devel' of github.com:meteor/meteor into devel 2014-10-07 16:50:09 -07:00
Sashko Stubailo
ff947a2ac5 Update todos 2014-10-07 16:49:54 -07:00
Slava Kim
966431a479 Put accidentally removed cordova.checkIsValidPlugin method back 2014-10-07 16:30:05 -07:00
Slava Kim
b29b473e3a Fix android splash parsing 2014-10-07 16:30:05 -07:00
Justin SB
a824a86176 Clean up the messages to accurately reflect what we're installing 2014-10-07 16:19:09 -07:00
Justin SB
9d0f42a3ea Use /usr/libexec/java_home to detect JDK 2014-10-07 16:10:15 -07:00
Nick Martin
4aa895aa20 Tweak READMEs for built app bundles. 2014-10-07 16:09:20 -07:00
ekatek
192aeed694 move the call to setDebug into the same buildmessage that calls getPackageLoader to be safer about ensureDepsUpToDate 2014-10-07 16:07:25 -07:00
ekatek
58c3a355e4 allow velocity to search for debug-only packages 2014-10-07 15:55:50 -07:00
ekatek
e784341cf5 clean out the forProd option which we no longer use 2014-10-07 15:55:50 -07:00
ekatek
43eace5af8 allow publication of debugOnly packages 2014-10-07 15:55:50 -07:00
ekatek
0aab8e9683 adding the test package used by the debugOnly test 2014-10-07 15:55:50 -07:00
ekatek
e0414f2ed5 allow user to mark packages as debugOnly and not have them bundle in production mode
(still outstanding: changes to package publication workflow)

A package marked debugOnly in the package source is not to be bundled in production.
Moreover, if a package/app depends on a debugOnly package, that entire tree should
not be bundled. (But we should take it into account when figuring out versions!)

Does the following:

- In the catalog, we have a function that takes in a set of versions and a set of original
constraints and traverses it, recursively, to build a subset of versions that we *should*
bundle, and the corresponding subset of versions that we shouldn't (because they are either
debugOnly themselves or pulled in by debugOnly packages). (We do this in the catalog because
it is an addon onto the results of the constraint solver, tied deeply into our representation
of data)

- In the packageLoader, we keep track packages & versions that we should bundle, and also,
packages that we should exclude. We do this in the package-loader because, essentially, that's the
object that we use to keep the results of the constraint-solver, and we already propagate it to all
functions that care about it. (Possibly we should subsequently rename it later).

- In the compiler, when we figure out buildTimeDependencies, we ask if we need to bundle debug
builds. If not, we filter them out (see above). Also, when we actually build together unibuilds,
we don't touch the ones that the packageloader tells us to exclude (which ensures that they don't make
it into the final product).

- In the project, we keep track of whether this project is building in debug mode. That's because the project
is where we keep the state of our curent project that we are building, and if we are ever in the state of
building multiple things, then that's the code that we would need to touch (see also that we make a similar
assumption when solving constraints).

- Adds the option to keepthe project debug-build-free and calls it in commands when approporiate.
2014-10-07 15:55:50 -07:00
Justin SB
14f452e733 Oracle JDK 8 installs to yet another path 2014-10-07 15:49:56 -07:00
Emily Stark
a22a5a3341 Update 'bundler.bundle' comment 2014-10-07 15:46:45 -07:00
Avital Oliver
c19e133b8b Show progress bar when downloading a release prior to springboarding 2014-10-07 15:26:56 -07:00
Justin SB
c99d7d42a6 Call utils.sleepMs(1); during package resolution
This is a temporary fix; we should call it less often
2014-10-07 15:20:32 -07:00
Emily Stark
5d2bd77d96 Add newline to error message 2014-10-07 15:19:02 -07:00
Slava Kim
e32101edb1 For android splash screens, add a special attr in xml 2014-10-07 15:12:20 -07:00
Justin SB
d9b91417c0 Install android bundle first, so the not-installed messages appear at the bottom 2014-10-07 15:06:04 -07:00
Avital Oliver
18f36bd3c4 Add README for publishing mobile apps on meteor build
1. Add README files for both the ios/ and android/
   subdirectories of a build directory linking to a
   Wiki page with instructions on how to go through
   the publish process for both app stores.

2. To make the README file more visible in iOS projects,
   and to make the ios directory tree mirror the android
   one, place what used to go in <BUILD DIR>/ios/ into
   <BUILD DIR>/ios/project/. <BUILD DIR>/ios/ now only
   contains the README file.
2014-10-07 14:51:45 -07:00
Slava Kim
85a11d7ff9 Kill iOS simulator every time phonegap shell is redeployed
Fixes the "black screen" problem that users often see.
2014-10-07 14:36:07 -07:00
Justin SB
7410137077 The android tool requires Java 2014-10-07 14:21:28 -07:00
Justin SB
d83002cd64 We need a JDK, not a JVM
For jarsigner, needed to sign an app for the Play Store
2014-10-07 14:16:06 -07:00