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
Benjamin Smedberg
eaa4878487
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Gian-Carlo Pascutto
08beb49296
Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle
2012-04-20 07:46:47 +02:00
Geoff Lankow
a825a1156c
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg
2012-01-17 14:18:29 +13:00
Gian-Carlo Pascutto
a784af5a5b
Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp
2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
99a251d9ae
Backout 44a0dc4fb9ff (Bug 673470) for Talos regression.
2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
00125c4e7a
Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp
2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
add54589b3
Bug 702217 - Fall back to SQLite when we fail PrefixSet construction. r=dcamp
2012-01-10 17:09:38 +01:00
Gian-Carlo Pascutto
97c841a200
Bug 702217 - Avoid double allocation in UrlClassifier. Handle OOM conditions. r=dcamp
2012-01-10 17:09:32 +01:00
Nathan Froyd
c9149bf1f8
Bug 712427 - provide more information in SQL PRAGMA queries; r=mak
2012-01-05 18:46:35 -05:00
Jeff Walden
2e53b58879
Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert
2011-12-18 01:00:47 -05:00
Jeff Walden
16db021217
Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
...
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Nicholas Nethercote
ef3a6226a7
Bug 705602 - Use mallocSizeOf in prefixset memory reporter. r=gpc.
...
--HG--
extra : rebase_source : f228466f7e082a152ceaafc8f8f1c4b71f5f550f
2011-12-13 20:54:18 -08:00
Gian-Carlo Pascutto
d5e6567edd
Bug 706740 - Fix leftover PRBool. r=me
2011-12-02 11:23:10 +01:00
Gian-Carlo Pascutto
f7d82c6687
Bug 706740 - Backout bug 667075. r=dcamp
2011-12-02 10:47:43 +01:00
Gian-Carlo Pascutto
6c8e36ed61
Bug 702217 - Add very basic sanity checking to PrefixSet construction. Handle corrupted update errors. r=dcamp
2011-12-02 10:45:56 +01:00
Gian-Carlo Pascutto
a560902f05
Bug 698326 - Remove countMe argument to SizeOf in UrlClassifier. r=
2011-11-15 18:51:06 +01:00