iska
3deeb0138f
Update jazzy.yaml for 2.1.1
2017-10-13 23:03:38 +02:00
iska
b358a08f30
Add Changelog entry for HTMLKit 2.1.1
2017-10-13 23:03:19 +02:00
iska
c1cd1c0831
Merge branch 'release/2.1.0'
2.1.0
2017-10-12 22:44:49 +02:00
iska
1101556cfe
Bump HTMLKit version to 2.1.0
2017-10-12 22:44:39 +02:00
iska
839a724432
Update podspec for 2.1.0
2017-10-12 22:44:39 +02:00
iska
300705cb63
Update jazzy.yaml for 2.1.0
2017-10-12 22:44:39 +02:00
iska
1963c010f9
Add Changelog entry for HTMLKit 2.1.0
2017-10-12 22:44:39 +02:00
iska
89ef6bc101
Update README for master branch
2017-10-12 22:44:39 +02:00
iska
9069923e82
Update handling for ParseErrorTokens in the HTML Parser
2017-10-12 22:25:46 +02:00
iska
c16c647394
Add codecove.yml and update badges in README
2017-09-28 00:00:23 +02:00
iska
27b8eaac67
Add codecov after-script to upload coverage reports
2017-09-27 18:58:22 +02:00
iska
956c46ec45
Fix travis destinations for iOS 9.3 and 10.3
2017-09-27 00:11:56 +02:00
iska
cb7e5d519d
Update travis.yml for Xcode 9 and iOS 11
2017-09-26 22:38:09 +02:00
iska
4e1959bd81
Fix strict-prototypes blocks declarations throughout codebase
2017-09-23 02:31:48 +02:00
iska
f0d9817c68
Restore default modulemap file name
...
Closes #13
2017-09-23 02:27:35 +02:00
iska
fee2d14ffc
Update project for Xcode 9
2017-09-23 02:26:46 +02:00
iska
4291840a53
Update .travis.yml
2017-09-10 15:56:36 +02:00
iska
4b7c260738
Update HTML Spec fixture to source as of 2017.09.09
2017-09-10 02:26:39 +02:00
iska
4a41b89ecf
Update tokenizer implementation as per spec as of 2017.09.09
...
- Use new initial states in tests according to:
https://github.com/html5lib/html5lib-tests/pull/101
- Implement tokenization errors introduced in:
https://github.com/whatwg/html/pull/2701
https://github.com/html5lib/html5lib-tests/pull/92
2017-09-10 02:23:31 +02:00
iska
d4ff2e3869
Add error-code property for ParseError token
...
In addition to the detailed reason message parse errors have an
error-code property that is specified in the WHATWG HTML spec.
2017-09-07 22:08:28 +02:00
iska
6dee6c1e74
Update input stream reader error handling
...
Use newly specified parse errors:
https://html.spec.whatwg.org/multipage/parsing.html#parse-errors
2017-09-07 22:05:02 +02:00
iska
20ebd8c603
Update html5lib-tests to latest commit as of 2017.09.06
2017-09-06 22:14:34 +02:00
iska
c002299247
Merge branch 'release/2.0.6' into develop
2017-05-02 15:49:16 +02:00
iska
bb6d7ccc67
Merge branch 'release/2.0.6'
2.0.6
2017-05-02 15:49:15 +02:00
iska
bf655c7ea2
Bump HTMLKit version to 2.0.6
2017-05-02 15:49:08 +02:00
iska
6cd03b4eed
Update podspec for 2.0.6
2017-05-02 15:48:54 +02:00
iska
cc0734e470
Update jazzy.yaml for 2.0.6
2017-05-02 15:48:45 +02:00
iska
eca6098361
Add Changelog entry for HTMLKit 2.0.6
2017-05-02 15:48:36 +02:00
iska
2cd5098d8a
Update destinations and simulators in travis.yml
2017-05-02 14:01:48 +02:00
iska
514d23f7a0
Update SDK versions in travis.yml
2017-05-02 13:52:16 +02:00
iska
2446da3a6d
Update travis xcode image to 8.3
2017-05-02 13:50:35 +02:00
iska
644c180f81
Improve memory allocation/consumption in the Stack of Open Elements
...
Instead of allocating new dictionaries for the scope elements, the scope
checks are just unrolled in-place. Now we have 6 almost identical methods
that differ only in the inline-check-method. Not optimal but minimal
memory and performance penalty.
This should reduce memory consumption and increase the performance
while parsing, see issue #10
2017-04-26 21:31:55 +02:00
iska
47ec0867a8
Improve reverseObjectEnumerator usage while parsing HTML
...
Do not use the `allObjects` call on the reverse enumerators in the Parser
and the List of Active Formatting Elements to prevent allocating a new
array of the unenumerated objects.
This should reduce memory consumption while parsing, see issue #10
2017-04-25 00:12:39 +02:00
iska
1cd1a915d3
Replace NSStringFromSelector calls with constants in HTMLNode
...
This should reduce allocations during HTML parsing. See Issue #10
2017-04-24 22:58:49 +02:00
iska
8379cee44f
Fix lazy allocation of childNodes Set in HTMLNode
...
The call self.childNodes always allocates the collection even if a nil
value is acceptable, i.e. hasChildNodes should return true even if the
childNodes Set is nil but should not allocate it yet.
Hence self.childNodes should only be used when appending child nodes.
2017-04-24 22:36:02 +02:00
iska
4094f51458
Merge branch 'release/2.0.5'
2.0.5
2017-04-19 00:02:10 +02:00
iska
57c931aece
Merge branch 'release/2.0.5' into develop
2017-04-19 00:02:10 +02:00
iska
76b379448b
Bump HTMLKit version to 2.0.5
2017-04-18 23:59:57 +02:00
iska
49bdfa018e
Update podspec for 2.0.5
2017-04-18 23:59:37 +02:00
iska
746ef2ea3b
Update jazzy.yaml for 2.0.5
2017-04-18 23:59:27 +02:00
iska
653f6cdf7e
Add Changelog entry for HTMLKit 2.0.5
2017-04-18 23:58:46 +02:00
iska
d9670cddf4
Add workaround for Xcode8.3 issue with modulemaps
...
This should be the fix for #12 . However the issue will stay open until
tested with Xcode 8.3.1
2017-04-09 20:58:25 +02:00
iska
30389c5010
Add an autorelease pool in the Tokenizer’s iteration method
2017-04-09 20:54:01 +02:00
iska
14dfc0b854
Replace performSelector with for-loop in HTML Node methods
2017-04-09 20:53:11 +02:00
iska
b693a60358
Use lazy allocation for underlying collections in HTML Nodes
...
Do not allocate empty collections for child nodes or attributes when
initializing new HTML Nodes or Elements. These are initialized the first
time they are accessed.
Analogously, the mutable data string of CharacterData is also allocated
with the empty string on first access.
2017-04-09 20:52:06 +02:00
iska
d35e6c4d91
Fix memory leaks in CSS Input Stream
...
- Release allocated instances when returning nil
- Pass autoreleased instances on valid return value
2017-04-09 20:47:55 +02:00
iska
c353512a65
Merge branch 'release/2.0.4' into develop
2017-04-03 22:21:43 +02:00
iska
aaee85909b
Merge branch 'release/2.0.4'
2.0.4
2017-04-03 22:21:42 +02:00
iska
8d3f24ef8b
Bump HTMLKit version to 2.0.4
2017-04-03 22:21:15 +02:00
iska
b652935739
Update podspec for 2.0.4
2017-04-03 22:20:51 +02:00