History log of /haiku/src/bin/listimage.c
Revision Date Author Comments
# c425d6cb 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: fix small memory leak

Free header when done with it.


# a846b0ee 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: remove unused vars.

... left over from previous iterations, not sure why I didn't
get unused vars warnings.

Sorry for the noise.


# 69ac139b 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: A bunch of small fixes.

* Use arch-independent format specifiers.
* Print pointers at a fixed length padded with 0s,
length is eitther 8 or 16 depending on pointer width.
* Uppercase titles.
* Add an extra space between Data and Seq# columns to
more clearly show that they represent separate titles.
* Move the Name column last because it is variable length.
This way, all columns line up vertically and the name can
overflow past the end, before a long path would push all
the other columns to the right.
* Make the Name column title is left-aligned, dashes go to
80 cols.
* Use C89 comments and C89 variable declarations.

Screenshot:
http://38.media.tumblr.com/4aea59cf15f8a7c186fc97d62916f38b/tumblr_n7yrw7nwma1r0f0hfo1_1280.png


# 26de917c 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: style fixes

Also use puts() in place of printf() in a couple places
where no string interpolation takes place.

Replace the variable name "status" with "result", I just like
it better that way for easier grep-ability.


# 9b0c212a 31-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

Fixed warning, minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17049c45 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c425d6cb8504f810eebd707c7c0d21c48b659c68 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: fix small memory leak

Free header when done with it.


# a846b0ee4e3c90bd474d6e3dc1f0a00780af2147 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: remove unused vars.

... left over from previous iterations, not sure why I didn't
get unused vars warnings.

Sorry for the noise.


# 69ac139b33b584eea4ce4710f20f1d4b2d686057 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: A bunch of small fixes.

* Use arch-independent format specifiers.
* Print pointers at a fixed length padded with 0s,
length is eitther 8 or 16 depending on pointer width.
* Uppercase titles.
* Add an extra space between Data and Seq# columns to
more clearly show that they represent separate titles.
* Move the Name column last because it is variable length.
This way, all columns line up vertically and the name can
overflow past the end, before a long path would push all
the other columns to the right.
* Make the Name column title is left-aligned, dashes go to
80 cols.
* Use C89 comments and C89 variable declarations.

Screenshot:
http://38.media.tumblr.com/4aea59cf15f8a7c186fc97d62916f38b/tumblr_n7yrw7nwma1r0f0hfo1_1280.png


# 26de917c7a5b153af18e017c4be4f11ab7a107f7 29-Jun-2014 John Scipione <jscipione@gmail.com>

listimage: style fixes

Also use puts() in place of printf() in a couple places
where no string interpolation takes place.

Replace the variable name "status" with "result", I just like
it better that way for easier grep-ability.


# 9b0c212a1648dfeb875070b6eac21de6f3a28f3e 31-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

Fixed warning, minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14596 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 17049c451a91f427aec94b944b75876b611103e7 18-Mar-2005 Axel Dörfler <axeld@pinc-software.de>

Moved bin/ directory out of apps/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96