Commit Graph

208 Commits

Author SHA1 Message Date
Shawn Wilsher
2bcf4bf0cd Bug 532146 - NetUtil.jsm needs a helper for creating new channels
Adds a new method for creating an nsIChannel from a string spec, an nsIURI, or
an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:06 -08:00
Shawn Wilsher
da980cf6e1 Bug 532143 - NetUtil.newURI should take a string or nsIFile
You can now automagically get an nsIURI providing a string or an nsIFile.
r=bz
sr=vlad
2009-12-15 23:33:03 -08:00
Jonathan Kew
830542e84e Bug 533079 Actually land patch addressing review comments from bug 507970 a=shaver r=biesi 2009-12-07 10:49:46 +00:00
timeless
83956299ff Bug 529773 - "nsProtocolProxyService::PrefsChanged / nsProtocolProxyService::Resolve_Internal don't behave cleanly when do_GetService(NS_SYSTEMPROXYSETTINGS_CONTRACTID) fails" (act like preference is Direct when SystemProxy isn't available) [r=biesi] 2009-12-03 01:31:55 -06:00
Jonas Sicking
a683373ce9 Fix mobile build bustage. Some compilers still don't seem to like L-strings spread out over several lines. r=crowder 2009-11-18 16:22:25 -08:00
Jonas Sicking
840c879ba2 Bug 529041: Deal with http channels not implementing nsIUploadChannel2. r=biesi 2009-11-18 15:21:13 -08:00
Honza Bambas
627774b80b Bug 515051 - Stream listener registered in a network request channel eats JS error messages, r=bz+biesi 2009-11-18 17:02:28 +01:00
Mark Finkle
2a60c72d7a Bug 495674: Internet connection should be initiated if needed [r=biesi] 2009-11-18 10:20:45 -05:00
Shawn Wilsher
b72759d65f b=522416; hang fix followup; r=bz 2009-10-18 13:40:49 -07:00
Ben Hsieh
14a9181f6b Bug 522025 - Incessant slew of GetURLSpecFromFile warnings. r=taras 2009-10-16 16:59:02 -07:00
Shawn Wilsher
3e6c5bc384 Bug 522416 - Add an asyncFetch method on NetUtil.jsm
This adds an asyncFetch method on NetUtil that will open a channel
asynchronously and provide the consumer with an input stream upon completion.
r=bz
sr=vlad

--HG--
extra : rebase_source : bbeffb5669ba0f040773fca5faca28494982ff94
2009-10-15 16:16:01 -07:00
Taras Glek
f874b47f78 Bug 520069 - cope with nsResURLs that don't point to physical files r=biesi
--HG--
extra : rebase_source : 451622b7f43dfaafa6ea10b28e452dc65678a594
2009-10-08 11:19:07 -07:00
Ben Hsieh
3eab496287 Bug 510991 - NS_GetURLSpecFromFile does a stat(). r=biesi 2009-10-06 15:43:59 +02:00
Ryan Flint
c249f3251a Bug 514415 - Expose NetUtil's reference to nsIIOService. r=sdwilsh, sr=bzbarsky 2009-10-03 01:11:20 -04:00
Honza Bambas
89990221eb Bug 479485 - Invalid port numbers cause default port to be used, should fail to load, r=bzbarsky 2009-09-28 17:10:34 +02:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Boris Zbarsky
5812649a29 Bug 409500. Compute the right output length for our base64 decoding. r=jduell 2009-09-18 14:53:17 -04:00
Jonathan Kew
c99301388b Bug 507970, part 1: nsIStreamLoader changes to support downloadable font code, r=bzbarsky
--HG--
extra : rebase_source : d0142c7afc7b7788a76caf2a2508e7604c2b74f1
2009-09-17 11:14:25 +01:00
Makoto Kato
4cd8c7c8eb Bug 507312 - nsFileInputStream::available() throws for files >= 4,294,967,295 bytes (4 GB). r=cbiesinger 2009-09-16 14:50:32 +09:00
Shawn Wilsher
36e4260c09 Bug 508902 - NetUtil.jsm should have a newURI method.
r=bz
sr=bsmedberg
2009-09-02 13:24:49 -07:00
Honza Bambas
349696172b Backout rev fc99651e9bca 2009-08-26 21:39:37 +02:00
Honza Bambas
4ce6f49811 Bug 479485 - Invalid port numbers cause default port to be used, should fail to load, r=bz 2009-08-26 20:08:28 +02:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Neil Rashbrook
6703d55afc Bug 408599 Expose nsSimpleNestedURI to XPCOM r=biesi sr=bz 2009-08-23 23:48:07 +01:00
Justin Dolske
5c8fe7b1db Bug 510627 - Windows CE hanging on some SSL sites. r=vladimir sr=cbiesinger 2009-08-20 15:17:29 -07:00
Navin Lal
7d36965d96 Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Masatoshi Kimura
1fcebc0492 Bug 493483 - "No proxy for" setting doesn't support IPv6 address literals. r=jduell, sr=bz 2009-08-11 10:28:34 +02:00
Mook
c76fd52119 Bug 504025 - [windows x64] casting pointer to long is illegal on win64; cast to PRUptrdiff for printing out pointers; r=cbiesinger
--HG--
extra : rebase_source : 9e9c5bc75f6d0c364bdd3d92b4b543da9f94b3bb
2009-08-09 00:50:42 +02:00
Mook
3aac38d487 Bug 504025 - [windows x64] casting pointer to long is illegal on win64; don't cast HANDLE to UINT either; r=doug.turner sr=cbiesinger
--HG--
extra : rebase_source : fe76a36b0ea21d3180883fc86772da029714b9da
2009-08-09 00:50:36 +02:00
L. David Baron
67e0d56fdf Backed out changeset bae405b94b96 (testing to see if it affected bug 505718, bug 508767) to re-enable leaked url dump for unit test boxes. 2009-08-07 08:23:15 -07:00
L. David Baron
fd82d36325 Try disabling DEBUG_DUMP_URLS_AT_SHUTDOWN to see if it's responsible for the unit test shutdown hangs (bug 505718, bug 508767) 2009-08-06 11:29:08 -07:00
Shawn Wilsher
eba729bbcf Bug 491936 - Create tests for NetUtil.jsm
Creates tests for NetUtil.jsm and fixes some minor errors with it.
r=bz
2009-08-05 13:19:01 -07:00
Doug Turner
a2e8253fb1 Bug 490663 - Autodialer does not work on proxied connections. r=blassey, sr=vlad 2009-07-08 10:52:45 -07:00
Mark Finkle
de81a851f5 Bug 499852: up network thread priority on Windows CE, r=vlad, sr=biesi 2009-07-06 15:20:10 -04:00
Vladimir Vukicevic
a32c418d58 b=499852; up network thread priority on Windows CE; r=jduell,sr=biesi 2009-07-01 11:35:56 -07:00
Florian Queze
de037324a8 Bug 316071 - Software Update progress bar updates in 300k chunks, making it look stalled for dialup users. r=biesi 2009-06-16 10:46:40 +02:00
Arpad Borsos
a797cac310 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
L. David Baron
8124f7c658 Dump list of leaked nsStandardURL objects at shutdown in builds with leak logging enabled, to give us more insight into the portion of the random orange that is random leaks. 2009-06-10 08:51:03 -04:00
Daniel Veditz
4210f1b6a9 bug 491801 the no_auth URLparser needs to enforce no_auth, r=jduell, sr=biesi 2009-05-16 20:21:35 -07:00
timeless@mozdev.org
a3369e8a4f Bug 477934 nsSafeFileOutputStream (prefs.js) not safe from system crashes
r=biesi
2009-03-12 13:13:00 +01:00
L. David Baron
52cbbf22c8 Backed out changeset 240fa475d2b0 (temporary leak debugging code). 2009-05-08 21:37:28 -07:00
L. David Baron
735bc96f70 Temporarily land patch to dump leaked nsStandardURL objects at shutdown, to give us more insight into the portion of the random orange that is random leaks. a=josh for CLOSED TREE 2009-05-08 14:26:33 -07:00
Boris Zbarsky
f4c921057f Actually address review comments for bug 482310. a=sdwilsh for CLOSED TREE 2009-05-07 17:00:06 -04:00
Boris Zbarsky
cb4004dfeb Bug 482310. Add a JS api to asynchronously copy data to an output stream. r+sr=bsmedberg. 2009-05-07 15:21:54 -04:00
Dão Gottwald
404289d05e Backout bug 477934 because of Tshutdown regression 2009-05-07 11:51:14 +02:00
Patrick McManus
47f5a5ed6b Fixing bug 488162. Disable prefetches on proxy config and pref, r+sr=bzbarsky@mit.edu 2009-05-06 14:26:33 -07:00
timeless@mozdev.org
df58380163 Bug 477934 nsSafeFileOutputStream (prefs.js) not safe from system crashes
r=biesi
2009-03-12 13:13:00 +01:00
Doug Turner
19b855b26d Bug 488140 - rename the class in nsAutodial and friends to be consistent. r=jduell, sr=stuart 2009-04-13 21:41:33 -07:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Doug Tuner
0946ba26d7 bug 486063 - AutoDialer support on Windows Mobile doesn't work just quite right r=blassey sr=stuart 2009-04-13 22:49:06 -04:00