Commit graph

530 commits

Author SHA1 Message Date
Mark Pictor
f148fc7c34 add files to test binary indexing - incomplete 2012-02-18 20:38:39 -05:00
Mark Pictor
6e4fcafbc3 fix bug with binary values not being saved to disk
For SDAI_Binary, STEPattribute::is_null() cleared the value instead of
merely reporting whether it was null, like it does with other types.
2012-02-18 20:38:39 -05:00
Mark
f12e16b3a7 Merge pull request #139 from mpictor/review/multiple-declarations
fix multiple declaration error when compiling ap210e3 (issue 138), add test schema

the problem @davyw is having isn't specific to this branch, so I'm going to merge
2012-02-14 18:09:38 -08:00
Mark
ee689a10e1 Merge pull request #140 from mpictor/review/memory-leak-fix
Fixed memory leak in HASHfind() function
2012-02-14 18:07:20 -08:00
Mark
92d83ef14a Merge pull request #137 from mpictor/review/embarcadero_fixes
Review/embarcadero fixes
2012-02-13 14:32:35 -08:00
tpaviot
950407a067 Fixed memory leak in HASHfind() function 2012-02-12 13:33:54 +01:00
Mark Pictor
fb79eb2183 fix multiple declaration error when compiling ap210e3 (#138), add test schema 2012-02-11 17:35:46 -05:00
davyw
572e9adc0b Added comment for StrCmpIns function. 2012-02-10 22:57:43 +01:00
davyw
ac702af7f3 Fix segfault when file not found for p21read.
* When invalid file name passed to p21read, a segfault occured because
  p21read tried to continue parsing even though no file was found.
  An extra check for errors and early exit fixes this issue.
2012-02-10 22:39:47 +01:00
davyw
c316f21fe6 Use of internal StrCmpIns function in stead of runtime stricmp/strcasecmp.
* Because of incompatible implementations of string comparison functions
  on different platforms (uppercase vs lowercase compares) it is better
  to have an scl specific StrCmpIns function. This fixes issues creating
  and validating complex structures in stepfile.cc.
2012-02-10 22:37:18 +01:00
davyw
14926414c3 Cleanup of unused variable exchange_file. 2012-02-10 22:34:43 +01:00
Mark
6e6fb8197c Merge pull request #134 from mpictor/review/cleanup_for_issue30
Review/cleanup for issue30
2012-02-09 12:48:06 -08:00
Mark
235b1e6ca3 Merge pull request #131 from mpictor/review/cleanup
cleanup src/express and include/express
2012-02-08 15:16:00 -08:00
davyw
e99240a780 Removed CORBA (PART26) references.
* Cleaned up all PART26 references for issue #30.
2012-02-05 22:07:58 +01:00
davyw
ca0824dd0d Removed __O3DB__ references.
* Cleaned up all __O3DB__ references for issue #30.
2012-02-05 21:48:47 +01:00
Mark Pictor
5dc04396ad cleanup and doxify files in include/express 2012-02-02 19:07:54 -05:00
Mark Pictor
3e8c11661d cleanup and doxify src/express 2012-02-02 19:06:50 -05:00
Mark Pictor
a63ac738af eliminate "backwards compatibility" types from type.h, remove unused func
Removed macros and typedefs from type.h

Removed unused function from type.c that used those macros, and
 replaced the macros where used in fedex_plus/. For example:
 sed -i -e 's/Class_Integer_Type/integer_/g;' *

The typedefs were not in use anywhere.
2012-02-02 19:01:29 -05:00
Mark Pictor
7a6ba24f81 remove 'typedef char* String', 'STRINGequal' macro 2012-02-02 18:56:54 -05:00
Mark Pictor
1481950409 Remove obsolete fn macros OBJequal OBJfree OBJreference OBJget_data
These macros were defined in object.h as being "for backwards compatibility".
The only code that used them was in #if 0...#endif blocks. Additionally,
OBJfree is mentioned in express/Changes, dated 1992, as being unnecessary. It
seems safe to remove all of this code - it is very very old.
2012-02-02 18:55:13 -05:00
Mark Pictor
0073b386ef remove useless header src/express/conf.h 2012-02-02 18:48:00 -05:00
Mark Pictor
2d7ed17697 remove unused function PrintModelContentsSchema() 2012-02-02 18:48:00 -05:00
Mark
ffdeac2552 Merge pull request #125 from mpictor/review/second-edition-error
Add a warning for unsupported language features, and print it for indexing upon a binary
2012-02-02 12:48:14 -08:00
Mark
8dcfec46c9 Merge pull request #129 from mpictor/review/enums
fix segfault in review/enums
2012-02-02 12:48:04 -08:00
Mark Pictor
14985062f7 fix segfault 2012-01-31 18:25:24 -05:00
Mark
e9e576e4f8 Merge pull request #124 from mpictor/review/enums
put enums in separate table
2012-01-29 05:02:40 -08:00
Mark
fad0cf4b3d Merge pull request #127 from mpictor/review/embarcadero
Fixed issue for bcc32 v6.30 and up.
2012-01-29 05:01:27 -08:00
Mark Pictor
4cd7e7c806 Add a warning for unsupported language features, and print it for indexing upon a binary 2012-01-26 20:11:59 -05:00
davyw
22cbb3efcf Fixed issue for bcc32 v6.30 and up.
* _Bool type is a known keyword for bcc32 v6.30 and up.
2012-01-18 21:09:49 +01:00
Mark Pictor
c415e49894 put enums in separate table 2012-01-17 20:38:31 -05:00
Mark
064a2b41b5 Merge pull request #120 from mpictor/review/borland
Review/borland
2012-01-06 15:00:38 -08:00
Mark
fffaba61f2 Merge pull request #119 from mpictor/review/msvc_fixes
Review/msvc fixes
2012-01-06 15:00:21 -08:00
davyw
4ab01a7773 Ran astyle to fix code style. 2012-01-06 19:56:32 +01:00
davyw
873a86de8b Ran astyle to fix code style. 2012-01-06 19:54:57 +01:00
davyw
3a9fa997b3 Added default namespace for Boolean type.
* In borland type Boolean conflicts with System::Boolean so it is needed
  to replace Boolean with ::Boolean.
2012-01-04 23:12:47 +01:00
davyw
2d26da7d24 Changed xgetopt module to remove unicode support.
* Since the unicode support (TCHAR, _T, ...) did not build with borland
  makefiles target I removed unicode support temporarily since most scl
  code does not support unicode yet.
2012-01-04 23:12:46 +01:00
davyw
c0c423c625 Added support for cmake 'Borland Makefiles' generator.
* Added __BORLAND__ flag to a number of places in the code.
* Added BORLAND specific stuff to CMakeLists.txt files.
2012-01-04 23:12:46 +01:00
davyw
555a574eef Added support for cmake 'Borland Makefiles'.
* Added BORLAND target to several CMakeLists.txt.
  (MSVC and BORLAND require similar behaviour for imports/exports)
* Added __BORLAND__ ifdefs where needed.
2012-01-04 23:12:45 +01:00
davyw
82898d74a4 Changed classes inherited from std::string from is-a to has-a std::string.
* Removed std::string base class for SDAI_String and SDAI_Binary.
* Added necessary std::string interface functions to SDAI_String and SDAI_Binary.
* Removed msvc specific code from sdaiString.h
2012-01-04 22:24:54 +01:00
davyw
09f347234b Fixed local variable declarations to be msvc compliant. 2012-01-04 21:00:59 +01:00
Mark
3ce06bce27 Merge pull request #117 from mpictor/review/matrix-python-ctest
Create schema matrix using python and ctest
2012-01-03 01:10:47 -08:00
Mark Pictor
e7d3c2a075 python/ctest for matrix seems to work now 2011-12-30 09:21:31 -05:00
Mark Pictor
e1b374a7d6 initial work on creating matrix with ctest and python 2011-12-29 22:06:31 -05:00
Mark
33c66b0954 Merge pull request #116 from mpictor/review/msvc2010
Fixed linker error for MSVC2010.
2011-12-26 04:00:08 -08:00
Mark
eb61193bcf Merge pull request #115 from mpictor/review/aggr-index
Indexing on aggregates and generics
2011-12-24 03:16:02 -08:00
davyw
2535a4f8b2 Fixed linker error for MSVC2010.
* In MSVC2010 std::string::npos is not exported from std libs but
  since it's a constant value it's safe to declare this in the header
  file so every lib that's using it has a local instance.
2011-12-19 13:55:34 +01:00
Mark Pictor
ed76f0b625 handle indexing on GENERICs 2011-12-18 19:34:14 -05:00
Mark Pictor
f3a82debec forgot to add the test express schema for aggregate indexing 2011-12-17 20:41:35 -05:00
Mark Pictor
1da31f6501 cleanup 2011-12-17 20:37:55 -05:00
Mark Pictor
67f8897429 avoid index error on select types (issue #96) 2011-12-17 20:37:55 -05:00