Kesha Shah
35fa4e1829
Initializing some variables in main CMakeLists.txt
2013-08-29 10:25:44 +05:30
Mark
da3fe4543f
Merge pull request #250 from starseeker/master
...
Merge local BRL-CAD changes
2013-08-14 15:16:07 -07:00
Mark
a60e03dd7a
Merge pull request #248 from stepcode/review/diamond
...
Handle diamond inheritance, treat derived attributes correctly
2013-08-14 15:15:37 -07:00
Mark Pictor
35cc0f2c63
travis-ci: don't bother with gcc since clang is faster
2013-08-14 17:55:36 -04:00
Mark Pictor
99a8787c1f
generated code: improve formatting some more
2013-08-14 17:55:36 -04:00
Mark Pictor
e165c2a237
eliminate unnecessary variable, formatting
2013-08-14 17:50:06 -04:00
Mark Pictor
25162d1109
int first -> bool first
2013-08-14 17:50:06 -04:00
Mark Pictor
4c06e9d000
generated code: change addAttr type/behavior, fix #240 (diamond inheritance)
...
* make addAttrs a bool
* invert the sense of its default value ( 0 -> true )
* pass addAttrs on, unmodified
- duplicate attributes are ignored by STEPattributeList::push()
* also initialize the parent class
2013-08-14 17:50:06 -04:00
Mark Pictor
7068470299
generated code: improve formatting
...
* also change one warning to print on a single line
2013-08-14 17:45:31 -04:00
Mark Pictor
3aea98074c
cleanup, mostly in fedex_plus/classes.c
2013-08-14 17:45:31 -04:00
Mark Pictor
f9a9d6e2a2
Modify GetSTEPattribute() and MakeDerived() in SDAI_Application_instance
...
* For issue #232
* Add a new param named `entity`
* Used in generated code to ensure that the correct attr is being marked as derived.
2013-08-14 17:45:31 -04:00
Mark
8e236bfda7
Merge pull request #247 from stepcode/ks/CPPcheck
...
Ks/cppcheck - fix some of the problems reported by cppcheck
2013-08-14 14:40:49 -07:00
Kesha Shah
cc906fc1d4
Reducing the scope of variables
2013-08-14 17:38:44 -04:00
Kesha Shah
44efa0d52e
C style pointer casting
2013-08-14 17:38:44 -04:00
Kesha Shah
86c11b8baf
strncpy() '\0' terminated
2013-08-14 17:38:44 -04:00
Kesha Shah
5b4118ee6d
sscanf() to prevent overflow
2013-08-14 17:38:44 -04:00
Kesha Shah
a1d2471e7c
Prefer Preincrement/Decrement
2013-08-14 17:38:43 -04:00
Kesha Shah
08d5407259
Unused Variables Removed
2013-08-14 17:38:43 -04:00
Cliff Yapp
1ffac4e7e8
r56686 - clear compiler warning
2013-08-13 22:56:05 -04:00
Cliff Yapp
5539ad55f3
r55979 - explicitely cast stream position before comparison to avoid an ambiguous overload for the == operator
2013-08-13 22:53:59 -04:00
Cliff Yapp
436f34efb5
r55978 - force 64b constants to use unsigned long long instead of compile native long, which is too small on 32b machines
2013-08-13 22:52:25 -04:00
Cliff Yapp
8c890db78e
r55977 - malloc.h has been replaced by stdlib.h
2013-08-13 22:51:16 -04:00
Cliff Yapp
ba7675a71c
apply r55331 - use delete[] to free new[] memory
2013-08-13 22:49:48 -04:00
Cliff Yapp
4bc010884a
Quell unused variable warning - I *think* this is what this function is actually supposed to do?
2013-08-13 22:48:04 -04:00
Mark
352fd6d66e
Merge pull request #246 from stepcode/review/print_attrs
...
print_attrs executable / multiple inheritance
2013-07-29 05:54:25 -07:00
Mark
362c41cb61
Merge pull request #245 from stepcode/review/cleanup
...
Review/cleanup
2013-07-21 17:48:50 -07:00
Mark Pictor
2babafddc9
create ordered_attrs.*, use in print_attrs
...
this contains code to print attributes in the proper order for Part 21
2013-07-20 20:38:28 -04:00
Mark Pictor
c45b22aff1
tests for issue #232 : missing asterisk for derived attribute / data lost
...
schema has multiple inheritance where two attrs with same name are inherited
one is derived, the other isn't
stepcode complains that an asterisk was missing when it encounters the non-derived attr
this bug exposed by AP209 ATS files
2013-07-20 20:38:28 -04:00
Mark Pictor
6f74459022
add print_attrs test executable for libexpress, add CMakeLists for src/express/test
2013-07-20 20:38:28 -04:00
Mark Pictor
c1f4835ed3
add schema with diamond inheritance
2013-07-20 20:38:28 -04:00
Mark Pictor
2b783b770f
cleanup, make it possible to print libexpress option help from external code
2013-07-20 20:38:28 -04:00
Mark Pictor
2a4666ee4e
modify symlink.c to only print the schema names, rename it
2013-07-20 20:38:28 -04:00
Mark Pictor
24c08ebc6c
add symlink.c, removed in 23cf6a5ad5 Aug 2011
2013-07-20 20:38:27 -04:00
Mark Pictor
9ff9b8e5c1
travis-ci: -j3 is slow, try -j2; pulls are checked, so skip review branches
2013-07-20 20:37:31 -04:00
Mark Pictor
b6f708a8a7
silence two Wundef warnings
2013-07-20 20:36:17 -04:00
Mark Pictor
f94fd4a4e0
minor cleanup
2013-07-20 20:36:13 -04:00
Mark Pictor
c121444d29
K&R declaration for LISTfree()
2013-07-20 20:36:08 -04:00
Mark Pictor
df14d81d2f
remove unused LISTcreate_with() macro
...
also removes even older function in an `#if 0` block
2013-07-20 20:36:03 -04:00
Mark Pictor
c08dcddcc8
add (commented out) ParseTrace function for lemon parser debugging
2013-07-20 20:35:58 -04:00
Mark Pictor
906dc3a28c
doxify a comment that looks important, also copied to sc wiki
2013-07-20 20:35:51 -04:00
Mark Pictor
28d636d428
missed two macros during SCL_->SC_ rename
2013-07-20 20:35:36 -04:00
Mark Pictor
b468d27522
libexpress is no longer a dependency of the class libs
...
great!
2013-07-20 20:35:24 -04:00
Mark Pictor
c6b0a5d810
Print warning message when SC_BUILD_SCHEMAS is unset
2013-07-20 20:35:06 -04:00
Mark
4825256b53
Merge pull request #243 from stepcode/review/remove-wseds
...
remove 203wseds schema and files
2013-07-19 17:37:53 -07:00
Mark
362a238c0e
Merge pull request #242 from stepcode/review/exppp
...
trivial fix for #241 , exppp segfault
2013-07-18 17:08:02 -07:00
Mark Pictor
b0d9936ed6
try parallel build on travis-ci
2013-07-16 20:44:33 -04:00
Mark Pictor
1e72fa4ce2
remove 203wseds schema and files
...
the schema is outdated and the files do not match it; I haven't found the time to modify the files
2013-07-16 20:43:16 -04:00
Mark Pictor
c453fce415
trivial fix for #241 , exppp segfault
2013-07-16 20:15:33 -04:00
Mark Pictor
870b0b378e
oops, fix .travis.yml
2013-06-23 15:51:04 -04:00
Mark Pictor
c3b947f357
add yml for travis-ci
2013-06-23 15:46:55 -04:00