Commit Graph

3786 Commits

Author SHA1 Message Date
Ms2ger
5173d3f36d Bug 906351 - Use @DEPTH@ even more; r=ted 2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Patrick McManus
67639493be bug 907960 - backout 905460 r=backout 2013-08-21 21:01:19 -04:00
John Schoenick
ba5e9ee80f Bug 902375 - Strict file origin policy - handle case where the target is the parent directory of the source. r=bz 2013-08-21 14:47:53 -07:00
Ryan VanderMeulen
cf17ea703f Backed out changeset 5f8ae314d872 (bug 750932) for Werror bustage on a CLOSED TREE. 2013-08-21 12:46:48 -04:00
Patrick McManus
07ab4a3741 bug 750932 - multipart delimiter check r=jduell
--HG--
extra : rebase_source : 9328212a2c7a9649d997624ad0dfe54d60435622
2013-08-21 08:47:53 -04:00
Nicholas Nethercote
b89a8ac1c0 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Nathan Froyd
a94c411a49 Bug 906152 - use StaticRefPtr in DataChannel.cpp to avoid a static constructor; r=jduell 2013-08-16 15:13:08 -04:00
David Zbarsky
e2a9f7d859 Bug 890570: Stop using PBrowser for all other protocols r=jduell 2013-08-21 02:49:44 -04:00
David Zbarsky
a9365e5d20 Bug 890570 - PRemoteOpenFile Constructor doesn't need PBrowser r=jduell 2013-08-21 02:49:43 -04:00
David Zbarsky
1109d8cbb4 Bug 890570 - PTCPSocket constructor doesn't need PBrowser r=jduell 2013-08-21 02:49:42 -04:00
David Zbarsky
9f84479195 Bug 890570 - PCookieService doesn't need PBrowser r=jduell 2013-08-21 02:49:41 -04:00
Patrick McManus
f27875bd1e bug 900322 dont nsithread->shutdown() from dtor r=karlt 2013-08-20 16:49:22 -04:00
Patrick McManus
baec7c49b6 [mq]: 905398
bug 905398 - set connectionInfo bits only once and before http speculative connect r=jduell
2013-08-19 11:45:45 -04:00
Patrick McManus
1d2044d59a bug 905460 - make http objects use smart pointers r=sworkman 2013-08-14 21:05:47 -04:00
Christian Holler
d19b8c335a Bug 905636 - Disable a netwerk xpcshell test under ASan. r=jduell 2013-08-15 18:18:39 +02:00
Mihnea Dobrescu-Balaur
1fd9cbedbe Bug 906106 - Make test_file_protocol.js use do_get_tempdir. r=ted 2013-08-16 10:43:46 -07:00
Adrian Lungu
94d96bd431 Bug 882516 - Use AF_UNSPEC cached entries for AF_INET and AF_INET6 DNS requests, if possible. r=sworkman 2013-08-16 11:49:57 -07:00
Trevor Saunders
86d20580f1 bug 905410 - remove most remaining usage of nspr atomics outside of xpcom/ r=ehsan 2013-08-12 05:51:49 -04:00
Honza Bambas
cd6c944566 Bug 877562 - protect appcache hash tables with a mutex, r=jduell 2013-08-15 12:42:02 +02:00
Phil Ringnalda
b9fbc56b41 Back out cb68113d5052 (bug 901195) for xpcshell bustage
CLOSED TREE
2013-08-14 21:07:19 -07:00
Simone Carletti
e0b934cae4 Bug 902785 - add cloudcontrol.com to PSL. r=gerv. DONTBUILD. 2013-08-15 02:25:38 +01:00
Simone Carletti
678607b3ea Bug 901195 - update .sv and .om in PSL. r=gerv. 2013-08-15 02:23:47 +01:00
Simone Carletti
9a562970b1 Bug 901193 - Add ro.com to PSL. r=gerv. 2013-08-15 02:22:57 +01:00
Patrick McManus
1ecea5543c bug 902170 - don't log data: PAC URIs to JS console r=jduell 2013-08-12 17:07:38 -04:00
Gregory Szorc
918eef7c37 Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ryan VanderMeulen
a7872e972f Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE. 2013-08-14 15:12:20 -04:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Gregory Szorc
260d3a8e7c Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium 2013-08-14 08:40:25 -07:00
Ms2ger
3d504dcb66 Merge latest PGO-green inbounc changeset to m-c. 2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo 2013-08-14 09:00:52 +02:00
Ms2ger
4579943f93 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Ms2ger
0c3b97da57 Bug 901063 - Remove HB_DONT_DEFINE_STDINT defines; r=gps
These defines have been unnecessary since we removed mozilla/StandardInteger.h.
The upstream code will default to stdint.h typedefs without them.
2013-08-14 08:57:22 +02:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Jan-Ivar Bruaroey
fc11742865 Bug 903803 - Set ordered flag correctly in DataChannel constructor. r=jesup 2013-08-12 16:27:14 -04:00
Patrick McManus
da708bc1e3 bug 897503 - part 3 several nsHttpHandler nsCOMPtrs need to be nsMainThreadPtrHandle r=sworkman 2013-08-13 15:36:59 -04:00
Patrick McManus
5ce0b3ff15 bug 897503 - part 2 use smart pointers for nsHttpHandler references r=sworkman 2013-08-13 15:36:58 -04:00
Patrick McManus
21de752dfd bug 897503 - part 1 - HttpChannelParent reference count bug of nsHttpHandler r=sworkman 2013-08-13 15:36:56 -04:00
Steve Workman
5c35198cbf Bug 897904 - Set nsInputStreamPump::mStatus only if EnsureWaiting fails 2013-08-12 11:13:23 -07:00
Phil Ringnalda
ca9b2a7969 Back out f99521bfd197:38657fcd2d1a (bug 890570) for Linux xpcshell failures
CLOSED TREE
2013-08-10 17:23:05 -07:00
David Zbarsky
abd893149c Bug 890570: Stop using PBrowser for all other protocols r=jduell 2013-08-10 11:18:12 -04:00
David Zbarsky
dbc554a895 Bug 890570 - PRemoteOpenFile Constructor doesn't need PBrowser r=jduell 2013-08-10 11:18:12 -04:00
David Zbarsky
2e975cf933 Bug 890570 - PTCPSocket constructor doesn't need PBrowser r=jduell 2013-08-10 11:18:12 -04:00
David Zbarsky
09549d7ffd Bug 890570 - PCookieService doesn't need PBrowser r=jduell 2013-08-10 11:18:11 -04:00
Trevor Saunders
b2dc01f1a7 bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium 2013-08-08 20:12:37 -04:00
Nicholas Nethercote
849635b8f1 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Robert Bindar
e4906705a2 bug 835357 - Add telemetry to measure whether DNT is used or not. r=jduell 2013-08-08 08:49:14 -07:00
Ehsan Akhgari
dacd66fdc4 Bug 902082 - Forward-declare PSpdyPush3 in nsILoadGroup.h; r=mcmanus 2013-08-07 15:01:40 -04:00
Nicholas Nethercote
c1d8302699 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
David Keeler
f6f47c149c bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-08-02 16:23:18 -07:00
David Keeler
e02475356e bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
Ryan VanderMeulen
e91e143e66 Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
David Keeler
a746ca39ba bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst 2013-07-01 10:49:40 -07:00
David Keeler
503e645f01 bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Catalin Iordache
7e60ec659f Bug 890513 - Diagnostic tool: DNS Lookup implementation. r=valentin.gosu 2013-08-02 12:42:45 -04:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
fe9c33f5f4 Bug 897921 - Remove some dead assignments in makefiles; r=mshal 2013-08-02 09:03:55 +02:00
Bobby Holley
595cbc9fd5 Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke 2013-08-01 18:38:47 -07:00
Dão Gottwald
1a528e7327 Bug 728773 - Always freeze the build ID in the UA string at 20100101. r=bz sr=gerv 2013-08-02 00:50:45 +02:00
Nathan Froyd
8540f0b471 Bug 900088 - remove unused <iostream> #include from DataChannel.cpp; r=jduell 2013-07-31 13:09:00 -04:00
Nathan Froyd
91ea594a40 Bug 900047 - remove nsIOThreadPool code; r=jduell 2013-07-31 12:04:47 -04:00
Joey Armstrong
4246f49c03 Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3); r=mshal 2013-06-11 16:38:22 -04:00
Robert Bindar
0b0878e5da Bug 890597 - Transport layer ping diagnostic tool. r=valentin.gosu 2013-07-31 09:16:44 -04:00
Mook
0ce5f94aa5 content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell) 2013-07-30 14:38:26 -07:00
Dão Gottwald
830d811286 Bug 896114 - Don't initialize UserAgentOverrides on desktop. r=dolske 2013-07-30 22:51:25 +02:00
Simon Montagu
7cb47ec935 Only test IDN nodes against kMaxDNSNodeLen on string-prepped IDNs that we're going to send to DNS, not the Unicode form for display only. Bug 892370, r=honzab
--HG--
rename : netwerk/test/unit/test_bug722299.js => netwerk/test/unit/test_idn_urls.js
2013-07-29 22:32:37 -07:00
pchang9@cs.wisc.edu
8058281b16 bug 898221 - search backwards for the last punycode delimiter instead of forwards. r=hurley 2013-07-30 13:01:11 -07:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Bobby Holley
08f9b6fd28 Bug 899245 - Rename JS_SetGlobalObject and move it into jsfriendapi. r=luke 2013-07-29 16:45:26 -07:00
Ryan VanderMeulen
2ef7a9892a Merge m-c to inbound. 2013-07-29 18:42:45 -04:00
Ryan VanderMeulen
747adc4200 Merge m-c to fx-team. 2013-07-29 17:27:08 -04:00
Tomoaki Konno
f7cd8c637c Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
Robert Bindar
2c2e4875ec Bug 897910 - Trace data sent or received by Firefox. r=mcmanus 2013-07-29 12:08:03 -04:00
Adrian Lungu
e9ec3b582d Bug 887984 - Send telemetry data from NTLM Init() methods. r=honzab 2013-07-25 09:54:11 -07:00
Trevor Saunders
64dbc43c4d backout bug 886526 because it probably made us use a lot more memory to link on windows 2013-07-29 11:03:21 -04:00
Dão Gottwald
527e9d0a01 Bug 788422 - Use UserAgentOverrides.jsm as designed to fix YouTube on tablets. r=bnicholson 2013-07-27 16:18:25 +02:00
Ryan VanderMeulen
d07905c6bc Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE. 2013-07-26 22:49:13 -04:00
Mook
9a443aeeaf content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell) 2013-07-26 15:25:27 -07:00
David Keeler
5ac4ee12c2 bug 846825 - refactor, make HSTS header parser more spec-conformant r=cviecco r=grobinson 2013-07-25 16:13:50 -07:00
Ryan VanderMeulen
506a9c9921 Merge m-c to inbound. 2013-07-26 12:09:20 -04:00
Dão Gottwald
6c67a10203 Bug 891968 - Only have one copy of each overriding UA string. f=hurley r=jduell 2013-07-26 09:39:01 +02:00
Mike de Boer
d844cdcfda Bug 890690 - Add postDataString property to nsISearchSubmission. r=gavin
--HG--
extra : transplant_source : %F8%86%BD%9A%0Bt%95%F8%DC%E5%FA%BD%C8%3BP%87%A1%CB/%95
2013-07-19 19:56:38 +02:00
Nick Hurley
a135ae3a01 Bug 891932 - process the pending spdy transaction queue in order r=mcmanus 2013-07-24 17:05:49 -07:00
Ivan Alagenchev
31ce6c49be Bug 846918: add hsts message queue to httpchannel. r=bsmith. 2013-07-26 08:37:03 -07:00
Ed Morley
a4c659faee Merge mozilla-central and fx-team 2013-07-24 13:37:09 +01:00
Tim Taubert
4c63bf75c7 merge m-c to fx-team 2013-07-24 12:15:50 +02:00
Ms2ger
8ab83f380e Merge m-c to inbound. 2013-07-24 11:53:22 +02:00
Paolo Amadini
301448fba6 Bug 896179 - Crash in BackgroundFileSaver when append is enabled and hashing is disabled. r=mcmanus 2013-07-24 10:16:01 +02:00
Ms2ger
7d7359c752 Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps 2013-07-24 09:23:06 +02:00
Dão Gottwald
9d0f2e8b1e Bug 896382 - Cache the override (or that there's no override) for each host to avoid doing the same iterative string matching for every HTTP request. r=hurley 2013-07-24 09:38:45 +02:00
David Zbarsky
b9c20a7821 Bug 894646 - Various dom deCOM cleanups r=Ms2ger 2013-07-23 16:39:17 -07:00
Gregory Szorc
c5eba49bad Bug 896093 - Reference proper variable when blocked port is used; r=trivial 2013-07-23 13:53:01 -07:00
David Rajchenbach-Teller
72ce02ec65 Bug 897033 - Fix nsCookieService's statement finalization. r=ehsan 2013-07-23 16:41:23 -04:00
Catalin Iordache
7892a4bbff Bug 888628 - Create another field for HttpRetParams structure which keeps track of half open connections. r=valentin.gosu 2013-07-23 10:52:01 -04:00
Joshua Cranmer
bb26e8f816 Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
9254ed8d14 Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Patrick McManus
bcf5650b54 bug 887753 - server not found after reconnecting to etherpad r=sworkman 2013-07-19 18:40:00 -04:00
Cameron McCormack
ff401b5a0d Backout bdceed703766 (bug 887984) for Windows build failures. 2013-07-23 13:43:45 +10:00
Adrian Lungu
fc305ae760 Bug 887984 - Send telemetry data from NTLM Init() methods. r=mayhemer 2013-07-18 12:00:04 -07:00