Commit Graph

205 Commits

Author SHA1 Message Date
Matthew Arbesfeld
05b2765d61 Clean up serving of manifest.json 2014-09-06 11:02:26 -04:00
Slava Kim
3decef135a Bump package versions 2014-09-05 17:55:37 -07:00
Slava Kim
497e47ca5b Another fix for webapp test and behavior.
The previous commit didn't really fix the issue
2014-09-05 15:31:06 -07:00
Slava Kim
590a733cd8 Fix a broken webapp test
Invalidate teh boilerplate after flipping the inlineScriptsAllowed flag
2014-09-05 14:55:31 -07:00
Slava Kim
3df58956e1 Emily's comments on webapp change 2014-09-02 14:59:22 -07:00
Slava Kim
fc56f795d6 Bump versions of packages for the 0.9.2-rc0 2014-09-02 14:57:33 -07:00
Slava Kim
f3d0c24d2e Invalidate memoization of boilerplate
Fixes bug introduced on the cordova-hcp branch. Fixes #2498
2014-09-02 14:57:33 -07:00
Matthew Arbesfeld
fca5c382d5 Merge branch 'release-0.9.1' into cordova-hcp
Conflicts:
	docs/client/api.html
	docs/client/api.js
	meteor
	packages/autoupdate/autoupdate_server.js
	packages/autoupdate/package.js
	packages/constraint-solver/package.js
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	packages/minimongo/package.js
	packages/mongo-livedata/package.js
	packages/oauth1/package.js
	packages/package-version-parser/package.js
	packages/spiderable/package.js
	packages/standard-app-packages/package.js
	packages/templating/package.js
	packages/test-in-console/package.js
	packages/webapp/package.js
	scripts/admin/meteor-release-experimental.json
	scripts/generate-dev-bundle.sh
	tools/uniload.js
2014-08-28 21:13:59 -07:00
Matthew Arbesfeld
0af50c04ef Change client.* to web.* and accept client and web 2014-08-28 13:35:26 -07:00
Avital Oliver
864fffc9e9 Bump package versions in preparation for 0.9.1-rc0 2014-08-28 11:00:35 -07:00
Matthew Arbesfeld
124b0d869e Bump versions for CORDOVA-PREVIEW@4 2014-08-27 13:41:07 -07:00
David Greenspan
d37dafe0f8 Rename references to ‘ui’ package to ‘blaze’ 2014-08-26 16:15:34 -07:00
Slava Kim
d4f8f8ce25 Don't serve the manifest for Cordova program if such program is not present 2014-08-26 16:04:26 -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
922af65765 Merge branch 'devel' into cordova-hcp
Conflicts:
	meteor
	scripts/generate-dev-bundle.sh
	tools/bundler.js
	tools/unipackage.js
2014-08-20 19:48:26 -07:00
Slava Kim
c6047a9cdf Implement public Meteor.settings for Cordova builds 2014-08-18 14:07:40 -07:00
Slava Kim
88edda5557 Extract WebApp-Hashing and use it from tool for Cordova builds 2014-08-15 17:38:16 -07:00
Slava Kim
fcdeda957d Revert "Remove unused webapp_server code"
This reverts commit 963a16f5f1.

It is not unused
2014-08-15 16:43:04 -07:00
Matthew Arbesfeld
c463a62477 Omit autoupdateCordova from hash 2014-08-15 16:06:07 -07:00
Matthew Arbesfeld
963a16f5f1 Remove unused webapp_server code 2014-08-15 14:48:25 -07:00
Slava Kim
e3ae279a60 more code duplication for having a separate update version for cordova 2014-08-15 14:46:45 -07:00
David Glasser
bc6239dfc1 vbump for rc9
Hopefully we won't have to do "bump for all the npm modules" again after
this
2014-08-15 12:34:47 -07:00
Slava Kim
5fbe4aea66 Hot Code Push executes the saved code after the bundled code 2014-08-14 20:32:41 -07:00
Slava Kim
348d765f65 wip 2014-08-14 17:00:12 -07:00
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 2014-08-14 12:02:08 -07:00
Slava Kim
2feef6ec9f fix tests for webapp after merge 2014-08-06 14:56:36 -07:00
Matthew Arbesfeld
3c7ed69f6b Fix client.* -> web.* 2014-08-06 13:51:31 -07:00
Matthew Arbesfeld
9f2ee36e60 Merge branch 'packaging' into cordova-hcp
Conflicts:
	packages/constraint-solver/constraint-solver-tests.js
	packages/constraint-solver/constraint-solver.js
	packages/less/plugin/compile-less.js
	packages/meteor/plugin/basic-file-types.js
	packages/star-translate/translator.js
	packages/stylus/plugin/compile-stylus.js
	packages/templating/plugin/compile-templates.js
	packages/webapp/webapp_server.js
	tools/bundler.js
	tools/commands.js
	tools/compiler.js
	tools/package-source.js
	tools/run-app.js
	tools/selftest.js
	tools/tests/old/test-bundler-assets.js
	tools/tests/old/test-bundler-options.js
	tools/unipackage.js
