[GME-commit] GMESRC/GME/XmlBackEnd XmlBackEnd.vcproj,NONE,1.1 CoreXmlFile.cpp,1.6,1.7 FilesInUseDetailsDlg.cpp,1.1,1.2 StdAfx.cpp,1.1,1.2 XmlBackEnd.def,1.1,1.2 XmlBackEnd.dsp,1.7,NONE

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Wed Jan 26 11:31:34 CST 2005


Update of /var/lib/gme/GMESRC/GME/XmlBackEnd
In directory braindrain:/tmp/cvs-serv19193/GME/XmlBackEnd

Modified Files:
	CoreXmlFile.cpp FilesInUseDetailsDlg.cpp StdAfx.cpp 
	XmlBackEnd.def 
Added Files:
	XmlBackEnd.vcproj 
Removed Files:
	XmlBackEnd.dsp 
Log Message:
Checkin for VC7.1 upgrade


CVS User: zolmol

--- NEW FILE: XmlBackEnd.vcproj ---
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="7.10"
	Name="XmlBackEnd"
	SccProjectName=""
	SccLocalPath=""
	Keyword="AtlProj">
	<Platforms>
		<Platform
			Name="Win32"/>
	</Platforms>
	<Configurations>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory=".\Debug"
			IntermediateDirectory=".\Debug"
			ConfigurationType="2"
			UseOfMFC="2"
			UseOfATL="2"
			ATLMinimizesCRunTimeLibraryUsage="FALSE"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				AdditionalIncludeDirectories="./,../Include,../Include/ODBC,../Include/repository,../Interfaces,../Include/STLport,../Common,../Gme,../Core"
				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL"
				BasicRuntimeChecks="3"
				RuntimeLibrary="3"
				UsePrecompiledHeader="2"
				PrecompiledHeaderFile=".\Debug/XmlBackEnd.pch"
				AssemblerListingLocation=".\Debug/"
				ObjectFile=".\Debug/"
				ProgramDataBaseFileName=".\Debug/"
				BrowseInformation="1"
				WarningLevel="3"
				SuppressStartupBanner="TRUE"
				DebugInformationFormat="4"
				CompileAs="0"/>
			<Tool
				Name="VCCustomBuildTool"
				Description="Performing registration"
				CommandLine="regsvr32 /s /c &quot;$(TargetPath)&quot;
echo regsvr32 exec. time &gt; &quot;$(OutDir)\regsvr32.trg&quot;
"
				Outputs="$(OutDir)\regsvr32.trg"/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="xerces-c_2D.lib"
				OutputFile=".\Debug/XmlBackEnd.dll"
				LinkIncremental="2"
				SuppressStartupBanner="TRUE"
				AdditionalLibraryDirectories="../lib"
				ModuleDefinitionFile=".\XmlBackEnd.def"
				GenerateDebugInformation="TRUE"
				ProgramDatabaseFile=".\Debug/XmlBackEnd.pdb"
				SubSystem="2"
				BaseAddress="0x61200000"
				ImportLibrary=".\Debug/XmlBackEnd.lib"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"
				TypeLibraryName=".\Debug/XmlBackEnd.tlb"
				HeaderFileName=""/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="_DEBUG"
				Culture="1033"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCXMLDataGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
			<Tool
				Name="VCManagedWrapperGeneratorTool"/>
			<Tool
				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
		</Configuration>
		<Configuration
			Name="Release|Win32"
			OutputDirectory=".\Release"
			IntermediateDirectory=".\Release"
			ConfigurationType="2"
			UseOfMFC="2"
			UseOfATL="2"
			ATLMinimizesCRunTimeLibraryUsage="FALSE"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="1"
				InlineFunctionExpansion="1"
				AdditionalIncludeDirectories="./,../Include,../Include/ODBC,../Include/repository,../Interfaces,../Include/STLport,../Common,../Gme,../Core"
				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL"
				StringPooling="TRUE"
				RuntimeLibrary="2"
				EnableFunctionLevelLinking="TRUE"
				UsePrecompiledHeader="2"
				PrecompiledHeaderFile=".\Release/XmlBackEnd.pch"
				AssemblerListingLocation=".\Release/"
				ObjectFile=".\Release/"
				ProgramDataBaseFileName=".\Release/"
				BrowseInformation="1"
				WarningLevel="3"
				SuppressStartupBanner="TRUE"
				DebugInformationFormat="3"
				CompileAs="0"/>
			<Tool
				Name="VCCustomBuildTool"
				Description="Performing registration"
				CommandLine="regsvr32 /s /c &quot;$(TargetPath)&quot;
