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

Issue 6245218638626816: Issue 1424 - Update libadblockplus-binaries to 6f79af14ad4e (Closed)

Created:
Sept. 22, 2014, 4:44 a.m. by Felix Dahlke
Modified:
Sept. 22, 2014, 1:38 p.m.
Reviewers:
René Jeschke
Visibility:
Public.

Description

Issue 1424 - Update libadblockplus-binaries to 6f79af14ad4e

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use GetObjectClass instead of FindClass #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -225 lines) Patch
M .hgsubstate View 1 chunk +1 line, -1 line 0 comments Download
M jni/Android.mk View 1 chunk +2 lines, -2 lines 0 comments Download
M jni/JniCallbacks.h View 1 chunk +2 lines, -2 lines 0 comments Download
M jni/JniFilterEngine.cpp View 1 5 chunks +27 lines, -10 lines 0 comments Download
A jni/JniUpdateCheckDoneCallback.cpp View 1 chunk +67 lines, -0 lines 0 comments Download
R jni/JniUpdaterCallback.cpp View 1 chunk +0 lines, -64 lines 0 comments Download
M src/org/adblockplus/android/ABPEngine.java View 6 chunks +9 lines, -8 lines 0 comments Download
M src/org/adblockplus/android/AdblockPlus.java View 2 chunks +11 lines, -10 lines 0 comments Download
A src/org/adblockplus/android/AndroidUpdateCheckDoneCallback.java View 1 chunk +57 lines, -0 lines 0 comments Download
R src/org/adblockplus/android/AndroidUpdaterCallback.java View 1 chunk +0 lines, -57 lines 0 comments Download
M src/org/adblockplus/libadblockplus/FilterEngine.java View 4 chunks +11 lines, -5 lines 0 comments Download
A src/org/adblockplus/libadblockplus/UpdateCheckDoneCallback.java View 1 chunk +66 lines, -0 lines 0 comments Download
R src/org/adblockplus/libadblockplus/UpdaterCallback.java View 1 chunk +0 lines, -66 lines 0 comments Download

Messages

Total messages: 7
Felix Dahlke
Please note that I have yet to push libadblockplus and libadblockplus-binaries for this - https://issues.adblockplus.org/ticket/1296 ...
Sept. 22, 2014, 4:53 a.m. (2014-09-22 04:53:32 UTC) #1
René Jeschke
On 2014/09/22 04:53:32, Felix H. Dahlke wrote: > Please note that I have yet to ...
Sept. 22, 2014, 9:24 a.m. (2014-09-22 09:24:40 UTC) #2
Felix Dahlke
On 2014/09/22 09:24:40, René Jeschke wrote: > On 2014/09/22 04:53:32, Felix H. Dahlke wrote: > ...
Sept. 22, 2014, 12:43 p.m. (2014-09-22 12:43:00 UTC) #3
René Jeschke
On 2014/09/22 12:43:00, Felix H. Dahlke wrote: > On 2014/09/22 09:24:40, René Jeschke wrote: > ...
Sept. 22, 2014, 12:55 p.m. (2014-09-22 12:55:02 UTC) #4
René Jeschke
http://codereview.adblockplus.org/6245218638626816/diff/5629499534213120/jni/JniFilterEngine.cpp File jni/JniFilterEngine.cpp (right): http://codereview.adblockplus.org/6245218638626816/diff/5629499534213120/jni/JniFilterEngine.cpp#newcode37 jni/JniFilterEngine.cpp:37: jclass enumClass = env->FindClass("java/lang/Enum"); Could you please use "env->GetObjectClass(jContentType)" ...
Sept. 22, 2014, 12:56 p.m. (2014-09-22 12:56:26 UTC) #5
Felix Dahlke
Thanks, new patch set up! http://codereview.adblockplus.org/6245218638626816/diff/5629499534213120/jni/JniFilterEngine.cpp File jni/JniFilterEngine.cpp (right): http://codereview.adblockplus.org/6245218638626816/diff/5629499534213120/jni/JniFilterEngine.cpp#newcode37 jni/JniFilterEngine.cpp:37: jclass enumClass = env->FindClass("java/lang/Enum"); ...
Sept. 22, 2014, 1:20 p.m. (2014-09-22 13:20:16 UTC) #6
René Jeschke
Sept. 22, 2014, 1:30 p.m. (2014-09-22 13:30:05 UTC) #7
LGTM

http://codereview.adblockplus.org/6245218638626816/diff/5629499534213120/jni/...
File jni/JniFilterEngine.cpp (right):

http://codereview.adblockplus.org/6245218638626816/diff/5629499534213120/jni/...
jni/JniFilterEngine.cpp:38: jmethodID nameMethod = env->GetMethodID(enumClass,
"name",
On 2014/09/22 13:20:16, Felix H. Dahlke wrote:
> On 2014/09/22 12:56:26, René Jeschke wrote:
> > Is this line break really necessary?
> 
> IMO yes - we have an 80 column rule in C++ code after all. We're not too
strict
> about enforcing it, but I personally tend to ensure all code I touch is fully
> compliant.

Ah, right. The Android project can be confusing when it comes to line-widths as
it features C++ and Java.

Powered by Google App Engine
This is Rietveld