aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* General fixes (#149)HEAD1.7.1masterJoseph Hunkeler29 hours5-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix missing LF * Return when item is NULL * Explicitly state error condition * strlist_contains: Allow index result argument to be NULL * BUGFIX: strlist_contains now uses strstr instead of strcmp * The match was never intended to be exact * BUGFIX: log_msgv now prints a LF to the same stream as the message * BUGFIX: env_manipulate_pathstr PM_ONCE logic did opposite of what was intended * When strstr finds the path in the system path, it's supposed to free the new system path and exit. In this case it was freeing the path when the path wasn't found that lead to several instances of PATH not being updated correctly * Free result when shell_output fails * join: Fix segfault on memory error * join_ex: Fix leak on memory error * Initialize installer_url and python_override_version to zero * Remove redundant calls to memset
* Always display information about docker even if its not available (#144)Joseph Hunkeler30 hours1-8/+25
| | | * Update/add error messages indicating why docker checks failed
* Micromamba improvement (#148)1.7.0Joseph Hunkeler5 days7-19/+157
| | | | | | | | | | | | | | | | | | | | | * Update micromamba installation logic * Split installation from micromamba() into micromamba_install() * Return -1 when micromamba cannot be installed * Add stasis.ini option "indexer.micromamba_download_url" * Add global variable micromamba_download_url * The installation function attempts two known-good URLs by default * * Add indexer arugment '--micromamba-download-url' * Add is_file_compressed() function to utils * Call micromamba_install() from tests * Add space in usage statement * Fix usage output when option array contains arguments without short options * Add --micromamba-download-url to README.md
* Safe strings, finally (#145)Joseph Hunkeler2026-06-0224-249/+184
| | | | | | | | * Add string copy and catonate replacements * safe_strncpy * safe_strncat * Replace string functions * gbo.ini: Update tweakwcs to 0.9.0 * generic.ini: Update tweakwcs to 0.9.0
* Replace escape sequence '\e' with '\x1b' (portable)Joseph Hunkeler2026-05-121-6/+6
|
* Replace __FUNCTION__ with __func__ (portable)Joseph Hunkeler2026-05-121-1/+1
|
* Replace void pointer with pointer to tplfunc_frame structureJoseph Hunkeler2026-05-124-13/+16
|
* Remove redundant __FUNCTION__Joseph Hunkeler2026-05-121-3/+3
|
* Placate FORTIFY_SOURCE warningJoseph Hunkeler2026-05-121-1/+3
| | | | * The log_root in almost every circumstance will be able to handle the extra slash chracter. It complains because log_file and log_path are both sizeof PATH_MAX
* Usable lines denote the number of entriesJoseph Hunkeler2026-05-121-3/+6
| | | | | * reduce complexity * 'x' should not overflow
* One argument for error message stringJoseph Hunkeler2026-05-121-2/+2
|
* Remove linefeed from debug messageJoseph Hunkeler2026-05-121-1/+1
|
* Missing temp file is a warning, not an errorJoseph Hunkeler2026-05-121-1/+1
|
* free result on errorJoseph Hunkeler2026-05-121-0/+1
|
* Use log_print_error instead of SYSERRORJoseph Hunkeler2026-05-121-1/+1
| | | | * Add comment so I don't accidentally do it again
* give a better idea of which munmap failedJoseph Hunkeler2026-05-121-2/+2
|
* make dep_status constantJoseph Hunkeler2026-05-121-1/+1
|
* if conda fails, returnJoseph Hunkeler2026-05-121-2/+10
|
* when no spec is present use the package name insteadJoseph Hunkeler2026-05-121-4/+8
|
* remove linefeed from debug messageJoseph Hunkeler2026-05-121-1/+1
|
* free platform array on errorJoseph Hunkeler2026-05-121-0/+3
|
* Remove linefeed from errorJoseph Hunkeler2026-05-121-1/+1
|
* Blank warning as new lineJoseph Hunkeler2026-05-121-1/+2
|
* Give log messages variable verbosityJoseph Hunkeler2026-05-111-7/+26
| | | | | | * WARN = Show only the preface and message * INFO = Show preface, function, and message * DEBUG = Show preface, source file, line number, function, and message
* Remove linefeed from warning messageJoseph Hunkeler2026-05-111-1/+1
|
* The time has comeJoseph Hunkeler2026-05-111-1/+1
| | | | * Dump the pip log on error
* Remove check for DEBUG defineJoseph Hunkeler2026-05-111-26/+14
|
* Handle error for mapping poolJoseph Hunkeler2026-05-111-0/+4
|
* Rename status to child_status to better clarify what we're looking atJoseph Hunkeler2026-05-111-12/+12
|
* Change raw fprintf to SYSERRORJoseph Hunkeler2026-05-111-1/+0
|
* Allocate heap instead of mmapping the task's command stringJoseph Hunkeler2026-05-111-8/+12
|
* Use semaphore to lock the child process up to the point of execvpJoseph Hunkeler2026-05-111-0/+4
|
* Close all file descriptors in child process, except STDIN, STDOUT, STDERR.Joseph Hunkeler2026-05-111-3/+14
| | | | * Rename fd to redirect so I can remember why this is here
* Update macroJoseph Hunkeler2026-05-111-1/+1
|
* Add debug outputJoseph Hunkeler2026-05-111-0/+8
|
* terminate stringsJoseph Hunkeler2026-05-111-1/+3
|
* terminate platform string after copyJoseph Hunkeler2026-05-111-0/+2
|
* init: clean up on errorJoseph Hunkeler2026-05-111-2/+3
|
* Move center_text function into utils.c/utils.hJoseph Hunkeler2026-05-112-0/+34
| | | | | * Remove 'v' prefix * Print version the same way in the indexer
* return INISection on initJoseph Hunkeler2026-05-111-2/+3
|
* strlist: check return value of strlist_item before using itJoseph Hunkeler2026-05-111-17/+98
|
* wheel_package: fix leak on failureJoseph Hunkeler2026-05-111-11/+25
|
* wheel_package_free: free record arrayJoseph Hunkeler2026-05-111-1/+1
|
* wheel_package_free: fix NULL dereference in provides_extra loopJoseph Hunkeler2026-05-111-6/+7
|
* wheel_package_free: allow pkg to be NULLJoseph Hunkeler2026-05-111-0/+3
|
* wheel_metadata_free: allow meta to be NULLJoseph Hunkeler2026-05-111-0/+3
|
* wheel_parse_metadata: fix sizeofJoseph Hunkeler2026-05-111-1/+1
|
* wheel_parse_metadata: return on errorJoseph Hunkeler2026-05-111-0/+4
|
* add non_format_len() functionJoseph Hunkeler2026-05-112-0/+27
|
* fix_tox_conf: close file handles and allocations correctlyJoseph Hunkeler2026-05-111-1/+8
|