Commit Graph

67 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
488ef86cce Bug 1195519 - Use channel->ascynOpen2 toolkit/components/downloads/ApplicationReputation.cpp (r=sicking) 2015-08-18 09:53:47 -07:00
Emanuel Hoogeveen
b30abdc582 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Francois Marier
ea6b4387c5 Bug 1165816 - Cancel remote application reputation requests after a certain timeout. r=gcp 2015-06-10 17:35:18 +12:00
Eric Rahm
900b3ebc4d 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-03 15:25:57 -07:00
Eric Rahm
ab32c89747 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Carsten "Tomcat" Book
89becff57d Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Eric Rahm
f5003d5120 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 22:17:33 -07:00
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
Phil Ringnalda
5bdbdb18e6 Back out b068592c488a (bug 1165816) for assertions in webide tests
CLOSED TREE
2015-05-23 14:07:05 -07:00
Francois Marier
68f4f6b51c Bug 1167493 - Application Reputation: disable remote lookup of zip files on Mac/Linux, r=gcp 2015-05-23 20:05:37 +12:00
Francois Marier
0734964a0c Bug 1165816 - Cancel remote application reputation requests after a certain timeout, r=gcp 2015-05-23 19:51:52 +12: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
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
Francois Marier
a2b2102b70 Bug 1138721 - Application reputation should check mac file extensions. r=mmc
Specify the download type when doing a remote lookup.
2015-03-31 21:24:00 -04:00
Mike Hommey
338d086ead Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Francois Marier
fdf0bbed4b Bug 1111741 - Enable SafeBrowsing remote lookups for mac and linux. r=mmc 2015-03-24 20:47:00 -04:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Monica Chew
ce1ca0e47f Bug 1141363: Check to see we can get UrlClassifierDBService before using it (r=sworkman) 2015-03-09 17:44:31 -07:00
Christoph Kerschbaumer
a4a3d29c9d Bug 1099296 - Attach LoadInfo to remaining callers of ioService and ProtocolHandlers - in toolkit/ (r=mmc,mak) 2015-02-17 10:09:50 -08:00
Ehsan Akhgari
d282557bca Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg 2014-09-02 18:24:24 -04:00
Monica Chew
0904d2a5a7 Bug 1057848: Restore remote lookup logic, add 2 flags for hotfixing, always set all prefs (r=gcp) 2014-08-27 15:57:49 -07:00
Monica Chew
638b46968b Bug 1057764: Remove references to appRepUrl completely (r=gcp) 2014-08-24 08:50:28 -07:00
Monica Chew
9ed5d54342 Bug 1055670: Disable remote lookups (r=gcp) 2014-08-19 12:57:58 -07:00
Gian-Carlo Pascutto
ddcb6ca2d4 Bug 1050141 - Clamp the Telemetry of ApplicationReputation responses. r=mmc 2014-08-18 19:09:43 +02:00
Gian-Carlo Pascutto
655cde0776 Bug 1050141 - Add Telemetry for ApplicationReputation remote responses. r=mmc 2014-08-08 09:32:44 +02:00
Monica Chew
b36b5fe418 Bug 1038465: Pass suggested filename to application reputation query (r=paolo) 2014-07-15 13:46:52 -07:00
Ryan VanderMeulen
1c7ba51b02 Backed out changeset 7441f4dde492 (bug 1038465) for hitting the network during tests. 2014-07-15 13:28:55 -04:00
Monica Chew
eafe5cf2d9 Bug 1038465: Pass suggested filename to application reputation query (r=paolo) 2014-07-14 17:47:47 -07:00
Monica Chew
f4fe7e0448 Bug 1013558: ApplicationReputation should block if verdict is DANGEROUS_HOST (r=gcp) 2014-06-27 13:56:18 -07:00
Ryan VanderMeulen
364d2f5acb Backed out changeset 061a225551cb (bug 1013558) for bustage.
CLOSED TREE
2014-06-27 09:28:27 -04:00
Monica Chew
f5a84cb667 Bug 1013558 - ApplicationReputation should block if verdict is DANGEROUS_HOST. r=gcp 2014-06-26 15:49:37 -07:00
Benoit Jacob
029e0e533d Bug 1028588 - Fix dangerous public destructors in toolkit/ - r=ehsan 2014-06-23 18:40:02 -04:00
Monica Chew
6e0d5147a7 Bug 1017140: Strip url params for application reputation lookups (r=paolo) 2014-06-06 16:34:54 -07:00
Monica Chew
43516179b0 Bug 1017228: Any URL on the blocklist should trump allowlisting (r=gcp) 2014-05-28 17:54:53 -07:00
Monica Chew
dca9d1fa20 Bug 1011799: Forgot to qref to pick up Paolo's comments (r=paolo) 2014-05-28 16:13:37 -07:00
Monica Chew
aeda299594 Bug 1011799: Integrate nsIRedirectChannel redirects into application reputation check 2014-05-28 16:06:21 -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
Monica Chew
72974a2052 Bug 1005504: Fix telemetry for application reputation (r=gcp) 2014-05-05 13:32:56 -07: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
Gian-Carlo Pascutto
0d3960369c Bug 998007: Use SafeBrowsing app id for application reputation checks. r=ckerschb 2014-04-22 22:10:45 +02:00
Monica Chew
5febe42037 Bug 999477: Fix FindInReadable calls in ApplicationReputation (r=gcp) 2014-04-22 09:14:55 -07:00
Monica Chew
d38f9e9c44 Bug 933432: Enable remote lookups for application on Windows (r=gcp) 2014-04-17 14:01:47 -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