Eric Rahm
d6adc10d95
Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj
2015-06-01 22:17:19 -07:00
Wes Kocher
2a7ed059f1
Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
...
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
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
Birunthan Mohanathas
956e8c7eca
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj
2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
9ab5ae052a
Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj
2015-05-28 11:07:43 -07:00
Birunthan Mohanathas
47a7fe34c1
Bug 968520 - Use FallibleTArray::TruncateLength instead of SetLength where possible. r=froydnj
...
This preemptively fixes the upcoming -Wunused-result warnings due to unchecked
SetLength calls.
2015-05-28 11:07:43 -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
Birunthan Mohanathas
a5b2d5a35a
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetLength calls. r=froydnj
2015-05-18 13:50:35 -07:00
Birunthan Mohanathas
df18f9f837
Bug 968520 - Add mozilla::fallible to Fallible{Auto,}TArray::SetCapacity calls. r=froydnj
2015-05-18 13:50:34 -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
Ehsan Akhgari
ced454b408
Bug 1156032 - Add some missing error handling in HashStore; r=gcp
2015-04-20 08:30:02 -04:00
Gian-Carlo Pascutto
127c8c9adf
Bug 1134885 - ChunkSets should be fallible. r=mmc
2015-02-25 14:05:17 +01:00
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
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
Ehsan Akhgari
a88fb35945
Bug 969875 - Use fallible allocations in the URL Classifier some more; r=gcp
2014-02-10 20:51:01 -05:00
Peiyong Lin
ebf44b67d9
Bug 943021 - Safebrowsing service should use fallible arrays for its buffers. r=gcp
2014-01-09 13:17:28 -05:00
Monica Chew
ddde716c72
Bug 904607: Add protocol parser for -digest256 lists (r=gcp).
2013-09-06 17:12:33 -07: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
44c602ba9a
Bug 826052: Make HashStore explicitly reject files larger than UINT32_MAX bytes, to avoid precision issues when we pass the file-length as a uint32_t function argument. (Also, skip a redundant file-size lookup.) r=gcp
2013-01-03 00:38:24 -08:00
Aaron Klotz
8198f16a5c
Bug 810101 - Add readahead to safebrowsing .sbstore and .cache files. r=gpascutto
2012-12-12 18:05:04 -05: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
027c793b65
Bug 782106 - Disable the per-client randomization in the url-classifier. 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
e83788e743
Bug 727370 - Fix typo that crept in while rebasing. r=benjamin
2012-09-28 19:00:20 +02:00
Gian-Carlo Pascutto
bce21c1450
Bug 727370 - Small cleanups in HashStore. r=dcamp
2012-09-28 18:31:19 +02:00
Gian-Carlo Pascutto
48c6f466f8
Bug 727370 - Improve HashStore checksumming performance. 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
Isaac Aggrey
990e90e88a
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -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
1fafa42aac
Bug 673470 - Skip chunks we already have during merges. r=dcamp
2012-08-15 09:10:39 +02:00
Gian-Carlo Pascutto
60f9f32b60
Bug 673470 - Expire SubPrefixes that can't do anything immediately. r=dcamp
2012-08-15 09:08:51 +02:00
Gian-Carlo Pascutto
96918bd4cb
Bug 673470 - Don't resort if not needed. Fix comparator. Cleanups. r=dcamp
2012-08-15 09:08:37 +02:00
Gian-Carlo Pascutto
af726560d8
Bug 673470 - Fix order of SubPrefix Knockouts. r=dcamp
2012-08-15 09:08:09 +02:00
Gian-Carlo Pascutto
2cccb5a0b0
Bug 673470 - Fix format description in HashStore.cpp. r=dcamp
2012-08-15 09:07:23 +02:00
Gian-Carlo Pascutto
4bd7da41de
Bug 730247 - Use byteslice coding for SafeBrowsing data. r=dcamp
2012-08-15 09:06:54 +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
a770d9dcf4
Backout a01cf079ee0b (Bug 730247). rs=dcamp a=mfinkle
2012-04-20 07:46:45 +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
bd0c2d1e0f
Bug 730247 - Use byteslice coding for SafeBrowsing data. r=dcamp
2012-02-27 07:46:41 +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