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

Feature absgraph #24

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

Commits on Dec 4, 2020

  1. Graphs of absolute width WIP

    This first commit showcases some basic functionality. It currently only
    works in text mode and with color disabled. For this to work:
     - I added an agflag (*a*bsolute *g*raph) which is for now always set to
       1 (enabled)
     - I changed the signature of the print_bar method and their
       implementations to consume three doubles:
       the used & total space on this volume as well as the total space on
       the greatest volume
     - I added an maxfssize variable alongside the max variable that stores
       the greatest volume's total space which is calculated whenever the
       latter is updated (see util.c)
    Every other impl other than the one in text is simply a stub for now.
    scrouthtv committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    3f42cff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd3d617 View commit details
    Browse the repository at this point in the history
  3. added an option to toggle the absolute graph view

    I decided to go with -A, it is off by default (default behaviour
    is the same as before)
    I also added documentation in the english man page and help text,
    translated versions still need to add documentation for this as I
    speak neither french nor dutch :)
    scrouthtv committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    5d60326 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Configuration menu
    Copy the full SHA
    5363a6d View commit details
    Browse the repository at this point in the history
  2. cleanup

    scrouthtv committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    8a8986d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c63eaa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fefe15 View commit details
    Browse the repository at this point in the history
  5. a bit more cleanup

    scrouthtv committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    b1f5f18 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    304a99c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    79ca9f3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a1ef877 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1826f76 View commit details
    Browse the repository at this point in the history
  10. improved the summary bar.

    in absolute graph mode, it is wider than the other bars, so I needed
    support for flexible graph / bar width. before this commit, the color
    steps in the absolute summary graph would be on the same level as the
    ones above but not at the correct percentages, think something like this:
    sda1 ggggggyyyyrr--
    sda2 ggggggy-------
    sda3 ggggggyy------
    sum: ggggggyyyyrrrrrrrrrrrrrrrrr---------------
    but it should look like this:
         ggggggggggggggggggyyyyyyyrr---------------
    This issue is fixed in this commit.
    scrouthtv committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    9e497ac View commit details
    Browse the repository at this point in the history
  11. new po files

    scrouthtv committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    d17a5df View commit details
    Browse the repository at this point in the history
  12. added to authors

    scrouthtv committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    18ff796 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Update AUTHORS.md

    scrouthtv authored Feb 3, 2021
    Configuration menu
    Copy the full SHA
    82f6e82 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. fix for text mode

    scrouthtv committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    14761fe View commit details
    Browse the repository at this point in the history
  2. added comment

    scrouthtv committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    c4e0ee1 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2021

  1. Configuration menu
    Copy the full SHA
    9729288 View commit details
    Browse the repository at this point in the history
  2. Fixed a bug where the details of the total bar would be off.

    If dfc decides at runtime to only display short  bars instead of wide
    bars, because the tty is too narrow, the `max.bar` still indicates
    `GRAPHBAR_WIDE` but it should be `GRAPHBAR_SHORT`.
    So for calculating the detail fields offset I am now using the ternary
    thing instead of `max.bar`.
    
    This requires another look into it because currently, the titlebar
    is off if we are using the `-w` option and the tty is too narrow.
    scrouthtv committed Mar 6, 2021
    Configuration menu
    Copy the full SHA
    5da773a View commit details
    Browse the repository at this point in the history