Commit Graph

70 Commits (7306ba78d62b55a64f25231df1d5697345a5572e)

Author SHA1 Message Date
Mike Pall 7306ba78d6 Merge branch 'master' into v2.1 2022-01-15 19:42:30 +01:00
Mike Pall c4dfb625ba Bump copyright date. 2022-01-15 19:30:54 +01:00
Mike Pall edd5cbadc5 String buffers, part 2c: abstract out string.format.
Sponsored by fmad.io.
2021-06-01 05:14:18 +02:00
Mike Pall 4c6b669c41 String buffers, part 1: object serialization.
Sponsored by fmad.io.
2021-03-25 02:21:31 +01:00
Mike Pall 1e66d0f9e6 Merge branch 'master' into v2.1 2021-01-02 21:56:07 +01:00
Mike Pall f47c864b01 Bump copyright date. 2021-01-02 21:49:41 +01:00
Mike Pall e9af1abec5 Add support for full-range 64 bit lightuserdata. 2020-09-30 01:34:49 +02:00
Mike Pall 8ae5170cdc Improve assertions. 2020-06-15 02:52:00 +02:00
Mike Pall 87b111f0fe Merge branch 'master' into v2.1 2020-01-20 23:34:21 +01:00
Mike Pall 38a5ed4b43 Bump copyright date. 2020-01-20 23:26:51 +01:00
Mike Pall 430d9f8f7e Fix string.format("%c", 0). 2018-01-14 14:11:59 +01:00
Mike Pall de5568e0ea Remove Lua 5.0 compatibility defines.
Suggested by François Perrad.
2017-03-17 12:07:21 +01:00
Mike Pall 71ff7ef8a7 Merge branch 'master' into v2.1 2017-01-17 12:41:05 +01:00
Mike Pall b93a1dd0c8 Bump copyright date to 2017. 2017-01-17 12:35:03 +01:00
Mike Pall f4231949b5 Merge branch 'master' into v2.1 2016-03-03 12:11:37 +01:00
Mike Pall db1b399af1 Bump copyright date to 2016. 2016-03-03 12:02:22 +01:00
Mike Pall 0a5045c34e Merge branch 'master' into v2.1 2015-01-06 00:12:45 +01:00
Mike Pall 86913b9bbf Bump copyright date to 2015. 2015-01-05 23:59:31 +01:00
Mike Pall 054e6abe37 Add LJ_FR2 mode: Two-slot frame info. 2015-01-03 15:04:38 +01:00
Mike Pall bcd27038fc Merge branch 'master' into v2.1 2014-01-20 16:59:04 +01:00
Mike Pall 3db3cc10ff Fix compiler warnings. 2014-01-20 16:48:33 +01:00
Mike Pall a9d4543601 Merge branch 'master' into v2.1 2014-01-16 23:18:34 +01:00
Mike Pall ef59e54820 Bump copyright date to 2014. 2014-01-16 23:10:16 +01:00
Mike Pall 19c2dd17db Add common helper for pointer to string formatting. 2013-08-31 19:38:20 +02:00
Mike Pall 4c39e9ffc8 Compile string.format(). 2013-05-13 21:18:22 +02:00
Mike Pall 8f90a1279e Big renaming of string buffer/formatting/conversion functions. 2013-05-13 10:15:07 +02:00
Mike Pall 625ffca739 Refactor raw object to pointer or string conversions. 2013-05-13 01:23:33 +02:00
Mike Pall 5bb1f0edac Refactor string.format(). 2013-05-12 23:13:27 +02:00
Mike Pall 87b560b3e1 Compile string.find() for fixed string searches (no patterns). 2013-05-08 10:40:22 +02:00
Mike Pall 43de451d78 Partially refactor string.find(). 2013-05-07 20:44:58 +02:00
Mike Pall 068783bf23 Compile string.rep(). 2013-04-26 22:55:24 +02:00
Mike Pall 9b8db403f2 Refactor string.rep(). 2013-04-26 19:57:25 +02:00
Mike Pall a98e6a70c1 Abstract out some common buffer operations. 2013-04-26 19:20:21 +02:00
Mike Pall f9421f2b9f Replace string.len with bytecode builtin. 2013-04-26 18:40:39 +02:00
Mike Pall b6adfff8f4 Compile string.reverse(), string.lower(), string.upper(). 2013-04-26 00:32:08 +02:00
Mike Pall 61cb25b0ca Refactor string.reverse(), string.lower(), string.upper(). 2013-04-26 00:31:10 +02:00
Mike Pall 39e53e8c4c Compile string.char(). 2013-04-23 12:40:07 +02:00
Mike Pall 59329cfbbf Optimize and refactor printing of numbers to buffers. 2013-03-25 16:41:13 +01:00
Mike Pall f1dbd65c0e Use string buffer for string.format(). 2013-03-21 22:17:59 +01:00
Mike Pall fecde1b222 Use string buffer for string.dump(). 2013-03-20 16:56:09 +01:00
Mike Pall d1645c88a1 Clean up TValue to buffer conversions. 2013-03-18 17:08:37 +01:00
Mike Pall 116cdd7e9a String buffer refactoring, part 2.
Switch to pointers for start/pos/end of buffer.
Abstract out some buffer writers.
2013-02-27 21:28:28 +01:00
Mike Pall 28cfcf7744 String buffer refactoring, part 1.
Move string buffer handling to lj_buf.*.
Use common buffer resizing function.
2013-02-27 17:29:35 +01:00
Mike Pall 4a44c4ff69 Bump copyright date to 2013. 2013-02-11 12:54:48 +01:00
Mike Pall 2f5ed5d0df From Lua 5.2: Add string.rep(s, n, sep). 2012-10-07 17:11:39 +02:00
Mike Pall faf05c3a13 From Lua 5.2: '%s' option to string.format() behaves like tostring(). 2012-10-02 11:59:32 +02:00
Mike Pall 0d7094f36e From Lua 5.2: Return nil for bad position in string.find().
Needs -DLUAJIT_ENABLE_LUA52COMPAT.
2012-10-02 11:56:33 +02:00
Mike Pall 2d3c1967c7 Disable LUA_COMPAT_GFIND and LUA_COMPAT_MOD in Lua 5.2 mode. 2012-09-19 18:14:00 +02:00
Mike Pall ff00a78f3a Limit recursion depth in string.match() et al. 2012-08-28 21:22:23 +02:00
Mike Pall c0efa6f00e Replace divisions with simpler code. 2012-08-26 19:41:35 +02:00