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

Issue 11013110: Cleanup (Closed)

Created:
July 5, 2013, 3:28 a.m. by Oleksandr
Modified:
Aug. 8, 2013, 2:25 p.m.
Visibility:
Public.

Description

Cleanup

Patch Set 1 #

Total comments: 32

Patch Set 2 : More refactoring. Removing main thread, tab counting. Implementing SetPref and GetPref. Addressing … #

Total comments: 15

Patch Set 3 : SetPref/GetPref type safety. Comments addressed. #

Total comments: 12

Patch Set 4 : Whole cleanup + comments addressed #

Total comments: 6

Patch Set 5 : Refactoring CallAdblockPlusEngine #

Total comments: 17

Patch Set 6 : Minor CallEngine refactoring #

Total comments: 6

Patch Set 7 : More beautification and addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -5332 lines) Patch
M .hgsubstate View 1 2 3 5 1 chunk +1 line, -1 line 0 comments Download
M adblockplus.gyp View 1 2 3 5 1 chunk +0 lines, -7 lines 0 comments Download
M src/engine/main.cpp View 1 2 3 4 5 6 1 chunk +78 lines, -0 lines 0 comments Download
M src/plugin/AdblockPlus.rc View 1 2 3 4 5 6 1 chunk +1 line, -7 lines 0 comments Download
M src/plugin/AdblockPlusClient.h View 1 2 3 4 5 6 3 chunks +8 lines, -1 line 0 comments Download
M src/plugin/AdblockPlusClient.cpp View 1 2 3 4 5 6 5 chunks +126 lines, -102 lines 0 comments Download
M src/plugin/AdblockPlusTab.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M src/plugin/AdblockPlusTab.cpp View 1 2 3 4 5 2 chunks +0 lines, -30 lines 0 comments Download
M src/plugin/Config.h View 1 2 3 5 4 chunks +0 lines, -154 lines 0 comments Download
R src/plugin/DownloadSource.h View 2 3 5 1 chunk +0 lines, -1 line 0 comments Download
M src/plugin/Plugin.cpp View 1 2 3 5 2 chunks +1 line, -28 lines 0 comments Download
R src/plugin/PluginChecksum.h View 2 3 5 1 chunk +0 lines, -33 lines 0 comments Download
R src/plugin/PluginChecksum.cpp View 2 3 5 1 chunk +0 lines, -103 lines 0 comments Download
M src/plugin/PluginClass.h View 1 3 5 2 chunks +0 lines, -7 lines 0 comments Download
M src/plugin/PluginClass.cpp View 1 2 3 4 5 6 18 chunks +13 lines, -245 lines 0 comments Download
R src/plugin/PluginClassThread.cpp View 1 2 3 5 1 chunk +0 lines, -268 lines 0 comments Download
M src/plugin/PluginClientBase.cpp View 1 2 3 5 3 chunks +1 line, -19 lines 0 comments Download
R src/plugin/PluginConfig.h View 2 3 5 1 chunk +0 lines, -47 lines 0 comments Download
R src/plugin/PluginConfig.cpp View 2 3 5 1 chunk +0 lines, -644 lines 0 comments Download
R src/plugin/PluginConfiguration.h View 2 3 5 1 chunk +0 lines, -103 lines 0 comments Download
R src/plugin/PluginConfiguration.cpp View 2 3 5 1 chunk +0 lines, -314 lines 0 comments Download
M src/plugin/PluginDebug.cpp View 1 2 3 5 1 chunk +5 lines, -15 lines 0 comments Download
M src/plugin/PluginFilter.cpp View 2 3 5 1 chunk +0 lines, -1 line 0 comments Download
R src/plugin/PluginHttpRequest.h View 2 3 5 1 chunk +0 lines, -48 lines 0 comments Download
R src/plugin/PluginHttpRequest.cpp View 2 3 5 1 chunk +0 lines, -474 lines 0 comments Download
R src/plugin/PluginIniFile.h View 2 3 5 1 chunk +0 lines, -66 lines 0 comments Download
R src/plugin/PluginIniFile.cpp View 2 3 5 1 chunk +0 lines, -397 lines 0 comments Download
R src/plugin/PluginIniFileW.h View 2 3 5 1 chunk +0 lines, -71 lines 0 comments Download
R src/plugin/PluginIniFileW.cpp View 2 3 5 1 chunk +0 lines, -395 lines 0 comments Download
R src/plugin/PluginSelftest.h View 2 3 5 1 chunk +0 lines, -33 lines 0 comments Download
M src/plugin/PluginSettings.h View 1 2 3 5 4 chunks +2 lines, -92 lines 0 comments Download
M src/plugin/PluginSettings.cpp View 1 2 3 4 5 12 chunks +19 lines, -993 lines 0 comments Download
R src/plugin/PluginSha1.h View 2 3 5 1 chunk +0 lines, -254 lines 0 comments Download
R src/plugin/PluginSha1.cpp View 2 3 5 1 chunk +0 lines, -261 lines 0 comments Download
M src/plugin/PluginSystem.cpp View 2 3 5 1 chunk +0 lines, -1 line 0 comments Download
M src/plugin/PluginTabBase.h View 2 3 5 1 chunk +0 lines, -2 lines 0 comments Download
M src/plugin/PluginTabBase.cpp View 2 3 5 3 chunks +0 lines, -85 lines 0 comments Download
M src/plugin/PluginUserSettings.cpp View 2 3 5 2 chunks +9 lines, -23 lines 0 comments Download
M src/plugin/PluginWbPassThrough.cpp View 2 3 5 1 chunk +0 lines, -1 line 0 comments Download
M src/plugin/Resource.h View 2 3 5 1 chunk +0 lines, -5 lines 0 comments Download
M src/shared/Communication.h View 1 2 3 4 5 6 3 chunks +18 lines, -0 lines 0 comments Download
M src/shared/Communication.cpp View 1 2 5 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 18
Oleksandr
I have removed the unused code and added TODO's wherever things still need to be ...
July 5, 2013, 3:33 a.m. (2013-07-05 03:33:55 UTC) #1
Wladimir Palant
Good first step. I've indicated some things that can be removed as well but there ...
July 5, 2013, 9:26 a.m. (2013-07-05 09:26:45 UTC) #2
Oleksandr
July 9, 2013, 1 p.m. (2013-07-09 13:00:24 UTC) #3
Wladimir Palant
My comment in PluginUserSettings.cpp from the previous patchset hasn't been addressed. I guess that the ...
July 11, 2013, 12:53 p.m. (2013-07-11 12:53:10 UTC) #4
Oleksandr
http://codereview.adblockplus.org/11013110/diff/9001/src/plugin/PluginDebug.cpp File src/plugin/PluginDebug.cpp (right): http://codereview.adblockplus.org/11013110/diff/9001/src/plugin/PluginDebug.cpp#newcode46 src/plugin/PluginDebug.cpp:46: CString processor; Process ID isn't really a reliable identifier ...
July 22, 2013, 12:48 a.m. (2013-07-22 00:48:16 UTC) #5
Wladimir Palant
I assume that my comment in PluginUserSettings.cpp has been addressed. http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp File src/plugin/AdblockPlusClient.cpp (right): http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp#newcode358 ...
July 22, 2013, 6:43 a.m. (2013-07-22 06:43:11 UTC) #6
Oleksandr
http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp File src/plugin/AdblockPlusClient.cpp (right): http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp#newcode358 src/plugin/AdblockPlusClient.cpp:358: void CAdblockPlusClient::PostRequest(Communication::OutputBuffer request) I do disagree, at least partially. ...
July 22, 2013, 9:53 a.m. (2013-07-22 09:53:31 UTC) #7
Felix Dahlke
Just commenting on one thing here. Patch set 4 doesn't seem to include the previous ...
July 23, 2013, 10:26 a.m. (2013-07-23 10:26:12 UTC) #8
Wladimir Palant
http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp File src/plugin/AdblockPlusClient.cpp (right): http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp#newcode358 src/plugin/AdblockPlusClient.cpp:358: void CAdblockPlusClient::PostRequest(Communication::OutputBuffer request) On 2013/07/23 10:26:12, Felix H. Dahlke ...
July 23, 2013, 12:18 p.m. (2013-07-23 12:18:27 UTC) #9
Felix Dahlke
http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp File src/plugin/AdblockPlusClient.cpp (right): http://codereview.adblockplus.org/11013110/diff/23010/src/plugin/AdblockPlusClient.cpp#newcode358 src/plugin/AdblockPlusClient.cpp:358: void CAdblockPlusClient::PostRequest(Communication::OutputBuffer request) On 2013/07/23 12:18:27, Wladimir Palant wrote: ...
July 23, 2013, 12:40 p.m. (2013-07-23 12:40:15 UTC) #10
Oleksandr
Refactored the CallAdblockPlusEngine
July 24, 2013, 9:15 a.m. (2013-07-24 09:15:06 UTC) #11
Felix Dahlke
http://codereview.adblockplus.org/11013110/diff/37001/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/11013110/diff/37001/src/engine/main.cpp#newcode201 src/engine/main.cpp:201: response << true; So anything that is not bool, ...
July 25, 2013, 1:52 p.m. (2013-07-25 13:52:33 UTC) #12
Oleksandr
Uploaded the whole change set, as Felix suggested. Unfortunately patch set #5 was only partial, ...
July 26, 2013, 2:20 p.m. (2013-07-26 14:20:04 UTC) #13
Wladimir Palant
This review is quite a mess - I think that I commented on the same ...
July 26, 2013, 4:45 p.m. (2013-07-26 16:45:37 UTC) #14
Oleksandr
July 29, 2013, 12:17 p.m. (2013-07-29 12:17:06 UTC) #15
Felix Dahlke
It looks like some of Wladimir's comments are still not addressed, please make sure to ...
Aug. 5, 2013, 1:08 p.m. (2013-08-05 13:08:58 UTC) #16
Oleksandr
http://codereview.adblockplus.org/11013110/diff/52001/src/engine/main.cpp File src/engine/main.cpp (right): http://codereview.adblockplus.org/11013110/diff/52001/src/engine/main.cpp#newcode193 src/engine/main.cpp:193: if (valuePtr->IsNull() || valuePtr->IsUndefined()) This was addressed in: https://hg.adblockplus.org/adblockplusie/rev/8908c2f7d176 ...
Aug. 5, 2013, 11:11 p.m. (2013-08-05 23:11:00 UTC) #17
Felix Dahlke
Aug. 6, 2013, 10:27 a.m. (2013-08-06 10:27:36 UTC) #18
LGTM, assuming all of Wladimir's comments have been addressed.

Powered by Google App Engine
This is Rietveld