Граф коммитов

249 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
mscott%netscape.com de88ff8e85 Bug #63105 --> clean up temp files created by helper apps on exit.
r/sr=bienvenu,sspitzer
2001-07-11 03:23:24 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu aceadd91ec Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
scc%mozilla.org ca73948b9e fixing cases that will cause bustage on speedracer 2001-06-29 16:20:15 +00:00
mscott%netscape.com 3dc8371ea2 Bug #80866 --> new helper app dialog design. Also fixes 87888
r=hewitt
sr=sspitzer
2001-06-28 02:18:54 +00:00
mscott%netscape.com 7dc987742d Bug #80866 --> new helper app dialog design. Re-implement Get/SetAlwaysAskBeforeHandling to remember in two
sets of preferences.

r=hewitt
sr=sspitzer
2001-06-28 02:18:13 +00:00
jaggernaut%netscape.com 2878a6b489 Bug 78458: ``Remove our broken text/rtf support'', patch by Boris Zbarsky <bzbarsky@mit.edu>, r=harishd, sr=jst 2001-06-26 05:22:23 +00:00
ducarroz%netscape.com 78b42a319a Fix for bug 84065. Add an AppleFileDecoder into the stream converters and modify save/save all attachment in order to be able to select the decoder when dealing with an apple double attachment. R=mscott, SR=sspitzer, A=asa@mozilla.org 2001-06-25 22:11:43 +00:00
dougt%netscape.com c306e0513b Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
yokoyama%netscape.com c7ad1c634a Bug 79516;
Convert the description of Registry type into proper unicode
/r=ftang, /sr=ben, /a=asa
2001-06-20 00:57:52 +00:00
cls%seawood.org 80f526179f Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
law%netscape.com 8ccf01282b Bug 82584; don't clear 'always ask me' flag based on Win32 registry setting; this will require the user to see the helper app dialog for confirmation to open at least one time and to specify that confirmation is not necessary directly to Mozilla; r=sgehani/sr=mscott/a=asa 2001-06-18 00:24:20 +00:00
syd%netscape.com 44a8c58187 Fix for 80171 -- browser not recognizing xpi -- patch from bill law, r=me, sr=mscott,
a=blizzard
2001-06-16 01:10:22 +00:00
pchen%netscape.com bd7ce0a202 bug 79837, r=pinkerton, sr=alecf, a=asa, don't disable mime matching for Internet Config mappings if we didn't get passed in a file extension 2001-06-13 22:31:08 +00:00
mkaply%us.ibm.com fe88660d92 senna REQUIRES bustage 2001-06-06 14:11:11 +00:00
sgehani%netscape.com ab59e1338b Ability to force always asking before opening a helper app.
b  = 84241
r  = vishy
sr = mscott
a  = asa
2001-06-06 08:17:39 +00:00
dougt%netscape.com 9174af6517 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
ducarroz%netscape.com 5e8526edd4 Fix for bug 84054. Appledouble files weren't correctly detected and AppleSingle weren't correctly generated if they don't have a datafork. R=varada, SR=bienvenu, A=chofmann 2001-06-05 04:50:10 +00:00
rpotts%netscape.com 53b0aec580 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 03:43:54 +00:00
darin%netscape.com c18fe7ef56 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
dbaron%fas.harvard.edu 8b6c0e69f8 Fix clobber-only MOZ_TRACK_MODULE_DEPS bustage by changing mozucth in REQUIRES lines to helperAppDlg or removing it entirely. 2001-05-06 13:36:08 +00:00
law%netscape.com 56e91db19c Backing out this fix; it causes us to crash and burn if we encounter a url with .xul extension but content-type text/xul instead of application/vnd.mozilla.xul+xml; will fix that tomorrow 2001-05-04 10:26:56 +00:00
law%netscape.com 657c62bd0a c/true/PR_TRUE/ to fix ports bustage 2001-05-04 02:45:37 +00:00
law%netscape.com 60e31781b2 Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com 2001-05-03 21:24:36 +00:00
valeski%netscape.com 49d34b88ed fixing build bustage 2001-04-27 22:35:13 +00:00
heikki%netscape.com a0844e5329 Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
pchen%netscape.com 87cc03cfb0 bug 49758, r=alecf, sr=sfraser, implement hasProtocolHandler method which calls Internet Config to look for protocol handler. Returns NS_ERROR_NOT_AVAILABLE if the app signature of the protocol handler is the same as the running application utilizing this code 2001-04-16 20:16:51 +00:00
pchen%netscape.com 7c33dca089 bug 49758, r=alecf, sr=sfraser, fix protocal misspelling 2001-04-16 20:16:49 +00:00
pchen%netscape.com 6739476b1e bug 49758, r=alecf, sr=sfraser, implement nsOSHelperAppService::ExternalProtocolHandlerExists() and implement nsOSHelperAppService::LoadURL() for mac 2001-04-16 20:16:41 +00:00
mscott%netscape.com 4d8081f65e Bug #74783 --> don't read the mac file creator and type values from our hard coded table of content types. Always use the values from internet config. r=sspitzer sr=sfraser 2001-04-13 00:44:55 +00:00
mscott%netscape.com 4d8b38b0af Bug #74783 --> never get the mac creator and file type from our hard coded list of content types. Always get them from internet config. Mac only change. r=sspitzer sr=sfraser 2001-04-13 00:43:52 +00:00
pavlov%netscape.com 2b64daaf18 fixing build bustage 2001-04-10 07:10:30 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
law%netscape.com 6d17ef985c Bug 52454; new helper app dialog; this is under development and not built/used yet 2001-04-10 02:15:22 +00:00
disttsc%bart.nl 748e1ece2f Clean up MODULE/REQUIRES, bug=73353, r=cls 2001-04-08 08:33:11 +00:00
ducarroz%netscape.com 3eefa0a3b5 Fix for bug 70222. Add an API to retreive file mapping flags. R=varada, SR=bienvenu 2001-04-03 21:08:51 +00:00
brade%netscape.com 5bc507fd03 part of fix for bug #19329 (more internet config apis); r=pchen; sr=sfraser 2001-03-28 13:56:19 +00:00
mkaply%us.ibm.com 2ab67c4ef0 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
cls%seawood.org 703015f4d7 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
timeless%mac.com d44332bdf7 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
colin%theblakes.com b3e430cc14 Remove the O_TRUNC when we open a newly created file (its not needed and
produces undesirable side effects on OpenVMS).
b=68255 r=sspitzer sr=mscott a=leaf
2001-03-14 02:57:47 +00:00
dougt%netscape.com 9c5d760307 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
disttsc%bart.nl aebc676048 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
darin%netscape.com 1e93bb6310 Fixes bug 66181. Content-Disposition with attachment=filename did not accept
a quoted-string as the filename.  r=gagan, sr=mscott.
2001-03-03 02:20:28 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
pinkerton%netscape.com 105d3c555e carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
ducarroz%netscape.com c5819ac0aa Part of fix for bug 45225. I forget to rename the class nsAppleFileDecoder before the initial checkin. SR=mscott 2001-02-07 06:44:07 +00:00
mscott%netscape.com fa94170c0b Bug #63193 --> the external protocol handler should only return a url or a new channel if we really do
have an external app that can handle the url. otherwise return NS_ERROR_UNKNOWN_PROTOCOL so we'll throw up an alert
dialog later on.
sr=sspizter
2001-02-07 05:24:27 +00:00
ducarroz%netscape.com 54d74aed2d Part of fix for bug 45225. Need to move part of appledouble decoder to uriLoader. SR=mscott 2001-02-07 04:10:41 +00:00
ducarroz%netscape.com ad8f613391 First Checked In. 2001-02-07 04:09:11 +00:00
mscott%netscape.com c74b0d1a66 Bug #67598 --> remove CanHandleContent and DoContent
as this code has been reconsolidated in the base class for
all to use. For everyone, if the mime type is unknown or octet,
then try to guess a content type by file extension in doContent.
Also, if we can't find a mime type, create a new one for all platforms
so we don't need to bring up the ucth dialog.

