Commit Graph

94 Commits

Author SHA1 Message Date
Monica Chew
1ce06a3399 Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp) 2014-07-02 12:41:00 -07:00
Monica Chew
8ae5359acd 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
386ebd5ee3 Bug 1021419: Implement per-table update and gethash requests 2014-06-12 10:24:03 -07:00
Benoit Jacob
210693da34 Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Birunthan Mohanathas
59b969f7f4 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Nathan Froyd
84041459a1 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
5f1fde8824 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
d1212d39f6 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
74fa961dfe Backed out changeset 73bb0c592bf1 (bug 998396) for debug build failures; CLOSED TREE 2014-04-22 17:37:01 +01:00
Monica Chew
ade3e9a917 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
92378320da Backed out changeset 96e274a243ff (bug 998396) for build failures; CLOSED TREE 2014-04-22 16:36:39 +01:00
Monica Chew
efa58c585d 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
1ca4184bf7 Bug 985720: Rename urlclassifier.download_block_table and urlclassifier.download_allow_table (r=gcp) 2014-03-24 10:49:05 -07:00
Wes Kocher
7e6ad8beb5 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
b1556deaac Bug 985720: Rename urlclassifier.download_block_table and urlclassifier.download_allow_table (r=gcp) 2014-03-24 14:57:59 -07:00
Monica Chew
9b092b1051 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
2f0246c854 Bug 783047 - Remove MAC support from SafeBrowsing code. r=mmc,dcamp 2014-01-16 09:27:58 +01:00
Ehsan Akhgari
1b83407ce9 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
e8c34403bb 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
439417c819 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
3d2a39baf6 Bug 842828: Clean up urlclassifier.gethashtables preferences (r=gcp) 2013-09-25 07:03:45 -07:00
Monica Chew
383e668837 Bug 904607: Add protocol parser for -digest256 lists (r=gcp). 2013-09-06 17:12:33 -07:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Trevor Saunders
acfc9e9cd6 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
f6652419c5 Bug 898238 - Avoid wasted work in nsUrlClassifierDBServiceWorker::CacheCompletions(). r=dcamp 2013-08-12 08:40:19 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
bfdf0f3db6 Bug 884061 - Part 3v: Use NS_DECL_THREADSAFE_ISUPPORTS in toolkit/, r=Mossop
--HG--
extra : rebase_source : ad2b2f20219b42b192c313b6fa9da3383f904805
2013-07-18 21:24:15 -05:00
Mounir Lamouri
ff82c04802 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
0da033e962 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
6c25aeeb31 Bug 825941 helper: Mark debug-only variable |rv| in nsUrlClassifierDBService.cpp as DebugOnly. 2013-01-06 18:06:23 -08:00
Daniel Holbert
5f7e7fca0d 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
f194fd510a Bug 823665 - Rename urlclassifier.confirm-age to max-complete-age. r=gcp 2012-12-21 08:48:30 +01:00
Gian-Carlo Pascutto
6552acb016 Bug 807847 - Noise entries are erroneously entered into the misscache. r=dcamp 2012-11-03 01:53:10 +01:00
Gian-Carlo Pascutto
d73a4777ac Bug 782106 - Disable the per-client randomization in the url-classifier. r=dcamp 2012-11-03 01:53:10 +01:00
Gian-Carlo Pascutto
929b82ed97 Bug 797302 - crash in mozilla::safebrowsing::Classifier::Check. r=dcamp 2012-10-23 09:57:18 +02:00
Isaac Aggrey
c984edf823 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
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85 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
52208070f2 Bug 768871 - Provide an option to disable per-client randomization. r=dcamp 2012-08-15 09:07:10 +02:00
Gian-Carlo Pascutto
b5c3234491 Bug 673470 - Optimize input buffer size. Cache active tables. r=dcamp 2012-08-15 09:04:31 +02:00
Gian-Carlo Pascutto
f6e66dd24e Bug 673470 - Replace the sqlite safeb store with a flat file. r=dcamp 2012-08-15 09:04:19 +02:00
Aryeh Gregor
f74602e698 Bug 777292 - modules/libpref/, toolkit/: Fix incorrect conversions to nsresult; r=bsmedberg 2012-07-30 12:24:36 +03:00
Aryeh Gregor
02ea215083 Bug 779442 - Fix a few more incorrect uses of nsresult; r=ehsan 2012-08-01 11:17:10 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Mounir Lamouri
d434d2c6af Bug 775796 - nsIUrlClassifierDBService.lookup() takes nsIPrincipal. r=bsmith 2012-07-22 12:30:30 -07:00
Mounir Lamouri
5747889de3 Bug 775796 - nsIURIClassifier.classify() should takes a principal. r=bsmith 2012-07-20 09:46:59 -07:00
David Zbarsky
053c132aa1 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (toolkit/url-classifier); r=bzbarsky 2012-07-17 23:46:21 -04:00
Ehsan Akhgari
f232cb15e4 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (url-classifier parts); r=dcamp
Pushed on a CLOSED TREE
2012-06-20 00:01:02 -04:00
Honza Bambas
fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00