Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _ob_try_load_messages(): Abort on missing argument | Patrick McDermott | 2019-03-15 | 1 | -2/+2 |
| | |||||
* | ob_set_text_domain(): _ob_load_internal_text_domain() sets LC_MESSAGES | Patrick McDermott | 2019-03-15 | 1 | -11/+0 |
| | |||||
* | _ob_load_internal_text_domain(): New __init function | Patrick McDermott | 2019-03-15 | 1 | -0/+40 |
| | |||||
* | _ob_get_msg(): Don't call ob_set_text_domain() | Patrick McDermott | 2019-03-15 | 1 | -5/+1 |
| | | | | | Repeat instead of reusing code, as the result is actually shorter and faster code. | ||||
* | Fix missing "()" after function names in @details | Patrick McDermott | 2019-03-14 | 1 | -3/+4 |
| | | | | | Also fix function name in ob_get_system_plat()'s @details and update ob_error()'s @details. | ||||
* | libopkbuild: Abort on invalid function arguments | Patrick McDermott | 2019-03-13 | 1 | -30/+15 |
| | | | | | | | | | | Shift arguments and abort instead of returning 125. Incorrect numbers of function arguments suggest application/library incompatibilities or serious errors by the application developer. Either way, the application developer should be made immediately aware of this (and not allowed to simply not check return values), and continuing to run and handle any further API calls may be unsafe. | ||||
* | ob_set_text_domain(): Update @return doc | Patrick McDermott | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | ob_get_text_domain(): Replace echo with printf | Patrick McDermott | 2019-03-11 | 1 | -1/+1 |
| | |||||
* | ob_get_msg(): Replace echo with printf in eval | Patrick McDermott | 2019-03-11 | 1 | -1/+1 |
| | |||||
* | _OB_TEXT_DOMAIN: Rename global var to _ob_text_domain | Patrick McDermott | 2019-03-11 | 1 | -8/+8 |
| | |||||
* | _ob_get_msg(): New internal function | Patrick McDermott | 2019-03-11 | 1 | -0/+14 |
| | | | | Use it in _ob_*_msg(). | ||||
* | ob_set_text_domain(): Don't print warning message on error | Patrick McDermott | 2019-03-11 | 1 | -6/+0 |
| | |||||
* | ob_set_text_domain(): Exit early if messages already loaded | Patrick McDermott | 2019-03-11 | 1 | -1/+8 |
| | |||||
* | lib/changelog.sh, lib/control.sh, lib/locale.sh: Update copyright years | Patrick McDermott | 2018-12-29 | 1 | -1/+1 |
| | |||||
* | ob_get_msg(): Document | Patrick McDermott | 2018-12-28 | 1 | -0/+7 |
| | |||||
* | ob_get_text_domain(), ob_set_text_domain(): Document | Patrick McDermott | 2018-12-27 | 1 | -0/+20 |
| | | | | Also add a TODO comment to ob_set_text_domain(). | ||||
* | libopkbuild: Move function definitions before points of use | Patrick McDermott | 2018-12-25 | 1 | -18/+18 |
| | |||||
* | libopkbuild: Bump shared object version to 2 | Patrick McDermott | 2018-12-24 | 1 | -1/+1 |
| | |||||
* | libopkbuild: Update header comments, copyright years, & license | Patrick McDermott | 2018-12-24 | 1 | -9/+9 |
| | |||||
* | libopkbuild: Drop include guards | Patrick McDermott | 2018-12-22 | 1 | -3/+0 |
| | |||||
* | ob_use(): Remove | Patrick McDermott | 2018-12-22 | 1 | -2/+0 |
| | |||||
* | libopkbuild: Use shpp | Patrick McDermott | 2018-12-22 | 1 | -1/+1 |
| | |||||
* | lib/*.sh, lib/*/*.sh: Add ".sh" to header comment. | P. J. McDermott | 2013-08-18 | 1 | -1/+1 |
| | |||||
* | lib/*.sh, lib/*/*.sh: Rewrite include guards. | P. J. McDermott | 2013-08-18 | 1 | -2/+2 |
| | | | | This is one step toward adding `set -u` to opkbuild. | ||||
* | lib/locale.sh: Remove _ob_local. | P. J. McDermott | 2013-08-18 | 1 | -38/+24 |
| | |||||
* | Additionally license everything under GPLv2. | P. J. McDermott | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | Fix quoting in ob_get_msg(). | P. J. McDermott | 2012-10-02 | 1 | -1/+1 |
| | |||||
* | Factor out name of internal text domain. | P. J. McDermott | 2012-09-30 | 1 | -0/+1 |
| | |||||
* | Fix ob_use() arguments. | P. J. McDermott | 2012-09-26 | 1 | -1/+1 |
| | |||||
* | Return rather than print value in _ob_return. | P. J. McDermott | 2012-09-09 | 1 | -11/+22 |
| | | | | | Don't use _ob_return in command substitutions. Doing so unsets stack variables only in a subshell environment. | ||||
* | Use new stack MM in locale module. | P. J. McDermott | 2012-09-08 | 1 | -18/+19 |
| | |||||
* | Use ob_use instead of . in all rewritten modules. | P. J. McDermott | 2012-09-08 | 1 | -1/+1 |
| | |||||
* | Implement ob_set_locale_path. | P. J. McDermott | 2012-09-08 | 1 | -1/+20 |
| | |||||
* | Add ob_get_text_domain. | P. J. McDermott | 2012-09-04 | 1 | -0/+10 |
| | |||||
* | Change ob_add_text_domain to ob_set_text_domain. | P. J. McDermott | 2012-09-04 | 1 | -16/+26 |
| | | | | Also add ob_get_msg. | ||||
* | Remove ob_set_locale and add ob_add_text_domain. | P. J. McDermott | 2012-09-04 | 1 | -33/+30 |
| | |||||
* | Clean up "stack variables". | P. J. McDermott | 2012-09-04 | 1 | -0/+5 |
| | |||||
* | Partially rewrite locale library module. | P. J. McDermott | 2012-09-04 | 1 | -22/+46 |
| | |||||
* | Fix some problems with locale loading. | P. J. McDermott | 2012-08-02 | 1 | -4/+3 |
| | |||||
* | Always load at least the default locale. | P. J. McDermott | 2012-08-01 | 1 | -0/+2 |
| | |||||
* | Set locale parameters in oh_locale_set(). | P. J. McDermott | 2012-08-01 | 1 | -3/+9 |
| | |||||
* | Prevent double execution/inclusion. | P. J. McDermott | 2012-08-01 | 1 | -0/+3 |
| | |||||
* | Remove a spare line break from the locale library. | P. J. McDermott | 2012-08-01 | 1 | -1/+0 |
| | |||||
* | Fix substring patterns in oh_locale_set(). | P. J. McDermott | 2012-07-31 | 1 | -4/+4 |
| | |||||
* | Support locale setting. | P. J. McDermott | 2012-07-31 | 1 | -0/+48 |