Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | file_readlines now accepts STDIN (filename = "-") | Joseph Hunkeler | 2020-05-26 | 1 | -7/+22 |
| | |||||
* | Errors set return value and jump to end of function | Joseph Hunkeler | 2020-05-26 | 1 | -31/+35 |
| | |||||
* | Nevermind | Joseph Hunkeler | 2020-05-26 | 1 | -0/+1 |
| | |||||
* | Make a copy of the path | Joseph Hunkeler | 2020-05-26 | 1 | -2/+9 |
| | |||||
* | Add strlist_append_file() | Joseph Hunkeler | 2020-05-25 | 1 | -10/+94 |
| | | | | * Add reader_strlist_append_file() as default reader function | ||||
* | readlines() return NULL array instead of array with a blank string. | Joseph Hunkeler | 2020-05-25 | 1 | -1/+0 |
| | |||||
* | Error handler: | Joseph Hunkeler | 2020-05-25 | 1 | -0/+5 |
| | | | | | * Add spm_die() * Add SPM_ERR_FETCH to handle non-package download failures | ||||
* | Implement -F|--from-file argument | Joseph Hunkeler | 2020-05-25 | 1 | -6/+10 |
| | |||||
* | Move file_readlines function out of mirrors.c | Joseph Hunkeler | 2020-05-25 | 2 | -81/+83 |
| | |||||
* | Use the correct type to support large return by version_from() | Joseph Hunkeler | 2020-05-24 | 1 | -7/+7 |
| | |||||
* | Fix leak | Joseph Hunkeler | 2020-05-24 | 1 | -0/+1 |
| | |||||
* | Add version type and functions: | Joseph Hunkeler | 2020-05-24 | 1 | -304/+103 |
| | | | | | | * struct Version * version_{init,read,free} * version_from() now wraps new functions to return a uint64_t | ||||
* | Add string functions: | Joseph Hunkeler | 2020-05-24 | 1 | -0/+27 |
| | | | | | * isdigit_s() * tolower_s() | ||||
* | Handle Darwin | Joseph Hunkeler | 2020-05-21 | 1 | -12/+40 |
| | |||||
* | Rewrite version_from() to be input agnostic | Joseph Hunkeler | 2020-05-21 | 1 | -7/+137 |
| | |||||
* | Add strlist_remove() | Joseph Hunkeler | 2020-05-21 | 1 | -0/+22 |
| | |||||
* | Use pkg-config | Joseph Hunkeler | 2020-05-07 | 1 | -1/+4 |
| | |||||
* | Adjust compilation flags for Darwin | Joseph Hunkeler | 2020-05-06 | 1 | -2/+7 |
| | |||||
* | Add TODO item | Joseph Hunkeler | 2020-05-06 | 1 | -0/+1 |
| | |||||
* | Add install_name_tool and Darwin specific branches | Joseph Hunkeler | 2020-05-01 | 1 | -3/+22 |
| | |||||
* | Add SPM_ERR_NOT_IMPLEMENTED error type | Joseph Hunkeler | 2020-05-01 | 1 | -0/+1 |
| | |||||
* | Fix typo | Joseph Hunkeler | 2020-04-29 | 1 | -1/+1 |
| | |||||
* | Add install_name_tool | Joseph Hunkeler | 2020-04-29 | 1 | -57/+38 |
| | | | | * Begin refactoring to support macos more easily | ||||
* | refactor shlib_deps_objdump to become a generic objdump-er | Joseph Hunkeler | 2020-04-29 | 1 | -4/+87 |
| | |||||
* | Fix formatter bug | Joseph Hunkeler | 2020-04-28 | 1 | -1/+1 |
| | |||||
* | Remove TODO | Joseph Hunkeler | 2020-04-28 | 1 | -1/+0 |
| | |||||
* | Improved strlist: | Joseph Hunkeler | 2020-04-28 | 1 | -59/+54 |
| | | | | | | | * Use strto*() functions instead of ato*() * Add _cmp and _copy functions * Removed compare functions * Replaced qsort call with strsort | ||||
* | Consolidate platform detection preprocessor checks | Joseph Hunkeler | 2020-04-24 | 5 | -7/+8 |
| | |||||
* | Add macos specific code | Joseph Hunkeler | 2020-04-24 | 1 | -11/+73 |
| | |||||
* | Handle NULL reason | Joseph Hunkeler | 2020-04-21 | 1 | -3/+9 |
| | |||||
* | Empty manifests are OK here | Joseph Hunkeler | 2020-04-20 | 1 | -5/+0 |
| | |||||
* | hmm | Joseph Hunkeler | 2020-04-19 | 1 | -2/+2 |
| | |||||
* | 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 |
| |