echo regsvr32 exec. time &gt; &quot;$(OutDir)\regsvr32.trg&quot;
"
				Outputs="$(OutDir)\regsvr32.trg"/>
			<Tool
				Name="VCLinkerTool"
				AdditionalDependencies="xerces-c_2.lib"
				OutputFile=".\Release/XmlBackEnd.dll"
				LinkIncremental="1"
				SuppressStartupBanner="TRUE"
				AdditionalLibraryDirectories="../lib"
				ModuleDefinitionFile=".\XmlBackEnd.def"
				GenerateDebugInformation="TRUE"
				ProgramDatabaseFile=".\Release/XmlBackEnd.pdb"
				GenerateMapFile="TRUE"
				MapFileName=".\Release/XmlBackEnd.map"
				SubSystem="2"
				BaseAddress="0x61200000"
				ImportLibrary=".\Release/XmlBackEnd.lib"
				TargetMachine="1"/>
			<Tool
				Name="VCMIDLTool"
				TypeLibraryName=".\Release/XmlBackEnd.tlb"
				HeaderFileName=""/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="NDEBUG"
				Culture="1033"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCXMLDataGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
			<Tool
				Name="VCManagedWrapperGeneratorTool"/>
			<Tool
				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
		</Configuration>
	</Configurations>
	<References>
	</References>
	<Files>
		<Filter
			Name="Source Files"
			Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat">
			<File
				RelativePath="ccauto.IDL">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCMIDLTool"
						TypeLibraryName="$(OUTDIR)/ccauto.tlb"
						HeaderFileName=""/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCMIDLTool"
						TypeLibraryName="$(OUTDIR)/ccauto.tlb"
						HeaderFileName=""/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="..\Common\CommonError.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="0"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BasicRuntimeChecks="3"
						BrowseInformation="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="1"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BrowseInformation="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="..\Common\CommonSmart.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="0"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BasicRuntimeChecks="3"
						BrowseInformation="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="1"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BrowseInformation="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="CoreXmlFile.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="0"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BasicRuntimeChecks="3"
						BrowseInformation="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="1"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BrowseInformation="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath=".\FilesInUseDetailsDlg.cpp">
			</File>
			<File
				RelativePath=".\FilesInUseDlg.cpp">
			</File>
			<File
				RelativePath="StdAfx.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="0"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BasicRuntimeChecks="3"
						UsePrecompiledHeader="1"
						PrecompiledHeaderThrough="stdafx.h"
						BrowseInformation="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="1"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						UsePrecompiledHeader="1"
						PrecompiledHeaderThrough="stdafx.h"
						BrowseInformation="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="VSSLoginDlg.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="0"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BasicRuntimeChecks="3"
						BrowseInformation="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="1"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BrowseInformation="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="XmlBackEnd.cpp">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="0"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BasicRuntimeChecks="3"
						BrowseInformation="1"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCCLCompilerTool"
						Optimization="1"
						AdditionalIncludeDirectories=""
						PreprocessorDefinitions=""
						BrowseInformation="1"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="XmlBackEnd.def">
			</File>
			<File
				RelativePath="XmlBackEnd.idl">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCMIDLTool"
						AdditionalIncludeDirectories="../Interfaces"
						GenerateStublessProxies="TRUE"
						TypeLibraryName=".\XmlBackEnd.tlb"
						HeaderFileName="XmlBackEnd.h"
						InterfaceIdentifierFileName="XmlBackEnd_i.c"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCMIDLTool"
						AdditionalIncludeDirectories="../Interfaces"
						GenerateStublessProxies="TRUE"
						TypeLibraryName=".\XmlBackEnd.tlb"
						HeaderFileName="XmlBackEnd.h"
						InterfaceIdentifierFileName="XmlBackEnd_i.c"/>
				</FileConfiguration>
			</File>
			<File
				RelativePath="XmlBackEnd.rc">
				<FileConfiguration
					Name="Debug|Win32">
					<Tool
						Name="VCResourceCompilerTool"
						PreprocessorDefinitions=""
						AdditionalIncludeDirectories="$(OUTDIR)"/>
				</FileConfiguration>
				<FileConfiguration
					Name="Release|Win32">
					<Tool
						Name="VCResourceCompilerTool"
						PreprocessorDefinitions=""
						AdditionalIncludeDirectories="$(OUTDIR)"/>
				</FileConfiguration>
			</File>
		</Filter>
		<Filter
			Name="Header Files"
			Filter="h;hpp;hxx;hm;inl">
			<File
				RelativePath="ccauto.h">
			</File>
			<File
				RelativePath="CoreXmlFile.h">
			</File>
			<File
				RelativePath=".\FilesInUseDetailsDlg.h">
			</File>
			<File
				RelativePath=".\FilesInUseDlg.h">
			</File>
			<File
				RelativePath="Resource.h">
			</File>
			<File
				RelativePath="StdAfx.h">
			</File>
			<File
				RelativePath="VSSLoginDlg.h">
			</File>
		</Filter>
		<Filter
			Name="Resource Files"
			Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
			<File
				RelativePath="CoreXmlFile.rgs">
			</File>
		</Filter>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>

