aboutsummaryrefslogtreecommitdiff
path: root/src/fs.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor project: build/install libspm[_static.a].so to make unit testing ↵Joseph Hunkeler2020-03-181-504/+0
| | | | possible
* Bugfix: FSTree.root should always contain an absolute pathJoseph Hunkeler2020-03-071-3/+13
|
* Refactor startswith() and endswidth() usageJoseph Hunkeler2020-03-021-3/+10
|
* Multiple things:Joseph Hunkeler2020-02-261-2/+2
| | | | | | | | * 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
* Add spm_mkdtemp() functionJoseph Hunkeler2020-02-251-1/+17
|
* Rework dependency scanning:Joseph Hunkeler2020-02-181-4/+8
| | | | | | | | | * 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-171-4/+11
| | | | | | | | | * 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
* SEAD - memory leaksJoseph Hunkeler2020-01-301-1/+4
|
* fstree() now accepts filter modes ↵Joseph Hunkeler2020-01-231-28/+52
| | | | SPM_FSTREE_FLT_{NONE,CONTAINS,ENDSWITH,STARTSWITH}
* Change fstree signatureJoseph Hunkeler2020-01-221-3/+3
| | | | | Change strstr_array return type to char* Re-add and reorder a few prototypes in spm.h
* Groundhog day 2Joseph Hunkeler2020-01-221-0/+1
|
* Handle realpath() error when string is NULLJoseph Hunkeler2020-01-141-0/+5
|
* Sanitize inputs BEFORE constructing a command stringJoseph Hunkeler2019-12-311-2/+4
|
* FixesJoseph Hunkeler2019-12-301-1/+1
| | | | | | | * Verbosity++ * If no requirements are present do not to report we are installing some * Redirect all shell output to stderr (need a better way) * implemented file_is_binexec() to avoid running patchelf on generic data files
* Fix inane compiler warningsJoseph Hunkeler2019-12-301-5/+4
| | | | | | * fix rpath_set * add rpath_autoset * add internal command "rpath_set"
* Minor fixes:Joseph Hunkeler2019-12-291-10/+10
| | | | | | * size_t in place of int * Moved some variables closer to their execution scope * Add some error checks
* Documentation (and stubs)Joseph Hunkeler2019-12-281-0/+36
|
* Fixes:Joseph Hunkeler2019-12-281-1/+4
| | | | | | | * doxygen config * doxygen @file directives * corrected stupid strip() implemention * corrected strip usage by config parser. wrong pointer.
* Started work on build helper functionsJoseph Hunkeler2019-12-281-0/+25
|
* Version matching and package searchingJoseph Hunkeler2019-12-261-0/+24
|
* Add expandpath()Joseph Hunkeler2019-12-201-0/+74
|
* Refactor project structureJoseph Hunkeler2019-12-181-0/+264