Eric Rahm
0baf91e33f
Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
...
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
PR_LOG_ERROR -> LogLevel::Error
PR_LOG_WARNING -> LogLevel::Warning
PR_LOG_WARN -> LogLevel::Warning
PR_LOG_INFO -> LogLevel::Info
PR_LOG_DEBUG -> LogLevel::Debug
PR_LOG_NOTICE -> LogLevel::Debug
PR_LOG_VERBOSE -> LogLevel::Verbose
Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.
Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
2ab4a31673
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 14:31:00 -07:00
Eric Rahm
5b59cf4e0b
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Eric Rahm
ddc8ac650b
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Eric Rahm
031d328939
Bug 1164556 - Part 2: Remove debug conditional. r=gcp
...
Remove what appears to be leftover debug code bypassing an if condition.
2015-05-14 10:13:23 -07:00
Eric Rahm
78a96dc27f
Bug 1164556 - Part 1: Remove instances of #ifdef PR_LOGGING in toolkit. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Yusuke Yamamoto
9490d92a7a
Bug 839120 - Support SafeBrowsing in b2g r=gpascutto
2015-02-12 23:58:15 -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
67679b28f7
Bug 1108009 - Make synchronous interface nsIURIClassifier.ClassifyLocal. r=gcp
2014-12-18 10:18:09 -08:00
Gian-Carlo Pascutto
265601caa5
Bug 1102687 - Do transient Classifier/HashStore object allocations on the stack. r=dmajor
2014-11-24 08:38:43 +01:00
Gian-Carlo Pascutto
fe253223fe
Bug 1102687 - Avoid copying and allocating 3 times in GetPrefixes. r=dmajor
2014-11-24 08:38:29 +01:00
Monica Chew
8774d0ff72
Bug 1021419: Implement per-table update and gethash requests
2014-06-12 10:24:03 -07: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
Birunthan Mohanathas
fd86bf4972
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Benoit Jacob
3b25b83743
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04: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
Kyle Huey
be9c9b3eba
Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg
2014-03-15 12:00:17 -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
Nicholas Nethercote
1bb46a184d
Bug 864236 - Make multi-MiB allocations in the url-classifier fallible. r=dcamp
2013-04-22 00:04:46 -07: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
bb309c4d7b
Bug 825627, part 2: Convert known-to-be-nonnegative variables 'i' and 'idx' to be unsigned, in Classifier::ReadNoiseEntries(), to fix signed/unsigned comparison build warnings. r=gcp
2013-01-02 09:05:31 -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
0aba543f82
Bug 806422 - Do not cache Complete's across a SafeBrowsing update. r=dcamp
2012-11-06 15:38:16 +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
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
Gian-Carlo Pascutto
1293a5c009
Bug 727370 - Recover correctly from a Reset during an update. r=dcamp
2012-09-28 18:31:19 +02:00
Gian-Carlo Pascutto
a04ed76212
Bug 727370 - Make SafeBrowsing updates atomic transactions. r=dcamp
2012-09-28 18:31:18 +02: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
b3a25c5ecf
Bug 673470 - Remove some unneeded PromiseFlatCString. r=dcamp
2012-08-15 09:09:40 +02: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
6301b08636
Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp
2012-08-15 09:05:18 +02:00
Gian-Carlo Pascutto
9b1aa19356
Bug 725597 - SafeBrowsing fails to update persistent PrefixSet on Windows. r=dcamp
2012-08-15 09:04:51 +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
Gian-Carlo Pascutto
10acc9e06e
Backout 173f90d397a8 (Bug 673470). rs=dcamp a=mfinkle
2012-04-20 07:46:47 +02:00
Gian-Carlo Pascutto
e5fefd0538
Backout db52b4916cde (Bug 673470). rs=dcamp a=mfinkle
2012-04-20 07:46:46 +02:00
Gian-Carlo Pascutto
4956600055
Backout e9291f227d63 (Bug 725597). rs=dcamp a=mfinkle
2012-04-20 07:46:46 +02:00
Gian-Carlo Pascutto
f27f8b25c1
Backout 35bf0d62cc30 (Bug 726002). rs=dcamp a=mfinkle
2012-04-20 07:46:46 +02:00
Veeraya Pupatwibul
054cc031c2
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Gian-Carlo Pascutto
a6f2f9cd49
Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp
2012-02-13 17:10:22 +01:00
Gian-Carlo Pascutto
6688e97a43
Backout e0e2cc5570ac (Bug 726002) due to broken error handling.
2012-02-13 17:04:46 +01:00
Gian-Carlo Pascutto
d465e43455
Bug 726002 - Clear some big nsTArrays as early as possible in updates. r=dcamp
2012-02-13 13:17:48 +01:00
Gian-Carlo Pascutto
41519c22da
Bug 725597 - SafeBrowsing fails to update persistent PrefixSet on Windows. r=dcamp
2012-02-09 20:41:32 +01:00
Gian-Carlo Pascutto
b7cc115c04
Bug 673470 - Optimize input buffer size. Cache active tables. r=dcamp
2012-02-03 08:32:32 +01:00
Gian-Carlo Pascutto
724fb285e2
Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp
2011-12-06 19:03:05 +01:00
Gian-Carlo Pascutto
056c10da3c
Backout 44a0dc4fb9ff (Bug 673470) for Talos regression.
2012-02-01 20:10:02 +01:00
Gian-Carlo Pascutto
3b9f32d92d
Bug 673470 - Replace the SQLite SafeBrowsing store with an optimized store. r=dcamp
2011-12-06 19:03:05 +01:00