Граф коммитов

543 Коммитов

Автор SHA1 Сообщение Дата
Benjamin Smedberg ba372f3a4c 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
Navin Lal 630f98121a Bug 385154 - remove nsInt64 usage from the tree. r=roc 2009-08-12 10:51:46 +02:00
Christian Biesinger f8b424f36e Fix memory leaks from changeset dcda49ff1a26 - need to make sure that
the destructor gets called for the hashtable entries.

Also fixes a nit (AddRef() -> NS_ADDREF_THIS())

r+sr=bz
2009-07-28 19:46:04 +02:00
Christian Biesinger 3e4562bc01 Bug 487638 - status bar blames wrong resource when downloading slow responding resource
- Makes nsDocLoader store the last-sent status message for each request in the
corresponding nsRequestInfo, and keeps a flag to indicate whether the request
is done
- When a request finishes, it looks for a random request that is not done and
has a non-empty status, and if it finds one, sends that status message to the
listeners
- To make this all work, the patch also changes imagelib so that status and
state messages sent for images are sent with the imgIRequest as the request and
not the channel. This is necessary because the channel is not part of the
loadgroup for images, only the imgIRequest is.
- Make the BrowserStatusFilter always update its pending status message if it
  is dirty, even when that matches the currently displayed status message

r+sr=bz
2009-07-28 18:13:48 +02:00
Honza Bambas c5c01a59b6 Bug 480713 - nsDocLoader doesn't clear requests from mRequestInfoHash, security UI may not report mixed content, r,sr=jst 2009-04-08 10:45:32 +02:00
Jason Duell c1e1fbbaf5 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 3aba362292 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell aaf78a83e2 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Neil Rashbrook 1dd09e631a Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Boris Zbarsky 25a5c2fec9 Bug 477880. Since we kick off some loads during reflow, make sure to flush layout before our last pre-onload emptiness check. r=jst, sr=roc 2009-02-15 13:14:19 -05:00
Boris Zbarsky 402f7a9c31 Bug 460425. Do better security checks during redirection. r=sicking,biesi, sr=sicking 2008-11-25 20:50:04 -05:00
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