516 Commits

Author SHA1 Message Date
sdwilsh%shawnwilsher.com
76f9eb283a Bug 382825 - Add a retryDownload method to the download manager backend. r=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@227505 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 00:03:36 +00:00
sdwilsh%shawnwilsher.com
c4b3038709 Bug 380250 - Convert Download Manager's RDF backend to mozStorage. r=cbiesinger,r=mconnor
git-svn-id: svn://10.0.0.236/trunk@226764 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 00:03:35 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
mozilla.mano%sent.com
ebcefa5a98 Bug 83265 - Add a way to disable HTTP-EQUIV=refresh. patch from Mark Pilgrim <pilgrim@gmail.com>, r=biesi,mano,mento. sr=bz.
git-svn-id: svn://10.0.0.236/trunk@219699 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 13:15:50 +00:00
bzbarsky%mit.edu
abf33a80b2 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


git-svn-id: svn://10.0.0.236/trunk@213834 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 00:51:54 +00:00
bzbarsky%mit.edu
d5a75db7bf Make javascript: URI execution asynchronous. Bug 351633, r=jst, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@213730 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 00:55:14 +00:00
bzbarsky%mit.edu
a450d306cc Need to make this protected too. More Windows bustage. Bug 330089
git-svn-id: svn://10.0.0.236/trunk@200668 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 04:39:42 +00:00
bzbarsky%mit.edu
04793cf604 Make method protected to fix Windows bustage. Bug 330089.
git-svn-id: svn://10.0.0.236/trunk@200663 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 03:07:02 +00:00
bzbarsky%mit.edu
96e3dab40b 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


git-svn-id: svn://10.0.0.236/trunk@200657 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 01:17:47 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
cbiesinger%web.de
fb58925c66 bug 336108 add OOM check. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@195767 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 18:37:08 +00:00
bzbarsky%mit.edu
2cab058f54 Don't go out to the helper app service if we're dealing with an error page.
Bug 312727, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195577 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:00:36 +00:00
brettw%gmail.com
01f2446de3 Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history.
git-svn-id: svn://10.0.0.236/trunk@189041 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:52:18 +00:00
neil%parkwaycc.co.uk
9529062b1f 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
git-svn-id: svn://10.0.0.236/trunk@188986 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 00:34:30 +00:00
cbiesinger%web.de
2e9007e686 bug 325504 Document the category for content listeners, and the nsISupportsWeakReference requirement for listeners added dynamically. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@188761 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 18:37:37 +00:00
cbiesinger%web.de
a8bf94019e bug 321932 r=bz sr=darin
Better handle the case where channels don't implement isPending correctly


git-svn-id: svn://10.0.0.236/trunk@188388 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 14:06:31 +00:00
cbiesinger%web.de
6c2c34bc30 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


git-svn-id: svn://10.0.0.236/trunk@186255 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 15:25:22 +00:00
cbiesinger%web.de
ab0c43a10c 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


git-svn-id: svn://10.0.0.236/trunk@186205 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 18:26:25 +00:00
bsmedberg%covad.net
0217e2f9a9 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
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
aa4d5b1343 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


git-svn-id: svn://10.0.0.236/trunk@184163 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:40:22 +00:00
bzbarsky%mit.edu
945d5c061c 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


git-svn-id: svn://10.0.0.236/trunk@176002 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:48:01 +00:00
bzbarsky%mit.edu
ddd26b7da5 Fix bug 299553 by calling DocLoaderIsEmpty() when we stop the docloader.
r=biesi, sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175999 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:43:30 +00:00
cbiesinger%web.de
dd25bcee0f Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver


git-svn-id: svn://10.0.0.236/trunk@175720 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 23:12:22 +00:00
bryner%brianryner.com
3274ca4c10 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.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00
pedemont%us.ibm.com
c9f6e9439e Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@172951 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-02 16:30:03 +00:00
cbiesinger%web.de
75f2a6ce48 Bug 290648 make nsITransfer::init take an nsICancelable, and remove the observer attribute
r=bz sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@172674 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-24 21:16:28 +00:00
pedemont%us.ibm.com
eba175a2db Fix Javaconnect build bustage
git-svn-id: svn://10.0.0.236/trunk@171862 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-07 18:58:52 +00:00
cbiesinger%web.de
ae06f2015c 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.


