Граф коммитов

183 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley f41c087da9 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews 4d20bfdcc1 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Jeff Walden 120886ca73 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Ed Morley 1d05c8c189 Backout 744b40b75241 (bug 807678) on suspicion of causing Win debug xpcshell timeouts on a CLOSED TREE 2012-12-14 13:00:19 +00:00
Josh Aas e4134b8a11 Bug 807678: Don't proliferate NSPR DNS types beyond the host resolver itself. Make it possible to easily hook up other host resolvers. r=sworkman 2012-12-13 09:18:33 -05:00
Ehsan Akhgari 367b53417c Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Josh Matthews 4e012f139b Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Jason Duell 57049dc308 Bug 811669 - nsICachingChannel.cacheKey may not be set on http-on-modify-request anymore. r=mcmanus 2012-12-03 22:24:36 -08:00
Jason Duell c829bc527d Bug 794597 - mozbrowser doesn't send auth request off a redirect. r=jdm 2012-10-09 16:46:24 -07:00
Josh Matthews 10314074af Bug 770778 - Make TCPSocket e10s-friendly. r=bent 2012-09-24 14:53:49 -04:00
Rafael Ávila de Espíndola 0b6fcd9466 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E) 05d997c6df Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Mounir Lamouri 0eb75e0f22 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Chris Jones bb75bebb82 No bug: Merge backout on a CLOSED TREE r=bustage 2012-08-23 22:33:04 -07:00
Chris Jones da27f385d7 Back out bug 777072, bug 619236, and bug 784878 2012-08-23 22:00:14 -07:00
Ryan VanderMeulen 9ad8ca8a9d Merge the last PGO-green inbound changeset to m-c. 2012-08-23 22:06:49 -04:00
Ben Turner 7370f46298 Bug 784726 - 'Remove old IPC::URI'. r=cjones+khuey.
--HG--
rename : ipc/glue/IPCSerializableParams.ipdlh => ipc/glue/InputStreamParams.ipdlh
extra : transplant_source : %A6%BC%8B%8D%3A_%7Df%2B%FE%AA%94%81%AB%CAW%15K%A7%03
2012-08-23 12:33:46 -07:00
Mounir Lamouri f12bc57d40 Bug 777072 - 5/7 - Update IPC::Permission to use appId/isInBrowserElement. r=sicking 2012-08-23 11:38:01 -07:00
Ehsan Akhgari e368dc9c85 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
Ben Turner 8740622e89 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 19:13:54 -07:00
Ben Turner 4b09919a18 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Honza Bambas 15daadba69 Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Ryan VanderMeulen 4369c9acf5 Backout 41a3cdf92063 (bug 782649) for Linux xpcshell failures. 2012-08-22 17:31:06 -04:00
Ben Turner f17c803d93 Bug 782649 - 'Remove old IPC::InputStream'. r=cjones+khuey. 2012-08-22 12:19:29 -07:00
Jason Duell abdbb9d224 Bug 776174 - e10s: cleanup IPC nsILoader code. r=smaug, r=jdm 2012-08-06 21:47:48 -07:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey 03af8b0c50 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey 7096160830 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Ben Turner 841001822a Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : %C5m%04S%92%9F%E6%A7%02%0D%7E%CCz%8B%BBW%AA%C5%81%06
2012-08-03 13:37:58 -07:00
Ed Morley aacca1621e Backout 21d92e8dd85a (bug 780048) for bustage 2012-08-03 21:26:23 +01:00
Ben Turner 922819ef2e Bug 780048 - 'Some input stream types cannot be transferred via IPC'. r=khuey.
--HG--
extra : transplant_source : K%881/0%0DV%D9m%D3%D6%F3O%15%1CX%9E%22%18%DE
2012-08-03 13:10:15 -07:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Patrick Wong 4ccd1d2fbb Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Steve Workman 499bffed97 Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2012-01-20 15:14:46 -08:00
Phil Ringnalda ed1e18f921 Backed out changeset a57b82b18bde (bug 622232) for build bustage 2012-01-23 16:07:47 -08:00
Steve Workman b8a9c0671a Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2012-01-20 15:14:46 -08:00
Marco Bonardo c246bd9bca Backout 08a63bc26c75 (Bug 622232) due to Dromaeo (DOM) regression. 2011-10-26 14:13:07 +02:00
Steve Workman 06e7d450e9 Bug 622232: Cancel DNS prefetches for HTML Anchor Elems after a tab is closed; r=mcmanus sr=bz 2011-10-04 16:22:43 -07:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 40a50219ea Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Josh Matthews f0668c3546 Bug 537787 - Remote websockets. r=jduell 2011-05-04 15:36:23 +02:00
Jason Duell aeeb58e404 Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm 2011-06-11 18:37:09 -07:00
Jason Duell 922a508a0e Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm 2011-06-09 14:02:09 -07:00
Daniel Holbert 2aee8bfc79 Bug 656992: Use DebugOnly<> to fix 'unused variable' opt build warnings in NeckoMessageUtils.h. r=jduell 2011-05-13 13:25:31 -07:00
Nick Hurley bf26c8a98e bug 648878 - move get(local|remote)(address|port) to httpchannelchild r=jduell 2011-05-05 11:45:59 -04:00
Boris Zbarsky 8b85800ca4 Backed out changeset 998b91ea0ffa (bug 648878) because it doesn't build on Windows. 2011-05-03 19:34:58 -04:00
Nick Hurley 22595309e7 bug 648878 - move get(local|remote)(address|port) to httpchannelchild, r=jduell 2011-05-03 17:47:05 -04:00
Alon Zakai b758507282 Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews 484da22282 Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Dan Witte 6b7bdc50fe Bounce input stream and FTP patches for Windows test failure. a=bustage 2010-10-19 19:46:54 -07:00
Alon Zakai d7339e27bc Bug 536289 - Part 2: Make FTP work for fennec. r=jduell a=blocking-fennec 2010-08-10 14:47:00 -04:00
Josh Matthews c7fdd809c9 Bug 536289 - Part 1: Move IPC::InputStream to a more general location. r=jduell a=blocking-fennec 2010-10-14 14:21:48 -04:00
Michal Novotny cb302b8fbb Bug 561085 - Make wyciwyg channel work in e10s. r=dwitte sr=biesi
--HG--
rename : content/html/document/public/nsIWyciwygChannel.idl => netwerk/protocol/wyciwyg/nsIWyciwygChannel.idl
rename : content/html/document/src/nsWyciwygChannel.cpp => netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp
rename : content/html/document/src/nsWyciwygChannel.h => netwerk/protocol/wyciwyg/nsWyciwygChannel.h
rename : content/html/document/src/nsWyciwygProtocolHandler.cpp => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.cpp
rename : content/html/document/src/nsWyciwygProtocolHandler.h => netwerk/protocol/wyciwyg/nsWyciwygProtocolHandler.h
2010-10-11 13:35:10 +02:00
Josh Matthews 10b39d0f10 Bug 536289 - Generalize IPDL event queue some more. r=jduell a=blocking-fennec 2010-10-16 01:26:14 -04:00
Alon Zakai 984b79bca9 Bug 599428 - Optimize permissions IPC. r=dwitte a=blocking-fennec 2010-10-09 11:07:38 -07:00
Josh Matthews 7fa00716dd Bug 598076 - Create EventQueue class to allow multiple necko protocols to reuse IPDL queueing code. r=jduell a=blocking-fennec
--HG--
extra : rebase_source : 91b4a645f9e13fbed25093c6a44f4bf2e6c71ad1
2010-09-20 14:37:09 -04:00
Doug Turner affea2f3a2 Bug 558624 - e10s Cookies: Optimize implementation. Part 1. Clean up warning in http. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 5cbdc4b4314575ba339bc6c663279deb8233e812
2010-10-01 15:18:55 -07:00
Honza Bambas df0ee9e34a Bug 536294 - e10s HTTP: redirects. r=jduell
--HG--
rename : netwerk/protocol/http/HttpChannelParent.cpp => netwerk/protocol/http/HttpChannelParentListener.cpp
rename : netwerk/protocol/http/HttpChannelParent.h => netwerk/protocol/http/HttpChannelParentListener.h
2010-08-10 20:11:57 -07:00
Josh Matthews f0ccb9c187 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Josh Matthews fd90e91050 Backint out bug 580450, changeset 4d2c9a0c5e1c 2010-08-02 11:29:10 -04:00
Josh Matthews cfb13d7804 Bug 580450 - Clean up IPC::URI. r=dwitte
--HG--
extra : rebase_source : 25fbd59338609fd9792071b9d414ea983608aab2
2010-07-26 15:59:34 -04:00
Josh Matthews 9740cc5097 Bug 582442 - Make unserializable URIs less fatal. r=dougt
--HG--
extra : rebase_source : a6d805e5444b689b8008b64ee3d6aef21a8ed16c
2010-07-27 19:40:17 -07:00
Steffen Imhof 46bfd6af34 Bug 565163 - e10s: nsHTMLDNSPrefetch needs to be forwarded to chrome. r=dougt
--HG--
extra : rebase_source : bb91a8287ad6484846c89f57d916c97f3c05fb70
2010-07-26 11:49:09 -07:00
Josh Matthews b181744bdc Bug 572980 - e10s: HttpChannelChild incorrectly refcounted. r=cjones, jduell.
This version adds checks to make sure child doesn't try to send any IPDL msgs to
parent after IPDL has been shut down.

