Commit decc65d
committed
Squashed 'vendor/compat-5.3/' changes from 77aa564..daebe77
daebe77 Fix feature test for C11 Annex K (strerror_s).
d48f7f5 Provide strict lua_tointegerx for Lua 5.2 as well.
340f2f4 lua_tointeger(x) rejects non-ints for Lua 5.1.
30077d2 Verify that lua_getuservalue returns type.
bc91f40 Merge pull request #38 from ThePhD/warnings/vcxx
3615e44 fix VC warnings for integer down-conversions to char
db8446d Merge pull request #37 from keplerproject/strerror
447deca Add braces and suppress warning.
b782901 Do less stuff when sz is 0 in compat53_strerror().
9895acb Transparently handle GNU/XSI strerror_r.
9cb6834 Add Travis-CI integration
ee2d198 Fix links in the README.md.
c381aa3 Merge branch 'ThePhD-feature/luaL_loadfilebufferx'
09b201c Add tests for `luaL_load{buffer,file}x`.
3b52d81 Add Lua 5.3 version of `lua_load`.
8425f99 Merge branch 'feature/luaL_loadfilebufferx' of https://github.com/ThePhD/lua-compat-5.3 into ThePhD-feature/luaL_loadfilebufferx
9435c6c Merge branch 'daurnimator-luaL_Stream'
bf96f3d Include lualib.h, remove #define LUA_FILEHANDLE.
f76fb00 Merge branch 'luaL_Stream' of https://github.com/daurnimator/lua-compat-5.3 into daurnimator-luaL_Stream
7fc7aba Merge branch 'ThePhD-fix/lua_Number_casts'
ee862eb Merge branch 'fix/lua_Number_casts' of https://github.com/ThePhD/lua-compat-5.3 into ThePhD-fix/lua_Number_casts
f3b1160 Merge branch 'ThePhD-feature/LUA_ERRGCMM'
73a7b6b fix usage of tabs
0c9d432 fix `lua_Integer` casts that error on Visual C++ and other pedantic conversion-warning compilers for 64-bit builds
7320d58 define LUA_ERRGCMM code for return values
6065d10 update readme
8ee5245 implement luaL_loadbufferx and luaL_loadfilex
0821294 Merge pull request #26 from daurnimator/lua_resume
c0a59dd Add (partial) luaL_Stream definition
c0db566 Add LUA_FILEHANDLE define
690239b Add lua_resume
1037026 Merge pull request #24 from daurnimator/implicit-fallthrough
a3f456a Use FALLTHROUGH annotation to fix -Wimplicit-fallthrough warning
6f3deea Add rockspec for new minor release.
7bc1476 Put parens around L macro parameter as well.
818e129 Update backports to Lua 5.3.4.
aeb0720 Provide fixed luaL_tolstring for Lua 5.2 as well.
30144ee Fix compilation for older versions of Lua 5.3.
8ecb0d1 Add parens around macro arguments.
4e54e82 Handle lua_pushlstring edge case for Lua 5.2 too.
8b399a1 Merge branch 'daurnimator-pushstring-return'
67aabb8 Handle edge case for lua_pushlstring(). Add test.
3931e7f Add lua_pushlstring (return value)
ace784b Have lua_pushstring return the pushed string
7ceb999 Add rockspec for new minor release.
574c090 Add tests for luaL_tolstring and string.pack.
b1abaff Update behavior of luaL_tolstring().
f608371 Fix compilation issues with recent LuaJIT 2.1.
8b2d71e Fix lua_len and luaL_len to use lua_Integer.
80588ca Merge pull request #18 from jvprat/loadstring
0e4c9fc Fix loadstring on Lua 5.1
c3013bd Merge pull request #17 from jvprat/os_execute
ee34136 Fix the return code of os.execute() on Windows.
2c732b8 Simplify utf8 helper function.
af8c489 Add tests for utf8 backport.
ca85188 Update backports.
abf4ea9 OSX is a Unix.
ce386e1 Add rockspec for version 0.3.
git-subtree-dir: vendor/compat-5.3
git-subtree-split: daebe77a2f498817713df37f0bb316db1d82222f1 parent 77aa564 commit decc65d
14 files changed
Lines changed: 1386 additions & 480 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
129 | 135 | | |
130 | 136 | | |
131 | 137 | | |
| 138 | + | |
132 | 139 | | |
133 | 140 | | |
134 | 141 | | |
| |||
137 | 144 | | |
138 | 145 | | |
139 | 146 | | |
| 147 | + | |
140 | 148 | | |
| 149 | + | |
141 | 150 | | |
| 151 | + | |
142 | 152 | | |
143 | | - | |
| 153 | + | |
144 | 154 | | |
145 | 155 | | |
| 156 | + | |
| 157 | + | |
146 | 158 | | |
147 | 159 | | |
148 | 160 | | |
| |||
152 | 164 | | |
153 | 165 | | |
154 | 166 | | |
| 167 | + | |
| 168 | + | |
155 | 169 | | |
156 | | - | |
| 170 | + | |
157 | 171 | | |
158 | 172 | | |
159 | | - | |
| 173 | + | |
160 | 174 | | |
161 | 175 | | |
162 | 176 | | |
| |||
179 | 193 | | |
180 | 194 | | |
181 | 195 | | |
182 | | - | |
183 | | - | |
184 | 196 | | |
185 | 197 | | |
186 | 198 | | |
| |||
197 | 209 | | |
198 | 210 | | |
199 | 211 | | |
| 212 | + | |
| 213 | + | |
200 | 214 | | |
201 | 215 | | |
202 | 216 | | |
| |||
217 | 231 | | |
218 | 232 | | |
219 | 233 | | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
224 | 239 | | |
0 commit comments