Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Properly declare SPM_ERR_STRING global | Joseph Hunkeler | 2020-04-19 | 1 | -0/+12 | |
| | ||||||
* | Better reporting when a package does not exist | Joseph Hunkeler | 2020-04-19 | 6 | -15/+73 | |
| | | | | | | | | * Add additional errors * Fix user_input function missing an error return value * spmbuild sources a temporary file instead of output from a sub-shell * Fix indentation problem * A reason can be attached to spmerrno using spmerrno_cause() | |||||
* | Implement error handling | Joseph Hunkeler | 2020-04-19 | 5 | -16/+53 | |
| | | | | * Die on bad root directory | |||||
* | Add error handler | Joseph Hunkeler | 2020-04-19 | 1 | -0/+27 | |
| | ||||||
* | spm_mkdtemp requires a base directory: | Joseph Hunkeler | 2020-04-18 | 3 | -6/+14 | |
| | | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS) | |||||
* | Clean up find_by_strspec | Joseph Hunkeler | 2020-04-14 | 1 | -20/+11 | |
| | ||||||
* | Add functions: | Joseph Hunkeler | 2020-04-14 | 1 | -0/+127 | |
| | | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes | |||||
* | lib/fs.c | Joseph Hunkeler | 2020-04-10 | 1 | -2/+5 | |
| | ||||||
* | Fail if seek fails | Joseph Hunkeler | 2020-04-09 | 1 | -1/+3 | |
| | ||||||
* | relocate() return -1 on NULL arguments | Joseph Hunkeler | 2020-04-08 | 1 | -3/+10 | |
| | ||||||
* | Add test_relocation_file_replace_text (#14) | Joseph Hunkeler | 2020-04-08 | 1 | -5/+6 | |
| | | | | | | | | | * Add test_relocation_file_replace_text * Fix bad BUFSIZ allocation and interaction * Use the line limit not the number of lines * Zero line buffer before next read | |||||
* | Test replace_text (#13) | Joseph Hunkeler | 2020-04-06 | 1 | -9/+13 | |
| | | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text | |||||
* | Merge pull request #11 from jhunkeler/strlist-fixes | Joseph Hunkeler | 2020-04-01 | 1 | -5/+31 | |
|\ | | | | | strlist: Handle NULL input (for most cases) | |||||
| * | Handle NULL input (for most cases) | Joseph Hunkeler | 2020-04-01 | 1 | -5/+31 | |
| | | ||||||
* | | Add test_config_read test | Joseph Hunkeler | 2020-04-01 | 1 | -4/+9 | |
|/ | | | | * config_read removes whitespace correctly near inline comments | |||||
* | Fix shell command benchmarking | Joseph Hunkeler | 2020-03-30 | 1 | -11/+12 | |
| | ||||||
* | bugfix: spm_prompt_user did not capture input and process it as intended | Joseph Hunkeler | 2020-03-28 | 1 | -54/+19 | |
| | ||||||
* | Add strcmp_array() function | Joseph Hunkeler | 2020-03-28 | 1 | -0/+41 | |
| | ||||||
* | Return NULL if input is NULL | Joseph Hunkeler | 2020-03-27 | 1 | -0/+5 | |
| | ||||||
* | Explicit return | Joseph Hunkeler | 2020-03-27 | 1 | -0/+1 | |
| | ||||||
* | Fix compiler warnings not triggering | Joseph Hunkeler | 2020-03-27 | 1 | -2/+2 | |
| | ||||||
* | Bugfix: Terminate array | Joseph Hunkeler | 2020-03-27 | 1 | -1/+1 | |
| | ||||||
* | Use getenv_pair() to construct a basic runtime environment | Joseph Hunkeler | 2020-03-27 | 1 | -1/+55 | |
| | ||||||
* | Bugfix: Terminate array | Joseph Hunkeler | 2020-03-26 | 1 | -1/+1 | |
| | ||||||
* | Guarantee the array is terminated | Joseph Hunkeler | 2020-03-26 | 1 | -0/+1 | |
| | ||||||
* | Fix segfault caused by freeing records for no reason: | Joseph Hunkeler | 2020-03-26 | 5 | -18/+22 | |
| | | | | * split() returns the input string when no delimiters are found | |||||
* | Bugfix: Replace char &reference with const char[] string. | Joseph Hunkeler | 2020-03-25 | 1 | -2/+2 | |
| | ||||||
* | Fix a few memory leaks: | Joseph Hunkeler | 2020-03-25 | 3 | -9/+22 | |
| | | | | * Cannot free array of manifests successfully though... TODO | |||||
* | Fix double less-than check | Joseph Hunkeler | 2020-03-25 | 1 | -1/+1 | |
| | ||||||
* | Add .circleci/config.yml | Joseph Hunkeler | 2020-03-25 | 3 | -21/+19 | |
| | ||||||
* | Fix bugs uncovered by tests | Joseph Hunkeler | 2020-03-24 | 1 | -39/+110 | |
| | ||||||
* | Refactor project: build/install libspm[_static.a].so to make unit testing ↵ | Joseph Hunkeler | 2020-03-18 | 27 | -0/+7119 | |
possible |