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

Issue 13699004: first draft of error checking / reporting API (Closed)

Created:
7 years, 8 months ago by humper
Modified:
7 years, 8 months ago
Reviewers:
scroggo, bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

first draft of error checking / reporting API BUG= Committed: https://code.google.com/p/skia/source/detail?r=8566

Patch Set 1 #

Total comments: 22

Patch Set 2 : Several cleanups from Leon #

Total comments: 8

Patch Set 3 : documentation, enum renaming for consistency #

Total comments: 1

Patch Set 4 : param nits #

Patch Set 5 : Remove need for error init #

Total comments: 4

Patch Set 6 : remove unnecessary include, delete #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -1 line) Patch
M gyp/core.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
M gyp/tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A include/core/SkError.h View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download
A src/core/SkError.cpp View 1 2 3 4 5 1 chunk +143 lines, -0 lines 0 comments Download
A src/core/SkErrorInternals.h View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
M src/core/SkPath.cpp View 1 2 2 chunks +10 lines, -1 line 0 comments Download
A tests/ErrorTest.cpp View 1 2 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
humper
Includes a test showing how to use the error checking, and negative radii checking for ...
7 years, 8 months ago (2013-04-08 16:41:09 UTC) #1
scroggo
https://codereview.chromium.org/13699004/diff/1/src/core/SkError.cpp File src/core/SkError.cpp (right): https://codereview.chromium.org/13699004/diff/1/src/core/SkError.cpp#newcode3 src/core/SkError.cpp:3: * Copyright 2011 Google Inc. 2013 https://codereview.chromium.org/13699004/diff/1/src/core/SkError.cpp#newcode22 src/core/SkError.cpp:22: delete ...
7 years, 8 months ago (2013-04-08 19:24:53 UTC) #2
humper
https://codereview.chromium.org/13699004/diff/1/src/core/SkError.cpp File src/core/SkError.cpp (right): https://codereview.chromium.org/13699004/diff/1/src/core/SkError.cpp#newcode3 src/core/SkError.cpp:3: * Copyright 2011 Google Inc. On 2013/04/08 19:24:53, scroggo ...
7 years, 8 months ago (2013-04-08 19:43:23 UTC) #3
reed1
https://codereview.chromium.org/13699004/diff/6001/include/core/SkError.h File include/core/SkError.h (right): https://codereview.chromium.org/13699004/diff/6001/include/core/SkError.h#newcode11 include/core/SkError.h:11: typedef enum { I think all of our other ...
7 years, 8 months ago (2013-04-08 19:47:31 UTC) #4
reed1
Alternate crazy idea for organizing this... class SkError { public: enum Type { ... }; ...
7 years, 8 months ago (2013-04-08 19:48:25 UTC) #5
humper
https://codereview.chromium.org/13699004/diff/6001/include/core/SkError.h File include/core/SkError.h (right): https://codereview.chromium.org/13699004/diff/6001/include/core/SkError.h#newcode11 include/core/SkError.h:11: typedef enum { Okay, I'll turn these around. On ...
7 years, 8 months ago (2013-04-08 20:10:55 UTC) #6
scroggo
lgtm https://codereview.chromium.org/13699004/diff/10001/include/core/SkError.h File include/core/SkError.h (right): https://codereview.chromium.org/13699004/diff/10001/include/core/SkError.h#newcode70 include/core/SkError.h:70: * \param cb The callback function to be ...
7 years, 8 months ago (2013-04-08 20:38:42 UTC) #7
reed1
Can we make any TLS stuff be lazily initialized, so we don't have to require ...
7 years, 8 months ago (2013-04-08 20:49:57 UTC) #8
humper
On 2013/04/08 20:49:57, reed1 wrote: > Can we make any TLS stuff be lazily initialized, ...
7 years, 8 months ago (2013-04-08 20:58:36 UTC) #9
scroggo
https://codereview.chromium.org/13699004/diff/1028/src/core/SkError.cpp File src/core/SkError.cpp (right): https://codereview.chromium.org/13699004/diff/1028/src/core/SkError.cpp#newcode31 src/core/SkError.cpp:31: SkDELETE_ARRAY(reinterpret_cast<SkErrorCallbackFunction *>(v)); Should now be SkDELETE, since an array ...
7 years, 8 months ago (2013-04-08 21:01:34 UTC) #10
humper
https://codereview.chromium.org/13699004/diff/1028/src/core/SkError.cpp File src/core/SkError.cpp (right): https://codereview.chromium.org/13699004/diff/1028/src/core/SkError.cpp#newcode31 src/core/SkError.cpp:31: SkDELETE_ARRAY(reinterpret_cast<SkErrorCallbackFunction *>(v)); On 2013/04/08 21:01:34, scroggo wrote: > Should ...
7 years, 8 months ago (2013-04-08 21:15:18 UTC) #11
scroggo
lgtm
7 years, 8 months ago (2013-04-08 21:23:26 UTC) #12
reed1
lgtm
7 years, 8 months ago (2013-04-08 21:26:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/humper@google.com/13699004/3004
7 years, 8 months ago (2013-04-08 21:33:00 UTC) #14
humper
7 years, 8 months ago (2013-04-08 21:44:20 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 manually as r8566 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698