1028 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
c5c0ecf934 Fix problem with the external protocol channel that makes it return a null
originalURI and cause crashes.  Bug 241300, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@159281 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:20:50 +00:00
cbiesinger%web.de
625e62f911 Bug 249677 cancel does not delete temporary file in helper app dialog, if default action = save
r=darin sr=jst


git-svn-id: svn://10.0.0.236/trunk@159267 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 18:56:42 +00:00
cbiesinger%web.de
72adb36256 fix wording to refer to "this content listener", r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@159217 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 23:15:19 +00:00
timeless%mozdev.org
c4b93be9e0 Bug 250686 hiearchy
r=shaver sr=shaver a=shaver


git-svn-id: svn://10.0.0.236/trunk@158964 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 23:07:49 +00:00
cbiesinger%web.de
df37ddec19 bug 246280 trim trailing dots of files being downloaded before extension
checking
r=darin sr=jst


git-svn-id: svn://10.0.0.236/trunk@158810 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-06 23:15:30 +00:00
cbiesinger%web.de
5999fe7ca6 bug 248810 nsIStreamConverter[Service] uses wide strings for mime types
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@158580 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-29 16:45:07 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
cbiesinger%web.de
a57ea7b105 bug 235505 make nsIMIMEInfo::MIMEType readonly
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@157780 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-11 15:47:57 +00:00
cbiesinger%web.de
2c93a1c770 document @mozilla.org/download;1
don't delete incomplete files when the download is cancelled/aborts
tell the download impl about the location of the temp file, if it is interested
244448 r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@156962 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-26 15:07:52 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
a477cb2b32 Blocked protocols should still allow URI creation; they should just fail
channel creation.  Bug 244220, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@156677 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-21 00:28:52 +00:00
mkaply%us.ibm.com
fbb3849183 #241966
r=pedemont, sr=blizzard (platform specific)
OS/2 only - special case certain protocols and launch them with data from the INI file since we don't have a protocol registry on OS/2


git-svn-id: svn://10.0.0.236/trunk@155986 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 13:51:14 +00:00
bienvenu%nventure.com
07f2f45966 fix regression in unix file type mapping, 242495,r=bzbarsky, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@155887 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-04 01:05:13 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
bienvenu%nventure.com
c12e53e60e make nsILineInputStream take an nsACString ref, 197166, r=darin, sr=mscott, make local msg body search cache open file stream, use nsIFile instead of nsFileSpec to cut down on seeks, improve performance, sr=mscott 240538
git-svn-id: svn://10.0.0.236/trunk@155334 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-22 15:32:54 +00:00
bienvenu%nventure.com
b2143888a2 fix regression in opening .eml files, and any other file extension whose content type is specified in windows registry, 240942, r/sr=bsbarsky
git-svn-id: svn://10.0.0.236/trunk@155134 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 18:19:56 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +00:00
cbiesinger%web.de
d448c99844 backing out last patch for bug 240771 - causes crashes on mac.
git-svn-id: svn://10.0.0.236/trunk@155024 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 12:13:55 +00:00
bzbarsky%mit.edu
29a9e0f2ad Fix crash on loading files with no extension. Followup to bug 235502, patch by
biesi, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@155014 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 04:45:25 +00:00
darin%meer.net
66e8a5897c landing patch for bug 24867 "UI for FTP upload" r=biesi,neil sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155005 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 00:58:23 +00:00
cbiesinger%web.de
34df912ac0 bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154988 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 21:06:07 +00:00
cbiesinger%web.de
cf213cea0a arrg, more osx fixes
git-svn-id: svn://10.0.0.236/trunk@154949 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:08:21 +00:00
cbiesinger%web.de
22d0556890 this time, a correct fix...
git-svn-id: svn://10.0.0.236/trunk@154948 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:58:51 +00:00
cbiesinger%web.de
4b5a2ece3d more mac bustage...
git-svn-id: svn://10.0.0.236/trunk@154946 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:38:31 +00:00
cbiesinger%web.de
edb5a180b8 fixing osx bustage
git-svn-id: svn://10.0.0.236/trunk@154944 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 21:32:11 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +00:00
cbiesinger%web.de
d02f9c7f35 Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@154891 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 20:09:30 +00:00
cbiesinger%web.de
cdd38aafe6 fixing bug 235832 in a better way, by using dynamic_cast.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154818 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 19:40:08 +00:00
darin%meer.net
9188297e6f fixes bug 240053 "lock icon not updated properly on redirect of HTTPS request" r=biesi sr=bz a=dbaron
git-svn-id: svn://10.0.0.236/trunk@154677 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-10 20:03:03 +00:00
cbiesinger%web.de
162e887c63 Bug 237947 Mozilla Freezes when handling filetypes with an entry in .mailcap that does not exist
o) also return from GetFileTokenForPath when the base class implementation failed
with NS_ERROR_FILE_NOT_FOUND.
o) Do not return NS_ERROR_FILE_NOT_FOUND from the
base class impl if the file path is both relative and does not exist in the
mozilla directory.
o) Make sure to break out of the loop in the unix GetFileTokenForPath even if
ApendRelativePath fails

