Mark Pictor
6e8cad223e
cmake 2.8.7 needs append_string, not append
2015-08-02 15:37:45 -04:00
Mark Pictor
018e7cfffc
reduce delay used in parallel test, as it appears to cause a failure.
...
TODO: rework the test to not be timing-sensitive
2015-08-02 14:53:36 -04:00
Mark Pictor
458b775f41
simplify cmake logic - use set_property(...APPEND...) rather than get/list append/set
2015-08-02 14:30:01 -04:00
Mark Pictor
dc82923cf1
support cmake 2.8.7 since that's what travis-ci uses
2015-08-02 14:28:53 -04:00
Mark Pictor
aa967b3316
tweak includ dir logic, print path
2015-07-26 23:22:32 -04:00
Mark Pictor
17b41da525
add std::chrono test, if available use in thread test
2015-07-26 22:22:44 -04:00
Mark Pictor
135adc76c8
fix warning, improve cmake messages
2015-07-26 20:49:04 -04:00
Mark Pictor
017faa942f
make schema-specific tests work on cmake 3.x
2015-07-26 20:49:04 -04:00
Mark Pictor
46c37207da
replace c++ style comments recently introduced with c-style comments
2015-07-26 16:59:42 -04:00
Mark Pictor
85f45f38e4
debug message for appveyor
2015-07-26 15:22:24 -04:00
Mark Pictor
be378119f4
piping to grep prevents appveyor from detecting failures
2015-07-26 15:22:09 -04:00
Mark Pictor
ecde882d5a
oops, forgot export macro for path2str
2015-07-26 14:32:43 -04:00
Mark Pictor
3d90ffdf83
remove yet more CORBA and ObjectStore stuff... surprised it still exists
2015-07-26 14:22:07 -04:00
Mark Pictor
5dfca2ed78
exp2py - remove unused function USEREFout
2015-07-26 14:20:24 -04:00
Mark Pictor
fbf0272d3b
indent a listdo/listod
2015-07-26 13:42:52 -04:00
Mark Pictor
c69f9ebab2
fix length check for keyword detection function
2015-07-26 13:42:25 -04:00
Mark Pictor
942fb89f68
cleanup
2015-07-26 13:41:49 -04:00
Mark Pictor
893936b11f
printf(...) -> fprintf( stderr, ...): warnings and errors should not be on stdout
2015-07-26 13:39:40 -04:00
Mark Pictor
e4a8be26da
resolve MSVC "unknown escape sequence" warning
2015-07-19 18:29:55 -04:00
Mark Pictor
c63b3cc9b8
add CONTRIBUTING.md
2015-07-19 15:02:54 -04:00
Mark Pictor
2dace5da2e
update CI-related stuff
2015-07-19 15:02:54 -04:00
Mark
7568033499
Merge pull request #344 from cshorler/python_p21_lexer_and_parser_improvements
...
Python p21 lexer and parser improvements
2015-07-12 17:41:14 -04:00
Mark
65b6869b30
Merge pull request #343 from cshorler/python_2_6_compatibility
...
Python 2.6 compatibility
2015-07-12 17:39:18 -04:00
Christopher Horler
915e0de65f
simplification - invocation of t_STRING / t_BINARY guarantees we can use string slicing rather than strip()
2015-07-08 07:59:37 +01:00
Christopher Horler
9c83ba32a9
fix list / params handling
2015-07-07 18:46:19 +01:00
Christopher Horler
13f36c11a8
implement value conversions for simple types
2015-07-07 18:44:58 +01:00
Christopher Horler
6b26410d9d
make default implementation take bigger "slurps" looking for PART21_START tokens
2015-07-06 23:55:16 +01:00
Christopher Horler
3e84677ac9
change handling of base_tokens to simplify subclass implementations
2015-07-06 23:52:27 +01:00
Christopher Horler
081cf35855
Update tests function to parse every .stp file in the stepcode tree
...
(assumes code is under ~/projects/src/stepcode)
2015-07-05 18:36:33 +01:00
Christopher Horler
c1c3bc1077
Lexer improvements
...
- change way states are used, could give a substantial performance improvement
- implement a more flexible approach for exchange_file start token search (more extensibile for subclassing)
- rework/standardise keyword implementation for DATA token
Parser improvements
- implement error handling for duplicate entity instances
* parser catches the error, logs it
* resyncs and continues (the duplicate is ignored)
- rework the exchange_file structure detection
* added parser.reset() to allow a more flexible approach to subclassing
2015-07-05 18:27:46 +01:00
Christopher Horler
6351ff38d9
Python 2.6
...
- replace another dict comprehension
- ensure new style classes are used in Python 2.6
- change the way the tokens list is used (improves ability to subclass)
2015-07-05 18:08:33 +01:00
Christopher Horler
a82f7497a6
Python 2.6 doesn't have NullHandler or dict comprehensions
2015-07-05 17:30:40 +01:00
Mark
2a3e2a9abf
Merge pull request #342 from cshorler/improve_extensibility_for_python_p21_handling
...
make Python Part21 lexer more extensible for writing custom parser rules
2015-06-26 15:26:40 -04:00
Christopher Horler
eaf9ffc3f3
raise ValueError instead of sys.exit if input doesn't have valid header / or duplicate entity instances
2015-06-24 22:26:34 +01:00
Christopher Horler
b72f4d404a
fix typo in rule
2015-06-24 17:59:01 +01:00
Christopher Horler
b31d8ef853
when subclassing due to ply's dir() usage to determine rules a start rule is necessary
2015-06-24 17:24:23 +01:00
Christopher Horler
c865023114
files may contain multiple exchange structures, to allow for this add rudimentary state tracking
2015-06-24 17:22:49 +01:00
Christopher Horler
25ca2a788d
make Python Part21 lexer more extensible for writing custom parser rules
2015-06-22 20:38:20 +01:00
Mark
a80489dc96
Merge pull request #340 from stepcode/review/misc
...
warnings + misc
2015-06-14 21:25:25 -04:00
Mark Pictor
35170b388e
give up on msbuild, seems to offer no benefits. go back to cmake --build
2015-06-14 21:23:08 -04:00
Mark Pictor
d2680940ad
disable 2 builds so appveyor will go faster
2015-06-14 19:00:28 -04:00
Mark Pictor
e24ac2acd3
appveyor - print results from failed tests
2015-06-14 18:07:04 -04:00
Mark Pictor
903277f288
in appveyor summary, print errors first
2015-06-13 21:29:36 -04:00
Mark Pictor
5b2782a34c
appveyor has grep, so use it on build output
2015-06-13 21:28:59 -04:00
Mark Pictor
97731f8611
warning about extra parens
2015-06-13 21:13:04 -04:00
Mark Pictor
272928d6e5
treat 'fatal error' as error; also ran go fmt
2015-06-13 21:13:04 -04:00
Mark Pictor
76944b3a90
powershell's select-string is an abomination... is grep in PATH?
2015-06-13 21:13:04 -04:00
Mark
8a270222c6
Merge pull request #341 from cshorler/mpictor/review-misc
...
remove strncpy as we're not using it anyway - fixes crash on enumerat…
2015-06-13 20:34:40 -04:00
Christopher Horler
e8afb772f1
remove strncpy as we're not using it anyway - fixes crash on enumeration output
2015-06-13 15:35:32 +01:00
Mark Pictor
0eefd769e3
oops, use our own stdbool
2015-06-08 22:53:45 -04:00