summaryrefslogtreecommitdiff
path: root/src/lib/libremessages
AgeCommit message (Collapse)Author
2015-05-31libremessages:flag: support sub-headings in the list of flags.Luke Shumaker
This changes libremessages:flag to treat would-be flagnames ending with ':' specially--as a sub-heading in the list of flags. The next argument is taken to be the next flag, not a description.
2015-05-26Rename libremessages:whitespace-collapse to whitespace_collapse.v20150526Luke Shumaker
When using /bin/sh instead of bash (a terrible idea, but whatev), the '-' is an invalid charater in an identifier.
2015-05-24libremessages: expose whitespace-collapseLuke Shumaker
2015-05-24libremessages/librexgettext: Preserve two spaces after a period.Luke Shumaker
Well, [.!?] really--this matches the behavior of `fmt -u`.
2015-05-24libremessages:flag: Allow specifying multiple flags in one go.Luke Shumaker
This allows the descriptions to all be aligned together.
2015-05-24libremessages:flag: Clean up mathLuke Shumaker
Because I was using -le instead of -lt, all of the math was off by one, which was negated by only one space in the separator in the format string.
2015-05-24libremessages:flag: Avoid doing a loop over each lineLuke Shumaker
2015-05-24libremessages: add some newlines in comments, reflow them.Luke Shumaker
Mostly so that when I compulsivly hit M-q, it doesn't screw up.
2014-11-25normalize copyright statements a bitLuke Shumaker
2014-07-05quote calls to librelibLuke Shumaker
2014-07-01libremessages: the flags() word-wrapping was a single character wide.Luke Shumaker
2014-07-01libremessages: tidy upLuke Shumaker
2014-07-01Make term_title gettext-aware (BREAKS COMPATIBILITY)Luke Shumaker
2014-06-27libremessages: add some commentsLuke Shumaker
2014-03-23Most of my desired re-licensings were authorized on the dev listLuke Shumaker
2014-03-22Audit the authors and copyright years of files against git logsLuke Shumaker
2014-03-21Do an audit of copyright and license claimsLuke Shumaker
2014-03-05teach libremessages:setup_traps to be able to use a custom signal handlerLuke Shumaker
2014-02-02Normalize to use the string "Copyright (C)"Luke Shumaker
2014-02-02I forgot to bump the copyright year on all the files I've touched this yearLuke Shumaker
2014-01-20libremessages: add a setup_traps routineLuke Shumaker
2014-01-05src/lib/: misc touch-upLuke Shumaker
2014-01-05src/lib/: set TEXTDOMAIN differently for internal messagesLuke Shumaker
This allows us to fix the long-standing bug that libremessages forces TEXTDOMAIN=libretools
2013-09-12Merge branch 'fauno~2' (early part) into masterLuke Shumaker
2013-09-11libremessages: add a few more message routines, and make them gettext-aware.Luke Shumaker
- Don't set LANG=C in common.sh - Move TEXTDOMAIN stuff into common.sh; so devtools stuff will use it. - Add _(): Basically an alias for `gettext`, but falls back if gettext is not available. - Add panic(): First showed up in `distcc-tool`, does what it sounds like. - Add prose(), bullet(), and flag(): they do word wrapping and such to make it easy to internationalize `--help` text. - Teach common.mk how to make .pot files based on these routines.
2013-05-26redo the library system; avoid hard-coded pathsLuke Shumaker
* install all library files to $(libexecdir)/libretools, instead of - $(bindir) - $(datadir)/libretools - $(datadir)/devtools * symlink the executable library files into $(bindir) * add the tool `librelib` * instead of ". /path/to/lib.sh", use ". $(librelib lib.sh)" * mark all libraries with shebangs of what options they support * move blacklist.sh to libreblacklist