Skip to content

Releases: BashGui/easybashgui

14.1.0 - Some improvements in various functions

27 Nov 16:27
Compare
Choose a tag to compare

Upgrades in release v.:14.1.0 :

  • input() function now allows spaces in input fields ( = unlike other special characters, the space is no longer preceded by a backslash ).

E.g.:
before version 14.1.0: input 1 "foo" "mam*ma mia" => "mam\*ma\ mia" ;
since v.14.1.0: input 1 "foo" "mam*ma mia" => "mam\*ma mia"

  • notify_message()
  1. supports a new option: -s|--seconds
    E.g.:
    since v.14.1.0: notify_message --seconds 10 "foo" ; notify_message -s 1 "bar"

  2. will check icon provided if you use option "-i|--icon"
    since v.14.1.0: notify_message --icon "system" ; notify_message -i "/foo/bar.png"
    EBG checks if icon exists, otherwise ignores it.

  • removed some superfluous alerts

14.0.0 - New 'supercontext' var created, minor bugfixes.

30 Oct 10:56
Compare
Choose a tag to compare

My friend Lenz asked me some time ago the possibility to give EBG programs a "terminal" context (e.g.: you launch your script by app menu, and xterm is launched, with your script inside, with, let's say, "dialog" mode).
Before 14.0.0 version, EBG was pretty autonomous in deciding which widget to use, and first choice is always graphical widgets (yad, zenity, kdialog, etc. etc. etc. ), nonetheless it was impossible using, let's say, "dialog" mode if you weren't already in a terminal (e.g.: xterm ): in fact, forcing supermode="dialog" in a script launched by the panel (or from a menu ) ended in a script impossible to display up.

To address this issue EBG version 14.0.0 checks and prevents this situation by using a environmental variable "supercontext", that can have only values "terminal" or "windows" (different values are ignored); in the first case (export supercontext="terminal" ) EBG simply tries to find a terminal in which launch the script, and in this way is possible use the three "console" modes, namely: "gum", "dialog" and "none". Terminal are checked one by one (xterm, mate-terminal, lxterminal, konsole, etc. )

As all EBG "supervariables" (namely "supermode", "supericon", "supertitle" ), use of "supercontext" variable is optional, and depends upon programmer's needs: so, if you want, you can happily continue using EBG without it, and letting EBG to decide everything.

Enjoy ! ;D

13.0.2 - Bugfix on input() function

27 Jun 13:41
Compare
Choose a tag to compare

Bug was in input() function, but only in "yad" and "Xdialog" mode, and only with options "2" or "3" (=> e.g.: "input 1 foo bar" was not affected, but "input 2 foo bar mamma mia" was affected ).
Fixed.

Enjoy! ;)

13.0.1 - Minor bugfixes in 'gum' mode

26 Mar 18:15
Compare
Choose a tag to compare

Bugfixes for 'gum' mode.
Fixed a bug in notify_message() when --icon/-i option is present.
Improved question() when script is not running in gnome-terminal, mate-terminal, qterminal and konsole (other terminal emulators don't handle well gum colors, and selection between "Ok" and "Cancel" is not visible).

13.0.0 - "gum" mode added

19 Mar 12:03
Compare
Choose a tag to compare

In this EBG release has been added a new widget: "gum". EBG chooses it if no graphical widget are installed, and preferes it to (c)dialog if Gum is installed on system. However, you can always select it by typing: "export supermode=gum && source easybashgui". Enjoy!

Tuning in docs and a bugfix in 'dialog' adjust()

23 Feb 13:21
Compare
Choose a tag to compare

Thanks to Lenz excellent work, EBG docs are now a lot more explainatory, but in this release I explained a little better some functions, like progress() and notify_change().
Moreover, I noted a little bug in adjust() in 'dialog' mode: it allowed to go over 100% (or less than 0%) => fixed.

12.0.5 : better readme & docs, some bugfixes, a new version after 4 years

16 Feb 21:45
Compare
Choose a tag to compare

What's Changed

  • documentation and organization - README and examples, right install file by @mckaygerhard in #18

New Contributors

Full Changelog: 12.0.4...12.0.5

Besides the new shiny README.md and documentation (thank you @mckaygerhard ), I fixed a pair of bugs remained in the shadows for years: one related to input() and special chars (thanks MueJ94 ) , the other one related to adjust() when user closes window with "Close" button.

Enjoy!

Changes to keep Yad compatibility

04 Jun 15:19
Compare
Choose a tag to compare

Victor Ananjevsky, author of Yad, has recently modified some command line options of its beautiful widget. This version tries to address this issue.

EBG with 'notify' functions and an improuved notify_message

16 Nov 17:27
Compare
Choose a tag to compare

Here they are main points:

  • notify -c [left click command] -i [good icon#bad icon] -t [good tooltip#bad tooltip] [menu item 1] [menu command 1] ... [menu item n] [menu command n]
  • notify_change -i [icon] -t [tooltip] "[good|bad]"
  • notify_message -i [icon] "text"

Please, refer to my page https://sites.google.com/site/easybashgui/easy-bash-functions for examples.

Enjoy!

EBG with 'notify' functions

14 Nov 18:22
Compare
Choose a tag to compare

Three new functions:

  • notify_message
  • notify ( * )
  • notify_change ( * )
    ( * = only with "yad" installed in your system).

Please, refer to my example page https://sites.google.com/site/easybashgui/easy-bash-functions for more info.