Skip to content

Tags: atalii/painted

Tags

v0.1.3

Toggle v0.1.3's commit message
Enough changes have been made in the past month since v0.1.2 for a minor

version bump to be warranted.

ADDED:
+ `help` command output is now complete (includes the expand command).
+ If the config file can't be parsed, Paintetd no longer silently
  ignores it. (In fact, it's treated as fatal.)

CHANGED:
+ Support was reduced from all POSIX to just Linux and *BSD, though
  others may work by incident so long as they support one of kqueue or
  inotify.
+ Nixpkgs was updated from b20c787@2021-12-22 to 85a146f@2022-01-19.
+ Argument parsing was revamped for internal brevity. Short options (for
  instance, `-i /tmp/painted.in`) no longer work. Instead, use either
  `--input /tmp/painted.in` or `-input /tmp/painted.in`.
+ burntsushi/toml was updated from 0.4.1 -> 1.0.0.

FIXED:
+ Reading input commands from a regular file no longer spins the reader
  thread. No CPU time (or at least, very little within the bounds of the
  Go runtime) is consumed at idle.
+ When an unknown escape sequence is passed as a format string, it's
  rendered literally rather than ignored. I.e., the format string "%j"
  produces the (presumed) desired output of the literal string "%j" for
  any notification.
+ Calling commands that expect an active notification (i.e., expand,
  next, previous) no longer crash the program.

After actions are implemented (and noticed flaws here are corrected),
0.2.0 may be tagged, and, from there, stabilization may result in
1.0.0 fairly soon.

v0.1.2

Toggle v0.1.2's commit message
Since the tagging of v0.1.1, a few significant things have been changed

and added (with 336 insertions and 54 deletions to branch dev), and
Painted could do with a new tag to reflect that and document it all.

ADDED:
+ Format strings. These control how Painted formats notifications. See
  the README for how to use these. The default formats are as follows:

  	summary: [%o] %s
  	body:    %b | %a

  This displays the origin app in brackets followed by the summary on
  receiving a new notification, and its body text and available actions
  on expand. Note that you cannot yet interact with the notification
  through actions.

+ The summarize command may be used to view the summary of the current
  notification. This is useful as a means of 'un-expanding' some
  notification.

CHANGED:
+ Contrib was licensed under CC0 instead of carrying the Be Gay Do
  Crimes license of the main tree. You can use these now completely
  legally, though the same can't quite be said of Painted itself :). The
  plan is still to relicense under the GPLv3 or later once Painted is in
  a more stable state.

+ The --help message is slightly more helpful.

FIXED:
+ The NotificationClose signal is sent when a notification is cleared.
  This is the behavior mandated by Dbus.

v0.1.1

Toggle v0.1.1's commit message
It's been two days short of a full month since 0.1.0 was tagged, and

enough things have changed for another tag to be of utility. Painted is
still pre-alpha (and well pre-1.0.0), but there have been a significant
number of changes and additions worth writing out here:

ADDED:
+ Body text is now recieved by the server. For notification clients that
  send it, use the `expand` command to view it.
+ Prefix matching for commands. They don't need to be typed out
  completely: instead, the smallest unique prefix may be provided and
  matched with the command. For example, rather than typing out
  `expand`, you can type `exp`. Just `ex` would also match `exit` and be
  rejected by the server as ambiguous.
+ The repository was reorganized and exposes some public packages in
  `./pkg/`, notably including a ternary search trie (./pkg/trie) and a
  tiny godbus (./pkg/dbus) wrapper. No stability guarantees are made.

CHANGED:
+ On a fatal error, the timestamp is logged to stderr in addition to the
  plain text string. Errors themeselves are unchanged (a88e566).
+ `go build` will no longer build the binaries. The 'official' build
  method is still through the included Nix Flake (command `nix build`),
  but if you prefer the Go build system to Nix, note that the command
  that works right now has been changed to `go build ./cmd/painted`.
+ Development has moved from Gitlab to Github. Direct issues there.
+ There is no longer a CHANGELOG.md file. Changes are documented through
  annotated git tags like this one.
+ godbus (statically linked) was upgraded from 5.0.4 to 5.0.6.

FIXED:
+ A potential race condition in notification ID assignment was fixed.
  See da01cde and b96615d.

v0.1.0

Toggle v0.1.0's commit message
or: everything implemented is known-working

Painted is a lightweight notification daemon which will eventually
contain a complete feature set. As it currently stands, painted is
incomplete. However, it's incomplete yet stable in that incompleteness.

If you want to write scripts for Painted, you can do so now, with
*enough* assurance that little will break in the future. Features will
mostly only be added before a 1.0.0. Note, however, that we're still in
0.x.x, and you should heed SemVar's advice: anything may change at any
time.

The biggest notable missing feature is the lack of format strings, so
notifications are all pretty ugly (see the following sample):

```
&{OriginApp:notify-send Summary:painted test Id:1}
```

But while output is subject to change, existing input is pretty stable
at the moment. Thus, 0.1.0.