IntendedConsequence
b6bb292f68
ignore metatables with __metatable field set to non-nil non-table values
7 years ago
Enrique García Cota
78a91c40e5
3.1.1 rockspec
7 years ago
Enrique García Cota
7fc6126e32
update changelog
7 years ago
Enrique García Cota
1faab78bfb
luacheck fix
7 years ago
Enrique García Cota
e95f34834b
Merge pull request #34 from akopytov/master
...
Support LuaJIT cdata and ctype values in Inspector:putValue().
7 years ago
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
7 years ago
kikito
a384174649
updates version to 3.1.0
9 years ago
kikito
69fc645184
simplifies id generation. Fixes #28
9 years ago
kikito
dca60a2beb
Renaming of variables and spacing
9 years ago
kikito
bdf85c8f90
Splits specs into two, to illustrate the different handling of escaped control chars
9 years ago
kikito
1ca5576b59
Retab & spacing
9 years ago
kikito
f8da52ca3d
Merge branch 'zerochars' of https://github.com/andreashofer123/inspect.lua into andreashofer123-zerochars
9 years ago
kikito
86a7d70370
adds new rockspec
9 years ago
Enrique García
3300ae7847
Merge pull request #27 from andreashofer123/tostring
...
fix endless recursion when using inspect to reimplement global tostring
9 years ago
Enrique García
833b0bc183
Merge pull request #26 from andreashofer123/process
...
fix problem with recursive tables when using the 'process' option
9 years ago
Andreas Hofer
1f54536b56
changed function processRecursive
9 years ago
Andreas Hofer
e091fcd43d
changed 'tostring' from a field of inspect to a local variable
9 years ago
Andreas Hofer
864066c51e
added more control characters to test case
9 years ago
Andreas Hofer
ef3ae6b2d7
alternative implementation to fix problem with Lua 5.1
9 years ago
Andreas Hofer
61d02902b3
fix problem reported by coverage analysis
9 years ago
Andreas Hofer
89588bd4d9
fix problem reported by luacheck
9 years ago
Andreas Hofer
2a5205e53c
fix problem with escaping zero and other control characters
9 years ago
Andreas Hofer
d051ae061c
fix endless recursion when using inspect to reimplement global tostring
9 years ago
Andreas Hofer
d372d2ab08
fix problem with recursive tables when using the 'process' option
9 years ago
kikito
a998635207
bumps version to 3.0.3 and updates changelog
9 years ago
kikito
5673f2364d
Stops relying on rawlen/# to calculate the length of the sequence part of a table
...
Fixes #24
9 years ago
kikito
74643aea09
updates travis to include coverage & static analysis
9 years ago
kikito
0d468cb70b
adds new rockspec file
9 years ago
kikito
a23e03d037
bumps version to 3.0.2
9 years ago
Enrique García
efa8b85ab1
Merge pull request #23 from mpeterv/fix-weak-tables
...
Do not allow collecting weak tables while they are being inspected
9 years ago
mpeterv
daaefbd870
Do not allow collecting weak tables while they are being inspected
...
Fixes #22
9 years ago
kikito
2213313a94
add new rockspec
9 years ago
kikito
d4efbb9ee4
bump version to 3.0.1
9 years ago
kikito
e9dc27ab6e
Adds a test for __len and uses _G.rawlen instead of rawlen to avoid warnings
9 years ago
Enrique García
144dec31f7
Merge pull request #21 from Nymphium/get_t_length_with_rawlen
...
avoid __len metamethod
9 years ago
kikito
4f9761b631
fixes __len issue using rawlen instead of #t in a couple places
9 years ago
kikito
162d497b0d
second attempt at fixing travis
9 years ago
kikito
f01a007c91
attempts to fix failing travis
9 years ago
kikito
387a2f683a
adds test for rawlen
9 years ago
nymphium
3392fa6314
just use # for Lua 5.1
9 years ago
kikito
3d27a547e0
uses hererocks in travis
9 years ago
nymphium
6c1a22c207
implement simple rawlen function for Lua 5.1
9 years ago
nymphium
ec524dfc6a
avoid __len metamethod
9 years ago
Enrique García
96a1e6cc6f
Merge pull request #19 from mpeterv/fix-spec
...
Fix order of arguments in assertions
10 years ago
Enrique García
47e186d1e2
Merge pull request #18 from mpeterv/remove-redundant-function
...
Remove redundant `escapeChar` function
10 years ago
mpeterv
373d56d4be
Fix order of arguments in assertions
...
The first argument must be the expected value, the second - the actual one.
10 years ago
mpeterv
b2217c6806
Remove redundant `escapeChar` function
...
`string.gsub` can accept a table as the third argument, no need to wrap it
in a function.
10 years ago
kikito
54d2c28c7a
changelog moved to its own file
10 years ago
kikito
8df8cd8b33
upped version. Fixes #17
10 years ago
Enrique García
334e5cb68f
Update README.md
10 years ago