~grtcdr/citron

8311e9d8a38678e9903e05fe91fd2ac7773f7ad2 — grtcdr 2 years ago 3ab8f61
Rewrite CHANGELOG.md in a new format

* CHANGELOG: Replace CHANGELOG.md with Emacs' ChangeLog format
* .dir-locals.el: Add local configuration for Emacs
3 files changed, 30 insertions(+), 169 deletions(-)

A .dir-locals.el
A CHANGELOG
D CHANGELOG.md
A .dir-locals.el => .dir-locals.el +1 -0
@@ 0,0 1,1 @@
((nil . ((change-log-default-name . "CHANGELOG"))))

A CHANGELOG => CHANGELOG +29 -0
@@ 0,0 1,29 @@
2022-04-30  Aziz Ben Ali  <ba.tahaaziz@gmail.com>

	* doc/citron.1.scd: Replace tables with normal text to avoid man to html conversion problems.

	* src/icon.rs: Refactor the "Icon" structure.

	* src/options.rs: Rename to "src/cli.rs".

	* src/config/: Bundle configuration components into a single file named "src/config.rs".

2022-04-29  Aziz Ben Ali  <ba.tahaaziz@gmail.com>

	* src/fmt/battery.rs:
	Added '%S' specifier for displaying battery status through a symbol.
	Decrement the range by 1 according to which the battery icon is picked.

	* Cargo.toml: Bump dependencies to their latest versions.

2022-04-20  Aziz Ben Ali  <ba.tahaaziz@gmail.com>

	* README.md: Move the configuration details to the wiki.

2022-04-15  Aziz Ben Ali  <ba.tahaaziz@gmail.com>

	* src/fmt/date/base.rs: Fix '00:XX AM' bug.

2022-04-13  Aziz Ben Ali  <ba.tahaaziz@gmail.com>

	* Cargo.toml: Move from chrono to time.

D CHANGELOG.md => CHANGELOG.md +0 -169
@@ 1,169 0,0 @@
# citron's changelog

## v0.15.0

battery: add '%S' specifier for displaying battery status through a symbol

- This specifier is inspired by Emacs' battery-mode-line-format '%b' specifier.

- Other minor changes:

  + The conditions which decide upon which battery icon to display depending on
    the battery percentage have been decremented by 1.

    - This means that if your battery's percentage is 20%, you'll be shown a
      battery-level-20-discharging-symbolic icon instead of
      battery-level-10-discharging-symbolic icon.

  + Bump dependencies to their latest versions.

## v0.14.2

Moved from chrono to time, as chrono is vulnerable with a [potential
segfault](https://rustsec.org/advisories/RUSTSEC-2020-0159) in its invocations
of [localtime_r](https://linux.die.net/man/3/localtime_r).

For more information, see this
[thread](https://github.com/chronotope/chrono/issues/602).

## v0.14.1

- Bump to libmacchina v6.1.0, a bug fix release addressing:
   - https://github.com/Macchina-CLI/libmacchina/issues/115 (Network)
   - https://todo.sr.ht/~grtcdr/citron/1 (Battery)

## v0.14.0

- You'll now see your battery's percentage even if its state is unknown.
- Under the hood changes that mostly address the flow of data within citron.
- Respect IO streams, error messages are now written to stderr.

## v0.13.0

This release addresses citron's documentation.

- Removed example configuration file, I don't want to maintain the config as
  the source evolves. citron's manpage fully documents its features and
  configuration options.

- Rewrote the manpage in scd (scdoc).
  The "doc" directory looks like this now:

  doc
  ├──citron.1
  └──citron.1.scd

- A change in marketing: citron's description will now longer tell you to
  "ditch your status bar", instead it tells you what it is, "system data via
  on-demand notifications".

## v0.12.0

- The network notification can be fully configured through symbols now.
- Dropped owo-colors dependency, colors are no more.
- Fixed duplicate about message of subcommands when consulting --help.
- Refactor various parts ot the codebase.

## v0.11.0

- Configuration: Added new date symbols.
- Configuration: The battery group, or whatever YAML calls it, now has a format option, similar to
  the date group. Its symbols are fully documented in the manpage, under the BATTERY SYMBOLS section.
- Network: When disconnected, the network notification will show a
  "network-wireless-disconnected-symbolic" icon. In other terms, the network notification is
  contextually-aware.
- Miscellaneous: Some refactoring work has gone into our formatters (which are responsible for the
  final format of the notification's body).
- Miscellaneous: Added a CHANGELOG.md that keeps track of the history of changes introduced by
  every version.

## v0.10.1

Fix a build warning.

## v0.10.0
- Add a new month symbol (%M) which shows a long version of the current
  month, e.g. "January".
- Fix a bug that made it so the month symbol (%m) showed the month's number
  rather than its textual representation.

## v0.9.0

citron can only be configured through a config file now, as its
command-line interface has been stripped down to subcommands a few
flags.

An example configuration file can be found at:
https://git.sr.ht/~grtcdr/citron/tree/main/item/config.yml

## v0.8.0

This version makes improvements to citron's CLI interface, i.e. the
flags that you use to interact with it.

All of its functionalities have become subcommands.

- Previously: `citron --date`
- Now: `citron date`

This means options are now specific to their respective subcommand, e.g.
`--railway` will only show up when consulting the help section of the
`date` subcommand, and it will only work for it too.

One more thing, the usage of icons no longer requires calling two
different flags, one is enough, and that one has now been renamed
to just `-I`, it does not currently have a long name.

- Previously: `citron -nIT Papirus`
- Now: `citron n -I Papirus`

## v0.7.0

This is not a feature release, nor is it a bugfix release, citron just
relocated to sr.ht, and thus its manifest (Cargo.toml) had to be updated.

## v0.6.4

Squash a bug that stopped network statistics from showing up on NetBSD

## v0.6.3

Bump libmacchina to v5.0.2: This addresses a bug (incorrect filter usage) that
occurs during the fetching of battery statistics on Linux.

## v0.6.2

Bump libmacchina to v5.0.1: Small fix in the backend that adds back an allow
`dead_code` attribute in a specific module to avoid getting a bunch of warnings
at build-time.

## v0.6.1

Bump libmacchina to v5.0: citron is not affected by libmacchina's new breaking
changes, but the most notable change in this new version of libmacchina is the
introduction of the "hash" feature, which citron does not enable, this drops a
lot of dependencies that we don't need.

## v0.6.0

Add support for icons

## v0.5.0

Add an option (-R) to use railway time.

## v0.4.1

Add timezone auto-detection.

## v0.4.0

Refactoring work.

## v0.3.0

Add an option (-D) to view debug information.

## v0.2.0

To new beginnings!