2014-08-06 13:43:56 -07:00
Matthew Arbesfeld
8bcbd65344 Separate "browser" target into web.browser/cordova
Cordova projects often have a different set of files than web targets,
so we would like to be able to target different client architectures in
our bundles. Ideally, we allow the user to use arbitrary client
architectures - but this patch is a step in the right direction by
abstracting out more of the hard coded "browser"/"os" lines.

We accomplish this separation in a backwards compatible way by allowing
api.___ commands to target a "client" architecture. For example,
api.addFiles('a.js', 'client') adds 'a.js' to both the 'client.browser'
and 'client.cordova' targets.

Effects on 0.9 packaging stuff: packages don't have to change, but the
"data.json" file in ".meteor0" has "browser" in some places. We think we
have to fix the troposphere code where this data.json is created.

Some plugins will also be backwards-incompatible with this change, since
many have a "clientArch.matches("browser")" line in the plugin
code. Ideally, we fix plugins so that this stops being an issue, but for
now package authors can just patch that line.

At the compiled (unipackage) level the new names are 'web.browser' and
'web.cordova', replacing 'browser'. In package.js, the new names are
'client.browser' and 'client.cordova', serving as an adjunct to 'client'.
2014-07-31 14:12:15 -07:00
Matthew Arbesfeld
71f2798205 Add a DEFAULT_DDP_CONNECTION_URL and fix visible:hidden tag 2014-07-29 22:45:50 -07:00
Matthew Arbesfeld
3ea5e6d033 Hot code push works! yay 2014-07-29 15:43:32 -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
ae8c412c38 Fixed webapp tests for additional static files and __meteor_runtime_config__ 2014-07-28 11:57:28 -07:00
Slava Kim
c6b6e71fed Extract the Boilerplate generating code into a separate package 2014-07-25 18:56:14 -07:00
Slava Kim
dd74ae7564 Refactor out the boilerplate generator so it can be used from tool
doesn't work yet though
2014-07-25 17:06:37 -07:00
Matthew Arbesfeld
d2af5ea13b Add cordova boilerplate file 2014-07-25 13:53:35 -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
Matthew Arbesfeld
4ca9c9818c partial work towards a more general boilerplate ***GOING TO REBASE ON PACKAGING*** 2014-07-25 10:51:11 -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
Slava Kim
13c0d3e0ed Always serve the client manifest file 2014-07-24 16:02:37 -07:00
David Glasser
e82be799be Further cleanup from devel->packaging merge
- Update package.js for new packages from devel
- Typo fix
2014-07-21 16:23:47 -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
Matthew Arbesfeld
03c5c425f8 Hard code in client.cordova and fix 'browser' references 2014-07-18 18:59:00 -07:00
Matthew Arbesfeld
f230eba62b Client CSS and template injection. 2014-07-09 10:31:44 -07:00
ekatek
b9a714f028 ripping out internal, name and test from package.js files 2014-07-07 20:50:50 -07:00
David Greenspan
dfbbde4aa7 Merge branch 'devel' into blaze-refactor
Conflicts:
	packages/webapp/webapp_server.js
2014-07-01 13:29:04 -07:00
David Greenspan
ab4bb8f993 Get rid of 3s/OLDSTYLE, start to exclude old code 2014-06-30 15:45:12 -07:00
David Greenspan
9dd5fac49c webapp_server works
This confirms that we can convert complicated templates (including #if, #each, and dynamic attributes) into HTML using Views.

Template#__lookup was moved to View#lookup, since webapp_server is an example of a case where we have lookup but no template!

Next steps: get rid of the “3” after some names, the OLDSTYLE flag, and dead code in the blaze package.  Then make Template features like events, `helper`, etc. work.
2014-06-30 15:36:33 -07:00