154 Commits

Author SHA1 Message Date
cbiesinger%web.de
f52a31b12d bug 196871, make "save link target as" and friends send a referrer
r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@205759 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:35 +00:00
cbiesinger%web.de
d43d7247a7 Bug 232369
remove the unused function makeProgressDialog
r=neil.parkwaycc.co.uk sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@205758 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:34 +00:00
neil%parkwaycc.co.uk
b40c9621e2 Supplementary patch to bug 228619 p=gautheri@noos.fr r=me sr=bz
git-svn-id: svn://10.0.0.236/trunk@205757 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:33 +00:00
timeless%mozdev.org
c258142db3 Bug 228619 Warning `assignment to undeclared variable entry'' [xs] in file `chrome://communicator/content/contentAreaUtils.js'', line 667, character 0.
r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@205756 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:32 +00:00
timeless%mozdev.org
3a52f1a27c Bug 228398 Warning `reference to undefined property this.mContentDisposition'' [xs] in file `chrome://communicator/content/contentAreaUtils.js'', line 559, character 0.
r=neil sr=bz


git-svn-id: svn://10.0.0.236/trunk@205755 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:31 +00:00
cbiesinger%web.de
27b45d67ed bug 228321. content-encoding: gzip page gets saved gzipped when no extension
present in the url

r=bzbarsky sr=darin a=chofman


git-svn-id: svn://10.0.0.236/trunk@205754 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:30 +00:00
jshin%mailaps.org
264a9b21ff bug 213337: validate file name before presenting it as a suggested filename (2nd part) : r=cbiesinger, sr=jag, a1.6=asa
git-svn-id: svn://10.0.0.236/trunk@205753 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:29 +00:00
jshin%mailaps.org
73be485345 bug 225695 : follow-up to the fix for bug 44272. the first part of three ; tree-wide sweep to replace escape/unescape with en|decodeURI(Component). r=bz, sr=rbs, a=asa
git-svn-id: svn://10.0.0.236/trunk@205752 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:28 +00:00
cbiesinger%web.de
3d3703418f 213877 r=neil.parkwaycc.co.uk sr=bzbarsky a=asa
update contentAreaUtils.js callers to pass type and extension to mimeservice
this should greatly reduce the extension fixup bugs, especially .html.htm, .mp3.mp2 and similar should no longer happen.


git-svn-id: svn://10.0.0.236/trunk@205751 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:27 +00:00
cbiesinger%web.de
5ba1ab4344 bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)


git-svn-id: svn://10.0.0.236/trunk@205750 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:26 +00:00
darin%meer.net
2354d79dc9 fixes bug 224240 "nsURIChecker cleanup" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@205749 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:25 +00:00
cbiesinger%web.de
ed17ab0a24 Bug 223998
contentAreaUtils.js: getMIMEInfoForExtension should be getTypeFromURI
r=neil.parkwaycc.co.uk sr=bz


git-svn-id: svn://10.0.0.236/trunk@205748 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:24 +00:00
neil%parkwaycc.co.uk
0c7dd4cd9b Bug 223549 GenerateValidFilename should use validateFileName p=ian@arlen.demon.co.uk r=me sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@205747 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:23 +00:00
jshin%mailaps.org
9bec6f263a bug 195093 : modernize nsILocale (r=smontagu, sr=darin)
git-svn-id: svn://10.0.0.236/trunk@205746 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:22 +00:00
bzbarsky%mit.edu
a09152bf26 Gunzip things with content-encoding:gzip whose file extension is .zip when
saving or running helpers.  The idea here is to decompress unless the encoding
and extension match up.  If they do, then don't decompress.  Bug 152275,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@205745 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:21 +00:00
cbiesinger%web.de
d266826231 220672. r=darin sr=bzbarsky
Convert nsIEncodedChannel::contentEncodings to nsIUTF8StringEnumerator.

Previously, it used nsISimpleEnumerator, and returned an nsISupportsCString with it.


