[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SGF Utils 0.5 available

From: Thien-Thi Nguyen
Subject: SGF Utils 0.5 available
Date: Wed, 14 Nov 2012 13:56:22 +0100

release notes:

  Bugfixes, new commands, more configurability.
  (Note how we sidestep DPI detection w/ the latter. :-D)


README excerpt:

  SGF Utils is a set of programs for manipulating Smart Game
  Format files, principally for the game of Go.  This release
  includes one tool: the viewing program sgfv.  The code is
  "early to middling alpha"; see HACKING for why.

NEWS excerpt:

  - 0.5 | 2012-11-14

    - bugfixes in display

      - variation labels (white pinstripe) survive ‘C-l’

        This was due to unclean phase separation (yeah, it happens

      - lineage displayed indepedently of move details

        Previously, lineage was only displayed for move nodes.  E.g.,
        for "make check INTERACTIVE=1 SGF=sgf/eg", the series of
        non-move nodes playing w/ the partial view feature used to not
        show lineage.

      - overlapping labels no longer flicker

        We used to call ‘SDL:update-rect’ more than necessary.

    - bugfix: ‘f’ overlay growth no longer unbounded

        Previously, if you were insane (and patient) enough to type ‘f’
        very many times, you could run out of memory.  Now, you will run
        out of patience first.

    - sibling variations indicated on board, listed in space

        You can use ‘a’ to cycle the board indicator.  In space, each
        variant is numbered, with ‘!’ (exclamation point) to highlight
        the one currently showing on the board.

    - new command-line option: --config FILENAME

        If specified, sgfv reads FILENAME (use "-" for stdin), expected
        to be in alternating keys and values format, and configures
        various things.  Keys are Scheme symbols.  Values are Scheme
        literal expressions: symbols, strings or numbers.  Comments
        (semicolon to eol) and whitespace are ignored.

        Here are the recognized keys:

      - ‘geometry’

        The value is a string of the form WxH, such as "1024x768".

      - ‘showing’

        The value is a symbol, one of: ‘everything’, ‘stones/comment’,

      - ‘btw-indicator’

        The value is a symbol, one of: ‘select’, ‘mark’, ‘circle’,
        ‘square’, ‘triangle’, ‘none’.

      - ‘ghost-indicator’

        Like ‘btw-indicator’.

      - ‘font’

        The value is a string, the absolute filename of a TTF file.
        Default is "/usr/share/fonts/truetype/freefont/FreeSansBold.ttf".

      - ‘dpi’

        The value is real number.  Default is 96.0.

    - default config file: $HOME/.sgf-utils/sgfv

        If ‘--config FILENAME’ is not given, sgfv looks for file
        ‘$HOME/.sgf-utils/sgfv’ and uses that if found.

    - "make check" honors ‘VCONFIG’ instead of ‘GEOMETRY’

        Env var ‘GEOMETRY’ is no longer recognized.  To specify geometry
        and other configuration, create a configuration file, e.g.:

          $ cat > zow <<EOF
          geometry "1024x768"
          btw-indicator triangle ; for poi{nted,gnant} commentary :-D

        and invoke like so:

          make check VCONFIG=zow

    - SGF data file ‘funky’ in partial view

        This makes it easier to see / play with the new features (and
        bugs).  Note that ‘funky’ is not well-formed; in particular, you
        will find some back-to-back same-color moves.

    - new command: . (period)

        This jumps to the "current" end, that is, the end reached by
        following the first variation in any forks encountered going
        forward.  As a special case, if the current node is a fork, you
        can use a prefix-arg to select the initial variation.

    - new command: , (comma)

        This jumps to the root node.

tarball, prettified source, etc, in dir:

atom feed:

Thien-Thi Nguyen ..................................... GPG key: 4C807502
.                  NB: ttn at glug dot org is not me                   .
.                 (and has not been since 2007 or so)                  .
.                        ACCEPT NO SUBSTITUTES                         .
........... please send technical questions to mailing lists ...........

Attachment: pgp02QuF__KAY.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]