Commit Graph

263 Commits

Author SHA1 Message Date
L. David Baron
e56b3fe07b Merge backout of changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:56:17 -07:00
L. David Baron
00cbbadc3e Backed out changeset 6357eb31cec6 (bug 455311) for causing performance regression bug 458065. 2008-10-05 19:55:41 -07:00
Michal Novotny
ca0850cf6f Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger] 2008-10-01 00:34:29 -05:00
Boris Zbarsky
6c7a1a881c Bug 455311. Treat .url files as redirects. r+sr=biesi 2008-09-29 17:02:44 -04:00
Arpad Borsos
aa5c56e310 Bug 454479 - Clean up unused variables in netwerk/; r=cbiesinger 2008-09-15 15:34:46 +02:00
Magnus Melin
e3168d95a2 Bug 431890: nsStandardURL::SetSpec does not fail when host contains leading space " ". r+sr=cbiesinger 2008-09-14 21:15:06 +03:00
Michal Novotny
f3d2449c9b Bug 408138 - File URL incorrect when file path is not in filesystem encoding; r=cbiesinger sr=bzbarsky 2008-09-07 15:59:48 +02:00
Honza Bambas
86355cc4a3 Bug 452775 - Minefield Nightly fails to initiate dial-up login; r=cbiesinger 2008-09-07 14:43:35 +02:00
Brian Crowder
2103da0961 Bug 418703 - reduce narrow Windows API calls in necko, original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-27 14:44:54 -07:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00
Dave Camp
db4eca26fd Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-19 19:30:44 -07:00
Michal Novotny
96ad2865a5 Bug 379034 - Relative URLs with capitalized schemes are treated as absolute, r=biesi sr=bzbarsky 2008-08-19 10:48:10 -04:00
Michal Novotny
1edb721140 Bug 427089 – FTP shouldn't send URLs in UTF-8. r=cbiesinger 2008-08-15 16:56:22 +02:00
Brian Crowder
7749f37e2e Backed out changeset f134ac75b142 2008-08-14 15:15:06 -07:00
Brian Crowder
cc90d484f8 Bug 418703 - [relanding] reduce narrow windows API calls (necko patch), original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-14 14:30:58 -07:00
Brian Crowder
17e18f188a Backed out changeset 45df6b91be5a 2008-08-13 11:22:36 -07:00
Brian Crowder
c5184d2bf9 Bug 418703 - [relanding] reduce narrow windows API calls (necko patch), original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-13 11:13:05 -07:00
Brian Crowder
d6dfdd6a4f Ugh! Mercurial fun: accidentally rolledback my rollback.
Backed out changeset bcc661750bec
2008-08-12 10:12:26 -07:00
Brian Crowder
3873ac30c6 Bug 422972: Backed out changeset e951bdfb047d (tree closed) 2008-08-12 09:46:47 -07:00
Brian Crowder
091e89ce8e Bug 418703: Backed out changeset f788da9b2165 (tree closed) 2008-08-12 09:45:54 -07:00
Brian Crowder
cc595c2e58 Bug 418703 - reduce narrow windows API calls in necko/, original patch by Brad Lassey <blassey@mozilla.com>, r=biesi 2008-08-12 09:30:42 -07:00
Benjamin Smedberg
e8fa485944 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
Benjamin Smedberg
4982bf049a Bug 442714 - Mark NS_STACK_CLASS on nsAutoString, r=dbaron 2008-06-30 14:46:47 -04:00
Mats Palmgren
aaa49ce031 URI.path one character short after redirect involving fragment. b=438288 r+sr=cbiesinger 2008-06-19 23:39:46 +02:00
Gavin Sharp
21f5e4e8bf Bug 407538: newURI(http://foo.com:80).port is 80, should be -1 (can set a URI's port to its default value by setting .spec), r+sr=biesi 2008-06-15 21:16:57 -04:00
reed@reedloden.com
1d5b3e1253 Bug 422172 - ""Automatic proxy configuration URL" reload button does not work" [p=hugues.fournier@gmail.com (Hugues Fournier) r+sr=biesi a1.9=beltzner] 2008-05-08 02:05:11 -07:00
reed@reedloden.com
0cdb97a559 Back out Hugues Fournier's patch from bug 422172 as a possible cause of the crashes. 2008-05-07 04:29:08 -07:00
reed@reedloden.com
fd5db83e94 Bug 422172 - ""Automatic proxy configuration URL" reload button does not work" [p=hugues.fournier@gmail.com (Hugues Fournier) r+sr=biesi a1.9=beltzner] 2008-05-07 03:13:46 -07:00
gavin@gavinsharp.com
edac82482f Back out the patch for bug 235853, again, because of mochi*chrome* failures this time. 2008-04-17 19:49:40 -07:00
gavin@gavinsharp.com
ad723de10b Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, and fix HTTP channel code to properly forward cache-related properties to new proxied channels, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner 2008-04-17 18:36:29 -07:00
cbiesinger@gmail.com
b7fc55e78b Bug 429128 correctly adjust mRef when changing the query part of a URL r+sr=bz a=beltzner; unit test by bz r+sr=biesi 2008-04-17 01:27:44 -07:00
gavin@gavinsharp.com
b797288af4 Back out bug 235853 due to mochitest failures 2008-04-08 10:23:19 -07:00
gavin@gavinsharp.com
cc9c79c41a Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner 2008-04-08 07:28:02 -07:00
gavin@gavinsharp.com
79fd3610a0 Back out bug 235853 due to unit mochitest failures 2008-03-25 11:35:25 -07:00
shaver@mozilla.org
019c328818 Bug 235853: don't freeze the UI when resolving DNS for PAC, by using deferred resolution if we would otherwise block on DNS. r+madskills=biesi, a-b5=mconnor 2008-03-25 08:55:19 -07:00
cbiesinger@gmail.com
c25044c5af 364741 set mFDConnected before sending the connected notification r+sr=bz a=beltzner 2008-03-19 15:12:28 -07:00
dveditz@cruzio.com
bf42be7570 bug 421840, relax restriction on empty user:info to fix mailnews regression bug 419116. r/sr=biesi,neil, a=dsicore 2008-03-14 18:31:42 -07:00
timeless@mozdev.org
9dc3d7bca0 Bug 419510 PAC dateRange function doesn't handle months after JUN r=biesi a=dsicore Also adds support for getDay("SAT")... 2008-03-10 18:40:08 -07:00
reed@reedloden.com
8fd5659a33 Bug 355181 - "net_IsValidHostName() comment says one thing, code does another" (use a whitelist) [p=michal@allpeers.com (Michal Novotny) r=biesi a=blocking1.9+] 2008-03-10 11:59:13 -07:00
reed@reedloden.com
bbc9507dde Bug 421490 - "wpad may be dangerous, and it is on by default" (only use WPAD if explicitly set in the prefs) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+] 2008-03-08 01:58:17 -08:00
bzbarsky@mit.edu
1201485052 Add the charset right after the type, before all other params, if there is no existing charset in the type. Bug 413974, r=biesi, sr=sicking, a=beltzner 2008-02-28 20:24:32 -08:00
jwalden@mit.edu
0ac722e734 Bug 417218 - nsStandardURL::SetPath does the wrong thing when the path is '/' and is being set to ''. r+sr=biesi, a=beltzner 2008-02-26 14:48:42 -08:00
florian@queze.net
f3105887fb Bug 418535 - Make socket attachment to nsSocketTransportService usable from XPCOM. r+sr=biesi, a1.9=beltzner 2008-02-26 12:39:50 -08:00
benjamin@smedbergs.us
ca89a98e8c Back out bug 412320 and various followups because the perf impact was minimal and the code is more complicated 2008-02-21 12:39:20 -08:00
dveditz@cruzio.com
cad53fa7ea bug 415034 prevent URIs with userinfo but no username. r=biesi, sr=bsmedberg, blocking1.9+ 2008-02-20 17:24:41 -08:00
dougt@meer.net
43d3cf3539 disable autodialer in windows mobile. r=bsmedberg, a=beltzner 2008-02-20 14:41:27 -08:00
reed@reedloden.com
b52ea5e45c Bug 412207 - nsSocketTransport::OnSocketDetached should null out mCallbacks and mEventSink [p=cbiesinger@gmx.at (Christian :Biesinger) r=Silver sr=sicking a=blocking1.9+] 2008-02-14 03:12:50 -08:00
benjamin@smedbergs.us
54c3badf2f Bustage fix, bug 412320 2008-02-12 12:07:57 -08:00
benjamin@smedbergs.us
5e262ed60c Bug 412320 - generate QI for additional classes which, according to stats, show up in profiles as frequent callers of nsID::Equals, r=biesi,ted,sicking 2008-02-12 11:46:26 -08:00
timeless@mozdev.org
bec7fcee32 Backing out because of unit test failure: [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIZipWriter.addEntryStream]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: ../../../../_tests/xpcshell-simple/test_zipwriter/unit/test_storedata.js :: run_test :: line 84" data: no] 2008-02-09 16:01:36 -08:00
timeless@mozdev.org
933fc11012 Bug 412867 nsSimpleStreamListener needs to autoclose mSink IFF !mObserver r=biesi a=dsicore 2008-02-09 15:15:26 -08:00
reed@reedloden.com
23e398896c Bug 414901 - "Back out scriptable IO" [p=neil@mozilla.com (Neil Deakin) r+sr=bsmedberg a1.9b3=beltzner] 2008-02-01 18:07:49 -08:00
reed@reedloden.com
41073ec644 Back out the back out from bug 414901 until bug 415218 is fixed, or else we'll have very broken nightlies. :( 2008-02-01 00:51:29 -08:00
enndeakin@sympatico.ca
d23cbccf38 Bug 414901, back out scriptable IO api, r+sr=bsmedberg,a=beltzner 2008-01-31 11:18:07 -08:00
reed@reedloden.com
9b84e3d976 Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons] 2008-01-29 10:38:15 -08:00
reed@reedloden.com
14365335d8 Back out for now until there's a fix. 2008-01-29 09:57:17 -08:00
reed@reedloden.com
6e3e57465e Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons] 2008-01-29 07:58:38 -08:00
sayrer@gmail.com
04bee08152 Bug 400091. nsFaviconService leak with rapid page loads. r/sr=biesi 2008-01-28 15:21:27 -08:00
roc+@cs.cmu.edu
64adc7a6ff Bug 404870. Avoid read access to mThread racing with setting mThread to null (which could crash). Also, detect when the thread is no longer accepting events and treat it as the thread not being there anymore in nsSocketTransportService::Dispatch. 2007-12-04 18:18:58 -08:00
kaie@kuix.de
e64d67a61b Bug 378241, Changes from bug 107491 lead to tons of thread-safety asserts r=rrelyea, r=wtc, sr=benjamin, blocking1.9=benjamin 2007-12-04 10:53:14 -08:00
dwitte@stanford.edu
c35938c835 relanding 402008. 2007-12-03 22:30:47 -08:00
dwitte@stanford.edu
5474394150 backing out due to orange. 2007-12-03 18:46:02 -08:00
dwitte@stanford.edu
103a419fdf Bug 402008 - expose nsIURI::GetHost() "display normalization" behavior on nsIIDNService. r+sr=biesi, a=dsicore 2007-12-03 18:24:53 -08:00
bzbarsky@mit.edu
d94f29ae56 Add a way to extract the charset and the position of the charset parameter from a content-type header. Use this in XMLHttpRequest to not clobber the non-charset parameters and not clobber the charset if it's already what we'll set, up to case. Apparently some broken servers are case-sensitive when looking at charsets! Bug 393968 (wherein the patch lies) and bug 397234, r+sr=biesi 2007-12-03 13:34:44 -08:00
cbiesinger@gmx.at
1e54b36be6 bug 262116 make disk cache serialize/deserialize the security info, if present also make nsNSSSocketInfo serializable PSM part: r=kaie sr=darin rest: r+sr=darin 2007-11-30 10:05:54 -08:00
gavin@gavinsharp.com
1e17cef233 Bug 403480: make it impossible to set nsIURI::port to it's default value, r+sr=biesi, a=schrep 2007-11-26 16:51:57 -08:00
bzbarsky@mit.edu
b336aef6a6 Fix leak bug 391978. r=biesi, sr=dmose, a=sayrer 2007-11-08 22:13:26 -08:00
dbaron@dbaron.org
c5d13d4123 Delete gVolumeList on shutdown. b=397305 r+sr+a1.9=bzbarsky 2007-10-02 15:26:53 -07:00
bzbarsky@mit.edu
12bb6b8b24 Fix nsStandardURL serialization/deserialization to properly restore all state. Bug 396389, r+sr=biesi, a=bsmedberg 2007-09-17 15:23:12 -07:00
jag@tty.nl
9198e9c4b8 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg 2007-09-05 06:04:54 -07:00
timeless@mozdev.org
efb38e3198 Bug 392649 https add-on install from filepicker crashes [@ net_GetURLSpecFromFile] r=biesi sr=biesi a=bz 2007-09-05 03:22:42 -07:00
wtc@google.com
53c533617a Bug 213637: code cleanup: use nsAutoLock instead of manually calling PR_Lock/PR_Unlock, and removed mThreadEventLock. r=biesi Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-08-26 13:14:57 -07:00
cbiesinger@gmx.at
2d641b20bd 263127 close the tempfile output stream before calling the observer patch by Wladimir Palant <trev.moz@adblockplus.org> r=biesi sr=darin 2007-08-24 17:26:18 -07:00
cbiesinger@gmx.at
c118d40021 392428 always consider IP addresses valid hostnames r+sr+a=bz 2007-08-21 10:14:47 -07:00
bent.mozilla@gmail.com
7980ed1622 Bug 392657 - Fix typo in comment. 2007-08-19 21:06:58 -07:00
bent.mozilla@gmail.com
0e2d2d7720 Bug 392657 - "'ASSERTION: QueryInterface needed', nsURIChecker missing nsIRequestObserver in QI map". r+sr=biesi, a=bz. 2007-08-19 20:19:11 -07:00
mrbkap@gmail.com
1f8de346fe Make XPCSafeJSObjectWrapper usage in PAC actually work correctly for the common case. bug 391515, r=jst sr+a=brendan 2007-08-15 14:16:52 -07:00
mrbkap@gmail.com
10a72405d4 Make XPCSafeJSObjectWrapper easier to use by not throwing for primitive values passed to the constructor. Use it in more places in PAC. bug 388450, r=crowder sr=brendan a=bzbarsky 2007-08-07 18:49:49 -07:00
enndeakin@sympatico.ca
4ada13e2d9 Bug 380813, improve scriptable io, and give file objects class info, meant to check this in a while ago, r=mfinkle,bsmedberg,sr=bsmedberg 2007-07-25 09:53:37 -07:00
cbiesinger@gmx.at
9ae7c9de67 386376 get services lazily in order to avoid recursive getService calls
r=bsmedberg
2007-07-24 16:47:33 -07:00
bzbarsky@mit.edu
dc8de3f8f7 Reland part of the patch for bug 330420 which got backed out by the
table-driven QI landing.  Bug 387926, r+sr=bsmedberg
2007-07-24 13:17:11 -07:00
cbiesinger@gmx.at
58c915e6bf Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
bzbarsky@mit.edu
28323d5173 Make SetPort actually update the internal offsets correctly. Bug 388281, r+sr=biesi 2007-07-16 21:48:47 -07:00
dveditz@cruzio.com
3745d28e95 bug 383478 deal with %00 in file urls, r=bz,darin 2007-07-12 16:04:24 -07:00
jwalden@mit.edu
af5688aa77 Back out bug 386635; it broke restoring sessions in the browser. 2007-07-12 12:11:45 -07:00
mrbkap@gmail.com
fcde0538ee Always return XPCSafeJSObjectWrappers from Components.utils.Sandbox and evalInSandbox. This makes this interface much, much easier to use safely, as the wrapper takes care of several common problems that occur when touching regular JS objects directly. bug 386635, r=jst sr=brendan 2007-07-11 15:52:28 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
timeless@mozdev.org
e427f99df5 Bug 386614 Crash [@ nsSocketTransportService::Shutdown] when toggling offline/online in 2 frames
guarding against reentrancy from thread shutdown processing events waiting for thread join.
r=biesi sr=biesi
2007-07-04 12:33:57 -07:00
bent.mozilla@gmail.com
a099577eae Bug 386233 - "Content sniffers not always run depending on cache state". r+sr=biesi. 2007-07-02 11:16:52 -07:00
mrbkap@gmail.com
958e1a6be0 Fix typo introduced by bug 374071 original changes r=crowder sr=darin. 2007-06-24 22:23:48 -07:00
asqueella@gmail.com
7cb7471f2a Bug 350932 - expose NS_EscapeURL through nsINetUtil
p=Prasad Sunkari <prasad@medhas.org>
r+sr=biesi
2007-06-21 13:18:25 -07:00
mrbkap@gmail.com
c2eb204370 Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin 2007-06-21 11:56:37 -07:00
mrbkap@gmail.com
204ffd0ef1 Backing out to fix orange. 2007-06-14 17:46:26 -07:00
mrbkap@gmail.com
33b94743eb Switch over to using XPCSafeJSObjectWrapper instead of trying to write it ourselves. bug 374071, r=crowder sr=darin 2007-06-14 16:22:27 -07:00
sdwilsh@shawnwilsher.com
1ba37932bb Bug 383786 - nsIOService uses an Init method when it doesn't need to. Patch by Ryan Jones <sciguyryan@gmail.com>. r=bzbarsky sr=cbiesinger 2007-06-10 17:01:48 -07:00
db48x@yahoo.com
5ebf301846 Bug 321706 - Some elements of pages in sub-directories are not loaded if the URL ends by /.patch by Florian Quèze <f.qu@queze.net>, r+sr=cbiesinger 2007-06-03 07:31:14 -07:00
wtc@google.com
3520824920 Bug 213637: follow the all lowercase comment style of this file. 2007-05-30 14:36:02 -07:00
wtc@google.com
3c2e95bee3 Bug 213637: if the pollable event becomes broken, create a new one. If wecan't create a new one, fall back on "busy wait". Since the pollable eventmay change now, we use a lock to protect it. The bug was tracked down byLiming Zhan. sr=darin.Modified files: nsSocketTransportService2.cpp nsSocketTransportService2.h 2007-05-30 10:30:39 -07:00
dwitte@stanford.edu
ef6b365c4c Bug 368317 - temp files remain if MoveToNative fails in nsSafeFileOutputStream::Finish(). patch by Ryan Jones (sciguyryan@gmail.com), r=mvl, sr=biesi 2007-05-20 11:12:26 -07:00
asqueella@gmail.com
5422f92f6b Bug 372554 - "ASSERTION: cannot set host on no-auth url" trying to set location.hostname at a file: URLp=Ryan Jones <sciguyryan@gmail.com>r=biesi/r+sr=jst 2007-05-03 23:42:28 -07:00
asqueella@gmail.com
a662596943 Bug 377049 - nsBaseURLParser::ParsePath doesn't handle strings that are not NULL terminated, take 2.p=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-27 07:34:26 -07:00
asqueella@gmail.com
d7957d4f56 Backed out until the patch is tested. Sorry for not building with it.b=377049 2007-04-25 14:10:54 -07:00
asqueella@gmail.com
94f197331e Bug 377049 - nsBaseURLParser::ParsePath doesn't handle strings that are not NULL terminatedp=Ryan Jones <sciguyryan@gmail.com>r=biesi 2007-04-25 13:57:35 -07:00
asqueella@gmail.com
b8416a312a Bug 376865 - nsInputStreamPump::AsyncRead does not null check listenerp=Ryan Jones <sciguyryan@gmail.com>r+sr=biesi 2007-04-25 13:52:16 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bent.mozilla@gmail.com
f3296f0003 Bug 372050 - "Expose UnescapeString through nsINetUtil". Patch by Prasad Sunkari <prasad@medhas.org>. r+sr=biesi. 2007-04-23 07:19:04 -07:00
bzbarsky@mit.edu
5a8ef9b905 Set mChannel so consumers can get it even if we have no data. Bug 376660,r+sr=biesi 2007-04-05 16:06:00 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
cbiesinger@web.de
1390efdf1e Bug 372486 – Document and enforce that channels can't be reopenedpatch by Sylvain Pasche <sylvain.pasche@gmail.com> r=biesi sr=darin 2007-03-23 14:56:32 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00