267 Commits
Author SHA1 Message Date
Nicholas Reed 1483ccb839 Address warning about indexing with char type values based on ASCII characters (same problem as in r51103). Unlikely to be a problem in this case so just quell by casting to int. SCL git 512968e and 425a9c3. 2012-06-26 15:56:45 +00:00
Mark Pictor 1a60cf9fab Use our getopt implementation on all platforms
* rename xgetopt.* to sc_getopt.*, move to src/base
* rename getopt() to sc_getopt()
2012-06-25 21:44:56 -04:00
Mark Pictor 485cfa85d4 cleanup, and use bool in place of int in one place 2012-06-24 11:22:18 -04:00
Mark Pictor f1470bbd4c add two parser warnings 2012-06-24 11:22:18 -04:00
Mark Pictor 948f2bc0c5 use INT_MAX, rather than SCL's 32-bit MAXINT 2012-06-24 11:22:18 -04:00
Nicholas Reed 205debf1ba add fedex_plus/express memory cleanup function; SCL git f5d0cc5 2012-06-19 15:53:06 +00:00
Nicholas Reed e508fcfa4a remove 'backwards compatiblity' symbols; SCL git 1481950 and a63ac73 2012-06-12 18:53:08 +00:00
Nicholas Reed 6b15b82ff2 Warn about indexing binary types instead of failing. Allows fedex_plus to produce output for ap221 and ap235 express schemas. SCL git 4cd7e7c. 2012-06-12 18:22:26 +00:00
Nicholas Reed 173de43128 put enums in separate table; SCL git c415e49 2012-06-12 17:56:04 +00:00
Nicholas Reed dc78aae8e3 handle indexing on generics; SCL git ed76f0b 2012-06-11 17:12:34 +00:00
Nicholas Reed 163b9ad6c1 warning fixes from SCL git 07ed8f6, 0aa9b5d, and 2b0da3f 2012-06-08 22:37:39 +00:00
Nicholas Reed 8b0faebec8 warning fixes from SCL git 2179c8a and ca4940e 2012-06-07 21:47:51 +00:00
Nicholas Reed eecb7b5484 add dll export symbols to cleditor; SCL git 2e01a01, c771b27, and 0869e41. 2012-06-07 18:29:00 +00:00
Nicholas Reed c817e0e77d actually add getopt sources 2012-06-07 15:45:47 +00:00
Nicholas Reed 89952aec17 Add public domain getopt implementation. SCL git c3f9ff5, dc302ea, and 2d26da7. 2012-06-07 15:40:40 +00:00
Nicholas Reed d4fc6e1c6d more symbols for MSVC dll import/export; SCL git f853b99 2012-06-06 22:29:39 +00:00
Nicholas Reed 389ef8aa2d start adding symbols for MSVC dll import/export; SCL git ba12196 2012-06-06 21:44:33 +00:00
Nicholas Reed e997b59c00 MSVC fixes from SCL git 6226717 and 879f509 2012-06-06 19:21:12 +00:00
davyw 3acbefd9ab Fixed linker errors for fedex_python on embarcadero bcc32.
* xgetopt.c was only included for MSVC on fedex_python, now BORLAND has been
  added.
* Added two additional functions to be exported from libexppp since they
  are used by fedex_python.
2012-05-26 20:09:57 +02:00
tpaviot 2dcfaedae2 Implemeted functions/rules prototypes (to be continued) 2012-05-11 12:08:23 +02:00
Nicholas Reed 1ed73e89e3 Fix and doxify comments, plus misc cleanup. SCL git 3e8c116, 5dc0439, 5d36b32, and 65791a2. 2012-05-10 18:08:22 +00:00
Nicholas Reed bb76855e7b minor string comparison improvements from SCL git 1ad14e1, 70a8382, 7a6ba24, c316f21, and 572e9ad 2012-05-01 18:22:21 +00:00
Nicholas Reed d295c826bf replace shorts with ints along the lines of SCL git d2baec0, but be more judicious in using unsigned versus signed 2012-04-25 17:50:44 +00:00
Nicholas Reed ece611293e Apply SCL git d6d7c48 changes. SCLP23 macros replaced with simple SDAI_ prefix. 2012-04-17 22:53:53 +00: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 Pictor 261ae1d67e minor changes, mostly suggested by davyw 2012-04-08 16:02:54 -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 Pictor 2067e48bbd check for std::thread during configuration 2012-04-06 16:54:41 -04:00
Mark Pictor 6c76d7b184 fix potential scl_cf.h problem 2012-04-06 16:35:33 -04:00
Nicholas Reed 29202c20dd sync with SCL git 993167e 2012-04-03 21:56:30 +00:00
Nicholas Reed 25e267a8b6 Replaced basic.h's Boolean/True/False with bool/true/false via stdbool.h or else scl_stdbool.h. Includes changes from SCL git e40cbca and 71bd7b2. Honest attempts made to ensure all affected symbols were actually being used as real booleans (as opposed to sdaiEnum.h's trinary Boolean type). 2012-03-29 22:27:28 +00:00
Nicholas Reed 5ca5b8eadf Removed references to PART26/CORBA and ODI_OSSG. Corresponds primarily to SCL git e99240a, d6aa13f, and 4c5a8e0. 2012-03-27 21:31:16 +00:00
Nicholas Reed 8c8f2a1114 run astyle on SCL sources with misc/astyle.cfg options 2012-03-27 17:07:44 +00:00
Nicholas Reed 196e21bda3 remove step autotools files 2012-03-20 22:49:44 +00:00
davyw f5d0cc59aa Added fedex_plus/express cleanup functions.
* A lot of memory allocated in EXPRESSinitialize was not cleaned up.
  Added EXPRESScleanup function and subfunctions to clean up that memory.
2012-03-13 21:17:49 +01:00
davyw 82c84e7337 Added base library with scl_memmgr implementation.
* scl_memmgr supports both c and c++ memory management.
  malloc, calloc, realloc and free for c.
  new, delete operators for c++.
  (in c++ files scl_memmgr.h should be included last because a macro
   is used to replace new and delete with scl versions. If not included
   last, this would break build.)
2012-02-27 21:20:15 +01:00
tpaviot 10999e7a48 First draft for a SCL python generator 2012-02-22 17:57:21 +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 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
Christopher Sean Morrison c06a398cad use __inline__ instead of inline for c89 compilation 2012-02-02 17:06:21 +00: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 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
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