summaryrefslogtreecommitdiff
path: root/meta/template
AgeCommit message (Collapse)Author
2024-01-24Add `table.move()` to LuaJIT compatibilityzandr
LuaJIT supports `table.move()`: https://luajit.org/extensions.html#lua53
2023-12-26bit meta: tohex returns a stringBilal Bassam
2023-09-20add `__close` to `setmetatable`最萌小汐
fix #2335
2023-08-24修复基础库定义最萌小汐
2023-08-02fix template最萌小汐
2023-07-30fix: os.time optionalscarsakiller
Closes `os.time` expected input is wrong #2235
2023-07-28fix: os.time parametercarsakiller
Closes #2235
2023-07-26Update string.dump so it doesn't have strip argument in Lua 5.1 and 5.2C3pa
2023-07-04Mark string.find return values as nilableC3pa
2023-06-06update metatable最萌小汐
2023-05-31resetfesily
2023-05-31fix assign-type-mismatchfesily
2023-05-25Merge branch 'master' into meta-support-metablefesily
2023-05-22Update basic.luafesily
2023-05-22Merge branch 'master' into meta-support-metablefesily
2023-05-15meta: add some spaces to improve readabilityC3pa
2023-05-15move other filefesily
2023-05-15meta:fix jit modulefesily
2023-05-11delete __indexfesily
2023-05-11add base classfesily
2023-05-11meta:support metatablefesily
2023-04-27fixfesily
2023-04-27doc fix coroutine isyieldablefesily
2023-03-20Update string.gmatch argument typesC3pa
2023-03-20Change `string.format`'s argument to string|numberC3pa
2023-03-20Add some more number types to string APIC3pa
Co-authored-by: carsakiller <carsakiller@gmail.com>
2023-03-18Make functions in string api accept numbersC3pa
All of these functions effectively call `tostring()`, when the passed parameter is a number. I think there is no need to raise warnings if users pass numbers instead of strings to these functions.
2023-03-03enable `table.pack` and `table.unpack` to LuaJIT最萌小汐
resolve #1942
2023-03-02Merge pull request #1959 from Bilal2453/patch-2最萌小汐
meta: newproxy can accept a userdata value
2023-03-01Improve math.abs annotationC3pa
This brings it in line with math.max, and max.min. This change allows the type inference to correctly infer the returned type if math.abs is passed an integer as an argument.
2023-03-01meta: newproxy can accept a userdata valueBilal Bassam
2023-01-30respect quotation marks最萌小汐
2023-01-16support `---@meta [name]`最萌小汐
once declared `name`, user can only require this file by declared name meta file can not be required with name `_`
2022-11-17Merge pull request #1706 from fesily/fix-some-doc-error最萌小汐
fix some doc error
2022-11-17fix some doc errorfesily
2022-11-10fix template docs最萌小汐
2022-11-09fix ffi metaLyrthras
2022-11-08fix wrong diagnostics for `pcall` and `xpcall`最萌小汐
2022-10-17fix #1637最萌小汐
2022-10-05Make second param of ffi.gc optionalVoycawojka
2022-09-22fix: update table metaRyan Kois
2022-09-15`string.find` returns `any` for now最萌小汐
2022-09-14fix: string.match return type #1539carsakiller
2022-09-08Replace old variable return syntax (#1540)carsakiller
* fix: replace old variable return syntax #1539 * Update jit.status() Co-authored-by: Michael Martin <flrgh@protonmail.com>
2022-09-08meta template:luajit add cdata typefesily
2022-08-17fix #1476最萌小汐
2022-08-16fix inappropriate definition of utf8.offsetYuqi Huang
The third parameter of utf8.offset is optional according to Lua Reference Manual.
2022-08-13move string.buffer to buildinfesily
2022-08-13fix #1461最萌小汐
2022-07-13meta: make osdate accept stringsCr4xy