History log of /external/ltrace/lens_default.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
caccda07541df0790887311d898405b2e4d78a5f 11-Nov-2013 Petr Machata <pmachata@redhat.com> Use wcwidth to exactly determine how much space a character took

- So far we assumed it's one character worth of screen real-estaty per
character written, but combining and wide characters can change
this.
/external/ltrace/lens_default.c
c00837c2928da53a3515b107399b742ea157e78a 11-Nov-2013 Petr Machata <pmachata@redhat.com> Support wide character strings

- "string" lens and "format" pack were extended such that using an
integer as underlying array type denotes a wide character string.

- several prototypes from wchar.h were added to libc.so.conf.

- ltrace.conf.5 was updated
/external/ltrace/lens_default.c
d8286ed3496bcd69cd4796f57a5b5c04859d2378 04-Nov-2013 Petr Machata <pmachata@redhat.com> Show "nil" also for void* values
/external/ltrace/lens_default.c
a77b267abb870c935f9b4187ca31409fa5eb9dcb 26-Sep-2013 Peter Wu <lekensteyn@gmail.com> Fix compile warning about unused typedef

Switch assertion to style as used by the Linux kernel (BUILD_BUG_ON)

Signed-off-by: Peter Wu <lekensteyn@gmail.com>
/external/ltrace/lens_default.c
1721fc956dfe30fd5dc5a49238c376ccbfdfd9d9 21-Jan-2013 Petr Machata <pmachata@redhat.com> Extract the function bitcount to a separate module
/external/ltrace/lens_default.c
c28410e3f4bb4d40e48d58440800fbb080b2e3d6 23-Nov-2012 Petr Machata <pmachata@redhat.com> Add vect_erase, VECT_ERASE. VECT_POPBACK needs a dtor

vect_popback and VECT_POPBACK are now defined in terms of vect_erase and
VECT_ERASE, respectively.
/external/ltrace/lens_default.c
6bb420106f77ef8f134a1d4c001668e832f96cc9 14-Feb-2013 Andrey Zonov <zont@FreeBSD.org> Fix build with Clang on FreeBSD
/external/ltrace/lens_default.c
f197727e6247be1ee08d2a667931aee20512ae18 29-Nov-2012 Petr Machata <pmachata@redhat.com> Allow formatting floats, doubles in hex

Include a test suite case.
Describe the extension in ltrace.conf.5.
Mention it in NEWS.

There's no similar agreed-upon convention for oct, and displaying which
bits are set in a floating number like what bitvect does is certainly not
helpful. Hence, remove the corresponding TODO item. Add a different
(unrelated) one instead.
/external/ltrace/lens_default.c
ec4ab256e5c7fe1596dd90a3c8e8d4b052ca1207 20-Nov-2012 Petr Machata <pmachata@redhat.com> Add lens "bitvec" for displaying objects as bit vectors
/external/ltrace/lens_default.c
6248a0ac394b2aa3b2267eaa1220a90b609b6f86 19-Nov-2012 Petr Machata <pmachata@redhat.com> Guard number of expanded structures of the same type

The logic behind that is that if we limit array output, we should similarly
limit linked list output. Number of expansions of the same-typed structure
is a reasonable metric for that. Double recursive structures will expand
a bit too much, but on the other hand we want the stuff that is typed out
in the configure file to display fully, and not be considered for trimming.

Test suite included.
/external/ltrace/lens_default.c
307b90b158b79ba3aae61d5c6612b4769b10be5f 19-Nov-2012 Petr Machata <pmachata@redhat.com> Allow forward declarations of structs

Now ltrace can display singly-linked lists. Recursion detection was added
to format_pointer. It relies on the fact that ltrace is not multi-threaded
and doesn't need per-process or per-thread cache of already-displayed
values, because we display one value at a time anyway.

Several test cases added.
/external/ltrace/lens_default.c
26c0c9413c2558c3f95cb466b3734ea5ba57444d 19-Nov-2012 Petr Machata <pmachata@redhat.com> Show NULL pointers as "nil" in trace output

Fix a test case that asserted that NULL strings should be shown as "".
/external/ltrace/lens_default.c
e773f634dc1283a47786788e747aa5217f61c6fc 09-Nov-2012 Petr Machata <pmachata@redhat.com> Display unsigned quantities on correct number of bytes

E.g. don't display hex(short) value -1 as 0xffffffff, but as 0xffff.
/external/ltrace/lens_default.c
f7c46bba61bb830e5a283ef8b0174f33c3989821 01-Nov-2012 Petr Machata <pmachata@redhat.com> Use delim_output to support proper hiding in structures and functions
/external/ltrace/lens_default.c
adec201a52c240cf4b533c05106aedddc911ca76 01-Nov-2012 Petr Machata <pmachata@redhat.com> Export account_output from output.c

Adjust calls to pass account variable explicitly.
Call it from lens_default as well.
/external/ltrace/lens_default.c
8904cdcbac783406d6f6d601d8447961b67068ce 30-Oct-2012 Petr Machata <pmachata@redhat.com> Destroy temporary values used for formatting in lens_default

This plugs a leak on i386.
/external/ltrace/lens_default.c
c1e4186bc03fff3ddc2682bc10b11075381a950b 31-Aug-2012 Petr Machata <pmachata@redhat.com> Tweak a test to avoid a warning
/external/ltrace/lens_default.c
f6a56e15530b179e404aab075dab8661af64155e 17-Jan-2012 Petr Machata <pmachata@redhat.com> Fix character counting in format_naked_char in default lens
/external/ltrace/lens_default.c
987d27b3e97b208874ca967d536dc862dae2bd43 17-Jan-2012 Petr Machata <pmachata@redhat.com> Simplify format_char in default lens
/external/ltrace/lens_default.c
c07a26a8d0f86bc4137eb7b7fea8bbf9021275f1 09-Jan-2012 Petr Machata <pmachata@redhat.com> Add enum lens, drop ARGTYPE_ENUM
/external/ltrace/lens_default.c
38fb49b852374d749bc91f1b8d91a2b5b2a57a10 09-Jan-2012 Petr Machata <pmachata@redhat.com> Add a "bool" lens
/external/ltrace/lens_default.c
e3f4a984db115979e09414b7281da98399dd8949 09-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_STRING, reimplement as lens over array of chars
/external/ltrace/lens_default.c
b781916d24d6ee96842c818b5e18af31808d427d 09-Jan-2012 Petr Machata <pmachata@redhat.com> Drop ARGTYPE_UNKNOWN, use guess_lens instead
/external/ltrace/lens_default.c
ce034981e2880eecb8a196c78182dfb4ae67850f 09-Jan-2012 Petr Machata <pmachata@redhat.com> Replace ARGTYPE_OCTAL with lens, add also hex lens
/external/ltrace/lens_default.c
31af32cfcd61671cbb5e567870103766b3231521 08-Jan-2012 Petr Machata <pmachata@redhat.com> Add lenses

- this adds the lens framework, although there are currently no interesting
lenses. display_args.c was mostly moved to lens_default.c
/external/ltrace/lens_default.c