Jason Turner
14a280713f
Update version to 5.3.2
2014-06-11 15:15:51 -06:00
Jason Turner
32a9aa9c3c
Merge branch 'develop' of https://github.com/ChaiScript/ChaiScript into develop
2014-05-29 20:44:35 -06:00
Jason Turner
4018c873dc
Spelling fixes, phase 1.
2014-05-29 20:16:47 -06:00
Jason Turner
b4ea27d28a
Add unsupported build support for Haiku
2014-05-27 06:51:38 +00:00
Jason Turner
d5378f50af
Fix cygwin builds #121
...
Cygwin claims to be POSIX but only implementes part of
the dl_open interface.
For this usage, we revert to win32 interface when building on
Cygwin.
2014-05-13 14:55:27 -06:00
Jason Turner
61cd633084
Merge branch 'develop' of https://github.com/ChaiScript/ChaiScript into develop
...
Conflicts:
include/chaiscript/language/chaiscript_common.hpp
include/chaiscript/language/chaiscript_parser.hpp
2014-05-11 12:02:33 -06:00
Jason Turner
bcb7172037
Enable MSVC warning for thread safety with statics
...
Clean up a couple of additional issues found while playing with /Wall in MSVC.
2014-05-11 10:52:07 -06:00
Alex Swindler
d3084ed136
Formatted CMakeLists.txt
2014-05-07 15:02:21 -06:00
Jason Turner
62b8977abe
Correct linking of modules for coverage testing
2014-05-04 21:52:27 -06:00
Jason Turner
b87c37032b
Add version numbers that can be queried at runtime
2014-05-04 10:14:42 -06:00
Jason Turner
7932cb18f3
Clean up linker flags and add sanitizer options
...
Sanitizers are features now built into gcc and clang to check for
runtime problems such as data races, memory errors or undefined
behavior.
2014-05-04 07:55:36 -06:00
Jason Turner
926e962fc0
Merge remote-tracking branch 'origin/release-4.x'
...
Conflicts:
.travis.yml
CMakeLists.txt
include/chaiscript/dispatchkit/bootstrap.hpp
include/chaiscript/dispatchkit/boxed_cast.hpp
include/chaiscript/dispatchkit/dynamic_cast_conversion.hpp
include/chaiscript/dispatchkit/function_call_detail.hpp
include/chaiscript/dispatchkit/proxy_functions.hpp
include/chaiscript/language/chaiscript_common.hpp
2014-03-29 07:30:14 -06:00
Jason Turner
296769ee24
Version number bump, cppcheck fix
2014-03-26 15:20:06 -06:00
Jason Turner
96acf5e833
Update travis in 4.x branch for coveralls support
2014-03-26 11:37:37 -06:00
Jason Turner
0213039ee7
Install gcc-4.8 in travis matrix and test both 4.6 & 4.8
2014-03-25 08:12:07 -06:00
Jason Turner
782c3040cc
Add badge display for coveralls status, update travis
2014-03-23 18:42:17 -06:00
Jason Turner
bf0737a35c
Cleanup search for chaiscript_stdlib and fix some bugs
2014-03-23 16:42:04 -06:00
Jason Turner
ee35eb1512
Merge branch 'ChaiScript_5_0_CPP_11' of https://github.com/ChaiScript/ChaiScript into ChaiScript_5_0_CPP_11
2014-03-04 11:21:25 -07:00
Jason Turner
ebbcc5cbdb
Catch missing virtual destructors, enable g++ warnings
2014-03-04 11:20:45 -07:00
Jason Turner
dbd9534bd9
Eliminate warnings on MSVC 2013
...
Note that this required ignoring a few warnings with pragmas, changing the
parameter type and return types of std::string::find functions to size_t
from int and a new global warning disable on MSVC.
I've managed to avoid global warning disables up to this point in the
code, but I don't see a way around the "decorated name too long (C4503)" warning.
Closes #100
2014-03-02 08:18:36 -07:00
Jason Turner
daf5480c48
Fix up the pthread usage on broken ubuntu gcc4.8.1
...
For more information:
http://stackoverflow.com/questions/19463602/compiling-multithread-code-with-g
2014-03-01 16:03:01 -07:00
Jason Turner
3d76e980cc
Attempt to detect if g++ is old and we should use --c++0x
2014-03-01 07:42:32 -07:00
Jason Turner
cb42bffbf9
Merge branch 'ChaiScript_5_0_CPP_11' of https://github.com/ChaiScript/ChaiScript into ChaiScript_5_0_CPP_11
2014-02-26 10:51:36 -07:00
Jason Turner
b2b9efebe3
Add unit test to make sure heap allocation of chai works
2014-02-26 10:51:31 -07:00
Jason Turner
b97c5c13c1
Update to version 5.3.0
...
Merge branch 'master' into ChaiScript_5_0_CPP_11
Conflicts:
CMakeLists.txt
releasenotes.txt
2014-02-23 07:17:51 -07:00
Jason Turner
8c70fff02b
Update version to 4.3.0
2014-02-23 07:10:03 -07:00
Jason Turner
3b1213a2b0
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Fix for issue #94
Conflicts:
src/main.cpp
2014-01-05 15:12:54 -07:00
Jason Turner
b872a50acc
Add module search path relative to current exe #94
2014-01-05 14:59:31 -07:00
Jason Turner
95e3093df3
Update -std=c++0x to -std=c++11
2013-11-02 10:55:36 -06:00
Jason Turner
73b3762f7a
Get ChaiScript ported to MSVC 2013. See Notes in code.
2013-11-02 07:42:06 -06:00
Jason Turner
494a67c9a0
Fix linking for C++11 builds on macos
2013-04-25 15:04:44 -06:00
Jason Turner
9ac58a942e
Fix clang identification
2013-04-25 10:32:40 -06:00
Jason Turner
1e1385bc52
Do not link dl if on FreeBSD
2013-03-28 21:59:36 -06:00
Windoze
88f7bffc4f
FreeBSD hasn't libdl, functions included in libc
2013-02-27 14:01:09 +08:00
Jason Turner
e4f4b64cc8
Update to 5.2.0
...
Merge branch 'master' into ChaiScript_5_0_CPP_11
Conflicts:
CMakeLists.txt
releasenotes.txt
2012-11-30 20:40:39 -07:00
Jason Turner
59df213e66
Update version to 4.2.0
2012-11-30 20:38:17 -07:00
Jason Turner
691e002f90
Update to support building with MinGW #78
...
We cannot call MinGW a fully supported platform for C++11 yet:
- Concurrency is not yet supported by MinGW, so it is disabled by default
- A problem in the memory model / library loader is preventing derived type
casts from working. This may be able to be worked around, but has not been
yet.
2012-11-28 16:06:45 -07:00
Jason Turner
47ab27fd11
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/proxy_functions.hpp
releasenotes.txt
2012-11-27 21:42:21 -07:00
Jason Turner
0ea8931b21
Add ability to call functions requiring arithmetic value conversions
...
- Conversions are only attempted on a dispatch
- Conversions are only attempted after a normal dispatch has failed
- Conversions are only attempted if exactly one function matches
the signature of the parameters passed in - excluding the mismatched
arithmetic parameters
- This feature should not be relied on in performance critical code
overhead is added for each function call that requires a conversion
to execute, see the tests performed above.
2012-11-27 21:21:37 -07:00
Jason Turner
f24d376fa5
Update for release 4.1.1
2012-11-17 20:48:25 -07:00
Jason Turner
455324bf13
Merge branch 'master' into ChaiScript_5_0_CPP_11 / update version numbers
...
Conflicts:
CMakeLists.txt
releasenotes.txt
2012-11-17 18:33:13 -07:00
Jason Turner
deef33640c
Update releasenotes and version numbers for 4.1.0 release
2012-11-17 18:31:48 -07:00
Jason Turner
6bb90f9d6d
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/language/chaiscript_eval.hpp
2012-11-10 16:59:32 -07:00
Jason Turner
4c65e45598
Correct signing and sizing of integer literals #77
2012-11-10 16:31:05 -07:00
Jason Turner
c5a86401aa
Merge branch 'master' into ChaiScript_5_0_CPP_11
...
Conflicts:
include/chaiscript/dispatchkit/bootstrap_stl.hpp
2012-11-07 13:47:09 -07:00
Jason Turner
ed7bdfb172
Add "erase" function to associative sets (maps)
2012-09-26 11:31:19 -06:00
Jason Turner
8f7226051e
Add boost::system to linkage to support boost 1.50. Should not cause any issue for older users of boost
2012-08-14 08:59:48 -06:00
Jason Turner
8cb49e9494
Merge branch 'master' into 2011-09-09-CxScript
2012-07-16 22:12:29 -06:00
Jason Turner
441cdf0935
Add test showing c linkage working fine [ #16 ]
2012-07-16 22:10:40 -06:00
Jason Turner
f0016d978a
Add test to make sure simultaneous ChaiScript instantiations work
2012-07-16 21:51:06 -06:00
Jason Turner
1155720b14
Add the ability to save and restore the state of local variables #25
2012-07-16 21:27:42 -06:00
Jason Turner
c2934caad6
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
include/chaiscript/language/chaiscript_engine.hpp
src/multithreaded.cpp
2012-07-13 13:32:29 -06:00
Jason Turner
f5b7be3743
Correct building on threadless
2012-07-13 13:14:48 -06:00
Jason Turner
9f309fcbe9
Add tests for multithreaded features #55
2012-07-10 15:10:09 -06:00
Jason Turner
a6924bcc9e
Use C++11 Raw Strings for chaiscript prelude
2012-06-28 21:24:51 -06:00
Jason Turner
d3b8daeff0
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
CMakeLists.txt
include/chaiscript/language/chaiscript_common.hpp
include/chaiscript/language/chaiscript_engine.hpp
include/chaiscript/language/chaiscript_eval.hpp
2012-06-25 15:40:19 -06:00
Jason Turner
5e6a51ba63
Add failing unit test for remaining error condition to check for.
2012-06-25 07:44:14 -06:00
Jason Turner
f6e53dd42d
Correct some threading issues
...
- prototype avoiding a lock with __thread in g++
- pass -pthread and -lpthread when building to get threading actually working
2012-06-22 14:18:44 -06:00
Jason Turner
953c4e4847
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
CMakeLists.txt
2012-06-13 21:54:48 -06:00
Jason Turner
3bccf4d977
Explicitly link to pthreads, seems some systems need this #47
2012-06-09 18:02:35 -04:00
Jason Turner
4ebfe264e9
Make stdlib
...
* Build the standard library as a module .so
* Locate and load lib at runtime as a module
if it is not provided to the ChaiScript
constructor.
Decreases compile time by 1/2 for common use cases
where the user can use the dynamic library module.
2012-06-03 08:11:37 -06:00
Jason Turner
b1a27020f7
Get Cx branch ready for release
2012-06-01 14:22:57 -06:00
Jason Turner
4767aeb544
Merge branch 'master' into 2011-09-09-CxScript
2012-06-01 14:20:58 -06:00
Jason Turner
254d176266
Set CMakeLists.txt to version 4.0.0 for release
2012-06-01 14:00:20 -06:00
Jason Turner
13ffc92bc3
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
CMakeLists.txt
include/chaiscript/dispatchkit/boxed_value.hpp
include/chaiscript/language/chaiscript_eval.hpp
2012-05-21 10:47:12 -06:00
Jason Turner
349425fe8a
Make vector inplace construction consistent with map
...
- Clone elements into both vector and map
- Be sure to drop dependencies after elements are cloned in
2012-05-20 07:04:22 -06:00
Jonathan Turner
37b8e6c3f9
Merge branch '2011-09-09-CxScript' of github.com:ChaiScript/ChaiScript into 2011-09-09-CxScript
2012-05-17 10:16:35 -07:00
Jonathan Turner
c73f16fdfe
Fixing 4.x grammar to be backward compatible.
...
Added 3.x unit tests back to show this.
2012-05-17 10:14:50 -07:00
Jason Turner
68df78a2a6
Add examples for using C++ lambdas with chaiscript. #32
2012-05-16 15:55:03 -06:00
Jason Turner
7deb2311f5
Restore CMakeLists.txt on head to working version
...
Reverted to revision: 277b4eec9aee6962f30a283caf9f145285e19951
2012-05-15 19:48:46 -06:00
Jason Turner
4674594ee7
Make libcxx a default option when using clang
2012-05-15 19:30:17 -06:00
Jonathan Turner
730bad9728
Adding support for building with clang/libcxx.
2012-05-15 14:58:38 -07:00
Jonathan Turner
1f4900c363
Add support for building with clang/libcxx.
2012-05-15 14:50:56 -07:00
Jason Turner
286b130f47
Merge branch 'master' into 2011-09-09-CxScript
...
Conflicts:
CMakeLists.txt
include/chaiscript/dispatchkit/boxed_number.hpp
include/chaiscript/language/chaiscript_engine.hpp
2012-05-14 10:08:04 -06:00
Jason Turner
277b4eec9a
Add failing test for short comparisons #26
2012-05-14 09:22:03 -06:00
Jonathan Turner
41b0c7768c
Adding header files to CMakeLists.txt. Hopefully this will help them
...
show up in IDEs (works for Qt Creator so far).
2012-03-11 14:06:18 -06:00
Jason Turner
d6b475239a
Remove boost from utility and associated module tests
2011-09-21 00:04:15 -06:00
Jason Turner
afa96ecbf9
Begin port to C++11
2011-09-10 06:55:27 -06:00
Jason Turner
2b64c90a0e
Merge branch 'master' of https://github.com/ChaiScript/ChaiScript
...
Conflicts:
CMakeLists.txt
Fixed conflicted CMakeLists.txt
2011-09-09 13:58:19 -06:00
Jason Turner
a386142fa6
Get chaiscript compiling with -pedantic. Closes issue #9
2011-09-09 13:40:50 -06:00
Sven-Hendrik Haase
cacc744411
More consistency fixes
2011-08-03 19:25:02 +02:00
Sven-Hendrik Haase
f8880066ea
Consistency fix
2011-08-03 16:10:13 +02:00
Jason Turner
1cd9a9098c
Update gcc flags for MacOS to ignore sign comparison warnings
2011-06-18 07:34:55 -06:00
Jason Turner
28e3d442e2
Update version number to 3.1.0 for next release
2011-06-16 10:19:54 -06:00
Jason Turner
18d4984258
Final tweaks to packaging for 3.0.0
2011-05-23 08:16:24 -06:00
Jason Turner
845eb394ac
Correct installation of pkgconfig file
2011-05-23 07:58:05 -06:00
Jason Turner
2786156086
Finalize documentation for 3.0.0 release and update version number in CMakeLists.txt
2011-05-20 13:44:34 -06:00
Jason Turner
2ce55d81b3
Fix bug in installation of some files
2011-03-13 19:24:42 -06:00
Jason Turner
4e06478fb8
Amp up the warnings used in g++ and fix associated errors
2011-03-12 11:27:53 -07:00
Jason Turner
d9a92a5148
Add std::exception as a base clase off std::runtime_error and provide unit test for it.
2011-03-09 21:41:32 -07:00
Jason Turner
eee5c19b6e
Begin support for Doxygen and building Chaiscript version number into
...
the code.
2011-03-03 22:43:01 -07:00
Jason Turner
660e978da3
Implement test for function ordering for dispatch. Catch bug for "const" characterization of function parameters. Add test for type characterizations.
2010-12-13 03:32:47 +00:00
Jason Turner
811764e048
Object lifetime specificity test added.
2010-11-11 15:58:51 +00:00
Jason Turner
0f9b1aaf92
Make extra modules (stl, reflection) into compile time options. Task #118
2010-11-11 04:36:43 +00:00
Jason Turner
91c05f0e73
Apply patch (and rearrange a directory) from emarcotte for pkgconfig support
2010-11-08 13:47:41 +00:00
Jason Turner
906140ec78
Find and fix bug in handling of bound function types_infos and arity.
...
Remote outdated samples. Move working samples into samples folder and make part of build process. Make building of samples optional.
Closing #107
2010-11-08 05:22:15 +00:00
Jason Turner
36173d277d
Closing issue #99 : shared const char * memory issues. Also, clean up some file loading overhead (did not seem to have an performance impact).
2010-11-05 22:01:39 +00:00
Jason Turner
e1e48d732f
Wrap up of clean up of warnings in 64bit visual studio
2010-11-05 04:05:02 +00:00
Jason Turner
b3dafa385e
Add bigobj compile flag for 64bit windows builds.
2010-11-05 01:58:48 +00:00
Jason Turner
2d353cb189
Fix oddity found while testing on msys with G++ 4.5.0
2010-10-23 15:59:39 +00:00
Jason Turner
67bad374a9
Get mutlifile compilation working again and add a test for it
2010-10-22 21:30:58 +00:00
Jason Turner
c3da778103
Preliminary boxed_cast_test added. This test is meant to test all possible boxed_cast conversions that are available. Currently... some basic ones are failing.
2010-10-08 03:07:26 +00:00
Jason Turner
670eb0692b
Visual studio warning reduction and compile fixes for vs2010. Warning suppression on vs2005. Fixes to get cmake working with boost autolinking. Update to support boost 1.44
2010-09-30 14:33:12 +00:00
Jason Turner
10986c159f
Add support for automatic conversion between chaiscript functions and boost::function. Might merit some look to see how much overhead this adds.
2010-09-13 14:24:12 +00:00
Jason Turner
71de169e09
Stub out the reflection module
2010-08-28 18:29:38 +00:00
Jason Turner
329244759f
Fix warnings discovered on macos
2010-08-28 17:58:02 +00:00
Jason Turner
21253043d1
Add option for "light" testing, which greatly reduces compile times
2010-08-05 13:44:23 +00:00
Jason Turner
a122403c20
Fix problem with functor<>() not casting to the proper type and add unit test for this case
2010-08-03 15:19:20 +00:00
Jason Turner
e1fbf54e40
Make disabling of thread support a configuration time option. This mainly exists for testing purposes.
2010-08-03 03:09:49 +00:00
Jason Turner
f4e4f92dae
Move type registration into module code, and fix problems with unloading of modules and type conversions registered inside of a module.
...
We have to allow the same type registration more than once now, just in case several different modules register the same conversion.
2010-08-03 01:17:38 +00:00
Jason Turner
b971ee44ad
Make warnings stricter on windows and clean up all legit warnings in our code.
2010-07-30 18:06:17 +00:00
Jason Turner
b9ae4cd528
Make warnings more strict and fix one warning caught by gcc
2010-07-30 16:25:58 +00:00
Jason Turner
4ec21ff552
Add test of dynamic object attribute access shared between c++ and chaiscript
2010-07-25 19:56:19 +00:00
Jason Turner
f7086c10ec
Roll back changes from last 2 checkins - user defined type conversions are going to be too slow and too hard to keep track of. Need more portable / generic approach to solving the actual problem - the ability to deal with inhertance properly
2010-07-23 14:55:32 +00:00
Jason Turner
35ac7342b6
Stub in of support for type conversions. Not yet fully implemented.
2010-07-17 21:49:27 +00:00
Jason Turner
3f9b5081c6
Add macro for helping with registering classes with ChaiScript, plus unit test for it
2010-07-17 01:01:21 +00:00
Jason Turner
fe6694297f
Set version number to 2.3.3
2010-05-15 22:39:28 +00:00
Jason Turner
c928e2992b
Fix readline support for the eval
2010-03-30 18:40:55 +00:00
Jason Turner
f431d479fc
Add support for using cmake to build RPMs
2010-03-30 02:01:59 +00:00
Jason Turner
e11eca406d
Get cpack working for source and deb distribtions. Still need to check nsis and rpm
2010-03-29 15:32:20 +00:00
Jason Turner
7efb65a5c2
Move to using cmake for VisualStudio
2010-03-28 13:31:19 +00:00
Jason Turner
39339d769a
Get the rest of the unit tests passing. Note: ChaiScript now requires CMake 2.8, which is almost a year old, so this is fair, but for the meantime we will have to either get it from backports in ubuntu or from cmake.org
2010-03-19 00:50:36 +00:00
Jason Turner
7080f5d681
Use ctest to run unit tests. run "make test" to run them. Note, anything "use"ing another file or loading a module will fail. Need to come up with some cross platform mechanism for specifying include dirs to solve this. Current thought: using environment variables "CHAI_USE_PATH" and "CHAI_MODULE_PATH"
2010-03-16 04:07:38 +00:00
Jonathan Turner
204d379176
Fix default cmake build to use readline and gdb. Add simple try/catch/throw exceptions
2009-09-18 22:04:07 +00:00
Jason Turner
394d8c3bf6
Allow the user to choose the build type using CMAKE_BUILD_TYPE by eliminating the overrides in the CMakeLists.txt file
2009-09-15 02:53:23 +00:00
Jason Turner
4bdbcf30ff
Move std::list<> support from main.cpp into a module, stl_extra.cpp, to better allow for measuring of core compile times / performance.
2009-09-15 01:30:51 +00:00
Jonathan Turner
2d4b9c0d93
Another Touchup fix to CMakeLists.txt for cleanliness
2009-09-07 21:25:10 +00:00
Jonathan Turner
f522d3697c
Touchup fix to CMakeLists.txt for cleanliness
2009-09-07 21:09:18 +00:00
Jonathan Turner
48e96b2f3b
Add readline support to eval.
2009-09-07 20:52:31 +00:00
Jonathan Turner
7e3127549f
Added simple const value caching. Fix CMake to default back to debug mode
2009-09-07 15:48:32 +00:00
Jonathan Turner
4713325877
Touchup to cmake project file to prevent error msg in OS X
2009-09-07 14:13:28 +00:00
Jason Turner
7cc6a3cab9
Add support for loadable modules on POSIX systems
2009-09-06 23:33:03 +00:00
Jason Turner
6c4872eae9
Initial check in of multithreaded support for chaiscript
2009-08-31 19:50:41 +00:00
Jonathan Turner
5b424be4ed
Add error to CMakeList.txt on missing Boost. Fix if sample
2009-07-26 13:33:58 +00:00
Jonathan Turner
724ffdcb20
Oops, resetting CMakeList.txt to the correct one
2009-07-15 14:41:21 +00:00
Jonathan Turner
7c7e437b10
Clean up unnecessary Boxed_Value copies in eval
2009-07-15 14:40:53 +00:00
Jonathan Turner
2d0b8e85b6
Move test files to contrib/test and added one liner to readme
2009-07-13 13:18:26 +00:00
Jonathan Turner
5c79c7cec0
Move dispatchkit test out of include
2009-07-10 15:25:14 +00:00
Jonathan Turner
ac2b59796f
Moving internal includes to point to the new dir structure
2009-07-10 15:24:24 +00:00
Jonathan Turner
0f5ff57a46
First bit of work making a package build
2009-07-09 14:51:12 +00:00
Jonathan Turner
294d22ac5b
Remove unnecessary type comparison in equation
2009-07-03 14:52:05 +00:00
Jonathan Turner
3ed5fe0c97
Added ws skipping. Non ws skipping versions of base parsers. Added comment skipping
2009-06-24 13:53:05 +00:00
Jonathan Turner
85a30e91fb
Moving wesley to chaiscript
2009-06-11 17:39:36 +00:00
Jonathan Turner
31cf022989
First step of new move attempt
2009-06-11 17:37:27 +00:00
Jonathan Turner
408543645a
Revert to r133. Try again
2009-06-11 16:06:09 +00:00
Jonathan Turner
5d4a2901f5
Moving directory
2009-06-11 15:56:18 +00:00
Jonathan Turner
d984f973f4
Added 'wesley' project. Added eval. Fixed some of the parsers to do correct delegation
2009-06-02 23:29:04 +00:00
Jonathan Turner
4921d9a89e
Enabling testing from the root
2009-05-29 02:24:55 +00:00
Jason Turner
72ae292a43
Added basic support for boost unit testing
2009-05-28 22:56:57 +00:00
Jonathan Turner
bf7fba3646
Moving project files into subdirs
2009-05-28 18:13:06 +00:00