Commit Graph

1053 Commits

Author SHA1 Message Date
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
jonas@sicking.cc
ba446696ec Bug 397878: Send Referer-Root header when doing cross-site access requests. Also update domain pattern matching to spec. Patch by <suryaismail@gmail.com>. r=bent sr=sicking b3a=beltzner 2008-01-31 00:16:54 -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
reed@reedloden.com
ba1ebe6e9b Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+] 2008-01-28 23:54:54 -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
mats.palmgren@bredband.net
24741d2e93 Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-15 02:22:58 -08:00
mats.palmgren@bredband.net
41dd0fc779 Backing out bug 397850 to fix mailnews bustage. 2008-01-09 22:50:08 -08:00
mats.palmgren@bredband.net
c2add0c2b0 Make NS_ReadLine() not lie about having more data when the stream ends in \r\n. b=397850 r+sr=cbiesinger a=blocking1.9 2008-01-09 22:17:29 -08:00
sdwilsh@shawnwilsher.com
620f6afe91 Bug 410131 - DM isn't buffering writes when saving a file. r=biesi, sr=bz 2008-01-04 09:55:02 -08:00
dwitte@stanford.edu
61c159a4e6 tweak the NS_ReadLine buffer up to 4096 bytes. b=410264, r+sr=biesi, a=schrep 2008-01-03 16:27:38 -08:00
dwitte@stanford.edu
d60af8c14d move permission manager persistent storage from hostperm.1 to permissions.sqlite, use nsIURI::GetAsciiHost() for consistent host normalization, and expand type/permission limits. bugs 400092 and 400097 (patch in 400097), sr=shaver, pending r=sdwilsh, blocking-1.9+. 2007-12-04 22:37:36 -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
aaa7739fe8 Attempting to fix tinderbox bustage from bug 378241 2007-12-04 11:38:27 -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
dcamp@mozilla.com
911a5b2bb9 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -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
sdwilsh@shawnwilsher.com
9223b5a23c Bug 401174 - Allow how exthandler adds downloads to history to be overridden. r=biesi, sr=bz, a=mconnor 2007-11-23 12:20:41 -08:00
bzbarsky@mit.edu
b336aef6a6 Fix leak bug 391978. r=biesi, sr=dmose, a=sayrer 2007-11-08 22:13:26 -08:00
reed@reedloden.com
eeaeef5a63 Bug 398718 - "Better explanatory text for SSL error pages" [p=kaie/johnath r=rrelyea r=biesi a=blocking1.9+ for M9] 2007-10-30 13:26:25 -07:00
dwitte@stanford.edu
0a3a7b0677 rework effective tld service interface, fix normalization bugs and improve error propagation. b=368989, r=biesi, sr=dveditz 2007-10-25 01:24:13 -07:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
sdwilsh@shawnwilsher.com
723a99fa54 Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 15:48:07 -07:00
sdwilsh@shawnwilsher.com
04d4d5267a Full backout of Bug 369428 2007-10-12 08:30:45 -07:00
sdwilsh@shawnwilsher.com
82e9ccc64f Bug 369428 - nsExternalAppHandler::SetUpTempFile uses a poor source of randomness, resulting in predictable filenames. r=kaie, sr=rrelyea, a=blocking1.9 2007-10-12 06:00:57 -07: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
cbiesinger@gmx.at
e507924848 394242 improve the comments on some necko APIs r+sr+a=bz 2007-08-31 13:23:31 -07:00
cbiesinger@gmx.at
0ff9cf25bd add unit test for bug 372050 and the unescape parts of bug 350932; also, clarify comments for the ESCAPE_URL_ONLY_NONASCII flag. r+sr+a=bz 2007-08-31 13:19:37 -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
bbaf727b9d fix typo in comment 2007-08-24 18:30:39 -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
dtownsend@oxymoronical.com
7daec3138e Bug 341472: ship with fewer security warnings showing by default. p=Adam Guthrie <ispiked@gmail.com>, r=darin.moz@gmail.com, ui-r=beltzner, a=wanted-firefox3 2007-08-20 07:22:42 -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
cbiesinger@gmx.at
4afa23fd6d 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc
2007-07-26 19:40:45 -07:00
kaie@kuix.de
931bb87869 Bug 382223, Add support for Camellia to PSM
Patch contributed by okazaki
r=kengert
2007-07-25 15:53:30 -07:00
bzbarsky@mit.edu
1e0b05ffcf Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -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
dcamp@mozilla.com
d6d4f57562 update the offline cache atomically. b=389223, r=biesi, sr=jst 2007-07-24 23:31:27 -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
dcamp@mozilla.com
41ad48abf4 implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst 2007-07-08 15:15:51 -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
kaie@kuix.de
4847498bb8 Bug 110161, enable OCSP by defaultr=cbiesinger, sr=mconnor 2007-06-05 12:27:42 -07:00
rflint@ryanflint.com
58b0e61e6f Bug 382373 - NS_ERROR_NOT_RESUMABLE and NS_ERROR_FTP_LIST are the same value (25). Patch by Edward Lee <edilee@gmail.com>, r=cbiesinger 2007-06-04 22:48:25 -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
kaie@kuix.de
06f32215fd Bug 110161. Code related to the plan to enable OCSP by default.r=rrelyea, toolkit r=mconnor 2007-05-30 16:13:28 -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
bzbarsky@mit.edu
1414308296 Stylesheets should know what their principal is, and it should be based on theURI the sheet was loaded from, its certificate (if any) and the loaderprincipal, not just on the page the sheet is being applied to. Propagate thisprincipal as the loading principal to @import loads from stylesheets. Changesheet access checks to use this principal instead of the sheet URI. Bug221428, r+sr=peterv 2007-05-01 12:26:15 -07:00
asqueella@gmail.com
ad930c84a4 Bug 378128 - ascii art in IDL files should be protected so that it displays in documentationp=Ray Kiddy <ray@ganymede.org>r=biesi 2007-04-27 09:50:11 -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
sayrer@gmail.com
ec7d7bf042 bug 373253. Initial addition of test framework and tests for pwmgr. Patch by Justin Dolske <dolske@mozilla.com>. r=sayrer, sr=mconnor 2007-04-22 16:56:06 -07:00
sayrer@gmail.com
8c59031fab backout patch from bug 373253 because changes to nsIPasswordManagerInternal, yes Internal, break multiple projects. 2007-04-20 19:14:40 -07:00
sayrer@gmail.com
42c56a3a5b Bug 373253. Initial addition of test framework and tests for pwmgr. Patch by Justin Dolske <dolske@mozilla.com>. r=sayrer, sr=mconnor 2007-04-20 18:46:51 -07:00
bzbarsky@mit.edu
557e77debe Add test and some docs for bug 376660. r=biesi 2007-04-16 18:47:57 -07:00
gijskruitbosch@gmail.com
3ae532001a Bug 229168 - Save Page (with mms:// embedded media) invokes Windows Media Playerp=sciguyryan@gmail.com (Ryan Jones)r=silver@warwickcompsoc.co.uk (James Ross)r+sr=cbiesinger@gmx.at (Christian Biesinger) 2007-04-15 05:31:18 -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
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -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