r+sr=bzbarsky a=asa


git-svn-id: svn://10.0.0.236/trunk@154411 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-31 19:32:26 +00:00
bzbarsky%mit.edu
d2ffb7c95e Temporarily disable type-guessing for content-encoded text/plain content. Bug
233047, r=biesi, sr=darin, a=chofmann


git-svn-id: svn://10.0.0.236/trunk@153966 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 02:00:15 +00:00
cbiesinger%web.de
876a96eb4c 235695: nsMIMEInfoImpl needs only one constructor, and nsMIMEInfoBase can have a hidden ctor.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153749 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 16:42:34 +00:00
cbiesinger%web.de
ae7d5cfeeb fixing win32 bustage
git-svn-id: svn://10.0.0.236/trunk@153698 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:39:19 +00:00
cbiesinger%web.de
7071062876 229636 search for helper apps in mozilla directory before $PATH
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153695 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-08 20:15:09 +00:00
cbiesinger%web.de
055d84aa9c ...and now, the correctly merged version, that even compiles
git-svn-id: svn://10.0.0.236/trunk@153635 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 19:43:40 +00:00
cbiesinger%web.de
f790b8534a Bug 124307, respect umask for downloaded files.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153634 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 19:37:22 +00:00
cbiesinger%web.de
b437469879 bug 235695, one constructor is enough for nsMIMEInfoBase and subclasses
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153620 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 14:43:30 +00:00
cbiesinger%web.de
39d7bbed26 bug 235201, return an error instead of crashing if we can't find an application for a mime type
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bryner


git-svn-id: svn://10.0.0.236/trunk@153619 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 14:41:00 +00:00
timeless%mozdev.org
cc903db0c9 Bug 145994 Crash in urildr.dll from some embedding clients
patch by rpotts r=jst sr=alecf


git-svn-id: svn://10.0.0.236/trunk@153481 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 15:46:05 +00:00
mkaply%us.ibm.com
92f11fc58f #235488
r=pedemont, sr=blizzard (platform specific code)
Special case http/https/ftp URLs so we send them to the OS if we don't launch them with the current app (makes URLs work in Thunderbird)
Modify helper app launcher code so it locates the EXE so we don't get a command window every time we launch an app


git-svn-id: svn://10.0.0.236/trunk@153432 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 17:29:03 +00:00
cbiesinger%web.de
70d8ae809b bug 235832, dynamic_cast crashes. replace with static_cast.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@153404 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 21:18:19 +00:00
cbiesinger%web.de
8c69cb4839 next try: fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@153122 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 23:49:49 +00:00
cbiesinger%web.de
ed8c727c79 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@153121 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 23:29:38 +00:00
cbiesinger%web.de
030baf0831 bug 78919, last part. r=bzbarsky sr=darin.
This adds a new method launchWithFile on nsIMIMEInfo which takes care of opening
the selected (preferred or default) application on the mime info with a
specified document. defaultDescription is now readonly, and defaultApplication
no longer available.
This also removes the clone method which was unused in the entire tree.


git-svn-id: svn://10.0.0.236/trunk@153118 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 22:49:28 +00:00
pinkerton%aol.net
426e441409 fix bad merging of code for 183848 when moving from camino 1.0 branch to trunk
(r=biesi, sr=sfraser)


git-svn-id: svn://10.0.0.236/trunk@153098 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 15:20:55 +00:00
bsmedberg%covad.net
d436ad454d Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes.
git-svn-id: svn://10.0.0.236/trunk@152632 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:10:04 +00:00
cbiesinger%web.de
d48fe3a90b Bug 233145 stop implementing nsIURIContentListener in nsExternalAppHandler
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152486 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 19:52:16 +00:00
cbiesinger%web.de
4ad889bcc7 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@152436 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 23:05:40 +00:00
cbiesinger%web.de
9d521b4603 Bug 233169 [windows] It's impossible to set helper applications for executables
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152435 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 22:32:29 +00:00