Commit graph

659 commits

Author SHA1 Message Date
Mark Pictor
81b798e34a p21read shouldn't quit for errors 2012-04-14 21:08:59 -04:00
Mark Pictor
5aad260470 If an instance has too few attributes and the missing attributes are strings, add them 2012-04-14 21:08:59 -04:00
Mark
f4a0feb33a Merge pull request #175 from mpictor/review/select_segfault
select segfault
2012-04-12 15:34:59 -07:00
Mark
4527aadff6 Merge pull request #176 from mpictor/review/scl_trace_fprintf
fedex_plus - trace code generation with fprintf
2012-04-12 15:34:38 -07:00
Mark
1c12e5d102 Merge pull request #173 from mpictor/review/p21-rw-progress
Part 21 read-write progress
2012-04-09 09:07:31 -07:00
Mark
278e45caa7 Merge pull request #177 from mpictor/review/build_fix
Fixed build problem in print_typechain function.
2012-04-08 14:50:02 -07:00
davyw
a9c64bc448 Fixed build problem in print_typechain function. 2012-04-08 23:09:32 +02:00
Mark Pictor
261ae1d67e minor changes, mostly suggested by davyw 2012-04-08 16:02:54 -04:00
Mark
1d34753c03 Merge pull request #166 from mpictor/review/aggr_runtime_bounds
Runtime bounds for aggregates
2012-04-08 12:34:53 -07:00
davyw
aa97040c83 remove SCL_SCHEMA_EXPORT for now 2012-04-08 15:33:23 -04:00
Mark Pictor
c2b87f8f0b include scl_trace_fprintf.h in source in src/fedex_plus
only added to files which use fprintf
2012-04-08 14:10:53 -04:00
Mark Pictor
1a32be9308 add header and config option for locating source of generated code 2012-04-08 14:10:53 -04:00
Mark
52bb54d87b Merge pull request #171 from mpictor/review/scl_cf_h
fix potential scl_cf.h problem
2012-04-08 08:51:54 -07:00
Mark Pictor
f9390c6f8c add segfault test 2012-04-08 09:14:58 -04:00
Mark Pictor
e421f70ce0 Fix p21read segfault with selects by initializing data members that are pointers 2012-04-08 08:09:05 -04:00
Mark
767a01a8f0 Merge pull request #168 from mpictor/review/p21read_memleak_fixes
Review/p21read memleak fixes
2012-04-07 03:40:20 -07:00
Mark Pictor
5af38feaa7 fix false-positive build errors reported on cdash 2012-04-06 19:15:02 -04:00
Mark Pictor
2067e48bbd check for std::thread during configuration 2012-04-06 16:54:41 -04:00
Mark Pictor
883bc716ce add test for r/w progress 2012-04-06 16:54:41 -04:00
charliestirk
89f8807c6e Merge pull request #172 from mpictor/review/schemas
add ap238 schema, move and update pdm schema
2012-04-06 13:50:22 -07:00
Mark Pictor
6c76d7b184 fix potential scl_cf.h problem 2012-04-06 16:35:33 -04:00
Mark Pictor
1e18361351 add ap238 schema, move and update pdm schema 2012-04-06 16:28:40 -04:00
Mark Pictor
0bea3efca0 make it possible to check STEPfile r/w progress
Adds member functions `float GetReadProgress() const` and `float GetWriteProgress() const`,
and some protected data members. The new functions are intended to be thread safe.
2012-04-06 15:38:53 -04:00
Mark Pictor
225180f35d make some funcs const 2012-04-06 15:38:53 -04:00
Mark Pictor
6f60a8a7f9 cleanup 2012-04-06 15:38:53 -04:00
davyw
910faf0198 make aggr_runtime_bounds branch compile with MSVC 2012-04-05 17:57:34 -04:00
davyw
dd6ef88aa1 Fixed memory leaks for STEPcomplex attribute data.
* STEPcomplex creates attribute data in BuildAttrs method that never
  got destroyed.
2012-04-05 20:40:15 +02:00
davyw
6b1ba4aa5d TypeDescriptor::~TypeDescriptor body removed from ExpDict.h.
* Since TypeDescriptor destructor body was added to ExpDict.inline.cc it
  needed to be removed from ExpDict.h.
