53 Commits

Author SHA1 Message Date
darin%netscape.com
3872488d18 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa


git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
timeless%mac.com
30f1ba30c9 Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
r=danm sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114238 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:32:14 +00:00
bzbarsky%mit.edu
c33a4dabe3 Fix helper apps not starting when the filename in the url is empty.
Also turn off caching of mime infos since we have no way to invalidate
this cache yet.  Bug 121644, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@113742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:35:31 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
pinkerton%netscape.com
27311e50b1 Change unsigned char* param to ConstStr255Param to make mach-o happier
r=sdagley/sr=blake. bug 118197.


git-svn-id: svn://10.0.0.236/trunk@111493 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 15:44:08 +00:00
ccarlen%netscape.com
021c9dac7f Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
ducarroz%netscape.com
5756ca119a Fix for bug 111305. Check for null ptr before using it. Don't truncate and initialize a nsString with a length of -1, that cause the whole app to freeze. R=damn, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/trunk@110445 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 01:18:16 +00:00
ccarlen%netscape.com
1731924479 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110182 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:58:15 +00:00
jaggernaut%netscape.com
2bfaed0498 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@107078 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 06:39:49 +00:00
sdagley%netscape.com
5076983a17 Updating fix for #103612 from v1.14 after comments from pinkerton & sfraser. r=pinkerton,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@104820 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:20:57 +00:00
sdagley%netscape.com
66d6f135e2 Fix #103612 - work around bug in Mac OS X 10.1 Internet prefs panel when setting DL folder. r=dbaron. I'd wait for an sr= but I need trunk verification on this so I can get PDT approval for checking into the 0.9.4 branch.
git-svn-id: svn://10.0.0.236/trunk@104787 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 04:59:59 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
pchen%netscape.com
377e9302d5 bug 91726, r=pinkerton, sr=sfraser, under carbon, Internet Config seems to return mappings with a null mime type string, if we see a null mime type string, set mime type in nsMimeInfo to octet-stream
git-svn-id: svn://10.0.0.236/trunk@101573 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 00:19:08 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
pchen%netscape.com
f5f4807dcc 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
git-svn-id: svn://10.0.0.236/trunk@97088 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 22:31:08 +00:00
ducarroz%netscape.com
8b9597f0b8 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
git-svn-id: svn://10.0.0.236/trunk@96408 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 04:53:34 +00:00
valeski%netscape.com
1bca7e6e2d fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@93317 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 22:35:13 +00:00
pchen%netscape.com
9fb4e5dbd6 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
git-svn-id: svn://10.0.0.236/trunk@92415 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:16:51 +00:00
pchen%netscape.com
db1b1d6f54 bug 49758, r=alecf, sr=sfraser, implement nsOSHelperAppService::ExternalProtocolHandlerExists() and implement nsOSHelperAppService::LoadURL() for mac
git-svn-id: svn://10.0.0.236/trunk@92413 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 20:16:41 +00:00
mscott%netscape.com
032cc5948d 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


git-svn-id: svn://10.0.0.236/trunk@92142 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 00:44:55 +00:00
mscott%netscape.com
61ccf241e1 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


git-svn-id: svn://10.0.0.236/trunk@92141 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 00:43:52 +00:00
ducarroz%netscape.com
402091e0a2 Fix for bug 70222. Add an API to retreive file mapping flags. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91169 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:08:51 +00:00
brade%netscape.com
969c24a963 part of fix for bug #19329 (more internet config apis); r=pchen; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90656 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 13:56:19 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
ducarroz%netscape.com
73decc4752 Part of fix for bug 45225. I forget to rename the class nsAppleFileDecoder before the initial checkin. SR=mscott
git-svn-id: svn://10.0.0.236/trunk@86504 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:44:07 +00:00
ducarroz%netscape.com
ed92604001 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86465 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:09:11 +00:00
mscott%netscape.com
336f3c5ff8 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


git-svn-id: svn://10.0.0.236/trunk@86441 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:43:18 +00:00
pchen%netscape.com
33e95aab49 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)
git-svn-id: svn://10.0.0.236/trunk@84398 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:44:16 +00:00
mscott%netscape.com
4f76352803 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


git-svn-id: svn://10.0.0.236/trunk@80335 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 06:54:47 +00:00
mscott%netscape.com
384b790f6e Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@79260 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:58 +00:00
mscott%netscape.com
f71a09f263 Bug #43556 --> merging nsIMIMEService and making it use OS specific
information.
r=pchen


git-svn-id: svn://10.0.0.236/trunk@79258 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:06:19 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
mscott%netscape.com
25f11245c2 Bug #43556 --> Implement nsIMIMEService. For now, forward the calls to the old implementation in necko.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78448 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:12:51 +00:00
pchen%netscape.com
c9ece58c2e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@78284 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:14:03 +00:00
pchen%netscape.com
12bc91c68c bug #43585, r=sfraser, protect header from multiple inclusions
git-svn-id: svn://10.0.0.236/trunk@78282 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:13:35 +00:00
pchen%netscape.com
4c2f6dc696 bug #43585, r=sfraser, call new nsIInternetConfigService to help with helper app stuff
git-svn-id: svn://10.0.0.236/trunk@78273 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 21:12:53 +00:00
sfraser%netscape.com
396c25660c Fix bugs 51368 and 51372 -- use InternetConfig.h from Universal Headers, renaming the IC SDK folder so that CodeWarrior does not search within it. r=pchen
git-svn-id: svn://10.0.0.236/trunk@78199 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 00:09:04 +00:00
mscott%netscape.com
e07b1b0394 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73806 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:48:17 +00:00
sspitzer%netscape.com
fe883b7d25 get launching of external apps working on the mac.
also, on the mac only, dump the temp file to the desktop.
r=mscott #38374.


git-svn-id: svn://10.0.0.236/trunk@73028 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:43:13 +00:00
sspitzer%netscape.com
0317e3c55d fix for #43548, and possibly #43392.
if internet config tells us the string is of zero length, set the 
out string to null.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@73008 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 01:08:53 +00:00
mscott%netscape.com
970ba5efdb not part of the build!!!
fixes to get this building on the mac.


git-svn-id: svn://10.0.0.236/trunk@72895 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:04:06 +00:00
mscott%netscape.com
b51a2c172a Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

oops i reall don't want this file...take it back.


git-svn-id: svn://10.0.0.236/trunk@72883 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:06:02 +00:00
mscott%netscape.com
abe4af79de Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

add manifest file for the mac


git-svn-id: svn://10.0.0.236/trunk@72882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:59:45 +00:00
mscott%netscape.com
baac52dea7 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

More mac file updates.


git-svn-id: svn://10.0.0.236/trunk@72880 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:41:36 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00