[liboping-changes] octo's ping library: Changes to 'ab/prettyping'

Florian Forster octo at verplant.org
Fri Dec 6 11:03:56 CET 2013


Rebased ref, commits from common ancestor:
commit 65e6e0f31106b4c1832bfbfe463226e9b6ad6d89
Author: Florian Forster <octo at verplant.org>
Date:   Fri Dec 6 11:02:35 2013 +0100

    Add documentation for the "-u" and "-U" options.

commit 3ee0169ab3013f1bddb5d342adc2f9e991312a2d
Author: Florian Forster <octo at verplant.org>
Date:   Fri Dec 6 10:52:22 2013 +0100

    src/oping.h: Don't use the ncurses internal _nc_unicode_locale() function.
    
    The "-u" and "-U" options are now handled in a single variable so that the
    last option "wins".

commit 32ec0e871ca021c6c9c3bcbff79f5669f8396e1c
Author: Antoine Beaupré <anarcat at koumbit.org>
Date:   Fri Dec 6 00:16:28 2013 -0500

    add commandline flag for forcing or disabling unicode
    
    note that "forcing" may not work: ncurses still expects your locale to
    be correct, so maybe the force flag should also explicitely set a utf8
    locale?

commit b59778b3f961f054a15e15e951c13d66f411072c
Author: Antoine Beaupré <anarcat at koumbit.org>
Date:   Fri Dec 6 00:07:09 2013 -0500

    move unicode detection to a separate function
    
    this will ease transition to a commandline option override

commit 5901ec30b2bc8bea9663a5d19cdf3284569a0c69
Author: Antoine Beaupré <anarcat at koumbit.org>
Date:   Thu Dec 5 23:35:00 2013 -0500

    autodetect unicode, and fallback to ACS scancodes on failure
    
    this is fairly ugly - we use a hidden ncurses function to detect
    unicode (but at least we don't reimplement it), then we mess around
    with the character arrays to display the rights symbols
    
    i am not sure i like this, but i prefer to braindump than to stall, so
    let's move forward.

commit ae1a4da882a8d213bb6a81d373bccaaa31245e94
Author: Florian Forster <octo at verplant.org>
Date:   Thu Dec 5 18:15:52 2013 +0100

    Refactor the graph printing into its own function.
    
    This makes it much easier and cleaner to add a second, non-Unicode
    implementation and possibly even a non-color version.

commit 317c34a7127472526825a850b03b71b0119a09ed
Author: Antoine Beaupré <anarcat at koumbit.org>
Date:   Tue Dec 3 00:33:39 2013 -0500

    switch to ncursesw in the build chain




More information about the liboping-changes mailing list