Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
kikito 3d27a547e0 uses hererocks in travis 2015-11-13 22:11:17 +01:00
Enrique García 96a1e6cc6f Merge pull request #19 from mpeterv/fix-spec
Fix order of arguments in assertions
2014-11-19 17:59:18 +01:00
Enrique García 47e186d1e2 Merge pull request #18 from mpeterv/remove-redundant-function
Remove redundant `escapeChar` function
2014-11-19 17:57:37 +01:00
kikito 54d2c28c7a changelog moved to its own file 2014-09-21 11:39:20 +02:00
kikito 8df8cd8b33 upped version. Fixes #17 2014-09-21 11:27:36 +02:00
Enrique García 334e5cb68f Update README.md 2014-09-20 16:14:47 +02:00
Enrique García 0997a4e846 Update README.md 2014-09-20 10:51:01 +02:00
kikito cdaefcf744 rockspec for inspect 3.0 2014-09-19 23:05:04 +02:00
kikito e4a9c872b4 remove redundant describe block 2014-09-19 22:56:57 +02:00
kikito f153849088 remove unused values & params 2014-09-19 22:54:35 +02:00
kikito 3eb9c65c7b fix inconsistent var name 2014-09-19 22:52:10 +02:00
kikito 182e6f28c1 Fix float keys being masked in tables with array elements 2014-09-19 22:50:48 +02:00
kikito 99deb522f8 refactor out commacontrol method 2014-09-19 22:35:07 +02:00
kikito e35338984d Touch stuff about license. Add change log 2014-09-15 10:51:02 +02:00
kikito 103e8e843d Remove deprecated stuff from read me 2014-09-15 10:49:48 +02:00
kikito c22d3381e7 Fix process example in README 2014-09-15 10:49:12 +02:00
kikito 33af4ee2ea update travis 2014-09-13 14:44:56 +02:00
kikito 99e8c03959 newline & indent options 2014-09-13 12:33:20 +02:00
kikito 9054ee1051 <key>, <metatable> -> inspect.KEY, inspect.METATABLE 2014-09-13 12:12:41 +02:00
kikito 1fb5373a45 Use '<key>' and '<metatable> on keys correctly 2014-09-12 15:36:38 +02:00
kikito b9b780caad unindent in specs 2014-09-07 22:32:31 +02:00
kikito 9ce951f6af updated readme with wishes 2014-09-07 17:54:37 +02:00
kikito d07147ed54 transform back into metatable-based object-orientation 2014-08-21 20:15:25 +02:00
kikito 2961caa14a process option handles keys as well as items 2014-08-16 19:44:35 +02:00
kikito 5ecaca9205 better test names 2014-08-16 16:50:29 +02:00
kikito e74c899b7d refactor processRecursive 2014-08-16 16:35:24 +02:00
kikito a1b30ad8a3 process now handles most values. But what to do with keys? 2014-07-06 18:44:31 +02:00
kikito 7195bfa423 remove filter option 2014-07-06 17:24:37 +02:00
Enrique García e67a7471d4 Merge pull request #14 from ignacio/patch-1
README still mentions telescope instead of busted
2014-03-16 04:08:55 +01:00
Enrique García afb37ab9e9 Merge pull request #13 from cota/for-kikito
README: fix typos
2014-03-10 17:43:10 +01:00
kikito a2ccd9220c extend filter with a path parameter. Fixes #12 2014-02-09 18:42:38 +01:00
Enrique García b718a2e55c Merge pull request #10 from Kodiologist/escaping
Fix escaping bug (GH-9)
2014-01-09 04:02:16 -08:00
kikito cef9f42521 . 2013-09-15 22:22:34 +02:00
kikito da707f574f added 2.0-1 rockspec 2013-09-15 14:35:48 +02:00
kikito 42c17eedbb moved rockspec to rockspec folder 2013-09-15 14:27:49 +02:00
kikito 455fc40587 updated version to 2.0.0 2013-09-15 13:32:39 +02:00
kikito e47dbfc55c updated README to the latest options 2013-09-15 13:32:04 +02:00
kikito 76138d86a7 added filter option 2013-09-15 13:02:45 +02:00
kikito 8a65da658a made depth an options parameter 2013-09-15 11:23:01 +02:00
kikito e898803196 reordering of code in inspect.lua 2013-09-14 18:14:52 +02:00
kikito 0de3c69e5d made inspect.lua not object-oriented 2013-09-14 18:12:47 +02:00
kikito 7a0dae850d renamed comma variable 2013-09-14 17:06:06 +02:00
kikito c34213d266 refactor type sorting 2013-09-14 16:45:31 +02:00
kikito 04aea86a32 refactoring of id-related metatables 2013-09-14 16:12:24 +02:00
Enrique García 67f12d3664 Merge pull request #7 from CheyiLin/master
arbitrary type support (e.g., LuaJIT's cdata)
2013-09-14 05:24:39 -07:00
kikito e15c40b238 moved to MIT license 2013-09-14 13:17:48 +02:00
kikito 091b62cd5d bump to v1.2.1 2013-01-21 00:51:44 +01:00
kikito 2b502e1a81 fixed metatable-related loop when a table is its own index. References #4 2013-01-21 00:49:22 +01:00
kikito 1514d86828 fix overflow when a table is its own metatable. References #4 2013-01-20 17:23:36 +01:00
kikito 0571e63e01 use busted for specs instead of telescope 2013-01-20 17:07:41 +01:00
Enrique García e2fe8827e4 Update README.md 2013-01-02 01:59:15 +01:00
Enrique García ce3269766e Update .travis.yml 2013-01-02 01:53:53 +01:00
Enrique García 8c78b64d2a Create .travis.yml 2013-01-01 16:50:54 -08:00
kikito 33cda55688 updated rockspec 2012-11-05 23:37:53 +01:00
kikito 8c1e844845 added rockspec 2012-11-03 20:23:43 +01:00
kikito 14a63ac985 transformed inspect into a callable table with _VERSION attribute 2012-11-03 15:17:14 +01:00
kikito 9df9eaf1c4 updated README 2012-10-30 00:21:31 +01:00
kikito 3c74d1ccc4 updated README 2012-10-30 00:17:50 +01:00
kikito 66ffbd5ed1 bumped version to 1.2.0 2012-10-30 00:05:39 +01:00
kikito 4cffae8b5b updated README with the new changes 2012-10-30 00:02:12 +01:00
kikito f4eceb558a spacing in spec 2012-10-29 23:41:56 +01:00
kikito 78c4643ba0 made depth default to infinite 2012-10-29 23:32:44 +01:00
kikito b744b7f3f8 removed table ids from tables that appear less than twice. Fixes #2 2012-10-29 23:26:49 +01:00
kikito d01950cee3 removed should from specs. fixes #3 2012-10-29 21:11:20 +01:00