2012-04-05 20:40:14 +02:00
davyw
5aca33785c Fixed memory leak for entity names in STEPfile.cc.
* STEPFILE::entNmArr 's content never got destroyed.
2012-04-05 20:40:12 +02:00
davyw
a1d6b25e75 Fixed some memory leaks in ExpDict.cc.
* TypeDescriptor::_where_rules never got destroyed.
* Where_rule__list, Uniqueness_rule__set and Global_rule__set never
  destroyed their content.
* Inverse_attributeList never destroyed it's content.
2012-04-05 20:40:11 +02:00
davyw
626bb73cb9 Fixed memory leak for Registry TypeDescriptors.
* Registry class creates a number of standard TypeDescriptors that never
  got destroyed.
2012-04-05 20:40:10 +02:00
davyw
8a2665e980 Fixed memory leaks for STEPaggregate data.
* Data was created for use with STEPaggregate types in fedex_plus generated
  code but never destroyed.
* Fixed some code style alignment.
* STEPaggregate's STEPnodes never got destroyed.
2012-04-05 20:40:09 +02:00
davyw
4740f4d45c Added SCL_ prefix to hash functions of scl_hash.cc.
* Linking went wrong because functions from hash.c and scl_hash.cc had
  the same names. By adding SCL_ prefix to the scl_hash.cc function names
  this issue is resolved.
* Fixed minor issue in scl_hash.cc.
2012-04-05 20:40:07 +02:00
davyw
04f4c1da66 Added unnamed types to Schema.
* Unnamed types where created, but never destroyed, added unnamed types
  list to Schema and delete the unnamed types in Schema destructor.
2012-04-05 20:40:06 +02:00
davyw
0a12237f8b Memory leak fix in dirobj.cc.
* DirObj::fileList was created but never destroyed.
2012-04-05 20:40:04 +02:00
davyw
c77471a5f8 Delete STEPattributes from sdaiApplication_instance::attributes.
* The attributes list content from sdaiApplication_instance never got
  deleted, added clean up code to sdaiApplication_instance destructor.
* Added refCount to STEPattribute to prevent multiple deletions of the
  same instance in case an instance is added to attributes more than once.
2012-04-05 20:40:04 +02:00
davyw
a9173c8b41 Moved Registry::DeleteContents to Registry::~Registry.
* DeleteContents was only called for _headerRegistry, not for the Schema
  Registry, by moving it to the destructor this fixes a number of memory
  leaks.
2012-04-05 20:40:02 +02:00
Mark
521f4427ea Merge pull request #167 from mpictor/review/brlcad-man-dir
make man page install path flexible
2012-04-04 05:28:21 -07:00
Mark
7628642baf Merge pull request #165 from mpictor/review/brlcad-paths
change paths to match BRL-CAD convention
2012-04-04 05:27:30 -07:00
starseeker
c446fc391b make man page install path flexible 2012-04-01 12:54:43 -04:00
Mark Pictor
473223d831 add missing files, make tests work 2012-04-01 12:08:06 -04:00
Mark Pictor
b4cf4236f2 declare some AggrTypeDescriptor member functions const 2012-03-31 22:08:29 -04:00
Mark Pictor
52635e7d8b add files to test runtime aggregate bounds 2012-03-31 22:08:29 -04:00
Mark Pictor
6817e1b868 change schema name, remove tabs 2012-03-31 13:17:31 -04:00
Mark Pictor
a72fa6eb86 use the aggregate's name instead of the data member's name 2012-03-31 10:08:14 -04:00
Mark Pictor
a86b035dc7 cleanup 2012-03-30 18:27:39 -04:00
Mark Pictor
7425e55db7 Add support for aggregate bounds that are not compile-time constants.
This renames or adds several functions in class AggrTypeDescriptor. Bounds
dependent on a function call are supported, but only as strings. Bounds
dependent on attributes need some work - the schema-specific libs won't
compile if they use the SetBound[12]FromMemberAccessor functions.
2012-03-30 18:27:39 -04:00
starseeker
905254125e change paths to match BRL-CAD convention 2012-03-30 18:05:44 -04:00
Mark
db31ea0455 Merge pull request #163 from mpictor/review/brlcad-cmake
brlcad cmake patch, with two minor changes
2012-03-29 14:28:53 -07:00
Mark Pictor
7b54e23e1a update comment in scl_version_string.h 2012-03-26 20:40:17 -04:00