aboutsummaryrefslogtreecommitdiff
path: root/src/manifest.c
Commit message (Collapse)AuthorAgeFilesLines
* Multiple things:Joseph Hunkeler2020-02-261-1/+1
| | | | | | | | * 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 comparison function, refactor definesJoseph Hunkeler2020-02-241-18/+35
|
* Metadata:Joseph Hunkeler2020-02-201-3/+1
| | | | | | | * Add .SPM_FILELIST * Add .SPM_DESCRIPTOR * Add generators for both to spmbuild Add new metadata to runtime and arrays
* Rework dependency scanning:Joseph Hunkeler2020-02-181-30/+48
| | | | | | | | | * 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-13/+27
| | | | | | | | | * 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-2/+94
| | | | * Initial support for multiple manifests at once
* Begin refactoring to support multiple manifests:Joseph Hunkeler2020-02-131-2/+8
| | | | | * Add more commands useful for building packages * Fix mkmanifest_interface not looking for the correct number of arguments
* Transition away from find_packageJoseph Hunkeler2020-02-041-3/+26
|
* SEAD - memory leaksJoseph Hunkeler2020-01-301-3/+20
|
* Fix more memory leaks:Joseph Hunkeler2020-01-281-8/+14
| | | | | Add ability to free ManifestPackage structure Fix bug: manifest_search pointer got free()ed accidentally.
* Remove md5sum functionJoseph Hunkeler2020-01-281-1/+1
| | | | * Fix a few glaring memory leaks
* Bug fixes:Joseph Hunkeler2020-01-271-5/+14
| | | | | | * Fix buffer overflow issue with SHA256 buffer * Add missing origin to manifest * Fix missing manifest download
* Fix some buffer overflows, add a few moreJoseph Hunkeler2020-01-271-10/+35
|
* Begin hooking up version spec function(s) to installationJoseph Hunkeler2020-01-241-19/+34
|
* fstree() now accepts filter modes ↵Joseph Hunkeler2020-01-231-5/+2
| | | | SPM_FSTREE_FLT_{NONE,CONTAINS,ENDSWITH,STARTSWITH}
* Change fstree signatureJoseph Hunkeler2020-01-221-1/+5
| | | | | Change strstr_array return type to char* Re-add and reorder a few prototypes in spm.h
* Groundhog day 2Joseph Hunkeler2020-01-221-2/+15
|
* groundhog dayJoseph Hunkeler2020-01-211-22/+170
|
* Fix inane compiler warningsJoseph Hunkeler2019-12-301-5/+5
| | | | | | * 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-13/+21
|
* Fixes:Joseph Hunkeler2019-12-281-3/+27
| | | | | | | * doxygen config * doxygen @file directives * corrected stupid strip() implemention * corrected strip usage by config parser. wrong pointer.
* Version matching and package searchingJoseph Hunkeler2019-12-261-10/+39
|
* Remove leftover range checkJoseph Hunkeler2019-12-231-1/+1
|
* Implement basic package manifestJoseph Hunkeler2019-12-211-38/+119
|
* Add manifest_generate()Joseph Hunkeler2019-12-201-0/+92
|
* Add expandpath()Joseph Hunkeler2019-12-201-0/+4