Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 1138073002: Extensible Android font configuration parsing. (Closed)

Created:
5 years, 7 months ago by bungeman-skia
Modified:
5 years, 7 months ago
Reviewers:
djsollen
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Extensible Android font configuration parsing. The xml parsing of the Android font configuration is quite lax in what it allows. This has lead to issues with forward compatibility and extending the existing format. This has lead to some confusion about what the actual format is and how a given proposed change will affect existing files and readers. The main issue this fixes is containment. Tags are now only recognized at the correct levels in the correct containing tags. Tags which are not recognized are properly skipped. Tags which accumulate character data now only accumulate the character data in their own element as opposed to all child elements. Committed: https://skia.googlesource.com/skia/+/10b063cb91c52fd1f570ee63307fe7e68c1501f1

Patch Set 1 #

Total comments: 1

Patch Set 2 : Const, comments, length. #

Total comments: 4

Patch Set 3 : Add comments, allow NULL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+383 lines, -280 lines) Patch
M src/ports/SkFontConfigParser_android.cpp View 1 2 5 chunks +383 lines, -280 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
bungeman-skia
5 years, 7 months ago (2015-05-11 16:28:37 UTC) #2
djsollen
https://codereview.chromium.org/1138073002/diff/1/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/1138073002/diff/1/src/ports/SkFontConfigParser_android.cpp#newcode154 src/ports/SkFontConfigParser_android.cpp:154: static TagHandler fontHandler = { I find this formatting ...
5 years, 7 months ago (2015-05-11 17:49:54 UTC) #3
bungeman-skia
On 2015/05/11 17:49:54, djsollen wrote: > https://codereview.chromium.org/1138073002/diff/1/src/ports/SkFontConfigParser_android.cpp > File src/ports/SkFontConfigParser_android.cpp (right): > > https://codereview.chromium.org/1138073002/diff/1/src/ports/SkFontConfigParser_android.cpp#newcode154 > ...
5 years, 7 months ago (2015-05-11 18:22:01 UTC) #4
djsollen
yes, comments would be sufficient.
5 years, 7 months ago (2015-05-11 19:26:36 UTC) #5
bungeman-skia
Cleaned it up, added comments.
5 years, 7 months ago (2015-05-11 21:34:54 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1138073002/20001
5 years, 7 months ago (2015-05-12 13:52:38 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-12 13:58:15 UTC) #10
djsollen
https://codereview.chromium.org/1138073002/diff/20001/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/1138073002/diff/20001/src/ports/SkFontConfigParser_android.cpp#newcode52 src/ports/SkFontConfigParser_android.cpp:52: struct TagHandler { comments for the purpose of each ...
5 years, 7 months ago (2015-05-13 14:27:33 UTC) #11
djsollen
btw...those are the last of my comments so after they are addressed lgtm.
5 years, 7 months ago (2015-05-13 15:04:07 UTC) #12
bungeman-skia
https://codereview.chromium.org/1138073002/diff/20001/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/1138073002/diff/20001/src/ports/SkFontConfigParser_android.cpp#newcode52 src/ports/SkFontConfigParser_android.cpp:52: struct TagHandler { On 2015/05/13 14:27:33, djsollen wrote: > ...
5 years, 7 months ago (2015-05-13 15:41:51 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1138073002/40001
5 years, 7 months ago (2015-05-13 15:42:47 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-13 15:49:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1138073002/40001
5 years, 7 months ago (2015-05-13 15:52:06 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 15:52:21 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/10b063cb91c52fd1f570ee63307fe7e68c1501f1

Powered by Google App Engine
This is Rietveld 408576698