git-svn-id: svn://10.0.0.236/trunk@171744 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 23:24:23 +00:00
darin%meer.net
79a303762b fixes bug 286506 "warning: locally defined symbol ... imported in function ..." r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@170922 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 20:35:35 +00:00
cbiesinger%web.de
af30395567 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@170312 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 19:46:06 +00:00
bzbarsky%mit.edu
7a84efbcc5 Make documentation a little more explicit about the ownership model. Bug
283108, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@169636 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 06:14:44 +00:00
darin%meer.net
2f1d8a824a s/BumpPriority/AdjustPriority/ (bug 278531) r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@169576 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 22:21:21 +00:00
darin%meer.net
55f157bc26 fixes bug 278531 "generic request prioritization (loadgroup prioritization)" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@169569 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 20:58:01 +00:00
darin%meer.net
cbaa8c91c2 fixes bug 276720 "HTTP 204/205 responses should not cause STATE_TRANSFERRING events to be synthesized" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@169144 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-12 00:40:46 +00:00
cbiesinger%web.de
3865c997cd Bug 281130 rename NS_DOWNLOAD_CONTRACTID to NS_TRANSFER_CONTRACTID to better
reflects its purpose
r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@168909 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-07 14:35:46 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
pedemont%us.ibm.com
e4e80b4e8b Need to add nsITransfer to JAVA_XPIDLSRCS as result of bug 241082
git-svn-id: svn://10.0.0.236/trunk@167738 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 17:44:39 +00:00
cbiesinger%web.de
7a0cda61b9 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@167443 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:43:35 +00:00
cbiesinger%web.de
010662d6c8 Bug 241082 exthandler should require just nsITransfer, not nsIDownload
patch by Zbigniew Braniecki <gandalf@firefox.pl> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@167241 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 13:40:51 +00:00
darin%meer.net
e8c0ede516 fixes bug 268483 "Suppress synthesized STATE_TRANSFERRING for untargeted channels" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@167108 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-30 18:13:45 +00:00
db48x%yahoo.com
c68ba75c72 bug 239006: Download manager doesn't account for filesize when presenting combined percentages
patch by Zbigniew Braniecki <gandalf@firefox.pl>, r=cbiesinger, sr=darin


git-svn-id: svn://10.0.0.236/trunk@166848 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-18 04:06:51 +00:00
bzbarsky%mit.edu
90a640bdff 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


git-svn-id: svn://10.0.0.236/trunk@166435 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu
7c38e63eb7 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


git-svn-id: svn://10.0.0.236/trunk@166365 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 00:27:50 +00:00
bzbarsky%mit.edu
028cddf80a Treat an empty disposition string the same as it not being set. Bug 272541,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@166242 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-04 17:46:49 +00:00
pedemont%us.ibm.com
cac5dc3001 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@166068 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 17:33:16 +00:00
cbiesinger%web.de
9e54555186 Bug 223310 use nsIObserver rather than nsIDOMWindowInternal in nsIKeygenThread.
r=jgmyers sr=darin


git-svn-id: svn://10.0.0.236/trunk@165727 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 20:17:25 +00:00
jshin%mailaps.org
74f778e521 bug 267475 Clicking links to JPEG file with Chinese name download the file instead of displaying it in browser r=cbie, sr=bz
git-svn-id: svn://10.0.0.236/trunk@165080 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 02:22:55 +00:00
darin%meer.net
f4dd33b87c freezing nsIWebProgress and nsIWebProgressListener (bug 99639), r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@164686 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 01:16:51 +00:00
pedemont%us.ibm.com
70b892fdf7 Bug 265289 - GetListenerInfo comparing weakrefs rather than referents. r=bsmedberg, sr=darin
git-svn-id: svn://10.0.0.236/trunk@164364 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-25 15:55:33 +00:00