Index: CoreXmlFile.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/XmlBackEnd/CoreXmlFile.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CoreXmlFile.cpp	2 Nov 2004 15:28:34 -0000	1.6
--- CoreXmlFile.cpp	26 Jan 2005 17:31:00 -0000	1.7
***************
*** 2001,2005 ****
      ASSERT( parser != NULL );
  
!     DOMDocument * doc = parser->parseURI( m_projectFileName.c_str() );
      if( doc == NULL )
          HR_THROW(E_FILEOPEN);
--- 2001,2005 ----
      ASSERT( parser != NULL );
  
! 	XERCES_CPP_NAMESPACE::DOMDocument * doc = parser->parseURI( m_projectFileName.c_str() );
      if( doc == NULL )
          HR_THROW(E_FILEOPEN);
***************
*** 2234,2238 ****
          CTime lastWriteTime( attr.ftLastWriteTime );
  
!         DOMDocument * doc = parser->parseURI( fileName );  
          readObject( doc->getDocumentElement(), pointers, NULL, fullLoad, lastWriteTime );
  
--- 2234,2238 ----
          CTime lastWriteTime( attr.ftLastWriteTime );
  
! 		XERCES_CPP_NAMESPACE::DOMDocument * doc = parser->parseURI( fileName );  
          readObject( doc->getDocumentElement(), pointers, NULL, fullLoad, lastWriteTime );
  
***************
*** 3123,3236 ****
      return false;
  }