git-svn-id: svn://10.0.0.236/trunk@205744 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:20 +00:00
timeless%mozdev.org
f9d07ebbef Checking in one-line, fix for 219029
patch from Ian Neal <bugzilla@arlen.demon.co.uk>, r=caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@205743 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:19 +00:00
cbiesinger%web.de
f6d6109542 213337 Saving PDF different from viewing PDF
jag: review+
bz-vacation: superreview+
asa: approval1.5b+


git-svn-id: svn://10.0.0.236/trunk@205742 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:18 +00:00
jshin%mailaps.org
476d16e36e bug 199237 : fix the rendering of the non-ASCII title of a non-text doc(image, media) opened in a new tab/window (r=bryner, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@205741 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:17 +00:00
cbiesinger%web.de
3225aec49c 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension


git-svn-id: svn://10.0.0.236/trunk@205740 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:16 +00:00
cbiesinger%web.de
cc4a203049 addressing reviewer comments for 118621
git-svn-id: svn://10.0.0.236/trunk@205739 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:15 +00:00
cbiesinger%web.de
0e50fd32d4 118621 r=jag sr=bz http://foo/bar/ default save name should be bar.html
git-svn-id: svn://10.0.0.236/trunk@205738 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:14 +00:00
jshin%mailaps.org
80918a9d10 bug 158006 : properly handle 'non-ASCII' filename in 'save as, save link
target as, save image as' by using nsIMIMEHeaderParam to decipher
'filename' parameter of Content-Disposition header. (r=neil, sr=jag)


git-svn-id: svn://10.0.0.236/trunk@205737 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:13 +00:00
alecf%flett.org
4fdbae9635 fix for bug 205895 - make nsIMIMEInfo.getFileExtensions use a string enumerator, to avoid excess allocation at startup
r=bz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@205736 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:12 +00:00
mstoltz%netscape.com
d783386b78 Bug 204902 - add URL loading security check to link click handler function for mailnews. r=sspitzer, sr=heikki
git-svn-id: svn://10.0.0.236/trunk@205735 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:11 +00:00
timeless%mozdev.org
2de731e358 Bug 184108 Save As <<filename>> without <<.html>> extention result is a html file <<filename>> and a directory <<_files>>
Patches by timeless/biesi r=biesi/timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@205734 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:10 +00:00
rbs%maths.uq.edu.au
24f6abecdf Output basic entities such as &nbsp; during 'Save As' of HTML documents (there is another option/flag to output more entities such as accented letters if needed), r=adamlock, sr=heikki, a=asa
git-svn-id: svn://10.0.0.236/trunk@205733 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:09 +00:00
sspitzer%netscape.com
0002a447bb fix for bug #203716
unable to scroll page after [left-]clicking on link in mail (existing browser window)
sr=jag, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@205732 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:08 +00:00
sspitzer%netscape.com
b82460ef81 fix for regression bug #201652, caused by my fix for bug #199360
when opening a link in an existing browser window, focus it
to bring it to front, or if minimized, to show it.
r/sr=bryner, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@205731 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:07 +00:00
sspitzer%netscape.com
956d1b15fd fix for bug #199360
for simple left clicks of urls in mail messages that we know should open a browser window
(or load in the top most browser window), do it right away.

if the url is slow to load, switching messages can kill the load, and the window
never shows up.

play nice with stand alone mail, which doesn't need this trick.

r=bryner, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@205730 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:06 +00:00
caillon%returnzero.com
d460cb0f81 [Bug 182152] File picker should always offer a *.* filter
r=timeless sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@205729 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:05 +00:00
locka%iol.ie
369808f81e Add cache key, referrer and extra headers parameters to nsIWebBrowserPersist::saveURI b=170722 r=bzbarsky@mit.edu sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@205728 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:04 +00:00
heikki%netscape.com
f98f6f444a Bug 136717, enabled Save as Complete for XML and XHTML, r=jag, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@205727 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 05:42:03 +00:00
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