Commit Graph

22356 Commits

Author SHA1 Message Date
Geoff Schmidt
d696b9a611 New Spark.list implementation, all tests pass 2012-08-09 17:48:50 -07:00
David Greenspan
cad497de08 matching in list test (fails) 2012-08-09 15:46:56 -07:00
David Greenspan
900695b68c move rangeToHtml into DomUtils 2012-08-09 15:37:00 -07:00
David Greenspan
f35c6c1405 finish branch labels test 2012-08-09 14:49:56 -07:00
David Greenspan
aebbd14c40 fix "labeled landmarks" test 2012-08-09 13:40:49 -07:00
David Greenspan
b7e122ef40 remove leftover console.logs 2012-08-09 13:27:17 -07:00
David Greenspan
64bc13ef5b fix package.js for spark tests 2012-08-09 12:43:15 -07:00
Geoff Schmidt
1cd8e1bef6 add temporary debugging code 2012-08-08 19:20:41 -07:00
Geoff Schmidt
05444bbce5 landmark render callbacks bubble up 2012-08-08 18:55:43 -07:00
David Greenspan
b4ccc65f54 reversible spinner 2012-08-08 18:23:54 -07:00
Geoff Schmidt
80c5e2a5ca state preservation demo (not working yet) 2012-08-08 18:22:54 -07:00
David Greenspan
07113b6276 preserved spinner :) 2012-08-08 17:51:04 -07:00
David Greenspan
42356f7171 patcher_tests -> patch_tests 2012-08-08 17:36:07 -07:00
Geoff Schmidt
4ec97272b5 landmark-demo WIP 2012-08-08 17:25:28 -07:00
David Greenspan
a44b9205a0 fix Handlebars branch labels 2012-08-08 17:12:34 -07:00
Geoff Schmidt
f766cf29fc First pass of template-level API extensions
Untested, but a demo is in the works
2012-08-08 17:05:56 -07:00
David Greenspan
7ba39d96cb destroy unmaterialized landmarks
move materialize() into Renderer and have it include clean-up.

creating a duplicate landmark in the same branch is considered an
immediate error, without waiting to see if the annotation is
materialized.
2012-08-08 16:08:12 -07:00
David Greenspan
7411ae058f remove leftover console.logs 2012-08-08 15:20:55 -07:00
Geoff Schmidt
212b4b940e finish test for find/findAll on landmarks 2012-08-08 15:04:48 -07:00
David Greenspan
88d13f1862 constant landmark only gets render() if not preserved 2012-08-08 14:39:14 -07:00
David Greenspan
f3a66b59f2 fix region patching 2012-08-08 14:37:25 -07:00
David Greenspan
4ab40534fe fix tests (whew) 2012-08-08 10:55:28 -07:00
Nick Martin
92b848fe1a Update version for release 0.3.9. v0.3.9 2012-08-07 23:02:12 -07:00
David Greenspan
14b8f526fb createLandmark calls htmlFunc (fixing tests wip) 2012-08-07 22:30:58 -07:00
Nick Martin
961e985801 Update history. 2012-08-07 21:41:39 -07:00
David Greenspan
de53ca9205 more XXX TODOs 2012-08-07 19:40:48 -07:00
David Greenspan
14704f8468 naming: state->landmark, landmark->landmarkRange 2012-08-07 16:59:23 -07:00
David Greenspan
a9dac1f0aa refactor to make LabelStack 2012-08-07 16:36:57 -07:00
Avital Oliver
0a148c69d6 Merge pull request #262 from zhangcheng/auth
When logging in via Weibo, store the weibo screen name as the newly generated users's name (since that's the best we can do).
2012-08-07 11:01:53 -07:00
Geoff Schmidt
6b8a775f83 Spark.Landmark w/find. tests are WIP 2012-08-07 06:27:53 -07:00
David Greenspan
5e8b033f61 camel-case Liverange 2012-08-06 18:38:43 -07:00
Nick Martin
435aa6e0fc Merge branch 'master' into devel 2012-08-06 17:36:38 -07:00
Nick Martin
f5415248cb Deploy over SSL.
Missed this in the ssl pass last release.
2012-08-06 16:54:13 -07:00
Nick Martin
2809b9b27d Merge branch 'spiderable' into devel 2012-08-06 16:34:11 -07:00
Nick Martin
f55a824f2c Tweak docs. 2012-08-06 16:33:14 -07:00
Geoff Schmidt
8273c2727b fix 'templating' tests
(hadn't been running due to a typo)
2012-08-05 02:34:01 -07:00
Geoff Schmidt
4760a5fbfa asymptotically better way to deliver rendered
callback to landmarks. tests pass (updated for new event order)
2012-08-05 02:25:53 -07:00
Geoff Schmidt
a2e9358eec implement getCurrentLandmark (at render time!)
also getEnclosingLandmark
with tests, which pass
2012-08-05 01:47:12 -07:00
Geoff Schmidt
9c389453b6 create/match landmarks before materialize!
tests pass (after reordering expected output)
2012-08-05 00:24:55 -07:00
Geoff Schmidt
92a2391b6c move more state onto Spark._Renderer 2012-08-04 23:27:32 -07:00
Geoff Schmidt
4e43f59c74 make labelBranch take a function, not a string 2012-08-04 23:21:40 -07:00
Geoff Schmidt
f3b491fab6 move landmark creation to before onscreen
(but still after materialize)
tests pass (after adjusting expected event order)
2012-08-04 22:57:00 -07:00
Geoff Schmidt
5edbfe958d fold constant region finding into renderToRange
eliminates visitMatchingLandmarks
all tests pass
2012-08-04 10:22:04 -07:00
Geoff Schmidt
58a9c65ac2 fold preservation root finding into renderToRange
all tests pass
2012-08-04 10:14:15 -07:00
Geoff Schmidt
c298d031a0 factor computePreservations into a class 2012-08-04 10:08:39 -07:00
Geoff Schmidt
a40d5b93db find old landmarks before rendering. tests pass 2012-08-04 09:46:42 -07:00
Geoff Schmidt
39e8818402 make landmark movement happen before preservation.
tests pass.
2012-08-04 09:34:55 -07:00
Geoff Schmidt
25533167d4 factor out visitLandmarkTree. tests pass 2012-08-04 09:29:13 -07:00
Geoff Schmidt
e1f44a5d0d Refactor render and renderToRange to be peers.
Tests pass.
2012-08-04 09:03:06 -07:00
Geoff Schmidt
4aee952f73 break up Spark.render. tests pass. 2012-08-04 08:45:56 -07:00