Commit Graph

263 Commits

Author SHA1 Message Date
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
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Marco Bonardo
72b6a79779 backout Bug 559927 since suspect of causing a Windows necko test failure 2010-04-29 13:27:10 +02:00
Julian Seward
d2d4feddf7 Bug 559927 - nsAsyncStreamCopier::mCopierCtx not consistently protected by ::mLock. r=cbiesi 2010-04-29 10:39:46 +02:00
Karl Tomlinson
bd6b4f7e1c backout 32502a2c5671 b=559492 due to seg fault in storage/test/test_transaction_helper.cpp possibly in DumpLeakedURLs 2010-04-29 10:40:11 +12:00
Karl Tomlinson
e41101f443 b=559492 only dump leaked URLs on successful shutdown r=dbaron
--HG--
extra : rebase_source : 5472d43f56d11e6090503777853b62a2fcf1a21c
2010-04-29 09:09:59 +12:00
Philip Prindeville
bf66838148 Bug 529921 browser part. Implement core support for RFC-2597/2598/3168 Quality-of-Service (DSCP) marking. r=biesi 2010-06-02 22:25:01 -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
Boris Zbarsky
0ed08e296f Bug 403199. Don't log addref/release of nsSimpleNestedURI, becuse it doesn't work right when someone addrefs the derived class but releases the base class canonical nsISupports, due to aggregation. r=dbaron 2009-04-09 14:01:16 -04:00
Michal Novotny
b90f4bc271 Bug 470716. Make the close-on-completion behavior of nsAsyncStreamCopier configurable. r+sr=bzbarsky. 2009-03-30 15:10:13 -04:00
Neil Rashbrook
031c516b05 Fix allocator abuses: bug 331165 r+sr=bsmedberg; bug 484309 r+sr=bsmedberg; bug 484312 r+sr=biesi 2009-03-25 13:19:08 +00:00
Vladimir Vukicevic
e9c0057a90 WinCE bustage fix. 2009-03-24 20:55:17 -07:00
Josh Aas
a017628a07 Stop using FlatCarbon headers on Mac OS X. b=482277 r=bsmedberg 2009-03-19 10:41:13 -07:00
Honza Bambas
00a867830c Bug 465158 - Minefield Nightly fails to initiate dial-up login when using internet connection sharing, r=cbiesinger 2009-03-18 15:52:31 +01:00
Doug Turner
8e25baac65 Bug 482897 - AutoDialer support on Windows Mobile. r=blassey r=jduell.mcbugs 2009-03-17 23:46:19 -07:00
Robert Sayre
f4dd725cc8 Backout patch for Bug 465158 due to Ts regression. 2009-03-10 21:43:09 -04:00
Honza Bambas
ff29893756 Bug 465158 - Minefield Nightly fails to initiate dial-up login when using internet connection sharing, r=cbiesinger 2009-03-10 20:12:55 +01:00
Ted Mielczarek
f953629314 bug 475178 - nsStandardURL::SetRef broken in Win32 PGO with new PGO input. r+sr=bz 2009-02-27 13:36:23 -05:00
Serge Gautherie
a738c2ca74 Backed out changeset: fe7134fc65ec 2009-02-27 05:50:12 +01:00
Honza Bambas
b84acde538 Bug 465158 - Minefield Nightly fails to initiate dial-up login when using internet connection sharing; r=cbiesinger 2009-02-26 18:25:09 +01:00
Arpad Borsos
70846f9fab Bug 474369 - get rid of nsVoidArray; netwerk part, v2; r=cbiesinger 2009-02-23 02:05:28 +01:00
Dave Camp
1278a3978f Bug 470274 - Firefox cannot visit any websites when waking from sleep. r+sr=bz 2009-02-22 11:09:09 -08:00
Jason Duell
8fbc5ad91e Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron
671f598185 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell
8c27d27270 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Michal Novotny
af52655c11 Bug 448141 - Unable to open file with special characters in file:// ftp:// listing (";", semicolon, in file name); r+sr=bzbarsky 2009-02-19 18:23:19 +01:00
bjarne@runitsoft.com
244d9431fc Bug 466080 - Make more things honor the LOAD_ANONYMOUS flag r=sicking,MisterSSL, sr=sicking 2009-02-17 14:06:52 -08:00
Patrick McManus
840be56e49 Bug 454990. On Windows, increase the size of our TCP send window to 128KB, from the default of 8KB. The value is already 128KB on other OSes, and it appears that other browsers on Windows change the default in the same way. r=jduell, r+sr=bzbarsky. 2009-02-09 12:31:44 -05:00
Fred Jendrzejewski
8759b06c00 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Jonas Sicking
2fe71d8086 Backed out changeset 03bc3379822a 2009-01-14 00:59:52 -08:00
bjarne@runitsoft.com
bd9db67c3e Bug 466080 - Make more things honor the LOAD_ANONYMOUS flag r=sicking,MisterSSL, sr=sicking 2009-01-13 23:06:39 -08:00
Dave Camp
c5cf52ea8a Bug 463046: Network connectivity checking breaks running netwerk unit tests and mochitests with no connection. r=bz, r=jwalden 2009-01-12 21:52:00 -08:00
Daniel Veditz
2fb50e2eb6 Fixing bug 451613. URL parsing treats leading whitespace inconsistently. r=jst@mozilla.org 2009-01-12 17:02:07 -08:00
Boris Zbarsky
b379daa1a1 Bug 464956. Make .desktop files report a redirect not of type REDIRECT_INTERNAL so that we can use that type to detect redirects not under the control of the target resource. r+sr=biesi 2009-01-12 10:40:44 -05:00
Patrick McManus
36e0dca600 Bug 464838: Tweak DNS prefetch to hopefully fix a tp3 regression. r+sr=bz 2008-12-05 12:53:24 -08:00
Boris Zbarsky
e801383a04 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
Honza Bambas
ef5df62b77 Bug 454381: Minefield Nightly brings up Dial-Up Login if a website is unavailable. r=biesi, sr=bsmedberg, a1.9.1b2=beltzner 2008-11-13 15:38:02 +00:00
Patrick McManus
92f594cb63 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky, a=beltzner 2008-11-07 18:00:26 -05:00
Justin Dolske
4c397f756a Backed out changeset e8fd3f4c52b6 2008-11-05 12:54:51 -08:00
Patrick McManus
346822dba8 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 11:14:29 -05:00
Patrick McManus
3714739a14 Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 11:05:46 -05:00
Boris Zbarsky
f3130e5161 Backing out changesets 374d3cf7b48d, 5d9dc9b6127e, 8c4f57a5674d, cd9a392337b7 2008-11-04 11:03:10 -05:00
Patrick McManus
3df57bb663 Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:22:04 -05:00
Patrick McManus
7f731cfb6e Bug 453403. Add DNS prefetching, similar to what Google chrome does. r+sr=bzbarsky 2008-11-04 10:14:50 -05:00
Patrick McManus
0798777095 Bug 459724. Make page reload bypass the DNS cache. r+sr=bzbarsky 2008-11-04 10:12:49 -05:00
Boris Zbarsky
1322caec18 Bug 455311. Better handling of a successful redirect. r+sr=biesi pending 2008-10-22 21:43:15 -04:00
Boris Zbarsky
2938178520 Bug 455311. Better handling of Cancel and IsPending() on nsBaseChannel redirects, plus unit tests. r+sr=biesi 2008-10-22 11:42:32 -04:00
Brad Lassey
dbe8393bf5 Bug 458252: local file paths are wrong on windows mobile r=dougt sr=bsmedberg 2008-10-20 13:03:20 -04:00
Dave Camp
a1df547c6e Bug 495822: Move OfflineAppAllowed from nsIOService to nsOfflineCacheUpdateService. r+sr=biesi 2008-10-19 21:12:25 -07:00
Ian
ee43bba9c1 Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Honza Bambas
de852e3860 Bug 435558 - Certificate error page not displayed while using proxy on 'localhost'; r=cbiesinger sr=bzbarsky 2008-10-10 18:02:30 +02:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Boris Zbarsky
d666c489d5 Back out changeset a8eb5fc88c01: relanding bug 455311. Treat .url files as redirects. r+sr=biesi 2008-09-29 17:02:44 -04:00