summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ob_parse_version(): Improve eval safetyPatrick McDermott2019-03-121-4/+4
| | | | | | | There likely wasn't a vulnerability here since versions are validated first, but unnecessary expansions like this in eval commands are bad practice, and a bug in the validation could have led to a vulnerability here.
* ob_parse_dep(): Drop echo and improve quotes in eval cmdsPatrick McDermott2019-03-121-2/+2
|
* TODO: Add non-fatal on_error() taskPatrick McDermott2019-03-121-1/+3
| | | | Also update copyright years.
* en_US/libopkbuild_2: Add invalid substvar messagePatrick McDermott2019-03-121-0/+1
| | | | Should have been done in commit b857ead.
* ob_substvars(): Replace echo in eval commandPatrick McDermott2019-03-121-1/+1
|
* ob_set_substvar(): Don't allow "_" in variable namesPatrick McDermott2019-03-121-2/+2
| | | | | The character was allowed due to the details of the implementation, but the SPF 2.0 specification doesn't allow it.
* ob_substvars(): Validate variable namesPatrick McDermott2019-03-121-0/+11
|
* ob_set_substvar(): Make validation more immediately clearPatrick McDermott2019-03-121-4/+2
| | | | | | The original version in 000a27ff used a "${parameter:-word}" default value expansion to detect an empty string. Instead, let the case construct match empty strings directly.
* ob_set_text_domain(): Update @return docPatrick McDermott2019-03-121-1/+1
|
* lib/output.sh: Update copyright yearsPatrick McDermott2019-03-121-1/+1
| | | | Approximately none of the 2012 code remains.
* ob_error(), ob_warn(), ob_info(): InternationalizePatrick McDermott2019-03-123-4/+8
|
* ob_error(), ob_warn(), ob_info(): RewritePatrick McDermott2019-03-121-17/+12
|
* ob_set_substvar(): Replace sed with readPatrick McDermott2019-03-121-10/+3
|
* _ob_parse_control_error(): Use _ob_warn_msg()Patrick McDermott2019-03-122-18/+9
|
* _ob_parse_changelog_error(): Use _ob_warn_msg()Patrick McDermott2019-03-122-21/+12
|
* ob_get_text_domain(): Replace echo with printfPatrick McDermott2019-03-111-1/+1
|
* ob_get_msg(): Replace echo with printf in evalPatrick McDermott2019-03-111-1/+1
|
* _ob_get_changelog_expect_str(): Drop unnecessary echoPatrick McDermott2019-03-111-1/+1
|
* _ob_get_changelog_expect_str(): Use _ob_get_msg()Patrick McDermott2019-03-111-10/+1
|
* _OB_TEXT_DOMAIN: Rename global var to _ob_text_domainPatrick McDermott2019-03-111-8/+8
|
* _ob_get_msg(): New internal functionPatrick McDermott2019-03-112-15/+17
| | | | Use it in _ob_*_msg().
* Use (or plan to use) _ob_warn_msg()Patrick McDermott2019-03-113-15/+12
|
* _ob_*_msg(): New internal functionsPatrick McDermott2019-03-111-1/+43
|
* TODO: Add library argument handling taskPatrick McDermott2019-03-111-0/+3
|
* ob_set_text_domain(): Don't print warning message on errorPatrick McDermott2019-03-112-6/+2
|
* ob_set_text_domain(): Exit early if messages already loadedPatrick McDermott2019-03-111-1/+8
|
* Makefile.am, lib/local.mk: Extract TODO comments from libopkbuild sourcesPatrick McDermott2019-03-112-1/+5
|
* Makefile.am: Distribute shpp, shld, and shmanPatrick McDermott2019-03-111-1/+4
|
* ob_parse_changelog(): Pass args, not global vars, to cbPatrick McDermott2019-03-112-62/+73
| | | | And update test file.
* ob_parse_changelog(): Replace if construct with casePatrick McDermott2019-03-111-88/+95
|
* Revert "lib/error.sh: New file"Patrick McDermott2019-03-113-54/+0
| | | | This reverts commit 31a6f6452e6de2bcf27b5a141613b183ee29ce63.
* Revert "ob_parse_control(): Run parse error callback"Patrick McDermott2019-03-111-6/+35
| | | | This reverts commit d80290a2f8c9f069261da78afd2f275e84923d0f.
* ob_parse_control(): Run parse error callbackPatrick McDermott2019-01-051-35/+6
|
* lib/error.sh: New filePatrick McDermott2019-01-053-0/+54
|
* Revert "[WIP] ob_parse_control(): Run an error callback"Patrick McDermott2019-01-051-19/+41
| | | | This reverts commit d1f79411c618a7a3d078430450631dfca85c2a07.
* [WIP] ob_parse_control(): Run an error callbackPatrick McDermott2019-01-051-41/+19
|
* _OB_LF: Define and use newline constantPatrick McDermott2019-01-053-8/+7
|
* ob_parse_control(): Replace [ commands after callbacksPatrick McDermott2019-01-051-4/+2
|
* ob_parse_control(): Update/improve field_cb documentationPatrick McDermott2019-01-051-8/+11
|
* ob_parse_control(): Add a user_data operandPatrick McDermott2019-01-053-19/+28
|
* ob_parse_control(): Pass field name and value as argsPatrick McDermott2019-01-053-29/+42
|
* ob_parse_control(): Replace param prefix/suffix removals with readPatrick McDermott2019-01-051-5/+4
|
* ob_parse_control(): Replace if construct with casePatrick McDermott2019-01-051-54/+55
|
* tests/ob_parse_control.sh: New test filePatrick McDermott2019-01-052-1/+99
|
* ob_parse_version(): DocumentPatrick McDermott2018-12-292-0/+20
|
* ob_get_system_path(): DocumentPatrick McDermott2018-12-292-0/+16
|
* ob_get_system_arch(), ob_get_system_plat(): DocumentPatrick McDermott2018-12-292-0/+18
|
* ob_get_system_*(): Return 1 and hide message on errorPatrick McDermott2018-12-291-2/+2
|
* ob_validate_source_name(), ob_validate_binary_name(): DocumentPatrick McDermott2018-12-292-1/+19
|
* lib/changelog.sh, lib/control.sh, lib/locale.sh: Update copyright yearsPatrick McDermott2018-12-293-3/+3
|