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

115 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com f3c5380747 sr=darin. no bug. just dead wood static cid cleanup 2001-04-13 11:23:11 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
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
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 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
disttsc%bart.nl 65ab4e91cb Fix senna bustage, update REQUIRES 2001-02-10 02:44:55 +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
darin%netscape.com 6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +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
warren%netscape.com fff6a0fc41 Implementing bufferSegmentSize/bufferMaxSize -- don't know why they weren't implemented before. 2000-09-17 22:22:08 +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
mscott%netscape.com 81b816da2e Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
dp%netscape.com 7dbf06413a bug# 49786 Setting up res protocol handler to support weak ref. r=gagan,valeski 2000-08-22 06:09:52 +00:00
warren%netscape.com e12f238589 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
conrad%ingress.com d9e8edcf29 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h r=valeski 2000-08-11 20:31:57 +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
warren%netscape.com 2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
warren%netscape.com 7982bac600 Fixed warning. 2000-07-11 09:46:51 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
warren%netscape.com 8ecf4013dc Added hasSubstitutions for Hyatt & chrome protocol. 2000-06-28 06:54:56 +00:00
valeski%netscape.com 4b1915baa6 fixing assertion 2000-06-16 16:20:29 +00:00
valeski%netscape.com f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
locka%iol.ie a5180078a1 Fixed incorrect pathname resolution for embedding apps trying to load res:// URLs from places other than mozilla/bin
b=42249, approved=warren
2000-06-13 11:50:40 +00:00
warren%netscape.com ecc2d9c51c Bug 27971. Better strategy for resource: urls to use less memory. Saves about 0.4% of entire run just bring up one page (home.mozilla.org). r=waterson 2000-06-09 07:51:13 +00:00
warren%netscape.com d7efda20c4 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433 2000-06-02 23:41:43 +00:00
ruslan%netscape.com e830ecd6e9 Make res/chrome handlers implement threadsafe_isupports 2000-05-26 21:00:18 +00:00
brade%netscape.com 7c6a2b6db7 File Removed. 2000-05-25 17:43:06 +00:00
warren%netscape.com 185c96de20 Combined all necko dlls into two. Bug 17031. 2000-05-06 09:15:56 +00:00
andreas.otte%primus-online.de e365632082 first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com 2000-05-05 23:39:25 +00:00
slamm%netscape.com ab6e3eb4e6 Fix declaration order to quiet build warning 2000-04-26 14:31:01 +00:00
warren%netscape.com 2979b9b4c6 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code. 2000-04-12 07:58:24 +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
cls%seawood.org cd487cbabb Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf 2000-04-01 10:18:48 +00:00
warren%netscape.com 69ca3f19d4 Bug 28269. jar file cache should open local files in place 2000-03-30 08:13:50 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
dougt%netscape.com 8126ff53b4 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren. 2000-03-17 22:06:32 +00:00
scc%netscape.com 73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
valeski%netscape.com 41512e1d6a URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes 2000-02-03 03:44:22 +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
rpotts%netscape.com be79b9fb76 bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
sspitzer%netscape.com d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
duncan%be.com be3945ad99 Fix BeOS build by making changing nsResProtocolHandler.cpp like
Windows and Mac, and fix a couple nsSpecialSystemDirectory bugs.
All the changes are BeOS specific (i.e. wrapped in XP_BEOS or
only used by code wrapped in XP_BEOS).
r=mcafee
2000-01-08 09:09:02 +00:00
rpotts%netscape.com 023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
warren%netscape.com 08bd5d4db0 Took out RemoveChannel call (because res channels never get added to group). Fixed binding aborted case. r=rpotts 2000-01-07 02:06:33 +00:00
edburns%acm.org 13be6d7ebf I know it's unorthodox to do a top level checkin like this, but I've got so many files
in so many different directories, that I think it's the best way.
I've pulled and clobber_all'd my tree and got

r=dp

on this checkin.

Here are the touched files:

