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

Delta Between Two Patch Sets: README.md

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Left Patch Set: rebase Created Aug. 5, 2015, 10:38 a.m.
Right Patch Set: fix including of <memory> Created Aug. 7, 2015, 6:07 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Makefile ('k') | common.gypi » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 libadblockplus 1 libadblockplus
2 ============== 2 ==============
3 3
4 A C++ library offering the core functionality of Adblock Plus. 4 A C++ library offering the core functionality of Adblock Plus.
5 5
6 Getting/updating the dependencies 6 Getting/updating the dependencies
7 --------------------------------- 7 ---------------------------------
8 8
9 libadblockplus has dependencies that aren't part of this repository. They are 9 libadblockplus has dependencies that aren't part of this repository. They are
10 retrieved and updated during the build process, but you can also manually update 10 retrieved and updated during the build process, but you can also manually update
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 `build\ia32\libadblockplus.sln` (solution for the 32 bit build) and 46 `build\ia32\libadblockplus.sln` (solution for the 32 bit build) and
47 `build\x64\libadblockplus.sln` (solution for the 64 bit build). Unfortunately, 47 `build\x64\libadblockplus.sln` (solution for the 64 bit build). Unfortunately,
48 V8 doesn't support creating both from the same project files. 48 V8 doesn't support creating both from the same project files.
49 * Open `build\ia32\libadblockplus.sln` or `build\x64\libadblockplus.sln` in 49 * Open `build\ia32\libadblockplus.sln` or `build\x64\libadblockplus.sln` in
50 Visual Studio and build the solution there. Alternatively you can use the 50 Visual Studio and build the solution there. Alternatively you can use the
51 `msbuild` command line tool, e.g. run `msbuild /m build\ia32\libadblockplus.sln` 51 `msbuild` command line tool, e.g. run `msbuild /m build\ia32\libadblockplus.sln`
52 from the Visual Studio Developer Command Prompt to create a 32 bit debug build. 52 from the Visual Studio Developer Command Prompt to create a 32 bit debug build.
53 53
54 ### Supported compilers 54 ### Supported compilers
55 55
56 You need a C\+\+11 compatible compiler to build libadblockplus. If you need a C+ +98 compatible interface or you have a questions about another comiler please [c reate an 56 You need a C++11 compatible compiler to build libadblockplus.
Wladimir Palant 2015/08/05 11:19:39 Nit: Please break that line at 80 characters. Nit
sergei 2015/08/06 07:35:25 Thanks.
57 issue](https://issues.adblockplus.org/).
Wladimir Palant 2015/08/05 11:19:39 Will we actually create a C++98 compatible interfa
Felix Dahlke 2015/08/05 21:28:04 Fair enough, probably not. I suppose anyone who re
sergei 2015/08/06 07:35:25 Removed mentioning of C++98.
58
59 The following C++11 features are currently used:
60 * std::shared_ptr
61 * std::function
Wladimir Palant 2015/08/05 11:19:39 IMHO, this list is bound to get out of date. Yes,
Felix Dahlke 2015/08/05 21:28:03 I was about to object but, rethinking it, I suppos
sergei 2015/08/06 07:35:26 Agree that there is a big chance to get it out of
62 57
63 The compilation was tested with the following compilers: 58 The compilation was tested with the following compilers:
64 * g++ 4.8 59 * g++ 4.8
65 * Microsoft Visual Studio 2010, 2012 60 * Microsoft Visual Studio 2010, 2012
66 * clang 3.4 for Android (from android-ndk-r9) 61 * clang 3.4 for Android (from android-ndk-r9)
67 * clang 3.6 for OS X 62 * clang 3.6 for OS X
68 63
Felix Dahlke 2015/08/05 21:28:03 Nit: Just one new line between sections, as elsewh
64 If you have a question about another compiler please [create an issue](https://i ssues.adblockplus.org/).
69 65
70 Usage 66 Usage
71 ----- 67 -----
72 68
73 You can use libadblockplus to build an ad blocker. Or, strictly speaking, a web 69 You can use libadblockplus to build an ad blocker. Or, strictly speaking, a web
74 content filter. Just like Adblock Plus, it can detect resources that should be 70 content filter. Just like Adblock Plus, it can detect resources that should be
75 blocked based on their URL and context information, and generate CSS selectors 71 blocked based on their URL and context information, and generate CSS selectors
76 to hide DOM elements. 72 to hide DOM elements.
77 73
78 The basic usage is explained below, see the 74 The basic usage is explained below, see the
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 209
214 ### Unix 210 ### Unix
215 211
216 The shell is automatically built by `make`, you can run it as follows: 212 The shell is automatically built by `make`, you can run it as follows:
217 213
218 build/out/abpshell 214 build/out/abpshell
219 215
220 ### Windows 216 ### Windows
221 217
222 Just run the project *abpshell*. 218 Just run the project *abpshell*.
LEFTRIGHT

Powered by Google App Engine
This is Rietveld