sr=sspitzer
2001-02-07 02:43:18 +00:00
mscott%netscape.com 4160e60191 bug #63193 --> add nsExternalProtocolHandler to the unix build 2001-02-07 02:03:55 +00:00
mscott%netscape.com 2edc9a282c Bug #63193 --> add classid for external protocol handler
sr=rpotts
2001-02-07 02:00:09 +00:00
mscott%netscape.com b0ae86ab52 add new extprotocolhandler file to the windows build 2001-02-07 01:58:58 +00:00
mscott%netscape.com 7a3ab1efac Bug #63193 --> add these two new files for a default protocol handler which will kick urls out to the OS
sr=rpotts
2001-02-07 01:21:58 +00:00
mkaply%us.ibm.com 2e64e67d69 OK, seriously, we fixed the TB to handle this now 2001-02-01 18:32:15 +00:00
mkaply%us.ibm.com 1392cdc55c OK, I give up. We even tested this on the TB itself. Why doesn't it work? 2001-01-29 23:34:21 +00:00
mscott%netscape.com 1d803651ba Back out changes I added for implementing a launch and reveal method on nsIExternalProtocolService.
I've decided to move that functionality over to nsILocaFile where it makes more sense.
2001-01-29 21:35:12 +00:00
mkaply%us.ibm.com 7071302f04 #65880
r=cls
Taking this back out - it was a TB problem
2001-01-29 20:49:35 +00:00
mkaply%us.ibm.com 4c2ec4df00 Stupid OS/2 VPATH problems breaking Os/2 build 2001-01-27 19:24:27 +00:00
mkaply%us.ibm.com 32b73e9541 #65880
r=cls
Enable OBJDIR builds for OS/2
2001-01-27 15:36:41 +00:00
mscott%netscape.com 588e5d379b back out a piece of code that was not meant to be checked in and was not reviewed. 2001-01-25 07:00:06 +00:00
mscott%netscape.com bdfc6074c3 Bug #63346 --> implement open and open folder APIs for windows
sr=sspitzer
2001-01-25 06:48:47 +00:00
mscott%netscape.com 273eddd503 Bug #66323 --> always show the progress dialog even if
we are already done with the download. Break apart
SaveTodisk and LaunchWithTempFile into to separate
methods. never try to really open or save to disk
until we are sure we've brought up the progress window.