--HG--
extra : rebase_source : 47ac7a7f8b5bc0ce3eee10cdc170ae27e9fc94aa
2010-06-27 12:44:15 -04:00
Chris Jones 613ff7284a Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Josh Matthews 98d33f34de Bug 566799 - e10s: Make IPC::URI the go-to for all IPC URI action. Part 2. Allow javascript:. r=dougt 2010-06-29 20:58:28 -07:00
Josh Matthews c401bd7c7a Bug 566799 - e10s: Make IPC::URI the go-to for all IPC URI action. r=dwitte 2010-06-29 15:00:25 -07:00
Jason Duell c0c9f2cf3b Bug 575514: Make DROP_DEAD not die for releases, and allow override by NECKO_ERRORS_ARE_FATAL env var. r=jdm 2010-06-21 00:11:50 -07:00
Josh Matthews 889d9b6437 Bug 574066: xpcshell tests broken since bug 569277. r=bsmedberg 2010-06-23 14:50:45 -04:00
Honza Bambas 35132a6213 Bug 569227 - Join HttpChannelChild with its TabChild, r=smaug 2010-06-18 12:49:28 +02:00
Jason Duell b9be7ef15f Add bug numbers for all TODO items that lack them in necko e10s code. r=cjones
--HG--
extra : rebase_source : c29981d18cd8fc43a11a48cbd1b7e9a2f24c9b24
2010-06-09 20:19:28 -07:00
Doug Turner ace1bafe7e Adjust the netwerk/ipc makefile so that it can find http sources
--HG--
extra : rebase_source : 6774106d84f7e0e29086c38a53d90d889e044f34
2010-06-07 15:02:45 -07:00
Jason Duell 9071f96257 Bug 567428: Turn e10s/necko on by default. r=dwitte 2010-05-21 16:18:19 -07:00
josh@joshmatthews.net 5b2ffbbe0c Bug 536316 - e10s HTTP: channel refcounting. r=jduell 2010-04-24 00:19:33 +10:00
Chris Jones 574b849ecd Followup to bug 541131: update |include protocol "PFoo.ipdl"| usages in e10s. 2010-04-27 02:12:38 -05:00
Josh Matthews d4b794e4ca Bug 541174 - quick fix (part4) 2010-04-27 04:01:44 +10:00
Josh Matthews da2b5a24e9 Bug 541174 - e10s HTTP: Improve how URIs are serialized (part1). r=dwitte 2010-04-09 18:26:36 +12:00
Dan Witte 90b6b20cf2 Bug 537156 - [e10s] Implement cookies. r=jduell,sdwilsh; sr=bz 2010-03-25 16:02:28 -07:00
Jason Duell d6eaddf3ac Bug 530952: Electrolysis HTTP Channel implementation. author=jduell, r=bsmedberg, sr=bz
- Supports only primitive xpcshell HTTP requests which don't set/get HTTP
  headers, don't do redirects, observers, load groups, or anything else other
  than basic things like looking at the reply body, Content-type, Content-length, etc.
- Tested with network/test/unit_ipc/test_simple_wrap.js (patch @ bug 521922)
- Only used if "NECKO_E10S_HTTP" set in environment.
- Force http.h to get #included before any IPDL files, to centralize #define
  handling of LOG and to make sure FORCE_PR_LOGGING is set if needed (bug
  545995)
2009-09-22 11:55:33 -07:00
Chris Jones 270962252a bug 525342: make IPDL dtors part of the destructed actor's protocol instead of the manager's. r=bsmedberg 2009-12-03 02:16:14 -06:00
Chris Jones 8d3e0640b8 bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor 2009-09-22 12:31:11 -05:00
Chris Jones ad7cc03628 switch message handler nsresult return types to bool. appears to break test plugin, will be temporary 2009-09-17 18:09:20 -05:00
Jason Duell 9910cfcf97 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00