aboutsummaryrefslogtreecommitdiff
path: root/testes/sort.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DetailsRoberto Ierusalimschy2025-02-261-1/+1
| | | | | Comments, small changes in the manual, an extra test for errors in error handling, small changes in tests.
* Parameters for 'lua_createtable' back to intRoberto Ierusalimschy2025-01-211-2/+4
| | | | Tables don't accept sizes larger than int.
* Better handling of size limit when resizing a tableRoberto Ierusalimschy2024-02-071-12/+17
| | | | | | | | Avoid silent conversions from int to unsigned int when calling 'luaH_resize'; avoid silent conversions from lua_Integer to int in 'table.create'; MAXASIZE corrected for the new implementation of arrays; 'luaH_resize' checks explicitly whether new size respects MAXASIZE. (Even constructors were bypassing that check.)
* DetailsRoberto Ierusalimschy2024-01-291-0/+2
|
* New function 'table.create'Roberto Ierusalimschy2024-01-181-0/+21
| | | | | Creates a table preallocating memory. (It just exports to Lua the API function 'lua_createtable'.)
* More control over encoding of test filesRoberto Ierusalimschy2023-08-171-1/+1
| | | | | The few UTF-8 test files are commented as such, and there is only one non UTF-8 test file (to test non UTF-8 sources).
* Avoid excessive name pollution in test filesRoberto Ierusalimschy2022-12-281-11/+12
| | | | | Test files are more polite regarding the use of globals when locals would do, and when globals are necessary deleting them after use.
* Added directory to test file names in '$Id:'Roberto Ierusalimschy2018-07-251-1/+1
| | | | | | | From the point of view of 'git', all names are relative to the root directory of the project. So, file names in '$Id:' also should be relative to that directory: the proper name for test file 'all.lua' is 'testes/all.lua'.
* Added manual and tests for version 5.4-w2Roberto Ierusalimschy2018-07-091-0/+310