Commit Graph
36 Commits
Author SHA1 Message Date
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] 3736b6e206 Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron. 2004-01-15 06:14:18 +00:00
[email protected] 1576562704 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
[email protected] 1ffa7062d9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
[email protected] d524dec2ce modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
[email protected] 8c37890522 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] d5d544d503 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
[email protected] 619c366b34 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
[email protected] c63437dfa3 eliminate nsCRT::strlen for char* strings (part 5), bug 124536 r=dp sr=brendan 2002-02-20 06:38:38 +00:00
[email protected] 71f4514b1a API Freeze for nsIServiceManager [email protected], [email protected] bug 99147 2001-10-16 03:35:52 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] c572d6f42a Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
[email protected], [email protected].
2001-01-23 22:10:34 +00:00
[email protected] 0aaf97b668 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
[email protected] 48a65e11e8 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
[email protected] 65357bc940 Added OnClose method to nsIPipeObserver (bug#23080) 2000-01-05 05:07:46 +00:00
[email protected] a50b5cf321 NS_GET_IID(). Thanks to patch from [email protected] [email protected] 1999-12-01 00:21:53 +00:00
[email protected] b38aed7a68 Fixed QI problem now that comptrs check. 1999-11-13 06:18:34 +00:00
[email protected] 20621227af updated xPL license boilerplate to v1.1, [email protected],[email protected] 1999-11-06 03:43:54 +00:00
[email protected] 9bb7270765 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 1999-10-01 23:30:06 +00:00
[email protected] 2d69c7d581 Ability for XPCOM to use non-default component registry and component directory 1999-09-16 19:28:57 +00:00
[email protected] b38ac12c86 Added missing includes. 1999-09-15 22:33:38 +00:00
[email protected] c051b946f8 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
[email protected] ce3aba9c25 Added TestSearch routine from now obsolete TestBuffers test. 1999-08-27 10:32:51 +00:00
[email protected] 895d70f439 Added nsIPipe.idl, replacing nsPipe2.h. Fixed up some nsPipe2.cpp problems. Fixed bug in nsSegmentedBuffer segment growth. Extended TestPipes test case to cover much much more. 1999-08-24 08:45:17 +00:00
[email protected] 8df2637701 More extensive tests for pipes. Now we test for read returning when there's data but the buffer isn't yet full. Also testing new pipe implementation. 1999-08-10 19:27:05 +00:00
[email protected] 502deac0d1 Beefed up buffer/pipe tests. 1999-07-10 11:27:14 +00:00
[email protected] 4a84036330 Using default autoregistration. 1999-06-16 00:29:34 +00:00
[email protected] 1fe250a516 Fixed buffer tests. 1999-06-15 08:36:27 +00:00
[email protected] 99cdea5d94 trying to fix windows bustage with new parameters = set 'em to null! 1999-06-15 07:19:16 +00:00
[email protected] c0b4114cf4 Added ReadSegments and WriteSegments to nsIBuffer to avoid the need to allocate intermediate buffers. 1999-06-09 04:52:47 +00:00
[email protected] 835f1bb281 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
[email protected] f68397ded1 Found out that this needs to do autoregistration to work (because it needs raptorbase). 1999-05-07 05:30:30 +00:00
[email protected] aa0932baad Added page manager, buffer, buffer streams and pipes stuff. 1999-04-30 22:55:12 +00:00
[email protected] 5b8cf49d88 Added Write(nsIInputStream) and Flush to nsIOutputStream. 1999-04-22 07:31:03 +00:00
[email protected] e43ef458f9 Added NS_NewPipe and cleaned up ByteBufferInputStreams. 1999-04-13 18:17:29 +00:00