Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly declare SPM_ERR_STRING global | Joseph Hunkeler | 2020-04-19 | 1 | -13/+1 |
| | |||||
* | Better reporting when a package does not exist | Joseph Hunkeler | 2020-04-19 | 2 | -2/+7 |
| | | | | | | | | * 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 | 2 | -0/+3 |
| | | | | * Die on bad root directory | ||||
* | Add error handler | Joseph Hunkeler | 2020-04-19 | 2 | -0/+35 |
| | |||||
* | spm_mkdtemp requires a base directory: | Joseph Hunkeler | 2020-04-18 | 1 | -1/+1 |
| | | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS) | ||||
* | Merge pull request #22 from jhunkeler/use-compat | Joseph Hunkeler | 2020-04-14 | 3 | -0/+16 |
|\ | | | | | Include protoypes for compat implementations | ||||
| * | Include protoypes for compat implementations | Joseph Hunkeler | 2020-04-11 | 3 | -0/+16 |
| | | |||||
* | | Add functions: | Joseph Hunkeler | 2020-04-14 | 2 | -4/+15 |
|/ | | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes | ||||
* | Test replace_text (#13) | Joseph Hunkeler | 2020-04-06 | 1 | -1/+1 |
| | | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text | ||||
* | Fix shell command benchmarking | Joseph Hunkeler | 2020-03-30 | 1 | -1/+0 |
| | |||||
* | Add strcmp_array() function | Joseph Hunkeler | 2020-03-28 | 1 | -0/+1 |
| | |||||
* | Add .circleci/config.yml | Joseph Hunkeler | 2020-03-25 | 3 | -8/+7 |
| | |||||
* | Fix bugs uncovered by tests | Joseph Hunkeler | 2020-03-24 | 1 | -1/+6 |
| | |||||
* | doxygen: add missing @file to each header | Joseph Hunkeler | 2020-03-18 | 22 | -0/+66 |
| | |||||
* | Shared library search improvement | Joseph Hunkeler | 2020-03-18 | 1 | -2/+8 |
| | | | | | * Define platform dependent SPM_SHLIB_EXTENSION * rpath_libraries_available() uses SPM_SHLIB_EXTENSION | ||||
* | Fix up reading dependencies from packages | Joseph Hunkeler | 2020-03-17 | 1 | -0/+1 |
| | | | | * Add resolve_free() | ||||
* | Rename PACKAGE_MIN_DELIM and move it to package.h | Joseph Hunkeler | 2020-03-14 | 1 | -0/+1 |
| | |||||
* | Use system utilities to check rpath | Joseph Hunkeler | 2020-03-12 | 1 | -2/+2 |
| | |||||
* | Refactor RPATH creation: | Joseph Hunkeler | 2020-03-07 | 1 | -3/+4 |
| | | | | | | | | * Decreased complexity * Most rpath_* functions accept a FSTree structure now * Fewer calls to chdir() overall * Deeply nested libraries are detected * Libraries are no longer confined to lib/ and /lib64 | ||||
* | Add missing headers | Joseph Hunkeler | 2020-03-03 | 1 | -1/+5 |
| | |||||
* | Begin consolidating paths (manifests and temp directories) | Joseph Hunkeler | 2020-03-02 | 1 | -1/+1 |
| | |||||
* | Improvements: | Joseph Hunkeler | 2020-02-28 | 6 | -9/+23 |
| | | | | | | | | * Refactored a few function names * Can read package metadata * Can delete packages * Can download! and install packages at the same time * Can prompt the user before proceeding | ||||
* | Add join_ex() [simplified join() function] | Joseph Hunkeler | 2020-02-28 | 1 | -0/+1 |
| | |||||
* | Multiple things: | Joseph Hunkeler | 2020-02-26 | 6 | -10/+31 |
| | | | | | | | | * Add strdup_array() * Begin consolidating spm root information into SPM_Hierarchy * Begin consolidating metadata * Begin trimming repeated code (mostly file reading) * Store information about installed packages under [root]/var/db/records | ||||
* | Use user_input.h header | Joseph Hunkeler | 2020-02-25 | 1 | -0/+1 |
| | |||||
* | Refactor installation: | Joseph Hunkeler | 2020-02-25 | 1 | -1/+4 |
| | | | | | | | | * install() accepts a temporary directory as an argument * Add install_package_record() * Add is_installed() * Add do_install() wrapper * Use spm_user_yesno() before installation | ||||
* | Add spm_mkdtemp() function | Joseph Hunkeler | 2020-02-25 | 1 | -0/+2 |
| | |||||
* | Implement prompt_user flag | Joseph Hunkeler | 2020-02-25 | 1 | -0/+1 |
| | |||||
* | Initial commit of user_input.[c,h] | Joseph Hunkeler | 2020-02-25 | 1 | -0/+7 |
| | |||||
* | Remove reference to deps.h | Joseph Hunkeler | 2020-02-24 | 1 | -1/+0 |
| | |||||
* | Remove deps.h | Joseph Hunkeler | 2020-02-24 | 1 | -19/+0 |
| | |||||
* | Use package.h and resolve.h | Joseph Hunkeler | 2020-02-24 | 1 | -1/+2 |
| | |||||
* | Use package.h | Joseph Hunkeler | 2020-02-24 | 1 | -12/+7 |
| | |||||
* | Add install_show_package() | Joseph Hunkeler | 2020-02-24 | 1 | -0/+1 |
| | |||||
* | Add comparison function, refactor defines | Joseph Hunkeler | 2020-02-24 | 1 | -0/+12 |
| | |||||
* | Initial commit of resolve.c (deps.c replacement) | Joseph Hunkeler | 2020-02-24 | 1 | -4/+8 |
| | |||||
* | Move exists() from deps.h to fs.h | Joseph Hunkeler | 2020-02-24 | 3 | -2/+10 |
| | |||||
* | Metadata: | Joseph Hunkeler | 2020-02-20 | 1 | -1/+2 |
| | | | | | | | * Add .SPM_FILELIST * Add .SPM_DESCRIPTOR * Add generators for both to spmbuild Add new metadata to runtime and arrays | ||||
* | Finish removing find_package calls: | Joseph Hunkeler | 2020-02-19 | 1 | -2/+2 |
| | | | | * Add a root search path to dependency functions | ||||
* | Update cmake configs | Joseph Hunkeler | 2020-02-18 | 1 | -0/+27 |
| | |||||
* | Allow compilation on OSX. Not much else I assume | Joseph Hunkeler | 2020-02-18 | 1 | -0/+5 |
| | |||||
* | Rework dependency scanning: | Joseph Hunkeler | 2020-02-18 | 2 | -2/+2 |
| | | | | | | | | | * Stop resolving dependencies during manifest creation * Resolve dependencies by path * Die on failure to resolve * Fixed an off-by-one error in manifest_read * Add CLI argument -M|--override-manifest to disable default manifest(s) * Clean up expandpath() a bit | ||||
* | Refactor continues: | Joseph Hunkeler | 2020-02-17 | 3 | -1/+3 |
| | | | | | | | | | * Implement multiple manifests * Random bug fixes * More bugs added * Start removing references to SPM_GLOBAL.package_dir * Start using manifests for everything * Simplify mkmanifest_interface | ||||
* | Implement ManifestList: | Joseph Hunkeler | 2020-02-13 | 1 | -0/+13 |
| | | | | * Initial support for multiple manifests at once | ||||
* | Begin refactoring to support multiple manifests: | Joseph Hunkeler | 2020-02-13 | 1 | -0/+4 |
| | | | | | * Add more commands useful for building packages * Fix mkmanifest_interface not looking for the correct number of arguments | ||||
* | Refactor project structure: | Joseph Hunkeler | 2020-02-11 | 18 | -282/+350 |
| | | | | | * Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header | ||||
* | Add relocate_auto() | Joseph Hunkeler | 2020-02-10 | 1 | -0/+1 |
| | | | | * Move relocation code out of install() | ||||
* | Include shlib.h | Joseph Hunkeler | 2020-02-07 | 1 | -0/+1 |
| | |||||
* | Initial commit of shlib interface | Joseph Hunkeler | 2020-02-07 | 1 | -0/+14 |
| | |||||
* | Add normalize_space | Joseph Hunkeler | 2020-02-05 | 1 | -0/+1 |
| |