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

Side by Side Diff: README.md

Issue 5163715573841920: Issue 768 - Switch from TR1 to C++11 (Closed)
Patch Set: rebase Created Aug. 5, 2015, 10:38 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 * Execute `createsolution.bat` to generate project files, this will create 45 * Execute `createsolution.bat` to generate project files, this will create
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
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
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
63 The compilation was tested with the following compilers:
64 * g++ 4.8
65 * Microsoft Visual Studio 2010, 2012
66 * clang 3.4 for Android (from android-ndk-r9)
67 * clang 3.6 for OS X
68
Felix Dahlke 2015/08/05 21:28:03 Nit: Just one new line between sections, as elsewh
69
54 Usage 70 Usage
55 ----- 71 -----
56 72
57 You can use libadblockplus to build an ad blocker. Or, strictly speaking, a web 73 You can use libadblockplus to build an ad blocker. Or, strictly speaking, a web
58 content filter. Just like Adblock Plus, it can detect resources that should be 74 content filter. Just like Adblock Plus, it can detect resources that should be
59 blocked based on their URL and context information, and generate CSS selectors 75 blocked based on their URL and context information, and generate CSS selectors
60 to hide DOM elements. 76 to hide DOM elements.
61 77
62 The basic usage is explained below, see the 78 The basic usage is explained below, see the
63 [API documentation](https://adblockplus.org/docs/libadblockplus) for more 79 [API documentation](https://adblockplus.org/docs/libadblockplus) for more
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 213
198 ### Unix 214 ### Unix
199 215
200 The shell is automatically built by `make`, you can run it as follows: 216 The shell is automatically built by `make`, you can run it as follows:
201 217
202 build/out/abpshell 218 build/out/abpshell
203 219
204 ### Windows 220 ### Windows
205 221
206 Just run the project *abpshell*. 222 Just run the project *abpshell*.
OLDNEW
« no previous file with comments | « Makefile ('k') | common.gypi » ('j') | include/AdblockPlus/DefaultFileSystem.h » ('J')

Powered by Google App Engine
This is Rietveld