aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bookmaker/bookmaker.cpp
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2017-08-03 17:14:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-03 21:36:08 +0000
commitbad5ad7d601b217396ed17ba914172323d62cfe5 (patch)
tree6bb5437585bb79fb9ec182ae606b77f7c5de0c4d /tools/bookmaker/bookmaker.cpp
parent161f9a6dc65ff04bb63ef29815b8af881963571b (diff)
canvas include checkpoint
All fixes to bookmaker to allow creating SkCanvas.h Docs-Preview: https://skia.org/?cl=29022 TBR=caryclark@google.com Bug: skia: 6898 Change-Id: If10638fbc77cfe680f21868c97f9c0643b87ebf9 Reviewed-on: https://skia-review.googlesource.com/29022 Commit-Queue: Cary Clark <caryclark@skia.org> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tools/bookmaker/bookmaker.cpp')
-rw-r--r--tools/bookmaker/bookmaker.cpp31
1 files changed, 1 insertions, 30 deletions
diff --git a/tools/bookmaker/bookmaker.cpp b/tools/bookmaker/bookmaker.cpp
index 7a0e0851fe..939519ef29 100644
--- a/tools/bookmaker/bookmaker.cpp
+++ b/tools/bookmaker/bookmaker.cpp
@@ -21,37 +21,11 @@ remove anonymous header, e.g. Enum SkPaint::::anonymous_2
Text Encoding anchors in paragraph are echoed instead of being linked to anchor names
also should not point to 'undocumented' since they are resolvable links
#Member lost all formatting
-inconsistent use of capitalization in #Param
#List needs '# content ##', formatting
consts like enum members need fully qualfied refs to make a valid link
enum comments should be disallowed unless after #Enum and before first #Const
... or, should look for enum comments in other places
-// in includeWriter.cpp
-lf preceding #A is ignored
-
-Text_Size should become SkPaint's text size if root is not Paint?
-100 column limit done manually -- either error or rewrap
-
-SkPaint.bmh line 22:
-Insert 'the' after 'regardless of' ?
-somewhat intentional. Imagine SkPaint::kXXX is 'Joe'. Then it shouldn't read 'regardless
-of the Joe setting.' To make that work as a proper pronoun, maybe it should read:
-'regardless of SkPaint's kAntiAlias_Flag setting or 'regardless of SkPaint's anti-alias setting'.
-It's the way it is so that SkPaint::kAntiAlias_Flag can be a link to the definition.
-Its awkwardness is compounded because this description is technically outside of 'class SkPaint'
-so a reference to kAntiAlias_Flag by itself doesn't know that it is defined inside SkPaint,
-but that's a detail I could work around.
-
-SkPaint.bmh line 319, 400, 444
-more complications I haven't figured out. I don't know when or how to pluralize
-references. This should be "objects' reference counts" probably, but then
-I lose the link to SkRefCnt.
-
-SkPaint.bmh line 2639
-I'd argue that 'fill path' is OK, in that is it the path that will fill, not the path
-that has already been filled. I see the awkwardness though, and will add it to my bug list.
-
*/
static string normalized_name(string name) {
@@ -1649,7 +1623,7 @@ void TextParser::reportWarning(const char* errorStr) const {
spaces -= lineLen;
lineLen = err.lineLength();
}
- SkDebugf("%s(%zd): error: %s\n", fFileName.c_str(), err.fLineCount, errorStr);
+ SkDebugf("\n%s(%zd): error: %s\n", fFileName.c_str(), err.fLineCount, errorStr);
if (0 == lineLen) {
SkDebugf("[blank line]\n");
} else {
@@ -1856,9 +1830,6 @@ string BmhParser::uniqueName(const string& base, MarkType markType) {
for (const auto& iter : fParent->fChildren) {
if (markType == iter->fMarkType) {
if (iter->fName == numBuilder) {
- if (MarkType::kMethod == markType) {
- SkDebugf("");
- }
fCloned = true;
numBuilder = builder + '_' + to_string(number);
goto tryNext;