Commit Graph

582 Commits

Author SHA1 Message Date
Boris Zbarsky
c684aeb137 Moving closing paren to make it clearer what the logic really is and removing redundant comment. No behavior change. 2008-10-22 22:11:40 -04:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
dolske@mozilla.com
59fafa0671 Bug 299372 - Content-Disposition headers no longer looked at for Save Link As filename. original-patch=dmose, r=mconnor, r=biesi, a=blocking-ff3+ 2008-04-02 20:02:08 -07:00
vladimir@pobox.com
ddb55e3265 backing out patch for bug 299372 for b4, as per bug 420481 2008-03-02 23:31:37 -08:00
dmose@mozilla.org
a0abc6c77c Use Content-Disposition headers for "Save Link As", when available (bug 299372); r=mconnor (browser bits), r/sr=biesi (uriloader bits), ui-r=beltzner, a1.9b4=beltzner 2008-02-29 15:59:20 -08:00
reed@reedloden.com
4894cad90d Bug 399233 - "Phishing UI hidden by content, inconsistent with malware" [p=johnath r=tony r=biesi ui-r=beltzner a=blocking-firefox3+ for M9] 2007-10-29 11:29:14 -07:00
dcamp@mozilla.com
2b3259d83f block document loads for URIs tagged as malware by the url-classifier service. b=384941, r=bzbarsky, r=tony, sr=biesi, ui-r=johnath, a=bzbarsky 2007-08-31 16:18:46 -07:00
kaie@kuix.de
bf3473667f bug 386654, Implement notification for EV certs r=rrelyea, sr=bzbarsky, a=bzbarsky 2007-08-23 13:13:50 -07:00
bzbarsky@mit.edu
4c52c17775 Put our load into the newly-created loadgroup when we go and create one. Bug 383961, r+sr=biesi, a=bzbarsky 2007-08-23 10:37:40 -07:00
masayuki@d-toybox.com
a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
57b1b90f4d Make <object> do the same text/plain sniffing that <iframe> does, and use the content type hint if the type comes back as application/octet-stream or sniffed-binary. Bug 389677, r+sr=biesi, a=sicking 2007-08-20 20:26:12 -07:00
sdwilsh@shawnwilsher.com
4e7d7cfc20 Bug 391870 - Have the download manager store the referring uri when appropriate (and use it in the front end). r=mano, r=cbiesinger, sr=cbiesinger 2007-08-17 16:05:26 -07:00
cbiesinger@gmx.at
0fdb87f45b 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
jwalden@mit.edu
6d7584839a 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
sdwilsh@shawnwilsher.com
d13f6121d9 Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger 2007-06-04 17:03:35 -07:00
sdwilsh@shawnwilsher.com
5089b2dda4 Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor 2007-05-21 17:03:33 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
05e5d33a57 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
mozilla.mano%sent.com
6040afd6ff Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz. 2007-02-08 13:15:50 +00:00
bzbarsky%mit.edu
3eaadf1abd Fix handling of subsubframes appended from an onload handler for a subframe so
that the onload handler of the toplevel document will fire after all.  Bug
315056, r=biesi, sr=darin
2006-10-19 00:51:54 +00:00
bzbarsky%mit.edu
9468056c63 Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi 2006-10-17 00:55:14 +00:00
bzbarsky%mit.edu
939cd4d9d3 Need to make this protected too. More Windows bustage. Bug 330089 2006-06-23 04:39:42 +00:00
bzbarsky%mit.edu
412a4dfaaa Make method protected to fix Windows bustage. Bug 330089. 2006-06-23 03:07:02 +00:00
bzbarsky%mit.edu
8b434fdd7a Don't fire onload on a parent frame while we're in the middle of executing a
child's onload.  Bug 330089, r=biesi, sr=darin
2006-06-23 01:17:47 +00:00
timeless%mozdev.org
27eaab5dcd Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
timeless%mozdev.org
a768026fc9 Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
cbiesinger%web.de
24dd26fae9 bug 336108 add OOM check. r+sr+a=bz 2006-05-01 18:36:30 +00:00
bzbarsky%mit.edu
c01799ad25 Don't go out to the helper app service if we're dealing with an error page.
Bug 312727, r=biesi, sr=darin
2006-04-27 18:00:36 +00:00
brettw%gmail.com
4c3ace6b8b Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history. 2006-02-06 20:52:18 +00:00
neil%parkwaycc.co.uk
5417075f05 Bug 245725 Make downloads display an approximation to the current transfer rate rather than the overall average speed p=son.le0@gmail.com r=biesi sr=me 2006-02-06 00:34:30 +00:00
cbiesinger%web.de
a2dcaf9b81 bug 325504 Document the category for content listeners, and the nsISupportsWeakReference requirement for listeners added dynamically. r+sr+a=bz 2006-02-02 18:37:11 +00:00
cbiesinger%web.de
463712374b bug 321932 r=bz sr=darin
Better handle the case where channels don't implement isPending correctly
2006-01-28 14:06:31 +00:00
cbiesinger%web.de
c6e491a9d3 bug 273971 patch by Son Le <son.le0@gmail.com> r=biesi sr=neil
- make nsIDownload::currBytes and maxBytes use bytes rather than kilobytes
- make transfers of unknown size use the right size
  - send mProgress rather than mContentLength as the current progress in OnStateChange
