Commit Graph

2315 Commits

Author SHA1 Message Date
Shepherd
612b469ad9 🛠 Retrieve main thread to prevent collapses on Luas
— Lua 5.1, 5.2, and 5.3 seemed to have a deficiency in which the stack thread space variable (given as a lua_State*) would die before everything referencing it would be properly dead. This made holding a reference for keep-alive purposes impossible to maintain. Therefore, we retrieve the main thread to keep it alive.
2022-06-24 12:51:09 -04:00
Shepherd
268b58964c 🛠 Avoid shadowing warning 2022-06-24 12:51:09 -04:00
Shepherd
7859f53e81 🛠 Fix many missing <memory> includes 2022-06-24 12:51:09 -04:00
Shepherd
4efea0ff3c Test and fix #1315
— 🛠 Update SOL_IS_(DEFAULT_)ON/OFF usage to be more idiomatic and less confusing (add SOL_RAW_* alternatives as well)
— 💚 Re-check CI
— 👷‍♀️ Add missing header from ebco.hpp
2022-06-24 12:51:09 -04:00
Immortale
385645222a Fixed exception condition 2022-06-23 20:39:12 -04:00
ThePhD
2198d9374d
Wasteful (but needed) .is() implementation 2022-06-12 00:33:17 -04:00
Corentin Schreiber
6409634846 Don't use is_c_str_or_string for char[] detection in usertype storage 2022-04-13 20:41:17 -04:00
Corentin Schreiber
6cffb266c7 Fixed occurences of is_cstr which should have been is_cstr_or_string 2022-04-13 20:41:17 -04:00
halx99
50b62c9346 Add missing parenthesis for std::max 2022-01-03 13:48:32 -05:00
Klaim (Joël Lamotte)
96267b4a75 Fixed: std::cout not found on msvc 2022-01-03 13:47:48 -05:00
ThePhD
a7da2a8e88
🛠 Fix up some bad defines and CMake paths 2021-10-27 17:37:55 -04:00
ThePhD
b43962957f
New dedicated loose table check 2021-10-23 18:13:25 -04:00
ThePhD
3b4144c6ec
Proper keep-alive semantics!
Fixes #1247
2021-10-23 17:38:50 -04:00
ThePhD
ba1dc4f9f4
Relocate build flags / settings to the internal cmake space!
Closes #1209
2021-10-23 15:56:57 -04:00
ThePhD
ff783a150c
c_str is not a std::string and I fucking hate it 2021-10-22 19:06:43 -04:00
ThePhD
03ec2c93cc
🛠 Fixes #1198 issuues with base in MSVC! 2021-10-22 18:30:49 -04:00
ThePhD
002233ba84
Proper read-only pair iteration!
🔨 Fix up the general build
2021-10-22 16:17:49 -04:00
ThePhD
b43cee5c9d
Preparing to separate the build from the table 2021-09-15 03:26:40 -04:00
Stephan T. Lavavej
6283d3c2be Update is_string_constructible for C++23 P2166R1. 2021-07-26 22:08:45 -04:00
Smertig
bb5f60e138 Rename test 2021-05-21 13:20:59 -04:00
Smertig
05235646ef Fix required memory size calculations, do only one pass. 2021-05-21 13:20:59 -04:00
Smertig
1a7c9fc74b Add constexpr alignment stuff 2021-05-21 13:20:59 -04:00
Smertig
8ccd92d69d Remove unused arguments 2021-05-21 13:20:59 -04:00
Smertig
4eac7a02c0 Use std::uintptr_t in alignment calculations 2021-05-21 13:20:59 -04:00
Smertig
35c71f1b47 Add test with misaligned allocation 2021-05-21 13:20:59 -04:00
FailCake
3372d4fe9b Fix sol2 cmake include failing as a dependency
When using cmake `FetchContent` sol isn't the top level project, so it should use `CMAKE_CURRENT_SOURCE_DIR` instead of `CMAKE_SOURCE_DIR`
2021-05-21 13:19:32 -04:00
ThePhD
430b55a496
😢 Crash mode; need to rearchitecture to fix 2021-05-16 00:00:42 -04:00
Rinat Namazov
f5355395b7 Added FFI enabled check 2021-05-15 21:58:51 -04:00
ThePhD
f92c28b1b5
🔨 Fix up unreachable code failures 2021-05-07 15:23:24 -04:00
ThePhD
c6a04afa12
💚 Bless the windows build! 2021-05-07 13:44:45 -04:00
ThePhD
d20cca5261
💚 Just for fixing Windows, hopefully!
- Remove ~syncthing
2021-05-07 09:14:05 -04:00
ThePhD
a3e3a62ad6
💚 Try to tamp down Clang errors 2021-05-07 03:17:24 -04:00
ThePhD
80ede904d6
💚 Some stuff to make the CI builds a bit better
- Thanks, blobthing & zasz!
2021-05-07 01:56:32 -04:00
ThePhD
7aae1aaaaa
🔨 asdhjsahd DO NOT BUILD
- Add a flag to allow size_t(-1) and similar shenanigans (SOL_ALL_INTEGER_VALUES_FIT)
- Half-fix, but not fully, for #1183, #1072, #1038, #965
- Fix #1126
- Prepare for #1061
2021-05-06 18:44:25 -04:00
ThePhD
f56b3c698c
🐛 std::variant should be properly gated... 2021-03-14 19:51:29 -04:00
ThePhD
f54138305d
🐛 Fix up the call when the stack is cleaned out 2021-03-11 19:17:00 -05:00
ThePhD
e298eee99f
🐛 But on the compiler's side!
- Fixes #1128
2021-03-07 14:54:56 -05:00
ThePhD
e2b0ab9fe2
🐛 Not really a bug, but fixes #1127
- It's not at all safe. And I do not at all care - table iterators are inefficient and terrible, and there's nothing we can do to make this situation even remotely better.
2021-03-07 14:52:44 -05:00
ThePhD
0590f0e75c
🐛 Squash warnings with SYSTEM include
- Fixes #1139
2021-03-07 14:46:13 -05:00
ThePhD
a53819531d
🐛 Fix #1144 for now 2021-03-07 14:24:52 -05:00
ThePhD
d0ab12e965
🐛 Fix #1149 2021-03-07 13:43:56 -05:00
ThePhD
bc04471c11
🔨 Continuing to fix the CI... 2021-03-06 11:05:21 -05:00
ThePhD
42716a63cf
🔨 Attempt to have assert CI not break 2021-03-06 10:53:04 -05:00
ThePhD
e4658e3545
⚠ BROKEN: No more single inside!!!
- Generate it if you want it!!
2021-03-06 10:48:25 -05:00
ThePhD
5fed8e48d5
🛠 gitignore syntax is hard 2021-03-06 10:29:09 -05:00
ThePhD
57d9a05f88
🎨 Refactor tutorial examples
- 🛠 Make sure the tutorials compile across platforms!
- ✍ Redo quite a bit of the documentation
2021-03-06 10:14:48 -05:00
ThePhD
8618e39486
🛠 Prepare for the a sol4 release...
- 🎨 Refactor the CMake a whle bunch
2021-03-06 01:03:23 -05:00
ThePhD
d4b13ff864
Joy, missed an underscore 2021-02-14 00:45:14 -05:00
ThePhD
37d891fa40
Give constexpr macro a better name
- Put it in the version.hpp properly
- Change its spelling and usage
2021-02-14 00:33:09 -05:00
ThePhD
4e2ee29b34
Get out of MSVC's crash on latest preview.
- Honestly, no clue if this will even work...
2021-02-14 00:28:31 -05:00