Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate table API for p-h #15083

Merged
merged 9 commits into from
Sep 24, 2019
Merged

Conversation

deepakchethan
Copy link
Contributor

@deepakchethan deepakchethan commented Sep 20, 2019

Table API Now supports UTF8, UTF8 curvy, aggregating footer:

Screen Shot 2019-09-23 at 10 38 07 PM

@radare
Copy link
Collaborator

radare commented Sep 20, 2019

This last row of "total" should be part of the RTable API instead of manually crafted everytime, can you add an api in rtable to sum all the rows and show that at the end with a separator? the only XX test is the one that expects the old output, and i think it will be good to have this before merging it.

thanks!

libr/core/cmd_print.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@radare radare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

libr/util/table.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@radare radare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@radare radare added this to the 4.0.0 milestone Sep 22, 2019
@radare radare changed the title Integrate table API for p-h WIP: Integrate table API for p-h Sep 22, 2019
@radare
Copy link
Collaborator

radare commented Sep 23, 2019

look at the new apis i added about rtrable ;)

libr/core/cmd_print.c Outdated Show resolved Hide resolved
libr/include/r_util/r_str.h Outdated Show resolved Hide resolved
libr/util/table.c Outdated Show resolved Hide resolved
libr/util/table.c Outdated Show resolved Hide resolved
@radare
Copy link
Collaborator

radare commented Sep 23, 2019 via email

@deepakchethan deepakchethan changed the title WIP: Integrate table API for p-h Integrate table API for p-h Sep 23, 2019
@deepakchethan
Copy link
Contributor Author

@radare, I have integrated the star= based commands with table API and moved the r_core_visual_list into table.c as well.

libr/util/table.c Outdated Show resolved Hide resolved
libr/util/table.c Outdated Show resolved Hide resolved
@lgtm-com
Copy link

lgtm-com bot commented Sep 24, 2019

This pull request fixes 1 alert when merging e5adfabcefadb160d7786756cfe96f39ba99d510 into b263363 - view on LGTM.com

fixed alerts:

  • 1 for Local variable hides global variable

@radare radare merged commit 9d7a72f into radareorg:master Sep 24, 2019
@lgtm-com
Copy link

lgtm-com bot commented Sep 24, 2019

This pull request fixes 1 alert when merging 1c761b7 into b263363 - view on LGTM.com

fixed alerts:

  • 1 for Local variable hides global variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants