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

Fix selection by DF name #118

Merged
merged 5 commits into from
Jan 10, 2018
Merged

Fix selection by DF name #118

merged 5 commits into from
Jan 10, 2018

Commits on Jan 5, 2018

  1. Fix selection by DF name

    DF names shall be globally uniqe within a given card. Selecting by DF
    name should be made on card level instead of current DF level.
    
    A new list has been inroduced as a static attribute of MF in order to
    track each named DF.
    Daniel SUTTO committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    5ad47fa View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. Move named_dfs to instance variable from MF global

    Named DFs can't be tracked in the global namespace of MF, because if we
    do so, it is impossible to generate two different cards with the same
    content.
    Daniel SUTTO committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    8a1210b View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2018

  1. Prevent prettyprint from infinite recursion

    By adding a possible self-pointer to MF prettyprint_anything function
    got into an infinite loop. Printing of named DFs has been cut off.
    Daniel SUTTO committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    bcbfa8b View commit details
    Browse the repository at this point in the history
  2. Better solution to prevent recursion in prettyprint

    Change named_dfs attribute to be a class property
    Daniel SUTTO committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    a5be794 View commit details
    Browse the repository at this point in the history
  3. Pretty print named DFs without possible recursion

    Daniel SUTTO committed Jan 9, 2018
    Configuration menu
    Copy the full SHA
    63574fa View commit details
    Browse the repository at this point in the history