this patch fixes/cleans-up several things:

1- honor ENABLE_TESTS build var
2- don't export intermediate static libs (bug 205025)
3- tmITransactionService should be ipcITransactionService
4- transaction service should not be a separate xpcom component library

plus some minor changes:

5- separate interfaces out into individual IDL file
6- get rid of *CID.h files (move CID/ContractID into IDL).. i think *CID.h
files are just overkill in this case.  there should either be just one ipcCID.h
file for all IDs or none.

r=ccarlen, sr=alecf, a=sspitzer
This commit is contained in:
darin%netscape.com 2003-05-21 19:20:38 +00:00
Родитель 2d3f50e8e5
Коммит 716f37a555
5 изменённых файлов: 4 добавлений и 7 удалений

Просмотреть файл

@ -131,7 +131,6 @@ mozipcd.exe
ipc\modules\lockmodule.dll
ipc\modules\transmngr.dll
components\ipcdc.dll
components\transmngr_client.dll
; session history
components\shistory.xpt

Просмотреть файл

@ -146,7 +146,6 @@ ipc/modules/liblockmodule.dylib
ipc/modules/libtransmngr.dylib
mozipcd
components/libipcdc.dylib
components/libtransmngr_client.dylib
; wallet
; Optional - only if you need password persistence

Просмотреть файл

@ -134,7 +134,6 @@ mozipcd.exe
ipc\modules\lockmodule.dll
ipc\modules\transmngr.dll
components\ipcdc.dll
components\transmngr_client.dll
; session history
components\shistory.xpt

Просмотреть файл

@ -48,7 +48,7 @@ REQUIRES = xpcom \
$(NULL)
ifdef MOZ_PROFILESHARING
REQUIRES += transmngr \
REQUIRES += ipcd \
profilesharingsetup \
$(NULL)
endif

Просмотреть файл

@ -49,7 +49,7 @@
#ifdef MOZ_PROFILESHARING
#include "nsIProfileSharingSetup.h"
#include "tmITransactionService.h"
#include "ipcITransactionService.h"
#endif
// File Name Defines
@ -127,8 +127,8 @@ nsProfileDirServiceProvider::SetProfileDir(nsIFile* aProfileDir)
#ifdef MOZ_PROFILESHARING
if (mSharingEnabled) {
nsCOMPtr<tmITransactionService> transServ =
do_GetService("@mozilla.org/transaction/service;1", &rv);
nsCOMPtr<ipcITransactionService> transServ =
do_GetService(IPC_TRANSACTIONSERVICE_CONTRACTID, &rv);
if (NS_SUCCEEDED(rv)) {
nsCAutoString nativePath;
rv = mProfileDir->GetNativePath(nativePath);