Bug #61947 --> pass in the initial time when we started the download via getDownloadInfo so
the progress dialog can use this information.

sr=sspitzer
2001-01-25 06:48:16 +00:00
mscott%netscape.com 5fdf0c5bfc Bug #63346 --> add open and open folder APIs for the OS.
Bug #61947 --> pass in the initial time
when we started the download via getDownloadInfo so
the progress dialog can use this information.
2001-01-25 06:47:12 +00:00
mscott%netscape.com dc2cd2cffd clean up some rv error code handling
sr=sspitzer
2001-01-23 22:35:54 +00:00
mscott%netscape.com 70fa6774d2 Bug #65515 --> if we can't create a mime info from the registry, then create a new
entry for this mime type.
Bug #57364 --> look up content type to file extension mappings using the windows mime registry.
Bug #65872 --> if we get a content type of unknown or octet, try to ignore that content type
and extract the extension from the url and looking that up to see if we can get a better
content type.
sr=sspitzer
2001-01-19 07:43:26 +00:00
mkaply%us.ibm.com 41dee6a5f5 r=mkaply, a=blizzard
Bring OS/2 helpers up to current level
2001-01-16 00:09:58 +00:00
pchen%netscape.com c861979159 Fix #62939. r=pinkerton, sr=sfraser. Return error when no match in IC database. Fixes DL of QT5 beta from apple.com (where they had a warning not to use Netscape 6) 2001-01-05 00:44:16 +00:00
mscott%netscape.com c1b0bb80c9 Bug 57347 --> add a null ptr check to prevent a crash.
patch contributed by waterson
r=brendan
sr=mscott
2000-12-18 21:46:35 +00:00
mscott%netscape.com 8fec37d6f4 Bug #60069 --> checking this patch in for Sergey Lunegov (lsv@sparc.spb.su)
make sure the mime action is initialized with the right action.
sr=mscott
2000-11-22 19:48:49 +00:00
cls%seawood.org 8bd122b3d5 Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
mscott%netscape.com dc8472a2ea Bug #58774 --> salt the temp file name we generate when downloading external content
r=sspitzer,
sr=alecf
2000-11-02 01:27:12 +00:00
mscott%netscape.com 7db4db62e3 Bug #56938 --> get the document channel from the docloader
and force any Refresh urls back through the original window
context that initiated the helper app download. This solves
the problem where the user clicks on a link to download
content (either to disk or to a helper app) and that document
contains both a redirect for the actual content and a REFRESH
header which is used to point at a page the content provider
wants to see after the download is complete.

