Skip to content

Inkline 0.9.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 07 Nov 22:53
Immutable release. Only release title and notes can be modified.
81a2418

This is the first release candidate of 1.0.0: a build meant to become 1.0.0
unchanged, for its last checks. The owner is asked to try it in
their test request.

Symbols saved by any earlier version open as pictures to draw over, without
their strokes.
The file format is now final, by the owner's decision in
#144, after a
review of every rule in it,
and Inkline no longer reads what earlier versions stored. Your symbols and the
notes that use them don't change, and they look as they did. In the editor, such
a symbol says why it has no strokes, and saving it stores strokes from then on.
Unsaved drafts from earlier versions are dropped, so finish what you are drawing
before you update.

What else is new since 0.9.1:

  • Readings and translations. A symbol can record how it is read and what it
    means, apart from its name, and the lists find it by either.
  • The grid is a guide. Nothing snaps to it unless Shift is held, and Flat
    ends
    only ever cuts along a row.
  • Typing goes on after a symbol, as after a typed character, and names line
    up in the lists.
  • Large symbols no longer freeze Obsidian while they open or save.
  • A save or a rename that stalls says so, with how to get your work back.

Added

  • A symbol can record readings and translations, apart from its file's name, one
    to a line, so that correcting a guess changes no note and needs no rename.
    Fill them in beside the name in the editor, or in the library, beside
    Rename, where saving changes the file's text and nothing else, in a file
    the editor won't open too. A row shows what a symbol holds
    (#187).
  • The ;; list, Inkline: Insert existing symbol, Copy from, and the
    library's filter find a symbol by a reading or translation as well as by name,
    and a row found that way shows why. Accents need no typing, but a mark that
    makes another sound counts: sa finds šá, and は does not find ば. They
    read the vault's symbols in the background, without slowing typing, what just
    changed first, and say so while they may be missing some
    (#189).
  • A save that Obsidian does not finish, as on a drive that stops answering, says
    so after a few seconds, in the editor and the library, with how to get your
    work back. Saving goes on by itself if Obsidian finishes, and the library's
    fields can be closed meanwhile
    (#198).
  • The editor's status line says why a file with no strokes opened as a picture
    to draw over, as every symbol saved by an earlier version now does.

Changed

  • The grid is now a guide, and snaps only while Shift is held, for the pen, the
    eraser, Ellipse, and Polygon. A click between its dots stays where you
    clicked, and a stroke's ends stay where you pressed and let go, so that you
    can keep the grid on just to judge distances. Each thing you place goes by
    Shift at that moment: a stroke's start at the press, its end at the release,
    an ellipse's corners likewise, and each polygon corner at its click. With the
    grid on, Shift on Ellipse snaps instead of making a circle; with the grid off,
    it still makes one
    (#169).
  • Flat ends applies to ends that Shift put on the grid. A freehand end is
    not on a grid line, and stays round. The button is available as before
    (#169).
  • On a symbol you open again, the grid lines up with the ends you put on it with
    Shift, as freehand ends no longer lie on it
    (#169).
  • Names now line up across rows in the ;; list, Inkline: Insert existing
    symbol
    , Copy from, and the symbol library, as each picture has a column
    of its own. A symbol wider than the column shows whole, at a smaller size
    (#171).
  • The cursor now lands just after a symbol that Save or Next inserts, as
    after a typed character, so that typing goes on after it, in a table cell in
    Live Preview too. Next still puts a run of symbols in the order they were
    drawn, and the cursor ends after the last, also when the last drawing is
    discarded after the note changed on disk. Selected text stays as it was
    (#170).
  • Inkline: Insert existing symbol places a symbol as the other routes do:
    just after a link or embed the cursor is inside, rather than splitting it, and
    beside selected text, rather than replacing it
    (#173).
  • A row of the symbol library keeps its picture, name, and buttons on one line
    in the default sidebar, however long the name is. The name has the room the
    row's narrower buttons leave, and they line up across rows. In a sidebar
    narrower than about 285 pixels, they drop below the name together.
  • An editor open on a symbol tells a change to its readings or translations from
    a change to its drawing. A change to the text alone, from the library or by
    sync, asks nothing and takes the text in, with unsaved strokes and Undo left
    alone, and a draft no longer warns that its strokes may not line up. Text you
    typed in a field the file changed too stays, with a note of what saving
    replaces, as in the library
    (#195).
  • The file format is rewritten for the first public release, after a review of
    every rule in it, and
    its specification now
    stands alone. It also defines where a symbol's readings and translations go:
    PNG text chunks, which a program that changes the file must keep.
  • The record moves to a chunk of its own, inKL, marked as depending on the
    image, so that a program that changes the image drops it and leaves a picture,
    rather than leave strokes behind that bring the old image back. The format
    version comes first in it, outside the compression, so that any later version
    is recognised whatever else it holds.
  • A symbol whose strokes cannot be read is no longer opened as a picture, which
    replaced them on saving: it does not open, a notice says why, and Copy
    from
    starts a new symbol from what it shows.
  • A symbol's image is 192 pixels high and at most 4096 wide, down from 8192, and
    a record holds no other geometry. Strokes record no pressure. A fill has no
    brush size, and only a smooth stroke's ends can be cut, "up" or "down". A
    symbol holds at most 250,000 points, down from 1,000,000, which keeps the
    memory a small crafted file can ask for lower. It does not bound how long such
    a file can keep the editor busy, as
    Known limits
    says.
  • A single click draws a round dot exactly as wide as the brush, centred on the
    click, rather than a short stroke a little wider, running down and right.
  • Every pixel of a symbol's image holds the same grey, however transparent, so
    that a viewer that scales the image shows no dark fringe.
  • How a stroke's outline is drawn is now specified in full and kept in Inkline's
    own source, so that it no longer depends on the perfect-freehand package.
  • Every limit of the file format is now tested at the limit and just past it,
    with its number written out, and a recorded list of hashes holds the pinned
    test files, so that neither can change by mistake once the format is permanent
    (#197).

Fixed

  • A click on a button in the symbol library no longer does nothing when the list
    redraws between the press and the release, as it could just after a symbol was
    made, or while the vault's symbols were being read. The list now waits for the
    release, so one click is enough
    (#204). Space does the
    same, which a button acts on when the key comes up
    (#209).
  • A rename that Obsidian does not finish, as on a drive that stops answering, no
    longer leaves the library's row stuck, or the editor at "Saving…", with
    nothing said. After a few seconds with nothing happening they say so, and how
    to get out, the row keeps the name to copy, and its Cancel and Esc work.
    Obsidian's question about links, and the time it takes to update a much used
    symbol's notes, don't count
    (#201).
  • Flat ends only ever cuts along a row. An end running more along the row
    than across it is no longer cut along a column, which took a corner out of it,
    and stays round, so that a line drawn along the baseline stays whole
    (#168).
  • A symbol saved while its note had gone to Reading view reaches the note. Its
    embed went into the editor that Reading view keeps out of sight and was lost,
    which left the symbol's file with nothing showing it
    (#170).
  • A symbol saved into a note that is closed or in Reading view finds its place
    when the file's line endings differ from those the place was taken with, in
    either direction, rather than going at the end of the note. The file keeps its
    own line endings, and a symbol that does go at the end uses them too
    (#174).
  • A symbol renamed just after it went in no longer spoils a note that holds
    other unsaved text. Its embed could get the new name twice, or part of it at
    the start of the note, and the text could go from the editor. The embed now
    takes the new name once, with the link updates on or off, in one pane or two,
    and in a table cell in Live Preview
    (#174,
    #180).
  • A rename no longer lets Obsidian write the new link over other text, which was
    lost for good. It happened when a note embedding the symbol saved itself while
    Obsidian's question about the links was open. Every rename, from the editor or
    the library, now saves the open notes first, and is refused with nothing
    changed if one cannot be saved. Text that reaches a note during the question,
    from another window or a plugin, stays exposed, as with any file in Obsidian
    (#182).
  • The symbol library draws 100 symbols at a time, with Show more for the
    next 100, so that typing in its filter stays quick in a vault of thousands of
    them, where each key took seconds
    (#189).
  • A long name no longer runs off the symbol library and gives it a horizontal
    scroll bar. It wraps onto a second line and then shortens, as a long folder
    shortens, and a tooltip on the row has the whole of both. A long note name
    listed under a symbol wraps too
    (#175).
  • A very long name with no spaces breaks within its row in the symbol lists,
    rather than giving the list a sideways scroll bar
    (#178).
  • The editor keeps the keyboard when Edit symbol is chosen from a menu
    before Obsidian has finished opening it. That menu could go on to take every
    key though it had gone from the screen: the editor's shortcuts did nothing,
    the first Escape left the editor open and moved the focus to the name field,
    and a menu that took the keyboard just before the editor opened held the
    note's arrow keys once the editor closed
    (#78).
  • A flat-ended stroke whose only ink in the line came from the part drawn again
    at its cut end was left out when saving, which could save a blank symbol.
  • A picture with an orientation in its metadata is no longer turned on opening,
    and turned again in notes. Saving a symbol drops that metadata.
  • A file with a damaged chunk that the image does not depend on opens as it
    shows, and one with a critical chunk that PNG does not define does not open.
  • A symbol whose image data is damaged opens if its strokes are whole, and
    saving it draws the image again.
  • A large picture drawn smaller keeps its thin lines when saved, whatever its
    size, as each saved pixel is now the exact mean of the pixels it covers.
  • A stroke that turns through almost exactly a right angle keeps its shape when
    saving's crop or the arrow keys shift it. Rounding used to depend on where the
    stroke lay, so that adding a mark elsewhere could redraw it pixels away.
  • A line whose far end you erased keeps its pixels when an edit moves saving's
    crop. The line runs past the image's edge, and the browser drew its curve a
    little differently wherever the crop put that edge, so that about half of such
    saves changed some of its pixels
    (#186).
  • A stroke that repeats a point hundreds of times keeps its end, and saving such
    a symbol no longer cuts most of it off. Inkline does not draw such a stroke,
    but another program could write one.
  • A symbol whose base layer has incomplete or wrong image data, which only a
    faulty program writes, does not open in any supported Obsidian. One version
    used to open it with the missing rows empty, and the next save kept them so.
  • A picture with so many metadata chunks that adding the strokes would take it
    past the 65,536 Inkline reads is not saved, and stays as it was. Saving used
    to write a symbol that then would not open.
  • A file is a symbol only if its name ends in the ASCII letters of .ink.png,
    in any case. A letter that only lowercases to one of them, such as the Kelvin
    sign, no longer counts.
  • Keep mine keeps your drawing and no more. A save after it used to write
    back the text and other carried chunks the file had when the editor opened,
    which dropped any that the change on disk had added.
  • Saving a symbol with a large base layer no longer freezes Obsidian. Near the
    format's limit that took four to five seconds with nothing painting or taking
    input. It now takes two or three, and Obsidian keeps answering, apart from a
    pause of up to about a quarter of a second just after you ask to save. What
    files hold has not changed
    (#200).
  • Opening a symbol with a large base layer no longer freezes Obsidian. Near the
    format's limit that took three seconds or more with nothing painting or taking
    input. It now takes one or two, Obsidian keeps answering, and a notice says
    that it is opening. Asking again opens it once, asking for another symbol
    opens that one, and it does not come up over a window opened meanwhile. A
    picture with no record opens the same way. What a file reads as has not
    changed (#202).
  • Copy from no longer takes the place of a drawing that a save or a question
    came to while the other symbol was being read, where Save could have saved
    the copy in the drawing's stead. The status line says it was not copied.
    Reload asks again if you drew or typed while it read the file
    (#202).