warren%netscape.com
98fd4bda6f
Took out RemoveChannel call (because res channels never get added to group). Fixed binding aborted case. r=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@57057 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 02:06:33 +00:00
edburns%acm.org
1af32fc433
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.
git-svn-id: svn://10.0.0.236/trunk@56916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:05:13 +00:00
valeski%netscape.com
e6b431b1d2
23039. r=rpotts. FTP wasn't closing the data connection after data transfer. This was causing it to hang, waiting for the command channel to unblock.
...
git-svn-id: svn://10.0.0.236/trunk@56886 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:29:48 +00:00
warren%netscape.com
348140ee50
Fixed free problem with getenv. Fixed leak for beos case. r=mcafee
...
git-svn-id: svn://10.0.0.236/trunk@56874 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 00:21:17 +00:00
warren%netscape.com
68536d0c91
Changed comment.
...
git-svn-id: svn://10.0.0.236/trunk@56836 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 10:48:27 +00:00
warren%netscape.com
192b8f9ef5
Patch from Yasushi Shoji <yashi@yashi.com> (presumably for some unix variant).
...
git-svn-id: svn://10.0.0.236/trunk@56835 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 10:48:11 +00:00
warren%netscape.com
54630cf656
Added MAXPATHLEN decl
...
git-svn-id: svn://10.0.0.236/trunk@56815 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 04:15:45 +00:00
warren%netscape.com
7fffb4513c
Added rule so that resource://Resource/ maps to CurrentProcessDirectory.
...
git-svn-id: svn://10.0.0.236/trunk@56806 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 03:43:21 +00:00
dougt%netscape.com
c49a6f3d25
Converting to use nsIModule macro. r=dp, jud.
...
git-svn-id: svn://10.0.0.236/trunk@56687 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:32:11 +00:00
dougt%netscape.com
2983ce314a
Including nsFileSpec.h directly. prep for nsIFile landing.
...
git-svn-id: svn://10.0.0.236/trunk@56686 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:31:09 +00:00
dougt%netscape.com
01f90e9260
Including nsFileSpec.h directly. This prep work for the nsIFile landing.
...
git-svn-id: svn://10.0.0.236/trunk@56685 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:28:35 +00:00
dougt%netscape.com
93ec1f59af
Including nsCRT.h directly. This prep work for the nsIFile landing.
...
git-svn-id: svn://10.0.0.236/trunk@56684 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:27:52 +00:00
dougt%netscape.com
674a13e637
Converting to use nsIModule macro. r=dp,jud
...
git-svn-id: svn://10.0.0.236/trunk@56683 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:27:20 +00:00
dougt%netscape.com
af7326be79
Including nsString.h directly. It is included indirectly by nsFileSpec. This
...
prep work for the nsIFile landing.
git-svn-id: svn://10.0.0.236/trunk@56682 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:24:47 +00:00
valeski%netscape.com
ddfd75d649
22534. r=gagan. We were leaking a single byte on non uname/pwd inclusive url's that required authentication, and we weren't over-writing the auth string when a auth realm wanted new credentials.
...
git-svn-id: svn://10.0.0.236/trunk@56610 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 21:55:18 +00:00
sspitzer%netscape.com
e457589684
fix warning
...
git-svn-id: svn://10.0.0.236/trunk@56589 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 00:23:43 +00:00
sspitzer%netscape.com
f7440a0d0d
fix warnings.
...
git-svn-id: svn://10.0.0.236/trunk@56570 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 19:37:29 +00:00
bryner%uiuc.edu
dcb9b00a03
Fix a compiler warning by reordering initializers. r=syd.
...
git-svn-id: svn://10.0.0.236/trunk@56548 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 22:11:18 +00:00
valeski%netscape.com
5c499a44d6
r=gagan, a=don. 21599. we were breaking when we received an incomplete status line. Now we are sure to buffer the line until we receive all of it. we also do this buffering for headers now.
...
git-svn-id: svn://10.0.0.236/trunk@56430 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 22:15:55 +00:00
dougt%netscape.com
41e83422c9
fix for 16273. r=valeski, a=sdagley.
...
git-svn-id: svn://10.0.0.236/trunk@56328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 01:47:59 +00:00
valeski%netscape.com
788545c3b7
a=sdagley. turning on datetime protocl.
...
git-svn-id: svn://10.0.0.236/trunk@56304 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 22:33:01 +00:00
valeski%netscape.com
765dc92c40
a=sdagley, r=dougt. set the min ftp thread count to 1 (from 4). now we only fire up 1 thread initially. Also set the stack size to default machine stack size. 22033
...
git-svn-id: svn://10.0.0.236/trunk@56302 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 22:25:37 +00:00
valeski%netscape.com
1b83c7d0ab
a=dagley, r=dougt. 22033. FTP was having problems with multiline, multi read server greetings.
...
git-svn-id: svn://10.0.0.236/trunk@56298 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 21:15:03 +00:00
valeski%netscape.com
b00eb50e2e
NOT IN BUILD. updating datetime protocol to add/remove itself from the load group
...
git-svn-id: svn://10.0.0.236/trunk@56292 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:40:05 +00:00
valeski%netscape.com
e374477ce9
NOT IN BUILD. Adding date time protocol handler files
...
git-svn-id: svn://10.0.0.236/trunk@56238 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-20 21:48:15 +00:00
fur%geocast.com
48e420cd61
Reorder one class member initialization line to fix a warning.
...
git-svn-id: svn://10.0.0.236/trunk@56199 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 15:47:20 +00:00
fur%geocast.com
daae136a18
Fixes for HTTP 1.1 compliance with caching, a:chofmann
...
Fix #21569 (Use Etag header for cache validation, when present)
Fix #21572 (Obey must-revalidate directive, when present)
git-svn-id: svn://10.0.0.236/trunk@56198 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 15:46:43 +00:00
mscott%netscape.com
8891a8a6d1
fix mem leak of the http handler and the http request objects.
...
Add GetnsAuthEngine to nsIHTTPProtocolHandler, remove nsHTTPHandler::GetInstance, force callers to
go through the service manager. remove the http handler factory code since we just need the http
module
r=warren
git-svn-id: svn://10.0.0.236/trunk@56122 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 00:44:31 +00:00
rpotts%netscape.com
f0deab5cfe
bug #21884 (r=mscott) bug #21459 (r=warren). I'm checking in the changes for 21459 again with an important fix for the image crashes :-)
...
git-svn-id: svn://10.0.0.236/trunk@56088 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 07:59:25 +00:00
mscott%netscape.com
2fe89a5555
Bug #21884 --> backing out Rick's changes to http to fix this regression crasher tonight.
...
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@56083 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 06:06:00 +00:00
rpotts%netscape.com
c37cbff450
bug #21459 (r=warren). Made the consumer OnStopRequest fire before the channel is removed from the loadgroup...
...
git-svn-id: svn://10.0.0.236/trunk@56059 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 23:12:48 +00:00
briano%netscape.com
7ab65dce11
Added a newline to the end of the file to make it compile on HP-UX.
...
git-svn-id: svn://10.0.0.236/trunk@56056 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 22:43:06 +00:00
briano%netscape.com
8829dc04ff
Added a newline to the end of the file so HP-UX would be happy again.
...
git-svn-id: svn://10.0.0.236/trunk@56035 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 05:00:09 +00:00
valeski%netscape.com
d53a4e079f
21723, a=chofmann, r=rpotts. landing new FTP implementation. It's now much leaner on event processing, and no longer buffers data between the socket transport and consumer. This change went in in order to unblock the xpinstall guys on a UI thread starvation problem
...
git-svn-id: svn://10.0.0.236/trunk@56020 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:35:15 +00:00
valeski%netscape.com
27c86ff80b
added files: mozilla/netwerk/protocol/ftp/src/nsFTPListener.cpp
...
git-svn-id: svn://10.0.0.236/trunk@56019 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:32:56 +00:00
valeski%netscape.com
870bb35e1e
adding files for new FTP impl, not in build yet
...
git-svn-id: svn://10.0.0.236/trunk@56017 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:30:33 +00:00
valeski%netscape.com
38e0909f5b
21197. a=jevering, r=rpotts. On a redirect we were firing header notification *after* the rediect which broke sites trying to set and retrieve a cookie using a redirect. Now we fire on headers before processing status code
...
git-svn-id: svn://10.0.0.236/trunk@55996 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:07:29 +00:00
ducarroz%netscape.com
2d6a83bc0f
Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren
...
git-svn-id: svn://10.0.0.236/trunk@55938 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:49:12 +00:00
rjc%netscape.com
caad17c5c1
Fix PDT+ bug # 21236: don't null out mResponseContext, as it needs to be valid for the life of the channel. (Its a nsCOMPtr, so it'll automatically release when it falls out of scope.)
...
git-svn-id: svn://10.0.0.236/trunk@55907 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 21:24:50 +00:00
valeski%netscape.com
b75d99c004
r=rhp. 21242 adjusted pipe buffer params for FTP Async file transfers. URI dispatching had aggrivated this bug. Now file viewing via FTP works.
...
git-svn-id: svn://10.0.0.236/trunk@55795 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 06:41:05 +00:00
valeski%netscape.com
5d12f78ef8
r=rhp. 21195. a=jevering. adjusted pipe buffer params for FTP OpenInputSTream. URI dispatching had aggrivated this bug. Now file downloads via FTP work.
...
git-svn-id: svn://10.0.0.236/trunk@55794 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 06:20:50 +00:00
jdunn%netscape.com
8872d98f17
Include nsJARURI.cpp and nsJARChannel.cpp in the unix build
...
r= warren, chofmann
git-svn-id: svn://10.0.0.236/trunk@55776 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 23:47:11 +00:00
fur%netscape.com
1e228e93e0
Move OnHeadersAvailable() after processing of server's "Not Modified" response,
...
so that the cached HTTP headers can be substituted for the 304 response headers.
git-svn-id: svn://10.0.0.236/trunk@55739 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 06:37:28 +00:00
warren%netscape.com
19c88edad4
Fixed leak on shutdown. Bug#21118
...
git-svn-id: svn://10.0.0.236/trunk@55730 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:14:52 +00:00
morse%netscape.com
fa04a5ff42
fix bug 21083, multiple cookies being ignored, r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@55728 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:07:31 +00:00
fur%netscape.com
d50cb261de
Fix mac build bustage. Use LL* macros with int64 types
...
git-svn-id: svn://10.0.0.236/trunk@55717 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:56:15 +00:00
fur%netscape.com
72c9eb90d8
Fix usual bustage due to not including header with an nsCOMPtr type
...
git-svn-id: svn://10.0.0.236/trunk@55710 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:08:48 +00:00
fur%netscape.com
6201f3cc96
+ Fix unix build bustage: Add explicit casts to XPIDLCString rvalues.
...
+ Fixed warnings
git-svn-id: svn://10.0.0.236/trunk@55709 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:04:26 +00:00
fur%netscape.com
c7aa643d96
Disable cache by default on Windows
...
git-svn-id: svn://10.0.0.236/trunk@55696 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:25:44 +00:00
fur%netscape.com
4ca11f608c
Bug #8305 (Implement cache). Whacked the HTTP protocol handler hard to support caching.
...
git-svn-id: svn://10.0.0.236/trunk@55695 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:23:14 +00:00