72 Commits

Author SHA1 Message Date
heikki%netscape.com
ccf10c93b2 Bug 136717, enabled Save as Complete for XML and XHTML, r=jag, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@134214 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 23:14:11 +00:00
caillon%returnzero.com
7b9dc36cde 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@133959 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 05:47:57 +00:00
dmose%netscape.com
a225ed107e 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@133802 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 01:40:38 +00:00
bzbarsky%mit.edu
d4406da2ab ctrl-middleclick should not send a referrer. Bug 175092, r=timeless, sr=jag
git-svn-id: svn://10.0.0.236/trunk@133063 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:51:02 +00:00
caillon%returnzero.com
ece21729ad 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@132354 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 04:02:14 +00:00
caillon%returnzero.com
30f2a17c06 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@132130 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 04:09:20 +00:00
darin%netscape.com
84faac702d adding missing JS changes for bug 157133
git-svn-id: svn://10.0.0.236/trunk@130643 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-28 04:39:09 +00:00
nhotta%netscape.com
b541b9f17e 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@128992 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 20:29:06 +00:00
cbiesinger%web.de
8b5c9c765c 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@128239 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 08:06:37 +00:00
bzbarsky%mit.edu
0a9a59a326 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@126488 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 08:41:52 +00:00
bzbarsky%mit.edu
bb6f8d7310 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@126404 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:27:31 +00:00
bzbarsky%mit.edu
e3a3413a42 Bug 76799. Unescape the filename if it comes from a URL. r=brade, sr=jag
git-svn-id: svn://10.0.0.236/trunk@126396 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:17:55 +00:00
bzbarsky%mit.edu
93eee84ef0 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@126394 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 01:16:35 +00:00
alecf%netscape.com
573e11653f 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@126389 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 00:53:19 +00:00
bzbarsky%mit.edu
5f4a189a9e 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@124944 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 05:42:11 +00:00
bzbarsky%mit.edu
89964087df Not all URIs are URLs. Bug 143987, r=law, sr=jag
git-svn-id: svn://10.0.0.236/trunk@123568 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 05:13:59 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
heikki%netscape.com
f8c0c26eb3 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@118907 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 03:37:44 +00:00
jaggernaut%netscape.com
8880e4d3a9 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@118700 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:20:02 +00:00
blakeross%telocity.com
d9dc573025 102477 - turn on Download Manager (take 3). r=law sr=ben a=dbaron die=cvs
git-svn-id: svn://10.0.0.236/trunk@116759 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:41:01 +00:00
blakeross%telocity.com
6853df1eb7 Backing out...saving for a rainy day...
git-svn-id: svn://10.0.0.236/trunk@116743 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 07:39:08 +00:00
blakeross%telocity.com
d6f5c62921 102477 - Turning on download manager. r=law sr=ben a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116733 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 05:14:08 +00:00
bzbarsky%mit.edu
9a24262a3a 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@116619 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 03:50:53 +00:00
bzbarsky%mit.edu
a2499e184f 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@116510 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:51:28 +00:00
bienvenu%netscape.com
8c4c814e69 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@116270 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 15:33:27 +00:00
locka%iol.ie
f5b9dd1387 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@115858 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:45:20 +00:00
bzbarsky%mit.edu
a009cfd31f 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@115740 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 22:12:14 +00:00
bzbarsky%mit.edu
ab8ef802d5 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@115529 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 00:00:14 +00:00
bzbarsky%mit.edu
b1cc9ed8d8 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@115392 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:43:46 +00:00
bzbarsky%mit.edu
606f32d468 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@115279 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-23 21:07:50 +00:00
law%netscape.com
5d2c4d7fcc Bug 27609; use new progress dialog so errors are handled properly; r=bzbarsky, sr=ben
git-svn-id: svn://10.0.0.236/trunk@115103 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:03:21 +00:00
jst%netscape.com
0604f64bed 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@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +00:00
blakeross%telocity.com
7a1bd360f3 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@114661 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 03:31:59 +00:00
bzbarsky%mit.edu
bb7de755f9 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@114236 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:22:39 +00:00
bzbarsky%mit.edu
2dc1647f57 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@113945 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:10:55 +00:00
bzbarsky%mit.edu
5c982c6130 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@113045 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 18:24:31 +00:00
timeless%mac.com
07f9150900 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@113033 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-28 09:57:12 +00:00
cmanske%netscape.com
362293bf87 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@112699 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 15:36:36 +00:00
bzbarsky%mit.edu
a040e4e057 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@112657 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 05:14:49 +00:00
bzbarsky%mit.edu
e8f9ff7e9c 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@112628 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:35:16 +00:00
bzbarsky%mit.edu
ab57fc530d 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@112503 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-21 21:38:35 +00:00
bzbarsky%mit.edu
5ee46abb20 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@112391 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-17 15:51:59 +00:00
ben%netscape.com
28f877330a 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@112294 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 04:00:28 +00:00
dougt%netscape.com
acd64b8c12 Backing out ben. this change cause 120118
git-svn-id: svn://10.0.0.236/trunk@112191 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:06:42 +00:00
ben%netscape.com
0f1370df3b 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@112140 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 01:38:16 +00:00
stephend%netscape.com
878f698643 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@111787 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:16:22 +00:00
jaggernaut%netscape.com
00c36b012f 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@111237 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 11:56:07 +00:00
ben%netscape.com
4c08f8033d 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@110646 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:50:07 +00:00
ben%netscape.com
9b31886395 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@110406 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 22:43:17 +00:00
ben%netscape.com
2f91c5f6d9 bug 11632 - save page with images, stylesheets, objects and applets.
r=hewitt, brade, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@110364 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 05:05:12 +00:00