Commit Graph

103 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
ca7e3ed5a6 Backed out changeset bc7ca0aabb24 (bug 1134885) for bustage on a CLOSED TREE 2015-02-25 09:05:47 +01:00
Gian-Carlo Pascutto
e700403b56 Bug 1134885 - ChunkSets should be fallible. r=mmc 2015-02-25 08:31:11 +01:00
Monica Chew
32f2349c1e Bug 1122691: Skip ClassifyLocal unless tracking protection is enabled (r=mcmanus,gcp) 2015-01-21 11:33:07 -08:00
Monica Chew
1814023cb1 Bug 1120499: Proxy DoLocalLookup to the worker thread (r=gcp) 2015-01-13 17:09:13 -08:00
Monica Chew
28adcda9ea Bug 1100024: ClassifyLocal should not lookup in any tables if safebrowsing is disabled (r=gcp) 2015-01-09 13:25:02 -08:00
Monica Chew
67679b28f7 Bug 1108009 - Make synchronous interface nsIURIClassifier.ClassifyLocal. r=gcp 2014-12-18 10:18:09 -08:00
Monica Chew
c57be339f4 Bug 1039012: Only cancel third party channels with NS_ERROR_TRACKING_URI (r=gcp,briansmith) 2014-07-24 10:59:00 -07:00
Monica Chew
728cbf3572 Bug 1041855: Skip gethash completions on startup for hits in existing tables that haven't been registered yet (r=gcp) 2014-07-24 10:58:41 -07:00
Monica Chew
d28cfffbe2 Bug 1036684: Fix safebrowsing updates (r=gcp) 2014-07-10 18:13:35 -07:00
Monica Chew
f4033e0318 Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp) 2014-07-02 12:41:00 -07:00
Monica Chew
33a79850c9 Bug 1032875: Move empty gethash URL check in case listmanager is not ready (r=gcp) 2014-07-01 10:31:31 -07:00
Monica Chew
8774d0ff72 Bug 1021419: Implement per-table update and gethash requests 2014-06-12 10:24:03 -07:00
Benoit Jacob
029e0e533d Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
a575bd9831 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Nathan Froyd
0989adf8a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Monica Chew
4fc0ef41f5 Bug 998396: Fix gethash completions, urlclassifier.malware_table and urlclassifier.phish_table may be comma-separated lists (r=gcp) 2014-04-22 09:46:46 -07:00
Ed Morley
b92ed69cd1 Backed out changeset 73bb0c592bf1 (bug 998396) for debug build failures; CLOSED TREE 2014-04-22 17:37:01 +01:00
Monica Chew
0f2714ec39 Bug 998396: Fix gethash completions, urlclassifier.malware_table and urlclassifier.phish_table may be comma-separated lists (r=gcp) 2014-04-22 09:14:51 -07:00
Ed Morley
758ea81184 Backed out changeset 96e274a243ff (bug 998396) for build failures; CLOSED TREE 2014-04-22 16:36:39 +01:00
Monica Chew
8d6a5887ba Bug 998396: Fix gethash completions, urlclassifier.malware_table and urlclassifier.phish_table may be comma-separated lists (r=gcp) 2014-04-22 08:13:59 -07:00
Monica Chew
c5215e23b2 Bug 985720: Rename urlclassifier.download_block_table and urlclassifier.download_allow_table (r=gcp) 2014-03-24 10:49:05 -07:00
Wes Kocher
1614e57618 Backed out changeset 3d94ebde9018 (bug 985720) for missing a file from the patch to fix a CLOSED TREE 2014-03-24 18:07:13 -07:00
Monica Chew
29f425d18a Bug 985720: Rename urlclassifier.download_block_table and urlclassifier.download_allow_table (r=gcp) 2014-03-24 14:57:59 -07:00
Monica Chew
796c721622 Bug 985623: Force url classifier clients to specify which tables to lookup, add a pref to skip hash completion checks (r=gcp) 2014-03-20 14:25:35 -07:00
Gian-Carlo Pascutto
84b97b9f8e Bug 783047 - Remove MAC support from SafeBrowsing code. r=mmc,dcamp 2014-01-16 09:27:58 +01:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Monica Chew
2acefcc514 Bug 842828: Clean up urlclassifier.gethashtables preferences (r=gcp)
* * *
Bug 842828: Mark attributes of nsIApplicationReputationQuery as readonly, remove unused field (r=mossop)
* * *
Bug 842828: Check local list to suppress remote lookups (r=paolo)
2013-09-26 06:51:59 -07:00
Ryan VanderMeulen
2660569d9d Backed out changesets af0dda676cb7, 550e2f5b4224, and bb76828c5f22 (bug 842828) for B2G bustage and xpcshell failures.
CLOSED TREE
2013-09-25 11:50:51 -04:00
Monica Chew
5bcdd76538 Bug 842828: Clean up urlclassifier.gethashtables preferences (r=gcp) 2013-09-25 07:03:45 -07:00
Monica Chew
ddde716c72 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Robert O'Callahan
51222bdd45 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg 2013-09-02 20:41:57 +12:00
Trevor Saunders
cdee3ddd94 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Po-Chun Chang
e25c7d4f12 Bug 898238 - Avoid wasted work in nsUrlClassifierDBServiceWorker::CacheCompletions(). r=dcamp 2013-08-12 08:40:19 -04:00
Joshua Cranmer
9d0f9fd9af Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar 2013-07-11 15:21:45 -05:00
Joshua Cranmer
4c1f2d0784 Bug 884061 - Part 3v: Use NS_DECL_THREADSAFE_ISUPPORTS in toolkit/, r=Mossop 2013-07-18 21:24:15 -05:00
Mounir Lamouri
62970310c9 Bug 813897 - Fix crash in URL Classifier when using a system principal. r=bsmith,dcamp 2013-03-05 10:39:37 +01:00
Gian-Carlo Pascutto
cc689ffbd1 Bug 825891 - Remove the code for per-client randomization in the url-classifier. r=dcamp 2013-01-08 16:43:33 +01:00
Daniel Holbert
a64616e431 Bug 825941 helper: Mark debug-only variable |rv| in nsUrlClassifierDBService.cpp as DebugOnly. 2013-01-06 18:06:23 -08:00
Daniel Holbert
040ae4eb23 Bug 825627, part 1: Make nsUrlClassifierDBService.cpp's "gethashNoise" & "aCount" variables as unsigned, since counts are unsigned by definition. r=gcp 2013-01-02 09:05:19 -08:00
Gian-Carlo Pascutto
13ca42d20b Bug 823665 - Rename urlclassifier.confirm-age to max-complete-age. r=gcp 2012-12-21 08:48:30 +01:00
Gian-Carlo Pascutto
614e514264 Bug 807847 - Noise entries are erroneously entered into the misscache. r=dcamp 2012-11-03 01:53:10 +01:00
Gian-Carlo Pascutto
027c793b65 Bug 782106 - Disable the per-client randomization in the url-classifier. r=dcamp 2012-11-03 01:53:10 +01:00
Gian-Carlo Pascutto
c633d6b975 Bug 797302 - crash in mozilla::safebrowsing::Classifier::Check. r=dcamp 2012-10-23 09:57:18 +02:00
Isaac Aggrey
50d6240e45 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gian-Carlo Pascutto
6b5d1b65c2 Bug 768871 - Provide an option to disable per-client randomization. r=dcamp 2012-08-15 09:07:10 +02:00
Gian-Carlo Pascutto
6cb825e03c Bug 673470 - Optimize input buffer size. Cache active tables. r=dcamp 2012-08-15 09:04:31 +02:00
Gian-Carlo Pascutto
1c0ff29874 Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp 2012-08-15 09:04:19 +02:00