Commit Graph

6135 Commits

Author SHA1 Message Date
Chris Peterson
efa8a6142e Bug 1170066 - Fix -Wunreachable-code-return clang warning in netwerk/protocol/http/. r=mcmanus 2015-05-31 20:49:39 -07:00
Eric Rahm
197f5bb9c4 Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-01 22:17:34 -07:00
Eric Rahm
18bd3de863 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
99ffec18c4 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 22:17:26 -07:00
Eric Rahm
ef5ac6fa3d Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 22:17:21 -07:00
Eric Rahm
dca9287933 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Nicholas Nethercote
8e8a67b198 Bug 1168007 (part 10) - Use PLDHashTable2 in nsDiskCacheBindery. r=froydnj.
Like the last patch, the Clear() call in nsDiskCacheBindery::Init() is
cautious.
2015-05-18 21:52:14 -07:00
Nicholas Nethercote
4cd7a27d44 Bug 1168007 (part 9) - Use PLDHashTable2 in nsCacheEntry. r=froydnj.
It's not entirely clear if it's necessary to call Clear() in
nsCacheEntryHashTable::Init(). There is lots of inheritance around this code
and the calling patterns of Init() and Shutdown() aren't clear. Better safe
than sorry.
2015-05-18 21:45:30 -07:00
Wes Kocher
bd796581dc 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
b9f1aae339 Bug 1165515 - Part 14: Undef PR_LOG macros when using mozilla/Logging.h. r=froydnj
Make it harder for users to accidentally reintroduce usage of the PR_LOG macros
when using 'mozilla/Logging.h'. This can still be worked around by directly
including 'prlog.h' (and not 'mozilla/Logging.h') if absolutely necessary.
2015-06-01 14:31:01 -07:00
Eric Rahm
ae32743ed2 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
d27d4cb5f1 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 14:31:00 -07:00
Eric Rahm
db180ff7c4 Bug 1165515 - Part 5: Convert instances of PR_LOG_ALWAYS. r=froydnj
Most instances were converted to PR_LOG_INFO, some to PR_LOG_DEBUG, and some
to PR_LOG_ERROR.
2015-06-01 14:31:00 -07:00
Eric Rahm
aa2c33e0cf Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Michal Novotny
d803bb8c92 Bug 1157322 - TSan: data race netwerk/cache2/CacheIOThread.cpp:315 OnDispatchedEvent, r=honzab 2015-06-01 15:59:17 +02:00
Michal Novotny
38d5460d50 Bug 1122070 - TSan: data race netwerk/cache2/CacheIOThread.cpp:97 DispatchInternal, r=honzab 2015-06-01 15:36:44 +02:00
Michal Novotny
df3a344b73 Bug 1168221 - Assertion failure: !mDataStarted, r=hurley 2015-05-29 23:28:54 +02:00
Christoph Kerschbaumer
fdce7e09a6 Bug 1120487 - Implement shim before moving security checks into AsyncOpen, ioservice changes (r=sicking,sworkman) 2015-05-29 10:41:41 -07:00
Christoph Kerschbaumer
af0e2ac18c Bug 1120487 - Implement shim before moving security checks into AsyncOpen; adding wrapper (r=sicking,sworkman) 2015-05-29 10:40:52 -07:00
Dragana Damjanovic
a94a35cece Bug 1152046 - Don't try to connect if we are shutting down. r=mayhemer 2015-05-29 02:04:00 -04:00
Randell Jesup
43441635a8 Bug 1109338: Part 3: Use separate proxy and UDPMessage class for PBackground r=dragana 2015-05-29 10:14:17 -04:00
Randell Jesup
8c522e87ae Bug 1109338: Part 2: Sharing UDPSocket between PNecko and PBackground r=bent 2015-05-29 10:14:14 -04:00
Randell Jesup
90c34d0996 Bug 1109338: Part 1: Separate UDPSocket logging from network logging r=dragana 2015-05-29 10:13:39 -04:00
Nicholas Hurley
791e916ba7 Bug 1152048 - release assert non-reentrancy of sts lock acquisition. r=honzab DONTBUILD relanding 2015-05-28 13:50:52 -07:00
Nicholas Hurley
df709b5020 Backout 91a3fb327007 (wrong commit message) DONTBUILD 2015-05-28 13:50:51 -07:00
Nicholas Hurley
60605b94f1 Bug 1159747 - release assert non-reentrancy of sts lock acquisition. r=honzab 2015-05-28 13:36:02 -07:00
Birunthan Mohanathas
cd748a7266 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
399e0c3be3 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj 2015-05-28 11:07:43 -07:00
Geoff Brown
4cba46ad12 Bug 971742 - Re-balance test_URIs and test_URIs2; r=jesup 2015-05-28 12:06:44 -06:00
Geoff Brown
af92abd4ec Bug 1168995 - Enable test_URIs2.js; r=jesup 2015-05-28 12:06:43 -06:00
Josh Matthews
ab1977fb39 Bug 1157283 - Recreate IPC redirected HTTP channels as necessary after intercepting the request in the child. r=mayhemer 2015-05-28 10:47:35 -04:00
Nicholas Hurley
b918351d59 Bug 1159747 - delete h2 static compression table in such a way to avoid crashes after network changes. r=mcmanus 2015-05-27 09:49:00 +02:00
Honza Bambas
5cb3a21c24 Bug 1122420 - Improve after-shutdown dispatch assertion on CacheIOThread. r=michal 2015-04-13 16:58:00 +02:00
Birunthan Mohanathas
ec383264f0 Bug 1167420 - Handle fallible AppendElement call in netwerk/base/Dashboard.cpp. r=valentin 2015-05-27 17:46:19 -07:00
Birunthan Mohanathas
2e77719e3d Bug 1164714 - Move netwerk/base/nsISiteSecurityService.idl into security/manager/ssl. r=keeler,mcmanus 2015-05-26 10:31:30 -07:00
Mike Hommey
d03760e105 Bug 991983 - Use objdir-relative SOURCES instead of GENERATED_SOURCES. r=gps 2015-05-28 07:34:16 +09:00
Mike Hommey
2c863b9fe4 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Ehsan Akhgari
5fc491f5bb Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
a96f90d7e7 Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE 2015-05-27 14:50:43 +02:00
Ehsan Akhgari
1d4e673188 Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 08:25:03 -04:00
Botond Ballo
0fe06cffa0 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
Josh Matthews
e37f0a7835 Bug 1157468 - Avoid leaking the intercepting channel stream listener for redirected IPC channels. r=mayhemer 2015-05-26 09:40:41 -04:00
Phil Ringnalda
f3d4dd7e09 Back out 3 changesets (bug 1119980) for emulator-l bustage
CLOSED TREE

