26 Commits

Author SHA1 Message Date
David Greenspan
70a1fd6acb templates comment typo 2012-04-03 22:30:56 -07:00
David Greenspan
ee3d306adc templates changes with Geoff (a couple fixes, a couple reverts, comments) 2012-04-03 22:30:54 -07:00
David Greenspan
89ce396ae5 Overhaul liveui & templating to support "smart patch" and rendering HTML (rebase-2) 2012-04-03 22:10:20 -07:00
Geoff Schmidt
58a2d65126 Provide package 'meteor' to create the Meteor global
Fold old package 'core' into it
2012-02-23 02:21:10 -08:00
Geoff Schmidt
d1d5604976 Refactor bundler; new package API 2012-01-27 20:02:26 -08:00
Geoff Schmidt
e5eb42e55c Refactor package API/bundler 2012-01-27 20:02:24 -08:00
Nick Martin
459dac9cac Merge branch 'master' into meteor
conflicts hand resolved. deftemplate and liveui reverted to master, will re-do later.

Conflicts:
	admin/generate-dev-bundle.sh
	admin/install-s3.sh
	admin/manifest.json
	app/meteor/deploy.js
	app/meteor/meteor.js
	examples/leaderboard/leaderboard.js
	examples/unfinished/azrael/client/azrael.js
	examples/unfinished/azrael/model.js
	packages/liveui/liveui.js
	packages/templating/deftemplate.js
	packages/templating/html_scanner.js
	tests/minimongo/test.html
2012-01-18 16:14:54 -08:00
Geoff Schmidt
dc2e377695 comment cleanups, remove unused function 2012-01-17 18:49:35 -08:00
Nick Martin
73368ce348 Reapply fix lost in merge. 212cdd8b5. 2012-01-12 18:44:54 -08:00
Nick Martin
c37109eb1c Merge remote branch 'refs/remotes/origin/master' into performance
Conflicts:
	packages/deps/deps.js
2012-01-12 17:29:29 -08:00
Geoff Schmidt
58822077f4 pass context to on_invalidate handlers
(cherrypick from performance branch)
2012-01-05 13:48:57 -08:00
Nick Martin
3faff2de78 perl -pi -e 's/Sky/Meteor/g' **/* 2012-01-04 20:52:46 -08:00
Nick Martin
212cdd8b5c Fix embarrassing typo caught by IE8. 2011-12-20 17:12:06 -08:00
Geoff Schmidt
73d5cb4c5f flush completely, even if on_invalidate calls invalidate 2011-12-20 03:23:36 -08:00
Geoff Schmidt
fabfa902bf renderList reimplemented for documentfragments.
there may be bugs. leaderboard works though
2011-12-19 17:03:26 -08:00
Geoff Schmidt
7cfdfcf0b9 DocumentFragment-based rendering, with GC, draft
leaderboard works
2011-12-19 17:03:26 -08:00
Geoff Schmidt
8503c55453 even cleaner implementation of deps/session
eliminates 'once', easier to understand, saves a little memory
2011-12-19 16:39:28 -08:00
Geoff Schmidt
349d18df0c cosmetic 2011-12-19 16:39:28 -08:00
Geoff Schmidt
3666cff408 redo Sky.deps api for clarity and flexibility
especially the ability for the caller of monitor to grab the invalidation function
2011-12-19 16:39:28 -08:00
Geoff Schmidt
c13415b818 invalidations accumulate until flushed (or the event loop runs again)
this way, when you use find instead of findLive, liveui doesn't do O(n^2) work when a subscription returns n records (it used to, because it'd render the list with 1 element, then with 2, …, then with n)

flush guarantees that all changes have been committed to the DOM, for your jquerying pleasure

experimental - needs docs
2011-12-19 16:39:28 -08:00
Geoff Schmidt
e57b93a1b8 coalesce redundant dependencies created by Session 2011-12-19 16:39:28 -08:00
Geoff Schmidt
92b0be6e5f more consistent way to create Sky 2011-12-08 16:34:59 -08:00
Geoff Schmidt
aaa47bbc34 comment cleanups 2011-12-01 14:19:46 -08:00
Geoff Schmidt
a6b172e0aa comment 2011-11-28 20:44:46 -08:00
Geoff Schmidt
89b4263ec1 refactor Sky.deps for clarity 2011-11-26 22:49:42 -08:00
Nick Martin
d69c2d1f19 Initial import from old busted repo. 2011-11-17 18:35:20 -08:00