diff --git a/docs/source/index.rst b/docs/source/index.rst index f953e617..ce4fd412 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -27,6 +27,7 @@ get going: exceptions rtti licenses + origin "I need feature X, maybe you have it?" diff --git a/docs/source/origin.rst b/docs/source/origin.rst new file mode 100644 index 00000000..6e85cb7f --- /dev/null +++ b/docs/source/origin.rst @@ -0,0 +1,27 @@ +origin +====== + +In the beginning, there was Sir Dennis Ritchie. And Ritchie saw the void, and outstretched his hand, and commanded "Let there be water." And lo, it was so, and there was the C. And with the C, other entities dared to venture on the void given form. Lord Bjarne Stroustrup too did outstretch his hands and say "Let there be an abundance." And lo, into the sea was cast a double portion of surplus of all the things that swam. And for a while, it was good. But other entities were still curious about what yet lay undefined, and one such pantheon, PUC-RIO, saw that it fitting to create the moon. And with the waters and sea made and the moon cast in a starry night sky, PUC-RIO and Dennis and Stroustrup saw that they did good. They oversaw the moon and the sea and gave sound council and it grew. But as the time grew, humanity grew... discontent. No longer were the simple fishing rods and the flowing tides and the dark sky enough lit by a pale moon, no matter how miraculously they were made, enough. They sought out more. + +They sought out the light. + +And lo, `Danny Y., Rapptz`_ did stand firm in the sea and cast his hands to the sky and said "Let there be Light!". And in the sky was cast a sun. It was an early sun, a growing sun, and many gathered to its warmth, marveling at a life they never knew. And he saw that it was good... + + +seriously +--------- + +Sol was originally started by many moon cycles ago to interop with Lua and C++. `Rapptz`_ It was very successful and many rejoiced at having an easy to use abstraction on top of the Lua API. Rapptz continued to make a number of great projects and has been busy with other things, so upon seeing the repository grow stagnant and tired in the last year, `ThePhD`_ forked it into Sol2 and rebooted the code with the hopes of reaching the Milestone and the documentation you have today. + +To get to the old repo, head over `here`_. + + +the name +-------- + +Sol means sun. The moon (Lua) needs a sun, because without it only the bleak night of copy-paste programming and off-by-one errors would prevail. + + +.. _here: https://github.com/Rapptz/sol +.. _ThePhD: https://github.com/ThePhD +.. _Danny Y., Rapptz: https://github.com/Rapptz \ No newline at end of file diff --git a/single.py b/single.py index 9676555e..9d7b6091 100644 --- a/single.py +++ b/single.py @@ -85,7 +85,7 @@ def get_version(): def process_file(filename, out): global includes filename = os.path.normpath(filename) - relativefilename = filename.replace(script_path, "") + relativefilename = filename.replace(script_path + os.sep, "") if filename in includes: return diff --git a/sol/compatibility.hpp b/sol/compatibility.hpp index 93e3f233..b7dc8705 100644 --- a/sol/compatibility.hpp +++ b/sol/compatibility.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/compatibility/5.0.0.h b/sol/compatibility/5.0.0.h index 55b5402c..549badba 100644 --- a/sol/compatibility/5.0.0.h +++ b/sol/compatibility/5.0.0.h @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/compatibility/5.1.0.h b/sol/compatibility/5.1.0.h index 4afc1418..d37bc078 100644 --- a/sol/compatibility/5.1.0.h +++ b/sol/compatibility/5.1.0.h @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/compatibility/5.x.x.h b/sol/compatibility/5.x.x.h index 44573d78..95f48792 100644 --- a/sol/compatibility/5.x.x.h +++ b/sol/compatibility/5.x.x.h @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/compatibility/5.x.x.inl b/sol/compatibility/5.x.x.inl index d7008cdc..377cba2e 100644 --- a/sol/compatibility/5.x.x.inl +++ b/sol/compatibility/5.x.x.inl @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/compatibility/version.hpp b/sol/compatibility/version.hpp index 5ceb01c8..f3294609 100644 --- a/sol/compatibility/version.hpp +++ b/sol/compatibility/version.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/coroutine.hpp b/sol/coroutine.hpp index 4d74a40a..be92e713 100644 --- a/sol/coroutine.hpp +++ b/sol/coroutine.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/debug.hpp b/sol/debug.hpp index 322532f4..3d33e867 100644 --- a/sol/debug.hpp +++ b/sol/debug.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/demangle.hpp b/sol/demangle.hpp index fa82f892..0fc3301f 100644 --- a/sol/demangle.hpp +++ b/sol/demangle.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/deprecate.hpp b/sol/deprecate.hpp index cbf3385c..8e2f6e09 100644 --- a/sol/deprecate.hpp +++ b/sol/deprecate.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/error.hpp b/sol/error.hpp index 4f353878..e9787bcc 100644 --- a/sol/error.hpp +++ b/sol/error.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function.hpp b/sol/function.hpp index fb30852b..f9fdacde 100644 --- a/sol/function.hpp +++ b/sol/function.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_result.hpp b/sol/function_result.hpp index e1e5cf6d..5a41ab9d 100644 --- a/sol/function_result.hpp +++ b/sol/function_result.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types.hpp b/sol/function_types.hpp index 86fdad54..15c200cb 100644 --- a/sol/function_types.hpp +++ b/sol/function_types.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types_allocator.hpp b/sol/function_types_allocator.hpp index 066e61ef..ab830522 100644 --- a/sol/function_types_allocator.hpp +++ b/sol/function_types_allocator.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types_core.hpp b/sol/function_types_core.hpp index 6e8bf65c..a40d8420 100644 --- a/sol/function_types_core.hpp +++ b/sol/function_types_core.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types_member.hpp b/sol/function_types_member.hpp index edef38fa..fe6b4c5a 100644 --- a/sol/function_types_member.hpp +++ b/sol/function_types_member.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types_overload.hpp b/sol/function_types_overload.hpp index b457a70f..9de1928e 100644 --- a/sol/function_types_overload.hpp +++ b/sol/function_types_overload.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types_static.hpp b/sol/function_types_static.hpp index 11605eed..60e62830 100644 --- a/sol/function_types_static.hpp +++ b/sol/function_types_static.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/function_types_usertype.hpp b/sol/function_types_usertype.hpp index 69913fd8..2a2d3baf 100644 --- a/sol/function_types_usertype.hpp +++ b/sol/function_types_usertype.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/inheritance.hpp b/sol/inheritance.hpp index f3ab3fc8..a78abc40 100644 --- a/sol/inheritance.hpp +++ b/sol/inheritance.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/object.hpp b/sol/object.hpp index d5f8880b..eeb8067b 100644 --- a/sol/object.hpp +++ b/sol/object.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/overload.hpp b/sol/overload.hpp index 9027a8b7..6fd87bfe 100644 --- a/sol/overload.hpp +++ b/sol/overload.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/protected_function.hpp b/sol/protected_function.hpp index ecb65f08..961c7525 100644 --- a/sol/protected_function.hpp +++ b/sol/protected_function.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/protected_function_result.hpp b/sol/protected_function_result.hpp index 1fa2fa6c..44b83d33 100644 --- a/sol/protected_function_result.hpp +++ b/sol/protected_function_result.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/proxy.hpp b/sol/proxy.hpp index 9f55a099..0093c0cb 100644 --- a/sol/proxy.hpp +++ b/sol/proxy.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/proxy_base.hpp b/sol/proxy_base.hpp index 88cff829..037a27fc 100644 --- a/sol/proxy_base.hpp +++ b/sol/proxy_base.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/raii.hpp b/sol/raii.hpp index 18822188..c498cc15 100644 --- a/sol/raii.hpp +++ b/sol/raii.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/reference.hpp b/sol/reference.hpp index cb53a623..24693c5b 100644 --- a/sol/reference.hpp +++ b/sol/reference.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/resolve.hpp b/sol/resolve.hpp index 5a1f2953..d6fe38bb 100644 --- a/sol/resolve.hpp +++ b/sol/resolve.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/stack.hpp b/sol/stack.hpp index 6bfaf0d3..6d18f497 100644 --- a/sol/stack.hpp +++ b/sol/stack.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/state.hpp b/sol/state.hpp index 955975bf..681bb0e7 100644 --- a/sol/state.hpp +++ b/sol/state.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/state_view.hpp b/sol/state_view.hpp index ad5690a1..4825f89e 100644 --- a/sol/state_view.hpp +++ b/sol/state_view.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/table.hpp b/sol/table.hpp index 0a56503c..aabe9924 100644 --- a/sol/table.hpp +++ b/sol/table.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/table_core.hpp b/sol/table_core.hpp index 98c2b5b8..e5ae3026 100644 --- a/sol/table_core.hpp +++ b/sol/table_core.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/table_iterator.hpp b/sol/table_iterator.hpp index af9f5235..6899506a 100644 --- a/sol/table_iterator.hpp +++ b/sol/table_iterator.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/thread.hpp b/sol/thread.hpp index 28c92b49..fb2cec04 100644 --- a/sol/thread.hpp +++ b/sol/thread.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/traits.hpp b/sol/traits.hpp index 1f1e8db3..bf40c17d 100644 --- a/sol/traits.hpp +++ b/sol/traits.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/tuple.hpp b/sol/tuple.hpp index 43a45dcb..5f2db93e 100644 --- a/sol/tuple.hpp +++ b/sol/tuple.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/types.hpp b/sol/types.hpp index 48bf7d6e..1d541950 100644 --- a/sol/types.hpp +++ b/sol/types.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/userdata.hpp b/sol/userdata.hpp index c11c318d..578c09a1 100644 --- a/sol/userdata.hpp +++ b/sol/userdata.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/usertype.hpp b/sol/usertype.hpp index afd6f26c..5e60ffab 100644 --- a/sol/usertype.hpp +++ b/sol/usertype.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors diff --git a/sol/usertype_traits.hpp b/sol/usertype_traits.hpp index 1bb4d36b..7869befe 100644 --- a/sol/usertype_traits.hpp +++ b/sol/usertype_traits.hpp @@ -1,4 +1,4 @@ -// The MIT License (MIT) +// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors