Bernd Amend
cff6a0aced
change .clang-format and reformat code with clang-format 11
...
I initially tried to use the existing .clang-format file,
but it does not match the code style (at least with clang-format 11)
and the formatting is not consistent across files.
Therefore, I decided to rewrite the .clang-format with some personal
preferences.
Used command
find . -iname "*.hpp" -o -iname "*.cpp" | xargs clang-format -i -style=file
2021-05-24 10:44:15 +02:00
Jason Turner
2dfd444178
Formatting cleanup
2018-06-11 05:27:48 -06:00
Jason Turner
2d762c8be3
Update copyrights to 2018
2018-05-29 11:51:15 -06:00
Jason Turner
87f1242ed4
Update copyrights to 2017
2017-02-15 15:55:40 -07:00
Jason Turner
b424d1f9cb
delimit chaiscript text blocks
2016-03-13 15:33:23 -06:00
Jason Turner
a6924bcc9e
Use C++11 Raw Strings for chaiscript prelude
2012-06-28 21:24:51 -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
bca86c87e1
Update copyrights to 2012 #23
2012-05-16 11:54:46 -06:00
Jonathan Turner
bc75df4d58
Fixed parsing of block statements vs initializer expressions.
2011-10-01 10:19:45 -06:00
Jonathan Turner
3765c23598
Switch lambda syntax over to [](){} format, to line up with C++11.
2011-09-24 13:31:24 -06:00
Jonathan Turner
784ca41270
Switch vectors and maps over to curly braces from square braces to line up with C++11.
2011-09-24 13:15:12 -06:00
Jonathan Turner
ac4bb95dfb
Rename var->auto.
2011-09-24 11:50:17 -06:00
Jason Turner
319f9e4de9
Fix issues with trim() and with unit tests relying on certain line endings.
2011-05-20 16:01:50 -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
e5f9dbb93b
Fix failing unit tests related to recent renaming of function to Function
2011-04-26 10:17:24 -06:00
Jason Turner
9dd9ffec46
Update copyright information for 2011
2011-03-15 09:42:33 -06:00
Jonathan Turner
7f037b26d4
Updated email addresses in copyright information.
2010-08-10 05:24:07 +00:00
Jason Turner
799b3ef388
Update copyright for 2010
2010-05-15 22:48:54 +00:00
Jason Turner
e2a2c14c0d
Eliminate use of size_t in stl related wrappings
2009-12-01 02:56:02 +00:00
Jason Turner
b1e892487f
Enhance "is_type" to be more accurate and to work with Dynamic_Object types
2009-10-13 03:31:56 +00:00
Jason Turner
720eabcb16
Impliment range find functions and add unit test for contains and find.
2009-10-13 02:05:18 +00:00
Jason Turner
1fde71f3f4
Add type generic comparison operations "eq", "gt", and "lt" and port the "contains" operation to use it
2009-10-13 00:18:59 +00:00
Jonathan Turner
90f8b77171
Added .contains() to ranges
2009-10-11 20:02:21 +00:00
Jason Turner
9762e15460
Fix some range/retro issues and update the visual studio files
2009-09-22 01:23:02 +00:00
Jason Turner
50eace16da
Allow "Module" to contain chaiscript snippets to be executed when a module is initialized. Update dynamic_object to use the new feature to clean up some of the _prelude.hpp
2009-09-21 03:07:01 +00:00
Jason Turner
8241e46680
Further refine how clone calls are dynamically generated, to avoid accidentally matching when we should not
2009-09-20 21:49:53 +00:00
Jason Turner
593c6c68ee
Port "retro" to use the new built in object typing, add unit test for retro'ing a retro
2009-09-20 03:50:25 +00:00
Jason Turner
991753a492
Add support for cloning of dynamic objects
2009-09-19 23:12:56 +00:00
Jonathan Turner
f23f0edc70
Fix parser to handle shortform equations (fix bad operator parsing). Add back lines to prelude for line numbers
2009-09-09 14:11:03 +00:00
Jason Turner
e2cdac0406
Decrease compilation time by removing "Retro" from c++ compiled and making a chaiscript version instead
2009-09-09 03:11:47 +00:00
Jason Turner
c8c1c65e8c
Add std::list support
2009-08-29 14:00:07 +00:00
Jason Turner
0b780593a6
Make for better error messages when a clone fails
2009-08-22 13:55:06 +00:00
Jason Turner
0b789004e9
Make "clone" a chaiscript based operation instead of forcing the user to register a clone method.
2009-07-24 13:17:00 +00:00
Jason Turner
0d3c90a245
Add "type_name" function and port the "new" in prelude to use it instead of clone/clear.
2009-07-24 04:01:28 +00:00
Jonathan Turner
2f591a25a6
Add ltrim, rtrim, and trim
2009-07-23 17:35:39 +00:00
Jonathan Turner
4127a6ed41
Added 'clear'. Added 'push_back' to string. Added char. Added simple reverse
2009-07-23 17:01:07 +00:00
Jason Turner
689143aba5
Fix broken push_back in prelude, to correct for unit tests.
2009-07-16 23:53:13 +00:00
Jonathan Turner
3fc5f8e8e1
Guard push_back to ensure we have the push_back_ref before we call it
2009-07-16 20:32:33 +00:00
Jonathan Turner
5ec3901396
Some minor source header touchups
2009-07-13 03:13:04 +00:00
Jason Turner
a70dc12b2a
Documentation updates.
2009-07-12 03:07:45 +00:00
Jonathan Turner
4a5c86f07f
Moving files into new locations
2009-07-10 15:10:21 +00:00