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

Issue 5219280069066752: Issue #1186 - Change names that appear in the custom action (Closed)

Created:
Oct. 2, 2014, 6:51 p.m. by Eric
Modified:
Feb. 2, 2015, 7:03 p.m.
Reviewers:
Felix Dahlke, Oleksandr
Visibility:
Public.

Description

Issue #1186 - Change names that appear in the custom action The scope of this change set is to rename constant, variable, function, and class names that appear in the custom action code. These identifiers include both those present only in the custom action code itself, as well as those found in the installer library and its unit tests. The name of the entry point to the custom action library is also present, which appears also in .DEF and .WXS files. The scope of this change set does not include identifier that only appear in the installer, its unit tests, or elsewhere. Nor does it include identifiers that are not constant, variable, function, or class names. These will be the subject of future change sets. Also, there's a removal of some dead code. This change set blocks future change sets for #1186, given how many lines any such future change set would have in common with the present one.

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+282 lines, -294 lines) Patch
M installer/src/custom-action/abp_ca.cpp View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M installer/src/custom-action/abp_ca.def View 1 chunk +1 line, -1 line 0 comments Download
M installer/src/custom-action/close_application.cpp View 1 2 3 15 chunks +102 lines, -110 lines 0 comments Download
M installer/src/installer-lib/DLL.h View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M installer/src/installer-lib/DLL.cpp View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M installer/src/installer-lib/custom-i18n.h View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M installer/src/installer-lib/database.h View 1 chunk +2 lines, -2 lines 0 comments Download
M installer/src/installer-lib/database.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M installer/src/installer-lib/interaction.h View 1 2 chunks +57 lines, -61 lines 0 comments Download
M installer/src/installer-lib/interaction.cpp View 1 1 chunk +17 lines, -17 lines 1 comment Download
M installer/src/installer-lib/process.h View 1 2 3 11 chunks +15 lines, -15 lines 0 comments Download
M installer/src/installer-lib/process.cpp View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M installer/src/installer-lib/session.h View 1 2 3 4 chunks +8 lines, -8 lines 0 comments Download
M installer/src/installer-lib/session.cpp View 1 2 3 3 chunks +10 lines, -10 lines 0 comments Download
M installer/src/installer-lib/test/custom-action-fail.cpp View 1 chunk +1 line, -1 line 0 comments Download
M installer/src/installer-lib/test/process_test.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M installer/src/installer-lib/test/property_test.cpp View 1 2 3 2 chunks +10 lines, -10 lines 0 comments Download
M installer/src/installer-lib/test/test-installer-lib.wxs View 1 chunk +1 line, -1 line 0 comments Download
M installer/src/installer-lib/test/test-installer-lib-ca.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M installer/src/installer-lib/test/test-installer-lib-ca.def View 1 chunk +1 line, -1 line 0 comments Download
M installer/src/installer-lib/test/test-installer-lib-sandbox.cpp View 1 2 3 6 chunks +21 lines, -21 lines 0 comments Download
M installer/src/msi/adblockplusie.wxs View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17
Eric
Oct. 2, 2014, 7:35 p.m. (2014-10-02 19:35:46 UTC) #1
Oleksandr
*For anyone planning to review this - it's only about changing names to camelCase. I ...
Oct. 6, 2014, 8:44 p.m. (2014-10-06 20:44:12 UTC) #2
Eric
On 2014/10/06 20:44:12, Oleksandr wrote: > *For anyone planning to review this - it's only ...
Oct. 14, 2014, 5:42 p.m. (2014-10-14 17:42:04 UTC) #3
Eric
http://codereview.adblockplus.org/5219280069066752/diff/5629499534213120/installer/src/installer-lib/session.cpp File installer/src/installer-lib/session.cpp (right): http://codereview.adblockplus.org/5219280069066752/diff/5629499534213120/installer/src/installer-lib/session.cpp#newcode30 installer/src/installer-lib/session.cpp:30: log_prefix( name + ": " ) On 2014/10/06 20:44:12, ...
Oct. 14, 2014, 5:42 p.m. (2014-10-14 17:42:49 UTC) #4
Eric
Sergei: I just added you as reviewer and took Felix off the list. Last week ...
Oct. 14, 2014, 5:45 p.m. (2014-10-14 17:45:01 UTC) #5
Felix Dahlke
I'm here, actually. http://codereview.adblockplus.org/5219280069066752/diff/5629499534213120/installer/src/custom-action/close_application.cpp File installer/src/custom-action/close_application.cpp (right): http://codereview.adblockplus.org/5219280069066752/diff/5629499534213120/installer/src/custom-action/close_application.cpp#newcode39 installer/src/custom-action/close_application.cpp:39: bool isRunning() Functions should start with ...
Oct. 15, 2014, 2:46 a.m. (2014-10-15 02:46:57 UTC) #6
Eric
http://codereview.adblockplus.org/5219280069066752/diff/5629499534213120/installer/src/custom-action/close_application.cpp File installer/src/custom-action/close_application.cpp (right): http://codereview.adblockplus.org/5219280069066752/diff/5629499534213120/installer/src/custom-action/close_application.cpp#newcode39 installer/src/custom-action/close_application.cpp:39: bool isRunning() On 2014/10/15 02:46:57, Felix H. Dahlke wrote: ...
Oct. 15, 2014, 3:30 p.m. (2014-10-15 15:30:43 UTC) #7
Felix Dahlke
Looks like you missed a few functions. Note that I only really looked over the ...
Oct. 17, 2014, 9:34 a.m. (2014-10-17 09:34:43 UTC) #8
Eric
On 2014/10/17 09:34:43, Felix H. Dahlke wrote: > Looks like you missed a few functions. ...
Oct. 20, 2014, 1:45 a.m. (2014-10-20 01:45:05 UTC) #9
Felix Dahlke
Not sure I fully got it :) But I've pointed out some stuff that should ...
Oct. 22, 2014, 4 p.m. (2014-10-22 16:00:32 UTC) #10
Eric
I think I've got them all. I think. http://codereview.adblockplus.org/5219280069066752/diff/5700735861784576/installer/src/custom-action/close_application.cpp File installer/src/custom-action/close_application.cpp (right): http://codereview.adblockplus.org/5219280069066752/diff/5700735861784576/installer/src/custom-action/close_application.cpp#newcode32 installer/src/custom-action/close_application.cpp:32: void ...
Jan. 4, 2015, 7:02 p.m. (2015-01-04 19:02:43 UTC) #11
Oleksandr
LGTM yet again.
Jan. 28, 2015, 10:33 a.m. (2015-01-28 10:33:16 UTC) #12
Felix Dahlke
LGTM. Don't really have the energy to fully dive into this and double check if ...
Jan. 30, 2015, 2:48 p.m. (2015-01-30 14:48:35 UTC) #13
Felix Dahlke
http://codereview.adblockplus.org/5219280069066752/diff/5752142325350400/installer/src/installer-lib/interaction.cpp File installer/src/installer-lib/interaction.cpp (right): http://codereview.adblockplus.org/5219280069066752/diff/5752142325350400/installer/src/installer-lib/interaction.cpp#newcode18 installer/src/installer-lib/interaction.cpp:18: : Message(message, INSTALLMESSAGE(long(box) | long(buttonSet) | long(defaultButton) | long(icon))) ...
Jan. 30, 2015, 2:53 p.m. (2015-01-30 14:53:24 UTC) #14
Eric
On 2015/01/30 14:53:24, Felix H. Dahlke wrote: > http://codereview.adblockplus.org/5219280069066752/diff/5752142325350400/installer/src/installer-lib/interaction.cpp > File installer/src/installer-lib/interaction.cpp (right): > > ...
Feb. 2, 2015, 12:59 p.m. (2015-02-02 12:59:25 UTC) #15
Felix Dahlke
On 2015/02/02 12:59:25, Eric wrote: > On 2015/01/30 14:53:24, Felix H. Dahlke wrote: > > ...
Feb. 2, 2015, 1:14 p.m. (2015-02-02 13:14:03 UTC) #16
Eric
Feb. 2, 2015, 7:03 p.m. (2015-02-02 19:03:58 UTC) #17
On 2015/02/02 13:14:03, Felix H. Dahlke wrote:
> Much more
> importantly though: It's just different syntax for a C-style cast, it's got
the
> exact same semantics. And those we don't want, whatever it looks like.

I had to look up the details. When T is built-in type, then T(E) is the same as
(T)E. When T is not built-in, it's not. (I don't think I knew that rule so
explicitly before).

As I recall, those conversions are only there to suppress a spurious
type-mismatch warning from the compiler.

Powered by Google App Engine
This is Rietveld