Commit Graph

2861 Commits

Author SHA1 Message Date
David Greenspan
aed3036f0d start of doctype parsing 2013-11-05 14:59:37 -08:00
David Greenspan
dfb9c6d55d parse HTML comments 2013-11-05 14:59:37 -08:00
David Greenspan
bcbf3c1e56 initial commit of new HTML tokenizer 2013-11-05 14:59:37 -08:00
David Greenspan
c0186ebd8f first cut of UI.bind 2013-11-05 13:39:01 -08:00
David Greenspan
4086612e31 emboxValue, docs and tests 2013-11-04 20:45:35 -08:00
David Greenspan
016fbf7709 more comments 2013-11-04 15:50:47 -08:00
David Greenspan
a6ca1b3925 RenderBuffer takes components 2013-11-04 15:50:08 -08:00
David Greenspan
6970e75f19 remove old code 2013-11-04 10:37:28 -08:00
David Greenspan
dd4d1c930b reactive attribute tests and clean-up
in particular, fully support nested arrays in attribute values
and null and undefined attribute values (which indicate no attribute)
2013-11-01 19:25:37 -07:00
David Greenspan
09fa915fb0 cleaner reactive attributes; error reporting 2013-11-01 16:41:50 -07:00
David Greenspan
bfc0ce6798 DomBackend removal detection refactor and tests 2013-11-01 15:22:42 -07:00
David Greenspan
1241d2f9c8 checkAttributeName 2013-11-01 13:59:44 -07:00
David Greenspan
91eedfb8ec prepare for reactive attributes 2013-10-29 20:08:15 -07:00
David Greenspan
de71913aa8 comments and clean-up 2013-10-29 19:31:32 -07:00
David Greenspan
0f7a261da4 reactive closures
handle void elements; codegen better object literals
2013-10-29 19:03:48 -07:00
David Greenspan
c2da2dac1d unit tests and a couple fixes 2013-10-29 18:25:18 -07:00
David Greenspan
b85ae3ccc6 EmitCode 2013-10-28 20:15:03 -07:00
David Greenspan
03312eb0a0 CharRef and Comment; toCode 2013-10-28 19:32:32 -07:00
David Greenspan
066955252f initial commit 2013-10-28 18:37:55 -07:00
Avital Oliver
379cc79ea9 Remove 'handlebars' package.
It has been superseded by the 'ui' package.
2013-10-28 14:22:55 -07:00
Avital Oliver
3b0dad79b0 remove unusable {{#markdown}}
it was never made to work on shark. a later
commit will re-introduce this or supply
an alternative pattern.
2013-10-28 14:19:53 -07:00
Avital Oliver
347fb5ca01 comment out old failing tempting tests
(they haven't been updated post-spark). we'll
make another XXX pass and take a look at them.
2013-10-28 14:18:59 -07:00
Avital Oliver
849e4e015d remove stale comment 2013-10-22 23:04:57 -07:00
Avital Oliver
df5dc5c5be Fix {{> foo bar=false}}.
Apparently `Boolean("false")` is true.
2013-10-22 22:11:33 -07:00
Avital Oliver
4788427f9d Fix spacebars-tests
The "inclusion args" tests broke with commit
1c37ac1a98. Within
'lookup' we were wrapping results in functions
even when they were constants. This led
`{{> foo bar}}` to not correctly pass `bar`
as data into the Template pointed to by `foo`.
2013-10-22 22:02:47 -07:00
Avital Oliver
5741186ee4 Merge branch 'devel' into shark 2013-10-10 16:37:56 -07:00
Avital Oliver
f4bf7aad80 Ease the transition from {{loginButtons}} to {{> loginButtons}} 2013-10-10 16:08:00 -07:00
David Greenspan
e10145d14c comments 2013-10-10 16:04:17 -07:00
David Greenspan
21180a20e9 only access data if needed in comp.lookup 2013-10-10 15:32:58 -07:00
Avital Oliver
05985f50c1 backcompat for Handlebars.SafeString 2013-10-10 15:20:10 -07:00
Avital Oliver
df657e0af6 Deprecate preserve-inputs 2013-10-10 15:20:09 -07:00
Avital Oliver
64c2e86b2c rename variables
now when looking at a stack trace you explicitly see
`cursor.observe`
2013-10-10 15:20:09 -07:00
David Greenspan
1c37ac1a98 fix over-rendering by isolating comp.lookup
comp.lookup was establishing immediate dependencies, which was incorrect
2013-10-10 14:54:12 -07:00
Nick Martin
687f989f18 Merge branch 'master' into devel 2013-10-10 13:25:50 -07:00
David Greenspan
e350782fce wrap event handling in Deps.nonreactive 2013-10-09 17:20:18 -07:00
Emily Stark
de05d27cf3 Make browser-policy-content tell webapp about inline script policy.
This avoids the need for webapp to probe for browser-policy without
weak-depending on it.
2013-10-09 12:00:23 -07:00
Emily Stark
35cee2d4ea Test that logoutOtherClients returns a new valid token. 2013-10-08 22:01:40 -07:00
Emily Stark
cd0b6eb22f Use pollUntil in waitForLoggedOutStep 2013-10-08 22:01:40 -07:00
Emily Stark
abd9669099 Minor password test changes 2013-10-08 22:01:40 -07:00
Emily Stark
b44f0a61df Test for invalidated token after expireTokens. 2013-10-08 22:01:40 -07:00
Nick Martin
4e922fd709 remove ie8 hack from tests. for some reason it is no longer needed. 2013-10-08 21:30:39 -07:00
Nick Martin
57c87a403d OCD 2013-10-08 20:03:02 -07:00
Nick Martin
93c23470aa make a bunch of packages internal.
please remember to set this when making new packages.
2013-10-08 19:58:48 -07:00
David Greenspan
11aa6c65e2 call template callbacks in Deps.nonreactive 2013-10-08 19:03:09 -07:00
David Greenspan
d1e6bd1a4f spacebars: prettier code gen pretty-printing 2013-10-08 19:02:42 -07:00
Avital Oliver
8df574c68a Don't crash on template destroyed callback 2013-10-08 15:02:52 -07:00
Nick Martin
9f2188b5da Not sure why, but opera is better now (including old versions). I guess one of the minimongo changes caused the ordering to be different. 2013-10-08 00:42:52 -07:00
Nick Martin
28082f33e1 Fix issue where login callbacks could be called multiple times on reconnect. 2013-10-08 00:10:33 -07:00
Nick Martin
e5dd8f4f8e Better error handling if resetPassword fails. Also, handle setLoginToken(null) better. 2013-10-07 23:33:04 -07:00
Nick Martin
b09f206753 Specify userId in one other expireTokens call. Add a check to make sure we don't do it again. 2013-10-07 21:53:57 -07:00