27 Commits

Author SHA1 Message Date
Hixie
40f162c096 Specs: define how importing element registrations works, move built-in elements to a separate module so dart:sky can be a simple library
Review URL: https://codereview.chromium.org/944873007
2015-02-20 16:40:07 -08:00
Hixie
01bec1736f Specs: pass the current <script> to the module library init()
function, rename it _init(), plumb that through AutomaticMetadata, and
move @tagname and Element.tagname to a new frameworks.md file that has
stuff that wouldn't actually be part of core Sky

Review URL: https://codereview.chromium.org/946513006
2015-02-20 13:55:52 -08:00
Hixie
2175f32677 Specs: fix a raft of syntax errors caught by actually running a syntax checker...
Review URL: https://codereview.chromium.org/943843002
2015-02-19 16:00:32 -08:00
Hixie
a93b70ab08 Specs: forgot return type for registerElement()
Review URL: https://codereview.chromium.org/944613002
2015-02-19 14:29:15 -08:00
Hixie
4b2b8f0621 Specs: clean up the last remaining mentions of documents
Review URL: https://codereview.chromium.org/940593003
2015-02-18 12:35:42 -08:00
Hixie
9f28d58d4a Specs: rename sky:core to dart:sky
Review URL: https://codereview.chromium.org/925923004
2015-02-13 14:15:48 -08:00
Hixie
e5500c19ac Specs: update elements.md to define List-based APIs in terms of Node-based APIs, and finish dartification of modules.md (and do Document->Root there)
Review URL: https://codereview.chromium.org/926733002
2015-02-13 14:07:34 -08:00
Hixie
27b44a66a3 Specs: forgot to include this line in my last commit
Review URL: https://codereview.chromium.org/912873002
2015-02-10 11:30:04 -08:00
Hixie
07598155ef Specs: found a way to make @autorun work
Review URL: https://codereview.chromium.org/908263002
2015-02-10 11:29:18 -08:00
Hixie
99be7bd226 Specs: Element registration in the Dart world
Review URL: https://codereview.chromium.org/908983002
2015-02-09 16:10:41 -08:00
Hixie
7026097310 Specs: dartification of dom.md, more work on script.md; this is highly work-in-progress and hasn't been proofread
Review URL: https://codereview.chromium.org/884713009
2015-02-06 13:06:08 -08:00
Hixie
c642550809 Specs: dartification of modules.md (incomplete)
Review URL: https://codereview.chromium.org/904793002
2015-02-05 16:00:20 -08:00
Hixie
4d62bf8723 Specs: dartification of script.md
Review URL: https://codereview.chromium.org/878453003
2015-02-05 13:44:46 -08:00
Hixie
d1efb43aeb Specs: dartification of gestures; move GestureManager from ApplicationDocument to Application; actually support bubbling
Review URL: https://codereview.chromium.org/901493005
2015-02-05 13:28:33 -08:00
Hixie
bb8b004928 Specs: try to import elements from module.exports as well as module.exports.*
Review URL: https://codereview.chromium.org/846523003
2015-01-08 11:34:17 -08:00
Hixie
4f7122c970 Specs: custom element constructor argument shouldn't clash with the module-global 'module' identifier
Review URL: https://codereview.chromium.org/829133003
2015-01-07 14:39:58 -08:00
Hixie
b050360f58 Specs: registerElement(registerElement(...)) failed to work as expected
Review URL: https://codereview.chromium.org/836153005
2015-01-06 13:23:04 -08:00
Hixie
521dca631a Specs: Move default layout manager stuff from default styles to getLayoutManager()
Specs: Make the StyleValueResolverSettings have a safer API for use in
chains of StyleValues.
Other sundry minor changes.

Review URL: https://codereview.chromium.org/836193002
2015-01-06 10:57:26 -08:00
Hixie
baec01edaf Specs: Split apis.md into dom.md, events.md, idl.md, and move the remainder into README.md and modules.md
Specs: Add runloop.md stub.
Specs: Add animation.md stub.

Review URL: https://codereview.chromium.org/824773002
2014-12-22 11:27:47 -08:00
Hixie
93cca4aed1 Specs: default exports to {} rather than document, since it makes writing modules saner
Review URL: https://codereview.chromium.org/730223002
2014-11-17 13:08:09 -08:00
Hixie
17f3f02c77 Docs: Converge on a consistent markdown style.
Review URL: https://codereview.chromium.org/699293002
2014-11-04 14:19:34 -08:00
Hixie
00a2de6490 Specs: Drop the concept of late-bound elements. An element can never be upgraded.
This has the following implications:

 - There's no createElement() function any more. If you want to create
   an element from script, you have to use its constructor.

 - There's no async element registration. The parser will block until
   all the imports are imported when you use a tag name of a custom
   element that hasn't been registered yet, in case one of the imports
   defines it.

 - If you try to construct a non-registered element in markup, it
   turns into an <error> element.

 - <div>, <span>, and <error> are new built-in elements.

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/695423004
2014-11-03 16:52:47 -08:00
Hixie
f1b8900dbf Specs: make element registrations be per-module, define how they are
exported and reexported, rename 'interface' to 'class' in the IDL, add
constructors to all registered elements

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/695043002
2014-10-31 16:18:46 -07:00
Hixie
880aa97442 Specs: Add a way for the inspector to see the registered event listeners
Review URL: https://codereview.chromium.org/687353003
2014-10-29 14:15:04 -07:00
Hixie
5f9ecf9f72 Specs: Pass the module last so that if we add other values later we don't shift things in the arguments array
Review URL: https://codereview.chromium.org/689763002
2014-10-29 13:37:31 -07:00
Hixie
17cc096738 Docs: fix markdown in various files, update the README mildly
Review URL: https://codereview.chromium.org/678693003
2014-10-24 14:14:34 -07:00
Hixie
420d715e54 Specs: Module overview
Review URL: https://codereview.chromium.org/678803002
2014-10-24 13:53:15 -07:00