Commit Graph

10931 Commits

Author SHA1 Message Date
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
Nick Martin
b8df57c3a6 Merge branch 'pr-2749' into devel 2014-10-07 13:57:47 -07:00
Nick Martin
e25670c9c5 also check for missing section headers. 2014-10-07 13:53:26 -07:00
Nick Martin
8014a6be52 comments and naming per review. 2014-10-07 13:53:26 -07:00
Nick Martin
afc45d8386 Add space between function and ( per style guide.
No functional changes.
2014-10-07 13:53:25 -07:00
Nick Martin
c969263299 Point to a non-existent file when testing to clear appcache properly. 2014-10-07 13:53:25 -07:00
Nick Martin
ee65d21699 Run appcache size check after user code has had a chance to run.
This way the size check takes calls to Meteor.AppCache.config()
into account, so users can remove files from the cache and get
rid of the warning.

Also, add an internal option to totally disable the warning and
use it in tests.
2014-10-07 13:53:25 -07:00
Maxime Quandalle
ddc4bc7442 Complete the appcache test suite
* Add a test to verify section header unicity
* Add a test to verify NETWORK section content
* Simplify the regular expressions used in the manifest content test.
2014-10-07 13:53:25 -07:00
Gaelan
9e6568a3e1 Fix clientHash call in appcache.
Appcache was broken because it output the *function* WebApp.clientHash instead of its return value.
2014-10-07 13:53:25 -07:00
Maxime Quandalle
87e3b14a8a Improve appcache tests
+ Verify manifest content-type
+ Verify all lines validity with regular expressions
2014-10-07 13:53:25 -07:00
Maxime Quandalle
8cf480abd6 Disable the cache manifest in the tinytest client application to
ensure determinitic tests
2014-10-07 13:53:25 -07:00
Maxime Quandalle
ce15336d3e Add tests for the appcache package
Currently tests only verify the manifest presence and the header
validity. It should also verify the other sections validity

cf. #2716
2014-10-07 13:53:25 -07:00
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