|
Issue #1158 - removed unnecessary definitions and #ifdef/#else/#endif sections
Removed definition of PRODUCT_ADBLOCKPLUS as a command-line definition for the
compiler and assume that it's always defined instead. When this symbol was
defined, so also were SUPPORT_FILTER, SUPPORT_WHITELIST, SUPPORT_DOM_TRAVERSER,
and SUPPORT_FRAME_CACHING. Thus also assume these four symbols are always
defined.
Removed all #ifdef/#else/#endif directives associated with these symbols.
Removed the contents of the associated sections as appropriate.
Assume SUPPORT_CONFIG is never defined. For this symbol, the only actual code
removed was a single static member variable and its initializer. Note that there
is no source file PluginConfig.h, as mentioned in some of the removed sections.
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+7 lines, -212 lines) |
Patch |
|
M |
adblockplus.gyp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/plugin/Config.h
|
View
|
|
2 chunks |
+0 lines, -15 lines |
1 comment
|
Download
|
|
M |
src/plugin/Plugin.cpp
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginClass.h
|
View
|
|
2 chunks |
+0 lines, -14 lines |
3 comments
|
Download
|
|
M |
src/plugin/PluginClass.cpp
|
View
|
|
7 chunks |
+1 line, -27 lines |
3 comments
|
Download
|
|
M |
src/plugin/PluginClient.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginDomTraverser.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginFilter.cpp
|
View
|
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginSettings.h
|
View
|
|
6 chunks |
+1 line, -22 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginSettings.cpp
|
View
|
|
8 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginStdAfx.h
|
View
|
|
1 chunk |
+1 line, -9 lines |
1 comment
|
Download
|
|
M |
src/plugin/PluginTab.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginTabBase.h
|
View
|
|
3 chunks |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
src/plugin/PluginTabBase.cpp
|
View
|
|
10 chunks |
+0 lines, -38 lines |
3 comments
|
Download
|
|
M |
src/plugin/PluginWbPassThrough.cpp
|
View
|
|
4 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
Total messages: 7
|