aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Properly declare SPM_ERR_STRING globalJoseph Hunkeler2020-04-191-13/+1
|
* Better reporting when a package does not existJoseph Hunkeler2020-04-192-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 handlingJoseph Hunkeler2020-04-192-0/+3
| | | | * Die on bad root directory
* Add error handlerJoseph Hunkeler2020-04-192-0/+35
|
* spm_mkdtemp requires a base directory:Joseph Hunkeler2020-04-181-1/+1
| | | | * test_spm_mkdtemp revealed a difference in how variables are stored (Linux vs. MacOS)
* Merge pull request #22 from jhunkeler/use-compatJoseph Hunkeler2020-04-143-0/+16
|\ | | | | Include protoypes for compat implementations
| * Include protoypes for compat implementationsJoseph Hunkeler2020-04-113-0/+16
| |
* | Add functions:Joseph Hunkeler2020-04-142-4/+15
|/ | | | | | | | | | | touch() fslist() * Add type: struct FSList * Consolidate platform specific includes
* Test replace_text (#13)Joseph Hunkeler2020-04-061-1/+1
| | | | | | | * Add test boilerplate * Add replace_text test * Redo replace_text
* Fix shell command benchmarkingJoseph Hunkeler2020-03-301-1/+0
|
* Add strcmp_array() functionJoseph Hunkeler2020-03-281-0/+1
|
* Add .circleci/config.ymlJoseph Hunkeler2020-03-253-8/+7
|
* Fix bugs uncovered by testsJoseph Hunkeler2020-03-241-1/+6
|
* doxygen: add missing @file to each headerJoseph Hunkeler2020-03-1822-0/+66
|
* Shared library search improvementJoseph Hunkeler2020-03-181-2/+8
| | | | | * Define platform dependent SPM_SHLIB_EXTENSION * rpath_libraries_available() uses SPM_SHLIB_EXTENSION
* Fix up reading dependencies from packagesJoseph Hunkeler2020-03-171-0/+1
| | | | * Add resolve_free()
* Rename PACKAGE_MIN_DELIM and move it to package.hJoseph Hunkeler2020-03-141-0/+1
|
* Use system utilities to check rpathJoseph Hunkeler2020-03-121-2/+2
|
* Refactor RPATH creation:Joseph Hunkeler2020-03-071-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 headersJoseph Hunkeler2020-03-031-1/+5
|
* Begin consolidating paths (manifests and temp directories)Joseph Hunkeler2020-03-021-1/+1
|
* Improvements:Joseph Hunkeler2020-02-286-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 Hunkeler2020-02-281-0/+1
|
* Multiple things:Joseph Hunkeler2020-02-266-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 headerJoseph Hunkeler2020-02-251-0/+1
|
* Refactor installation:Joseph Hunkeler2020-02-251-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() functionJoseph Hunkeler2020-02-251-0/+2
|
* Implement prompt_user flagJoseph Hunkeler2020-02-251-0/+1
|
* Initial commit of user_input.[c,h]Joseph Hunkeler2020-02-251-0/+7
|
* Remove reference to deps.hJoseph Hunkeler2020-02-241-1/+0
|
* Remove deps.hJoseph Hunkeler2020-02-241-19/+0
|
* Use package.h and resolve.hJoseph Hunkeler2020-02-241-1/+2
|
* Use package.hJoseph Hunkeler2020-02-241-12/+7
|
* Add install_show_package()Joseph Hunkeler2020-02-241-0/+1
|
* Add comparison function, refactor definesJoseph Hunkeler2020-02-241-0/+12
|
* Initial commit of resolve.c (deps.c replacement)Joseph Hunkeler2020-02-241-4/+8
|
* Move exists() from deps.h to fs.hJoseph Hunkeler2020-02-243-2/+10
|
* Metadata:Joseph Hunkeler2020-02-201-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 Hunkeler2020-02-191-2/+2
| | | | * Add a root search path to dependency functions
* Update cmake configsJoseph Hunkeler2020-02-181-0/+27
|
* Allow compilation on OSX. Not much else I assumeJoseph Hunkeler2020-02-181-0/+5
|
* Rework dependency scanning:Joseph Hunkeler2020-02-182-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 Hunkeler2020-02-173-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 Hunkeler2020-02-131-0/+13
| | | | * Initial support for multiple manifests at once
* Begin refactoring to support multiple manifests:Joseph Hunkeler2020-02-131-0/+4
| | | | | * Add more commands useful for building packages * Fix mkmanifest_interface not looking for the correct number of arguments
* Refactor project structure:Joseph Hunkeler2020-02-1118-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 Hunkeler2020-02-101-0/+1
| | | | * Move relocation code out of install()
* Include shlib.hJoseph Hunkeler2020-02-071-0/+1
|
* Initial commit of shlib interfaceJoseph Hunkeler2020-02-071-0/+14
|
* Add normalize_spaceJoseph Hunkeler2020-02-051-0/+1
|