152 Commits

Author SHA1 Message Date
blakeross%telocity.com
0853dbe7d9 Backing out...saving for a rainy day...
git-svn-id: svn://10.0.0.236/trunk@205624 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:20 +00:00
blakeross%telocity.com
137a135c68 102477 - Turning on download manager. r=law sr=ben a=dbaron
git-svn-id: svn://10.0.0.236/trunk@205623 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:19 +00:00
bzbarsky%mit.edu
aeddee91bf Bug 129535 -- get filenames from the right places in some edge cases.
r=law, sr=alecf, a=asa


git-svn-id: svn://10.0.0.236/trunk@205600 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:56 +00:00
bzbarsky%mit.edu
95af24d107 Do not apply content decoding if the url ends in .gz or .zip. The
content-encoding battle never ends...  Bug 128199, r=law, sr=darin,
a=asa


git-svn-id: svn://10.0.0.236/trunk@205599 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:55 +00:00
bienvenu%netscape.com
6ed8e26d38 fix problem saving inline attachments (e.g., images) from mail and news messages with right click context menu r=law, sr=darin, a=dbaron 116234
git-svn-id: svn://10.0.0.236/trunk@205598 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:54 +00:00
locka%iol.ie
c3771e4266 Display an authorization prompt when shift-click to save password protected URIs. b=116279 r=brade@netscape.com sr=darin@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@205597 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:53 +00:00
bzbarsky%mit.edu
0fcf1d23e6 Don't show bogus "save as text" option when doing "save link as". Bug
127912, r=law, sr=blake, a=asa


git-svn-id: svn://10.0.0.236/trunk@205596 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:52 +00:00
bzbarsky%mit.edu
824da8a4af make "save as" offer the "web page, complete" option on ebay and on
other such pages where the server sends no content type.

Bug 128162, r=law, sr=jag, a=shaver.


git-svn-id: svn://10.0.0.236/trunk@205595 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:51 +00:00
bzbarsky%mit.edu
911cc8be22 Decode by default when saving, except for types on a "ban list". Bugs
69306, 120033, 121001, r=law, sr=darin, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@205594 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:50 +00:00
bzbarsky%mit.edu
46f25dd8ac Make "save as" succeed even without a mime info. Bug 127333, r=law,
sr=jag, a=brendan


git-svn-id: svn://10.0.0.236/trunk@205593 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:49 +00:00
law%netscape.com
7a386f54c3 Bug 27609; use new progress dialog so errors are handled properly; r=bzbarsky, sr=ben
git-svn-id: svn://10.0.0.236/trunk@205592 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:48 +00:00
jst%netscape.com
7687c66eac Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@205590 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:46 +00:00
blakeross%telocity.com
4d7cfb0a2b 89389 - save as link should alert user if page doesn't exist (and not save the link). r=bz sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@205589 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:45 +00:00
bzbarsky%mit.edu
3e45b1fb58 Make it possible to save files of types for which we have mimeinfos but
no extensions.  Bug 68801, r=law, sr=jag


git-svn-id: svn://10.0.0.236/trunk@205583 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:39 +00:00
bzbarsky%mit.edu
4e90ccd992 Use the URI Checker to get headers for Save As. Bug 118719,
r=law,akkana,cmanske, sr=darin


git-svn-id: svn://10.0.0.236/trunk@205582 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:38 +00:00
bzbarsky%mit.edu
0c2f302483 Fix blocker bug 122217. Use a contractid instead of the classid (which
is no longer registered) for the mime service.  r=brade, sr=jag.


git-svn-id: svn://10.0.0.236/trunk@205581 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:37 +00:00
timeless%mac.com
51fce11ca0 Bug 121720 Save Dialog should be able to be minimized
patch by Matti@epost.de r=caillon@returnzero.com sr=blake