M mozilla/embedding/browser/activex/src/control/MozillaBrowser.cpp
M mozilla/embedding/browser/activex/src/control/MozillaBrowser.h
M mozilla/js/src/xpconnect/shell/xpcshell.cpp
M mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp
M mozilla/xpcom/build/nsXPComInit.cpp
M mozilla/xpcom/components/nsComponentManager.cpp
M mozilla/xpcom/components/nsIServiceManager.h
M mozilla/xpcom/components/nsServiceManager.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.cpp
M mozilla/xpcom/io/nsSpecialSystemDirectory.h
M mozilla/xpcom/tests/TestBuffers.cpp
M mozilla/xpcom/tests/TestPipes.cpp
M mozilla/xpcom/tests/TestShutdown.cpp
M mozilla/xpcom/tests/windows/TestHelloXPLoop.cpp
M mozilla/xpcom/tools/registry/regExport.cpp
M mozilla/xpcom/tools/registry/regxpcom.cpp
M mozilla/xpinstall/stub/xpistub.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp
M mozilla/webshell/embed/ActiveX/MozillaBrowser.h
M mozilla/webshell/tests/viewer/nsMacMain.cpp
M mozilla/webshell/tests/viewer/nsPhMain.cpp
M mozilla/webshell/tests/viewer/nsWinMain.cpp
M mozilla/webshell/tests/viewer/unix/gtk/nsGtkMain.cpp
M mozilla/xpfe/appshell/src/nsFileLocations.cpp
M mozilla/xpfe/bootstrap/nsAppRunner.cpp

The heart of this checkin is a change in the signature and symantics
of NS_InitXPCOM.

The new signature is

extern NS_COM nsresult
NS_InitXPCOM(nsIServiceManager* *result, nsFileSpec* binDirectory);

I filed a bug for this problem:

b=23157

The original manifestation of this bug was in mozilla/netwerk/protocol/res/src/nsResProtocolHandler.cpp It used the current process directory to find resources, which is not correct when the current process is not mozilla.exe.

I have added a new type to nsSpecialSystemDirectory, Moz_BinDirectory, and made nsResProtocolHandler use that value.
2000-01-06 01:05:13 +00:00
warren%netscape.com 025342a34a Fixed free problem with getenv. Fixed leak for beos case. r=mcafee 2000-01-06 00:21:17 +00:00
warren%netscape.com c73c8b80e5 Changed comment. 2000-01-05 10:48:27 +00:00
warren%netscape.com f0385dd5e8 Patch from Yasushi Shoji <yashi@yashi.com> (presumably for some unix variant). 2000-01-05 10:48:11 +00:00
warren%netscape.com c5647f335f Added MAXPATHLEN decl 2000-01-05 04:15:45 +00:00
warren%netscape.com 9466469ea2 Added rule so that resource://Resource/ maps to CurrentProcessDirectory. 2000-01-05 03:43:21 +00:00
bryner%uiuc.edu 77d764168e Fix a compiler warning by reordering initializers. r=syd. 1999-12-24 22:11:18 +00:00
warren%netscape.com 70e183d895 Fixed leak on shutdown. Bug#21118 1999-12-08 05:14:52 +00:00
warren%netscape.com 5993e3d66a Swapped res: and resource: protocol schemes so that now nsResProtocolHandler is used by default. r=pavlov 1999-12-07 04:04:21 +00:00
warren%netscape.com 6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
sfraser%netscape.com ff90394468 Fix the fragment name in both targets to be unique. r=pinkerton. 1999-12-02 04:51:11 +00:00
warren%netscape.com da354ddd80 Fixed bug GetContentType/GetContentLength. 1999-11-30 07:36:14 +00:00
sspitzer%netscape.com e17346bdb8 ignore generated files 1999-11-29 21:20:30 +00:00
warren%netscape.com f4ae91832a Added friend _class_ for hpukes. 1999-11-24 20:42:04 +00:00
warren%netscape.com 895216338d Somehow added to wrong directory. Moving. 1999-11-24 07:19:12 +00:00
warren%netscape.com ac4e9c302a First Checked In. 1999-11-24 05:54:31 +00:00
warren%netscape.com e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
warren%netscape.com ad0a3a73fc Initial checkin of the res: protocol -- replacement for resource: that does symbolic roots, and searching. 1999-11-23 12:13:33 +00:00