iska
|
7c4e39af07
|
Add current location property to Input Stream reader
Can be used for better parse errors reporting
|
2014-10-24 01:07:07 +02:00 |
|
iska
|
9e198c9766
|
Add init method to Tokenizer header and extend to accept string parameter
|
2014-10-24 01:06:21 +02:00 |
|
iska
|
5d3ea61a04
|
Refactor HTML Tokens into separate files
|
2014-10-23 23:52:43 +02:00 |
|
iska
|
98357f9d4b
|
Add new virtual project group for Tokenizing implementation
|
2014-10-23 20:14:20 +02:00 |
|
iska
|
6daac059bd
|
Add project file with entries for Element class
left out mistakenly in a previous commit: 22131d5ef1
|
2014-10-23 20:13:01 +02:00 |
|
iska
|
d2507dcd5b
|
Use little endian UTF-32 encoding for char-string conversion
|
2014-10-23 20:08:02 +02:00 |
|
iska
|
968a6aff79
|
Implement named character entity replacement
https://html.spec.whatwg.org/multipage/syntax.html#tokenizing-character-references
|
2014-10-23 20:07:30 +02:00 |
|
iska
|
e88f0ae3e3
|
Add class with Named Character Reference dictionary
https://html.spec.whatwg.org/multipage/syntax.html#named-character-references
|
2014-10-15 22:41:54 +02:00 |
|
iska
|
5597323fbf
|
Add a Numeric Entity Replacement table to replace the switch-statement for windows1525 trick
|
2014-10-12 19:12:23 +02:00 |
|
iska
|
7489adc285
|
Fix class cast when emitting character token in HTML Tokenizer
|
2014-10-05 19:17:01 +02:00 |
|
iska
|
29f20923bc
|
Add handling of tag token emit errors in HTML Tokenizer
|
2014-10-05 19:16:37 +02:00 |
|
iska
|
680a84f389
|
Fix typo in HTML Input Stream error domain
|
2014-10-05 19:15:44 +02:00 |
|
iska
|
b0391dc7ba
|
Add fast enumeration for HTML Tokens in the Tokenizer class
|
2014-10-05 15:48:01 +02:00 |
|
iska
|
22131d5ef1
|
Add class stub for HTML Element
|
2014-10-05 15:35:41 +02:00 |
|
iska
|
1043b5dabd
|
Add header with HTML Insertion Modes enum
https://html.spec.whatwg.org/multipage/syntax.html#the-insertion-mode
|
2014-10-05 15:30:39 +02:00 |
|
iska
|
17f2f32350
|
Add implementation for HTML Tokenization
- The Token classes are all defined in one single header right now and do not include an implmentation.
- The Parser class is currently only a stub
HTML Tokenization Spec: https://html.spec.whatwg.org/multipage/syntax.html#tokenization
|
2014-10-04 23:30:32 +02:00 |
|
iska
|
c5b60e2977
|
Add method to consume characters up-to a given string in Input Stream Reader
|
2014-10-04 23:28:00 +02:00 |
|
iska
|
721839f54a
|
Add class stub for HTML Parser
|
2014-10-04 21:58:25 +02:00 |
|
iska
|
0519ff597d
|
Rename method to "emit" prefix instead of "report" in Input Stream errors for naming consistency
|
2014-10-04 21:57:23 +02:00 |
|
iska
|
19ae5b0516
|
Use explicit values for current-consumed characters in Input Stream Reader class
|
2014-10-04 21:56:22 +02:00 |
|
iska
|
26e7ba35d0
|
Fix whitespace and indentation in several classes
|
2014-10-04 21:55:27 +02:00 |
|
iska
|
adabe9c3f3
|
Add methods to consume given strings at the current location in Input Stream Reader
|
2014-10-04 21:54:15 +02:00 |
|
iska
|
bfd9c9df97
|
Add implementation to consume a number reference
https://html.spec.whatwg.org/multipage/syntax.html#consume-a-character-reference
|
2014-09-22 00:31:44 +02:00 |
|
iska
|
ebcbbbf693
|
Add initial implementation for "consuming a character reference"
https://html.spec.whatwg.org/multipage/syntax.html#consume-a-character-reference
|
2014-09-22 00:20:06 +02:00 |
|
iska
|
b74c67498b
|
Add methods to emit HTML tokens in the Tokenizer class
|
2014-09-22 00:19:18 +02:00 |
|
iska
|
5724912986
|
Add central definitions for characters used throughout HTML parsing
Several inlined functions are also defined to perform checks in read characters
|
2014-09-22 00:18:27 +02:00 |
|
iska
|
12bcac50bc
|
Add methods to consume hex and decimal numbers in Stream Reader
|
2014-09-22 00:17:11 +02:00 |
|
iska
|
f7d7d987f3
|
Add method stubs for tokenizer states
These states are defined in the HTML standard:
https://html.spec.whatwg.org/multipage/syntax.html#tokenization
|
2014-09-20 23:08:45 +02:00 |
|
iska
|
0400fb74aa
|
Add HTML token definitions
Implementation will follow when said tokens are used during tokenization
|
2014-09-20 23:06:48 +02:00 |
|
iska
|
5cc13d0b2a
|
Add methods to mark location and rewind-to-mark in HTML stream reader
This will allows us to unconsume/reconsume characters during tokenization
|
2014-09-20 23:05:55 +02:00 |
|
iska
|
28623d951c
|
Define HTML tekonization states
|
2014-09-20 23:04:43 +02:00 |
|
iska
|
fb01febfca
|
Add class stubs for HTML tokenizer implementation
https://html.spec.whatwg.org/multipage/syntax.html#tokenization
|
2014-09-20 23:04:23 +02:00 |
|
iska
|
fb9dcaa608
|
Add several checks and error reporting while processing the input stream
Control and undefined character, isolated surrogates and carriage returns are handled according to the standard
|
2014-09-15 23:24:16 +02:00 |
|
iska
|
1fc1f1c71c
|
Add initial implementation for a HTML Input Stream processor
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#preprocessing-the-input-stream
|
2014-09-15 23:03:33 +02:00 |
|
iska
|
b220b7d561
|
Add static library target for iOS build
|
2014-09-15 22:32:32 +02:00 |
|
iska
|
d3be396ffc
|
Add Xcode framework project for HTMLKit
|
2014-09-15 22:26:03 +02:00 |
|
iska
|
ecf9085b31
|
Initial Commit
|
2014-09-15 22:25:25 +02:00 |
|