Mark Pictor
8ec8e778a6
test files not committed
2013-11-22 17:37:17 -05:00
Mark Pictor
133f503960
lazy refs thoughts
2013-11-22 17:35:14 -05:00
Mark Pictor
89d941d63c
changes to lazyRefs.h - likely to be overwritten
2013-11-21 20:22:10 -05:00
Mark Pictor
fe53db9cee
add lazyRefs.h
2013-11-17 12:24:01 -05:00
Mark Pictor
a9c13f7434
include subsuperiterators header
2013-11-17 12:24:01 -05:00
Mark Pictor
77c0b266c4
improve comments, a few other small changes that don't affect behavior
2013-11-17 12:24:01 -05:00
Mark Pictor
5ef9cc9798
default to case insensitive when searching by instance type
2013-11-17 12:24:01 -05:00
Mark Pictor
3e8050465e
_mainRegistry wasn't initialized
2013-11-17 12:24:01 -05:00
Mark Pictor
45ace10eb6
warning about comparison that was always true
2013-11-17 12:24:00 -05:00
Mark Pictor
a2c83eacf9
abstract class with non-virtual destructor
2013-11-17 12:24:00 -05:00
Mark Pictor
70f45a9096
use lazyInstMgr for inverse_attr3.cc
2013-11-17 12:24:00 -05:00
Mark
48c0481bc3
Merge pull request #275 from stepcode/review/subbuild
...
Improve application building experience when using SC as a subbuild
2013-11-16 19:03:14 -08:00
Mark Pictor
a0968849bb
copy to the object in ptr if it exists, else overwrite ptr contents with object pointer
...
Tried to delete contents of ptr if non-null, but it frequently points to a static data member - in which case
delete fails noisily.
So, check if null. if not null, use set_null() (if it exists) and operator=; otherwise, overwrite the
pointer
Also make SDAI_Enum dtor public
2013-11-14 20:26:42 -05:00
Mark Pictor
e41edd42c2
use STEPattribute getters, which weren't necessary with v0.7
...
In v0.7, STEPattribute::ptr was public
2013-11-13 20:01:19 -05:00
Mark Pictor
9b96c73d8e
Default to a debug build
2013-11-13 20:01:18 -05:00
Mark Pictor
ae55ca80a3
oops, STEPattribute needs setters now that ptr is private
2013-11-13 20:01:18 -05:00
Mark Pictor
6b88e574f3
make build logic more robust - more checks, print error messages
...
* check whether STEPCODE_ROOT_DIR is relative or absolute
* exit with error message if that dir or the schema can't be found
2013-11-13 20:01:18 -05:00
Mark Pictor
2546685d2f
oops, install inside include/ dir
2013-11-13 20:01:18 -05:00
Mark Pictor
67f8ea4574
install generated sdai headers
2013-11-13 20:01:18 -05:00
Mark Pictor
9d27eff62a
if shared libs are not built, don't append -static to static lib names
2013-11-13 20:01:18 -05:00
Mark Pictor
65cdebbdfc
don't set output dirs if SC_IS_SUBBUILD
2013-11-13 20:01:18 -05:00
Mark Pictor
e889888ab3
static sdai libs need include paths
2013-11-13 20:01:18 -05:00
Mark
ebdfab5aeb
Merge pull request #274 from ramcdona/Fixes
...
Fix stream comparison, add RealNode and IntNode constructors which take a value
2013-11-11 14:39:18 -08:00
Rob McDonald
9ef064b411
Add helpful constructors for RealNode and IntNode
2013-11-11 10:38:29 -08:00
Rob McDonald
51f6fed3b3
Fix stream comparison when using C++ 11.
...
Appropriate fix suggested by Sean.
2013-11-11 10:38:24 -08:00
charliestirk
6d4f0852d4
Update AUTHORS
...
added Rob McDonald and Tom Thurman
2013-10-29 13:53:52 -06:00
charliestirk
d1437c7761
Update AUTHORS
...
added Nick Reed and Tom Thurman
2013-10-29 12:59:46 -06:00
Mark
a29124cf5f
Merge pull request #270 from ramcdona/AP203Minimum
...
Ap203 minimum
2013-10-28 17:00:15 -07:00
Mark
b51297af02
Merge pull request #269 from rakuco/string-clear-not-assign
...
Use basic_string::clear() instead of basic_string::assign(0, 0).
2013-10-28 14:39:16 -07:00
Raphael Kubo da Costa
0b0f6ce219
Use basic_string::clear() instead of basic_string::assign(0, 0).
...
The latter is an ambiguous call and makes the build fail with libc++:
/s/stepcode/src/cllazyfile/sectionReader.cc:86:9: error: call to member
function 'assign' is ambiguous
str.assign( 0, 0 ); //clear() frees the memory
~~~~^~~~~~
/usr/include/c++/v1/string:1354:19: note: candidate function
basic_string& assign(const value_type* __s, size_type __n);
^
/usr/include/c++/v1/string:1356:19: note: candidate function
basic_string& assign(size_type __n, value_type __c);
^
/usr/include/c++/v1/string:1360:14: note: candidate template ignored:
disabled by 'enable_if' [with _InputIterator = int]
__is_input_iterator <_InputIterator>::value &&
^
/usr/include/c++/v1/string:1368:13: note: candidate template ignored:
disabled by 'enable_if' [with _ForwardIterator = int]
__is_forward_iterator<_ForwardIterator>::value,
^
/usr/include/c++/v1/string:1347:19: note: candidate function not viable:
requires single argument '__str', but 2 arguments were provided
basic_string& assign(const basic_string& __str);
^
/usr/include/c++/v1/string:1353:19: note: candidate function not viable:
requires 3 arguments, but 2 were provided
basic_string& assign(const basic_string& __str, size_type __pos,
size_type __n);
^
/usr/include/c++/v1/string:1355:19: note: candidate function not viable:
requires single argument '__s', but 2 arguments were provided
basic_string& assign(const value_type* __s);
^
Instead, just call clear(), which should do the same thing and, contrary to
what the comment stated, does not clear the allocated memory.
2013-10-28 00:23:24 +02:00
Rob McDonald
262610c410
Explicitly place CMakeLists for AP203 Minimum into public domain.
2013-10-27 08:01:57 -07:00
Rob McDonald
7985fad756
Reformat ap203min.cpp using astyle
2013-10-27 07:56:39 -07:00
Rob McDonald
8db7249070
Initial commit of AP203 Minimum, a tutorial for STEP, STEPcode, and AP203.
2013-10-26 23:30:02 -07:00
Mark
e68db3e27c
Merge pull request #268 from ramcdona/TimeStampHeaderFix
...
Quote time stamp in header instance - caught because ida-step crashed
2013-10-24 14:12:47 -07:00
Rob McDonald
295f4db40d
Quote time stamp in header instance.
...
Fixes #267
2013-10-24 13:15:23 -07:00
Mark
e9e9671083
Merge pull request #266 from stepcode/mp/remove-nonconformant-p21
...
remove nonconformant p21 files - we're down to a single failing test!
2013-10-18 17:07:30 -07:00
Mark
b807ab36dd
Merge pull request #265 from stepcode/review/STEPattr_ctors_shallowcopy
...
STEPattribute - fix copy constructor, Shallow Copy
2013-10-13 16:12:09 -07:00
Mark Pictor
9239e2865f
disable a p21read multiple inheritance test; I'm not sure whether it should pass or fail
2013-10-13 19:10:45 -04:00
Mark Pictor
8fda732363
delete nonconformant part 21 files for ap210e2
2013-10-13 19:10:45 -04:00
Mark Pictor
45f58654c8
delete nonconformant part 21 files for ap227
2013-10-13 19:10:45 -04:00
Mark
abda04abac
Merge pull request #264 from stepcode/review/exppp2
...
exppp & misc
2013-10-13 14:30:03 -07:00
Mark Pictor
35c756ace6
create the correct type of aggregate so the ShallowCopy will work
2013-10-12 22:23:21 -04:00
Mark Pictor
d146a62a84
update tests to work with STEPattribute class changes
2013-10-12 22:21:46 -04:00
Mark Pictor
067098a42b
oops, need a way to access attr data now that ptr is protected
2013-10-12 22:20:07 -04:00
Mark Pictor
6700b1994a
oops, some STEPattribute constructors didn't initialize all members
2013-10-12 08:22:59 -04:00
Mark Pictor
a3ed45a65b
eliminate error and warning in p21read.cc
2013-10-11 22:51:48 -04:00
Mark Pictor
4f94a13386
fix ShallowCopy(), copy constructor, destructor
2013-10-11 22:29:31 -04:00
Mark Pictor
be375e08cf
sameADesc() behaves like old operator==, rewrite operator==
2013-10-11 22:29:31 -04:00
Mark Pictor
217414db29
tests for copy constructor, ShallowCopy()
2013-10-11 22:29:31 -04:00
Mark Pictor
55f79cb9e6
update asStr() function - return std::string
2013-10-11 22:25:30 -04:00