Commit Graph

160 Commits

Author SHA1 Message Date
Enrique García Cota
35ed97a2d7 (docs) add Contributing section to Readme 2022-02-08 23:18:59 +01:00
Enrique García Cota
2012c711df (chore) add luacheck to Makefile 2022-02-08 23:18:10 +01:00
Enrique García Cota
3c7414a0d0
(refactor) rewrite using Teal (#52) 2022-02-08 22:56:03 +01:00
Enrique García Cota
c6472bccdf add 3.1.2 rockspec 2021-11-12 13:51:21 +01:00
Enrique García Cota
d4936f792b changelog for 3.1.2 2021-11-12 13:51:21 +01:00
Enrique García Cota
a74242cdac
Merge pull request #49 from kikito/fix-del-escape
escape DEL character. fixes #40
2021-11-12 12:58:38 +01:00
Enrique García Cota
f6c3f0b367 replace travis by github actions 2021-11-12 12:54:49 +01:00
Enrique García Cota
df482c613a escape DEL character. fixes #40 2021-11-12 10:48:57 +01:00
Enrique García Cota
b611db6bfa allow using inspect inside __tostring metamethods without errors 2018-04-06 23:14:00 +02:00
Enrique García Cota
bebc212672
Merge pull request #37 from kikito/rawpairs
Ignore __pairs and __ipairs metamethods when rendering tables
2018-03-19 19:07:59 +01:00
Enrique García Cota
9dc10c968f Ignore __pairs when iterating over tables
Related with #33
2018-03-19 19:04:07 +01:00
IntendedConsequence
b6bb292f68 ignore metatables with __metatable field set to non-nil non-table values 2018-02-18 22:59:44 +02:00
Enrique García Cota
78a91c40e5 3.1.1 rockspec 2018-01-02 13:16:49 +01:00
Enrique García Cota
7fc6126e32 update changelog 2018-01-02 13:15:24 +01:00
Enrique García Cota
1faab78bfb luacheck fix 2018-01-02 13:07:34 +01:00
Enrique García Cota
e95f34834b
Merge pull request #34 from akopytov/master
Support LuaJIT cdata and ctype values in Inspector:putValue().
2018-01-02 13:02:45 +01:00
Alexey Kopytov
a4a63bb0d1 Support LuaJIT cdata and ctype values in Inspector:putValue().
Add special handling for cdata and ctype types provided by LuaJIT: use
tostring() to print values of those types, which either provides a more
meaningful default type description (e.g. 'ctype<uint64_t>' instead of
'<ctype 1>') or a user-defined value as described at
http://luajit.org/ext_ffi_api.html#tostring
2017-12-24 11:15:16 +03:00
kikito
a384174649 updates version to 3.1.0 2016-04-10 20:54:14 +02:00
kikito
69fc645184 simplifies id generation. Fixes #28 2016-04-10 20:47:46 +02:00
kikito
dca60a2beb Renaming of variables and spacing 2016-04-10 13:52:01 +02:00
kikito
bdf85c8f90 Splits specs into two, to illustrate the different handling of escaped control chars 2016-04-10 13:51:20 +02:00
kikito
1ca5576b59 Retab & spacing 2016-04-10 13:49:47 +02:00
kikito
f8da52ca3d Merge branch 'zerochars' of https://github.com/andreashofer123/inspect.lua into andreashofer123-zerochars 2016-04-08 19:42:55 +02:00
kikito
86a7d70370 adds new rockspec 2016-04-08 19:38:09 +02:00
Enrique García
3300ae7847 Merge pull request #27 from andreashofer123/tostring
fix endless recursion when using inspect to reimplement global tostring
2016-04-08 19:26:28 +02:00
Enrique García
833b0bc183 Merge pull request #26 from andreashofer123/process
fix problem with recursive tables when using the 'process' option
2016-04-04 01:41:02 +02:00
Andreas Hofer
1f54536b56 changed function processRecursive 2016-04-03 20:13:05 +02:00
Andreas Hofer
e091fcd43d changed 'tostring' from a field of inspect to a local variable 2016-04-03 20:08:15 +02:00
Andreas Hofer
864066c51e added more control characters to test case 2016-04-03 19:51:48 +02:00
Andreas Hofer
ef3ae6b2d7 alternative implementation to fix problem with Lua 5.1 2016-03-31 21:22:23 +02:00
Andreas Hofer
61d02902b3 fix problem reported by coverage analysis 2016-03-31 20:20:50 +02:00
Andreas Hofer
89588bd4d9 fix problem reported by luacheck 2016-03-31 20:13:35 +02:00
Andreas Hofer
2a5205e53c fix problem with escaping zero and other control characters 2016-03-30 19:33:20 +02:00
Andreas Hofer
d051ae061c fix endless recursion when using inspect to reimplement global tostring 2016-03-29 22:53:26 +02:00
Andreas Hofer
d372d2ab08 fix problem with recursive tables when using the 'process' option 2016-03-29 22:14:10 +02:00
kikito
a998635207 bumps version to 3.0.3 and updates changelog 2016-03-06 17:15:06 +01:00
kikito
5673f2364d Stops relying on rawlen/# to calculate the length of the sequence part of a table
Fixes #24
2016-03-06 17:06:14 +01:00
kikito
74643aea09 updates travis to include coverage & static analysis 2016-03-06 16:08:55 +01:00
kikito
0d468cb70b adds new rockspec file 2015-11-28 14:11:41 +01:00
kikito
a23e03d037 bumps version to 3.0.2 2015-11-28 14:10:17 +01:00
Enrique García
efa8b85ab1 Merge pull request #23 from mpeterv/fix-weak-tables
Do not allow collecting weak tables while they are being inspected
2015-11-28 14:07:35 +01:00
mpeterv
daaefbd870 Do not allow collecting weak tables while they are being inspected
Fixes #22
2015-11-27 14:53:56 +03:00
kikito
2213313a94 add new rockspec 2015-11-21 17:26:31 +01:00
kikito
d4efbb9ee4 bump version to 3.0.1 2015-11-21 17:23:34 +01:00
kikito
e9dc27ab6e Adds a test for __len and uses _G.rawlen instead of rawlen to avoid warnings 2015-11-21 17:19:53 +01:00
Enrique García
144dec31f7 Merge pull request #21 from Nymphium/get_t_length_with_rawlen
avoid __len metamethod
2015-11-21 17:17:13 +01:00
kikito
4f9761b631 fixes __len issue using rawlen instead of #t in a couple places 2015-11-21 17:13:48 +01:00
kikito
162d497b0d second attempt at fixing travis 2015-11-21 17:10:23 +01:00
kikito
f01a007c91 attempts to fix failing travis 2015-11-21 17:08:09 +01:00
kikito
387a2f683a adds test for rawlen 2015-11-21 17:04:28 +01:00