- 
- 
- // egyeb:
- // transaction-ban nem lehet ki-be csekkelni es get latestet venni!!!
- 
- // objektum toreles esten felulrol kilancoljak az objektumot es nem is torlik csak az egesz
- // projekt bezarasanal -> szivas?
- 
- 
- /*
- TODO:
- 1. Az open-nel lehet hogy mgx-filet kene hasznalni.
-    Kerdes hogyan fogjuk soruce control ala rakni a projektet.
-    - lehetne a create-nel megadni es a connection stringben atmenhet az info
-    - ha nem ott akkor kesobb kell egy eszkosz ami ezt megteszi, ez viszont a core-t kikerulve
-      tudja csak az mgx file-ba beirni a szukseges infot
- 
- 
- 2. minden muvelet-hez (put_attrib,delete_object) meg kell tudni hatarozni a kicsekelendo file-ok halmazat
-     - tobb algoritmus van
-         - szigoru (osszes gyerek kicsekkelve)
- 
-    - ha transaction kezdodik elekzdjuk gyujteni az osszes modosult objektet
- 
-    esetek:
-    1. sima attr modositas:          az objektumot megjegyezzuk
-    2. nem parent pointer modositas: az objektumot megjegyezzuk
-    3. parent pointer modositas: 
-     - a regi containert megjegyezzuk
-     - az uj containert megjegyezzuk
- 
- 6. Mi van ha egy atomot atrakunk egy A modellbol egy B-be (megvaltoztatjuk a parentjet)
-    ez kemeny szivas:
-    - masik file-ba kerul, a regi containert is ki kell csekkelni es torolni belole
-    - az uj kontainert is ki kell csekkelni
- 
- 7. A ATTRID_LASTRELID miatt kicsekkelodik a szulo is ha beleszurok egy gyereket
- 
- 8. Az MgaProject-ben az abortTransaction-ben a popTerritory nincs korrektul megcsinalva!
- 
- 9. A GUID rendes attributum legyen
- 
- 10. a ki-be csekkeltsegi allapot is attributum legyen hogy a browser tudja mutatni
- 
- 11. Amikor tobb file-t egyszerre csekkelek ki transaction szeruen kellene
-     - Ez jelenle nem olyan nagy problema, mert ellenorizzuk hogy ki tudjuk-e csekkelni mindet
-       es csak akkor kerzdunk neki ha igen. Annak a valoszinusege hogy nem sikerul nagyon kicsi
- 
- 12. Amikr kicsekkelem a dependencyt azt a regi graf szerint teszem, az uj szeretin kellene...
-   - megoldas: minden kicsekk elott getlatest, es az uj fileokat processzalni kell
- 
- 13. GUI-t ki kell venni a backend-bol, errorinfot kell atadni stb.
- 
- 14. MGX connection string-be infok: crete-nel source control info, opennel username password
- 
-   Create:
-     MGX="C:\temp\test1" vssdatabase="frfre" vsspath="dede" user="fdasfdsfds" password="defrefre"
- 
- 19. ha idezojeleket hasznalunk a nevekben, az xml serializacio miatt nem mukszik a dolog jol
- 
- 20. Autosave-nel minden kicsekkelve marad, sima save-nel meg kell kerdezni
-     // a close-ban duplan van becsekkeles ezzel valamit csinalni kell
- 
- 21. GMEView bugs: ha ki van csekkelve masnal akkor az abort transaction a kovetkezo esetkben nem 
-     mukodik jol
-     - ctrl+move
-     - torles a fabol jobb gombal
-     - ha a faba masolunk, a fat frissiteni kell utana
- 
- 22. binary chache-el van valami bibi
- 
- 
- 
- 
- 
- TODO:
- 1. cache tesztelese nagyobb projekteknel
- 2. hibakalezels
-      
-  
- 
- 
- SZIVAS!
- 
-   
-   Kerdesek: 
-   1. a lockot minek undozni?
- 
- 
- 
- ClearCase kerdesek:
- - a directory-k mergelese: 
- - dynamic view eseten nincs szukseg get latestre
- - a parent konyvtarat egyszeruen kicsekkelve kell tartani az ownernek es kesz
-   igy mindeki hozza tud adni fileokat (tesztek szerint igy mukodik)
- 
- 
- Hibak:
- -------
- 1. Ha hozzadunk egy uj modelt akkor lehet hogy olyan helyre kerul ahol vannak mas modellek
-    amik ki vannak csekkelve masok altal amit az autoaranelment miatt majd megprobal kicsekkelni
- 
- 
- TODO: kell hogy mutassuk a browserbe hogy mit lehet editalni
-  1-es megodlas: bevezetunk egy virtualis attributumot, regnodot
-   - le tudjuk-e ezt kerdezni felulrol???
- 
- 
- 
-  
- 
- */
\ No newline at end of file
--- 3123,3124 ----

Index: FilesInUseDetailsDlg.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/XmlBackEnd/FilesInUseDetailsDlg.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** FilesInUseDetailsDlg.cpp	21 Oct 2004 21:22:04 -0000	1.1
--- FilesInUseDetailsDlg.cpp	26 Jan 2005 17:31:01 -0000	1.2
***************
*** 46,50 ****
  	CDialog::OnInitDialog();
  
!     for( int i=0; i<m_fileList.size(); ++i )
          m_list.AddString( m_fileList[i].c_str() );
   
--- 46,50 ----
  	CDialog::OnInitDialog();
  
!     for( unsigned int i=0; i<m_fileList.size(); ++i )
          m_list.AddString( m_fileList[i].c_str() );
   

Index: StdAfx.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/XmlBackEnd/StdAfx.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** StdAfx.cpp	14 Sep 2004 15:40:01 -0000	1.1
--- StdAfx.cpp	26 Jan 2005 17:31:01 -0000	1.2
***************
*** 7,12 ****
  #ifdef _ATL_STATIC_REGISTRY
  #include <statreg.h>
- #include <statreg.cpp>
  #endif
- 
- #include <atlimpl.cpp>
--- 7,9 ----

Index: XmlBackEnd.def
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/XmlBackEnd/XmlBackEnd.def,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** XmlBackEnd.def	14 Sep 2004 15:40:01 -0000	1.1
--- XmlBackEnd.def	26 Jan 2005 17:31:01 -0000	1.2
***************
*** 4,9 ****
  
  EXPORTS
! 	DllCanUnloadNow     @1 PRIVATE
! 	DllGetClassObject   @2 PRIVATE
! 	DllRegisterServer   @3 PRIVATE
! 	DllUnregisterServer	@4 PRIVATE
--- 4,9 ----
  
  EXPORTS
! 	DllCanUnloadNow     PRIVATE
! 	DllGetClassObject   PRIVATE
! 	DllRegisterServer   PRIVATE
! 	DllUnregisterServer	PRIVATE

--- XmlBackEnd.dsp DELETED ---



More information about the GME-commit mailing list