You can subscribe to this list here.
2003 |
Jan
(69) |
Feb
(122) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
(56) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(237) |
Jul
|
Aug
|
Sep
(1) |
Oct
(14) |
Nov
(72) |
Dec
|
2007 |
Jan
(2) |
Feb
(37) |
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:55
|
Update of /cvsroot/eas-dev/ocmng/components/ocmng/security In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ocmng/security Added Files: auth.prg auth.xml Log Message: Add files --- NEW FILE: auth.prg --- /*-------------------------------------------------------------------------*/ /* E/AS Component (part of E/AS project) */ /* */ /* Copyright (C) 2005 by E/AS Software Foundation */ /* Author: Andrey Cherepanov <sk...@ea...> */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as */ /* published by the Free Software Foundation; either version 2 of the */ /* License, or (at your option) any later version. */ /*-------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------/ / / / Name: User authentication / / System name: auth / / Description: User authentication / / Version: 0.1 / / Author: Andrey Cherepanov <sk...@ea...> / / / / Available commands: / / AUTH Authenticate user / / <params> Authenticate parameters / / / /--------------------------------------------------------------------------*/ #define DEFAULT_AUTH_METHOD 'PAM' /** Component: auth */ parameters cMethod, params local cContent:='' local oErr, i, err:='' local authMethod := DEFAULT_AUTH_METHOD, cfg local cCmd, cStdOut:=space(0), cStdErr:=space(0) local user, password, authString eDebug(12, "AUTH method:", cMethod, params) oErr := ErrorBlock({|e| break(e) }) begin sequence /*=========================================================================*/ // AUTH() if lower(cMethod) == 'authenticate' cfg := EASGetConfig() cMethod := cfg:getValue('AUTH','METHOD') if .not. empty(cMethod) authMethod := cMethod endif // PAM authentication if upper(cMethod) == 'PAM' cCmd := cfg:getValue('AUTH','PAM') // Substitute CLIPROOT if neccessary cCmd := strtran(cCmd, '$CLIPROOT', getenv("CLIPROOT")) if empty(cCmd) .or. .not. file(cCmd) eDebug(2, "AUTH: file not found:", cCmd) return .F. endif params := params:params if assertParameters( params, { 'name:C', 'password:C' } ) eDebug(2, "AUTH: internal error: missing parameter 'name' and/or 'password'") return .F. endif authString := params:name+" "+params:password+"&\n" syscmd(cCmd, authString, @cStdOut, @cStdErr) //if ( syscmd(cCmd, authString, @cStdOut, @cStdErr) != 0 ) //eDebug(2, "AUTH executable error:",cCmd) //return .F. //endif eDebug(2, "AUTH result:",cStdOut) if left(cStdOut,2) == "OK" eDebug(12, "AUTH: access granted for", params:name) return .T. // Access granted else eDebug(12, "AUTH: access denied for", params:name) return .F. // Access denied endif endif endif recover using oErr i := 1 while ( !empty(ProcName(i)) ) err += "Called from "+allTrim(ProcName(i)) + ; ":" + alltrim(str(ProcLine(i))) + chr(10) i++ end eDebug(5, "Component internal error:", errorMessage(oErr)) return NIL end sequence return .F. --- NEW FILE: auth.xml --- <?xml version="1.0" encoding="utf-8" standalone="no" ?> <component> <name>auth</name> <category>Core/Security</category> <version>0.1</version> <description>User authentication</description> <license>GNU/GPL</license> <created>2006-04-23</created> <modified>2006-05-19</modified> <requires> <dependence type="component">../ocmng/components</dependence> <dependence type="component">../forms/form</dependence> </requires> <author> <name>Andrey Cherepanov</name> <email>sk...@ea...</email> <copyright>2006</copyright> </author> <files> <file name="auth.po">Authentication plugin</file> </files> <data> <objects depository="ETC0101" class="mng_command"> <object> <attr name="name">authenticate</attr> <attr name="component" refTo="ETC0101:mng_component">auth</attr> <attr name="form" refTo="ETC0101:mng_form">auth.po</attr> <attr name="description"><![CDATA[Authenticate user. Arguments: method - String. Authentication method. Default: 'PAM'. params - Map. Parameters (name:C,password:C). Returns: Logical. .T. if access is granted.]]></attr> <attr name="enabled">true</attr> </object> </objects> </data> <locale lang="ru"> <name>auth</name> <description>ÐÑÑенÑиÑикаÑÐ¸Ñ Ð¿Ð¾Ð»ÑзоваÑелей</description> </locale> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:54
|
Update of /cvsroot/eas-dev/ocmng/components/ref1/ru In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ref1/ru Added Files: ALL.xml GBL01.xml _a1 country.xml currency.xml taxcause.xml taxcode.xml taxtype.xml unit2unit.prg unit2unit.xml units.xml void.xml Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">GBL01.xml</dependence> <dependence type="component">void.xml</dependence> <dependence type="component">currency.xml</dependence> <dependence type="component">country.xml</dependence> <dependence type="component">units.xml</dependence> <dependence type="component">unit2unit.xml</dependence> <dependence type="component">taxcode.xml</dependence> <dependence type="component">taxcause.xml</dependence> <dependence type="component">taxtype.xml</dependence> </requires> </component> --- NEW FILE: GBL01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>GBL01-ref1-ru</name> <category>CORE/DB</category> <version>1.0</version> <description>Initial metadata for Russian refs</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">../../CORE/GBL01.xml</dependence> </requires> <meta dictionary="GBL01" rules="appendOnly"> <extent name="goscomstatinfo">Information from state departament of statistic</extent> <extent name="itk">Information from ITK</extent> </meta> </component> --- NEW FILE: _a1 --- estate_type estate_form t_group commodity_word region document_type account_type investment_type employee_type appointment_type pasport_type bank nation citizen_type language lang_skill marital_stat relationship war_veteran military_duty military_rank vacation_type dismiss_type education_type cash_document_type equipment_type taxperiod territorial_type wordbase taxcode2 taxcode_gni taxcode_a taxcode_g taxcode_pg taxcode_pr taxcode_ek taxcode_b --- NEW FILE: country.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>country-ru</name> <category>REFS/ru</category> <version>1.0</version> <description>ëÏÄÙ ÓÔÒÁÎ çÏÓëÏÍóÔÁÔÁ òÏÓÓÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <meta dictionary="GBL01" rules="appendOnly"> [...1434 lines suppressed...] <attr name="smallname">áÌÖÉÒÓËÁÑ îÁÒÏÄÎÁÑ äÅÍÏËÒÁÔÉÞÅÓËÁÑ òÅÓÐÕÂÌÉËÁ</attr> </object> <object> <attr name="code">175</attr> <attr name="unit">MYT</attr> <attr name="name">íáêïôôá</attr> <attr name="smallname">íáêïôôá</attr> </object> <object> <attr name="code">178</attr> <attr name="unit">COG</attr> <attr name="name">ëïîçï</attr> <attr name="smallname">òÅÓÐÕÂÌÉËÁ ëÏÎÇÏ</attr> </object> </objects> </data> </component> --- NEW FILE: currency.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>currency-ru</name> <category>REFS/ru</category> <version>1.0</version> <description>ëÏÄÙ ×ÁÌÀÔ çÏÓëÏÍóÔÁÔÁ òÏÓÓÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> [...1107 lines suppressed...] <attr name="smallname">çÒÕÚÉÑ</attr> </object> <object> <attr name="code">985</attr> <attr name="unit">òLN</attr> <attr name="name">úÌÏÔÙÊ</attr> <attr name="smallname">ðÏÌØÛÁ</attr> </object> <object> <attr name="code">986</attr> <attr name="unit">BRL</attr> <attr name="name">âÒÁÚÉÌØÓËÉÊ ÒÅÁÌ</attr> <attr name="smallname">âÒÁÚÉÌÉÑ</attr> </object> </objects> </data> </component> --- NEW FILE: taxcause.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>taxcause-ru</name> <category>goscomstatinfo</category> <version>1.0</version> <description>ëÏÄÙ ÏÓÎÏ×ÁÎÉÊ ÐÌÁÔÅÖÅÊ çîé òÏÓÓÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> </files> <meta dictionary="GBL01" rules="appendOnly"> <class name="taxcause" logNeed="false" extent="goscomstatinfo" superClass="" essence="unit" uniqueKey="code" attributes="code,unit,smallname" indices="code,unit,smallname" findAttrs="code,unit,smallname" /> <tcolumn name="taxcause" width="2" header="ïÓÎÏ×ÁÎÉÅ ÐÌÁÔÅÖÁ" footer="" expression="taxcause" /> <tview name="ëÏÄÙ ÏÓÎÏ×ÁÎÉÊ ÐÌÁÔÅÖÁ" header="ëÏÄÙ ÏÓÎÏ×ÁÎÉÊ ÐÌÁÔÅÖÁ" class="taxcause" columns="code,unit,smallname" /> </meta> <data> <objects depository="GBL0101" class="taxcause" rules="appendOnly"> <object> <attr name="code">001</attr> <attr name="unit">ôð</attr> <attr name="smallname">ðÌÁÔÅÖÉ ÔÅËÕÝÅÇÏ ÇÏÄÁ</attr> </object> <object> <attr name="code">002</attr> <attr name="unit">úä</attr> <attr name="smallname">äÏÂÒÏ×ÏÌØÎÏÅ ÐÏÇÁÛÅÎÉÅ ÚÁÄÏÌÖÅÎÎÏÓÔÉ</attr> </object> <object> <attr name="code">003</attr> <attr name="unit">ôò</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÚÁÄÏÌÖÅÎÎÏÓÔÉ ÐÏ ÔÒÅÂÏ×ÁÎÉÀ</attr> </object> <object> <attr name="code">004</attr> <attr name="unit">òó</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÒÁÓÓÒÏÞÅÎÎÏÊ ÚÁÄÏÌÖÅÎÎÏÓÔÉ</attr> </object> <object> <attr name="code">005</attr> <attr name="unit">ïô</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÏÔÓÒÏÞÅÎÎÏÊ ÚÁÄÏÌÖÅÎÎÏÓÔÉ</attr> </object> <object> <attr name="code">006</attr> <attr name="unit">òô</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÒÅÓÔÒÕËÔÕÉÒÏ×ÁÎÎÏÊ ÚÁÄÏÌÖÅÎÎÏÓÔÉ</attr> </object> <object> <attr name="code">007</attr> <attr name="unit">÷õ</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ × Ó×ÑÚÉ Ó ××ÄÅÎÉÅÍ ×ÎÅÛÎÅÇÏ ÕÐÒÁ×ÌÅÎÉÑ</attr> </object> <object> <attr name="code">008</attr> <attr name="unit">ðò</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÐÒÉÏÓÔÁÎÏ×ÌÅÎÎÏÊ Ë ×ÚÙÓËÁÎÉÀ</attr> </object> <object> <attr name="code">009</attr> <attr name="unit">áð</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÐÏ ÁËÔÕ ÐÒÏ×ÅÒËÉ</attr> </object> <object> <attr name="code">010</attr> <attr name="unit">áò</attr> <attr name="smallname">ðÏÇÁÛÅÎÉÅ ÐÏ ÁËÔÕ ÐÒÏ×ÅÒËÉ</attr> </object> <object> <attr name="code">011</attr> <attr name="unit">0</attr> <attr name="smallname">0</attr> </object> </objects> </data> </component> --- NEW FILE: taxcode.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>taxcode-ru</name> <category>REFS-ru</category> <version>1.0</version> <description>ëÏÄÙ ÂÀÄÖÅÔÎÏÊ ËÌÁÓÓÉÆÉËÁÃÉÉ çîé òÏÓÓÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> [...2247 lines suppressed...] <attr name="code">5030212</attr> <attr name="fullname">âÅÚ×ÏÚÍÅÚÄÎÙÅ ÐÏÓÔÕÐÌÅÎÉÑ ËÁÐÉÔÁÌØÎÏÇÏ ÈÁÒÁËÔÅÒÁ ÐÏ ÐÒÅÄÐÒÉÎÉÍÁÔÅÌØÓËÏÊ É ÉÎÏÊ ÐÒÉÎÏÓÑÝÅÊ ÄÏÈÏÄ ÄÅÑÔÅÌØÎÏÓÔÉ ÉÚ ÂÀÄÖÅÔÁ ÓÕÂßÅËÔÁ òÏÓÓÉÊÓËÏÊ æÅÄÅÒÁÃÉÉ</attr> <attr name="owner_id" refTo="GBL0101:taxcode">5030210</attr> </object> <object> <attr name="code">5030213</attr> <attr name="fullname">âÅÚ×ÏÚÍÅÚÄÎÙÅ ÐÏÓÔÕÐÌÅÎÉÑ ËÁÐÉÔÁÌØÎÏÇÏ ÈÁÒÁËÔÅÒÁ ÐÏ ÐÒÅÄÐÒÉÎÉÍÁÔÅÌØÓËÏÊ É ÉÎÏÊ ÐÒÉÎÏÓÑÝÅÊ ÄÏÈÏÄ ÄÅÑÔÅÌØÎÏÓÔÉ ÉÚ ÍÅÓÔÎÏÇÏ ÂÀÄÖÅÔÁ</attr> <attr name="owner_id" refTo="GBL0101:taxcode">5030210</attr> </object> <object> <attr name="code">5030220</attr> <attr name="fullname">ðÒÏÞÉÅ ÂÅÚ×ÏÚÍÅÚÄÎÙÅ ÐÏÓÔÕÐÌÅÎÉÑ ËÁÐÉÔÁÌØÎÏÇÏ ÈÁÒÁËÔÅÒÁ ÐÏ ÐÒÅÄÐÒÉÎÉÍÁÔÅÌØÓËÏÊ É ÉÎÏÊ ÐÒÉÎÏÓÑÝÅÊ ÄÏÈÏÄ ÄÅÑÔÅÌØÎÏÓÔÉ</attr> <attr name="owner_id" refTo="GBL0101:taxcode">5030200</attr> </object> </objects> </data> </component> --- NEW FILE: taxtype.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>taxtype-ru</name> <category>REFS/ru</category> <version>1.0</version> <description>ëÏÄÙ ÎÁÌÏÇÏ×ÙÈ ÐÌÁÔÅÖÅÊ çîé òÏÓÓÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> </files> <meta dictionary="GBL01" rules="appendOnly"> <class name="taxtype" logNeed="false" extent="goscomstatinfo" superClass="" essence="unit" uniqueKey="code" attributes="code,unit,smallname" indices="code,unit,smallname" findAttrs="code,unit,smallname" /> <tcolumn name="taxtype" width="2" header="÷ÉÄ ÎÁÌÏÇ.ÐÌÁÔÅÖÁ" footer="" expression="taxtype" /> <tview name="÷ÉÄÙ ÎÁÌÏÇ.ÐÌÁÔÅÖÅÊ" header="÷ÉÄÙ ÎÁÌÏÇ.ÐÌÁÔÅÖÅÊ" class="taxtype" columns="code,unit,smallname" /> </meta> <data> <objects depository="GBL0101" class="taxtype" rules="appendOnly"> <object> <attr name="code">001</attr> <attr name="unit">îó</attr> <attr name="smallname">ÕÐÌÁÔÁ ÎÁÌÏÇÁ/ÓÂÏÒÁ</attr> </object> <object> <attr name="code">002</attr> <attr name="unit">ðã</attr> <attr name="smallname">ÕÐÌÁÔÁ ÐÒÏÃÅÎÔÏ×</attr> </object> <object> <attr name="code">003</attr> <attr name="unit">á÷</attr> <attr name="smallname">ÕÐÌÁÔÁ Á×ÁÎÓÁ/ÐÒÅÄÏÐÌÁÔÁ, × Ô.Þ. ÄÅËÁÄÎÙÅ ÐÌÁÔÅÖÉ</attr> </object> <object> <attr name="code">004</attr> <attr name="unit">ðå</attr> <attr name="smallname">ÕÐÌÁÔÁ ÐÅÎÉ</attr> </object> <object> <attr name="code">005</attr> <attr name="unit">óá</attr> <attr name="smallname">ÎÁÌÏÇÏ×ÙÅ ÓÁÎËÃÉÉ</attr> </object> <object> <attr name="code">006</attr> <attr name="unit">áû</attr> <attr name="smallname">ÁÄÍÉÎÉÓÔÒÁÔÉ×ÎÙÅ ÛÔÒÁÆÙ</attr> </object> <object> <attr name="code">007</attr> <attr name="unit">éû</attr> <attr name="smallname">ÉÎÙÅ ÛÔÒÁÆÙ</attr> </object> <object> <attr name="code">008</attr> <attr name="unit">çð</attr> <attr name="smallname">ÇÏÓÐÏÛÌÉÎÁ</attr> </object> <object> <attr name="code">009</attr> <attr name="unit">0</attr> <attr name="smallname">0</attr> </object> </objects> </data> </component> --- NEW FILE: unit2unit.prg --- /* Copyright (C) 2006 ITK Author : Uri (ur...@it...) License : (GPL) http://www.itk.ru/clipper/license.html */ #define R2D2_AN_VALUES 5 static members := {; {"BEFORE_UPDATE_OBJECT", {|p1,p2,p3,p4,p5| before_update(p1,p2,p3,p4,p5)} },; {"BEFORE_APPEND_OBJECT", {|p1,p2,p3,p4,p5| before_append(p1,p2,p3,p4,p5)} }; } local i,ret := NIL, nmember parameters query_key query_key := alltrim(upper(query_key)) if query_key=="MEMBERS" ret:={} for i=1 to len(members) aadd(ret,members[i][1]) next endif nmember := ascan(members,{|x|x[1]==query_key}) if nmember !=0 ret := members[nMember][2] endif if ret == NIL ret:= "Error query key in sample plugins." endif return ret **************************************** static function before_append(oDep,newData,oldData,p4,p5) make_longcode(oDep,newData,oldData) return .t. **************************************** static function before_update(oDep,newData,oldData,p4,p5) make_longcode(oDep,newData,oldData) return .t. **************************************** static function make_longcode(oDep,obj,old) local obj1,obj2 obj1 := oDep:getValue(obj:unit_in) obj2 := oDep:getValue(obj:unit_out) obj:longcode := obj1:code+obj2:code return .t. --- NEW FILE: unit2unit.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>unit2unit-ru</name> <category>REFS/ru</category> <version>1.0</version> <description>ëÏÜÆÆÉÃÉÅÎÔÙ ÐÅÒÅÓÞÅÔÁ ÅÄÉÎÉà ÉÚÍÅÒÅÎÉÑ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">units.xml</dependence> </requires> <files> <file name="unit2unit.prg" type="text/clip-source">ODB trigger for class unit2unit</file> </files> <meta dictionary="GBL01" rules="appendOnly"> <attribute name="unit_in" type="ref" lenType="rtrim" len="12" dec="0" mask="" defValue="" notNull="false" notEmpty="false" refTo="GBL01:units" /> <attribute name="unit_out" type="ref" lenType="rtrim" len="12" dec="0" mask="" defValue="" notNull="false" notEmpty="false" refTo="GBL01:units" /> <attribute name="quantity" type="number" lenType="alltrim" len="14" dec="5" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="longcode" type="string" lenType="alltrim" len="20" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <index name="unit_in" expression="unit_in"/> <index name="unit_out" expression="unit_out"/> <index name="longcode" expression="longcode"/> <class name="unit2unit" logNeed="false" extent="goscomstatinfo" superClass="" essence="codb_essence(unit_in)+'-/>'+codb_essence(unit_out)+'='+alltrim(str(quantity))" uniqueKey="longcode" attributes="unit_in,unit_out,quantity,longcode" indices="unit_in,unit_out,longcode" /> <plugin name="unit2unit" class="unit2unit" type="Source file" file="unit2unit.prg" function="" /> <tcolumn name="unit_in" width="20" header="åÄéÚÍ" footer="" expr="codb_essence(unit_in)" /> <tcolumn name="unit_out" width="20" header="åÄéÚÍ" footer="" expr="codb_essence(unit_out)" /> <tcolumn name="quantity" width="14" header="ëÏÌ-×Ï" footer="" expr="quantity" /> <tcolumn name="longcode" width="20" header="ëÏÄ" footer="" expr="codb_essence(longcode)" /> <tcolumn name="unit2unit" width="12" header="ðÅÒÅÓÞÅÔ ÅÄ.ÉÚÍ" footer="" expr="unit2unit" /> <tview name="ðÅÒÅÓÞÅÔ ÅÄ.ÉÚÍ" class="unit2unit" columns="unit_in,unit_out,quantity,longcode" /> </meta> <data> <objects depository="GBL0101" class="unit2unit" rules="appendOnly"> <object> <attr name="unit_in" refTo="GBL0101:units">004</attr> <attr name="unit_out" refTo="GBL0101:units">003</attr> <attr name="quantity">10.00000</attr> <attr name="longcode">004003</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">005</attr> <attr name="unit_out" refTo="GBL0101:units">003</attr> <attr name="quantity">100.00000</attr> <attr name="longcode">005003</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">005</attr> <attr name="unit_out" refTo="GBL0101:units">004</attr> <attr name="quantity">10.00000</attr> <attr name="longcode">005004</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">006</attr> <attr name="unit_out" refTo="GBL0101:units">003</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">006003</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">006</attr> <attr name="unit_out" refTo="GBL0101:units">004</attr> <attr name="quantity">100.00000</attr> <attr name="longcode">006004</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">006</attr> <attr name="unit_out" refTo="GBL0101:units">005</attr> <attr name="quantity">10.00000</attr> <attr name="longcode">006005</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">008</attr> <attr name="unit_out" refTo="GBL0101:units">006</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">008006</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">051</attr> <attr name="unit_out" refTo="GBL0101:units">050</attr> <attr name="quantity">100.00000</attr> <attr name="longcode">051050</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">053</attr> <attr name="unit_out" refTo="GBL0101:units">050</attr> <attr name="quantity">10000.00000</attr> <attr name="longcode">053050</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">053</attr> <attr name="unit_out" refTo="GBL0101:units">051</attr> <attr name="quantity">100.00000</attr> <attr name="longcode">053051</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">055</attr> <attr name="unit_out" refTo="GBL0101:units">050</attr> <attr name="quantity">1000000.00000</attr> <attr name="longcode">055050</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">055</attr> <attr name="unit_out" refTo="GBL0101:units">051</attr> <attr name="quantity">10000.00000</attr> <attr name="longcode">055051</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">055</attr> <attr name="unit_out" refTo="GBL0101:units">053</attr> <attr name="quantity">100.00000</attr> <attr name="longcode">055053</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">058</attr> <attr name="unit_out" refTo="GBL0101:units">055</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">058055</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">059</attr> <attr name="unit_out" refTo="GBL0101:units">055</attr> <attr name="quantity">100.00000</attr> <attr name="longcode">059055</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">059</attr> <attr name="unit_out" refTo="GBL0101:units">058</attr> <attr name="quantity">10.00000</attr> <attr name="longcode">059058</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">061</attr> <attr name="unit_out" refTo="GBL0101:units">055</attr> <attr name="quantity">1000000.00000</attr> <attr name="longcode">061055</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">061</attr> <attr name="unit_out" refTo="GBL0101:units">059</attr> <attr name="quantity">10000.00000</attr> <attr name="longcode">061059</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">111</attr> <attr name="unit_out" refTo="GBL0101:units">110</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">111110</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">112</attr> <attr name="unit_out" refTo="GBL0101:units">110</attr> <attr name="quantity">1000000.00000</attr> <attr name="longcode">112110</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">112</attr> <attr name="unit_out" refTo="GBL0101:units">111</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">112111</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">113</attr> <attr name="unit_out" refTo="GBL0101:units">112</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">113112</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">163</attr> <attr name="unit_out" refTo="GBL0101:units">161</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">163161</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">166</attr> <attr name="unit_out" refTo="GBL0101:units">163</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">166163</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">168</attr> <attr name="unit_out" refTo="GBL0101:units">166</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">168166</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">214</attr> <attr name="unit_out" refTo="GBL0101:units">212</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">214212</attr> </object> <object> <attr name="unit_in" refTo="GBL0101:units">215</attr> <attr name="unit_out" refTo="GBL0101:units">214</attr> <attr name="quantity">1000.00000</attr> <attr name="longcode">215214</attr> </object> </objects> </data> </component> --- NEW FILE: units.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>units-ru</name> <category>REFS/ru</category> <version>1.0</version> <description>ëÏÄÙ ÅÄÉÎÉà ÉÚÍÅÒÅÎÉÑ çÏÓëÏÍóÔÁÔÁ òÏÓÓÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> [...3827 lines suppressed...] <attr name="name">íÉÌÌÉÏÎ ÌÉÓÔÏ×-ÏÔÔÉÓËÏ×</attr> <attr name="smallname">íÉÌÌÉÏÎ ÌÉÓÔÏ×-ÏÔÔÉÓËÏ×</attr> <attr name="main">false</attr> <attr name="owner_id" refTo="GBL0101:units">383L1</attr> </object> <object> <attr name="code">979</attr> <attr name="unit">103 ÜËÚ</attr> <attr name="unit_x"></attr> <attr name="name">ôÙÓÑÞÁ ÜËÚÅÍÐÌÑÒÏ×</attr> <attr name="smallname">ôÙÓÑÞÁ ÜËÚÅÍÐÌÑÒÏ×</attr> <attr name="main">false</attr> <attr name="owner_id" refTo="GBL0101:units">383L1</attr> </object> </objects> </data> </component> --- NEW FILE: void.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>refs1-void-ru</name> <category>REFS/ru</category> <version>1.0</version> <description>Initial metadata for Russian refs</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">GBL01.xml</dependence> <dependence type="component">../void.xml</dependence> </requires> <meta dictionary="GBL01" rules="appendOnly"> <tcolumn name="code" width="12" header="ëÏÄ" footer="" expr="code" /> <tcolumn name="unit" width="4" header="åÄéÚÍ" footer="" expr="unit" /> <tcolumn name="name" width="30" header="îÁÉÍÅÎÏ×ÁÎÉÅ" footer="" expr="name" /> <tcolumn name="smallname" width="50" header="îÁÉÍÅÎÏ×ÁÎÉÅ" footer="" expr="smallname" /> </meta> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:51
|
Update of /cvsroot/eas-dev/ocmng/components/ref2 In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ref2 Added Files: ALL.xml GBL02.xml Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">GBL02.xml</dependence> </requires> </component> --- NEW FILE: GBL02.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>GBL02-ref2</name> <category>CORE/DB</category> <version>1.0</version> <description>Initial metadata for enterpsise refs</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <!-- property name="policy">ru.Ru</property --> <requires> <dependence type="component">../CORE/GBL02.xml</dependence> </requires> <meta dictionary="GBL02" rules="appendOnly"> <extent name="VENTinfomation">Internal information of this enterprice</extent> <extent name="GNIinfomation">Information from state department of taxing</extent> </meta> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:51
|
Update of /cvsroot/eas-dev/ocmng/components/ref1/ru_UDM In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ref1/ru_UDM Added Files: ALL.xml okato.1 okato.2 okato.xml Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">okato.xml</dependence> </requires> </component> --- NEW FILE: okato.1 --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>okato</name> <category>goscomstatinfo</category> <version>1.0</version> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> </files> [...13019 lines suppressed...] <attr name="code">94440803000</attr> <attr name="name">ïËÔÑÂÒØÓËÉÊ</attr> <attr name="owner_id" refTo="GBL0101:okato">94000000000</attr> </object> <object> <attr name="code">94440803001</attr> <attr name="name">Ð ïËÔÑÂÒØÓËÉÊ</attr> <attr name="owner_id" refTo="GBL0101:okato">94440803000</attr> </object> <object> <attr name="code">94440803002</attr> <attr name="name">ÓÔ õÖÕÉÈÁ</attr> <attr name="owner_id" refTo="GBL0101:okato">94440803000</attr> </object> </objects> </data> </component> --- NEW FILE: okato.2 --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>okato</name> <category>goscomstatinfo</category> <version>1.0</version> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> </files> <meta dictionary="GBL01" rules="appendOnly"> <attribute name="code" type="string" lenType="alltrim" len="12" dec="0" mask="" defValue="*" notNull="false" notEmpty="false" /> <attribute name="name" type="string" lenType="alltrim" len="30" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="owner_id" type="ref" lenType="rtrim" len="12" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <index name="code" expression="code"/> <index name="name" expression="name"/> <index name="owner_id" expression="owner_id"/> <class name="okato" logNeed="false" extent="goscomstatinfo" superClass="" essence="code+':'+name" uniqueKey="code" attributes="code,name,owner_id" indices="code,name,owner_id" findAttrs="code,name" /> <tcolumn name="code" width="12" header="ëÏÄ" footer="" expression="code" /> <tcolumn name="name" width="30" header="îÁÉÍÅÎÏ×ÁÎÉÅ" footer="" expression="name" /> <tcolumn name="okato" width="12" header="ïëáôï" footer="" expression="okato" /> <tview name="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" header="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" class="okato" columns="code,name" /> <tview name="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" header="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" class="okato" columns="code,name" /> </meta> <data> <objects depository="GBL0101" class="okato" rules="appendOnly"> <object> <attr name="code">01000000000</attr> <attr name="name">áÌÔÁÊÓËÉÊ ËÒÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">03000000000</attr> <attr name="name">ëÒÁÓÎÏÄÁÒÓËÉÊ ËÒÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">04000000000</attr> <attr name="name">ëÒÁÓÎÏÑÒÓËÉÊ ËÒÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">05000000000</attr> <attr name="name">ðÒÉÍÏÒÓËÉÊ ËÒÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">07000000000</attr> <attr name="name">óÔÁ×ÒÏÐÏÌØÓËÉÊ ËÒÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">08000000000</attr> <attr name="name">èÁÂÁÒÏ×ÓËÉÊ ËÒÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">10000000000</attr> <attr name="name">áÍÕÒÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">11000000000</attr> <attr name="name">áÒÈÁÎÇÅÌØÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">12000000000</attr> <attr name="name">áÓÔÒÁÈÁÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">14000000000</attr> <attr name="name">âÅÌÇÏÒÏÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">15000000000</attr> <attr name="name">âÒÑÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">17000000000</attr> <attr name="name">÷ÌÁÄÉÍÉÒÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">18000000000</attr> <attr name="name">÷ÏÌÇÏÇÒÁÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">19000000000</attr> <attr name="name">÷ÏÌÏÇÏÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">20000000000</attr> <attr name="name">÷ÏÒÏÎÅÖÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">22000000000</attr> <attr name="name">îÉÖÅÇÏÒÏÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">24000000000</attr> <attr name="name">é×ÁÎÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">25000000000</attr> <attr name="name">éÒËÕÔÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">26000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ éÎÇÕÛÅÔÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">27000000000</attr> <attr name="name">ëÁÌÉÎÉÎÇÒÁÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">28000000000</attr> <attr name="name">ô×ÅÒÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">29000000000</attr> <attr name="name">ëÁÌÕÖÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">30000000000</attr> <attr name="name">ëÁÍÞÁÔÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">32000000000</attr> <attr name="name">ëÅÍÅÒÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">33000000000</attr> <attr name="name">ëÉÒÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">34000000000</attr> <attr name="name">ëÏÓÔÒÏÍÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">36000000000</attr> <attr name="name">óÁÍÁÒÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">37000000000</attr> <attr name="name">ëÕÒÇÁÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">38000000000</attr> <attr name="name">ëÕÒÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">41000000000</attr> <attr name="name">ìÅÎÉÎÇÒÁÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">42000000000</attr> <attr name="name">ìÉÐÅÃËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">44000000000</attr> <attr name="name">íÁÇÁÄÁÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">46000000000</attr> <attr name="name">íÏÓËÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">47000000000</attr> <attr name="name">íÕÒÍÁÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">49000000000</attr> <attr name="name">îÏ×ÇÏÒÏÄÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">50000000000</attr> <attr name="name">îÏ×ÏÓÉÂÉÒÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">52000000000</attr> <attr name="name">ïÍÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">53000000000</attr> <attr name="name">ïÒÅÎÂÕÒÇÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">54000000000</attr> <attr name="name">ïÒÌÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">56000000000</attr> <attr name="name">ðÅÎÚÅÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">57000000000</attr> <attr name="name">ðÅÒÍÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">58000000000</attr> <attr name="name">ðÓËÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">60000000000</attr> <attr name="name">òÏÓÔÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">61000000000</attr> <attr name="name">òÑÚÁÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">63000000000</attr> <attr name="name">óÁÒÁÔÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">64000000000</attr> <attr name="name">óÁÈÁÌÉÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">65000000000</attr> <attr name="name">ó×ÅÒÄÌÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">66000000000</attr> <attr name="name">óÍÏÌÅÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">68000000000</attr> <attr name="name">ôÁÍÂÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">69000000000</attr> <attr name="name">ôÏÍÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">70000000000</attr> <attr name="name">ôÕÌØÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">71000000000</attr> <attr name="name">ôÀÍÅÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">73000000000</attr> <attr name="name">õÌØÑÎÏ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">75000000000</attr> <attr name="name">þÅÌÑÂÉÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">76000000000</attr> <attr name="name">þÉÔÉÎÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">77000000000</attr> <attr name="name">þÕËÏÔÓËÉÊ Á×ÔÏÎÏÍÎÙÊ ÏËÒÕÇ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">78000000000</attr> <attr name="name">ñÒÏÓÌÁ×ÓËÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">79000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ áÄÙÇÅÑ (áÄÙÇÅÑ)</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">80000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ âÁÛËÏÒÔÏÓÔÁÎ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">81000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ âÕÒÑÔÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">82000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ äÁÇÅÓÔÁÎ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">83000000000</attr> <attr name="name">ëÁÂÁÒÄÉÎÏ-âÁÌËÁÒÓËÁÑ òÅÓÐÕÂÌÉËÁ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">84000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ áÌÔÁÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">85000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ ëÁÌÍÙËÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">86000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ ëÁÒÅÌÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">87000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ ëÏÍÉ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">88000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ íÁÒÉÊ üÌ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">89000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ íÏÒÄÏ×ÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">90000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ óÅ×ÅÒÎÁÑ ïÓÅÔÉÑ-áÌÁÎÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">91000000000</attr> <attr name="name">ëÁÒÁÞÁÅ×Ï-þÅÒËÅÓÓËÁÑ òÅÓÐÕÂÌÉËÁ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">92000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ ôÁÔÁÒÓÔÁÎ (ôÁÔÁÒÓÔÁÎ)</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">93000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ ôÙ×Á</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">94000000000</attr> <attr name="name">õÄÍÕÒÔÓËÁÑ òÅÓÐÕÂÌÉËÁ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">95000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ èÁËÁÓÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">96000000000</attr> <attr name="name">þÅÞÅÎÓËÁÑ òÅÓÐÕÂÌÉËÁ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">97000000000</attr> <attr name="name">þÕ×ÁÛÓËÁÑ òÅÓÐÕÂÌÉËÁ - þÕ×ÁÛÉÑ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">98000000000</attr> <attr name="name">òÅÓÐÕÂÌÉËÁ óÁÈÁ (ñËÕÔÉÑ)</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">99000000000</attr> <attr name="name">å×ÒÅÊÓËÁÑ Á×ÔÏÎÏÍÎÁÑ ÏÂÌÁÓÔØ</attr> <attr name="owner_id"></attr> </object> </objects> </data> </component> --- NEW FILE: okato.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>okato-ru_UDM</name> <category>REFS/ru_UDM</category> <version>1.0</version> <description>ëÏÄÙ ÎÁÓÅÌÅÎÎÙÈ ÐÕÎËÔÏ× õÄÍÕÒÔÉÉ</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.UDM</property> <requires> <dependence type="component">../ru/void.xml</dependence> </requires> <files> [...12596 lines suppressed...] <attr name="code">440803000</attr> <attr name="name">ïËÔÑÂÒØÓËÉÊ</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">440803001</attr> <attr name="name">Ð ïËÔÑÂÒØÓËÉÊ</attr> <attr name="owner_id" refTo="GBL0101:okato">440803000</attr> </object> <object> <attr name="code">440803002</attr> <attr name="name">ÓÔ õÖÕÉÈÁ</attr> <attr name="owner_id" refTo="GBL0101:okato">440803000</attr> </object> </objects> </data> </component> |
Update of /cvsroot/eas-dev/ocmng/components/ocmng In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ocmng Added Files: ALL.xml ETC01.xml author.xml category.xml component.xml dependence.xml vendor.xml void.xml Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ETC01.xml</dependence> <dependence type="component">void.xml</dependence> <dependence type="component">category.xml</dependence> <dependence type="component">vendor.xml</dependence> <dependence type="component">author.xml</dependence> <dependence type="component">component.xml</dependence> <dependence type="component">dependence.xml</dependence> </requires> </component> --- NEW FILE: ETC01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ETC01-ocmng</name> <category>CORE/DB</category> <version>1.0</version> <description>ETC01 initial metadata for component manager</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">../CORE/ETC01.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <extent name="component">Component data</extent> </meta> </component> --- NEW FILE: author.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ocmng_author</name> <category>CORE/mng</category> <version>0.2</version> <description>Class author for component manager</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">vendor.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="author_name" type="string" lenType="alltrim" len="50" /> <attribute name="mng_vendor" type="ref" lenType="ignore" len="12" refTo="ETC01:mng_vendor" /> <class name="mng_author" extent="component" essence="code" uniqueKey="code" attributes="code,author_name,email,www,mng_vendor" indices="code" /> </meta> <data> <objects depository="ETC0101" class="mng_author" rules="appendOnly"> <object> <attr name="code">Uri</attr> <attr name="author_name">Uri Khnykin (àÒÉÊ èÎÙËÉÎ) </attr> <attr name="email">ur...@it...</attr> <attr name="www">http://www.itk.ru</attr> <attr name="mng_vendor" refto="ETC0101:mng_vendor">ITK</attr> </object> <object> <attr name="code">Skull</attr> <attr name="author_name">Andrew Cherepanoff (áÎÄÒÅÊ þÅÒÅÐÁÎÏ×) </attr> <attr name="email">sib...@ma...</attr> <attr name="www">http://eas.lrn.ru</attr> <attr name="mng_vendor" refto="ETC0101:mng_vendor">EAS</attr> </object> <object> <attr name="code">Kuli</attr> <attr name="author_name">Andrew Kulikoff (áÎÄÒÅÊ ëÕÌÉËÏ×) </attr> <attr name="email">ku...@it...</attr> <attr name="www">http://www.itk.ru</attr> <attr name="mng_vendor" refto="ETC0101:mng_vendor">ITK</attr> </object> </objects> </data> </component> --- NEW FILE: category.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ocmng_category</name> <category>CORE/mng</category> <version>0.2</version> <description>Class category for component manager</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">void.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="category_name" type="string" lenType="alltrim" len="25" /> <attribute name="mng_category" type="ref" lenType="ignore" len="12" refTo="ETC01:mng_category" /> <index name="category_name" expression="category_name"/> <index name="mng_category" expression="mng_category"/> <class name="mng_category" extent="component" essence="category_name" uniqueKey="category_name" attributes="category_name,mng_category,description" indices="category_name,mng_category" /> </meta> <data> <objects depository="ETC0101" class="mng_category" rules="appendOnly"> <object> <attr name="category_name">CORE</attr> <attr name="description">Core (kernel) components</attr> </object> <object> <attr name="category_name">test</attr> <attr name="description">Any test components</attr> </object> <object> <attr name="category_name">CORE/DB</attr> <attr name="description">Database core (kernel) components</attr> <attr name="mng_category" refto="ETC0101:mng_category">CORE</attr> </object> <object> <attr name="category_name">CORE/mng</attr> <attr name="description">Component manager (OCMNG) data</attr> <attr name="mng_category" refto="ETC0101:mng_category">CORE</attr> </object> <object> <attr name="category_name">CORE/configs</attr> <attr name="description">Configs data</attr> <attr name="mng_category" refto="ETC0101:mng_category">CORE</attr> </object> <object> <attr name="category_name">REFS</attr> <attr name="description">Information components</attr> </object> <object> <attr name="category_name">REFS/ru</attr> <attr name="description">Information components for Russian</attr> <attr name="mng_category" refto="ETC0101:mng_category">REFS</attr> </object> </objects> </data> </component> --- NEW FILE: component.xml --- <?xml version="1.0" encoding="koi8-r" standalone="no" ?> <component> <name>ocmng_component</name> <category>CORE/mng</category> <version>0.2</version> <description>MAIN component for component management</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">void.xml</dependence> <dependence type="component">author.xml</dependence> <dependence type="component">category.xml</dependence> </requires> <meta dictionary="ETC01"> <!-- mng_component --> <attribute name="component_name" type="string" len="50" lenType="rtrim" notNull="yes" notEmpty="yes" /> <attribute name="documentation" type="text" lenType="alltrim" /> <attribute name="dependence" type="array" lenType="ignore" /> <attribute name="definition" type="text" lenType="alltrim" /> <attribute name="installed" type="array" lenType="ignore" /> <attribute name="enabled" type="logical" lenType="ignore" /> <attribute name="mng_author" type="ref" lenType="ignore" len="12" refTo="ETC01:mng_author" /> <attribute name="component_body" type="any" lenType="ignore" /> <index name="component_name" expression="component_name"/> <class name="mng_component" extent="component" essence="component_name" uniqueKey="component_name" attributes="component_name,version,mng_category, mng_author, license, created, modified, description,documentation, dependence,installed,enabled, component_body" indices="component_name" mainIdx="component_name" findAttrs="component_name" /> </meta> </component> --- NEW FILE: dependence.xml --- <?xml version="1.0" encoding="koi8-r" standalone="no" ?> <component> <name>ocmng_dependence</name> <category>CORE/mng</category> <version>0.2</version> <description>Class dependence for component manager</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-19</modified> <author>Uri</author> <requires> <dependence type="component">void.xml</dependence> <dependence type="component">component.xml</dependence> </requires> <meta dictionary="ETC01"> <attribute name="type" type="string" len="20" lenType="alltrim" /> <attribute name="cdata" type="string" len="50" lenType="alltrim" /> <attribute name="mng_require" type="ref" lenType="ignore" refTo="" /> <attribute name="mng_component" type="ref" lenType="ignore" refTo="ETC01:mng_component" /> <index name="mng_component" expression="mng_component"/> <index name="mng_require" expression="mng_require"/> <class name="mng_dependence" extent="component" essence="" uniqueKey="" attributes="cdata,mng_component,type,mng_require,version" indices="mng_component,mng_require" /> </meta> </component> --- NEW FILE: vendor.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ocmng_vendor</name> <category>CORE/mng</category> <version>0.2</version> <description>Class vendor for component manager</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">void.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="vendor_name" type="string" lenType="alltrim" len="50" /> <class name="mng_vendor" extent="component" essence="code" uniqueKey="code" attributes="code,vendor_name,email,www" indices="code" /> </meta> <data> <objects depository="ETC0101" class="mng_vendor" rules="appendOnly"> <object> <attr name="code">ITK</attr> <attr name="vendor_name">ITK ltd. (ïïï éôë)</attr> <attr name="email">ur...@it...</attr> <attr name="www">http://www.itk.ru</attr> </object> <object> <attr name="code">EAS</attr> <attr name="vendor_name">EAS team</attr> <attr name="email">sib...@ma...</attr> <attr name="www">http://eas.lrn.ru</attr> </object> </objects> </data> </component> --- NEW FILE: void.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ocmng_void</name> <category>CORE/mng</category> <version>0.2</version> <description>Initial data for component manager</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">ETC01.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="code" type="string" lenType="alltrim" len="10" /> <index name="code" expression="code"/> <attribute name="email" type="string" lenType="alltrim" len="100" /> <attribute name="www" type="string" lenType="alltrim" len="100" /> <attribute name="description" type="text" lenType="ignore" len="20" /> <attribute name="version" type="string" len="20" lenType="alltrim" /> <attribute name="license" type="string" len="20" lenType="alltrim" /> <attribute name="created" type="date" len="10" lenType="alltrim" /> <attribute name="modified" type="date" len="10" lenType="alltrim" /> <class name="mng_category" extent="component" /> </meta> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:51
|
Update of /cvsroot/eas-dev/ocmng/components/ref1 In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ref1 Added Files: ALL.xml README _a1 okato.2 void.xml Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ru/ALL.xml</dependence> <dependence type="component">ru_UDM/ALL.xml</dependence> <dependence type="component">void.xml</dependence> </requires> <files> <file name="README" type="text/text">Readme</file> </files> </component> --- NEW FILE: README --- (This appears to be a binary file; contents omitted.) --- NEW FILE: _a1 --- taxcode taxcause taxtype units unit2unit estate_type estate_form t_group commodity_word region document_type account_type investment_type employee_type appointment_type pasport_type bank nation citizen_type language lang_skill marital_stat relationship war_veteran military_duty military_rank vacation_type dismiss_type education_type cash_document_type equipment_type taxperiod territorial_type wordbase taxcode2 taxcode_gni taxcode_a taxcode_g taxcode_pg taxcode_pr taxcode_ek taxcode_b --- NEW FILE: okato.2 --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>okato</name> <category>goscomstatinfo</category> <version>1.0</version> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-29</modified> <author>Uri</author> <property name="policy">ru.Ru</property> <requires> <dependence type="component">void.xml</dependence> </requires> <files> </files> <meta dictionary="GBL01" rules="appendOnly"> <attribute name="code" type="string" lenType="alltrim" len="12" dec="0" mask="" defValue="*" notNull="false" notEmpty="false" /> <attribute name="name" type="string" lenType="alltrim" len="30" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="owner_id" type="ref" lenType="rtrim" len="12" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <index name="code" expression="code"/> <index name="name" expression="name"/> <index name="owner_id" expression="owner_id"/> <class name="okato" logNeed="false" extent="goscomstatinfo" superClass="" essence="code+':'+name" uniqueKey="code" attributes="code,name,owner_id" indices="code,name,owner_id" findAttrs="code,name" /> <tcolumn name="code" width="12" header="ëÏÄ" footer="" expression="code" /> <tcolumn name="name" width="30" header="îÁÉÍÅÎÏ×ÁÎÉÅ" footer="" expression="name" /> <tcolumn name="okato" width="12" header="ïëáôï" footer="" expression="okato" /> <tview name="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" header="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" class="okato" columns="code,name" /> <tview name="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" header="ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ" class="okato" columns="code,name" /> </meta> <data> <objects depository="GBL0101" class="okato" rules="appendOnly"> </objects> </data> </component> --- NEW FILE: void.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>refs1-void</name> <category>REFS/ru</category> <version>1.0</version> <description>Initial metadata for refs1</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">../CORE/GBL01.xml</dependence> </requires> <meta dictionary="GBL01" rules="appendOnly"> <attribute name="code" type="string" lenType="alltrim" len="12" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="unit" type="string" lenType="rtrim" len="7" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="name" type="string" lenType="alltrim" len="30" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="smallname" type="string" lenType="rtrim" len="50" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <attribute name="owner_id" type="ref" lenType="rtrim" len="12" dec="0" /> <attribute name="fullname" type="string" lenType="rtrim" len="250" dec="0" mask="" defValue="" notNull="false" notEmpty="false" /> <index name="code" expression="code"/> <index name="unit" expression="unit"/> <index name="name" expression="name"/> <index name="smallname" expression="smallname"/> <index name="owner_id" expression="owner_id"/> <index name="fullname" expression="fullname"/> </meta> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:51
|
Update of /cvsroot/eas-dev/ocmng/components In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components Added Files: ALL.xml README component.dtd Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">CORE/ALL.xml</dependence> <dependence type="component">ocmng/ALL.xml</dependence> <dependence type="component">r2d2/ALL.xml</dependence> <dependence type="component">ref1/ALL.xml</dependence> <dependence type="component">ref2/ALL.xml</dependence> <dependence type="component">employee/ALL.xml</dependence> <dependence type="component">equipment/ALL.xml</dependence> <dependence type="component">acc-kernel/ALL.xml</dependence> <dependence type="component">acc-pdoc/ALL.xml</dependence> </requires> <files> <file name="README" type="text/text">Readme</file> </files> </component> --- NEW FILE: README --- (This appears to be a binary file; contents omitted.) --- NEW FILE: component.dtd --- <!-- DTD for CLIP component format Version: 1.0rc Date: 06 Apr 2006 Author: Andrey Cherepanov <sib...@ma...> Last version: http://eas.lrn.ru/dtd/component.dtd For check component XML type: xmllint -noout -dtdvalid component.dtd <component.xml> (replace '-' by double '-') --> <!-- Root tag --> <!ELEMENT component ( name, category*, version, description?, license?, created?, modified?, author*, property*, requires?, files?, dictionary?, meta*, data*, install?, uninstall?, locale* )* > <!-- Component name. Required. --> <!ELEMENT name (#PCDATA)> <!-- Component category (path delimited by '/': Base/Directories/Finance). Optional. --> <!ELEMENT category (#PCDATA)> <!-- Component brief description. Optional. --> <!ELEMENT description (#PCDATA)> <!-- Component version. Required. --> <!ELEMENT version (#PCDATA)> <!-- Component license. Optional. --> <!ELEMENT license (#PCDATA)> <!-- Component creation date (yyyy-mm-dd). Optional. --> <!ELEMENT created (#PCDATA)> <!-- Component modification date (yyyy-mm-dd). Optional. --> <!ELEMENT modified (#PCDATA)> <!-- Component author. Optional. --> <!ELEMENT author (#PCDATA|name|email|copyright)*> <!ELEMENT email (#PCDATA)> <!ELEMENT copyright (#PCDATA)> <!-- Custom property. Optional. --> <!ELEMENT property (#PCDATA)> <!ATTLIST property name CDATA #REQUIRED > <!-- Component requirements. Optional. --> <!ELEMENT requires (dependence*)> <!ELEMENT dependence (#PCDATA)> <!ATTLIST dependence type CDATA #REQUIRED version CDATA #IMPLIED > <!ELEMENT function (#PCDATA)> <!-- Component files. Optional. --> <!ELEMENT files (file*)> <!ELEMENT file (#PCDATA)> <!ATTLIST file name CDATA #REQUIRED form CDATA #IMPLIED type CDATA #IMPLIED > <!-- Dictionary --> <!ELEMENT dictionary ( id, name, type?, path, dbUser? )> <!ELEMENT id (#PCDATA)> <!ELEMENT type (#PCDATA)> <!ELEMENT path (#PCDATA)> <!ELEMENT dbUser (#PCDATA)> <!-- Database structure and data. Optional. --> <!ELEMENT meta ( depository| extent| attribute| index| class| counter| tcolumn| tview| report| plugin| user| group)*> <!ATTLIST meta dictionary CDATA #REQUIRED > <!-- Depository --> <!ELEMENT depository (#PCDATA)> <!ATTLIST depository id ID #IMPLIED name CDATA #REQUIRED number CDATA #IMPLIED memoSize CDATA #IMPLIED > <!-- Extent --> <!ELEMENT extent (#PCDATA)> <!ATTLIST extent id ID #IMPLIED name CDATA #REQUIRED > <!-- Attribute --> <!ELEMENT attribute (#PCDATA)> <!ATTLIST attribute id ID #IMPLIED name CDATA #REQUIRED type (string|number|date|logical|text|object|any|ref|classref|array|code) #REQUIRED len CDATA #IMPLIED dec CDATA #IMPLIED lenType (ignore|rtrim|alltrim|fill) #IMPLIED refTo CDATA #IMPLIED defValue CDATA #IMPLIED counter CDATA #IMPLIED notNull (yes|no|true|false) #IMPLIED notEmpty (yes|no|true|false) #IMPLIED mask CDATA #IMPLIED source CDATA #IMPLIED code CDATA #IMPLIED count CDATA #IMPLIED > <!-- Index --> <!ELEMENT index (#PCDATA)> <!ATTLIST index id ID #IMPLIED name CDATA #REQUIRED expression CDATA #REQUIRED > <!-- Class --> <!ELEMENT class (#PCDATA|object)*> <!ATTLIST class id ID #IMPLIED name CDATA #REQUIRED superClass CDATA #IMPLIED extent CDATA #IMPLIED essence CDATA #IMPLIED expression CDATA #IMPLIED uniqueKey CDATA #IMPLIED logNeed (yes|no|true|false) #IMPLIED hasCounters (yes|no|true|false) #IMPLIED attributes CDATA #IMPLIED indices CDATA #IMPLIED > <!-- Counter --> <!ELEMENT counter (#PCDATA)> <!ATTLIST counter id ID #IMPLIED name CDATA #REQUIRED value CDATA #REQUIRED type CDATA #IMPLIED depository CDATA #IMPLIED maxValue CDATA #IMPLIED lastValue CDATA #IMPLIED > <!-- TColumn --> <!ELEMENT tcolumn (#PCDATA)> <!ATTLIST tcolumn id ID #IMPLIED name CDATA #REQUIRED header CDATA #IMPLIED footer CDATA #IMPLIED width CDATA #IMPLIED expression CDATA #IMPLIED depend CDATA #IMPLIED ref CDATA #IMPLIED > <!-- TView --> <!ELEMENT tview (#PCDATA)> <!ATTLIST tview id ID #IMPLIED name CDATA #REQUIRED class CDATA #IMPLIED extent CDATA #IMPLIED group CDATA #IMPLIED user CDATA #IMPLIED header CDATA #IMPLIED footer CDATA #IMPLIED columns CDATA #IMPLIED > <!-- Report--> <!ELEMENT report (#PCDATA)> <!ATTLIST report id ID #IMPLIED name CDATA #REQUIRED type CDATA #IMPLIED file CDATA #IMPLIED class CDATA #IMPLIED extent CDATA #IMPLIED group CDATA #IMPLIED user CDATA #IMPLIED > <!-- Plugin --> <!ELEMENT plugin (#PCDATA)> <!ATTLIST plugin id ID #IMPLIED name CDATA #REQUIRED class CDATA #IMPLIED type CDATA #IMPLIED file CDATA #IMPLIED function CDATA #IMPLIED > <!-- User --> <!ELEMENT user (#PCDATA)> <!ATTLIST user id ID #IMPLIED name CDATA #REQUIRED group CDATA #IMPLIED access CDATA #IMPLIED > <!-- Group --> <!ELEMENT group (#PCDATA)> <!ATTLIST group id ID #IMPLIED name CDATA #REQUIRED > <!-- Default data --> <!ELEMENT data ( objects* )> <!ELEMENT objects (object+)> <!ATTLIST objects class CDATA #REQUIRED depository CDATA #REQUIRED > <!-- Object contents --> <!ELEMENT object (attr+)> <!ATTLIST object id ID #IMPLIED > <!ELEMENT attr (#PCDATA|value)*> <!ATTLIST attr name CDATA #REQUIRED refTo CDATA #IMPLIED > <!ELEMENT value (#PCDATA|value)*> <!ATTLIST value type (string|number|date|logical|text|object|any|ref|classref|array|code) #REQUIRED refTo CDATA #IMPLIED meta CDATA #IMPLIED > <!-- Install actions. Optional. --> <!ELEMENT install (#PCDATA)> <!-- Uninstall actions. Optional. --> <!ELEMENT uninstall (#PCDATA)> <!-- Component l10n. Optional. --> <!ELEMENT locale (name?, description?, message*)> <!ATTLIST locale lang CDATA #REQUIRED > <!ELEMENT message (#PCDATA)> <!ATTLIST message id CDATA #REQUIRED > |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:50
|
Update of /cvsroot/eas-dev/ocmng/components/configs In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/configs Added Files: ocmng.xml Log Message: Add files --- NEW FILE: ocmng.xml --- <?xml version="1.0" encoding="koi8-r" standalone="no" ?> <component> <name>config-ocmng</name> <category>CORE/configs</category> <version>0.1</version> <description>Components manager</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-05-19</modified> <author>Uri</author> <requires> <dependence type="component">../ocmng/ALL.xml</dependence> </requires> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:50
|
Update of /cvsroot/eas-dev/ocmng/components/r2d2 In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/r2d2 Added Files: ALL.xml ETC01.xml acc_db.xml connection.xml void.xml Log Message: Add files --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ETC01.xml</dependence> <dependence type="component">acc_db.xml</dependence> <dependence type="component">connection.xml</dependence> <dependence type="component">void.xml</dependence> </requires> </component> --- NEW FILE: ETC01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ETC01-r2d2</name> <category>CORE/DB</category> <version>1.0</version> <description>ETC01 kernel metadata for r2d2</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">../CORE/ETC01.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <depository name="aquarum" memoSize="32" /> <extent name="connections">Connection statistic</extent> </meta> </component> --- NEW FILE: acc_db.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>r2d2-acc_db</name> <category>REFS/r2d2</category> <version>1.0</version> <description>Class for list of r2d2 accounting DB</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">void.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="acc_enterprise" type="string" lenType="alltrim" len="25" dec="0" /> <attribute name="acc_period" type="string" lenType="alltrim" len="10" dec="0" /> <index name="acc_enterprise" expression="acc_enterprise"/> <index name="acc_period" expression="acc_period"/> <class name="acc_db" logNeed="false" extent="connections" essence="code" uniqueKey="code" attributes="code,acc_enterprise,acc_period,owner_id,acc00,acc01,beg_date,end_date" indices="code,acc_enterprise,acc_period,owner_id,acc00,acc01" /> <tcolumn name="acc_db" width="20" header="ðÒÅÄÐÒÉÑÔÉÅ-ÐÅÒÉÏÄ" footer="" expression="acc_db" /> </meta> <data> <objects depository="ETC0101" class="acc_db" rules="appendOnly"> <object> <attr name="code">001</attr> <attr name="acc_enterprise">Office1</attr> <attr name="acc_period">2006</attr> <attr name="acc00">ACC0001</attr> <attr name="acc01">ACC0101</attr> <attr name="beg_date">20051231</attr> <attr name="end_date">20061231</attr> </object> </objects> </data> </component> --- NEW FILE: connection.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>r2d2-connection</name> <category>REFS/r2d2</category> <version>1.0</version> <description>Class for r2d2 user connections</description> <license>GNU/GPL</license> <created>2006-05-26</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">void.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="user" type="string" lenType="alltrim" len="10" dec="0" /> <attribute name="connect_id" type="string" lenType="alltrim" len="14" dec="0" /> <attribute name="date" type="date" lenType="rtrim" len="10" dec="0" /> <attribute name="passwd" type="string" lenType="alltrim" len="10" dec="0" /> <attribute name="user_data" type="array" lenType="rtrim" len="0" dec="0" /> <index name="user" expression="user"/> <index name="connect_id" expression="connect_id"/> <class name="connection" logNeed="false" extent="connections" essence="user+":"+ctod(date)" attributes="user,connect_id,date,passwd,beg_date,end_date,acc00,acc01,user_data" indices="user,connect_id" /> </meta> </component> --- NEW FILE: void.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>r2d2-void</name> <category>REFS/r2d2</category> <version>1.0</version> <description>Initial metadata for r2d2</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">ETC01.xml</dependence> </requires> <meta dictionary="ETC01" rules="appendOnly"> <attribute name="code" type="string" lenType="alltrim" len="7" dec="0" /> <attribute name="owner_id" type="ref" lenType="alltrim" /> <attribute name="acc00" type="string" lenType="alltrim" len="7" dec="0" /> <attribute name="acc01" type="string" lenType="alltrim" len="7" dec="0" /> <attribute name="beg_date" type="date" lenType="rtrim" len="10" dec="0" /> <attribute name="end_date" type="date" lenType="rtrim" len="10" dec="0" /> <index name="code" expression="code"/> <index name="owner_id" expression="owner_id"/> <index name="acc00" expression="acc00"/> <index name="acc01" expression="acc01"/> </meta> <data> <objects depository="ETC0101" class="mng_category" rules="appendOnly"> <object> <attr name="category_name">REFS/r2d2</attr> <attr name="description">Information components for r2d2</attr> <attr name="mng_category" refto="ETC0101:mng_category">REFS</attr> </object> </objects> </data> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:50
|
Update of /cvsroot/eas-dev/ocmng/components/ocmng/forms In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/ocmng/forms Added Files: create.xpm delete.xpm edit.xpm form.prg form.xml Log Message: Add files --- NEW FILE: create.xpm --- /* XPM */ static char * item_new_xpm[] = { "16 16 31 1", " c None", ". c #6238B6", "+ c #F5E15E", "@ c #183196", "# c #A29EF6", "$ c #C0C000", "% c #152C89", "& c #173093", "* c #000000", "= c #5933A6", "- c #FFFF85", "; c #968200", "> c #FFFFFF", ", c #E1E1E1", "' c #CECECE", ") c #FFFFC0", "! c #FFFF00", "~ c #777777", "{ c #5B5B5B", "] c #C1C1C1", "^ c #010101", "/ c #CDCDCD", "( c #6D6D6D", "_ c #3F3F3F", ": c #E9E9E9", "< c #4A4A4A", "[ c #5F5F5F", "} c #5C5C5C", "| c #838383", "1 c #FAFAFA", "2 c #F9F9F9", " ", " ", " ", " ........... ", " .+@##@@$%&$**$ ", " .......=-;-;-* ", " .>>>>>,';)!);* ", " .>~~~>{$-!>!-$ ", " .>>>>>,];)!);* ", " .>^^^^^*-;-;-* ", " .>^>>>>$/($_*$ ", " ..^>~~~:<[}|* ", " ^>>>>1:12:* ", " ^^^^^^^^^^^ ", " ", " "}; --- NEW FILE: delete.xpm --- /* XPM */ static char * item_delete_xpm[] = { "16 16 25 1", " c None", ". c #6238B6", "+ c #F5E15E", "@ c #183196", "# c #A29EF6", "$ c #382069", "% c #C91B33", "& c #43267D", "* c #6036B2", "= c #FFFFFF", "- c #3C2270", "; c #777777", "> c #525252", ", c #000000", "' c #FAFAFA", ") c #9D9D9D", "! c #010101", "~ c #3F3F3F", "{ c #E9E9E9", "] c #202020", "^ c #303030", "/ c #B1B1B1", "( c #CDCDCD", "_ c #838383", ": c #F4F4F4", " ", " ", " ", " ........... ", " .+@##@@@@@. ", " .......$%&* % ", " .======%%%-%%% ", " .=;;;=;>%%%%%, ", " .======')%%%,, ", " .=!!!!!!%%%%% ", " .=!====%%%~%%% ", " ..!=;;;{%]^/%, ", " !===='(_(:, ", " !!!!!!,,,!, ", " ", " "}; --- NEW FILE: edit.xpm --- /* XPM */ static char * edit_xpm[] = { "16 16 19 1", " c None", ". c #6238B6", "+ c #7F4978", "@ c #F5E15E", "# c #183196", "$ c #A29EF6", "% c #FFA1F3", "& c #FFFFFF", "* c #000000", "= c #777777", "- c #010101", "; c #ADADAD", "> c #FBFBFB", ", c #010000", "' c #707070", ") c #494949", "! c #5B5B5B", "~ c #545454", "{ c #F9F9F9", " ", " ", " ", " ........... + ", " .@#$$#####.+%+ ", " ..........+%+%+", " .&&&&&&&&+%+%+*", " .&===&==+%+%+* ", " .&&&&&&+++%+* ", " .&----*;>++** ", " .&-&&&;,'+);* ", " ..-&==,'!~'&* ", " -&&&&&&&&{- ", " ----****--- ", " ", " "}; --- NEW FILE: form.prg --- /*-------------------------------------------------------------------------*/ /* E/AS Component (part of E/AS project) */ /* */ /* Copyright (C) 2005 by E/AS Software Foundation */ /* Author: Andrey Cherepanov <sk...@ea...> */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as */ /* published by the Free Software Foundation; either version 2 of the */ /* License, or (at your option) any later version. */ /*-------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------/ / / / Name: UI form center / / System name: form / / Description: Get UI form for object / / Version: 0.1 / / Author: Andrey Cherepanov <sk...@ea...> / / / / Available commands: / / GET Get form content / / <name> form name / / [<type>] type of form (optional) / / object get the XFL form for edit object content / / list get the XFL form with list of objects / / select get the XFL form for select object from list / / print_object get the XPL card for object / / print_list get the XPL form for print object list / / / / GETVIEW Get object with view (object list) / / <name> view name / / / /--------------------------------------------------------------------------*/ /** Component: form */ #define DEFAULT_TITLE_MAIN_WINDOW 'E/AS' #define DEFAULT_FORM_CLASS '__form' #define DEFAULT_ENCODING 'koi8-r' parameters cMethod, params local cContent:='' local oErr, i, err:='' eDebug(12, "FORM method:", cMethod) oErr := ErrorBlock({|e| break(e) }) begin sequence /*=========================================================================*/ // GET() if lower(cMethod) == 'get' if assertParameters( params, { 'name:C' } ) return NIL endif eDebug(15, "FORM args:", params) // Check if form exist in database and return it if (cContent:=get_StoredForm(params)) != NIL return cContent else cContent := '' endif if 'TYPE' $ params if params:type == 'list' cContent := get_UIList(params) elseif params:type == 'object' cContent := get_UIObject(params) endif else if params:name == 'main' cContent := get_MainForm(params) else eDebug(5, "FORM: Unknown file:", params:name) // TODO: dialog box for unknown form cContent := NIL endif endif return cContent /*=========================================================================*/ // GETVIEW() elseif lower(cMethod) == 'getview' return get_View(params) else eDebug(3, "FORM has not method '"+cMethod+"'") endif recover using oErr i := 1 while ( !empty(ProcName(i)) ) err += "Called from "+allTrim(ProcName(i)) + ; ":" + alltrim(str(ProcLine(i))) + chr(10) i++ end eDebug(5, "Component internal error:", errorMessage(oErr)) return NIL end sequence return NIL /* Generate main window */ static function get_MainForm(params) local f:='', title:=DEFAULT_TITLE_MAIN_WINDOW, l, i, ent, aIgnoreClasses if "DB" $ params title := params:db endif f := '<?xml version="1.0" encoding="'+DEFAULT_ENCODING+'" ?>&\n' + ; '<!-- Main window interface form -->&\n' + ; '<!-- Web: http://eas.lrn.ru -->&\n&\n' + ; ; '<form>&\n' + ; '<head>&\n' + ; '</head>&\n' + ; '<interface>&\n' + ; '<widget class="mainWindow" name="mainWindow" label="'+title+'">&\n&\n' + ; ; ' <!-- Menu -->&\n' + ; ' <widget class="menuBar">&\n' + ; ' <widget class="popupMenu" name="file_menu" label="&File">&\n' // Show classes aIgnoreClasses := { 'void', '__component', '__form' } l := lquery(params, 'show classes') if valtype(l) == 'A' asort(l,,,{|a,b| a[2] < b[2]}) for i in l if ascan(aIgnoreClasses, lower(i[2])) == 0 f += '&\t<widget class="menuItem" label="'+i[2]+'" name="'+i[2]+'.list"/>&\n' endif next endif f += ' <widget class="menuSeparator"/>&\n' + ; ' <widget class="menuItem" label="&Exit" name="Menu.Quit"/>&\n' + ; ' </widget>&\n' + ; ' </widget>&\n&\n' + ; ' <!-- Statusbar -->&\n' + ; ' <widget class="statusBar" name="main_statusBar" label="Done." />&\n' + ; ; '</widget>&\n' + ; '</interface>&\n&\n' + ; ; '<!-- Widgets properties -->&\n' + ; '<style>&\n' + ; ' <property widget="mainWindow" name="geometry" value="600,450,35,15" />&\n' + ; ' <property widget="mainWindow" name="position" value="center" />&\n' + ; ' <property widget="mainWindow" name="MDI" value="true" />&\n' + ; '</style>&\n&\n' // TODO: translation f += '<actions>&\n' + ; ' <!-- System actions -->&\n' + ; ' <rule>&\n' + ; ' <event widget="Menu.Quit" signal="activate"/>&\n' + ; ' <action><call widget="mainWindow" method="close"/></action>&\n' + ; ' </rule>&\n' // Actions if valtype(l) == 'A' for i in l if ascan(aIgnoreClasses, lower(i[2])) == 0 ent := i[2] f += '<rule>&\n' f += ' <event widget="'+ent+'.list" signal="activate"/>&\n' f += ' <action><call method="openForm"><param value="'+ent+'"/><param value="list"/>' f += '</call></action>&\n' f += '</rule>&\n' endif next endif f += '</actions>&\n' + ; '</form>&\n' eDebug(17, "FORM getMainForm:", len(f)) return f // Generate form with list of all class object static function get_UIList(params) local f, ent:=params:name, fields, i f := '<?xml version="1.0" encoding="'+DEFAULT_ENCODING+'" ?>&\n' + ; '<!-- '+ent+' list form -->&\n' + ; '<!-- Web: http://eas.lrn.ru -->&\n&\n' + ; ; '<form>&\n' + ; ' <head>&\n' + ; // TODO: fill table with autoreloading (see openView() ) ' <call method="openView">&\n' + ; ' <param><property widget="list" name="object"/></param>&\n' + ; ' <param value="'+ent+'"/>&\n' + ; ' <param value="10" />&\n' + ; // 10 seconds by default ' <param><property widget="form" name="object"/></param>&\n' + ; ' </call>&\n' + ; ' </head>&\n' + ; ' <interface>&\n' + ; ' <widget class="childWindow" name="form" label="'+ent+' list">&\n&\n' + ; ; ' <!-- Toolbar -->&\n' + ; ' <widget class="toolBar" name="main_tbar">&\n' + ; ; ' <widget name="create" class="toolButton" label="New">&\n' + ; ' <property name="icon" value="create.xpm"/>&\n' + ; ' </widget>&\n' + ; ' <widget name="edit" class="toolButton" label="Edit">&\n' + ; ' <property name="icon" value="edit.xpm"/>&\n' + ; ' </widget>&\n' + ; ' <widget name="delete" class="toolButton" label="Delete">&\n' + ; ' <property name="icon" value="delete.xpm"/>&\n' + ; ' </widget>&\n' + ; ' </widget>&\n' + ; ; ' <widget name="list" class="table">&\n' + ; ' <column name="id" title="id"/>&\n' fields := lquery(params, 'describe '+ent) if valtype(fields) == 'A' for i in fields if i[2] $ 'CNDLXRS' f += ' <column name="'+i[1]+'" title="'+i[1]+'"/>&\n' endif next endif f += ' </widget>&\n' + ; ' <widget class="buttonBar">&\n' + ; ' <widget class="button" label="&Close" name="close" />&\n' + ; ' </widget>&\n' + ; ' </widget>&\n' + ; ' </interface>&\n&\n' + ; ' <style>&\n' + ; ' </style>&\n&\n' + ; ' <actions>&\n' + ; ; ' <rule label="&Create">&\n' + ; ' <event widget="create" signal="clicked"/>&\n' + ; ' <action><call method="openForm"><param value="'+ent+'"/><param value="object"/>&\n' + ; ' </call></action></rule>&\n' + ; ; ' <rule label="&Edit">&\n' + ; ' <event widget="edit" signal="clicked"/>&\n' + ; ' <event widget="list" signal="selected"/>&\n' + ; ' <action><call method="openForm"><param value="'+ent+'"/><param value="object"/>' + ; ' <param><call widget="list" method="getSelectionId"/></param>&\n' + ; ' </call></action></rule>&\n' + ; ; ' <rule label="&Delete...">&\n' + ; ' <event widget="delete" signal="clicked"/>&\n' + ; ' <action>&\n' + ; ' <call widget="form" method="dialogBox">&\n' + ; ' <param value="Confirmation"/>&\n' + ; ' <param value="Delete item?"/>&\n' f += ' <param value="'+"'"+'&Delete'+"','"+'&Cancel'+"'"+'"/>&\n' f += ' <return>&\n' + ; ' <condition>&\n' + ; ' <param><returnedvalue /></param>&\n' + ; ' <case value="true">&\n' + ; ' <call method="deleteObject">&\n' + ; ' <param><call widget="list" method="getSelectionId"/></param>&\n' + ; ' </call>&\n' + ; ' <call method="openView">&\n' + ; ' <param><property widget="list" name="object"/></param>&\n' + ; ' <param value="'+ent+'"/>&\n' + ; ' </call>&\n' + ; ' </case>&\n' + ; ' </condition>&\n' + ; ' </return>' + ; ' </call>&\n' + ; ' </action>&\n' + ; ' </rule>&\n' f += ' <rule label="-C&lose">&\n' + ; ' <event widget="close" signal="clicked"/>&\n' + ; ' <action><call widget="form" method="close"/></action>&\n' + ; ' </rule>&\n' + ; ' </actions>&\n' + ; '</form>' return f /* Lookup form in database */ static function get_StoredForm(params) local fClass, fName, r, c:=NIL, id fClass := DEFAULT_FORM_CLASS fName := params:name if "TYPE" $ params fName := params:type+"/"+fName endif r := lquery(params, 'select content from '+fClass+' where name=="'+fName+'"') if valtype(r) == 'A' .and. len(r) > 0 c := r[1][1] eDebug(15, "FORM:",fName,len(c)) endif return c /* Get filled view for table */ // TODO: using TVIEW if exists static function get_View(params) local query if assertParameters( params, { 'name:C', 'fields:C' } ) return NIL endif query := 'select '+params:fields+' from '+params:name return lcomponent('sys.db', 'executeExt', 'db', iif(valtype(params)=='O' .and. 'DB' $ params, params:db,''), 'query', query) /* Generate visial form for show class object */ static function get_UIObject(params) local class:=params:name, f:="", attr, i, a, t, name, chooseElem:={} /* XML head */ f += '<?xml version="1.0" encoding="'+DEFAULT_ENCODING+'" ?>&\n' f += '<!-- "'+class+'" dialog interface form -->&\n&\n' /* Form head */ f += '<form>&\n<head>' + ; ' <call method="setFormObject"><param><property widget="form" name="object"/></param></call>&\n'+ ; '</head>&\n' /* Interface definition */ f += '<interface>&\n' f += '<widget class="document" name="form" label="'+class+'">&\n'+ ; '<widget name="title" class="label" label="'+class+'"/>&\n' // Get fields list attr := lquery(params, 'describe '+class) if valtype(attr) != 'A' attr := array(0) endif // eDebug(5, "ATTR:",var2log(attr,3,.T.)) if len(attr) > 0 f += '<widget class="grid">&\n'+ ; ' <property name="cols" value="2"/>&\n'+ ; ' <property name="rows" value="'+alltrim(str(len(attr)))+'"/>&\n' endif // Add fields by type for i=1 to len(attr) a := attr[i] name := a[1] t := a[2] switch t case 'L' f += ' <widget class="combobox" name="'+name+'" pos="'+alltrim(str(i))+',1-2" label="&'+name+'"/>&\n' case 'D' f += ' <widget class="label" pos="'+alltrim(str(i))+',1" label="&'+name+':" accel="'+name+'"/>&\n' f += ' <widget class="editdate" name="'+name+':date" pos="'+alltrim(str(i))+',2" />&\n' case 'N' f += ' <widget class="label" pos="'+alltrim(str(i))+',1" label="&'+name+':" accel="'+name+'"/>&\n' f += ' <widget class="editdate" name="'+name+':number" pos="'+alltrim(str(i))+',2" />&\n' case 'S' f += ' <widget class="label" pos="'+alltrim(str(i))+',1" label="&'+name+':" accel="'+name+'"/>&\n' f += ' <widget class="edittext" name="'+name+'" pos="'+alltrim(str(i))+',2" />&\n' // TODO: widget for choosing object with button // case 'R' // f += ' <widget class="label" pos="'+alltrim(str(i))+',1" label="&'+name+'" accel="'+name+"_choose"+'"/>&\n' // f += ' <widget class="edit" name="'+name+'" pos="'+alltrim(str(i))+',2" />&\n' // TODO: file uploading for blob otherwise f += ' <widget class="label" pos="'+alltrim(str(i))+',1" label="&'+name+':" accel="'+name+'"/>&\n' f += ' <widget class="edit" name="'+name+'" pos="'+alltrim(str(i))+',2" />&\n' endswitch next if len(attr) > 0 f += '</widget>&\n' endif // Bottom bar f += '<widget class="buttonBar">&\n'+ ; ' <widget class="button" label="&Ok" name="save" />&\n' ' <widget class="button" label="&Print" name="print" />&\n'+ ; f += ' <widget class="button" label="&Close" name="close" />&\n'+ ; '</widget>&\n'+ ; '</widget>&\n' // Footer f += '</interface>&\n' f += '<!-- Widget properties -->&\n'+ ; '<style>&\n'+ ; ' <property widget="form" name="spacing" value="2"/>&\n'+ ; ' <property widget="title" name="font.style" value="BOLD"/>&\n'+ ; '</style>&\n' f += '<!-- Actions -->&\n'+ ; '<actions>&\n'+ ; ' <rule label="&OK">&\n'+ ; ' <event widget="save" signal="clicked"/>&\n'+ ; ' <action>&\n'+ ; ' <call method="saveForm"><param><property widget="form" name="object"/></param><param value="'+class+'" /></call>&\n'+ ; ' <call widget="form" method="close"/>&\n'+ ; ' </action>&\n'+ ; ' </rule>&\n'+ ; ' <rule label="-&Close">&\n'+ ; ' <event widget="close" signal="clicked"/>&\n'+ ; ' <action>&\n'+ ; ' <call method="dialogBoxConfirmClose"><param><property widget="form" name="object"/></param><param value="'+class+'" /></call>&\n'+ ; ' </action>&\n'+ ; ' </rule>&\n' /* Add choose action (chooseElem)*/ /* <rule> <event widget="payer" signal="clicked"/> <action><call widget="form" method="open"> <param value="Partner.Choice.xfl"/> <return> <call widget="payer" method="setValue"> <param><returnedvalue /></param> </call> <property widget="payer.name" name="label"> <call method="getObjectAttr"> <param><returnedvalue /></param> <param value="name"/> </call> </property> </return> </call></action> </rule> */ f += '</actions>&\n' f += '</form>' return f --- NEW FILE: form.xml --- <?xml version="1.0" encoding="utf-8" standalone="no" ?> <component> <name>form</name> <category>Core/Forms</category> <version>0.1</version> <description>Interface and print form support: get from database or generate</description> <license>GNU/GPL</license> <created>2006-05-01</created> <modified>2006-05-19</modified> <requires> <dependence type="component">../ocmng/components</dependence> </requires> <author> <name>Andrey Cherepanov</name> <email>sk...@ea...</email> <copyright>2006</copyright> </author> <files> <file name="form.po">Form plugin</file> <file name="create.xpm">Create icon</file> <file name="edit.xpm">Edit icon</file> <file name="delete.xpm">Delete icon</file> </files> <meta dictionary="ETC01"> <attribute name="type" type="string" len="50" lenType="rtrim" /> <attribute name="content" type="text" lenType="alltrim" /> <attribute name="size" type="number" lenType="ignore" /> <class name="mng_form" extent="component" essence="name" uniqueKey="name" attributes="name,type,description,content,size" indices="name" mainIdx="name" findAttrs="name" /> <!-- mng_command --> <attribute name="form" type="ref" len="12" refTo="ETC01:mng_form" lenType="ignore" /> <class name="mng_command" extent="component" essence="name" uniqueKey="name" attributes="name,component,form,description,enabled" indices="name" mainIdx="name" findAttrs="name" /> </meta> <data> <objects depository="ETC0101" class="mng_command"> <object> <attr name="name">get</attr> <attr name="component" refTo="ETC0101:mng_component">form</attr> <attr name="form" refTo="ETC0101:mng_form">form.po</attr> <attr name="description"><![CDATA[Get/generate form. Arguments: name - String. Form name. type - String. Form type. Optional. Form types: object XFL form for edit object content list XFL form with list of objects select XFL form for select object from list print_object XPL card for object print_list XPL form for print object list Returns: String. Form contents.]]></attr> <attr name="enabled">true</attr> </object> <object> <attr name="name">getview</attr> <attr name="component" refTo="ETC0101:mng_component">form</attr> <attr name="form" refTo="ETC0101:mng_form">form.po</attr> <attr name="description"><![CDATA[Get view content. Arguments: name - String. Class name. fields - String. Comma separated list of object fields. Returns: Array. View content.]]></attr> <attr name="enabled">true</attr> </object> </objects> </data> <locale lang="ru"> <name>form</name> <description>ÐоддеÑжка инÑеÑÑейÑнÑÑ Ð¸ пеÑаÑнÑÑ ÑоÑм: полÑÑение из Ð±Ð°Ð·Ñ Ð¸Ð»Ð¸ генеÑаÑиÑ</description> </locale> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:50
|
Update of /cvsroot/eas-dev/ocmng/components/CORE In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/CORE Added Files: ACC00.xml ACC01.xml ALL.xml ETC01.xml GBL01.xml GBL02.xml VERSIONS.xml Log Message: Add files --- NEW FILE: ACC00.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ACC00</name> <category>CORE/DB</category> <version>1.0</version> <description>ACC00 dictionary</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">VERSIONS.xml</dependence> </requires> <dictionary rules="appendOnly"> <id>ACC00</id> <name>Constable account data</name> <type>$CODBTYPE$</type> <path>$CODBROOT$</path> </dictionary> <meta dictionary="ACC00" rules="appendOnly"> <depository name="Office1" memoSize="32" /> </meta> </component> --- NEW FILE: ACC01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ACC01</name> <category>CORE/DB</category> <version>1.0</version> <description>ACC01 dictionary</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">VERSIONS.xml</dependence> </requires> <dictionary rules="appendOnly"> <id>ACC01</id> <name>Accounting work data</name> <type>$CODBTYPE$</type> <path>$CODBROOT$</path> </dictionary> <meta dictionary="ACC01" rules="appendOnly"> <depository name="Office1" memoSize="32" /> </meta> </component> --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ETC01.xml</dependence> <dependence type="component">GBL01.xml</dependence> <dependence type="component">GBL02.xml</dependence> <dependence type="component">ACC00.xml</dependence> <dependence type="component">ACC01.xml</dependence> </requires> </component> --- NEW FILE: ETC01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ETC01</name> <category>CORE/DB</category> <version>1.0</version> <description>ETC01 dictionary</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">VERSIONS.xml</dependence> </requires> <dictionary rules="appendOnly"> <id>ETC01</id> <name>settings data</name> <type>$CODBTYPE$</type> <path>$CODBROOT$</path> </dictionary> <meta dictionary="ETC01" rules="appendOnly"> <depository name="aquarum" memoSize="32" /> <extent name="component">Component data</extent> </meta> </component> --- NEW FILE: GBL01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>GBL01</name> <category>CORE/DB</category> <version>1.0</version> <description>GBL01 dictionary</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">VERSIONS.xml</dependence> </requires> <dictionary rules="appendOnly"> <id>GBL01</id> <name>Global information</name> <type>$CODBTYPE$</type> <path>$CODBROOT$</path> </dictionary> <meta dictionary="GBL01" rules="appendOnly"> <depository name="Russia" memoSize="32" /> </meta> </component> --- NEW FILE: GBL02.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>GBL02</name> <category>CORE/DB</category> <version>1.0</version> <description>GBL02 dictionary</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">VERSIONS.xml</dependence> </requires> <dictionary rules="appendOnly"> <id>GBL02</id> <name>Global enterprise information</name> <type>$CODBTYPE$</type> <path>$CODBROOT$</path> </dictionary> <meta dictionary="GBL02" rules="appendOnly"> <depository name="Russia" memoSize="32" /> </meta> </component> --- NEW FILE: VERSIONS.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>VERSIONS</name> <category>CORE</category> <version>1.0</version> <description>CLIP and CODB versions</description> <license>GNU/GPL</license> <created>2006-04-24</created> <modified>2006-04-24</modified> <requires> <dependence type="clipversion">CLIP:1.1.16</dependence> <dependence type="codbversion">0.7.0</dependence> </requires> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:49
|
Update of /cvsroot/eas-dev/ocmng/components/acc-pdoc In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/acc-pdoc Added Files: ACC01.xml ALL.xml Log Message: Add files --- NEW FILE: ACC01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ACC01-acc-pdoc</name> <category>CORE/DB</category> <version>1.0</version> <description>Initial metadata for accounting primary documents</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">../CORE/ACC01.xml</dependence> </requires> <meta dictionary="ACC01" rules="appendOnly"> <extent name="AccDocument">Account documents repository</extent> </meta> </component> --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ACC01.xml</dependence> </requires> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:49
|
Update of /cvsroot/eas-dev/ocmng/components/acc-kernel In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/acc-kernel Added Files: ACC01.xml ALL.xml Log Message: Add files --- NEW FILE: ACC01.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ACC01-acc-kernel</name> <category>CORE/DB</category> <version>1.0</version> <description>Accounting kernel meta data</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">../CORE/ETC01.xml</dependence> </requires> <meta dictionary="ACC01" rules="appendOnly"> <extent name="AccPost">Account post</extent> <extent name="ACCRegistry">Account registry data</extent> <extent name="AccPostLog">Account post logging</extent> <extent name="ACCRegistryAM">Account registry data for am_balance</extent> <extent name="ACCRegistryAN">Account registry data for an_balance,os_balance,chess_balance</extent> <extent name="ACCRegistryInfo">Account registry data for an_info</extent> </meta> </component> --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ACC01.xml</dependence> </requires> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:49
|
Update of /cvsroot/eas-dev/ocmng/components/employee In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182/components/employee Added Files: ACC00.xml ALL.xml Log Message: Add files --- NEW FILE: ACC00.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <name>ACC00-employee</name> <category>CORE/DB</category> <version>1.0</version> <description>Initial metadata for employee</description> <license>GNU/GPL</license> <created>2006-05-19</created> <modified>2006-05-23</modified> <author>Uri</author> <requires> <dependence type="component">../CORE/ACC00.xml</dependence> </requires> <meta dictionary="ACC00" rules="appendOnly"> <extent name="Contracts">Contracts repository</extent> <extent name="EmplDep">Data about all employes data</extent> <extent name="EmplDoc">Employee documents repository</extent> </meta> </component> --- NEW FILE: ALL.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <requires> <dependence type="component">ACC00.xml</dependence> </requires> </component> |
From: Andrey C. <sku...@us...> - 2006-06-02 14:44:48
|
Update of /cvsroot/eas-dev/ocmng In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17182 Added Files: .clipcharset .cliprc Makefile _a1 _a2 _test1.xml cleanxmo.sh funcs_a.prg funcs_c.prg funcs_d.prg funcs_i.prg funcs_i.prg.1 funcs_s.prg ocmng.ch ocmng.prg ocmng_compil.prg ocmng_dump.prg ocmng_install.prg xml2xmo.prg Log Message: Add files --- NEW FILE: .clipcharset --- koi8-r --- NEW FILE: .cliprc --- #-E CLIPSLIB=libclip.so #-I ../include #-s #-l -U std.ch -U config.ch -U clip.ch --- NEW FILE: Makefile --- ifdef CLIPROOT include $(CLIPROOT)/include/Makefile.inc endif CLIP = $(CLIPROOT)/bin/clip CLIPFLAGS = -alwO CLIPLIBS = -lclip-codb OBJS = funcs_a.o funcs_c.o funcs_d.o funcs_i.o INCS = funcs_s.prg ocmng.ch PROGS = ocmng$(EXESUFF) xml2xmo$(EXESUFF) #PROGS = ocmng_compil$(EXESUFF) ocmng_dump$(EXESUFF) ocmng_install$(EXESUFF) ocmng$(EXESUFF) .SUFFIXES: .prg .o .po all: $(OBJS) $(PROGS) ./xml2xmo components clean: rm -f $(PROGS) *.ex *.nm *.uri *.c *.s *.o *.a *.po *.log *.pa *.b *.BAK *.bak *~ core* *core ./cleanxmo.sh ocmng_compil$(EXESUFF): ocmng_compil.prg $(OBJS) $(INCS) $(CLIP) $(CLIPFLAGS) -esM ocmng_compil.prg $(OBJS) $(CLIPLIBS) ocmng_install$(EXESUFF): ocmng_install.prg $(OBJS) $(INCS) $(CLIP) $(CLIPFLAGS) -esM ocmng_install.prg $(OBJS) $(CLIPLIBS) ocmng_dump$(EXESUFF): ocmng_dump.prg $(OBJS) $(INCS) $(CLIP) $(CLIPFLAGS) -esM ocmng_dump.prg $(OBJS) $(CLIPLIBS) ocmng$(EXESUFF): ocmng.prg $(OBJS) $(INCS) $(CLIP) $(CLIPFLAGS) -esM ocmng.prg $(OBJS) $(CLIPLIBS) xml2xmo$(EXESUFF): xml2xmo.prg $(OBJS) $(INCS) $(CLIP) $(CLIPFLAGS) -esM xml2xmo.prg $(OBJS) $(CLIPLIBS) install: cp $(PROGS) $(DESTDIR)$(CLIPROOT)/bin .prg.o: $(CLIP) $(CLIPFLAGS) $< --- NEW FILE: _a1 --- ocMng[ 1]> Reading file components/ALL.xmo ocMng[ 2]> Making dependies for component ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/CORE/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/ETC01.xmo ocMng[ 4]> Making dependies for component ETC01 ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/CORE/VERSIONS.xmo ocMng[ 5]> Making dependies for component VERSIONS ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/GBL01.xmo ocMng[ 4]> Making dependies for component GBL01 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/GBL02.xmo ocMng[ 4]> Making dependies for component GBL02 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/ACC00.xmo ocMng[ 4]> Making dependies for component ACC00 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/ACC01.xmo ocMng[ 4]> Making dependies for component ACC01 ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/ocmng/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/ETC01.xmo ocMng[ 4]> Making dependies for component ETC01-ocmng ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/void.xmo ocMng[ 4]> Making dependies for component ocmng_void ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/category.xmo ocMng[ 4]> Making dependies for component ocmng_category ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/vendor.xmo ocMng[ 4]> Making dependies for component ocmng_vendor ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/author.xmo ocMng[ 4]> Making dependies for component ocmng_author ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/component.xmo ocMng[ 4]> Making dependies for component ocmng_component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/dependence.xmo ocMng[ 4]> Making dependies for component ocmng_dependence ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/r2d2/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/r2d2/ETC01.xmo ocMng[ 4]> Making dependies for component ETC01-r2d2 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/r2d2/acc_db.xmo ocMng[ 4]> Making dependies for component r2d2-acc_db ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/r2d2/void.xmo ocMng[ 5]> Making dependies for component r2d2-void ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/r2d2/connection.xmo ocMng[ 4]> Making dependies for component r2d2-connection ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/ref1/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ref1/ru/ALL.xmo ocMng[ 4]> Making dependies for component ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/GBL01.xmo ocMng[ 5]> Making dependies for component GBL01-ref1-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/void.xmo ocMng[ 5]> Making dependies for component refs1-void-ru ocMng[ 5]> Reading file /home/uri/pr/ocmng/components/ref1/void.xmo ocMng[ 6]> Making dependies for component refs1-void ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/currency.xmo ocMng[ 5]> Making dependies for component currency-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/country.xmo ocMng[ 5]> Making dependies for component country-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/units.xmo ocMng[ 5]> Making dependies for component units-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/unit2unit.xmo ocMng[ 5]> Making dependies for component unit2unit-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/taxcode.xmo ocMng[ 5]> Making dependies for component taxcode-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/taxcause.xmo ocMng[ 5]> Making dependies for component taxcause-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/taxtype.xmo ocMng[ 5]> Making dependies for component taxtype-ru ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ref1/ru_UDM/ALL.xmo ocMng[ 4]> Making dependies for component ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru_UDM/okato.xmo ocMng[ 5]> Making dependies for component okato-ru_UDM ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/ref2/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ref2/GBL02.xmo ocMng[ 4]> Making dependies for component GBL02-ref2 ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/employee/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/employee/ACC00.xmo ocMng[ 4]> Making dependies for component ACC00-employee ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/equipment/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/equipment/ACC00.xmo ocMng[ 4]> Making dependies for component ACC00-equipment ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/acc-kernel/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/acc-kernel/ACC01.xmo ocMng[ 4]> Making dependies for component ACC01-acc-kernel ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/acc-pdoc/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/acc-pdoc/ACC01.xmo ocMng[ 4]> Making dependies for component ACC01-acc-pdoc ocMng[ 1]> Found 44 dependies for component ocMng[ 2]> Installing component VERSIONS ocMng[ 2]> Installed component VERSIONS ocMng[ 2]> Installing component ETC01 ocMng[ 3]> Installed dictionary ETC01 ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed extent component ocMng[ 4]> Installed deposit aquarum ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ETC01 ocMng[ 2]> Installing component GBL01 ocMng[ 3]> Installed dictionary GBL01 ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed deposit Russia ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component GBL01 ocMng[ 2]> Installing component GBL02 ocMng[ 3]> Installed dictionary GBL02 ocMng[ 3]> Installing meta data GBL02 ocMng[ 4]> Installed deposit Russia ocMng[ 3]> Installed meta data GBL02 ocMng[ 2]> Installed component GBL02 ocMng[ 2]> Installing component ACC00 ocMng[ 3]> Installed dictionary ACC00 ocMng[ 3]> Installing meta data ACC00 ocMng[ 4]> Installed deposit Office1 ocMng[ 3]> Installed meta data ACC00 ocMng[ 2]> Installed component ACC00 ocMng[ 2]> Installing component ACC01 ocMng[ 3]> Installed dictionary ACC01 ocMng[ 3]> Installing meta data ACC01 ocMng[ 4]> Installed deposit Office1 ocMng[ 3]> Installed meta data ACC01 ocMng[ 2]> Installed component ACC01 ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ETC01-ocmng ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed extent component ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ETC01-ocmng ocMng[ 2]> Installing component ocmng_void ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute code ocMng[ 4]> Installed attribute email ocMng[ 4]> Installed attribute www ocMng[ 4]> Installed attribute description ocMng[ 4]> Installed attribute version ocMng[ 4]> Installed attribute license ocMng[ 4]> Installed attribute created ocMng[ 4]> Installed attribute modified ocMng[ 4]> Installed index code ocMng[ 4]> Installed class mng_category ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ocmng_void ocMng[ 2]> Installing component ocmng_category ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute category_name ocMng[ 4]> Installed attribute mng_category ocMng[ 4]> Installed index category_name ocMng[ 4]> Installed index mng_category ocMng[ 4]> Installed class mng_category ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_category ocMng[ 3]> Installed 000007 objects for ETC0101:mng_category ocMng[ 2]> Installed component ocmng_category ocMng[ 2]> Installing component ocmng_vendor ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute vendor_name ocMng[ 4]> Installed class mng_vendor ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_vendor ocMng[ 3]> Installed 000002 objects for ETC0101:mng_vendor ocMng[ 2]> Installed component ocmng_vendor ocMng[ 2]> Installing component ocmng_author ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute author_name ocMng[ 4]> Installed attribute mng_vendor ocMng[ 4]> Installed class mng_author ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_author ocMng[ 3]> Installed 000003 objects for ETC0101:mng_author ocMng[ 2]> Installed component ocmng_author ocMng[ 2]> Installing component ocmng_component ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute component_name ocMng[ 4]> Installed attribute documentation ocMng[ 4]> Installed attribute dependence ocMng[ 4]> Installed attribute definition ocMng[ 4]> Installed attribute installed ocMng[ 4]> Installed attribute enabled ocMng[ 4]> Installed attribute mng_author ocMng[ 4]> Installed attribute component_body ocMng[ 4]> Installed index component_name ocMng[ 4]> Installed class mng_component ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ocmng_component ocMng[ 2]> Installing component ocmng_dependence ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute type ocMng[ 4]> Installed attribute cdata ocMng[ 4]> Installed attribute mng_require ocMng[ 4]> Installed attribute mng_component ocMng[ 4]> Installed index mng_component ocMng[ 4]> Installed index mng_require ocMng[ 4]> Installed class mng_dependence ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ocmng_dependence ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ETC01-r2d2 ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed extent connections ocMng[ 4]> Installed deposit aquarum ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ETC01-r2d2 ocMng[ 2]> Installing component r2d2-void ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute code ocMng[ 4]> Installed attribute owner_id ocMng[ 4]> Installed attribute acc00 ocMng[ 4]> Installed attribute acc01 ocMng[ 4]> Installed attribute beg_date ocMng[ 4]> Installed attribute end_date ocMng[ 4]> Installed index code ocMng[ 4]> Installed index owner_id ocMng[ 4]> Installed index acc00 ocMng[ 4]> Installed index acc01 ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_category ocMng[ 3]> Installed 000001 objects for ETC0101:mng_category ocMng[ 2]> Installed component r2d2-void ocMng[ 2]> Installing component r2d2-acc_db ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute acc_enterprise ocMng[ 4]> Installed attribute acc_period ocMng[ 4]> Installed index acc_enterprise ocMng[ 4]> Installed index acc_period ocMng[ 4]> Installed class acc_db ocMng[ 4]> Installed tcolumn acc_db ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:acc_db ocMng[ 3]> Installed 000001 objects for ETC0101:acc_db ocMng[ 2]> Installed component r2d2-acc_db ocMng[ 2]> Installing component r2d2-connection ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute user ocMng[ 4]> Installed attribute connect_id ocMng[ 4]> Installed attribute date ocMng[ 4]> Installed attribute passwd ocMng[ 4]> Installed attribute user_data ocMng[ 4]> Installed index user ocMng[ 4]> Installed index connect_id ocMng[ 4]> Installed class connection ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component r2d2-connection ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component GBL01-ref1-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed extent goscomstatinfo ocMng[ 4]> Installed extent itk ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component GBL01-ref1-ru ocMng[ 2]> Installing component refs1-void ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed attribute code ocMng[ 4]> Installed attribute unit ocMng[ 4]> Installed attribute name ocMng[ 4]> Installed attribute smallname ocMng[ 4]> Installed attribute owner_id ocMng[ 4]> Installed attribute fullname ocMng[ 4]> Installed index code ocMng[ 4]> Installed index unit ocMng[ 4]> Installed index name ocMng[ 4]> Installed index smallname ocMng[ 4]> Installed index owner_id ocMng[ 4]> Installed index fullname ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component refs1-void ocMng[ 2]> Installing component refs1-void-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed tcolumn code ocMng[ 4]> Installed tcolumn unit ocMng[ 4]> Installed tcolumn name ocMng[ 4]> Installed tcolumn smallname ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component refs1-void-ru ocMng[ 2]> Installing component currency-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class currency ocMng[ 4]> Installed tcolumn currency ocMng[ 4]> Installed tview ëÏÄÙ ×ÁÌÀÔ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:currency ocMng[ 3]> Installed 000182 objects for GBL0101:currency ocMng[ 2]> Installed component currency-ru ocMng[ 2]> Installing component country-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class country ocMng[ 4]> Installed tcolumn country ocMng[ 4]> Installed tview çÏÓÕÄÁÒÓÔ×Á ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:country ocMng[ 3]> Installed 000237 objects for GBL0101:country ocMng[ 2]> Installed component country-ru ocMng[ 2]> Installing component units-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed attribute unit_x ocMng[ 4]> Installed attribute main ocMng[ 4]> Installed index unit_x ocMng[ 4]> Installed index main ocMng[ 4]> Installed class units ocMng[ 4]> Installed tcolumn units ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:units ocMng[ 3]> Installed 000423 objects for GBL0101:units ocMng[ 2]> Installed component units-ru ocMng[ 2]> Installing component unit2unit-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed attribute unit_in ocMng[ 4]> Installed attribute unit_out ocMng[ 4]> Installed attribute quantity ocMng[ 4]> Installed attribute longcode ocMng[ 4]> Installed index unit_in ocMng[ 4]> Installed index unit_out ocMng[ 4]> Installed index longcode ocMng[ 4]> Installed class unit2unit ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/unit2unit.prg ocMng[ 4]> Installed plugin unit2unit ocMng[ 4]> Installed tcolumn unit_in ocMng[ 4]> Installed tcolumn unit_out ocMng[ 4]> Installed tcolumn quantity ocMng[ 4]> Installed tcolumn longcode ocMng[ 4]> Installed tcolumn unit2unit ocMng[ 4]> Installed tview ðÅÒÅÓÞÅÔ ÅÄ.ÉÚÍ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:unit2unit ocMng[ 3]> Installed 000027 objects for GBL0101:unit2unit ocMng[ 2]> Installed component unit2unit-ru ocMng[ 2]> Installing component taxcode-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class taxcode ocMng[ 4]> Installed tcolumn taxcode ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:taxcode ocMng[ 3]> Installed 000447 objects for GBL0101:taxcode ocMng[ 2]> Installed component taxcode-ru ocMng[ 2]> Installing component taxcause-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class taxcause ocMng[ 4]> Installed tcolumn taxcause ocMng[ 4]> Installed tview ëÏÄÙ ÏÓÎÏ×ÁÎÉÊ ÐÌÁÔÅÖÁ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:taxcause ocMng[ 3]> Installed 000011 objects for GBL0101:taxcause ocMng[ 2]> Installed component taxcause-ru ocMng[ 2]> Installing component taxtype-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class taxtype ocMng[ 4]> Installed tcolumn taxtype ocMng[ 4]> Installed tview ÷ÉÄÙ ÎÁÌÏÇ.ÐÌÁÔÅÖÅÊ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:taxtype ocMng[ 3]> Installed 000009 objects for GBL0101:taxtype ocMng[ 2]> Installed component taxtype-ru ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component okato-ru_UDM ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class okato ocMng[ 4]> Installed tcolumn okato ocMng[ 4]> Installed tview ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:okato ocMng[ 3]> Installed 002516 objects for GBL0101:okato ocMng[ 2]> Installed component okato-ru_UDM ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component GBL02-ref2 ocMng[ 3]> Installing meta data GBL02 ocMng[ 4]> Installed extent VENTinfomation ocMng[ 4]> Installed extent GNIinfomation ocMng[ 3]> Installed meta data GBL02 ocMng[ 2]> Installed component GBL02-ref2 ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC00-employee ocMng[ 3]> Installing meta data ACC00 ocMng[ 4]> Installed extent Contracts ocMng[ 4]> Installed extent EmplDep ocMng[ 4]> Installed extent EmplDoc ocMng[ 3]> Installed meta data ACC00 ocMng[ 2]> Installed component ACC00-employee ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC00-equipment ocMng[ 3]> Installing meta data ACC00 ocMng[ 4]> Installed extent equipment ocMng[ 3]> Installed meta data ACC00 ocMng[ 2]> Installed component ACC00-equipment ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC01-acc-kernel ocMng[ 3]> Installing meta data ACC01 ocMng[ 4]> Installed extent AccPost ocMng[ 4]> Installed extent ACCRegistry ocMng[ 4]> Installed extent AccPostLog ocMng[ 4]> Installed extent ACCRegistryAM ocMng[ 4]> Installed extent ACCRegistryAN ocMng[ 4]> Installed extent ACCRegistryInfo ocMng[ 3]> Installed meta data ACC01 ocMng[ 2]> Installed component ACC01-acc-kernel ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC01-acc-pdoc ocMng[ 3]> Installing meta data ACC01 ocMng[ 4]> Installed extent AccDocument ocMng[ 3]> Installed meta data ACC01 ocMng[ 2]> Installed component ACC01-acc-pdoc ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 1]> Installed component components/ALL.xmo ocMng[ 1]> Statistics: 134 metaobjects, 3866 objects, 155.63 seconds --- NEW FILE: _a2 --- ocMng[ 1]> Reading file components/ALL.xmo ocMng[ 2]> Making dependies for component ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/CORE/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/ETC01.xmo ocMng[ 4]> Making dependies for component ETC01 ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/CORE/VERSIONS.xmo ocMng[ 5]> Making dependies for component VERSIONS ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/GBL01.xmo ocMng[ 4]> Making dependies for component GBL01 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/GBL02.xmo ocMng[ 4]> Making dependies for component GBL02 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/ACC00.xmo ocMng[ 4]> Making dependies for component ACC00 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/CORE/ACC01.xmo ocMng[ 4]> Making dependies for component ACC01 ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/ocmng/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/ETC01.xmo ocMng[ 4]> Making dependies for component ETC01-ocmng ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/void.xmo ocMng[ 4]> Making dependies for component ocmng_void ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/category.xmo ocMng[ 4]> Making dependies for component ocmng_category ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/vendor.xmo ocMng[ 4]> Making dependies for component ocmng_vendor ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/author.xmo ocMng[ 4]> Making dependies for component ocmng_author ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/component.xmo ocMng[ 4]> Making dependies for component ocmng_component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ocmng/dependence.xmo ocMng[ 4]> Making dependies for component ocmng_dependence ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/r2d2/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/r2d2/ETC01.xmo ocMng[ 4]> Making dependies for component ETC01-r2d2 ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/r2d2/acc_db.xmo ocMng[ 4]> Making dependies for component r2d2-acc_db ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/r2d2/void.xmo ocMng[ 5]> Making dependies for component r2d2-void ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/r2d2/connection.xmo ocMng[ 4]> Making dependies for component r2d2-connection ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/ref1/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ref1/ru/ALL.xmo ocMng[ 4]> Making dependies for component ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/GBL01.xmo ocMng[ 5]> Making dependies for component GBL01-ref1-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/void.xmo ocMng[ 5]> Making dependies for component refs1-void-ru ocMng[ 5]> Reading file /home/uri/pr/ocmng/components/ref1/void.xmo ocMng[ 6]> Making dependies for component refs1-void ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/currency.xmo ocMng[ 5]> Making dependies for component currency-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/country.xmo ocMng[ 5]> Making dependies for component country-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/units.xmo ocMng[ 5]> Making dependies for component units-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/unit2unit.xmo ocMng[ 5]> Making dependies for component unit2unit-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/taxcode.xmo ocMng[ 5]> Making dependies for component taxcode-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/taxcause.xmo ocMng[ 5]> Making dependies for component taxcause-ru ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/taxtype.xmo ocMng[ 5]> Making dependies for component taxtype-ru ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ref1/ru_UDM/ALL.xmo ocMng[ 4]> Making dependies for component ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru_UDM/okato.xmo ocMng[ 5]> Making dependies for component okato-ru_UDM ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/ref2/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/ref2/GBL02.xmo ocMng[ 4]> Making dependies for component GBL02-ref2 ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/employee/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/employee/ACC00.xmo ocMng[ 4]> Making dependies for component ACC00-employee ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/equipment/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/equipment/ACC00.xmo ocMng[ 4]> Making dependies for component ACC00-equipment ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/acc-kernel/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/acc-kernel/ACC01.xmo ocMng[ 4]> Making dependies for component ACC01-acc-kernel ocMng[ 2]> Reading file /home/uri/pr/ocmng/components/acc-pdoc/ALL.xmo ocMng[ 3]> Making dependies for component ocMng[ 3]> Reading file /home/uri/pr/ocmng/components/acc-pdoc/ACC01.xmo ocMng[ 4]> Making dependies for component ACC01-acc-pdoc ocMng[ 1]> Found 44 dependies for component ocMng[ 2]> Installing component VERSIONS ocMng[ 2]> Installed component VERSIONS ocMng[ 2]> Installing component ETC01 ocMng[ 3]> Installed dictionary ETC01 ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed extent component ocMng[ 4]> Installed deposit aquarum ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ETC01 ocMng[ 2]> Installing component GBL01 ocMng[ 3]> Installed dictionary GBL01 ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed deposit Russia ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component GBL01 ocMng[ 2]> Installing component GBL02 ocMng[ 3]> Installed dictionary GBL02 ocMng[ 3]> Installing meta data GBL02 ocMng[ 4]> Installed deposit Russia ocMng[ 3]> Installed meta data GBL02 ocMng[ 2]> Installed component GBL02 ocMng[ 2]> Installing component ACC00 ocMng[ 3]> Installed dictionary ACC00 ocMng[ 3]> Installing meta data ACC00 ocMng[ 4]> Installed deposit Office1 ocMng[ 3]> Installed meta data ACC00 ocMng[ 2]> Installed component ACC00 ocMng[ 2]> Installing component ACC01 ocMng[ 3]> Installed dictionary ACC01 ocMng[ 3]> Installing meta data ACC01 ocMng[ 4]> Installed deposit Office1 ocMng[ 3]> Installed meta data ACC01 ocMng[ 2]> Installed component ACC01 ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ETC01-ocmng ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed extent component ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ETC01-ocmng ocMng[ 2]> Installing component ocmng_void ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute code ocMng[ 4]> Installed attribute email ocMng[ 4]> Installed attribute www ocMng[ 4]> Installed attribute description ocMng[ 4]> Installed attribute version ocMng[ 4]> Installed attribute license ocMng[ 4]> Installed attribute created ocMng[ 4]> Installed attribute modified ocMng[ 4]> Installed index code ocMng[ 4]> Installed class mng_category ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ocmng_void ocMng[ 2]> Installing component ocmng_category ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute category_name ocMng[ 4]> Installed attribute mng_category ocMng[ 4]> Installed index category_name ocMng[ 4]> Installed index mng_category ocMng[ 4]> Installed class mng_category ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_category ocMng[ 3]> Installed 000007 objects for ETC0101:mng_category ocMng[ 2]> Installed component ocmng_category ocMng[ 2]> Installing component ocmng_vendor ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute vendor_name ocMng[ 4]> Installed class mng_vendor ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_vendor ocMng[ 3]> Installed 000002 objects for ETC0101:mng_vendor ocMng[ 2]> Installed component ocmng_vendor ocMng[ 2]> Installing component ocmng_author ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute author_name ocMng[ 4]> Installed attribute mng_vendor ocMng[ 4]> Installed class mng_author ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_author ocMng[ 3]> Installed 000003 objects for ETC0101:mng_author ocMng[ 2]> Installed component ocmng_author ocMng[ 2]> Installing component ocmng_component ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute component_name ocMng[ 4]> Installed attribute documentation ocMng[ 4]> Installed attribute dependence ocMng[ 4]> Installed attribute definition ocMng[ 4]> Installed attribute installed ocMng[ 4]> Installed attribute enabled ocMng[ 4]> Installed attribute mng_author ocMng[ 4]> Installed attribute component_body ocMng[ 4]> Installed index component_name ocMng[ 4]> Installed class mng_component ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ocmng_component ocMng[ 2]> Installing component ocmng_dependence ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute type ocMng[ 4]> Installed attribute cdata ocMng[ 4]> Installed attribute mng_require ocMng[ 4]> Installed attribute mng_component ocMng[ 4]> Installed index mng_component ocMng[ 4]> Installed index mng_require ocMng[ 4]> Installed class mng_dependence ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ocmng_dependence ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ETC01-r2d2 ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed extent connections ocMng[ 4]> Installed deposit aquarum ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component ETC01-r2d2 ocMng[ 2]> Installing component r2d2-void ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute code ocMng[ 4]> Installed attribute owner_id ocMng[ 4]> Installed attribute acc00 ocMng[ 4]> Installed attribute acc01 ocMng[ 4]> Installed attribute beg_date ocMng[ 4]> Installed attribute end_date ocMng[ 4]> Installed index code ocMng[ 4]> Installed index owner_id ocMng[ 4]> Installed index acc00 ocMng[ 4]> Installed index acc01 ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:mng_category ocMng[ 3]> Installed 000001 objects for ETC0101:mng_category ocMng[ 2]> Installed component r2d2-void ocMng[ 2]> Installing component r2d2-acc_db ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute acc_enterprise ocMng[ 4]> Installed attribute acc_period ocMng[ 4]> Installed index acc_enterprise ocMng[ 4]> Installed index acc_period ocMng[ 4]> Installed class acc_db ocMng[ 4]> Installed tcolumn acc_db ocMng[ 3]> Installed meta data ETC01 ocMng[ 3]> Installing objects for ETC0101:acc_db ocMng[ 3]> Installed 000001 objects for ETC0101:acc_db ocMng[ 2]> Installed component r2d2-acc_db ocMng[ 2]> Installing component r2d2-connection ocMng[ 3]> Installing meta data ETC01 ocMng[ 4]> Installed attribute user ocMng[ 4]> Installed attribute connect_id ocMng[ 4]> Installed attribute date ocMng[ 4]> Installed attribute passwd ocMng[ 4]> Installed attribute user_data ocMng[ 4]> Installed index user ocMng[ 4]> Installed index connect_id ocMng[ 4]> Installed class connection ocMng[ 3]> Installed meta data ETC01 ocMng[ 2]> Installed component r2d2-connection ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component GBL01-ref1-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed extent goscomstatinfo ocMng[ 4]> Installed extent itk ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component GBL01-ref1-ru ocMng[ 2]> Installing component refs1-void ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed attribute code ocMng[ 4]> Installed attribute unit ocMng[ 4]> Installed attribute name ocMng[ 4]> Installed attribute smallname ocMng[ 4]> Installed attribute owner_id ocMng[ 4]> Installed attribute fullname ocMng[ 4]> Installed index code ocMng[ 4]> Installed index unit ocMng[ 4]> Installed index name ocMng[ 4]> Installed index smallname ocMng[ 4]> Installed index owner_id ocMng[ 4]> Installed index fullname ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component refs1-void ocMng[ 2]> Installing component refs1-void-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed tcolumn code ocMng[ 4]> Installed tcolumn unit ocMng[ 4]> Installed tcolumn name ocMng[ 4]> Installed tcolumn smallname ocMng[ 3]> Installed meta data GBL01 ocMng[ 2]> Installed component refs1-void-ru ocMng[ 2]> Installing component currency-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class currency ocMng[ 4]> Installed tcolumn currency ocMng[ 4]> Installed tview ëÏÄÙ ×ÁÌÀÔ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:currency ocMng[ 3]> Installed 000182 objects for GBL0101:currency ocMng[ 2]> Installed component currency-ru ocMng[ 2]> Installing component country-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class country ocMng[ 4]> Installed tcolumn country ocMng[ 4]> Installed tview çÏÓÕÄÁÒÓÔ×Á ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:country ocMng[ 3]> Installed 000237 objects for GBL0101:country ocMng[ 2]> Installed component country-ru ocMng[ 2]> Installing component units-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed attribute unit_x ocMng[ 4]> Installed attribute main ocMng[ 4]> Installed index unit_x ocMng[ 4]> Installed index main ocMng[ 4]> Installed class units ocMng[ 4]> Installed tcolumn units ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:units ocMng[ 3]> Installed 000423 objects for GBL0101:units ocMng[ 2]> Installed component units-ru ocMng[ 2]> Installing component unit2unit-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed attribute unit_in ocMng[ 4]> Installed attribute unit_out ocMng[ 4]> Installed attribute quantity ocMng[ 4]> Installed attribute longcode ocMng[ 4]> Installed index unit_in ocMng[ 4]> Installed index unit_out ocMng[ 4]> Installed index longcode ocMng[ 4]> Installed class unit2unit ocMng[ 4]> Reading file /home/uri/pr/ocmng/components/ref1/ru/unit2unit.prg ocMng[ 4]> Installed plugin unit2unit ocMng[ 4]> Installed tcolumn unit_in ocMng[ 4]> Installed tcolumn unit_out ocMng[ 4]> Installed tcolumn quantity ocMng[ 4]> Installed tcolumn longcode ocMng[ 4]> Installed tcolumn unit2unit ocMng[ 4]> Installed tview ðÅÒÅÓÞÅÔ ÅÄ.ÉÚÍ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:unit2unit ocMng[ 3]> Installed 000027 objects for GBL0101:unit2unit ocMng[ 2]> Installed component unit2unit-ru ocMng[ 2]> Installing component taxcode-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class taxcode ocMng[ 4]> Installed tcolumn taxcode ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:taxcode ocMng[ 3]> Installed 000447 objects for GBL0101:taxcode ocMng[ 2]> Installed component taxcode-ru ocMng[ 2]> Installing component taxcause-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class taxcause ocMng[ 4]> Installed tcolumn taxcause ocMng[ 4]> Installed tview ëÏÄÙ ÏÓÎÏ×ÁÎÉÊ ÐÌÁÔÅÖÁ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:taxcause ocMng[ 3]> Installed 000011 objects for GBL0101:taxcause ocMng[ 2]> Installed component taxcause-ru ocMng[ 2]> Installing component taxtype-ru ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class taxtype ocMng[ 4]> Installed tcolumn taxtype ocMng[ 4]> Installed tview ÷ÉÄÙ ÎÁÌÏÇ.ÐÌÁÔÅÖÅÊ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:taxtype ocMng[ 3]> Installed 000009 objects for GBL0101:taxtype ocMng[ 2]> Installed component taxtype-ru ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component okato-ru_UDM ocMng[ 3]> Installing meta data GBL01 ocMng[ 4]> Installed class okato ocMng[ 4]> Installed tcolumn okato ocMng[ 4]> Installed tview ëÏÄÙ ÔÅÒÒÉÔÏÒÉÊ ocMng[ 3]> Installed meta data GBL01 ocMng[ 3]> Installing objects for GBL0101:okato ocMng[ 3]> Installed 002516 objects for GBL0101:okato ocMng[ 2]> Installed component okato-ru_UDM ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component GBL02-ref2 ocMng[ 3]> Installing meta data GBL02 ocMng[ 4]> Installed extent VENTinfomation ocMng[ 4]> Installed extent GNIinfomation ocMng[ 3]> Installed meta data GBL02 ocMng[ 2]> Installed component GBL02-ref2 ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC00-employee ocMng[ 3]> Installing meta data ACC00 ocMng[ 4]> Installed extent Contracts ocMng[ 4]> Installed extent EmplDep ocMng[ 4]> Installed extent EmplDoc ocMng[ 3]> Installed meta data ACC00 ocMng[ 2]> Installed component ACC00-employee ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC00-equipment ocMng[ 3]> Installing meta data ACC00 ocMng[ 4]> Installed extent equipment ocMng[ 3]> Installed meta data ACC00 ocMng[ 2]> Installed component ACC00-equipment ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC01-acc-kernel ocMng[ 3]> Installing meta data ACC01 ocMng[ 4]> Installed extent AccPost ocMng[ 4]> Installed extent ACCRegistry ocMng[ 4]> Installed extent AccPostLog ocMng[ 4]> Installed extent ACCRegistryAM ocMng[ 4]> Installed extent ACCRegistryAN ocMng[ 4]> Installed extent ACCRegistryInfo ocMng[ 3]> Installed meta data ACC01 ocMng[ 2]> Installed component ACC01-acc-kernel ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ACC01-acc-pdoc ocMng[ 3]> Installing meta data ACC01 ocMng[ 4]> Installed extent AccDocument ocMng[ 3]> Installed meta data ACC01 ocMng[ 2]> Installed component ACC01-acc-pdoc ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 2]> Installing component ocMng[ 2]> Installed component ocMng[ 1]> Installed component components/ALL.xmo ocMng[ 1]> Statistics: 17 metaobjects, 8 objects, 74.78 seconds --- NEW FILE: _test1.xml --- <?xml version="1.0" encoding="koi8-r" ?> <component> <data> <objects depository="GBL0101" class="taxcode" rules="appendOnly"> <object> <attr name="code">1000000</attr> <attr name="fullname">îáìïçï÷ùå äïèïäù</attr> <attr name="owner_id"></attr> </object> <object> <attr name="code">1010000</attr> <attr name="fullname">îáìïçé îá ðòéâùìø</attr> <attr name="owner_id" refTo="GBL0101:taxcode">1000000</attr> </object> </objects> </data> </component> --- NEW FILE: cleanxmo.sh --- files=`find . \( -path '*.xmo' -a -type f \)` echo 'rm -f */*.xmo' $files rm -f $files files=`find . \( -path '*.bak' -a -type f \)` echo 'rm -f */*.bak' $files rm -f $files files=`find . \( -path '*.log' -a -type f \)` echo 'rm -f */*.log' $files rm -f $files --- NEW FILE: funcs_a.prg --- static bMess := NIL ************************************* function ocMngSetMessager(cBlock) local ret := bMess if valtype(cBlock) == "B" bMess := cBlock else bMess := NIL endif return ret ************************************* function ocMngMessage(xData,nLevel) if bMess == NIL return endif return eval(bMess,toString(xData),nLevel) --- NEW FILE: funcs_c.prg --- #include "ocmng.ch" static parsers := map() /**********************************************/ function ocMngCompile(xmlFile) local ret := map() local i,s, fName local oHtml oHtml := _comp_parse(xmlFile) if !empty(oHtml:error) ret:error := oHtml:error return ret endif __ocmng_init_simbols() ret := _comp_Fill(oHtml) if !empty(ret:error) return ret endif i := rat(".",xmlFile) fName := left(xmlFile,i)+"xmo" s := var2str(ret) memoWrit(fName, s) if fError() != 0 ret:error := fErrorStr() return ret endif return ret /**********************************************/ static function __compNew() local obj := map() obj:classname := "XMLCOMPONENT" obj:cVersion := OCMNG_VERSION obj:error := "" obj:encoding := host_charset() obj:name := "" obj:category := "" obj:version := "" obj:license := "" obj:description := "" obj:created := "" //ctod("") obj:modified := "" //ctod("") obj:author := "" obj:Property := {} obj:Dependence := {} obj:File := {} obj:Dictionary := {} obj:Meta := {} obj:objects := {} return obj /**********************************************/ static function _cmp_parse_value(self,oHtml,oTag) local tagName := "", error := "" local nClosed := 1, lClosed := .f. local oData := map() local i, len, attrName, attrData oData:cdata := "" i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] oData[attrName] := attrData end if oTag:closed aadd(self,oData) return error endif do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) oData:CDATA += "&\n" loop endif if valtype(oTag)=="C" oData:CDATA += oTag loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "VALUE" if "VALUE" $ oData else oData:value := {} endif error := eval( @_cmp_parse_value(), oData:value, oHtml, oTag) if !empty(error) exit else loop endif endif if tagName == "/VALUE" lClosed := .t. endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed error := __error_unclosed("VALUE") return error endif if "VALUE" $ oData .and. !empty(oData:value) oData:cData := "" endif aadd(self,oData) return error /**********************************************/ static function _cmp_parse_attr(oData,oHtml,oTag) local tagName := "", error := "" local nClosed := 1, lClosed := .f. local i, len, obj, attrName, attrData local aName := "", aValue := {}, cValue := "" local aType:="", aRefTo:="", aMeta:="" i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] if attrName == "NAME" aname := attrData endif if attrName == "REFTO" aRefTo := attrData endif //oData[attrName] := attrData end if oTag:closed return error endif do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) cValue += "&\n" loop endif if valtype(oTag)=="C" cValue += oTag loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "VALUE" error := eval( @_cmp_parse_value(), aValue, oHtml, oTag) if !empty(error) exit else loop endif endif if tagName == "/ATTR" lClosed := .t. else error := [Undefined tag in tag ATTR:]+tagName return error endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed error := __error_unclosed("ATTR") return error endif obj :=map() obj:name := aName obj:refto := aRefTo obj:value := iif(empty(aValue),cValue,aValue) aadd(oData,obj) return error /**********************************************/ static function _cmp_parse_object(self,oHtml,oTag) local tagName := "", error:="" local nClosed := 1, lClosed := .f. local oData := {} local i, len, attrName, attrData i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] aadd(oData,{attrName,attrData}) end do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) loop endif if valtype(oTag)=="C" self:error := [Bad data in tag OBJECT:]+toString(oTag) loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName $ parsers self:error := eval( parsers[tagName], oData, oHtml, oTag) if !empty(self:error) exit else loop endif else if tagName == "/OBJECT" lClosed := .t. else self:error := [Undefined tag in tag OBJECT:]+tagName exit endif endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed .and. empty(self:error) self:error := __error_unclosed("OBJECT") return endif aadd(self:object,oData) return /**********************************************/ static function _cmp_parse_objects(self,oHtml,oTag) local tagName := "" local nClosed := 1, lClosed := .f. local oData := map() local i, len, attrName, attrData oData:depository := "" oData:rules := "" oData:class := "" oData:error := "" oData:cData := "" oData:object := {} i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] oData[attrName] := attrData end do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) loop endif if valtype(oTag)=="C" self:error := [Undefined data in tag OBJECTS:]+toString(oTag) loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName $ parsers eval( parsers[tagName], oData, oHtml, oTag) if !empty(oData:error) self:error := oData:error exit endif loop else if tagName == "/OBJECTS" lClosed := .t. else self:error := [Undefined tag in tag OBJECTS:]+tagName exit endif endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed .and. empty(self:error) self:error := __error_unclosed("OBJECTS") return endif aadd(self:objects,oData) return /**********************************************/ static function _cmp_parse_tview(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"TVIEW",{"NAME","CLASS","COLUMNS"}) /**********************************************/ static function _cmp_parse_tcolumn(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"TCOLUMN",{"NAME","WIDTH","HEADER","FOOTER","EXPRESSION"}) /**********************************************/ static function _cmp_parse_plugin(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"PLUGIN",{"NAME","CLASS","FILE"}) /**********************************************/ static function _cmp_parse_class(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"CLASS",{"NAME","ESSENCE","EXTENT","ATTRIBUTES","INDICES"}) /**********************************************/ static function _cmp_parse_index(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"INDEX",{"NAME","EXPRESSION"}) /**********************************************/ static function _cmp_parse_counter(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"COUNTER",{"NAME","TYPE"}) /**********************************************/ static function _cmp_parse_attribute(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"ATTRIBUTE",{"NAME","TYPE","LEN","DEC","LENTYPE"}) /**********************************************/ static function _cmp_parse_depository(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"DEPOSITORY",{"NAME"}) /**********************************************/ static function _cmp_parse_extent(oMeta,oHtml,oTag) return _cmp_parse_simple2(oMeta,oHtml,oTag,"EXTENT",{"NAME"}) /**********************************************/ static function _cmp_parse_meta(self,oHtml,oTag) local tagName := "" local nClosed := 1, lClosed := .f. local oData := map() local i, len, attrName, attrData oData:dictionary := "" oData:error := "" oData:cData := "" oData:rules := "" oData:depository := {} oData:extent := {} oData:counter := {} oData:attribute := {} oData:index := {} oData:plugin := {} oData:class := {} oData:tcolumn := {} oData:tview := {} i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] oData[attrName] := attrData end do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) loop endif if valtype(oTag)=="C" self:error := [Undefined data in tag META:]+toString(oTag) loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName $ parsers eval( parsers[tagName], oData, oHtml, oTag) loop else if tagName == "/META" lClosed := .t. else self:error := [Undefined tag in tag META:]+tagName exit endif endif if !empty(oData:error) self:error := oData:error exit endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed .and. empty(self:error) self:error := __error_unclosed("META") return endif aadd(self:meta,oData) return /**********************************************/ static function _cmp_parse_file(self,oHtml,oTag) return _cmp_parse_simple2(self,oHtml,oTag,"FILE",{"NAME","FORM","TYPE"}) /**********************************************/ static function _cmp_parse_dependence(self,oHtml,oTag) return _cmp_parse_simple2(self,oHtml,oTag,"DEPENDENCE",{"TYPE","VERSION"}) /**********************************************/ static function _cmp_parse_property(self,oHtml,oTag) return _cmp_parse_simple2(self,oHtml,oTag,"PROPERTY",{"NAME"}) /**********************************************/ static function _cmp_parse_simple2(self,oHtml,oTag,cName,aAttr) local tagName := "" local nClosed := 1, lClosed := .f. local oData := map() local i, len, attrName, attrData i := 0; len := len(aAttr) while (i++) < len oData[ aAttr[i] ] := "" end oData:cdata := "" i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] oData[attrName] := attrData end if oTag:closed aadd(self[cName],oData) return endif do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) oData:CDATA += "&\n" loop endif if valtype(oTag)=="C" oData:CDATA += oTag loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "/"+cName lClosed := .t. endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed self:error := __error_unclosed(cName) return endif if left(oData:cdata,9) == "<![CDATA[" oData:cdata := substr(oData:cData,10,len(oData:cdata)-12) endif aadd(self[cName],oData) return /**********************************************/ static function _cmp_parse_dict(self,oHtml,oTag) local tagName := "" local nClosed := 1, lClosed := .f. local oDict := map(), curAttr:="" do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) loop endif if valtype(oTag)=="C" oDict[curAttr] := oTag loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "/DICTIONARY" lClosed := .t. endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif if left(tagName,1) == "/" loop endif curAttr := tagName end if !lClosed self:error := __error_unclosed("DICTIONARY") else aadd(self:Dictionary,oDict) endif return /**********************************************/ static function _cmp_parse_install(self,oHtml,oTag) return _cmp_parse_skipEmpty(self,oHtml,oTag,"INSTALL") /**********************************************/ static function _cmp_parse_uninstall(self,oHtml,oTag) return _cmp_parse_skipEmpty(self,oHtml,oTag,"UNINSTALL") /**********************************************/ static function _cmp_parse_locale(self,oHtml,oTag) return _cmp_parse_skipEmpty(self,oHtml,oTag,"LOCALE") /**********************************************/ static function _cmp_parse_commands(self,oHtml,oTag) return _cmp_parse_skipEmpty(self,oHtml,oTag,"COMMANDS") /**********************************************/ static function _cmp_parse_skipEmpty(self,oHtml,oTag,cName) local tagName := "" local nClosed := 1, lClosed := .f. do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) loop endif if valtype(oTag)=="C" loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "/"+cName lClosed := .t. endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if !lClosed self:error := __error_unclosed(cName) endif return /**********************************************/ static function _cmp_parse_author(self,oHtml,oTag) local tagName := "" local nClosed := 1, lClosed := .f. local oDict := map(), curAttr:="" do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) loop endif if valtype(oTag)=="C" if valtype(self:author) == "C" self:author := oTag else self:author[curAttr] := oTag endif loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "/AUTHOR" lClosed := .t. endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif if left(tagName,1) == "/" loop endif if valtype(self:author) == "C" self:author := map() endif curAttr := tagName end if !lClosed self:error := __error_unclosed("AUTHOR") endif return /**********************************************/ static function _cmp_parse_modified(self,oHtml,oTag) local ret ret := _cmp_parse_simple1(self,oHtml,oTag,"MODIFIED") //self:modified := ctod(self:modified,"YYYY-MM-DD") return ret /**********************************************/ static function _cmp_parse_created(self,oHtml,oTag) local ret ret := _cmp_parse_simple1(self,oHtml,oTag,"CREATED") //self:created := ctod(self:created,"YYYY-MM-DD") return ret /**********************************************/ static function _cmp_parse_description(self,oHtml,oTag) return _cmp_parse_simple1(self,oHtml,oTag,"DESCRIPTION") /**********************************************/ static function _cmp_parse_license(self,oHtml,oTag) return _cmp_parse_simple1(self,oHtml,oTag,"LICENSE") /**********************************************/ static function _cmp_parse_category(self,oHtml,oTag) return _cmp_parse_simple1(self,oHtml,oTag,"CATEGORY") /**********************************************/ static function _cmp_parse_version(self,oHtml,oTag) return _cmp_parse_simple1(self,oHtml,oTag,"VERSION") /**********************************************/ static function _cmp_parse_name(self,oHtml,oTag) return _cmp_parse_simple1(self,oHtml,oTag,"NAME") /**********************************************/ static function _cmp_parse_simple1(self,oHtml,oTag,sName) local tagName := "" local nClosed := 1, lClosed := .f. local i, len, attrName, attrData i := 0; len := len(oTag:fieldsOrder) while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] self[attrName] := attrData end if oTag:closed return endif do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) self:cData += "&\n" loop endif if valtype(oTag)=="C" self[sName] += oTag loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) endif if tagName == "/"+sName lClosed := .t. endif nClosed += iif( left(tagName,1) == "/", -1, +1) if nClosed == 0 exit endif end if ! lClosed self:error := __error_unclosed(sName) endif return /**********************************************/ static function _cmp_parse_header(self,oHtml,oTag) local len := len(oTag:fieldsOrder) local i := 0, attrName, attrData while (i++) < len attrName := oTag:fieldsOrder[i] //oTag:hashname(i) attrData := oTag:fields[attrName] if upper(attrName) == "ENCODING" if !empty(attrData) self:encoding := attrData endif endif end return /**********************************************/ static function _comp_fill(oHtml) local i,attrName,attrData local oTag, tagName := "", oldTag := "" local oComp := __compNew() _init_comp_parsers() do while !oHtml:empty() oTag:=oHtml:get() if empty(oTag) //oComp:__add("","&\n") loop endif if valtype(oTag)=="O" .and. oTag:classname=="HTML_TAG" tagName := upper(oTag:tagname) else //oComp:__add("", oTag ) loop endif if tagName $ parsers eval( parsers[tagName], oComp, oHtml, oTag) loop endif if !empty(oComp:error) exit endif //? tagName //,oTag enddo return oComp /**********************************************/ static function _comp_parse(xmlFile) local hFile, oHtml local lSet := set(_SET_TRANSLATE_PATH,.f.) oHtml := htmlParserNew() hFile := fopen(xmlFile,0) set(_SET_TRANSLATE_PATH,lSet) if hFile < 0 oHtml:error := [Error open file:]+xmlFile+":"+ferrorstr() return oHtml endif do while !fileeof(hFile) oHtml:put(freadstr(hFile,20)) enddo fclose(hFile) oHtml:end() return oHtml /**********************************************/ static function _init_comp_parsers() parsers["?XML"] := @_cmp_parse_header() parsers["NAME"] := @_cmp_parse_name() parsers["CATEGORY"] := @_cmp_parse_category() parsers["VERSION"] := @_cmp_parse_version() parsers["DESCRIPTION"] := @_cmp_parse_description() parsers["LICENSE"] := @_cmp_parse_license() parsers["CREATED"] := @_cmp_parse_created() parsers["MODIFIED"] := @_cmp_parse_modified() parsers["AUTHOR"] := @_cmp_parse_author() parsers["PROPERTY"] := @_cmp_parse_property() //parsers["REQUIRES"] := @_cmp_parse_requires() parsers["DEPENDENCE"] := @_cmp_parse_dependence() parsers["FILE"] := @_cmp_parse_file() parsers["COMMANDS"] := @_cmp_parse_commands() parsers["LOCALE"] := @_cmp_parse_locale() parsers["INSTALL"] := @_cmp_parse_install() parsers["UNINSTALL"] := @_cmp_parse_uninstall() parsers["DICTIONARY"] := @_cmp_parse_dict() parsers["META"] := @_cmp_parse_meta() parsers["DEPOSITORY"] := @_cmp_parse_depository() parsers["EXTENT"] := @_cmp_parse_extent() parsers["COUNTER"] := @_cmp_parse_counter() parsers["ATTRIBUTE"] := @_cmp_parse_attribute() parsers["INDEX"] := @_cmp_parse_index() parsers["CLASS"] := @_cmp_parse_class() parsers["PLUGIN"] := @_cmp_parse_plugin() parsers["TCOLUMN"] := @_cmp_parse_tcolumn() parsers["TVIEW"] := @_cmp_parse_tview() parsers["OBJECTS"] := @_cmp_parse_objects() parsers["OBJECT"] := @_cmp_parse_object() parsers["ATTR"] := @_cmp_parse_attr() return /**********************************************/ static function __error_unclosed(tagName) local ret ret := [Unclosed XML tag:]+tagName return ret #include "funcs_s.prg" --- NEW FILE: funcs_d.prg --- #include "ocmng.ch" ***************************************** function ocmngDump(fName,nLevel) local i,j,m,k,x,s local oComp local error := "" __ocmng_init_simbols() s := memoRead(fName) if fError() != 0 return fErrorStr() endif oComp := str2var(s) return __ocmng_dump(oComp,0) ***************************************** static function __ocmng_Dump(oComp,nLevel) local i,j,m,k,x,s s := replicate("&\t",nLevel) m:=mapkeys(oComp) for i=1 to len(m) x := oComp[m[i]] if valtype(x) $ "C,N,D,L" else loop endif ? s+hashname(m[i])+":", x next for i=1 to len(m) x := oComp[m[i]] if valtype(x) $ "A" else loop endif for j =1 to len(x) if valtype(x[j]) == "O" ? s+hashname(m[i])+"["+alltrim(str(j))+"]:"+"{" __ocmng_Dump(x[j],nLevel+1) ? s+"}" else ? s+hashname(m[i])+"["+alltrim(str(j))+"]:", x[j] endif next next return "" #include "funcs_s.prg" --- NEW FILE: funcs_i.prg --- #include "ocmng.ch" static dependies := {} static ncount1 := 0, ncount2:=0 ***************************************** function ocmngInstall(fName,nWhat,nLevel) local i,j,m,k,x,s,tm:=seconds() local fPath := "./",cFile ... [truncated message content] |
From: Andrey C. <sku...@us...> - 2006-06-02 14:42:46
|
Update of /cvsroot/eas-dev/ocmng/components/ocmng/security In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16255/ocmng/security Log Message: Directory /cvsroot/eas-dev/ocmng/components/ocmng/security added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:42:45
|
Update of /cvsroot/eas-dev/ocmng/components/ocmng/forms In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16255/ocmng/forms Log Message: Directory /cvsroot/eas-dev/ocmng/components/ocmng/forms added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:42:27
|
Update of /cvsroot/eas-dev/ocmng/components/ref1/ru In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16200/ref1/ru Log Message: Directory /cvsroot/eas-dev/ocmng/components/ref1/ru added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:42:27
|
Update of /cvsroot/eas-dev/ocmng/components/ref1/ru_UDM In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16200/ref1/ru_UDM Log Message: Directory /cvsroot/eas-dev/ocmng/components/ref1/ru_UDM added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:37:45
|
Update of /cvsroot/eas-dev/ocmng/components/r2d2 In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13770/r2d2 Log Message: Directory /cvsroot/eas-dev/ocmng/components/r2d2 added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:37:45
|
Update of /cvsroot/eas-dev/ocmng/components/acc-kernel In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13770/acc-kernel Log Message: Directory /cvsroot/eas-dev/ocmng/components/acc-kernel added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:37:45
|
Update of /cvsroot/eas-dev/ocmng/components/configs In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13770/configs Log Message: Directory /cvsroot/eas-dev/ocmng/components/configs added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:37:45
|
Update of /cvsroot/eas-dev/ocmng/components/ref1 In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13770/ref1 Log Message: Directory /cvsroot/eas-dev/ocmng/components/ref1 added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:37:45
|
Update of /cvsroot/eas-dev/ocmng/components/tests In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13770/tests Log Message: Directory /cvsroot/eas-dev/ocmng/components/tests added to the repository |
From: Andrey C. <sku...@us...> - 2006-06-02 14:37:44
|
Update of /cvsroot/eas-dev/ocmng/components/employee In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13770/employee Log Message: Directory /cvsroot/eas-dev/ocmng/components/employee added to the repository |