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

160 Коммитов

Автор SHA1 Сообщение Дата
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
blakeross%telocity.com 7b5a59b32d 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 5c4c414172 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 854d5636c4 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 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 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
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
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
darin%netscape.com a4b1f04c3b Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott. 2000-11-15 22:21:46 +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
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
gordon%netscape.com c2e5d0b36b 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 014ed26425 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 14c3daa212 fixing bustage 2000-09-03 04:49:45 +00:00
scc%mozilla.org a74bc9539d fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org 9df83275c6 fixing code that relied on implicit string construction 2000-08-19 20:01:04 +00:00
warren%netscape.com 4af572e4c1 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 6d2541f0dd 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 29c963948b 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 e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
mscott%netscape.com 5599dd9bfc Bug #38374 --> fix refcounting problem on the application field
r=sspitzer
2000-06-21 20:38:52 +00:00
mscott%netscape.com 7db93f5a1e 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 01c287d212 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 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
colin%theblakes.com 9f77e49882 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 34a95cecaf # 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 6c3ce51d35 File Removed. 2000-05-25 14:25:11 +00:00
warren%netscape.com 1e329e1a59 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 876d21f8fa 13784 [FEATURE] Mime Type/File Extension/Application Service Regis 2000-05-17 00:05:52 +00:00
dougt%netscape.com 316616f625 adding xpinstall mime type. 11281 2000-05-08 05:09:21 +00:00
warren%netscape.com a451c5f762 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
tor%cs.brown.edu 8110747c3f Build bustage fix for SUNWspro: false->PR_FALSE 2000-05-03 21:38:50 +00:00
davidm%netscape.com eb046910ec 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 a204fd5056 13784 [FEATURE] Mime Type/File Extension/Application Service Regis 2000-05-03 03:34:33 +00:00
mccabe%netscape.com b46e6e7a8c 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 699af3fa09 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 e097771f06 making string conversions explicit 2000-04-15 07:05:34 +00:00
davidm%netscape.com 7be9604915 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 7ff230453f 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 0eebb66209 No idea why this built for me. Change '????' to hex equivalent 2000-04-05 03:29:40 +00:00
davidm%netscape.com 8b9369403e 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
davidm%netscape.com ce21e1a9d9 31054 TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:01:51 +00:00
davidm%netscape.com 265be55b7c First Checked In. 2000-04-05 03:00:00 +00:00
mkaply%us.ibm.com 9ec188bd3a # 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 66f25aff37 making string conversions explicit 2000-04-02 08:34:55 +00:00
rickg%netscape.com a78b0f5d7c removed reference to nsString2 2000-03-31 10:13:22 +00:00
rickg%netscape.com 4fa6b38b7d removing references to nsString internals 2000-03-26 07:55:46 +00:00
valeski%netscape.com 35c98cf148 29236 - we now treat files w/ 'ehtml' extentsion as html 2000-03-15 23:18:10 +00:00
warren%netscape.com 7e37f4f478 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 494cb8c563 Add additional file types for octet_stream (OpenVMS only). r=valeski 2000-02-15 15:32:38 +00:00
valeski%netscape.com 7e564704d4 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 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
rickg%netscape.com 72976702dc added support for RTF; r=valeski 2000-02-05 20:35:28 +00:00
valeski%netscape.com 854290b6c0 26330. simple extension addition 2000-02-04 23:06:59 +00:00
sdagley%netscape.com 703c6caa28 Access path updates in anticipation of update to CW Pro5 (#25949). r=pinkerton 2000-02-01 04:27:22 +00:00
mscott%netscape.com 1ff0d250f7 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 1c585fb146 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com 65b695518b 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 57c6e1294b 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 48fc55f311 Converting to use nsIModule macro. r=jud. 2000-01-03 23:24:06 +00:00
pnunn%netscape.com 5969f83978 Correcting a mime type mapping. R:valeski@netscape.com OK:chofmann@netscape.com 1999-12-15 20:38:43 +00:00
valeski%netscape.com f0eb96340a 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 d70d78c6bf 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 09ddc819d2 16256. nsCOMptrizing 1999-11-11 00:38:16 +00:00
dmose%mozilla.org 42fc94a6ec 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 c9198a207c 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 65c6021f43 fix ref count logging on nsMimeImpl r=warren 1999-10-19 14:50:09 +00:00
waterson%netscape.com ab20f5e245 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 b547c2ffb0 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 dc46519283 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 1227c3aa42 15296 r=gagan. Added .txt extension to the MIME type extension resolver. 1999-10-01 20:25:38 +00:00
mccabe%netscape.com 39e5fe6519 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 ea1d03fd4b added bin,exe extensions 1999-09-10 14:27:16 +00:00
briano%netscape.com 9697722005 General cleanup. 1999-09-10 00:59:21 +00:00
briano%netscape.com 7ac74af48f Removed the obsolete non-NECKO leftovers. 1999-09-09 00:41:10 +00:00
valeski%netscape.com 03b9d2d6cb changed nsCOMTypeInfo<> template to NS_GET_IID macro 1999-09-03 23:51:14 +00:00
kipp%netscape.com a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
warren%netscape.com d7fb477ef3 Fix for failure case. 1999-08-27 10:58:23 +00:00
valeski%netscape.com 5ec14bc58d fixed mem leak 1999-08-24 21:45:20 +00:00
mccabe%netscape.com 3d4917b628 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 72c37924c2 Removed hack to export to netwerk/dist (used before landing necko). 1999-08-03 00:38:25 +00:00
valeski%netscape.com 47c693b1e3 factored repeated mime type retrieval implementations into mime mapping service methods 1999-08-01 16:42:25 +00:00
warren%netscape.com d5370072c9 Added shtml 1999-07-31 06:27:03 +00:00
mscott%netscape.com a514d6dfd1 fix build breakage by including config.mak 1999-07-29 02:47:16 +00:00
warren%netscape.com e6ca89c1bb Fixed UMR / refcounting problem (purify). 1999-07-28 04:02:07 +00:00
ducarroz%netscape.com fabb1ab699 Fix shlb name conflict between netwerk:mime and mailnews:mime. Necko only. 1999-07-27 23:17:49 +00:00
beard%netscape.com baa19508a0 First Checked In. 1999-07-25 18:35:34 +00:00
sdagley%netscape.com c975303ed6 First Checked In. 1999-07-25 01:37:42 +00:00
mscott%netscape.com 52529d021d 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 0bf8c92993 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 eb0dd2815e 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 b26d6ed824 changed mime map service to use nsHashtabel 1999-07-16 21:56:54 +00:00
mscott%netscape.com d69b9675bc Register "eml" file extension as text/message (rfc822) 1999-07-14 04:08:41 +00:00
valeski%netscape.com ffbce16be3 adding warning comment 1999-07-13 23:39:31 +00:00
valeski%netscape.com 2abdba01c4 added image mime types to hardcoded area 1999-07-13 23:37:11 +00:00