Commit Graph

303 Commits

Author SHA1 Message Date
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Sashko Stubailo
8ae1301832 Bump versions 2014-10-09 20:11:53 -07:00
Avital Oliver
f2b65cc055 Fix ce98ea08d5 on IE8
Array.prototype.indexOf isn't defined on IE8
2014-10-09 19:46:09 -07:00
Nick Martin
cafb427aa7 Bump versions for 0.9.4-rc.2 2014-10-09 16:42:30 -07:00
Slava Kim
ce98ea08d5 Explicitly ban some names for Templates.
Fixes the test failure on IEs because for IEs 'name' is not a magical property
on functions.
2014-10-09 15:24:44 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -07:00
Sashko Stubailo
0cf088b6cb Bump changed package versions 2014-10-03 16:13:08 -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
ekatek
dd7635af6e merging from master 2014-09-25 19:45:48 -07:00
ekatek
bab557d49b incrementing package versions for a clean release 2014-09-25 18:34:34 -07:00
ekatek
64b0ea4f5b increment package numbers 2014-09-24 23:41:17 -07:00
David Greenspan
22845b6f11 Port spacebars-tests to new-style helpers 2014-09-24 22:02:57 -07:00
ekatek
220cc69e31 package versions incremented 2014-09-19 21:16:14 -07:00
David Greenspan
e7cf040177 Rename {{> UI.*}} to Template; remove UI uses
Rename inclusion macros (with back-compat) to: Template.dynamic, Template.contentBlock, Template.elseBlock.

Update all uses and mentions of UI in the repo, unless they are there for back-compat or testing reasons.

To do: Run unit tests.  Update docs for UI.dynamic.  Document Template.contentBlock and Template.elseBlock.
2014-09-17 17:24:25 -07:00
Emily Stark
ccfee68145 Merge branch 'master' into devel
Conflicts:
	docs/client/api.html
	docs/client/data.js
	docs/client/names.json
	meteor
	packages/autoupdate/package.js
	packages/base64/.gitignore
	packages/constraint-solver/package.js
	packages/device-orientation/.gitignore
	packages/less/package.js
	packages/meteor-tool/package.js
	packages/meteor/package.js
	packages/package-version-parser/package.js
	packages/webapp/webapp_server.js
	scripts/admin/meteor-release-experimental.json
	tools/commands.js
	tools/help.txt
	tools/package-version-parser.js
	tools/run-all.js
	tools/tests/apps/build-errors/packages/with-colon-plugin/.gitignore
2014-09-15 14:48:57 -07:00
Emily Stark
833c6f5b4f Bump package versions for 0.9.2 2014-09-15 11:36:57 -07:00
Emily Stark
fb3fb5de03 Bump package versions for 0.9.2-rc2 2014-09-09 07:52:41 -07:00
Slava Kim
3decef135a Bump package versions 2014-09-05 17:55:37 -07:00
Sashko Stubailo
1dd43672d6 Move most of Blaze docs to autoApiBox 2014-09-04 19:20:39 -07:00
Avital Oliver
c23408bdd7 versions for 0.9.1 2014-09-04 15:41:39 -07:00
Slava Kim
fc56f795d6 Bump versions of packages for the 0.9.2-rc0 2014-09-02 14:57:33 -07:00
Avital Oliver
808c90e3db Bump rc versions on packages 2014-09-01 00:16:00 -07:00
David Greenspan
f6b9a4bd21 Fix <body> back-compat 2014-08-29 17:13:26 -07:00
David Greenspan
2374ce38df <body> tag back-compat 2014-08-29 16:29:45 -07:00
Avital Oliver
7ee8d36456 Add backcompat for Template.__define__
See #2480
2014-08-29 16:21:03 -07:00
David Greenspan
dc1eca1768 Better error message if you name a template “body” 2014-08-29 15:30:02 -07:00
Avital Oliver
864fffc9e9 Bump package versions in preparation for 0.9.1-rc0 2014-08-28 11:00:35 -07:00
David Greenspan
8345de74e9 Merge branch 'devel' into blaze-templates
Conflicts:
	docs/.meteor/versions
	docs/client/api.html
	docs/client/docs.js
	packages/blaze/builtins.js
	packages/blaze/materializer.js
	packages/blaze/render_tests.js
	packages/blaze/view.js
	packages/livedata/package.js
	packages/minimongo/package.js
	packages/reactive-var/reactive-var.js
	packages/standard-app-packages/package.js
	packages/templating/templating.js
	packages/test-helpers/reactivevar.js
	packages/test-in-browser/package.js
	packages/ui/package.js
