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

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)

Created:
July 11, 2014, 2:24 p.m. by Wladimir Palant
Modified:
Aug. 25, 2015, 2:34 p.m.
Visibility:
Public.

Description

Note that Linux is still using libstdc++, also it uses -std=c++0x for compatibility with GCC versions before 4.7. COLLABORATOR=sergei@adblockplus.org

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase #

Total comments: 35

Patch Set 3 : address comments #

Patch Set 4 : fix including of <memory> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -144 lines) Patch
M Makefile View 1 1 chunk +2 lines, -1 line 0 comments Download
M README.md View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M common.gypi View 1 2 chunks +10 lines, -3 lines 0 comments Download
M include/AdblockPlus/DefaultFileSystem.h View 1 2 1 chunk +3 lines, -5 lines 0 comments Download
M include/AdblockPlus/FileSystem.h View 1 4 chunks +4 lines, -5 lines 0 comments Download
M include/AdblockPlus/FilterEngine.h View 1 2 8 chunks +9 lines, -13 lines 0 comments Download
M include/AdblockPlus/JsEngine.h View 1 4 chunks +5 lines, -6 lines 0 comments Download
M include/AdblockPlus/JsValue.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M include/AdblockPlus/LogSystem.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M include/AdblockPlus/Notification.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M include/AdblockPlus/WebRequest.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
D include/AdblockPlus/tr1_functional.h View 1 1 chunk +0 lines, -22 lines 0 comments Download
D include/AdblockPlus/tr1_memory.h View 1 1 chunk +0 lines, -22 lines 0 comments Download
M libadblockplus.gyp View 1 1 chunk +0 lines, -3 lines 0 comments Download
M src/DefaultFileSystem.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/FileSystemJsObject.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/FilterEngine.cpp View 1 2 5 chunks +10 lines, -10 lines 0 comments Download
M src/JsEngine.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M test/BaseJsTest.h View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
M test/ConsoleJsObject.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M test/DefaultFileSystem.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M test/FileSystemJsObject.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M test/FilterEngine.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M test/Notification.cpp View 1 4 chunks +6 lines, -6 lines 0 comments Download
M test/Prefs.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M test/UpdateCheck.cpp View 1 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/googletest.gyp View 1 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 15
Wladimir Palant
July 11, 2014, 2:24 p.m. (2014-07-11 14:24:49 UTC) #1
Wladimir Palant
http://codereview.adblockplus.org/5163715573841920/diff/5629499534213120/include/AdblockPlus/FilterEngine.h File include/AdblockPlus/FilterEngine.h (right): http://codereview.adblockplus.org/5163715573841920/diff/5629499534213120/include/AdblockPlus/FilterEngine.h#newcode91 include/AdblockPlus/FilterEngine.h:91: void ForceUpdateCheck(UpdaterCallback callback); Actually, there is one more actual ...
July 11, 2014, 2:29 p.m. (2014-07-11 14:29:11 UTC) #2
René Jeschke
As this is more or less only replacing 'std::tr1::' by 'std::': LGTM.
Aug. 13, 2014, 11:11 a.m. (2014-08-13 11:11:30 UTC) #3
Felix Dahlke
I didn't review it yet, but I will. One remark: I think we should point ...
Sept. 5, 2014, 5:56 p.m. (2014-09-05 17:56:09 UTC) #4
sergei
Works on MSVS2010
Nov. 6, 2014, 10:56 a.m. (2014-11-06 10:56:38 UTC) #5
sergei
If it works and the everything is fine with gyp files, LGTM http://codereview.adblockplus.org/5163715573841920/diff/5629499534213120/include/AdblockPlus/FilterEngine.h File include/AdblockPlus/FilterEngine.h ...
Jan. 6, 2015, 1:51 p.m. (2015-01-06 13:51:39 UTC) #6
Felix Dahlke
I suppose this needs rebasing - there is no .hgsubstate in libadblockplus anymore, e.g. But ...
Aug. 4, 2015, 11:21 a.m. (2015-08-04 11:21:50 UTC) #7
sergei
https://codereview.adblockplus.org/5163715573841920/diff/5629499534213120/.hgsubstate File .hgsubstate (right): https://codereview.adblockplus.org/5163715573841920/diff/5629499534213120/.hgsubstate#newcode2 .hgsubstate:2: bd26b148913a32213c37bd1b3a38cdb98ce059cb third_party/googletest On 2015/08/04 11:21:49, Felix Dahlke wrote: > ...
Aug. 5, 2015, 10:40 a.m. (2015-08-05 10:40:11 UTC) #8
Wladimir Palant
https://codereview.adblockplus.org/5163715573841920/diff/29323254/README.md File README.md (right): https://codereview.adblockplus.org/5163715573841920/diff/29323254/README.md#newcode56 README.md:56: You need a C\+\+11 compatible compiler to build libadblockplus. ...
Aug. 5, 2015, 11:19 a.m. (2015-08-05 11:19:40 UTC) #9
Felix Dahlke
Looks good. With my late night nits and Wladimir's comments addressed, it should be fine. ...
Aug. 5, 2015, 9:28 p.m. (2015-08-05 21:28:06 UTC) #10
sergei
https://codereview.adblockplus.org/5163715573841920/diff/29323254/README.md File README.md (right): https://codereview.adblockplus.org/5163715573841920/diff/29323254/README.md#newcode56 README.md:56: You need a C\+\+11 compatible compiler to build libadblockplus. ...
Aug. 6, 2015, 7:35 a.m. (2015-08-06 07:35:31 UTC) #11
Wladimir Palant
From what I can tell, only two comments still need to be addressed. https://codereview.adblockplus.org/5163715573841920/diff/29323254/include/AdblockPlus/FilterEngine.h File ...
Aug. 6, 2015, 12:24 p.m. (2015-08-06 12:24:58 UTC) #12
Felix Dahlke
Yup, just these two `#include <memory>`'s Wladimir suggested and this looks good to land. https://codereview.adblockplus.org/5163715573841920/diff/29323254/include/AdblockPlus/FilterEngine.h ...
Aug. 6, 2015, 6:19 p.m. (2015-08-06 18:19:02 UTC) #13
sergei
Sorry, I was quite inattentive on the previous patch set. https://codereview.adblockplus.org/5163715573841920/diff/29323254/include/AdblockPlus/JsValue.h File include/AdblockPlus/JsValue.h (right): https://codereview.adblockplus.org/5163715573841920/diff/29323254/include/AdblockPlus/JsValue.h#newcode24 ...
Aug. 7, 2015, 6:29 a.m. (2015-08-07 06:29:40 UTC) #14
Felix Dahlke
Aug. 7, 2015, 7:01 a.m. (2015-08-07 07:01:59 UTC) #15
LGTM!

Powered by Google App Engine
This is Rietveld