Index: svn/Helper.cls.xml =================================================================== diff -u -r1602 -r1607 --- svn/Helper.cls.xml (.../Helper.cls.xml) (revision 1602) +++ svn/Helper.cls.xml (.../Helper.cls.xml) (revision 1607) @@ -235,6 +235,20 @@ ]]> + +1 +InternalName:%String + + + rset:%ResultSet 1 @@ -252,14 +266,18 @@ flagRecompile:%Boolean=0 0) { if flagRecompile { - set idxSource="" - set ListToCompile = ##class(TECH.ListUtils).CopyListOfDataTypes(..ToCompile.List) + #dim idxSource As %String ="" + #dim ListToCompile As %ListOfDataTypes = ##class(TECH.ListUtils).CopyListOfDataTypes(..ToCompile.List) set itListToCompile = ##class(TECH.ListIterator).%New(ListToCompile) while itListToCompile.HasNext() { set SourceCode = itListToCompile.Next() @@ -304,6 +322,7 @@ kill mdErrors set mdErrors="" do $system.OBJ.CompileList(.mdSources,CompileFlags,.mdErrors) + set idxError = "" for { set idxError = $order(mdErrors(idxError)) quit:idxError="" set Error = mdErrors(idxError) @@ -322,91 +341,6 @@ ]]> - -%ListOfDataTypes - - - - -%ListOfDataTypes - - - - -%ListOfDataTypes - - - - -1 -InternalName -%String - - - - - -check if a SourceFile needs to be synchronized if so add it to the module persistent data -InternalName - - - - -helper function to create intermediate directory when needed -pFilename:%String -1 - - - Actie:%String="" -%New method to -provide notification that a new instance of an object is being created. - -

If this method returns an error then the object will not be created. -

It is passed the arguments provided in the %New call. -When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). -For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be: -

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status]]> Username:%String="",Password:%String="" 1 1 @@ -600,8 +525,8 @@ Message:%String 1 %Boolean 1 %Boolean InternalName:%String svn.Repository @@ -661,12 +586,19 @@ RepoID:%String svn.Repository + + +InternalName:%String +%Boolean + + Index: svn/Synchronizer.cls.xml =================================================================== diff -u --- svn/Synchronizer.cls.xml (revision 0) +++ svn/Synchronizer.cls.xml (revision 1607) @@ -0,0 +1,239 @@ + + + +%RegisteredObject + + +svn.SyncStatus +array + + + +%String +array + + + + +%String +1 + + + +%String +1 + + + +svn.Helper +1 + + + +Username:%String="",Password:%String="" +1 +1 +%Status + + + + + + + + +1 + + + + +InternalName:%String +1 + + + + +%ListOfObjects + + + + +CSPApplicatie:%String +%Boolean + + + + +InternalName +1 +svn.SyncStatus + + + + +%ListOfDataTypes + + + + +%ListOfDataTypes + + + + +%ListOfDataTypes + + + + + + Index: svn/StudioHook.cls.xml =================================================================== diff -u -r1600 -r1607 --- svn/StudioHook.cls.xml (.../StudioHook.cls.xml) (revision 1600) +++ svn/StudioHook.cls.xml (.../StudioHook.cls.xml) (revision 1607) @@ -77,6 +77,7 @@

+ @@ -195,7 +196,10 @@ do ..SubversionStatus(.InternalName,.Action,.Target,.Msg,.Reload) } elseif tMenu="synchronize" { if tMenu(2)[ "changes" do ..SubversionSynchronizeChanges(.InternalName,.Action,.Target,.Msg,.Reload) - if tMenu(2)[ "all" do ..SubversionSynchronizeAll(.InternalName,.Action,.Target,.Msg,.Reload) + if tMenu(2)[ "all" { + Set Action = 1 + set Target = "Alle bestanden synchronizeren met het file-systeem ?" + } } elseif tMenu="reload" { if $length(InternalName) { #dim Repo As svn.Repository = ..svnHelper.GeefRepository(InternalName) @@ -356,9 +360,9 @@ @@ -367,9 +371,9 @@ @@ -678,6 +682,12 @@ if Answer=1 { Do ..SubversionUpdateSourceControlCode() } + } elseif tMenu="synchronize" { + if tMenu(2)["all" { + if Answer=1 { + Do ..SubversionSynchronizeAll() + } + } } elseif tMenu="reload" { if Answer=1 { Do ..SubversionSynchronizeFile(InternalName) Index: svn/Repository.cls.xml =================================================================== diff -u -r1606 -r1607 --- svn/Repository.cls.xml (.../Repository.cls.xml) (revision 1606) +++ svn/Repository.cls.xml (.../Repository.cls.xml) (revision 1607) @@ -37,6 +37,18 @@ 1 + +%String +array +1 + + + +%String +list +1 + + Revision:%String="" InternalName:%String %String 1 set Hash=$system.Encryption.MD5Encode(Hash) - #else - Set Hash=$system.Encryption.SHA1HashStream(Stream) - #endif - + #dim Hash As %String =$system.Encryption.SHA1HashStream(Stream) + if flagIsTempFile { do ##class(%File).Delete(ExternalName) } @@ -519,6 +523,127 @@ ]]> + +ExternalName +%Boolean + + + + +InternalName +%Boolean + + + + +InternalName +%Boolean + + + + + +Delete is nodig wanneer code nog bestaat in database maar niet meer op het filesysteem en +als er in de database een import/export historiek bestaat. +InternalName +%Boolean + + + + +Horolog1:%String,Horolog2:%String +1 +%Boolean + + + + +%ListOfDataTypes + + + %Library.CacheStorage ^SYS("SourceControl","SVN","Repositories") Index: svn/SourceCodeInfo.cls.xml =================================================================== diff -u -r1571 -r1607 --- svn/SourceCodeInfo.cls.xml (.../SourceCodeInfo.cls.xml) (revision 1571) +++ svn/SourceCodeInfo.cls.xml (.../SourceCodeInfo.cls.xml) (revision 1607) @@ -71,7 +71,7 @@ 1 -InternalName,ExternalName +InternalName:%String,ExternalName:%String %Status InternalName:%String %Status ExternalName:%String,InternalName:%String %Status ")&&(Line["") continue:$$$StartsWith(Line,"")&&(Line["") continue:$$$StartsWith(Line," %Status