Commit Graph
69 Commits
Author SHA1 Message Date
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 b6f708a8a7 silence two Wundef warnings 2013-07-20 20:36:17 -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 5fa4b17513 replace all references to SCL with SC in CMake files and code 2013-04-14 14:49:53 -04:00
Cliff Yapp 36dc0ddd75 Make a stab at merging in changes from https://github.com/stepcode/stepcode/pull/192, needed for select_lookup_enum.exp 2013-04-01 00:43:15 -04:00
Cliff Yapp 8d737980be Run Astyle to sync file layouts 2013-03-05 22:01:45 -05:00
Cliff Yapp 784363bf5f Make a stab at merging master and brlcad. Not properly working yet, need to remove some files, etc. 2013-03-04 21:57:08 -05:00
Nicholas Reed 6c1f70dc6e apply changes for fedex_python from SCL git 10999e7 and 2dcfaed 2012-07-12 17:51:33 +00:00
Nicholas Reed c073fbecb9 combine multiple definitions of LISTempty 2012-07-11 22:57:25 +00:00
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 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 89952aec17 Add public domain getopt implementation. SCL git c3f9ff5, dc302ea, and 2d26da7. 2012-06-07 15:40:40 +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
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 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 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
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 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
Mark Pictor c415e49894 put enums in separate table 2012-01-17 20:38:31 -05: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
Nicholas Reed 8377dbb6ee remove old debug header 2011-12-30 19:55:18 +00:00
Nicholas Reed e2b4034cca initial build of step express parser using perplex scanner 2011-12-21 22:52:20 +00:00
Mark Pictor ed76f0b625 handle indexing on GENERICs 2011-12-18 19:34:14 -05:00
davyw 0aa9b5dd97 Removed SCL_EXPRESS_EXPORT flag for EXPRESSgetopt_options[].
* Since EXPRESSgetopt_options[] is locally defined for each usage (fedex.c and fedex_main.c)
  it should not be exported from express lib.
* This also removes 3 warnings in MSVC.
2011-12-12 15:00:17 +01:00
davyw ca4940e6e9 Removes several times warning C4018 in MSVC.
* Removes signed/unsigned mismatch warning.
2011-12-12 15:00:02 +01:00
Mark Pictor 388901d20c run astyle on all files. changed args to catch more files (src/*.h) 2011-12-07 19:03:07 -05:00