2005-12-19 15:25:22 +00:00
cbiesinger%web.de
9cfbb029a4 309525 add a method to nsIURILoader that accepts a (possibly already opened)
channel and returns a streamlistener for getting the data. Add a flag
DONT_RETARGET for ensuring that content will load in a specific docshell or not
at all.

Also, fix nsChromeProtocolHandler to correctly implement IsPending.

r=bz sr=darin
2005-12-17 18:26:25 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
d5ef3ad3dc Make sure to save our parent off before we call onload so we can tell it to
check whether it should also fire onload.  Bug 300849, r=darin, sr=jst
2005-11-04 23:40:22 +00:00
bzbarsky%mit.edu
75124cd0f0 When doing text/plain sniffing, don't let the special MIME types we use for the
purpose leak out of the URILoader/exthandler combination.  Bug 300027, r=biesi,
sr=darin, a=bsmedberg
2005-07-13 16:48:01 +00:00
bzbarsky%mit.edu
5cd1b86026 Fix bug 299553 by calling DocLoaderIsEmpty() when we stop the docloader.
r=biesi, sr=darin, a=bsmedberg
2005-07-13 16:43:30 +00:00
cbiesinger%web.de
69dc249cbd Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver
2005-07-06 23:12:22 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
pedemont%us.ibm.com
d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
cbiesinger%web.de
aa12c468cf Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa
2005-04-24 21:16:28 +00:00
pedemont%us.ibm.com
e879274019 Fix Javaconnect build bustage 2005-04-07 18:58:52 +00:00
cbiesinger%web.de
f0b358248f 228968 r=bz sr=darin
- add a new nsIWebProgressListener2 interface, inheriting from
  nsIWebProgressListener, providing a 64-bit onProgressChange method
- make nsITransfer inherit from that interface, and remove an unused
  progressListener attribute
- make webbrowserpersist support listeners that implement
  nsIWebProgressListener2, and give them 64-bit progress values
- make nsIHelperAppLauncher's listener setWebProgressListener function take an
  nsIWebProgressListener2 interface

