Skip to content

reteclock 0.35.0

Choose a tag to compare

@rubidus-api rubidus-api released this 27 Aug 14:59
· 102 commits to main since this release

The layout editor arrives properly, the timer can keep a log, and a background can be seen before it
is chosen. The three test builds below — 0.34.0 to 0.34.3, carrying a -layout suffix — were the
layout editor being tried out; everything in them is in this release.

Added

  • A layout you can draw yourself (RFC-0005). Main menu → Layout: Automatic — the app's own
    arrangement, whose settings have moved there from the general settings — or a layout of your own,
    drawn box by box, kept as a named preset for each way up, and carried in Import / Export. The
    0.34.x entries below say what it holds; a run that stops answering starts arranged by the app, so
    a layout can never leave the clock unusable.

  • A preview of every picture as a background (issue #48, RFC-0007), on an upright screen and on
    a turned one, at the fit now chosen: in each row of the picture list, larger under the fit
    chooser, and larger still when a preview is tapped. Picking a different fit redraws them all at
    once, so trying all six is six taps rather than six trips out to the clock and back.

  • The previews are drawn through ImageFit, the same arithmetic the clock draws with, at the
    phone's own proportions.

  • They come from thumbnails made once per picture and kept in the cache. Being derived data they are
    left out of both the app's export and the platform's backup, and a thumbnail goes when its picture
    is renamed or deleted.

  • The timer can keep a log (issue #46, RFC-0006). One CSV row per run: when it began by the
    phone's own calendar and clock, which timer, how many intervals it got through, how long it ran
    without the pauses, and the same starting moment as a Unix time. Off unless it is turned on.

  • A ceiling from the first line. The open file is zipped at 100 KB; when what is kept passes the
    ceiling, the oldest files go until it is under the floor. Both numbers are set on one line in
    Timer settings, in whole megabytes — at most 100 and 99, at least 2 and 1, and the floor is
    always kept below the ceiling.

  • Export and delete, both on Timer settings. Export writes one zip of plain CSVs — the packed
    files unpacked into it, so a spreadsheet opens it without being unpacked twice.

  • A capital L on the timer strip while the log is being kept, on play's left, with the bar one
    control shorter to make room. Pressing it opens Timer settings. With the log off it is not
    there and the bar has its length back.

Changed

  • A place or a size is a per cent to one decimal place. The fields screen and the editor's
    numeric dialog show and accept 7.2, and a measurement is kept as a whole number of tenths of a
    per cent — 72 — rather than as a fraction. A tenth of a per cent is one pixel on a 1280-pixel
    screen, so nothing anybody can see is lost, and the settings file no longer carries the tail of a
    float's arithmetic (0.072000004). Layouts written the old way are still read, and a 7,2 typed
    on a phone whose language writes it that way is understood.