Backed out changeset 12ce98475c6e (bug 1119980)
Backed out changeset bdb8d05f8870 (bug 1119980)
Backed out changeset a68a18840492 (bug 1119980)
2015-05-25 18:48:51 -07:00
Botond Ballo
9a8e8b29e8 Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-25 20:45:17 -04:00
Nicholas Nethercote
adcd365f5e Bug 1166598 (part 8) - Use PLDHashTable2 in nsHostResolver. r=froydnj. 2015-05-12 17:33:45 -07:00
Nicholas Nethercote
4cdc3dfb3c Bug 1166598 (part 7) - Use PLDHashTable2 in nsLoadGroup. r=froydnj.
Things to note:

- nsLoadGroupConnectionInfo and its methods were just moved higher up in the
  file so it could be referenced in nsLoadGroup's constructor; none of that
  code has been changed;

- ~nsLoadGroup() is made public because NS_GENERIC_AGGREGATED_CONSTRUCTOR
  requires it to be.
2015-05-12 17:33:44 -07:00
Fernando Jimenez
e36586f901 Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm 2015-05-22 09:32:25 +02:00
Valentin Gosu
0d76e1473e Bug 1162690 - Remove malformed uri warning in nsURLParser::ParseURL r=mcmanus 2015-05-23 17:27:13 +03:00
Michal Novotny
4243030890 Bug 1159280 - TSan: data race netwerk/protocol/websocket/WebSocketChannel.cpp:3156 WebSocketChannel::Close, r=mcmanus 2015-05-23 10:07:01 +02:00
Michal Novotny
e717a20a81 Bug 1159500 - crash in mozilla::net::CacheIndexIterator::GetNextHash(unsigned char (*)[20]), r=honzab 2015-05-23 09:12:43 +02:00