summaryrefslogtreecommitdiff
path: root/src/libeinfo
Commit message (Collapse)AuthorAge
* Revert "Make einfo routines private"William Hubbs2013-10-21
| | | | | | This reverts commit de88aff0a839844526ae262f8961ec4372fed238. I was advised that splashutils links to libeinfo, so we do have a consumer for this library.
* Make einfo routines privateWilliam Hubbs2013-09-26
| | | | | | The libeinfo library has no consumers other than OpenRC, so there is no reason for it to be maintained as a library. The einfo routines are now an object that links with the rc binary.
* libeinfo: add separate variable to suppress eerror messagesWilliam Hubbs2013-09-03
| | | | | | | | | | Add an EERROR_QUIET environment variable which works like EINFO_QUIET but for the eerror functions. This will allow library consumers to choose whether to suppress eerror messages separately from einfo and ewarn messages. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
* libeinfo: suppress output for eerror* functionsWilliam Hubbs2013-08-28
| | | | | | | | This makes the eerror* functions honor the EINFO_QUIET environment variable like the einfo* and ewarn* functions. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
* Revert "Libeinfo: do not suppress ewarn() messages"William Hubbs2013-08-27
| | | | | | | | | | | | | | | This reverts commit 4ee62c7903c65557c493f51d6703264a816156cd. The previously referenced commit broke consistency because ewarnx() was respecting the EINFO_QUIET environment setting, but after this commit, ewarn() was not. Also, due to discussion on the below referenced bugs, I think we do want to suppress warnings when EINFO_QUIET=yes. X-Gentoo-Bug: 482396 X-Gentoo-Bug: 439174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439174
* libeinfo: check for "color" in the terminal nameAndrew Gregory2013-01-04
| | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* add a new ARRAY_SIZE macro and use itMike Frysinger2012-05-06
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* split out librc-independent helpers into a dedicated header fileMike Frysinger2012-05-06
| | | | | | | Many of these helpers are not special to librc, so split them out so they can be used in all source trees (including libeinfo). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Libeinfo: do not suppress ewarn() messagesWilliam Hubbs2011-08-22
| | | | | | | | | | The ewarn() function was affected by the EINFO_QUIET environment variable which lead to warning messages being suppressed. Warnings should not be suppressed. Reported-by: Hanno Boeck <hanno@gentoo.org> X-Gentoo-Bug: 380073 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380073
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clean up gitignore filesMike Frysinger2011-06-03
| | | | | | | | | Rather than listing explicit object files, ignore all of them in the whole tree. Also ignore patch/gdb related files throughout. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* cc.mk: move debug.mk out of end MakefilesMike Frysinger2011-05-28
| | | | | | | | | Since we always want debug.mk whenever we include cc.mk, move the include out of the Makefiles and into cc.mk itself. This also fixes an include order bug in rc/Makefile where debug.mk is included before cc.mk and breaks the default CFLAGS setup in cc.mk. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* rework pam, ncurses and termcap include filesWilliam Hubbs2011-02-04
| | | | | | | This allows error checking inside the included files instead of either including the appropriate file or a blank file. Also the blank file named .mk gets removed by this change.
* restore old e* func outputMike Frysinger2010-04-09
| | | | | | | | | | | Gentoo has always used the sytle: * moo ... [ ok ] Latest openrc now does: * moo... [ok] Realistically, 4 spaces out of 80 on reduced terminals doesn't make any sort of realistic difference and it's been just fine for the last 10 years, so keep the default behavior.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Go back to gitRoy Marples2009-04-30
|
* Improve style for KNFRoy Marples2009-04-23
|
* Punt .gitignore files.Roy Marples2008-12-04
|
* Save more screen space by removing the space befor the * for einfo and ↵Roy Marples2008-11-26
| | | | friends. Also remove the leading space before ... for ebegin.
* Add a better, but incomplete tgoto implementation to make gcc happy.Roy Marples2008-10-08
|
* Clean up warnings regarding printf.Roy Marples2008-10-08
|
* Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples2008-06-19
|
* Remove the macro ;)Roy Marples2008-06-05
|
* Update style to more BSDish and replace the big macro with a function.Roy Marples2008-06-05
|
* Allow our headers to be included by C++ programs easily.Roy Marples2008-03-28
|
* Add license blurb to a few files and append my email to my name.Roy Marples2008-03-26
|
* Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples2008-03-24
|
* Revert commit 48fc097e39ec9b3edd9a8929fe9faf8f302451ec and add a comment ↵Roy Marples2008-03-23
| | | | about making it a runtime config option if it needs to change.
* fix spacing in the trailing [ msg ]Mike Frysinger2008-03-23
|
* Rejig the build system a little so we have per ok defs per system. Probably ↵Roy Marples2008-03-19
| | | | easier in the long run.
* Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples2008-03-16
| | | | from queue(3). Refactor code style around the BSD KNF.
* Fix ignore files some more.Roy Marples2008-03-03
|
* Add a gitignore make target.Roy Marples2008-03-03
|
* Support the use of PREFIX and PKG_PREFIX.Roy Marples2008-02-28
|
* Welcome to 2008.Roy Marples2008-02-22
|
* More PCC fixes.Roy Marples2008-02-22
|
* ewarn now goes to stderr to match portage behaviour.Roy Marples2008-02-21
|
* Support the PCC compiler.Roy Marples2008-02-20
|
* eoutdent should set the correct env var.Roy Marples2008-02-04
|
* Factor out the str attribute in the ecolors array to its own array. This way ↵Roy Marples2008-02-01
| | | | ecolors can be marked const.
* Quiet some lint warnings.Roy Marples2008-01-22
|
* Testing the first character for NULL is more efficient than checking a ↵Roy Marples2008-01-21
| | | | strlen of 0.
* should not produce a red starRoy Marples2008-01-21
|
* strip trailing newlinesMike Frysinger2008-01-14
|
* Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently.Roy Marples2008-01-12
|
* Many termcap db's don't have ch or RI even though they do workRoy Marples2008-01-12
|
* Re-indent to a standard tw of 8.Roy Marples2008-01-11
|
* Loads of NetBSD tweaks here.Roy Marples2008-01-10
|
* Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples2008-01-10
| | | | keeping BSD for all BSD's.
* Style updates.Roy Marples2008-01-09
|