|
From: <mk...@us...> - 2003-05-02 20:59:07
|
Update of /cvsroot/csp/APPLICATIONS/SimData
In directory sc8-pr-cvs1:/tmp/cvs-serv3500
Modified Files:
CHANGES CHANGES.current setup.py
Log Message:
see CHANGES
Index: CHANGES
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/SimData/CHANGES,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** CHANGES 18 Apr 2003 11:51:27 -0000 1.3
--- CHANGES 2 May 2003 20:59:04 -0000 1.4
***************
*** 2,5 ****
--- 2,136 ----
to CVS.
+ Version 0.3.2 (2003-05-02)
+ ===========================
+
+ 2003-04-26: onsight
+ Removed exception surpression from Link<>. If a link isn't
+ found in the archive, the exception will now propagate out
+ of SimData. Beware that this can leave objects in an
+ inconsistent state. It may be necessary to do exception
+ handling in the unpack() method if you want to gracefully
+ recover.
+
+ Added cleanStatics() methods to DataArchive and DataManager
+ that purge any cached objects not in use. Calling this
+ method after you delete many objects can free up unused
+ memory.
+
+ Fixed a date rollover bug in SimData that cause the clock to
+ advance by one day for every update call after midnight!
+
+ Fixed some other date bugs related to the number of seconds
+ in a day (some methods were using 86000 instead of 86400).
+
+ The XML parser now supports hex notation for integers, such
+ as '0xF00' and '0x9a'.
+
+ Added support for char and short data types. This is primarily
+ to allow more memory efficient object types. There are no plans
+ to support unsigned versions of char, short, and int at this
+ point. The same XML tag (<Int>) is used for all the types, and
+ no range checking is done, although this could be easily added
+ to TypeAdapter::set().
+
+ Added support for bit-packed booleans. In the interface
+ definition use:
+
+ SIMDATA_BIT("var_name", class::memvar, mask, req)
+
+ instead of the usual SIMDATA_XML. The data type for memvar can
+ be either char, short, or int. The mask field is the bit mask
+ that will be or'd with memvar if the boolean is true. If the
+ boolean is false, the mask complement is and'd with memvar. So
+ for instance, you might have:
+
+ SIMDATA_BIT("flag0", myclass::flags, 0x01, false)
+ SIMDATA_BIT("flag1", myclass::flags, 0x02, false)
+ SIMDATA_BIT("flag2", myclass::flags, 0x04, false)
+
+ In the xml data, if you specify:
+
+ <Bool name="flag0">true</Bool>
+ <Bool name="flag2">true</Bool>
+
+ then flags will be set to 5, assuming it was zero to begin with.
+ Since bits are set and cleared by true and false XML tags, you
+ can specify default bit settings (both true and false) by
+ initializing flags in the myclass ctor.
+
+ *** NOTE: Bit-packed booleans are *not* supported under VC6 by
+ the partial template specialization (PTS) hack. Since the
+ arrival of VC.net, PTS is deprecated and I have no plans to add
+ new enhancements (such as bit-packed booleans) to it.
+
+ 2003-04-25: onsight
+ Added != operator to Ref<>.
+
+ Added MakeModifiedEulerAnglesFromQ() method to Quaternion to
+ provide direct support CSP's coordinate frame. This is still
+ experimental and may not ultimately be needed.
+
+ 2003-04-25: delta
+ Updated .net project file.
+
+ 2003-04-24: onsight
+ Fix for Object::operator=() return value.
+
+ Added list and vector typedefs to class Ref.
+
+ 2003-04-22: onsight
+ Data archive files now store the parent/child relationship
+ between object paths, so it is possible to search for all
+ objects in a given path. The full list of human-readable
+ paths is also stored now, allowing path hash values to be
+ converted to more informative debugging messages.
+
+ Various methods have been added to DataArchive to access
+ this new information:
+
+ getChildren, getPathString, hasObject, getAllPathStrings
+
+ Integrated these changes with the DataManager class.
+
+ *** WARNING: ALL DAR FILES MUST NOW BE REBUILT ***
+
+ 2003-04-21: onsight
+ Abstracted the reference counting interface from class Object
+ to class Referenced.
+
+ Added a Ref<> smart-pointer for Referenced objects.
+
+ Renamed PointerBase and Pointer<> to LinkBase and Link. Moved
+ them out of Path.h/cpp into Link.h/cpp.
+
+ 2003-04-21: delta
+ Removed RadiansToDegrees and DegreesToRadians calls in
+ Quaternion::MakeQFromEulerAngles and
+ Quaternion::MakeEulerAnglesFromQ; now you must specify your
+ angles in radians.
+
+ Cleaned the code in these functions.
+
+ 2003-04-20: onsight
+ Fix for a nasty little bug in ObjectInterface.h that could
+ cause memory corruption during data compiling. Rebuild
+ SimData, install it, then rebuild CSPSim from scratch (just
+ to be sure).
+
+ 2003-04-19: delta
+ Use swig 1.3.19 on windows now so need to change custom build.
+
+
+ 2003-04-18: onsight
+ Wrote a specialized vector rotation method for quaternions
+ that should be a little bit faster.
+
+ Added DataManager.* to setup.py so it is now installed
+ properly. DataManager is also wrapped by SWIG now.
+
+ More documentation in Quaternion.h.
+
+
+
Version 0.3.1 (2003-04-18)
===========================
Index: CHANGES.current
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/SimData/CHANGES.current,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** CHANGES.current 25 Apr 2003 20:36:05 -0000 1.30
--- CHANGES.current 2 May 2003 20:59:04 -0000 1.31
***************
*** 1,70 ****
! Version 0.3.2 (in progress)
===========================
-
- 2003-04-25: onsight
- Added != operator to Ref<>.
-
- Added MakeModifiedEulerAnglesFromQ() method to Quaternion
- to provide direct support CSP's coordinate frame. This
- is still experimental and may not ultimately be needed.
-
- 2003-04-25: delta
- Updated .net project file.
-
- 2003-04-24: onsight
- Fix for Object::operator=() return value.
-
- Added list and vector typedefs to class Ref.
-
- 2003-04-22: onsight
- Data archive files now store the parent/child relationship
- between object paths, so it is possible to search for all
- objects in a given path. The full list of human-readable
- paths is also stored now, allowing path hash values to be
- converted to more informative debugging messages.
-
- Various methods have been added to DataArchive to access
- this new information:
-
- getChildren, getPathString, hasObject, getAllPathStrings
-
- Integrated these changes with the DataManager class.
-
- *** WARNING: ALL DAR FILES MUST NOW BE REBUILT ***
-
- 2003-04-21: onsight
- Abstracted the reference counting interface from class Object
- to class Referenced.
-
- Added a Ref<> smart-pointer for Referenced objects.
-
- Renamed PointerBase and Pointer<> to LinkBase and Link. Moved
- them out of Path.h/cpp into Link.h/cpp.
-
- 2003-04-21: delta
- Removed RadiansToDegrees and DegreesToRadians calls in
- Quaternion::MakeQFromEulerAngles and
- Quaternion::MakeEulerAnglesFromQ; now you must specify your
- angles in radians.
-
- Cleaned the code in these functions.
-
- 2003-04-20: onsight
- Fix for a nasty little bug in ObjectInterface.h that could
- cause memory corruption during data compiling. Rebuild
- SimData, install it, then rebuild CSPSim from scratch (just
- to be sure).
-
- 2003-04-19: delta
- Use swig 1.3.19 on windows now so need to change custom build.
-
-
- 2003-04-18: onsight
- Wrote a specialized vector rotation method for quaternions
- that should be a little bit faster.
-
- Added DataManager.* to setup.py so it is now installed
- properly. DataManager is also wrapped by SWIG now.
-
- More documentation in Quaternion.h.
--- 1,3 ----
! Version 0.3.3 (in progress)
===========================
Index: setup.py
===================================================================
RCS file: /cvsroot/csp/APPLICATIONS/SimData/setup.py,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** setup.py 25 Apr 2003 12:03:24 -0000 1.19
--- setup.py 2 May 2003 20:59:04 -0000 1.20
***************
*** 260,263 ****
--- 260,264 ----
"Object.h",
"ObjectInterface.h",
+ "osg.h",
"Pack.h",
"Path.h",
|