git-svn-id: svn://10.0.0.236/trunk@205580 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:36 +00:00
cmanske%netscape.com
f4634e2926 Support Edit Frame in Composer, simplify Save Frame for browser, and move editor methods in editorApplicationOverlay.js, b=89975, r=hewitt, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@205579 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:35 +00:00
bzbarsky%mit.edu
15ccad1ef6 Make content-disposition parsing more forgiving. Fixes bug 121509 and a
few existing evang bugs.  r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@205563 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:19 +00:00
bzbarsky%mit.edu
5048b0c908 Make "Open in new Window" and "Open in new Tab" set referrer correctly.
Bug 48902, r=doron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@205562 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:18 +00:00
bzbarsky%mit.edu
10982e4935 Make sure we always use "browser.download.dir" for the download dir
pref.  Bug 120997, r=timeless, sr=hyatt, a=asa


git-svn-id: svn://10.0.0.236/trunk@205561 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:17 +00:00
bzbarsky%mit.edu
1797b6afde Fix Content-Disposition parsing not to include "filename=" in the
filename for Save Link As.  Bug 120409, r=sballard@netreach.net, sr=ben,
a=brendan.


git-svn-id: svn://10.0.0.236/trunk@205560 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:16 +00:00
ben%netscape.com
a30aa36b43 Fix .9.8 bugs:
115180 - saving a complete page on top of an existing complete page messes up
116167 - "Save Image" uses POST method
116445 - gzip files expanded when downloaded via "save link as"
115181 - saving a file sometimes results in an unpopulated progress dialog that does not go away
42441 - Save as Plain Text
115148 - save as dialog does not remember last directory used
115440 - File/Save Page does not work for PDF files
116263 - "File Type" selection in Save Page dialog is not remembered
115395 - Save Page as full page mpg does not work
115210 - Save Page as for plain text is not intelligent
115087 - Doing save page on an image Document should not save image document HTML

Nature of fixes described here:
http://bugzilla.mozilla.org/show_bug.cgi?id=120174

r=law, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@205559 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:15 +00:00
dougt%netscape.com
ab1f923c17 Backing out ben. this change cause 120118
git-svn-id: svn://10.0.0.236/trunk@205552 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:08 +00:00
ben%netscape.com
b5069a102c 115440 (r=law@netscape.com, sr=brendan@mozilla.org) saving full page plugin does not work
along with some other bugs but I forget the #s. Full patch attached to 115440.
includes:
- persisting last directory saved to
- persisting last conversion type specified when saving a document
- ensuring that content-disposition is favored when choosing a default filename for a file
  (r=blake, sr=brendan)
- null checking document in call to saveInternal before accessing properties on it.


git-svn-id: svn://10.0.0.236/trunk@205551 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:07 +00:00
stephend%netscape.com
962f19cc3e Bug 114543. Error in Javascript console on using 'Open in New Tab' on a link. Patch by John Morrison <jrgm@netscape.com> r=jag, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@205550 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:06 +00:00
jaggernaut%netscape.com
d714811893 Bug 102155: javascript error in contentAreaUtils.js. Patch by Mike Young <youngfam@nni.com>, r=caillon@returnzero.com, sr=jag
git-svn-id: svn://10.0.0.236/trunk@205549 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:05 +00:00
ben%netscape.com
37fdfcf09e 115440 - File/Save Page doesn't work for PDF files
refactor code to always sniff for content-type when saving a document,
and show the text/html options only when there is a document and
the content type is one of the supported types (e.g. text/html)
sr=hyatt/blake


git-svn-id: svn://10.0.0.236/trunk@205548 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:04 +00:00
ben%netscape.com
84df6ce03b this is part of the previous checkin to fix blocker bug 114874. change code to open correct xul file
git-svn-id: svn://10.0.0.236/trunk@205547 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:03 +00:00
ben%netscape.com
2dfce3ed81 bug 11632 - save page with images, stylesheets, objects and applets.
r=hewitt, brade, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@205546 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:39:02 +00:00
timeless%mac.com
2987e35651 Bug 102155 - javascript error in contentAreaUtils.js
whitespace fixes only
patch by caillon@returnzero.com r=stephend@netscape.com sr=alecf


