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

209 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org 979c006ff6 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
blakeross%telocity.com 85f54f99db Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt 2001-03-25 16:49:38 +00:00
disttsc%bart.nl 385f89696c Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=jag, sr=dougt
2001-03-24 22:57:35 +00:00
disttsc%bart.nl c16472211e Part of string clean-up bug 70143, move last three #includes of "nsString2.h" over to "nsString.h". r=bryner, sr=scc 2001-03-12 23:17:18 +00:00
dougt%netscape.com c74c36c85e 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 277181c660 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 a6f2f5861a 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 128f95aa9b 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
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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
cls%seawood.org 66a18fcbbf 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
darin%netscape.com 2578f4f795 Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott. 2000-11-15 22:21:46 +00:00
valeski%netscape.com b0217bd1ff whoops, that's supposed to be a 32bit int 2000-09-27 20:25:15 +00:00
valeski%netscape.com 8e3f2ce2da 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
rayw%netscape.com 0257791053 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
gordon%netscape.com 5eefa29523 Fix for bug 44627 "[mac]local files without .html extension are not loaded correctly". Changed logic for files of type TEXT without an extension to allow nsUnknownDecoder to parse data to determine MIME type. r=gagan 2000-09-12 23:23:54 +00:00
mscott%netscape.com 195f9dbdca Bug #43556 --> inpreparation for mime service over-haul, remove 2 obsolete methods.
r=valeski
2000-09-08 00:10:48 +00:00
scc%mozilla.org 5c29f2b9d9 fixing bustage 2000-09-03 04:49:45 +00:00
scc%mozilla.org ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org 3f0620d231 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
warren%netscape.com 84b5fd67e3 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
valeski%netscape.com 83689d9542 39797. r=mscott. MAC was sending back an empty string as the mime type down in the MIMEService, now we return an error in the mime service if we confront this, and that causes HTTP to produce a default type 2000-07-21 23:52:36 +00:00
mscott%netscape.com 3ddf6e8910 Bug #43583 --> new state for using system default. Add a separate boolean
for asking the user before handling.
r=alecf
2000-07-11 23:11:59 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mscott%netscape.com 0a50c9d984 Bug #38374 --> fix refcounting problem on the application field
r=sspitzer
2000-06-21 20:38:52 +00:00
mscott%netscape.com 7e2fbded6f Bug #38374 --> add application and user preferred handle action to mime info.
I'm going to be storing this information in the helper app code.
r=valeski
2000-06-21 06:34:43 +00:00
Peter.VanderBeken%pandora.be 16a4a78956 Recognize local .xsl files as text/xml. r=Andreas Otte, a=gagan, a=waterson. 2000-06-20 05:24:10 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
colin%theblakes.com 42948bd35a OpenVMS specific change. r=leaf, a=leaf
Change/add known mime file types.
2000-05-31 20:54:08 +00:00
mkaply%us.ibm.com 8063571b08 # 37239
r = gagan, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (casts, PR_CALLBACK)
2000-05-30 14:56:52 +00:00
brade%netscape.com 4bf37f3e3f File Removed. 2000-05-25 14:25:11 +00:00
warren%netscape.com 3658e33085 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp 2000-05-25 08:27:40 +00:00
davidm%netscape.com bd09e9abee 13784 [FEATURE] Mime Type/File Extension/Application Service Regis 2000-05-17 00:05:52 +00:00
dougt%netscape.com 9b8bddbd40 adding xpinstall mime type. 11281 2000-05-08 05:09:21 +00:00
warren%netscape.com 185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
tor%cs.brown.edu 697d0bae6f Build bustage fix for SUNWspro: false->PR_FALSE 2000-05-03 21:38:50 +00:00
davidm%netscape.com 44609fd0da comment out serialize while I try to figure out why linux is o=unhappy 2000-05-03 03:52:57 +00:00
davidm%netscape.com 17d2e0f582 13784 [FEATURE] Mime Type/File Extension/Application Service Regis 2000-05-03 03:34:33 +00:00
mccabe%netscape.com e9209489d7 change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
davidm%netscape.com 9f33ae5ce0 Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list 2000-04-19 04:45:30 +00:00
scc%netscape.com 94b0861716 making string conversions explicit 2000-04-15 07:05:34 +00:00
davidm%netscape.com 5f1d8e929a 34713 Incorrect MIME type for .dtd files causes browser to not sta r=sfraser a =jj 2000-04-07 00:31:04 +00:00
cls%seawood.org 0bb85bf87e Added newline to end of these files to placate the HP compiler.
So when are we going to make build/unix/print-non-newline.sh part of the cvs-commit filter?
2000-04-05 06:18:10 +00:00
davidm%netscape.com c8ecb0ef34 No idea why this built for me. Change '????' to hex equivalent 2000-04-05 03:29:40 +00:00
davidm%netscape.com e5bf8b4556 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
davidm%netscape.com 919474fe4d 31054 TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:01:51 +00:00
davidm%netscape.com 48b47ac67d First Checked In. 2000-04-05 03:00:00 +00:00
mkaply%us.ibm.com 16e912ab31 # 34082
r= warren@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:32:07 +00:00
scc%netscape.com 8b2f93643b making string conversions explicit 2000-04-02 08:34:55 +00:00
rickg%netscape.com 4070be753e removed reference to nsString2 2000-03-31 10:13:22 +00:00
rickg%netscape.com 24c7cb621e removing references to nsString internals 2000-03-26 07:55:46 +00:00
valeski%netscape.com d32ee31d6e 29236 - we now treat files w/ 'ehtml' extentsion as html 2000-03-15 23:18:10 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
colin%theblakes.com 55b306673f Add additional file types for octet_stream (OpenVMS only). r=valeski 2000-02-15 15:32:38 +00:00
valeski%netscape.com 6531e14112 r=rhp. 23448. nsMimeTypes.h has been adopted by the MIME Service implementation. It is now exported to dist for use by all men and womem, all over the world 2000-02-09 03:59:58 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
rickg%netscape.com 8a80545385 added support for RTF; r=valeski 2000-02-05 20:35:28 +00:00
valeski%netscape.com 16e204c1e3 26330. simple extension addition 2000-02-04 23:06:59 +00:00
sdagley%netscape.com 813f53ead8 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mscott%netscape.com f9b5f38418 oh goody...the name of this directory conflicts with the directory for the mime converter! As a result
this directory was creating a .xpt file that was conflicting with the one built by the mime convrter.
renaming to mimetype.xpt. We had to do this same fix a long time ago to the name of the shared library
and we changed that to mimetype so I'm being consistent.
2000-01-25 04:39:11 +00:00
valeski%netscape.com 365fede8f7 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com 3a3dc4fb45 added files: mozilla/netwerk/mime/src/nsMIMEServiceModule.cpp, removed files: mozilla/netwerk/mime/src/nsMIMEServiceFactory.cpp 2000-01-24 15:41:36 +00:00
valeski%netscape.com 449efd53a6 r=rhp. nsIMIMEInfo and nsIMIMEService have been revamped (there's one more small iteration coming tomorrow). nsIMIMEInfo has been extended and the service has been multi indexed using file extensions *and* the MIME type as keys. 2000-01-24 15:41:03 +00:00
dougt%netscape.com f8190a0155 Converting to use nsIModule macro. r=jud. 2000-01-03 23:24:06 +00:00
pnunn%netscape.com 67f961d858 Correcting a mime type mapping. R:valeski@netscape.com OK:chofmann@netscape.com 1999-12-15 20:38:43 +00:00
valeski%netscape.com 76719511ea r=waterson. 17647. MIME mapping for file extensions was case sensitive. we now disregard case (this is actually broken, but for 99% of the real world cases we're covered) 1999-11-30 04:07:51 +00:00
jdunn%netscape.com e871be6de2 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 06:02:31 +00:00
valeski%netscape.com 313da28e27 16256. nsCOMptrizing 1999-11-11 00:38:16 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
tbogard%aol.net 10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
bienvenu%netscape.com 08c624a0ca fix ref count logging on nsMimeImpl r=warren 1999-10-19 14:50:09 +00:00
waterson%netscape.com 8241422540 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 02:10:08 +00:00
beard%netscape.com 9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
rjc%netscape.com 38e1d06d8d Bug # 14034: Convert to nsIModule to prepare for memory leak fixing. Review: dp@netscape.com 1999-10-02 00:48:02 +00:00
valeski%netscape.com e0f2c7fad2 15296 r=gagan. Added .txt extension to the MIME type extension resolver. 1999-10-01 20:25:38 +00:00
mccabe%netscape.com 4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
valeski%netscape.com c59bbe1062 added bin,exe extensions 1999-09-10 14:27:16 +00:00
briano%netscape.com de44b4d417 General cleanup. 1999-09-10 00:59:21 +00:00
briano%netscape.com b77bbb9a68 Removed the obsolete non-NECKO leftovers. 1999-09-09 00:41:10 +00:00
valeski%netscape.com f7e8b6cd05 changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
kipp%netscape.com 78bace2449 Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
warren%netscape.com ed1d3aa12e Fix for failure case. 1999-08-27 10:58:23 +00:00
valeski%netscape.com c87f374efc fixed mem leak 1999-08-24 21:45:20 +00:00
mccabe%netscape.com a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
warren%netscape.com 529c0b2b71 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com 99a28ebe09 factored repeated mime type retrieval implementations into mime mapping service methods 1999-08-01 16:42:25 +00:00
warren%netscape.com 8c9db416e3 Added shtml 1999-07-31 06:27:03 +00:00
mscott%netscape.com c0c1cc8e74 fix build breakage by including config.mak 1999-07-29 02:47:16 +00:00
warren%netscape.com 7b13572242 Fixed UMR / refcounting problem (purify). 1999-07-28 04:02:07 +00:00
ducarroz%netscape.com 69fb203755 Fix shlb name conflict between netwerk:mime and mailnews:mime. Necko only. 1999-07-27 23:17:49 +00:00
beard%netscape.com edf11af6ff First Checked In. 1999-07-25 18:35:34 +00:00
sdagley%netscape.com 83177199fa First Checked In. 1999-07-25 01:37:42 +00:00
mscott%netscape.com 0e4d1c20f7 Necko only: Change the library name to mimetype instead of mime. we were overwriting a mailnews library which had the same name. 1999-07-22 20:09:22 +00:00
mscott%netscape.com 99170f793f Necko only: change the name of the mime type dll to be mimetype.dll instead of mime.dll. mime.dll was over-writing
the mailnews mime.dll.
1999-07-22 20:05:33 +00:00
tbogard%aol.net 8fced9fa19 Changed nsCStringKey to nsStringKey. This new key now has the ability to hash on PRUnichar* strings as well as char* strings. 1999-07-22 02:11:04 +00:00
valeski%netscape.com 998b3f60b0 changed mime map service to use nsHashtabel 1999-07-16 21:56:54 +00:00
mscott%netscape.com 1cb1a8dec5 Register "eml" file extension as text/message (rfc822) 1999-07-14 04:08:41 +00:00
valeski%netscape.com e234ad9dc3 adding warning comment 1999-07-13 23:39:31 +00:00
valeski%netscape.com 13c7dd7213 added image mime types to hardcoded area 1999-07-13 23:37:11 +00:00
gagan%netscape.com e4753fe28c Fixed warnings on Linux because of missing virtual keyword on destructors. 1999-07-08 00:50:02 +00:00
warren%netscape.com fdeef7c666 Fixed clobber rule. 1999-07-07 04:20:56 +00:00
valeski%netscape.com a01ef8fd3c added style sheet mime type 1999-07-07 02:26:14 +00:00
valeski%netscape.com 055d28e710 added newlines 1999-07-06 14:37:24 +00:00
andreas.otte%primus-online.de 9004effea0 NECKO only: adding some ignorance 1999-07-03 08:32:38 +00:00
warren%netscape.com d4233d4e72 Fixed CID to not collide with nsIIOService. 1999-07-03 05:36:09 +00:00
valeski%netscape.com a538316e5a dumping objs to the correct dir now on windows. 1999-07-03 03:47:27 +00:00
valeski%netscape.com 2af90e005b added factory class for the mime service 1999-07-03 00:05:51 +00:00
andreas.otte%primus-online.de 5d45f38745 NECKO only: remove EXPORTS lines 1999-07-02 21:01:54 +00:00
valeski%netscape.com ad4fca8f6b adding mime type resolver module. 1999-07-02 20:08:27 +00:00