71 Commits

Author SHA1 Message Date
caillon%returnzero.com
cda99c8332 180377 - openNewTabWith was failing if called from a window which did not have a browser. This was because we were using the current window's document as opposed to the document of the browser (which
we obtained for loading a URL in).
r=bugs4hj@netscape.net, sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@205700 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:36 +00:00
dmose%netscape.com
364054209a Allow links in mailnews message pane to open in browser tabs (bug 148974). r=sspitzer; sr=jaggernaut
git-svn-id: svn://10.0.0.236/trunk@205699 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:35 +00:00
bzbarsky%mit.edu
cb45a38a94 ctrl-middleclick should not send a referrer. Bug 175092, r=timeless, sr=jag
git-svn-id: svn://10.0.0.236/trunk@205697 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:33 +00:00
caillon%returnzero.com
be248589c7 175920, Null window references are not in the content area.
r=bugs4hj@netscape.net
sr=bryner@netscape.com
a=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@205689 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:25 +00:00
caillon%returnzero.com
d797285031 Bug 162393 - Making our content area clicking and link handling more robust.
r=bzbarsky sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@205688 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:24 +00:00
darin%netscape.com
d9f47eb966 adding missing JS changes for bug 157133
git-svn-id: svn://10.0.0.236/trunk@205687 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:23 +00:00
nhotta%netscape.com
547fa1f85b Add a code to unescape with a charset for a non ASCII file name,
bug 163682, r=jbetak, sr=bzbarsky, a=rjesup@wgate.com.


git-svn-id: svn://10.0.0.236/trunk@205686 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:22 +00:00
cbiesinger%web.de
9031e005fc bug 164489 r=timeless sr=bz contentAreaUtils.js should use appendFilters for well known types (text, allfiles)
git-svn-id: svn://10.0.0.236/trunk@205685 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:21 +00:00
bzbarsky%mit.edu
5d4948d614 ugh. I mismerged the patch for bug 150451. This is the right code
now.  Thanks to Sander for catching it.


git-svn-id: svn://10.0.0.236/trunk@205684 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:20 +00:00
bzbarsky%mit.edu
6c29461324 Bug 150451. Don't use ".html" as a filename. Patch by Sander
<mybugzilla@juima.org>, r=bzbarsky, sr=jag


git-svn-id: svn://10.0.0.236/trunk@205683 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:19 +00:00
bzbarsky%mit.edu
4c30289599 Bug 76799. Unescape the filename if it comes from a URL. r=brade, sr=jag
git-svn-id: svn://10.0.0.236/trunk@205682 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:18 +00:00
bzbarsky%mit.edu
b34102ca81 Save as on a page with no filename and title should not just die. Bug
158598, patch by sharparrow1@yahoo.com, r=timeless, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@205681 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:41:17 +00:00
alecf%netscape.com
1eeeabec43 bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@205654 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:50 +00:00
bzbarsky%mit.edu
521e4ea8ba Fix part of bug 120327. Patch by Jonas Jorgensen <jonasj@jonasj.dk>,
r=bzbarsky, sr=brendan,ben, gladness=all


git-svn-id: svn://10.0.0.236/trunk@205631 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:27 +00:00
bzbarsky%mit.edu
438c9499c7 Not all URIs are URLs. Bug 143987, r=law, sr=jag
git-svn-id: svn://10.0.0.236/trunk@205630 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:26 +00:00
darin%netscape.com
c5045f7e98 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@205629 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:25 +00:00
heikki%netscape.com
6c22439335 Bug 128326, disable saving XML as complete because it has serious dataloss bugs. r=bzbarsky, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@205628 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:24 +00:00
jaggernaut%netscape.com
06c3d8e48f Bug 37638: URL bar is given focus by default in new window [via accel+N or File > New Navigator Window]
Bug 89835: Window opened up with JavaScript has focus in the URL bar while NN4 and IE put focus on the content area

Focus will now always go to the content area unless we're opening for a blank page.

r=bryner, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@205627 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:23 +00:00
blakeross%telocity.com
7ae1fbc9f8 102477 - turn on Download Manager (take 3). r=law sr=ben a=dbaron die=cvs
git-svn-id: svn://10.0.0.236/trunk@205626 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:40:22 +00:00
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