aboutsummaryrefslogtreecommitdiff
path: root/src/libeinfo
AgeCommit message (Collapse)Author
2013-10-21Revert "Make einfo routines private"William Hubbs
This reverts commit de88aff0a839844526ae262f8961ec4372fed238. I was advised that splashutils links to libeinfo, so we do have a consumer for this library.
2013-09-26Make einfo routines privateWilliam Hubbs
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.
2013-09-03libeinfo: add separate variable to suppress eerror messagesWilliam Hubbs
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
2013-08-28libeinfo: suppress output for eerror* functionsWilliam Hubbs
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
2013-08-27Revert "Libeinfo: do not suppress ewarn() messages"William Hubbs
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
2013-01-04libeinfo: check for "color" in the terminal nameAndrew Gregory
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2012-05-06add a new ARRAY_SIZE macro and use itMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06split out librc-independent helpers into a dedicated header fileMike Frysinger
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>
2011-08-22Libeinfo: do not suppress ewarn() messagesWilliam Hubbs
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
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-03clean up gitignore filesMike Frysinger
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>
2011-05-28cc.mk: move debug.mk out of end MakefilesMike Frysinger
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>
2011-02-04rework pam, ncurses and termcap include filesWilliam Hubbs
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.
2010-04-09restore old e* func outputMike Frysinger
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.
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-30Go back to gitRoy Marples
2009-04-23Improve style for KNFRoy Marples
2008-12-04Punt .gitignore files.Roy Marples
2008-11-26Save more screen space by removing the space befor the * for einfo and ↵Roy Marples
friends. Also remove the leading space before ... for ebegin.
2008-10-08Add a better, but incomplete tgoto implementation to make gcc happy.Roy Marples
2008-10-08Clean up warnings regarding printf.Roy Marples
2008-06-19Use CPPFLAGS so we work with -combine in CFLAGS.Roy Marples
2008-06-05Remove the macro ;)Roy Marples
2008-06-05Update style to more BSDish and replace the big macro with a function.Roy Marples
2008-03-28Allow our headers to be included by C++ programs easily.Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-24Fix debug support to work without gmake and bundle -ggdb in properly.Roy Marples
2008-03-23Revert commit 48fc097e39ec9b3edd9a8929fe9faf8f302451ec and add a comment ↵Roy Marples
about making it a runtime config option if it needs to change.
2008-03-23fix spacing in the trailing [ msg ]Mike Frysinger
2008-03-19Rejig the build system a little so we have per ok defs per system. Probably ↵Roy Marples
easier in the long run.
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-03Fix ignore files some more.Roy Marples
2008-03-03Add a gitignore make target.Roy Marples
2008-02-28Support the use of PREFIX and PKG_PREFIX.Roy Marples
2008-02-22Welcome to 2008.Roy Marples
2008-02-22More PCC fixes.Roy Marples
2008-02-21ewarn now goes to stderr to match portage behaviour.Roy Marples
2008-02-20Support the PCC compiler.Roy Marples
2008-02-04eoutdent should set the correct env var.Roy Marples
2008-02-01Factor out the str attribute in the ecolors array to its own array. This way ↵Roy Marples
ecolors can be marked const.
2008-01-22Quiet some lint warnings.Roy Marples
2008-01-21Testing the first character for NULL is more efficient than checking a ↵Roy Marples
strlen of 0.
2008-01-21 should not produce a red starRoy Marples
2008-01-14strip trailing newlinesMike Frysinger
2008-01-12Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently.Roy Marples
2008-01-12Many termcap db's don't have ch or RI even though they do workRoy Marples
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-10Loads of NetBSD tweaks here.Roy Marples
2008-01-10Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples
keeping BSD for all BSD's.
2008-01-09Style updates.Roy Marples