git-svn-id: svn://10.0.0.236/trunk@205536 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:38:52 +00:00
bnesse%netscape.com
45057dddc0 Bug 106159. Switch remaining js and xul files from nsIPref interface to nsIPrefService/nsIPrefBranch interfaces to eliminate conflicts. r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@205535 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:38:51 +00:00
hyatt%netscape.com
4ac241ba90 Fix for 102120, ability to load tabs in background, r=bryner, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@205492 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:38:08 +00:00
gerv%gerv.net
d4fdce48aa Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@205488 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:38:04 +00:00
hyatt%netscape.com
c80672e223 Checking in a patch for Antoine Labour, Open Link in New Tab, r=bryner, sr=hyatt, bug #101487
git-svn-id: svn://10.0.0.236/trunk@205466 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:37:42 +00:00
vidur%netscape.com
ed37c8a117 Fix for bug 84106. Save As for a page with post data tries to get the page out of the cache using its cache key. If the page is not in the cache, it prompts before re-posting. r=adamlock, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@205437 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:37:13 +00:00
mstoltz%netscape.com
be5c954798 86019 - Change stack-walking code in caps to keep functions from inheriting privileges
from their caller. r=jesse@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org, PDT+

86982 - Add same-origin security check to XMLDocument::Load(). r,a=blizzard@mozilla.org,
sr=jst@netscape.com

84191 - Fixing regression in Open URL dialog by not calling CheckLoadURI when it isn't
needed. r=cmanske@netscape.com, sr=sfraser@netscape.com, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@205433 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:37:09 +00:00
dbaron%fas.harvard.edu
e9891048a4 Fix middle mouse click opening new window, which was broken by an improvement in our DOM support in the XPCDOM landing (localName should return null in many cases). r=blake sr=jst b=79548
git-svn-id: svn://10.0.0.236/trunk@205402 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:36:38 +00:00
mstoltz%netscape.com
ba5d92f71c More fixes for 55237, cleaned up CheckLoadURI and added a check on "Edit This Link." Also added error reporting (bug 40538).
r=beard, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@205401 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:36:37 +00:00
disttsc%bart.nl
1239f1534d Get postData from session history instead of BrowserInstance. bug=46200, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@205397 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:36:33 +00:00
ben%netscape.com
2b046c92da Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt


git-svn-id: svn://10.0.0.236/trunk@205363 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:35:59 +00:00
dbaron%fas.harvard.edu
488f10d4f4 Fix "Open Link in New Window" which has been broken for the past 4 hours, since mstoltz changed the case of checkLoadURI in nsIScriptSecurityManager.idl. r=blake sr=jst
git-svn-id: svn://10.0.0.236/trunk@205340 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:35:36 +00:00
blakeross%telocity.com
ed86c118a3 The content area, not the urlbar, should be focused when you open links in new windows (53549). r=saari,timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@205339 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:35:35 +00:00
cmanske%netscape.com
95163af779 Opening a URL in editor always checks for existing window, b=64129, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@205338 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:35:34 +00:00
blakeross%telocity.com
8461365c48 removing dump()s.
git-svn-id: svn://10.0.0.236/trunk@205337 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:35:33 +00:00
blakeross%telocity.com
a301f7d717 Fix 60736: JS strict warnings in contentAreaUtils.js. patch by Henrik Gemal (gemal@gemal.dk). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@205207 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:33:18 +00:00
sspitzer%netscape.com
c1e9547208 fix all context menu for the message pane. except for "Select All",
none of the menu items worked.  two problems:  move isDocumentFrame()
out to contentAreaUtils.js and move the creation of the contextMenu out
so it wouldn't go out of scope.  r=blakeross, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@205206 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:33:17 +00:00
mstoltz%netscape.com
296347db16 Bug 55237 - adding CheckLoadURI to "Open In New Window." r=jband, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@205205 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:33:16 +00:00
ducarroz%netscape.com
537da928df Fix for bug 62113. Remove old sendPage function which get in the way of the new one from the mail overlay. R=blackRoss, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@205204 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:33:15 +00:00
blakeross%telocity.com
5d096842fb Fix 60606: remove (evil!) mail dependency on navigator.js. also fixes bookmarking in mail via the context menu. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@205203 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:33:14 +00:00