Commit graph

10 commits

Author SHA1 Message Date
turleypol
43b776b94d
New format lib version (#592)
* renamed include guard to be able to use both format lib versions in
parallel

* build Fmt lib and link it into clib

* use std::string instead of format Writer for logging
added variant "2" for logging with new fmt lib

* use new logging variant for two logs

* always add \n to flush log, lets see if the assumption holds

* use new lib for tostring

* replaced all INFO_PRINTS in clib

* formatter for Token, BObject and BObjectImp

* started with bsccript

* use function instead of actual object for logging

* remaining bscript, started plib

* logvariant without newline added, more template magic

* format support for base types, added test for format padding
new version for fdump

* chanhed ecompile/runecl fixed compilation with ESCRIPT_PROFILE

* rewrite INFO_PRINT in plib,poltool/uoconvert/uotool

* replaced remaining INFO_PRINTS, renamed macros INFO_PRINT for logging
without newline, INFO_PRINTLN for newline addition.
Replaced also INFO_PRINT_TRACE and renamed it to INFO_PRINTLN_TRACE

* gitignore for fmt lib

* cleanup vim leftovers
2024-01-10 18:29:10 +01:00
turleypol
f426a5bb8e
Unittests (#412)
* combined unittests with pol -test. Added it in ctest and integrated it in CI

* fixed compilation

* last compilation errors?

* pol -test needs some fixtures

* activated dynprops unittest

* fixed dynprop test
2021-08-23 07:58:42 +02:00
turleypol
6107184258 only one global config include exists now 2018-06-17 18:31:55 +02:00
turleypol
dbb25bdb62
Include and buildsystem cleanup (#45)
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00
turleypol
798eda5b63 Cleanup of header includes. 2018-01-01 21:52:14 +01:00
turleypol
4ab046ae06 Doubled speed of custom object method resolution 2017-12-20 16:52:39 +01:00
turley
6d50cce79a In the case of dynamic items near a LOS check (which is of cause all the
time the case) decreased runtime by another 40% due to pre filtering.
2016-12-18 17:03:27 +01:00
turley
cfd6f07235 try to fix windows build 2016-12-18 13:05:31 +01:00
turley
9094b3bd8c Optimized los check by introducing caching
added Google Benchmark lib (currently linux only)
compile with ENABLE_BENCHMARK see bin-build/build_tools.sh
2016-12-18 12:48:35 +01:00
turley
1da37b2523 Fixed program args parsing of runecl
Reenabled and fixed testmode for pol
2016-12-14 17:05:34 +01:00