Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29613616: Issue 6064 - Put C++ code into a configurable namespace (Closed)

Created:
Nov. 21, 2017, 1:53 p.m. by sergei
Modified:
Feb. 7, 2018, 2:44 p.m.
Reviewers:
hub
Base URL:
https://github.com/adblockplus/adblockpluscore.git
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Fix debug.h to be aligned with assert2 (define vs function) and get rid of a warning in generator.cpp #

Total comments: 8

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -40 lines) Patch
M compiled/ElemHide.h View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M compiled/ElemHide.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/ElemHideEmulation.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M compiled/ElemHideEmulation.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/FilterNotifier.h View 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/IntMap.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/Map.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/String.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M compiled/StringMap.h View 1 2 3 4 3 chunks +7 lines, -3 lines 1 comment Download
M compiled/StringScanner.h View 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/Utils.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M compiled/Utils.cpp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A + compiled/base.h View 1 2 1 chunk +8 lines, -6 lines 3 comments Download
M compiled/bindings/generator.h View 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/bindings/generator.cpp View 1 3 chunks +6 lines, -2 lines 0 comments Download
M compiled/bindings/main.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/bindings/runtime_utils.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/debug.h View 1 5 chunks +12 lines, -1 line 0 comments Download
M compiled/filter/ActiveFilter.h View 1 2 3 4 3 chunks +7 lines, -2 lines 0 comments Download
M compiled/filter/ActiveFilter.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/BlockingFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/BlockingFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/CommentFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/CommentFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideBase.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideBase.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideEmulationFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideEmulationFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideException.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideException.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/ElemHideFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/Filter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/Filter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/InvalidFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/InvalidFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/RegExpFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/RegExpFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/filter/WhitelistFilter.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/filter/WhitelistFilter.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/intrusive_ptr.h View 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/library.h View 2 chunks +14 lines, -8 lines 0 comments Download
M compiled/library.cpp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M compiled/storage/FilterStorage.h View 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/storage/FilterStorage.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/subscription/DownloadableSubscription.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/subscription/DownloadableSubscription.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/subscription/Subscription.h View 1 2 3 4 chunks +7 lines, -2 lines 0 comments Download
M compiled/subscription/Subscription.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/subscription/UserDefinedSubscription.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M compiled/subscription/UserDefinedSubscription.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M compiled/traceInit.cpp View 1 chunk +15 lines, -10 lines 0 comments Download
A + compiled/user-config.h View 1 2 1 chunk +14 lines, -5 lines 0 comments Download
M test/compiled/RegExp.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M test/compiled/String.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M test/compiled/StringMap.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9
sergei
Nov. 21, 2017, 1:57 p.m. (2017-11-21 13:57:36 UTC) #1
hub
https://codereview.adblockplus.org/29613616/diff/29613714/compiled/base.h File compiled/base.h (right): https://codereview.adblockplus.org/29613616/diff/29613714/compiled/base.h#newcode22 compiled/base.h:22: # define ABP_USER_CONFIG "user.h" I would call this "user-config.h". ...
Nov. 21, 2017, 4:48 p.m. (2017-11-21 16:48:40 UTC) #2
sergei
https://codereview.adblockplus.org/29613616/diff/29613714/compiled/base.h File compiled/base.h (right): https://codereview.adblockplus.org/29613616/diff/29613714/compiled/base.h#newcode22 compiled/base.h:22: # define ABP_USER_CONFIG "user.h" On 2017/11/21 16:48:39, hub wrote: ...
Nov. 22, 2017, 9:39 a.m. (2017-11-22 09:39:28 UTC) #3
sergei
rebased
Dec. 12, 2017, 12:50 p.m. (2017-12-12 12:50:19 UTC) #4
sergei
rebased, can we prioritize it because it seems harder and harder to upload patches with ...
Feb. 6, 2018, 10:03 a.m. (2018-02-06 10:03:01 UTC) #5
sergei
https://codereview.adblockplus.org/29613616/diff/29690786/compiled/StringMap.h File compiled/StringMap.h (right): https://codereview.adblockplus.org/29613616/diff/29690786/compiled/StringMap.h#newcode27 compiled/StringMap.h:27: namespace StringMap_internal here is actually an unrelated change, we ...
Feb. 6, 2018, 10:03 a.m. (2018-02-06 10:03:19 UTC) #6
hub
https://codereview.adblockplus.org/29613616/diff/29690786/compiled/base.h File compiled/base.h (left): https://codereview.adblockplus.org/29613616/diff/29690786/compiled/base.h#oldcode24 compiled/base.h:24: #define BINDINGS_EXPORTED Where did these go?
Feb. 6, 2018, 2:59 p.m. (2018-02-06 14:59:33 UTC) #7
sergei
https://codereview.adblockplus.org/29613616/diff/29690786/compiled/base.h File compiled/base.h (left): https://codereview.adblockplus.org/29613616/diff/29690786/compiled/base.h#oldcode24 compiled/base.h:24: #define BINDINGS_EXPORTED On 2018/02/06 14:59:31, hub wrote: > Where ...
Feb. 6, 2018, 3:01 p.m. (2018-02-06 15:01:59 UTC) #8
hub
Feb. 6, 2018, 3:05 p.m. (2018-02-06 15:05:02 UTC) #9
LGTM

https://codereview.adblockplus.org/29613616/diff/29690786/compiled/base.h
File compiled/base.h (left):

https://codereview.adblockplus.org/29613616/diff/29690786/compiled/base.h#old...
compiled/base.h:24: #define BINDINGS_EXPORTED
On 2018/02/06 15:01:59, sergei wrote:
> On 2018/02/06 14:59:31, hub wrote:
> > Where did these go?
> 
> base.h is a new file but Rietveld thinks that it's copied from another file,
so
> basically these lines didn't go because they didn't exist.

ok

Powered by Google App Engine
This is Rietveld