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

info struct bug Fixes, add tagged update fields #415

Closed
wants to merge 1 commit into from

Conversation

bp0
Copy link
Collaborator

@bp0 bp0 commented Jul 12, 2019

  • tag was always included even when it didn't need to be. Now only
    include it when tag specified, flagged, or includes an icon.
    This messed up the existing update fields system.
  • The update fields system has been changed to allow updating by tag
    instead of the translated label. By label still works, however.
    I think it would be best to switch to using tags in the future.
  • info_flatten() calls flatten_shell_param() after flatten_group()
    which could cause a field name or tag to be used after it was freed.
    Created special free functions to handle this after all is used.
    [discussion] struct info free/no-free sets #411 would really be good here.

* tag was always included even when it didn't need to be. Now only
  include it when tag specified, flagged, or includes an icon.
  This messed up the existing update fields system.
* The update fields system has been changed to allow updating by tag
  instead of the translated label. By label still works, however.
  I think it would be best to switch to using tags in the future.
* info_flatten() calls flatten_shell_param() after flatten_group()
  which could cause a field name or tag to be used after it was freed.
  Created special free functions to handle this after all is used.

Signed-off-by: Burt P <[email protected]>
@bp0 bp0 closed this Jul 12, 2019
@bp0 bp0 deleted the infotagfix branch July 12, 2019 04:00
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.

None yet

1 participant