objecthandler-cvs Mailing List for ObjectHandler (Page 8)
Brought to you by:
ericehlers,
nando
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(115) |
Jun
(109) |
Jul
(85) |
Aug
(49) |
Sep
(19) |
Oct
(105) |
Nov
(16) |
Dec
(43) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(63) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eric E. <eri...@us...> - 2006-10-04 13:24:38
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/metadata In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11486/metadata Modified Files: functions.xml Log Message: remove redundant metadata Index: functions.xml =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/metadata/functions.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** functions.xml 3 Oct 2006 09:32:37 -0000 1.19 --- functions.xml 4 Oct 2006 13:24:36 -0000 1.20 *************** *** 13,49 **** <Functions> ! <Procedure name='ohVersion'> ! <description>returns the version number of ObjectHandler</description> ! <alias>ObjHandler::version</alias> ! <supportedPlatforms> ! <supportedPlatform>excel</supportedPlatform> ! </supportedPlatforms> ! <ParameterList> ! <Parameters/> ! </ParameterList> ! <ReturnValue> ! <type>string</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure> ! ! <Procedure name='ohObjectCount'> ! <description>#/objects in repository</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().objectCount</alias> ! <supportedPlatforms> ! <supportedPlatform>excel</supportedPlatform> ! </supportedPlatforms> ! <ParameterList> ! <Parameters/> ! </ParameterList> ! <ReturnValue> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure> ! ! <Procedure name='ohListObjectIDs'> ! <description>list the IDs of objects in repository matching regex</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().listObjectIDs</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 13,19 ---- <Functions> ! <Procedure name='ohCallGC'> ! <description>delete orphaned objects from repository</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().collectGarbage</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 51,85 **** <ParameterList> <Parameters> ! <Parameter name='regex'> ! <type>string</type> <tensorRank>scalar</tensorRank> ! <description>optional matching pattern in UNIX format (wildcard is .*)</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>string</type> ! <tensorRank>vector</tensorRank> </ReturnValue> </Procedure> ! <Member name='ohPropertyNames' objectClass='Object'> ! <description>retrieve the property names of a given object</description> ! <libraryFunction>propertyNames</libraryFunction> ! <supportedPlatforms> ! <supportedPlatform>excel</supportedPlatform> ! </supportedPlatforms> ! <ParameterList> ! <Parameters/> ! </ParameterList> ! <ReturnValue> ! <type>string</type> ! <tensorRank>vector</tensorRank> ! </ReturnValue> ! </Member> ! ! <Member name='ohPropertyValue' objectClass='Object' dependencyTrigger='true'> ! <description>retrieve the value of a named property</description> ! <libraryFunction>propertyValue</libraryFunction> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 21,40 ---- <ParameterList> <Parameters> ! <Parameter name='deletePermanent' default='false'> ! <type>bool</type> <tensorRank>scalar</tensorRank> ! <description>also delete permanent objects</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>void</type> ! <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohDeleteAllObjects'> ! <description>delete all objects from repository</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().deleteAllObjects</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 87,102 **** <ParameterList> <Parameters> ! <Parameter name='fieldName'> ! <type>string</type> <tensorRank>scalar</tensorRank> ! <description>name of property</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>any</type> <tensorRank>scalar</tensorRank> </ReturnValue> ! </Member> <Procedure name='ohDeleteObject'> --- 42,57 ---- <ParameterList> <Parameters> ! <Parameter name='deletePermanent' default='false'> ! <type>bool</type> <tensorRank>scalar</tensorRank> ! <description>also delete permanent objects</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>void</type> <tensorRank>scalar</tensorRank> </ReturnValue> ! </Procedure> <Procedure name='ohDeleteObject'> *************** *** 121,145 **** </Procedure> - <Procedure name='ohDeleteAllObjects'> - <description>delete all objects from repository</description> - <alias>ObjHandler::ObjectHandlerXL::instance().deleteAllObjects</alias> - <supportedPlatforms> - <supportedPlatform>excel</supportedPlatform> - </supportedPlatforms> - <ParameterList> - <Parameters> - <Parameter name='deletePermanent' default='false'> - <type>bool</type> - <tensorRank>scalar</tensorRank> - <description>also delete permanent objects</description> - </Parameter> - </Parameters> - </ParameterList> - <ReturnValue> - <type>void</type> - <tensorRank>scalar</tensorRank> - </ReturnValue> - </Procedure> - <Procedure name='ohDependsOn'> <description>forces a dependency between two functions and returns the update counter</description> --- 76,79 ---- *************** *** 209,215 **** </Procedure> ! <Procedure name='ohSetLogFile'> ! <description>begin logging to named file</description> ! <alias>ObjHandler::setLogFile</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 143,165 ---- </Procedure> ! <Procedure name='ohFunctionCount'> ! <description>returns the number of functions in this addin</description> ! <alias>ObjHandler::version</alias> ! <documentationOnly>true</documentationOnly> ! <supportedPlatforms> ! <supportedPlatform>excel</supportedPlatform> ! </supportedPlatforms> ! <ParameterList> ! <Parameters/> ! </ParameterList> ! <ReturnValue> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure> ! ! <Procedure name='ohListObjectIDs'> ! <description>list the IDs of objects in repository matching regex</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().listObjectIDs</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 217,229 **** <ParameterList> <Parameters> ! <Parameter name='logFileName'> <type>string</type> <tensorRank>scalar</tensorRank> ! <description>path and name of log file</description> ! </Parameter> ! <Parameter name='logLevel' default='4'> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! <description>threshold for log messages</description> </Parameter> </Parameters> --- 167,174 ---- <ParameterList> <Parameters> ! <Parameter name='regex'> <type>string</type> <tensorRank>scalar</tensorRank> ! <description>optional matching pattern in UNIX format (wildcard is .*)</description> </Parameter> </Parameters> *************** *** 231,257 **** <ReturnValue> <type>string</type> ! <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohSetLogLevel'> ! <description>set threshold for log messages</description> ! <alias>ObjHandler::setLogLevel</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> <ParameterList> ! <Parameters> ! <Parameter name='logLevel'> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! <description>threshold for log messages</description> ! </Parameter> ! </Parameters> </ParameterList> <ReturnValue> <type>void</type> <tensorRank>scalar</tensorRank> - <description>returns new logging threshold</description> </ReturnValue> </Procedure> --- 176,195 ---- <ReturnValue> <type>string</type> ! <tensorRank>vector</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohLogAllObjects'> ! <description>write all object descriptions to log file</description> ! <alias>ObjHandler::logAllObjects</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> <ParameterList> ! <Parameters/> </ParameterList> <ReturnValue> <type>void</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> *************** *** 280,284 **** <type>void</type> <tensorRank>scalar</tensorRank> - <description>message logged</description> </ReturnValue> </Procedure> --- 218,221 ---- *************** *** 305,311 **** </Procedure> ! <Procedure name='ohLogAllObjects'> ! <description>write all object descriptions to log file</description> ! <alias>ObjHandler::logAllObjects</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 242,248 ---- </Procedure> ! <Procedure name='ohObjectCount'> ! <description>#/objects in repository</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().objectCount</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 315,386 **** </ParameterList> <ReturnValue> ! <type>void</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! <!--Procedure name='ohSetConsole'> ! <description>fork output to stdout</description> ! <alias>ObjHandler::setConsole</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> ! <ParameterList> ! <Parameters> ! <Parameter name='console'> ! <type>int</type> ! <tensorRank>scalar</tensorRank> ! <description>1 (enable) / 0 (disable)</description> ! </Parameter> ! <Parameter name='logLevel' default='4'> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! <description>threshold for log messages</description> ! </Parameter> ! </Parameters> ! </ParameterList> ! <ReturnValue> ! <type>void</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure--> ! <!--Procedure name='ohGetGcEnabled'> ! <description>get value of ObjectHandler garbage collection flag</description> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> ! <ParameterList> ! <Parameters/> ! </ParameterList> ! <ReturnValue> ! <type>bool</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure> ! <Procedure name='ohSetGcEnabled'> ! <description>set value of ObjectHandler garbage collection flag</description> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> ! <ParameterList> ! <Parameters> ! <Parameter name='enableGarbageCollection'> ! <type>bool</type> ! <tensorRank>scalar</tensorRank> ! <description>true (enable) / false (disable)</description> ! </Parameter> ! </Parameters> ! </ParameterList> ! <ReturnValue> ! <type>bool</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure--> ! <Procedure name='ohCallGC'> ! <description>delete orphaned objects from repository</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().collectGarbage</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 252,327 ---- </ParameterList> <ReturnValue> ! <type>long</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohPack'> ! <description>trim error values from bottom/right of matrix/vector</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().packMatrix</alias> ! <documentationOnly>true</documentationOnly> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> ! <ParameterList> ! <Parameters> ! <Parameter name='inputRange'> ! <type>any</type> ! <tensorRank>matrix</tensorRank> ! <description>scalar/vector/matrix of values to be packed</description> ! </Parameter> ! </Parameters> ! </ParameterList> ! <ReturnValue> ! <type>any</type> ! <tensorRank>matrix</tensorRank> ! </ReturnValue> ! </Procedure> ! <Procedure name='ohParseField'> ! <description>Extract the ith number from a whitespace-delimited list of fields</description> ! <alias>ObjHandler::parseField</alias> ! <documentationOnly>true</documentationOnly> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> ! <ParameterList> ! <Parameters> ! <Parameter name='line'> ! <type>string</type> ! <tensorRank>scalar</tensorRank> ! <description>text to be parsed</description> ! </Parameter> ! <Parameter name='index'> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! <description>index (1-based) of desired field</description> ! </Parameter> ! </Parameters> ! </ParameterList> ! <ReturnValue> ! <type>double</type> ! <tensorRank>scalar</tensorRank> ! </ReturnValue> ! </Procedure> ! <Member name='ohPropertyNames' objectClass='Object'> ! <description>retrieve the property names of a given object</description> ! <libraryFunction>propertyNames</libraryFunction> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> </supportedPlatforms> ! <ParameterList> ! <Parameters/> ! </ParameterList> ! <ReturnValue> ! <type>string</type> ! <tensorRank>vector</tensorRank> ! </ReturnValue> ! </Member> ! <Member name='ohPropertyValue' objectClass='Object' dependencyTrigger='true'> ! <description>retrieve the value of a named property</description> ! <libraryFunction>propertyValue</libraryFunction> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 388,403 **** <ParameterList> <Parameters> ! <Parameter name='deletePermanent' default='false'> ! <type>bool</type> <tensorRank>scalar</tensorRank> ! <description>also delete permanent objects</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>void</type> <tensorRank>scalar</tensorRank> </ReturnValue> ! </Procedure> <Procedure name='ohRetrieveError'> --- 329,344 ---- <ParameterList> <Parameters> ! <Parameter name='fieldName'> ! <type>string</type> <tensorRank>scalar</tensorRank> ! <description>name of property</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>any</type> <tensorRank>scalar</tensorRank> </ReturnValue> ! </Member> <Procedure name='ohRetrieveError'> *************** *** 416,423 **** </Procedure> ! <Procedure name='ohPack'> ! <description>trim error values from bottom/right of matrix/vector</description> ! <alias>ObjHandler::ObjectHandlerXL::instance().packMatrix</alias> ! <documentationOnly>true</documentationOnly> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 357,363 ---- </Procedure> ! <Procedure name='ohSetLogFile'> ! <description>begin logging to named file</description> ! <alias>ObjHandler::setLogFile</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 425,445 **** <ParameterList> <Parameters> ! <Parameter name='inputRange'> ! <type>any</type> ! <tensorRank>matrix</tensorRank> ! <description>scalar/vector/matrix of values to be packed</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>any</type> ! <tensorRank>matrix</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohParseField'> ! <description>Extract the ith number from a whitespace-delimited list of fields</description> ! <alias>ObjHandler::parseField</alias> ! <documentationOnly>true</documentationOnly> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 365,389 ---- <ParameterList> <Parameters> ! <Parameter name='logFileName'> ! <type>string</type> ! <tensorRank>scalar</tensorRank> ! <description>path and name of log file</description> ! </Parameter> ! <Parameter name='logLevel' default='4'> ! <type>long</type> ! <tensorRank>scalar</tensorRank> ! <description>threshold for log messages</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>string</type> ! <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohSetLogLevel'> ! <description>set threshold for log messages</description> ! <alias>ObjHandler::setLogLevel</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 447,472 **** <ParameterList> <Parameters> ! <Parameter name='line'> ! <type>string</type> ! <tensorRank>scalar</tensorRank> ! <description>text to be parsed</description> ! </Parameter> ! <Parameter name='index'> <type>long</type> <tensorRank>scalar</tensorRank> ! <description>index (1-based) of desired field</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>double</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! <Procedure name='ohFunctionCount'> ! <description>returns the number of functions in this addin</description> <alias>ObjHandler::version</alias> - <documentationOnly>true</documentationOnly> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> --- 391,411 ---- <ParameterList> <Parameters> ! <Parameter name='logLevel'> <type>long</type> <tensorRank>scalar</tensorRank> ! <description>threshold for log messages</description> </Parameter> </Parameters> </ParameterList> <ReturnValue> ! <type>void</type> <tensorRank>scalar</tensorRank> + <description>returns new logging threshold</description> </ReturnValue> </Procedure> ! <Procedure name='ohVersion'> ! <description>returns the version number of ObjectHandler</description> <alias>ObjHandler::version</alias> <supportedPlatforms> <supportedPlatform>excel</supportedPlatform> *************** *** 476,484 **** </ParameterList> <ReturnValue> ! <type>long</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! </Functions> </Category> --- 415,424 ---- </ParameterList> <ReturnValue> ! <type>string</type> <tensorRank>scalar</tensorRank> </ReturnValue> </Procedure> ! </Functions> </Category> + |
Update of /cvsroot/objecthandler/ObjectHandler/Docs In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11545/Docs Modified Files: .cvsignore Makefile.am docs.vcproj docs_vc8.vcproj objecthandler.doxy oh_header.html oh_headeronline.html Log Message: autogenerate documentation Index: docs_vc8.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/docs_vc8.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** docs_vc8.vcproj 28 Aug 2006 10:02:10 -0000 1.2 --- docs_vc8.vcproj 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 71,75 **** </File> <File ! RelativePath=".\pages\ohfunctions.docs" > </File> --- 71,75 ---- </File> <File ! RelativePath=".\auto.pages\functions.docs" > </File> Index: .cvsignore =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/.cvsignore,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** .cvsignore 28 Aug 2006 10:02:09 -0000 1.2 --- .cvsignore 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 1,7 **** ! *.chm ! *.user ! .objecthandler.doxy ! .time-stamp* build doxywarnings.txt html --- 1,5 ---- ! auto.pages build + *.chm doxywarnings.txt html *************** *** 10,11 **** --- 8,12 ---- Makefile.in ObjectHandler-docs-*-html.tar.gz + .objecthandler.doxy + .time-stamp* + *.user Index: oh_headeronline.html =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/oh_headeronline.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** oh_headeronline.html 28 Aug 2006 10:02:10 -0000 1.2 --- oh_headeronline.html 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 53,57 **** <tr><td><img src="images/transp.gif" width="1" height="5"></td> <tr><td class="menuheadernolink">Functional<br>Documentation</td></tr> ! <tr><td><a class="menu" href="ohfunctions.html">Functions</a></td></tr> <tr><td><a class="menu" href="excelbinding.html">Excel Binding</a></td></tr> <tr><td><img src="images/transp.gif" width="1" height="5"></td> --- 53,57 ---- <tr><td><img src="images/transp.gif" width="1" height="5"></td> <tr><td class="menuheadernolink">Functional<br>Documentation</td></tr> ! <tr><td><a class="menu" href="functions.html">Functions</a></td></tr> <tr><td><a class="menu" href="excelbinding.html">Excel Binding</a></td></tr> <tr><td><img src="images/transp.gif" width="1" height="5"></td> Index: oh_header.html =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/oh_header.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** oh_header.html 28 Aug 2006 10:02:10 -0000 1.2 --- oh_header.html 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 53,57 **** <tr><td><img src="images/transp.gif" width="1" height="5"></td> <tr><td class="menuheadernolink">Functional<br>Documentation</td></tr> ! <tr><td><a class="menu" href="ohfunctions.html">Functions</a></td></tr> <tr><td><a class="menu" href="excelbinding.html">Excel Binding</a></td></tr> <tr><td><img src="images/transp.gif" width="1" height="5"></td> --- 53,57 ---- <tr><td><img src="images/transp.gif" width="1" height="5"></td> <tr><td class="menuheadernolink">Functional<br>Documentation</td></tr> ! <tr><td><a class="menu" href="functions.html">Functions</a></td></tr> <tr><td><a class="menu" href="excelbinding.html">Excel Binding</a></td></tr> <tr><td><img src="images/transp.gif" width="1" height="5"></td> Index: Makefile.am =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.am 3 Oct 2006 18:29:32 -0000 1.3 --- Makefile.am 4 Oct 2006 12:04:56 -0000 1.4 *************** *** 26,30 **** dist-hook: ! mkdir -p $(distdir)/pages $(distdir)/images cp -p $(srcdir)/pages/*.docs $(distdir)/pages cp -p $(srcdir)/images/*.gif $(srcdir)/images/*.ico \ --- 26,31 ---- dist-hook: ! mkdir -p $(distdir)/auto.pages $(distdir)/pages $(distdir)/images ! cp -p $(srcdir)/auto.pages/*.docs $(distdir)/auto.pages cp -p $(srcdir)/pages/*.docs $(distdir)/pages cp -p $(srcdir)/images/*.gif $(srcdir)/images/*.ico \ Index: docs.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/docs.vcproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** docs.vcproj 28 Aug 2006 10:02:10 -0000 1.2 --- docs.vcproj 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 51,55 **** </File> <File ! RelativePath=".\pages\ohfunctions.docs"> </File> <File --- 51,55 ---- </File> <File ! RelativePath=".\auto.pages\functions.docs"> </File> <File Index: objecthandler.doxy =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/objecthandler.doxy,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** objecthandler.doxy 28 Aug 2006 10:02:10 -0000 1.2 --- objecthandler.doxy 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 71,75 **** ## configuration options related to the input files ##--------------------------------------------------------------------------- ! INPUT = ./pages \ ../oh FILE_PATTERNS = *.docs \ --- 71,76 ---- ## configuration options related to the input files ##--------------------------------------------------------------------------- ! INPUT = ./auto.pages \ ! ./pages \ ../oh FILE_PATTERNS = *.docs \ |
From: Eric E. <eri...@us...> - 2006-10-04 12:05:01
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/scripts In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11545/gensrc/scripts Modified Files: gensrc.py Log Message: autogenerate documentation Index: gensrc.py =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/scripts/gensrc.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gensrc.py 13 Sep 2006 09:02:59 -0000 1.2 --- gensrc.py 4 Oct 2006 12:04:56 -0000 1.3 *************** *** 18,21 **** --- 18,22 ---- import config import addinexcel + import addindoxygen import utilities *************** *** 24,27 **** --- 25,29 ---- addins = [] addins.append(utilities.serializeObject(addinexcel.AddinExcel)) + addins.append(utilities.serializeObject(addindoxygen.AddinDoxygen)) utilities.generate(addins) |
From: Eric E. <eri...@us...> - 2006-10-04 12:05:00
|
Update of /cvsroot/objecthandler/ObjectHandler/Docs/pages In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11545/Docs/pages Removed Files: ohfunctions.docs Log Message: autogenerate documentation --- ohfunctions.docs DELETED --- |
From: Eric E. <eri...@us...> - 2006-10-04 09:37:46
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18276/ohxl Modified Files: callingrange.cpp objecthandlerxl.hpp Log Message: instanceName -> objectID Index: objecthandlerxl.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/objecthandlerxl.hpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** objecthandlerxl.hpp 20 Sep 2006 20:17:07 -0000 1.14 --- objecthandlerxl.hpp 4 Oct 2006 09:37:43 -0000 1.15 *************** *** 41,45 **** static ObjectHandlerXL &instance(); ! //! Store Object with given instance name. /*! This function is optimized for the base case where the calling range contains a single formula. --- 41,45 ---- static ObjectHandlerXL &instance(); ! //! Store Object with given ID. /*! This function is optimized for the base case where the calling range contains a single formula. *************** *** 49,53 **** possibility that functions to construct Objects are intermixed with functions from another source e.g. Excel or some other user addin ! - "anonymous objects" i.e. the user has not supplied an instance name and a default value is generated --- 49,53 ---- possibility that functions to construct Objects are intermixed with functions from another source e.g. Excel or some other user addin ! - "anonymous objects" i.e. the user has not supplied an ID and a default value is generated Index: callingrange.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/callingrange.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** callingrange.cpp 20 Sep 2006 20:17:07 -0000 1.10 --- callingrange.cpp 4 Oct 2006 09:37:43 -0000 1.11 *************** *** 249,253 **** for (i = callingRange.residentObjects_.begin(); i != callingRange.residentObjects_.end(); i++) ! out << std::setw(COL_WIDTH) << " instance name: " << i->first << std::endl; out << std::endl; --- 249,253 ---- for (i = callingRange.residentObjects_.begin(); i != callingRange.residentObjects_.end(); i++) ! out << std::setw(COL_WIDTH) << " object ID: " << i->first << std::endl; out << std::endl; |
From: Eric E. <eri...@us...> - 2006-10-04 09:37:46
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/xl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18276/Examples/xl Modified Files: account.cpp account.hpp addindynamic1.cpp addindynamic2.cpp addinstatic.cpp Log Message: instanceName -> objectID Index: addindynamic1.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/addindynamic1.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** addindynamic1.cpp 20 Sep 2006 20:17:07 -0000 1.8 --- addindynamic1.cpp 4 Oct 2006 09:37:43 -0000 1.9 *************** *** 38,42 **** TempStrNoSize("\x05""CCNC#"), // parameter codes TempStrNoSize("\x13""addin1CreateAccount"), // function display name ! TempStrNoSize("\x26""instanceName,accountNumber,accountType"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category --- 38,42 ---- TempStrNoSize("\x05""CCNC#"), // parameter codes TempStrNoSize("\x13""addin1CreateAccount"), // function display name ! TempStrNoSize("\x22""objectID,accountNumber,accountType"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category *************** *** 46,50 **** TempStrNoSize("\x03""LCN"), // parameter codes TempStrNoSize("\x10""addin1SetBalance"),// function display name ! TempStrNoSize("\x14""instanceName,balance"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category --- 46,50 ---- TempStrNoSize("\x03""LCN"), // parameter codes TempStrNoSize("\x10""addin1SetBalance"),// function display name ! TempStrNoSize("\x10""objectID,balance"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category *************** *** 65,69 **** DLLEXPORT char* addin1CreateAccount( ! char *instanceName, long *accountNumber, char *accountType) { --- 65,69 ---- DLLEXPORT char* addin1CreateAccount( ! char *objectID, long *accountNumber, char *accountType) { *************** *** 78,85 **** objectPointer->setProperties( boost::shared_ptr<ObjHandler::ValueObject>( ! new AccountValueObject(instanceName, *accountNumber, accountType))); const std::string returnValue = ! ObjHandler::ObjectHandler::instance().storeObject(instanceName, objectPointer); static char ret[XL_MAX_STR_LEN]; --- 78,85 ---- objectPointer->setProperties( boost::shared_ptr<ObjHandler::ValueObject>( ! new AccountValueObject(objectID, *accountNumber, accountType))); const std::string returnValue = ! ObjHandler::ObjectHandler::instance().storeObject(objectID, objectPointer); static char ret[XL_MAX_STR_LEN]; *************** *** 96,100 **** } ! DLLEXPORT short int *addin1SetBalance(char *instanceName, long *balance) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { --- 96,100 ---- } ! DLLEXPORT short int *addin1SetBalance(char *objectID, long *balance) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { *************** *** 102,106 **** ( new ObjHandler::FunctionCall("addin1SetBalance") ); ! OH_GET_OBJECT(accountObject, instanceName, AccountObject) accountObject->setBalance(*balance); --- 102,106 ---- ( new ObjHandler::FunctionCall("addin1SetBalance") ); ! OH_GET_OBJECT(accountObject, objectID, AccountObject) accountObject->setBalance(*balance); Index: account.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/account.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** account.hpp 9 Jun 2006 18:58:27 -0000 1.2 --- account.hpp 4 Oct 2006 09:37:43 -0000 1.3 *************** *** 54,66 **** public: AccountValueObject( ! const std::string &instanceName, const int &accountNumber, const std::string &accountType) ! : instanceName_(instanceName), accountNumber_(accountNumber), accountType_(accountType) {} std::vector<std::string> getPropertyNames() const; boost::any getProperty(const std::string& name) const; protected: static const char* mPropertyNames[]; ! std::string instanceName_; int accountNumber_; std::string accountType_; --- 54,66 ---- public: AccountValueObject( ! const std::string &objectID, const int &accountNumber, const std::string &accountType) ! : objectID_(objectID), accountNumber_(accountNumber), accountType_(accountType) {} std::vector<std::string> getPropertyNames() const; boost::any getProperty(const std::string& name) const; protected: static const char* mPropertyNames[]; ! std::string objectID_; int accountNumber_; std::string accountType_; Index: account.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/account.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** account.cpp 9 Jun 2006 18:58:27 -0000 1.3 --- account.cpp 4 Oct 2006 09:37:43 -0000 1.4 *************** *** 35,39 **** const char* AccountValueObject::mPropertyNames[] = { ! "instanceName", "accountNumber", "accountType"}; --- 35,39 ---- const char* AccountValueObject::mPropertyNames[] = { ! "objectID", "accountNumber", "accountType"}; *************** *** 45,49 **** boost::any AccountValueObject::getProperty(const std::string& name) const { ! if(name == "instanceName") return instanceName_; else if(name == "accountNumber") return accountNumber_; else if(name == "accountType") return accountType_; --- 45,49 ---- boost::any AccountValueObject::getProperty(const std::string& name) const { ! if(name == "objectID") return objectID_; else if(name == "accountNumber") return accountNumber_; else if(name == "accountType") return accountType_; Index: addinstatic.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/addinstatic.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** addinstatic.cpp 3 Oct 2006 12:59:24 -0000 1.14 --- addinstatic.cpp 4 Oct 2006 09:37:43 -0000 1.15 *************** *** 45,49 **** TempStrNoSize("\x06""CCNCP#"), // parameter codes TempStrNoSize("\x0D""createAccount"), // function display name ! TempStrNoSize("\x26""instanceName,accountNumber,accountType"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category --- 45,49 ---- TempStrNoSize("\x06""CCNCP#"), // parameter codes TempStrNoSize("\x0D""createAccount"), // function display name ! TempStrNoSize("\x22""objectID,accountNumber,accountType"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category *************** *** 53,57 **** TempStrNoSize("\x03""LCN"), // parameter codes TempStrNoSize("\x0A""setBalance"), // function display name ! TempStrNoSize("\x14""instanceName,balance"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category --- 53,57 ---- TempStrNoSize("\x03""LCN"), // parameter codes TempStrNoSize("\x0A""setBalance"), // function display name ! TempStrNoSize("\x10""objectID,balance"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category *************** *** 61,65 **** TempStrNoSize("\x03""NCP"), // parameter codes TempStrNoSize("\x0A""getBalance"), // function display name ! TempStrNoSize("\x14""instanceName,trigger"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category --- 61,65 ---- TempStrNoSize("\x03""NCP"), // parameter codes TempStrNoSize("\x0A""getBalance"), // function display name ! TempStrNoSize("\x10""objectID,trigger"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category *************** *** 80,84 **** DLLEXPORT char *createAccount( ! char *instanceName, long *accountNumber, char *accountType, --- 80,84 ---- DLLEXPORT char *createAccount( ! char *objectID, long *accountNumber, char *accountType, *************** *** 98,106 **** objectPointer->setProperties( boost::shared_ptr<ObjHandler::ValueObject>( ! new AccountValueObject(instanceName, *accountNumber, accountType))); objectPointer->setPermanent(); const std::string returnValue = ! ObjHandler::ObjectHandler::instance().storeObject(instanceName, objectPointer); static char ret[XL_MAX_STR_LEN]; --- 98,106 ---- objectPointer->setProperties( boost::shared_ptr<ObjHandler::ValueObject>( ! new AccountValueObject(objectID, *accountNumber, accountType))); objectPointer->setPermanent(); const std::string returnValue = ! ObjHandler::ObjectHandler::instance().storeObject(objectID, objectPointer); static char ret[XL_MAX_STR_LEN]; *************** *** 117,121 **** } ! DLLEXPORT short int *setBalance(char *instanceName, long *balance) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { --- 117,121 ---- } ! DLLEXPORT short int *setBalance(char *objectID, long *balance) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { *************** *** 123,127 **** ( new ObjHandler::FunctionCall("createAccount") ); ! OH_GET_OBJECT(accountObject, instanceName, AccountObject) accountObject->setBalance(*balance); --- 123,127 ---- ( new ObjHandler::FunctionCall("createAccount") ); ! OH_GET_OBJECT(accountObject, objectID, AccountObject) accountObject->setBalance(*balance); *************** *** 138,142 **** } ! DLLEXPORT long *getBalance(char *instanceName, OPER *trigger) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { --- 138,142 ---- } ! DLLEXPORT long *getBalance(char *objectID, OPER *trigger) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { *************** *** 144,148 **** ( new ObjHandler::FunctionCall("createAccount") ); ! OH_GET_OBJECT(accountObject, instanceName, AccountObject) static long ret; --- 144,148 ---- ( new ObjHandler::FunctionCall("createAccount") ); ! OH_GET_OBJECT(accountObject, objectID, AccountObject) static long ret; Index: addindynamic2.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/addindynamic2.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** addindynamic2.cpp 9 Jun 2006 18:58:27 -0000 1.6 --- addindynamic2.cpp 4 Oct 2006 09:37:43 -0000 1.7 *************** *** 38,42 **** TempStrNoSize("\x03""NCP"), // parameter codes TempStrNoSize("\x10""addin2GetBalance"),// function display name ! TempStrNoSize("\x14""instanceName,trigger"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category --- 38,42 ---- TempStrNoSize("\x03""NCP"), // parameter codes TempStrNoSize("\x10""addin2GetBalance"),// function display name ! TempStrNoSize("\x10""objectID,trigger"), // comma-delimited list of parameters TempStrNoSize("\x01""1"), // function type (0 = hidden function, 1 = worksheet function, 2 = command macro) TempStrNoSize("\x07""Example")); // function category *************** *** 56,60 **** } ! DLLEXPORT long *addin2GetBalance(char *instanceName, OPER *trigger) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { --- 56,60 ---- } ! DLLEXPORT long *addin2GetBalance(char *objectID, OPER *trigger) { boost::shared_ptr < ObjHandler::FunctionCall > functionCall; try { *************** *** 62,66 **** ( new ObjHandler::FunctionCall("addin2GetBalance") ); ! OH_GET_OBJECT(accountObject, instanceName, AccountObject) static long ret; --- 62,66 ---- ( new ObjHandler::FunctionCall("addin2GetBalance") ); ! OH_GET_OBJECT(accountObject, objectID, AccountObject) static long ret; |
From: Eric E. <eri...@us...> - 2006-10-04 09:37:45
|
Update of /cvsroot/objecthandler/ObjectHandler/oh In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18276/oh Modified Files: objecthandler.cpp objecthandler.hpp utilities.cpp utilities.hpp Log Message: instanceName -> objectID Index: utilities.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/utilities.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** utilities.cpp 31 Aug 2006 11:00:46 -0000 1.14 --- utilities.cpp 4 Oct 2006 09:37:43 -0000 1.15 *************** *** 61,68 **** ObjectHandler::instance().retrieveObjectImpl(objectID); if (object) { ! msg << "log dump of object with instance name = " << objectID << std::endl; msg << *object.get(); } else { ! msg << "no object in repository with instance name = " << objectID << std::endl; } Logger::instance().logMessage(msg.str()); --- 61,68 ---- ObjectHandler::instance().retrieveObjectImpl(objectID); if (object) { ! msg << "log dump of object with ID = " << objectID << std::endl; msg << *object.get(); } else { ! msg << "no object in repository with ID = " << objectID << std::endl; } Logger::instance().logMessage(msg.str()); Index: utilities.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/utilities.hpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** utilities.hpp 1 Sep 2006 21:28:10 -0000 1.11 --- utilities.hpp 4 Oct 2006 09:37:43 -0000 1.12 *************** *** 67,73 **** const int &logLevel = 4); ! //! Write Object with given instance name to log file. /*! Writes a warning message to log file ! if no object is found with given instance name. */ void logObject(const std::string &objectID); --- 67,73 ---- const int &logLevel = 4); ! //! Write Object with given ID to log file. /*! Writes a warning message to log file ! if no object is found with given ID. */ void logObject(const std::string &objectID); Index: objecthandler.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/objecthandler.hpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** objecthandler.hpp 31 Aug 2006 11:00:46 -0000 1.12 --- objecthandler.hpp 4 Oct 2006 09:37:43 -0000 1.13 *************** *** 44,55 **** //! \name storing / retrieving / deleting Objects //@{ ! //! Store Object with given instance name. ! /*! Any existing Object with that instance name is deleted. */ virtual std::string storeObject(std::string objectID, const boost::shared_ptr < Object > &object); ! //! Retrieve Object with given instance name. ! /*! Throws exception if no Object exists with that instance name. */ virtual boost::shared_ptr<Object> retrieveObjectImpl(const std::string &objectID) const; --- 44,55 ---- //! \name storing / retrieving / deleting Objects //@{ ! //! Store Object with given ID. ! /*! Any existing Object with that ID is deleted. */ virtual std::string storeObject(std::string objectID, const boost::shared_ptr < Object > &object); ! //! Retrieve Object with given ID. ! /*! Throws exception if no Object exists with that ID. */ virtual boost::shared_ptr<Object> retrieveObjectImpl(const std::string &objectID) const; *************** *** 71,76 **** } ! //! Delete Object with given instance name. ! /*! Does nothing if no Object exists with that instance name. */ virtual void deleteObject(const std::string &objectID); --- 71,76 ---- } ! //! Delete Object with given ID. ! /*! Does nothing if no Object exists with that ID. */ virtual void deleteObject(const std::string &objectID); Index: objecthandler.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/oh/objecthandler.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** objecthandler.cpp 17 Jul 2006 10:11:39 -0000 1.3 --- objecthandler.cpp 4 Oct 2006 09:37:43 -0000 1.4 *************** *** 62,66 **** std::ostringstream msg; msg << "ObjectHandler error: attempt to retrieve object " ! << "with unknown instance name '" << objectID << "'"; throw Exception(msg.str()); } else --- 62,66 ---- std::ostringstream msg; msg << "ObjectHandler error: attempt to retrieve object " ! << "with unknown ID '" << objectID << "'"; throw Exception(msg.str()); } else *************** *** 125,129 **** std::ostringstream msg; msg << "ObjectHandler error: cannot create object " ! "with instance name '" << objectID << "' because an object with that name already exists"; throw Exception(msg.str()); --- 125,129 ---- std::ostringstream msg; msg << "ObjectHandler error: cannot create object " ! "with ID '" << objectID << "' because an object with that name already exists"; throw Exception(msg.str()); |
From: Eric E. <eri...@us...> - 2006-10-04 09:37:45
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/C++ In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18276/Examples/C++ Modified Files: account.cpp account.hpp Log Message: instanceName -> objectID Index: account.hpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/C++/account.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** account.hpp 9 Jun 2006 18:58:27 -0000 1.2 --- account.hpp 4 Oct 2006 09:37:43 -0000 1.3 *************** *** 53,65 **** public: AccountValueObject( ! const std::string &instanceName, const int &accountNumber, const std::string &accountType) ! : instanceName_(instanceName), accountNumber_(accountNumber), accountType_(accountType) {} std::vector<std::string> getPropertyNames() const; boost::any getProperty(const std::string& name) const; protected: static const char* mPropertyNames[]; ! std::string instanceName_; int accountNumber_; std::string accountType_; --- 53,65 ---- public: AccountValueObject( ! const std::string &objectID, const int &accountNumber, const std::string &accountType) ! : objectID_(objectID), accountNumber_(accountNumber), accountType_(accountType) {} std::vector<std::string> getPropertyNames() const; boost::any getProperty(const std::string& name) const; protected: static const char* mPropertyNames[]; ! std::string objectID_; int accountNumber_; std::string accountType_; Index: account.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/C++/account.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** account.cpp 9 Jun 2006 18:58:27 -0000 1.2 --- account.cpp 4 Oct 2006 09:37:43 -0000 1.3 *************** *** 35,39 **** const char* AccountValueObject::mPropertyNames[] = { ! "instanceName", "accountNumber", "accountType"}; --- 35,39 ---- const char* AccountValueObject::mPropertyNames[] = { ! "objectID", "accountNumber", "accountType"}; *************** *** 45,49 **** boost::any AccountValueObject::getProperty(const std::string& name) const { ! if(name == "instanceName") return instanceName_; else if(name == "accountNumber") return accountNumber_; else if(name == "accountType") return accountType_; --- 45,49 ---- boost::any AccountValueObject::getProperty(const std::string& name) const { ! if(name == "objectID") return objectID_; else if(name == "accountNumber") return accountNumber_; else if(name == "accountType") return accountType_; |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:38
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/ohxllib In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/ohxl/ohxllib Modified Files: ohxllib.vcproj ohxllib_vc8.vcproj Log Message: subdivide function registration code into multiple source files Index: ohxllib_vc8.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/ohxllib/ohxllib_vc8.vcproj,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ohxllib_vc8.vcproj 20 Sep 2006 20:17:08 -0000 1.9 --- ohxllib_vc8.vcproj 2 Oct 2006 12:31:17 -0000 1.10 *************** *** 418,422 **** </File> <File ! RelativePath="..\functions.cpp" > </File> --- 418,426 ---- </File> <File ! RelativePath="..\functioncount.hpp" ! > ! </File> ! <File ! RelativePath="..\Functions\functions.cpp" > </File> *************** *** 442,458 **** </File> <File ! RelativePath="..\register.cpp" ! > ! </File> ! <File ! RelativePath="..\register.hpp" ! > ! </File> ! <File ! RelativePath="..\unregister.cpp" > </File> <File ! RelativePath="..\unregister.hpp" > </File> --- 446,454 ---- </File> <File ! RelativePath="..\Register\register_all.hpp" > </File> <File ! RelativePath="..\Register\register_functions.cpp" > </File> Index: ohxllib.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/ohxllib/ohxllib.vcproj,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ohxllib.vcproj 20 Sep 2006 20:17:08 -0000 1.5 --- ohxllib.vcproj 2 Oct 2006 12:31:17 -0000 1.6 *************** *** 355,362 **** </File> <File ! RelativePath="..\..\oh\objecthandler.hpp"> </File> <File ! RelativePath="..\..\oh\objecthandler.cpp"> </File> <File --- 355,362 ---- </File> <File ! RelativePath="..\..\oh\objecthandler.cpp"> </File> <File ! RelativePath="..\..\oh\objecthandler.hpp"> </File> <File *************** *** 404,408 **** </File> <File ! RelativePath="..\functions.cpp"> </File> <File --- 404,408 ---- </File> <File ! RelativePath="..\Functions\functions.cpp"> </File> <File *************** *** 419,432 **** </File> <File ! RelativePath="..\register.cpp"> ! </File> ! <File ! RelativePath="..\register.hpp"> ! </File> ! <File ! RelativePath="..\unregister.cpp"> </File> <File ! RelativePath="..\unregister.hpp"> </File> </Filter> --- 419,426 ---- </File> <File ! RelativePath="..\Register\register_all.hpp"> </File> <File ! RelativePath="..\Register\register_functions.cpp"> </File> </Filter> |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:35
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/Register In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/ohxl/Register Added Files: .cvsignore Log Message: subdivide function registration code into multiple source files --- NEW FILE: .cvsignore --- *.* |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:35
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/stubs In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/gensrc/stubs Added Files: stub.excel.addin Removed Files: stub.excel.register stub.excel.unregister Log Message: subdivide function registration code into multiple source files --- NEW FILE: stub.excel.addin --- #include <xlsdk/xlsdkdefines.hpp> #include <ohxl/objecthandlerxl.hpp> #include <ohxl/Register/register.hpp> #include <ohxl/export.hpp> #include <ohxl/conversions.hpp> #include <sstream> // instantiate the object handler singleton ObjHandler::ObjectHandlerXL objectHandler; DLLEXPORT int xlAutoOpen() { static XLOPER xDll; try { Excel(xlGetName, &xDll, 0); %(registerFunctions)s Excel(xlfRegister, 0, 11, &xDll, TempStrNoSize("\x06""ohPack"), // function code name TempStrNoSize("\x03""RP#"), // parameter codes TempStrNoSize("\x06""ohPack"), // function display name TempStrNoSize("\x10""inputRange"), // comma-delimited list of parameter names TempStrNoSize("\x01""1"), // function type (1 = worksheet function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x3D""trim #ERR/empty values from bottom/right edges of input range"), // function description TempStrNoSize("\x1D""range of cells to be packed ")); // description of parameter 1 Excel(xlfRegister, 0, 14, &xDll, TempStrNoSize("\x0C""ohParseField"), // function code name TempStrNoSize("\x06""RCNCP#"), // parameter codes TempStrNoSize("\x0C""ohParseField"), // function display name TempStrNoSize("\x19""line,index,type,delimiter"), // comma-delimited list of parameter names TempStrNoSize("\x01""1"), // function type (1 = worksheet function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x41""Extract the ith number from a whitespace-delimited list of fields"), // function description TempStrNoSize("\x11""text to be parsed"), // description of parameter 1 TempStrNoSize("\x20""index (1-based) of desired field"), // description of parameter 2 TempStrNoSize("\x21""required datatype (string/number)"), // description of parameter 3 TempStrNoSize("\x29""field delimiter (default is whitespace) ")); // description of parameter 3 Excel(xlFree, 0, 1, &xDll); return 1; } catch (const std::exception &e) { std::ostringstream err; err << "Error loading ObjectHandler: " << e.what(); Excel(xlcAlert, 0, 1, TempStrStl(err.str())); Excel(xlFree, 0, 1, &xDll); return 0; } catch (...) { Excel(xlFree, 0, 1, &xDll); return 0; } } DLLEXPORT int xlAutoClose() { static XLOPER xDll; try { // empty the ObjectHandler repository Excel(xlUDF, 0, 1, TempStrNoSize("\x12""ohDeleteAllObjects")); // unregister the addin functions Excel(xlGetName, &xDll, 0); %(registerFunctions)s Excel(xlfRegister, 0, 11, &xDll, TempStrNoSize("\x06""ohPack"), // function code name TempStrNoSize("\x03""RP#"), // parameter codes TempStrNoSize("\x06""ohPack"), // function display name TempStrNoSize("\x10""inputRange"), // comma-delimited list of parameter names TempStrNoSize("\x01""0"), // function type (0 = hidden function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x3D""trim #ERR/empty values from bottom/right edges of input range"), // function description TempStrNoSize("\x1D""range of cells to be packed ")); // description of parameter 1 Excel4(xlfRegisterId, &xlRegID, 2, &xDll, TempStrNoSize("\x06""ohPack")); // function code name Excel4(xlfUnregister, 0, 1, &xlRegID); Excel(xlfRegister, 0, 14, &xDll, TempStrNoSize("\x0C""ohParseField"), // function code name TempStrNoSize("\x06""RCNCP#"), // parameter codes TempStrNoSize("\x0C""ohParseField"), // function display name TempStrNoSize("\x19""line,index,type,delimiter"), // comma-delimited list of parameter names TempStrNoSize("\x01""0"), // function type (0 = hidden function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x41""Extract the ith number from a whitespace-delimited list of fields"), // function description TempStrNoSize("\x11""text to be parsed"), // description of parameter 1 TempStrNoSize("\x20""index (1-based) of desired field"), // description of parameter 2 TempStrNoSize("\x21""required datatype (string/number)"), // description of parameter 3 TempStrNoSize("\x29""field delimiter (default is whitespace) ")); // description of parameter 3 Excel4(xlfRegisterId, &xlRegID, 2, &xDll, TempStrNoSize("\x0C""ohParseField")); // function code name Excel4(xlfUnregister, 0, 1, &xlRegID); Excel(xlFree, 0, 1, &xDll); return 1; } catch (...) { Excel(xlFree, 0, 1, &xDll); return 0; } } DLLEXPORT void xlAutoFree(XLOPER *px) { if (px->xltype & xltypeStr && px->val.str) delete [] px->val.str; else if (px->xltype & xltypeMulti && px->val.array.lparray) { int size = px->val.array.rows * px->val.array.columns; for (int i=0; i<size; i++) if (px->val.array.lparray[i].xltype & xltypeStr && px->val.array.lparray[i].val.str) delete [] px->val.array.lparray[i].val.str; delete [] px->val.array.lparray; } } DLLEXPORT XLOPER *xlAddInManagerInfo(XLOPER *xlAction) { XLOPER xlReturn; static XLOPER xlLongName; // Coerce the argument XLOPER to an integer. Excel(xlCoerce, &xlReturn, 2, xlAction, TempInt(xltypeInt)); // The only valid argument value is 1. In this case we return the // long name for the XLL. Any other value should result in the // return of a #VALUE! error. if (1 == xlReturn.val.w) { ObjHandler::scalarToXloper(xlLongName, std::string("ObjectHandler 0.1.4")); } else { xlLongName.xltype = xltypeErr; xlLongName.val.err = xlerrValue; } return &xlLongName; } --- stub.excel.register DELETED --- --- stub.excel.unregister DELETED --- |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:34
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/ohxll In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/ohxl/ohxll Modified Files: ohxll.vcproj ohxll_vc8.vcproj Removed Files: addin.cpp Log Message: subdivide function registration code into multiple source files --- addin.cpp DELETED --- Index: ohxll_vc8.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/ohxll/ohxll_vc8.vcproj,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ohxll_vc8.vcproj 20 Sep 2006 20:17:07 -0000 1.11 --- ohxll_vc8.vcproj 2 Oct 2006 12:31:17 -0000 1.12 *************** *** 305,309 **** </File> <File ! RelativePath="..\functions.cpp" > </File> --- 305,309 ---- </File> <File ! RelativePath="..\Functions\functions.cpp" > </File> *************** *** 329,345 **** </File> <File ! RelativePath="..\register.cpp" ! > ! </File> ! <File ! RelativePath="..\register.hpp" ! > ! </File> ! <File ! RelativePath="..\unregister.cpp" > </File> <File ! RelativePath="..\unregister.hpp" > </File> --- 329,337 ---- </File> <File ! RelativePath="..\Register\register_all.hpp" > </File> <File ! RelativePath="..\Register\register_functions.cpp" > </File> *************** *** 349,353 **** > <File ! RelativePath="addin.cpp" > </File> --- 341,345 ---- > <File ! RelativePath="..\Register\addin.cpp" > </File> Index: ohxll.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/ohxll/ohxll.vcproj,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ohxll.vcproj 20 Sep 2006 20:17:07 -0000 1.6 --- ohxll.vcproj 2 Oct 2006 12:31:17 -0000 1.7 *************** *** 175,182 **** </File> <File ! RelativePath="..\..\oh\objecthandler.hpp"> </File> <File ! RelativePath="..\..\oh\objecthandler.cpp"> </File> <File --- 175,182 ---- </File> <File ! RelativePath="..\..\oh\objecthandler.cpp"> </File> <File ! RelativePath="..\..\oh\objecthandler.hpp"> </File> <File *************** *** 224,228 **** </File> <File ! RelativePath="..\functions.cpp"> </File> <File --- 224,228 ---- </File> <File ! RelativePath="..\Functions\functions.cpp"> </File> <File *************** *** 239,252 **** </File> <File ! RelativePath="..\register.cpp"> ! </File> ! <File ! RelativePath="..\register.hpp"> ! </File> ! <File ! RelativePath="..\unregister.cpp"> </File> <File ! RelativePath="..\unregister.hpp"> </File> </Filter> --- 239,246 ---- </File> <File ! RelativePath="..\Register\register_all.hpp"> </File> <File ! RelativePath="..\Register\register_functions.cpp"> </File> </Filter> *************** *** 255,259 **** Filter=""> <File ! RelativePath="addin.cpp"> </File> </Filter> --- 249,253 ---- Filter=""> <File ! RelativePath="..\Register\addin.cpp"> </File> </Filter> |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:34
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/xl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/Examples/xl Modified Files: addinstatic.cpp Log Message: subdivide function registration code into multiple source files Index: addinstatic.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/addinstatic.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** addinstatic.cpp 20 Sep 2006 20:17:07 -0000 1.11 --- addinstatic.cpp 2 Oct 2006 12:31:16 -0000 1.12 *************** *** 18,22 **** #include <account.hpp> #include <ohxl/objhandlerxl.hpp> ! #include <ohxl/register.hpp> #include <ohxl/export.hpp> --- 18,22 ---- #include <account.hpp> #include <ohxl/objhandlerxl.hpp> ! #include <ohxl/Register/register_all.hpp> #include <ohxl/export.hpp> *************** *** 39,43 **** Excel(xlGetName, &xDll, 0); ! ohRegisterFunctions(xDll); Excel(xlfRegister, 0, 7, &xDll, --- 39,43 ---- Excel(xlGetName, &xDll, 0); ! registerFunctions(xDll); Excel(xlfRegister, 0, 7, &xDll, |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:34
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/gensrc Modified Files: Makefile.vc gensrc.vcproj gensrc_vc8.vcproj Log Message: subdivide function registration code into multiple source files Index: Makefile.vc =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/Makefile.vc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.vc 16 Jun 2006 19:29:19 -0000 1.3 --- Makefile.vc 2 Oct 2006 12:31:16 -0000 1.4 *************** *** 13,20 **** STUBS= stubs\stub.copyright \ stubs\stub.excel.exports \ ! stubs\stub.excel.includes \ ! stubs\stub.excel.register \ ! stubs\stub.excel.unregister INPUTS = $(METADATA) $(CONFIG) $(STUBS) $(CORE_DEPENDENCIES) --- 13,19 ---- STUBS= stubs\stub.copyright \ + stubs\stub.excel.addin \ stubs\stub.excel.exports \ ! stubs\stub.excel.includes INPUTS = $(METADATA) $(CONFIG) $(STUBS) $(CORE_DEPENDENCIES) Index: gensrc_vc8.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/gensrc_vc8.vcproj,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** gensrc_vc8.vcproj 6 Jun 2006 09:08:27 -0000 1.1 --- gensrc_vc8.vcproj 2 Oct 2006 12:31:16 -0000 1.2 *************** *** 67,83 **** </File> <File ! RelativePath="stubs\stub.excel.exports" ! > ! </File> ! <File ! RelativePath="stubs\stub.excel.includes" > </File> <File ! RelativePath="stubs\stub.excel.register" > </File> <File ! RelativePath="stubs\stub.excel.unregister" > </File> --- 67,79 ---- </File> <File ! RelativePath=".\stubs\stub.excel.addin" > </File> <File ! RelativePath="stubs\stub.excel.exports" > </File> <File ! RelativePath="stubs\stub.excel.includes" > </File> Index: gensrc.vcproj =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/gensrc.vcproj,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** gensrc.vcproj 9 Jun 2006 18:50:04 -0000 1.3 --- gensrc.vcproj 2 Oct 2006 12:31:16 -0000 1.4 *************** *** 57,70 **** </File> <File ! RelativePath="stubs\stub.excel.exports"> ! </File> ! <File ! RelativePath="stubs\stub.excel.includes"> </File> <File ! RelativePath="stubs\stub.excel.register"> </File> <File ! RelativePath="stubs\stub.excel.unregister"> </File> </Filter> --- 57,67 ---- </File> <File ! RelativePath=".\stubs\stub.excel.addin"> </File> <File ! RelativePath="stubs\stub.excel.exports"> </File> <File ! RelativePath="stubs\stub.excel.includes"> </File> </Filter> |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:34
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14894/gensrc/config Modified Files: excel.xml Log Message: subdivide function registration code into multiple source files Index: excel.xml =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/config/excel.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** excel.xml 27 Sep 2006 16:04:16 -0000 1.3 --- excel.xml 2 Oct 2006 12:31:16 -0000 1.4 *************** *** 1,13 **** <root> - <AddinFiles> - <AddinFile name='register.cpp'> - <Buffer name='stub' fileName='stub.excel.register' local='true'/> - </AddinFile> - <AddinFile name='unregister.cpp'> - <Buffer name='stub' fileName='stub.excel.unregister' local='true'/> - </AddinFile> - </AddinFiles> - <exportSymbols>true</exportSymbols> <Buffer name='exportStub' fileName='stub.excel.exports' local='true'/> --- 1,4 ---- |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:32
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/Register In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32443/Register Log Message: Directory /cvsroot/objecthandler/ObjectHandler/ohxl/Register added to the repository |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:21
|
Update of /cvsroot/objecthandler/ObjectHandler/Docs/pages In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26440 Modified Files: installation.docs Log Message: update docs Index: installation.docs =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/pages/installation.docs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** installation.docs 19 May 2006 15:12:41 -0000 1.1 --- installation.docs 3 Oct 2006 12:08:28 -0000 1.2 *************** *** 36,43 **** <a href="http://logging.apache.org/log4cxx/index.html">log4cxx</a>, the logging framework for the Apache project. ObjectHandler uses a customized ! copy of log4cxx, comprising a complete copy of log4cxx version 0.9.7, amended ! to provide a boost compliant build process and other minor enhancements. ! ObjectHandler and log4cxx are available for download from the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740&package_id=141162">QuantLib downloads page on sourceforge</a> --- 36,43 ---- <a href="http://logging.apache.org/log4cxx/index.html">log4cxx</a>, the logging framework for the Apache project. ObjectHandler uses a customized ! copy of log4cxx version 0.9.7, called "log4cxx 0.9.7a", amended to provide a ! boost compliant build process and other minor enhancements. ! ObjectHandler and log4cxx 0.9.7a are available for download from the <a href="http://sourceforge.net/project/showfiles.php?group_id=12740&package_id=141162">QuantLib downloads page on sourceforge</a> *************** *** 65,69 **** No binary installer is provided for the standalone ObjectHandler library. However ObjectHandler functionality is compiled into the binary ! installation of QuantLibAddin. \section inst_source Source Installation --- 65,69 ---- No binary installer is provided for the standalone ObjectHandler library. However ObjectHandler functionality is compiled into the binary ! installation of <a href="http://www.quantlibxl.org">QuantLibXL</a>. \section inst_source Source Installation *************** *** 75,82 **** \subsection inst_win_prerequisites Prerequisites ! Before building ObjectHandler you need to build log4cxx. <ul> ! <li>download the log4cxx zip from the QuantLib downloads page</li> <li>log4cxx should be unzipped to a path containing no spaces as the library seems to complain otherwise</li> --- 75,82 ---- \subsection inst_win_prerequisites Prerequisites ! Before building ObjectHandler you need to build log4cxx 0.9.7a. <ul> ! <li>download the log4cxx 0.9.7a zip from the QuantLib downloads page</li> <li>log4cxx should be unzipped to a path containing no spaces as the library seems to complain otherwise</li> *************** *** 249,254 **** tar file from the QuantLib downloads page and install as follows: \verbatim ! tar zxfv log4cxx-0.9.7.tar.gz ! cd log4cxx-0.9.7 ./autogen.sh ./configure --- 249,254 ---- tar file from the QuantLib downloads page and install as follows: \verbatim ! tar zxfv log4cxx-0.9.7a.tar.gz ! cd log4cxx-0.9.7a ./autogen.sh ./configure *************** *** 302,306 **** \verbatim ! g++ -o example example.o -L$HOME/ObjectHandler/lib -lObjectHandler -llog4cxx \endverbatim --- 302,307 ---- \verbatim ! g++ -o example example.o -L$HOME/ObjectHandler/lib ! -lObjectHandler -llog4cxx \endverbatim |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:18
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/Functions In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32415/Functions Log Message: Directory /cvsroot/objecthandler/ObjectHandler/ohxl/Functions added to the repository |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:10
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31124/ohxl Removed Files: register.hpp unregister.hpp Log Message: cleaner implementation for ohPack/ohParseFields --- register.hpp DELETED --- --- unregister.hpp DELETED --- |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:10
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/Register In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31124/ohxl/Register Modified Files: .cvsignore Added Files: register_manual.cpp Log Message: cleaner implementation for ohPack/ohParseFields Index: .cvsignore =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/Register/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** .cvsignore 2 Oct 2006 12:31:17 -0000 1.1 --- .cvsignore 3 Oct 2006 09:32:37 -0000 1.2 *************** *** 1 **** ! *.* --- 1,3 ---- ! addin.cpp ! register_all.hpp ! register_functions.cpp --- NEW FILE: register_manual.cpp --- /* Copyright (C) 2006 Eric Ehlers This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or modify it under the terms of the QuantLib license. You should have received a copy of the license along with this program; if not, please email qua...@li... The license is also available online at http://quantlib.org/html/license.html This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details. */ // Excel functions coded by hand, to be registered with Excel // alongside the autogenerated functions. #include <xlsdk/xlsdkdefines.hpp> void registerOhManual(const XLOPER &xDll) { Excel(xlfRegister, 0, 21, &xDll, // function code name TempStrNoSize("\x0B""ohDependsOn"), // parameter codes TempStrNoSize("\x0D""NPPPPPPPPPPP#"), // function display name TempStrNoSize("\x0B""ohDependsOn"), // comma-delimited list of parameter names TempStrNoSize("\x4D""dummy0,dummy1,dummy2,dummy3,dummy4,dummy5,dummy6,dummy7,dummy8,dummy9,trigger"), // function type (0 = hidden, 1 = worksheet) TempStrNoSize("\x01""1"), // function category TempStrNoSize("\x0D""ObjectHandler"), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x00"""), // function description TempStrNoSize("\x48""forces a dependency between two functions and returns the update counter"), TempStrNoSize("\x06""dummy0"), TempStrNoSize("\x06""dummy1"), TempStrNoSize("\x06""dummy2"), TempStrNoSize("\x06""dummy3"), TempStrNoSize("\x06""dummy4"), TempStrNoSize("\x06""dummy5"), TempStrNoSize("\x06""dummy6"), TempStrNoSize("\x06""dummy7"), TempStrNoSize("\x06""dummy8"), TempStrNoSize("\x06""dummy9"), TempStrNoSize("\x09""trigger ")); Excel(xlfRegister, 0, 10, &xDll, // function code name TempStrNoSize("\x0F""ohFunctionCount"), // parameter codes TempStrNoSize("\x02""N#"), // function display name TempStrNoSize("\x0F""ohFunctionCount"), // comma-delimited list of parameter names TempStrNoSize("\x00"""), // function type (0 = hidden, 1 = worksheet) TempStrNoSize("\x01""1"), // function category TempStrNoSize("\x0D""ObjectHandler"), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x00"""), // function description TempStrNoSize("\x2F""returns the number of functions in this addin ")); Excel(xlfRegister, 0, 11, &xDll, TempStrNoSize("\x06""ohPack"), // function code name TempStrNoSize("\x03""RP#"), // parameter codes TempStrNoSize("\x06""ohPack"), // function display name TempStrNoSize("\x10""inputRange"), // comma-delimited list of parameter names TempStrNoSize("\x01""1"), // function type (1 = worksheet function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x3D""trim #ERR/empty values from bottom/right edges of input range"), // function description TempStrNoSize("\x1D""range of cells to be packed ")); // description of parameter 1 Excel(xlfRegister, 0, 14, &xDll, TempStrNoSize("\x0C""ohParseField"), // function code name TempStrNoSize("\x06""RCNCP#"), // parameter codes TempStrNoSize("\x0C""ohParseField"), // function display name TempStrNoSize("\x19""line,index,type,delimiter"), // comma-delimited list of parameter names TempStrNoSize("\x01""1"), // function type (1 = worksheet function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x41""Extract the ith number from a whitespace-delimited list of fields"), // function description TempStrNoSize("\x11""text to be parsed"), // description of parameter 1 TempStrNoSize("\x20""index (1-based) of desired field"), // description of parameter 2 TempStrNoSize("\x21""required datatype (string/number)"), // description of parameter 3 TempStrNoSize("\x29""field delimiter (default is whitespace) ")); // description of parameter 3 } void unregisterOhManual(const XLOPER &xDll) { XLOPER xlRegID; // Unregister each function. Due to a bug in Excel's C API this is a // two-step process. Thanks to Laurent Longre for discovering the // workaround implemented here. Excel(xlfRegister, 0, 21, &xDll, // function code name TempStrNoSize("\x0B""ohDependsOn"), // parameter codes TempStrNoSize("\x0D""NPPPPPPPPPPP#"), // function display name TempStrNoSize("\x0B""ohDependsOn"), // comma-delimited list of parameter names TempStrNoSize("\x4D""dummy0,dummy1,dummy2,dummy3,dummy4,dummy5,dummy6,dummy7,dummy8,dummy9,trigger"), // function type (0 = hidden, 1 = worksheet) TempStrNoSize("\x01""0"), // function category TempStrNoSize("\x0D""ObjectHandler"), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x00"""), // function description TempStrNoSize("\x48""forces a dependency between two functions and returns the update counter"), TempStrNoSize("\x06""dummy0"), TempStrNoSize("\x06""dummy1"), TempStrNoSize("\x06""dummy2"), TempStrNoSize("\x06""dummy3"), TempStrNoSize("\x06""dummy4"), TempStrNoSize("\x06""dummy5"), TempStrNoSize("\x06""dummy6"), TempStrNoSize("\x06""dummy7"), TempStrNoSize("\x06""dummy8"), TempStrNoSize("\x06""dummy9"), TempStrNoSize("\x09""trigger ")); Excel4(xlfRegisterId, &xlRegID, 2, &xDll, TempStrNoSize("\x0B""ohDependsOn")); Excel4(xlfUnregister, 0, 1, &xlRegID); Excel(xlfRegister, 0, 10, &xDll, // function code name TempStrNoSize("\x0F""ohFunctionCount"), // parameter codes TempStrNoSize("\x02""N#"), // function display name TempStrNoSize("\x0F""ohFunctionCount"), // comma-delimited list of parameter names TempStrNoSize("\x00"""), // function type (0 = hidden, 1 = worksheet) TempStrNoSize("\x01""0"), // function category TempStrNoSize("\x0D""ObjectHandler"), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x00"""), // function description TempStrNoSize("\x2F""returns the number of functions in this addin ")); Excel4(xlfRegisterId, &xlRegID, 2, &xDll, TempStrNoSize("\x0F""ohFunctionCount")); Excel4(xlfUnregister, 0, 1, &xlRegID); Excel(xlfRegister, 0, 11, &xDll, TempStrNoSize("\x06""ohPack"), // function code name TempStrNoSize("\x03""RP#"), // parameter codes TempStrNoSize("\x06""ohPack"), // function display name TempStrNoSize("\x10""inputRange"), // comma-delimited list of parameter names TempStrNoSize("\x01""0"), // function type (0 = hidden function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x3D""trim #ERR/empty values from bottom/right edges of input range"), // function description TempStrNoSize("\x1D""range of cells to be packed ")); // description of parameter 1 Excel4(xlfRegisterId, &xlRegID, 2, &xDll, TempStrNoSize("\x06""ohPack")); // function code name Excel4(xlfUnregister, 0, 1, &xlRegID); Excel(xlfRegister, 0, 14, &xDll, TempStrNoSize("\x0C""ohParseField"), // function code name TempStrNoSize("\x06""RCNCP#"), // parameter codes TempStrNoSize("\x0C""ohParseField"), // function display name TempStrNoSize("\x19""line,index,type,delimiter"), // comma-delimited list of parameter names TempStrNoSize("\x01""0"), // function type (0 = hidden function) TempStrNoSize("\x0D""ObjectHandler"), // function category TempStrNoSize("\x00"""), // shortcut text (command macros only) TempStrNoSize("\x00"""), // path to help file TempStrNoSize("\x41""Extract the ith number from a whitespace-delimited list of fields"), // function description TempStrNoSize("\x11""text to be parsed"), // description of parameter 1 TempStrNoSize("\x20""index (1-based) of desired field"), // description of parameter 2 TempStrNoSize("\x21""required datatype (string/number)"), // description of parameter 3 TempStrNoSize("\x29""field delimiter (default is whitespace) ")); // description of parameter 3 Excel4(xlfRegisterId, &xlRegID, 2, &xDll, TempStrNoSize("\x0C""ohParseField")); // function code name Excel4(xlfUnregister, 0, 1, &xlRegID); } |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:09
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/stubs In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31124/gensrc/stubs Modified Files: stub.excel.exports stub.excel.includes stub.excel.xladdin Log Message: cleaner implementation for ohPack/ohParseFields Index: stub.excel.exports =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/stubs/stub.excel.exports,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** stub.excel.exports 3 Jul 2006 08:19:26 -0000 1.3 --- stub.excel.exports 3 Oct 2006 09:32:37 -0000 1.4 *************** *** 3,6 **** --- 3,8 ---- #define ohxl_export_hpp + #pragma comment (linker, "/export:_ohDependsOn") + #pragma comment (linker, "/export:_ohFunctionCount") #pragma comment (linker, "/export:_ohPack") #pragma comment (linker, "/export:_ohParseField") Index: stub.excel.includes =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/stubs/stub.excel.includes,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** stub.excel.includes 12 Jul 2006 14:02:22 -0000 1.5 --- stub.excel.includes 3 Oct 2006 09:32:37 -0000 1.6 *************** *** 5,180 **** #include <ohxl/functioncall.hpp> #include <sstream> - #include <map> - #include <boost/lexical_cast.hpp> #define XLL_DEC extern "C" - - // FIXME some temporary workarounds for shortcomings in gensrc - - namespace ObjHandler { - - long dependsOn() { - static std::map < std::string, long > iterators; - return iterators[ObjHandler::FunctionCall::instance().getAddressString()]++; - } - - } - #define SET_SESSION_ID - int countValidRows(const XLOPER &xMulti) { - for (int numValidRows=xMulti.val.array.rows; numValidRows; numValidRows--) { - for (int i=0; i<xMulti.val.array.columns; i++) { - int index = (numValidRows - 1) * xMulti.val.array.columns + i; - if (!(xMulti.val.array.lparray[index].xltype & (xltypeErr | xltypeNil))) - return numValidRows; - } - } - return 1; - } - - int countValidCols(const XLOPER &xMulti) { - for (int numValidCols=xMulti.val.array.columns; numValidCols; numValidCols--) { - for (int i=0; i<xMulti.val.array.rows; i++) { - int index = (numValidCols - 1) + i * xMulti.val.array.columns; - if (!(xMulti.val.array.lparray[index].xltype & (xltypeErr | xltypeNil))) - return numValidCols; - } - } - return 1; - } - - XLL_DEC XLOPER *ohPack(OPER *xInputRange) { - - boost::shared_ptr < ObjHandler::FunctionCall > functionCall; - XLOPER xMulti; - static XLOPER xRet; - xRet.val.array.lparray = 0; - - try { - functionCall = boost::shared_ptr < ObjHandler::FunctionCall > - ( new ObjHandler::FunctionCall("ohPack") ); - - Excel(xlCoerce, &xMulti, 2, xInputRange, TempInt(xltypeMulti)); - - int numValidRows = countValidRows(xMulti); - int numValidCols = countValidCols(xMulti); - - xRet.val.array.rows = numValidRows; - xRet.val.array.columns = numValidCols; - xRet.val.array.lparray = new XLOPER[numValidRows * numValidCols]; - if (!xRet.val.array.lparray) - throw ObjHandler::Exception("ohPack: error on call to new"); - xRet.xltype = xltypeMulti | xlbitDLLFree; - - for (int i=0; i<numValidRows; i++) { - for (int j=0; j<numValidCols; j++) { - int indexSource = i * xMulti.val.array.columns + j; - int indexTarget = i * numValidCols + j; - ObjHandler::operToOper(&xRet.val.array.lparray[indexTarget], - &xMulti.val.array.lparray[indexSource]); - } - } - - Excel(xlFree, 0, 1, &xMulti); - return &xRet; - } catch (const std::exception &e) { - - // free any memory that may have been allocated - - Excel(xlFree, 0, 1, &xMulti); - - if (xRet.xltype & xltypeMulti && xRet.val.array.lparray) { - for (int i=0; i<xRet.val.array.columns * xRet.val.array.rows; i++) { - if (xRet.val.array.lparray[i].xltype & xltypeStr && xRet.val.array.lparray[i].val.str) - delete [] xRet.val.array.lparray[i].val.str; - } - delete [] xRet.val.array.lparray; - } - - // log the exception and return a null pointer (#NUM!) to Excel - - std::ostringstream err; - err << "ohPack - "; - if (functionCall) err << functionCall->getAddressString() << " - "; - err << e.what(); - ObjHandler::logMessage(err.str(), 2); - return 0; - } - } - - XLL_DEC XLOPER *ohParseField( - char *line, - long *index, - char *type, - OPER *delim) { - boost::shared_ptr < ObjHandler::FunctionCall > functionCall; - try { - functionCall = boost::shared_ptr < ObjHandler::FunctionCall > - ( new ObjHandler::FunctionCall("ohParseField") ); - - SET_SESSION_ID - - // reset the calling cell - - ObjHandler::ObjectHandlerXL::instance().resetCaller(); - - // invoke the utility function - - std::string delimStr; - ObjHandler::operToScalar(delimStr, *delim, "[:space:]"); - - if (*index<1) { - std::stringstream msg; - msg << "the index of the requested field - " << *index - << " - is invalid - minimum value is 1."; - throw ObjHandler::Exception(msg.str()); - } - unsigned int i = static_cast<unsigned int>(*index); - - std::vector<std::string> fields = ObjHandler::split(line, i, delimStr); - - if (i>fields.size()) { - std::stringstream msg; - msg << "Error parsing string -" << std::endl - << line << std::endl << "- requested field index " << i - << " exceeds #fields (" << fields.size() << ") found in string"; - throw ObjHandler::Exception(msg.str()); - } - - static XLOPER xRet; - std::string typeStr(type); - if (typeStr.empty() || ObjHandler::uppercase(typeStr) == "NUMBER") { - double ret; - try { - ret = boost::lexical_cast<double>(fields[i-1]); - } catch (boost::bad_lexical_cast &) { - std::stringstream msg; - msg << "Error parsing string -" << std::endl - << line << std::endl << "- the requested field #" << i - << " comprising text '" << fields[i-1] - << "' could not be converted to a number"; - throw ObjHandler::Exception(msg.str()); - } - ObjHandler::scalarToXloper(xRet, ret); - } else if (ObjHandler::uppercase(typeStr) == "STRING") { - ObjHandler::scalarToXloper(xRet, fields[i-1]); - } else { - std::stringstream msg; - msg << "invalid type specified -" - << " expected 'NUMBER' or 'STRING' -" - << " detected '" << type << "'"; - throw ObjHandler::Exception(msg.str()); - } - - return &xRet; - - } catch (const std::exception &e) { - std::ostringstream err; - err << "ohParseField - "; - if (functionCall) err << functionCall->getAddressString() << " - "; - err << e.what(); - ObjHandler::logMessage(err.str(), 2); - return 0; - } - } --- 5,10 ---- Index: stub.excel.xladdin =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/stubs/stub.excel.xladdin,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** stub.excel.xladdin 2 Oct 2006 15:39:04 -0000 1.1 --- stub.excel.xladdin 3 Oct 2006 09:32:37 -0000 1.2 *************** *** 16,46 **** %(registerFunctions)s - Excel(xlfRegister, 0, 11, &xDll, - TempStrNoSize("\x06""ohPack"), // function code name - TempStrNoSize("\x03""RP#"), // parameter codes - TempStrNoSize("\x06""ohPack"), // function display name - TempStrNoSize("\x10""inputRange"), // comma-delimited list of parameter names - TempStrNoSize("\x01""1"), // function type (1 = worksheet function) - TempStrNoSize("\x0D""ObjectHandler"), // function category - TempStrNoSize("\x00"""), // shortcut text (command macros only) - TempStrNoSize("\x00"""), // path to help file - TempStrNoSize("\x3D""trim #ERR/empty values from bottom/right edges of input range"), // function description - TempStrNoSize("\x1D""range of cells to be packed ")); // description of parameter 1 - - Excel(xlfRegister, 0, 14, &xDll, - TempStrNoSize("\x0C""ohParseField"), // function code name - TempStrNoSize("\x06""RCNCP#"), // parameter codes - TempStrNoSize("\x0C""ohParseField"), // function display name - TempStrNoSize("\x19""line,index,type,delimiter"), // comma-delimited list of parameter names - TempStrNoSize("\x01""1"), // function type (1 = worksheet function) - TempStrNoSize("\x0D""ObjectHandler"), // function category - TempStrNoSize("\x00"""), // shortcut text (command macros only) - TempStrNoSize("\x00"""), // path to help file - TempStrNoSize("\x41""Extract the ith number from a whitespace-delimited list of fields"), // function description - TempStrNoSize("\x11""text to be parsed"), // description of parameter 1 - TempStrNoSize("\x20""index (1-based) of desired field"), // description of parameter 2 - TempStrNoSize("\x21""required datatype (string/number)"), // description of parameter 3 - TempStrNoSize("\x29""field delimiter (default is whitespace) ")); // description of parameter 3 - Excel(xlFree, 0, 1, &xDll); return 1; --- 16,19 ---- *************** *** 70,110 **** %(registerFunctions)s - Excel(xlfRegister, 0, 11, &xDll, - TempStrNoSize("\x06""ohPack"), // function code name - TempStrNoSize("\x03""RP#"), // parameter codes - TempStrNoSize("\x06""ohPack"), // function display name - TempStrNoSize("\x10""inputRange"), // comma-delimited list of parameter names - TempStrNoSize("\x01""0"), // function type (0 = hidden function) - TempStrNoSize("\x0D""ObjectHandler"), // function category - TempStrNoSize("\x00"""), // shortcut text (command macros only) - TempStrNoSize("\x00"""), // path to help file - TempStrNoSize("\x3D""trim #ERR/empty values from bottom/right edges of input range"), // function description - TempStrNoSize("\x1D""range of cells to be packed ")); // description of parameter 1 - - Excel4(xlfRegisterId, &xlRegID, 2, &xDll, - TempStrNoSize("\x06""ohPack")); // function code name - - Excel4(xlfUnregister, 0, 1, &xlRegID); - - Excel(xlfRegister, 0, 14, &xDll, - TempStrNoSize("\x0C""ohParseField"), // function code name - TempStrNoSize("\x06""RCNCP#"), // parameter codes - TempStrNoSize("\x0C""ohParseField"), // function display name - TempStrNoSize("\x19""line,index,type,delimiter"), // comma-delimited list of parameter names - TempStrNoSize("\x01""0"), // function type (0 = hidden function) - TempStrNoSize("\x0D""ObjectHandler"), // function category - TempStrNoSize("\x00"""), // shortcut text (command macros only) - TempStrNoSize("\x00"""), // path to help file - TempStrNoSize("\x41""Extract the ith number from a whitespace-delimited list of fields"), // function description - TempStrNoSize("\x11""text to be parsed"), // description of parameter 1 - TempStrNoSize("\x20""index (1-based) of desired field"), // description of parameter 2 - TempStrNoSize("\x21""required datatype (string/number)"), // description of parameter 3 - TempStrNoSize("\x29""field delimiter (default is whitespace) ")); // description of parameter 3 - - Excel4(xlfRegisterId, &xlRegID, 2, &xDll, - TempStrNoSize("\x0C""ohParseField")); // function code name - - Excel4(xlfUnregister, 0, 1, &xlRegID); - Excel(xlFree, 0, 1, &xDll); --- 43,46 ---- |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:09
|
Update of /cvsroot/objecthandler/ObjectHandler/gensrc/config In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31124/gensrc/config Modified Files: config.xml Log Message: cleaner implementation for ohPack/ohParseFields Index: config.xml =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/gensrc/config/config.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** config.xml 27 Sep 2006 16:04:16 -0000 1.6 --- config.xml 3 Oct 2006 09:32:37 -0000 1.7 *************** *** 1,4 **** --- 1,5 ---- <Config> + <prefix>oh</prefix> <excelRootDirectory>ohxl</excelRootDirectory> <namespaceObjects>ObjHandler</namespaceObjects> |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:08
|
Update of /cvsroot/objecthandler/ObjectHandler/Examples/xl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31124/Examples/xl Modified Files: addinstatic.cpp Log Message: cleaner implementation for ohPack/ohParseFields Index: addinstatic.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Examples/xl/addinstatic.cpp,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** addinstatic.cpp 2 Oct 2006 12:31:16 -0000 1.12 --- addinstatic.cpp 3 Oct 2006 09:32:36 -0000 1.13 *************** *** 40,43 **** --- 40,44 ---- registerFunctions(xDll); + registerOhManual(xDll); Excel(xlfRegister, 0, 7, &xDll, |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:06
|
Update of /cvsroot/objecthandler/ObjectHandler In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9029 Modified Files: NEWS.txt Log Message: update docs Index: NEWS.txt =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/NEWS.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NEWS.txt 19 May 2006 15:12:41 -0000 1.1 --- NEWS.txt 3 Oct 2006 11:24:20 -0000 1.2 *************** *** 1,75 **** ! Release 0.1.4 - ??? 2006 ! ! CORE ! ! - Fixed bug where inputting handle of unexpected class crashed ObjectHandler ! - function ohHandleList renamed to ohListInstanceNames ! ! Release 0.1.3 - March 2006 ! ! CORE ! ! - Documentation revised and extended ! ! EXCEL ! ! - unregister functions when XLL unloaded (Lars Schouw) ! - Consolidated export of Excel functions ! - Increased granularity and clarity of runtime exceptions ! - Improved memory management (automatic deletion of temp variables) ! - Clarified code in example XLLs ! ! LOG4CXX ! ! - Link to log4cxx statically rather than dynamically. The use of log4cxx.dll, ! introduced in ObjectHandler version 0.1.2, was found to destabilize ! ObjectHandler and so the static link to log4cxx, used in ObjectHandler ! version 0.1.1, has been reintroduced. ! ! Release 0.1.2 - October 2005 ! ! EXCEL ! ! Excel binding ported from QuantLibAddin to ObjectHandler ! and enhanced: ! ! - ObjectHandler core functionality and the Excel binding can be ! linked statically into a single client XLL, or built as a standalone ! XLL comprising a global repository shared by multiple client XLLs ! - garbage collection of objects orphaned by the deletion of the ! calling cell ! - conversion to/from all Excel types and native C++ types ! - greater granularity of datatypes - XLOPER replaced by OPER, FP ! ! LOG4CXX ! ! - link to log4cxx dynamically rather than statically ! ! Release 0.1.1 - July 2005 ! ! REQUIRED PACKAGES ! ! - Boost version 1.31.0 or later ! - log4cxx version 0.9.7 ! ! CHANGES SINCE RELEASE 0.1.0 ! ! - interface layer replaced with factory function (thanks to Walter Penschke) ! - logging implemented with log4cxx framework from Apache project ! - additional functions deleteObject, deleteAllObjects ! - output manipulators for Object and ObjectHandler classes ! - utility functions consolidated ! ! Release 0.1.0 - February 2005 ! ! REQUIRED PACKAGES ! ! - Boost version 1.31.0 or later ! ! OVERVIEW ! ! Initial release consisting of prototype framework: ! ! - Instantiate an Object in the ObjectHandler, from where it ! can be interrogated, altered, and destroyed. ! --- 1,2 ---- ! For a rundown of changes per ObjectHandler release please visit ! http://www.objecthandler.org/history.html |
From: Eric E. <eri...@us...> - 2006-10-04 03:45:05
|
Update of /cvsroot/objecthandler/ObjectHandler/Docs/pages In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15303/Docs/pages Modified Files: design.docs Log Message: fix typo Index: design.docs =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/Docs/pages/design.docs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** design.docs 3 Oct 2006 18:29:32 -0000 1.2 --- design.docs 3 Oct 2006 21:08:38 -0000 1.3 *************** *** 28,32 **** <td><b>NB:</b> This document is out of date. The ObjectHandler implementation still reflects the high-level ideas in this document but many of the details ! have changed. For further information please refer to the QuantLibAddin source code or send email to qua...@li....</td> </tr> --- 28,32 ---- <td><b>NB:</b> This document is out of date. The ObjectHandler implementation still reflects the high-level ideas in this document but many of the details ! have changed. For further information please refer to the ObjectHandler source code or send email to qua...@li....</td> </tr> |