aboutsummaryrefslogtreecommitdiff
path: root/src/str.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor project: build/install libspm[_static.a].so to make unit testing ↵Joseph Hunkeler2020-03-181-699/+0
| | | | possible
* Fix endswith() not working correctlyJoseph Hunkeler2020-03-171-3/+16
|
* Bug fixes:Joseph Hunkeler2020-03-031-6/+9
| | | | | | | | * Allocate argv array with a character pointer, not just a byte (whoops) * Removed unneeded cast * Allocate enough memory for the output string * free() argv's resources * [l]strip() now strips blanks AND whitespaces from strings
* Simplify startswith() and endswidth() calls to avoid looking at APIJoseph Hunkeler2020-03-021-7/+7
|
* Add join_ex() [simplified join() function]Joseph Hunkeler2020-02-281-0/+59
|
* Multiple things:Joseph Hunkeler2020-02-261-0/+24
| | | | | | | | * 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
* Fix invalid array access on short stringsJoseph Hunkeler2020-02-251-3/+9
|
* Refactor continues:Joseph Hunkeler2020-02-171-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
* Refactor project structure:Joseph Hunkeler2020-02-111-0/+592
* Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header