Commit Graph

79 Commits

Author SHA1 Message Date
David Greenspan
02fccd56d8 Merge remote-tracking branch 'origin/devel' into blaze-templates
Conflicts:
	docs/.meteor/versions
2014-08-26 12:34:36 -07:00
David Glasser
75310c9493 vbump for rc12 2014-08-22 19:07:01 -07:00
David Glasser
f9744e5d93 Reduce size of less module by 60% 2014-08-22 18:32:00 -07:00
David Greenspan
1f5fc9d89a Merge branch 'devel' into blaze-templates 2014-08-17 11:23:48 -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
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 2014-08-14 12:02:08 -07:00
David Greenspan
fa1d30f02d UI.render = Blaze.render, returns a View
The “rendered template” returned by UI.render and taken by UI.insert
and UI.remove is now a View (soon to be UI.View) instead of a DOMRange.
The pattern UI.insert(UI.render(Template.foo), div) is exactly the same.
The pattern Blaze.render(Template.foo).attach(div) no longer works.
2014-08-11 12:43:48 -07:00
David Glasser
f4eefa1f04 vbump rc5 2014-08-08 00:06:55 -07:00
David Glasser
2d5c481e49 Upgrade less from 1.7.1 to 1.7.4. Fixes #2346 2014-08-07 14:36:50 -07:00
David Glasser
563860c769 Version number bumps, this time for real 2014-08-05 19:03:16 -07:00
David Glasser
ddc3657e4f Watch files which fail before emitting a resource
Regression introduced by the CSS watching code (specifically, f230eba62)
by the sourceIsWatched check. We need to be able to tell the difference
between "source handler didn't do anything because there was an error"
and "source handler didn't do anything because it's web-specific and
this is an os arch".

A simple fix would have been to interpret compileStep.error as
"sourceIsWatched = true", but I didn't think of that until after doing
it the slightly more complicated but more precise way :)

Also, ensure that if the runner rebuilds the client and there's an
error, it properly kills the app process (and the watchers and the
keepalive interval, etc).
2014-08-04 21:32:22 -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
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
ekatek
b9a714f028 ripping out internal, name and test from package.js files 2014-07-07 20:50:50 -07:00
David Greenspan
511e5ed64a Fix remaining tests (less and stylus) 2014-07-01 11:01:55 -07:00
David Glasser
5a85e2f24c Merge branch 'devel' into packaging
Conflicts:
	tools/bundler.js
	tools/tests/login.js
	tools/unipackage.js
2014-06-23 14:48:21 -07:00
David Greenspan
095b3a26c6 Merge remote-tracking branch 'origin/devel' into blaze-refactor
Conflicts:
	packages/spacebars-tests/template_tests.js
	packages/ui/base.js
	packages/ui/dombackend.js
	packages/ui/dombackend_tests.js
	packages/ui/domrange.js
	packages/ui/domrange_tests.js
	packages/ui/each.js
	packages/ui/render.js
	packages/ui/render_tests.js
2014-06-23 10:56:55 -07:00
Fredric Endrerud
722b666ab6 Upgrade Less from 1.6.1 to 1.7.1 2014-06-18 16:12:10 -07:00
ekatek
fb709c9563 remove versions files from core packages 2014-06-16 22:11:31 -07:00
Matthew Arbesfeld
83132a921f Remove unecessary import from less_tests 2014-06-11 17:25:31 -07:00
David Glasser
c5e5305a3b Merge branch 'devel' into packaging
Conflicts:
	tools/bundler.js
	tools/packages.js
2014-06-11 12:02:57 -07:00
Cangit
dbca6908f3 Don't decrement the line number in LESS error reporting.
LESS fixed their math problem in 1.6.0
2014-06-10 09:45:03 -07:00
David Greenspan
cf408de3bc Fix a test 2014-05-18 17:11:10 -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
3d3bdd4f50 versions.json update (these should be sorted!) 2014-04-24 17:02:46 -07:00
David Glasser
fbde0a00a7 Merge branch 'publish-packages' into library-refactor
Conflicts:
	packages/domutils/package.js
	packages/handlebars/package.js
	packages/htmljs/package.js
	packages/liverange/package.js
	packages/spark/package.js
	packages/universal-events/package.js
	tools/bundler.js
	tools/help.txt
	tools/packages.js
	tools/run-app.js
	tools/run-mongo.js
	tools/skel/.meteor/packages
2014-04-24 17:01:36 -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
ekatek
5fa2ba7df6 command cleanup, don't register plugins for test packages 2014-04-22 14:42:38 -07:00
ekatek
1f3daac20c remaining versions.json 2014-04-21 19:03:09 -07:00
ekatek
f4ea519165 test-packages now works on plugin tests 2014-04-10 22:48:19 -04:00
Slava Kim
3d7448bcce Pass the filepath to less parser 2014-04-06 15:36:05 -07:00
Avital Oliver
28ad0a45eb Fix tests 2014-03-25 19:46:27 -07:00
Avital Oliver
748c4db7a3 No more spark and universal-events packages 2014-03-25 19:09:56 -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
David Glasser
c0447737ec Fix less error handling during ast.toCSS
Fixes #1877
2014-03-03 21:55:58 -08:00
Slava Kim
dc4eb4c496 Prevent less sourcemaps generation hanging w/o compiling less twice 2014-02-20 00:03:15 -08:00
Slava Kim
3caa824b32 Don't hang if less produces no source-map
Add a test for that
2014-02-19 22:03:14 -08:00
Slava Kim
a26822ec96 Style fixes, renames, comments 2014-02-05 13:54:30 -08:00
Maxime Quandalle
cf11139f6c Add a .import.styl handler to prevent Meteor processing a stylus file Fix #462 2014-02-03 21:58:29 -08:00
Slava Kim
efb700f4f9 Rename futures for less package 2014-02-03 21:58:29 -08:00
Slava Kim
69a208fe1e Add forgotten file to tests section in package.js
for less tests
2014-02-03 21:58:28 -08:00
Maxime Quandalle
a63a3b0057 Update documentation: lessimport -> import.less 2014-02-03 21:58:28 -08:00
Maxime Quandalle
57e670440a less package ignores .import.less files, so you can import them and still haves syntax highlighting in your text editor. 2014-02-03 21:58:28 -08:00
Slava Kim
2f78babda1 Enable less sourcemaps 2014-02-03 21:58:28 -08:00
Slava Kim
7317188fed Update Less to 1.6.1
XXX review the changelog
2014-02-03 21:58:28 -08:00
Nick Martin
57c87a403d OCD 2013-10-08 20:03:02 -07:00