1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00
serenity/Libraries/LibWeb/DOM
Andreas Kling 1ffffa0053 LibWeb: Start generating JS wrappers from (simplified) WebIDL :^)
This patch introduces a hackish but functional IDL parser and uses it
to generate the JS bindings for Node and Document.

We'll see how far this simple parser takes us. The important thing
right now is generating code, not being a perfect IDL parser. :^)
2020-06-21 00:58:55 +02:00
..
Attribute.h LibWeb: Move Attribute to its own header file 2020-05-22 21:45:00 +02:00
AttributeNames.cpp LibWeb: Special-case initialization of HTML::AttributeNames::class_ 2020-06-03 22:06:52 +02:00
AttributeNames.h LibWeb: Add "data" to HTML::AttributeNames 2020-06-13 22:21:25 +02:00
CanvasRenderingContext2D.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
CanvasRenderingContext2D.h LibWeb: Add CanvasRenderingContext2D.canvas 2020-05-21 01:24:36 +02:00
CharacterData.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
CharacterData.h LibWeb: Start implementing character token parsing 2020-05-24 23:54:22 +02:00
Comment.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Comment.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Document.cpp LibJS: Make more Interpreter functions take a GlobalObject& 2020-06-08 21:25:16 +02:00
Document.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Document.idl LibWeb: Start generating JS wrappers from (simplified) WebIDL :^) 2020-06-21 00:58:55 +02:00
DocumentFragment.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
DocumentType.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
DocumentType.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Element.cpp LibWeb: Force a full relayout if an element's CSS display changes 2020-06-15 17:56:00 +02:00
Element.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
ElementFactory.cpp LibWeb: Add basic <object> element support 2020-06-13 22:24:49 +02:00
ElementFactory.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
Event.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
EventListener.cpp LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventListener.h LibWeb: Make EventListener::function() return a reference 2020-04-29 12:46:20 +02:00
EventTarget.cpp LibWeb: Use FlyString for DOM event names 2020-03-22 19:53:22 +01:00
EventTarget.h LibWeb: Use FlyString for DOM event names 2020-03-22 19:53:22 +01:00
HTMLAnchorElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLAnchorElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBlinkElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBlinkElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBodyElement.cpp LibWeb: Fix <body> and <img> elements not parsing their class attribute 2020-06-04 16:04:52 +02:00
HTMLBodyElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLBRElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLBRElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLCanvasElement.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
HTMLCanvasElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLElement.h LibWeb: Use HTML::AttributeNames::foo instead of FlyString("foo") 2020-06-03 21:53:00 +02:00
HTMLFontElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLFontElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLFormElement.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
HTMLFormElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLHeadElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHeadingElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHRElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLHtmlElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLHtmlElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLIFrameElement.cpp LibWeb: Don't choke when trying to render a document-less <iframe> 2020-06-14 15:32:38 +02:00
HTMLIFrameElement.h LibWeb: Don't choke when trying to render a document-less <iframe> 2020-06-14 15:32:38 +02:00
HTMLImageElement.cpp LibWeb: Move "visible in viewport" state tracking to ImageLoader 2020-06-14 19:32:23 +02:00
HTMLImageElement.h LibWeb: Move "visible in viewport" state tracking to ImageLoader 2020-06-14 19:32:23 +02:00
HTMLInputElement.cpp AK: Make string-to-number conversion helpers return Optional 2020-06-12 21:28:55 +02:00
HTMLInputElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLLinkElement.cpp LibWeb: Don't load stylesheets with rel="alternate" 2020-06-15 20:31:18 +02:00
HTMLLinkElement.h LibWeb: Don't load stylesheets with rel="alternate" 2020-06-15 20:31:18 +02:00
HTMLObjectElement.cpp LibWeb: Add basic <object> element support 2020-06-13 22:24:49 +02:00
HTMLObjectElement.h LibWeb: Add basic <object> element support 2020-06-13 22:24:49 +02:00
HTMLScriptElement.cpp LibWeb: Just ignore <script> elements that failed to load the script 2020-06-15 18:37:48 +02:00
HTMLScriptElement.h LibWeb: Just ignore <script> elements that failed to load the script 2020-06-15 18:37:48 +02:00
HTMLStyleElement.cpp LibWeb: Process style sheets in document order 2020-06-04 16:06:32 +02:00
HTMLStyleElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLTableCellElement.cpp LibWeb: Turn <td align> into CSS text-align 2020-06-13 15:16:56 +02:00
HTMLTableCellElement.h LibWeb: Turn <td bgcolor> into background-color 2020-06-12 22:47:51 +02:00
HTMLTableElement.cpp LibWeb: Turn <table bgcolor> into CSS background-color 2020-06-13 12:49:20 +02:00
HTMLTableElement.h LibWeb: Turn <table width> into the CSS width property 2020-06-12 22:52:38 +02:00
HTMLTableRowElement.cpp LibWeb: Add (stub) HTMLTable{,Cell,Row}Element C++ classes 2020-06-07 23:10:45 +02:00
HTMLTableRowElement.h LibWeb: Add HTML::TagNames namespace for global tag name FlyStrings 2020-06-07 23:27:03 +02:00
HTMLTitleElement.cpp LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
HTMLTitleElement.h LibWeb: Use FlyString for Element tag names 2020-03-22 19:12:10 +01:00
ImageData.cpp LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize 2020-06-10 10:59:04 +02:00
ImageData.h LibWeb: Add ImageData objects and implement 2D context putImageData() 2020-04-21 23:49:51 +02:00
MouseEvent.h Meta: Add missing copyright headers 2020-04-06 11:09:01 +02:00
Node.cpp LibWeb: Start generating JS wrappers from (simplified) WebIDL :^) 2020-06-21 00:58:55 +02:00
Node.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Node.idl LibWeb: Start generating JS wrappers from (simplified) WebIDL :^) 2020-06-21 00:58:55 +02:00
NonElementParentNode.h LibWeb: Add cached global attribute name FlyStrings 2020-05-26 23:45:43 +02:00
ParentNode.cpp LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
ParentNode.h LibWeb: Add ParentNode::remove_all_children() 2020-03-25 18:52:03 +01:00
TagNames.cpp LibWeb: Use HTML::TagNames globals in the new HTML parser 2020-06-07 23:53:16 +02:00
TagNames.h LibWeb: Use HTML::TagNames globals in the new HTML parser 2020-06-07 23:53:16 +02:00
Text.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
Text.h LibWeb: Make Element::tag_name() return a const FlyString& 2020-06-16 19:09:14 +02:00
Window.cpp LibWeb: Give the DOM Window object a (weak) pointer to its JS wrapper 2020-06-20 17:50:48 +02:00
Window.h LibWeb: Give the DOM Window object a (weak) pointer to its JS wrapper 2020-06-20 17:50:48 +02:00
XMLHttpRequest.cpp LibWeb: Move ResourceLoader into a new Loader/ directory 2020-06-01 20:42:50 +02:00
XMLHttpRequest.h LibWeb: Add XMLHttpRequest.readyState and constants 2020-04-23 11:03:17 +02:00