2014-08-27 22:34:21 -07:00
Sashko Stubailo
41910019e1 Renamed Deps to Tracker in all packages 2014-08-27 20:05:22 -07:00
David Greenspan
0177507492 Template._body_ to Template.body 2014-08-26 17:37:52 -07:00
David Greenspan
28f8c0c9ef Kill UI.insert, make UI.render require DOM node 2014-08-26 17:26:03 -07:00
David Greenspan
d37dafe0f8 Rename references to ‘ui’ package to ‘blaze’ 2014-08-26 16:15:34 -07:00
Sashko Stubailo
5931697fa6 A mind-blowing number of new automatic docs 2014-08-26 16:00:01 -07:00
David Greenspan
c93ac97c10 All-but-remove the ui package
Also improve info strings on blaze and ui

Not in this commit:
* Change all uses of `ui` package to use `blaze`
* Change all references to UI symbol to Blaze
* Change docs accordingly
2014-08-26 15:53:24 -07:00
Sashko Stubailo
45ad88bab7 A loooot of documentation, see names.json diff for details 2014-08-26 11:58:40 -07:00
David Greenspan
be0e2a0139 Remove Template.__assign in favor of __checkName
It seems nice to actually write `Template[“foo”] = …` in our generated code rather than obscuring it behind __assign.
2014-08-17 12:04:25 -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
83073cd1eb Blaze === UI, add UI.destroy
Make Blaze.destroyView, Blaze.destroyNode private
2014-08-12 11:07:26 -07:00
David Greenspan
7ca944e665 UI.render/toHTML, TemplateWith, Blaze.toText
Move Spacebars.TemplateWith to Blaze._TemplateWith.  It is the official
way to give a template data, after all, but it’s a little too weird to
make public.  Use it in Blaze.renderWithData, even though it doesn’t
seem like it would make a difference.

Unify UI.render/renderWithData with Blaze.render, and add
toHTMLWithData.  Publicly, they take a Template or a View.
The View must be unrendered, of course.  If given a Template,
constructView will be called.  Privately, they take any HTMLJS
extended to be allowed to contain Templates and Views, except
null or undefined, or a function returning extended HTMLJS.
The “data” argument may be a function or a not, as in UI.With
(and unlike the old public UI.renderWithData).

Make Blaze.toText private (Blaze._toText).
2014-08-11 14:24:07 -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 Greenspan
4771a65cdd Make Blaze.DOMRange private 2014-08-10 09:13:17 -07:00
David Greenspan
7035b91249 Merge branch 'devel' into blaze-templates
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2014-08-08 18:16:56 -07:00
David Glasser
f4eefa1f04 vbump rc5 2014-08-08 00:06:55 -07:00
David Greenspan
22d4c48188 Rename Template.__create__, __define__, and others
* `Template.__create__` is now `new Template`
* `Template = Blaze.Template`
* `Template` is a constructor function
* `Template.foo instanceof Template` (but keep `Blaze.isTemplate`)
* No more `Blaze.runTemplate` (use `template.constructView`)
* `constructView` instead of `__makeView`
* template objects have `__kind` and `__render`
* No `__viewName`, `__templateName`
* `Template.__body__` is now `Template._body_` (and renamed methods)
* No `Template.__lookup__`, instead `(name in Template) && (Template[name] instance of Template)`
* `Template.__define__` replaced by `Template.__assign(name, template)`
2014-08-06 16:05:27 -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