Commit Graph

69 Commits

Author SHA1 Message Date
David Glasser
6b204ca73a Bump package versions for 1.0.2 2014-12-19 10:31:59 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
de5f68cf70 bump all versions (due to source-map upgrade) 2014-11-25 09:06:26 -08:00
Geoff Schmidt
cdbc57c0ce Move appcache docs from docs.meteor.com to package readme 2014-10-13 20:21:23 -07:00
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -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
1e53f6b598 Bump all version numbers again after cherry-picking unipackage fix 2014-10-01 17:06:57 -07:00
Sashko Stubailo
0129c3f5ac Bump all of the version numbers again, to republish with the unipackage.json fix 2014-10-01 15:43:05 -07:00
Sashko Stubailo
eecc272e4a Bump every single package version number due to a change in compilation 2014-09-29 23:44:50 -07:00
Emily Stark
dd61c40bbc bump more package numbers for 0.9.2.1 2014-09-15 16:07:26 -07:00
Emily Stark
5fe0937aa6 Bump package versions for 0.9.2.1.
These should have been bumped in 0.9.2
2014-09-15 15:55:19 -07:00
Matthew Arbesfeld
c05397be11 Revert "Revert "Bump package versions""
This reverts commit 46ea7dcf30.
2014-08-20 23:08:49 -07:00
Matthew Arbesfeld
46ea7dcf30 Revert "Bump package versions"
This reverts commit 97b389b9d6.
2014-08-20 22:38:09 -07:00
Matthew Arbesfeld
97b389b9d6 Bump package versions 2014-08-20 21:37:56 -07:00
Matthew Arbesfeld
71966f407a Turn off auto-reload. Still not able to remove initial script from page 2014-07-29 04:38:46 -07:00
Matthew Arbesfeld
960f8907d3 Merge branch 'packaging' into cordova-hcp
Conflicts:
	packages/constraint-solver/constraint-solver.js
	packages/webapp/webapp_server.js
	tools/tests/package-tests.js
2014-07-25 13:52:34 -07:00
Slava Kim
5649b0347f Bundle and serve all client programs by default
For several client programs 'client.browser', 'client.cordova', etc, build and
bundle manifest files and programs.

Then serve all client programs' static files on their subpaths except for the
default one served on root.

Ex.:

/app/code.js
/packages/client-package/code.js
/cordova/packages/cordova-package/code.js
2014-07-24 17:39:11 -07:00
David Glasser
996d347139 Merge branch 'devel' into packaging
Conflicts:
	docs/client/api.html
	docs/client/concepts.html
	docs/client/introduction.html
	meteor
	packages/html-tools/package.js
	packages/spacebars-common/package.js
	packages/webapp/webapp_server.js
	tools/bundler.js
2014-07-21 16:18:25 -07:00
Fredric Endrerud
effd3c1524 Change AppCache from browser whitelist to blacklist 2014-07-18 16:07:02 -07:00
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
ekatek
beb0e59b9d new version files from teh new solver? Also, package.js correct with tests 2014-05-09 17:36:25 -07:00
ekatek
031890d2c5 don't store buildtime deps in the catalog 2014-05-04 16:56:58 -07:00
ekatek
23ad149a78 better versions files 2014-04-25 15:06:45 -07:00
ekatek
10d2047d12 clean up 2014-04-25 15:01:20 -07:00
ekatek
c84c8d6097 alphabetize package version lock files 2014-04-24 18:18:21 -07:00
David Glasser
3b21c2d9a7 Merge branch 'devel' into publish-packages
Conflicts:
	packages/domutils/package.js
	packages/handlebars/package.js
	packages/htmljs/package.js
	packages/liverange/package.js
	packages/madewith/package.js
	packages/meteor-developer/meteor_developer_server.js
	packages/preserve-inputs/package.js
	packages/spark/package.js
	packages/universal-events/package.js
	tools/commands.js
	tools/files.js
	tools/help.txt
	tools/packages.js
2014-04-24 16:27:21 -07:00
David Glasser
b2632d45c5 Move boilerplate HTML from tools to webapp
This breaks a strong dependency between the webapp package and the
bundler.  Now we can change the standard page format, add more hooks,
etc without changing the tools (and hot code push works properly).

This is an incompatible change to the definition of the
browser-program-pre1 format: it no longer contains a "page" field
pointing to a boilerplate defined using ad hoc ##FOO##
substitution. Instead, the manifest can contain "head" and "body"
entries for data added with compileStep.appendDocument().  (Note that in
Blaze, <body> in a template file no longer calls appendDocument.)

WebApp.addHtmlAttributeHook callbacks now return attribute objects (like
those that Spacebars supports) rather than strings.
2014-03-24 20:10:39 -07:00
Geoff Schmidt
66b7253695 Take all packages to 1.0.0 (that aren't already there) 2014-03-07 12:00:20 -08:00
Nick Martin
980a669c45 Make appcache size check actually match what goes in the cache section. Fixes #1847. 2014-02-20 14:57:57 -08:00
Nick Martin
51b3cef688 Whitespace adjustments to match style guide. 2013-12-06 22:41:46 -08:00
Nick Martin
1eff62f0f3 Only count files that actually go in the cache in the cache size check. Fixes #1653. 2013-12-06 14:10:19 -08:00
Nick Martin
91ad6c0189 Remove trailing whitespace. 2013-12-05 13:14:10 -08:00
Nick Martin
f25b733bc6 Change AutoUpdate symbol name to be one word not two.
perl -pi -e 's/AutoUpdate/Autoupdate/g' **/*.{js,md}
perl -pi -e 's/autoUpdate/autoupdate/g' **/*.{js,md}
2013-11-21 16:34:07 -08:00
Andrew Wilcox
e27e2d8c82 Calculate the client hash in webapp so that autoupdate doesn't have to
be a strong dependency of appcache.

Delaying publishing the current client version document until the auto
update version is available isn't necessary because the publish
callback won't be called before webapp starts listening, and that
happens after startup.

In the app cache manifest include both the client hash and the
AUTOUPDATE_VERSION, which both allows the browser to load new
client code even when the auto update version is explicitly set by the
developer, and also ensures that if the developer changes the auto
update version this is propagated to the client in the app HTML so
that autoupdate doesn't get into an infinite loop of reloads.
2013-11-19 01:34:53 -08:00
Andrew Wilcox
e48fa460bc Implement AutoUpdate.newClientAvailable reactive data source.
Have the appcache use the auto update client version id.

Fix autopublish warning.
2013-11-19 01:34:53 -08:00
Nick Martin
57c87a403d OCD 2013-10-08 20:03:02 -07:00
Andrew Wilcox
ba34b2550b Chrome for iOS supports the appcache 2013-09-04 16:31:52 -07:00
David Glasser
af06112044 templating implies spark and meteor: generated code needs them.
also finish getting rid of deprecated startup package, and some other minor
packaging cleanups to templating.
2013-07-26 19:34:45 -07:00
Geoff Schmidt
3d1c09794f Comprehensive namespace cleanup. 2013-07-25 18:54:40 -07:00
David Glasser
e38bf5e1ab Move a few more functions off of __meteor_bootstrap__ 2013-07-02 16:15:12 -07:00