sr=rpotts, r=sspizter
2000-11-01 08:06:19 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 4e1ac5ce9d Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com 17ebf73108 Bug #57207 --> When we bring up the progress dialog, if we've already received a on stop request,
then go ahead and make the progress dialog go away again. r=sspitzer, sr=alecf
2000-10-24 22:18:56 +00:00
mscott%netscape.com 4cbc13be6b Bug #35956, 57619 --> be sure to disable auto conversion if we are handling the content
via an external app. sr=rpotts, r=gagan
2000-10-23 04:31:07 +00:00
mscott%netscape.com 0effc12573 Bug #55628 --> MoveTo won't delete the file if it already exists. When moving the temp
file to the user specified location, delete the specified location if it currently exists.
r=sspitzer, sr=alecf
2000-10-10 05:20:09 +00:00
mscott%netscape.com c3d1154218 Bug #54009 --> fix crash when literal is null. This can happen because of
some bad debugging code that was left in mimetypes.rdf for pdf back in beta2
for now, return an error. This will make use ignore this entry in the data source
when performing mime lookups....which is good 'cause that will have a side
effect of making application/pdf content work again.
r=sspitzer, a=alecf
2000-10-06 00:58:05 +00:00
mscott%netscape.com f052842093 Bug #51018, 44176, 47203 implement load group retargeting and stand alone progress window
after we show the helper app dialog. So progress and load information is
now retargeted to a stand alone window instead of re-using the underlying
 browser / mail window...In order to do this, the external app handler needed to implement nsIURIContentListener.
sr=r=rpotts
2000-10-04 06:54:47 +00:00
valeski%netscape.com 152e6f96ad whoops, that's supposed to be a 32bit int 2000-09-27 20:25:15 +00:00
valeski%netscape.com aa32088cec r=brendan,a=brendan. 54127. This change cleans up a leak when we run out of memory, and reduces allocation of the file extension buffer by 2x. it also dumps the count to a local variable to do away w/ memory ambiguity using a pointer to elementCount 2000-09-27 19:50:59 +00:00
mkaply%us.ibm.com 78e3c55173 OS/2 VACPP Tinderbox bustage
Need cast for VisualAge. Don't ask me why.
2000-09-15 14:46:01 +00:00
mscott%netscape.com f7cee768a0 Bug #43556 --> forgot to migrate over the default VMS file extensions from the old mime service
r=sspitzer
2000-09-15 06:28:44 +00:00
mscott%netscape.com b9be33fc54 Bug #43556 --> implement nsIMIMEService using the windows registry to look
up information about content we don't know about.
2000-09-15 06:08:11 +00:00
mscott%netscape.com d6f8b10a4f Bug #43556 --> implement nsIMIMEService
honor the http content disposition header if present.
r=valeski
2000-09-15 06:07:58 +00:00
mscott%netscape.com 4744cb1ded Bug #43556 --> merging nsIMIMEService and making it use OS specific information. r=valeski 2000-09-15 06:06:58 +00:00
mscott%netscape.com 8be23a0597 Bug #43556 --> merging nsIMIMEService and making it use OS specific information. r=pchen 2000-09-15 06:06:19 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org aad057da72 if you want a character pointer, you're going to have to |.get()| it 2000-09-13 07:55:09 +00:00
mscott%netscape.com 199d3b2276 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski
2000-09-08 00:12:51 +00:00
mscott%netscape.com 17328f1b71 Bug #47799 --> push prompt for file name over to ucth handler code so we don't bring
UI up from the uriloader. This allows us to properly use a string bundle
 for text in the dialog. this is prep work for the real fix for this bug.
r=law
2000-09-06 22:21:06 +00:00
pchen%netscape.com fe14eae1b1 First Checked In. 2000-09-06 21:14:03 +00:00