Skip to content

Releases: Megaf/libsay

Version 1.3.1

29 Sep 23:49
cbdd72c
Compare
Choose a tag to compare

What's Changed

It was actually a bug, a logic error...
Glad I caught it.

Full Changelog: 1.3-202209.28.193000...1.3-202209.30.003700

Version 1.3

28 Sep 18:55
Compare
Choose a tag to compare

Version 1.3

What's Changed:

say command:

  1. Added --bg-colour "colour"/-bg-c "colour"; --bg-colour="colour"/-bg-c="colour" to change text background colour.
  2. Added support for environment variable $bg_colour to set the text background colour.
  3. Added support for environment variable $minimal_size to set the minimal line length/box width.
  4. Added several "short help" commands to list available options and print examples.
    • say list_colours
    • say list_colours_bg
    • say list_weights
    • say list_aligns
    • say list_border_styles
    • say list_draw_elements
  5. Indentation is now uniform to 2 spaces on all libsay.
  6. Other minor code changes.

COMMANDS.md

  1. Added a lot more commands, variables and examples. Still doesn't contain all libsay's capabilities, but we are nearly there!

Known Issues

  • Doesn't work with Termux #7

Full Changelog: 1.2-202209.27.153000...1.3-202209.28.193000

Version 1.2

27 Sep 14:49
91e2151
Compare
Choose a tag to compare

What's Changed

libsay

  1. Version bump to 1.2-202209.27.153000
  2. Spelling corrections.

set_colour()

  1. If no argument is given, it will return line with all the colours it understands.
  2. Added some code comments.

say()

  1. If nothing is coming from stdin and there's nothing as command line arg or string, then don't do anything and exit.
  2. Command args validation overhauled. Now it no longer matters the argument position.
  3. Colour and Alignment can be given with either --arg=parameter or --arg parameter. Same for -a=paramenter -a parameter.
  4. After processing command line arguments, if there's nothing left to print, do nothing and exit.
  5. say can now take at the same time text from stdin and from the command line argument! It will print the command line args after the stdin text.

terminal_test.sh

  1. Start/Stop timer separated into functions now.
  2. Added help text.
  3. Added ability to select the type of test you want to run.
  4. Changed some variables.
  5. Code organisation.

styles/randomstar.style.say

  1. Spelling corrections.

Full Changelog: 1.1-202209.22.150000...1.2-202209.27.153000

Version 1.1

22 Sep 14:06
2aea8a3
Compare
Choose a tag to compare

What's Changed

  • Minor changes. Ran the thing through shell lint. by @Megaf in #1
  • Only print anything at all and run calculations on valid conditions. by @Megaf in #4
  • Fix #2
  • Fix #3

Full Changelog: 1.0-202209.21.180000...1.1-202209.22.150000

libsay Version 1.0!

21 Sep 19:08
81c6694
Compare
Choose a tag to compare

Version 1.0

After more than half month of work I am proudly releasing libsay Version 1.0!

Known Issues:

  1. Top and Bottom of the box are printed even with empty lines/text. #3
  2. "DEBUG" words in "non-debug" lines are been interpreted as "DEBUG: " messages. #2

Changelog:

  • minor stable releases (point releases) will only contain minor changes or optimizations. That is, changes that don't affect how the lib work and it's commands.
  • libsay is now extendable by using styles and draw command extensions.
  • Added bottom_c top_c junction and column draw commands. (, . , )
  • Added new predefined formatting functions for title, notice and normal.
  • Removed all external dependencies! Now libsay is 100% self-sufficient. The following dependencies were removed: awk, sed, expr, tput, sort, head, tail, tr and more maybe?
  • Now say is able to take command line arguments when reading a .txt file. say --colour light_cyan file.txt
  • Major internal restructuring.
  • Optimizations that gave a 500+% performance gain.
  • Added benchmarks and test programs test your shell's and libsay's capabilities.
  • Added repeat_symbol function/command that repeats any symbol any number of times.
  • Added many text effects, like underline, strike-through, italics, fade and more.
  • Added ability to change the border colour via setting a colour name to the variable $border_colour.
  • Mas refactoring of variable names to reduce the chances of the variables used by libsay from conflicting with other system/programs variables.
  • TITLE: is not longer printed.

0.01

14 Sep 21:17
a0bd17c
Compare
Choose a tag to compare
0.01 Pre-release
Pre-release

First pre alpha release.
Not ready for production.