And fix up all implementations according to that.
2005-04-05 23:24:23 +00:00
darin%meer.net
919c87d304 fixes bug 286506 "warning: locally defined symbol ... imported in function ..." r=bsmedberg 2005-03-19 20:35:35 +00:00
cbiesinger%web.de
e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
bzbarsky%mit.edu
418d61ac7a Make documentation a little more explicit about the ownership model. Bug
283108, r=biesi, sr=darin
2005-02-23 06:14:44 +00:00
darin%meer.net
bdb13852d9 s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan 2005-02-21 22:21:21 +00:00
darin%meer.net
ea421f6654 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky 2005-02-21 20:58:01 +00:00
darin%meer.net
548e42a51f fixes bug 276720 "HTTP 204/205 responses should not cause STATE_TRANSFERRING events to be synthesized" r=biesi sr=bz 2005-02-12 00:40:46 +00:00
cbiesinger%web.de
40888bf15f Bug 281130 rename NS_DOWNLOAD_CONTRACTID to NS_TRANSFER_CONTRACTID to better
reflects its purpose
r=bz sr=darin
2005-02-07 14:35:46 +00:00
bryner%brianryner.com
67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
pedemont%us.ibm.com
540c3d249e Need to add nsITransfer to JAVA_XPIDLSRCS as result of bug 241082 2005-01-14 17:44:39 +00:00
cbiesinger%web.de
8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
cbiesinger%web.de
2556456572 Bug 241082 exthandler should require just nsITransfer, not nsIDownload
patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin
2005-01-04 13:40:51 +00:00
darin%meer.net
2fa894ae22 fixes bug 268483 "Suppress synthesized STATE_TRANSFERRING for untargeted channels" r=biesi sr=bzbarsky 2004-12-30 18:13:45 +00:00
db48x%yahoo.com
16bf0830c2 bug 239006: Download manager doesn't account for filesize when presenting combined percentages
patch by Zbigniew Braniecki <gandalf@firefox.pl>, r=cbiesinger, sr=darin
2004-12-18 04:06:51 +00:00
bzbarsky%mit.edu
55ab8dd119 Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
f119e6962c Only sniff text/plain types if the channel says it's still text/plain (this may
be changed after the header is parsed by other components, eg ones listening to
HTTP notifications).  Bug 273306, r=biesi, sr=darin
2004-12-07 00:27:50 +00:00
bzbarsky%mit.edu
741545d0bf Treat an empty disposition string the same as it not being set. Bug 272541,
r=biesi, sr=darin
2004-12-04 17:46:49 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
cbiesinger%web.de
f37a493b22 Bug 223310 use nsIObserver rather than nsIDOMWindowInternal in nsIKeygenThread.
r=jgmyers sr=darin
2004-11-24 20:17:25 +00:00
jshin%mailaps.org
da3ad9140c bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz 2004-11-07 02:22:55 +00:00
darin%meer.net
d5a8604e23 freezing nsIWebProgress and nsIWebProgressListener (bug 99639), r=biesi sr=bzbarsky 2004-10-31 01:16:51 +00:00
pedemont%us.ibm.com
29042c2ba8 Bug 265289 - GetListenerInfo comparing weakrefs rather than referents. r=bsmedberg, sr=darin 2004-10-25 15:55:33 +00:00
darin%meer.net
4e7de0751e updating comments in preparation for freezing these interfaces, b=99639 2004-10-04 15:37:50 +00:00
darin%meer.net
994208629d followup patch for bug 99639 "clean up STATE_IS_WINDOW" r=biesi sr=dbaron 2004-10-01 04:52:26 +00:00
darin%meer.net
7c4f3d015a documentation cleanup in preparation for freezing these interfaces, b=99639 2004-09-29 06:33:54 +00:00
cbiesinger%web.de
281c8602e1 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
darin%meer.net
bb70f70378 landing additional patch for bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-17 20:33:25 +00:00
bzbarsky%mit.edu
b62d4e1d33 Fix misspellings of "transferring" in the tree. Bug 258874, patch by Chris
Thomas (CTho) <cst@andrew.cmu.edu>, r=bsmedberg, spelling fix rs=brendan
2004-09-16 18:33:39 +00:00
pedemont%us.ibm.com
7d3d0d4a79 Bug 258503 - incorrect comment for function onStartURIOpen. r=cbiesinger,sr=bzbarsky,a=mkaply 2004-09-09 15:30:09 +00:00
darin%meer.net
f40f923a0a fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-09 06:54:52 +00:00
bryner%brianryner.com
180b0b7373 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2004-08-20 20:34:37 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner%brianryner.com
0fd21c3872 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
cbiesinger%web.de
dfe82b25ea fix wording to refer to "this content listener", r+sr=bz 2004-07-14 23:15:19 +00:00
timeless%mozdev.org
985e3ccded Bug 250686 hiearchy
r=shaver sr=shaver a=shaver
2004-07-09 23:05:53 +00:00
cbiesinger%web.de
6263ab98d2 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin
2004-06-29 16:45:07 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de
2e0a3492fe document @mozilla.org/download;1
don't delete incomplete files when the download is cancelled/aborts
tell the download impl about the location of the temp file, if it is interested
244448 r=bzbarsky sr=darin
2004-05-26 15:07:52 +00:00
roc+%cs.cmu.edu
0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
4ede76717e Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz
2004-04-25 16:55:27 +00:00
gerv%gerv.net
f7f3cb2736 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 16:52:41 +00:00
darin%meer.net
9ae1052a56 landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner 2004-04-17 00:58:23 +00:00
cbiesinger%web.de
f028ea412d bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
darin%meer.net
8da4a5e516 fixes bug 240053 "lock icon not updated properly on redirect of HTTPS request" r=biesi sr=bz a=dbaron 2004-04-10 20:03:03 +00:00
bzbarsky%mit.edu
5351f884f1 Temporarily disable type-guessing for content-encoded text/plain content. Bug
233047, r=biesi, sr=darin, a=chofmann
2004-03-15 02:00:15 +00:00
timeless%mozdev.org
596c3622ff Bug 145994 Crash in urildr.dll from some embedding clients
patch by rpotts r=jst sr=alecf
2004-03-03 15:46:05 +00:00
bryner%brianryner.com
42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu
6ccc20cdbe Work around misconfiguration in default Apache installs that makes it claim all
sorts of stuff as text/plain.  Bug 220807, r=biesi, sr=darin
2004-01-08 03:56:02 +00:00
cbiesinger%web.de
94dbdd84e4 bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
r=bzbarsky sr=darin
2004-01-07 20:23:46 +00:00
cbiesinger%web.de
b9052b4d45 clarify comment a bit, no bug, r+sr=bzbarsky 2004-01-02 13:17:42 +00:00
dbaron%dbaron.org
8b9610f595 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa 2003-11-29 18:56:10 +00:00
bzbarsky%mit.edu
e85e912e39 Add NSPR logging to content dispatch (not forced on in release builds; the
module is "URILoader").  Bug 223694, r=biesi, sr=darin
2003-10-30 02:03:41 +00:00
bzbarsky%mit.edu
9d0aeeab9d Forgot to make these changes per biesi's review. Bug 171025. 2003-10-09 06:28:49 +00:00
bzbarsky%mit.edu
9d4af46a60 Move all URI dispatch code into nsDocumentOpenInfo. This lets us try other
content listeners if the first one we find fails, as well as letting us
gracefully handle failures to get content converters.  Bug 171025, r=biesi,
sr=darin
2003-10-09 04:00:01 +00:00
cbiesinger%web.de
d9a6156ef7 Bug 220477 convert nsIURILoader comments to doxygen-style comments.
also fixes documentation of parameters of loadURI
r=bzbarsky sr=darin
2003-10-03 20:54:01 +00:00