aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes to ini_write() behavior:Joseph Hunkeler2024-04-023-9/+26
| | | | | | * Caller can choose to dump raw unmodified key/value pairs, or render all values through the template engine * Fixes spurious line feeds injected into the output stream * Uses LINE_SEP instead of "\n"
* Fix replace_text*() functionsJoseph Hunkeler2024-04-022-32/+78
| | | | | * Now return an error code * Completely rewrote replace_text()
* Lock output behind DEBUG defineJoseph Hunkeler2024-04-022-1/+14
|
* Rebrand to OMCJoseph Hunkeler2024-03-261-3/+3
|
* Remove nonsense codeJoseph Hunkeler2024-03-251-2/+1
| | | | * Kill dangling pointer
* Close handleJoseph Hunkeler2024-03-251-0/+1
|
* Add error handler for system.platformJoseph Hunkeler2024-03-241-1/+5
|
* Move deliver_init_tmpdir() next to path_store() call to clarify what is ↵Joseph Hunkeler2024-03-241-8/+9
| | | | happening to tmpdir
* Fix up section->data reallocJoseph Hunkeler2024-03-241-4/+17
| | | | * Add error handling
* Fix condition that ruined sptr.Joseph Hunkeler2024-03-241-6/+8
| | | | * Pass temporary pointer to strsep
* Comment branchJoseph Hunkeler2024-03-241-2/+2
|
* Short-circuit on zero-length str argumentJoseph Hunkeler2024-03-241-0/+2
|
* Fix realloc error handlingJoseph Hunkeler2024-03-241-1/+2
|
* Fix up result [de]allocation in fix_tox_confJoseph Hunkeler2024-03-241-4/+4
|
* Error messagesJoseph Hunkeler2024-03-222-6/+4
|
* Use array notation instead of pure pointersJoseph Hunkeler2024-03-221-13/+16
| | | | | * The compiler was convinced pos could be NULL but I found no such issue in the code. * Accessing by index satisfies whatever GCC thinks was happening here.
* Fix bad reallocJoseph Hunkeler2024-03-221-1/+9
| | | | * Tests temporary pointer instead of blindly replacing the original
* Consolidate pointer assignment to if-statementJoseph Hunkeler2024-03-222-6/+3
| | | | * Easier to see what's happening. Nothing more.
* Replace free() with guard_* macrosJoseph Hunkeler2024-03-223-6/+10
|
* Remove unused pointerJoseph Hunkeler2024-03-221-5/+0
|
* Fix realloc error handlingJoseph Hunkeler2024-03-221-1/+2
|
* Bugfix in split()Joseph Hunkeler2024-03-221-4/+0
| | | | * On error sptr is not longer indirectly free'd.
* Duplicate keys and values instead of copying their pointers.Joseph Hunkeler2024-03-221-15/+31
| | | | * ini_open uses the stack instead of malloc
* Fix size of realloc'd dataJoseph Hunkeler2024-03-221-6/+12
| | | | * Fix up error handling for relloc'd data
* Free tempfile bufferJoseph Hunkeler2024-03-221-1/+3
|
* Encapsulate the tox.ini generation.Joseph Hunkeler2024-03-221-8/+8
| | | | * This avoids telling the user we're about to modify the tox.ini if there's no real work to be done.
* Free resources on errorJoseph Hunkeler2024-03-221-4/+9
| | | | * TODO: Use a goto for this one.
* Increase command string size.Joseph Hunkeler2024-03-221-1/+1
| | | | * OMC_BUFSIZ should be long enough to accommodate larger than normal paths.
* Return on error immediately to avoid an invalid readJoseph Hunkeler2024-03-221-1/+0
|
* Remove the user-facing "${VAR}" notation.Joseph Hunkeler2024-03-221-10/+14
| | | | * runtime_* functions will continue to use this functionality in internally to support strings such "PATH=/example.bin:${PATH}"
* Free more members from the delivery contextJoseph Hunkeler2024-03-221-0/+4
| | | | | | | * Delivery.storage.output_dir * Delivery.storage.build_docker_dir * Delivery.deploy.jfrog[n].repo * Delivery.deploy.jfrog[n].dest
* Dynamically allocate Delivery.system.platform array.Joseph Hunkeler2024-03-222-1/+6
| | | | * This avoids compiler warnings about passing the address to a stack-allocated chunk of member in tpl_register.
* Remove split_free() functionJoseph Hunkeler2024-03-222-13/+1
|
* Use GENERIC_ARRAY_FREE instead of split_free()Joseph Hunkeler2024-03-225-11/+11
|
* Add GENERIC_ARRAY_FREE macro to avoid code duplications when freeing ↵Joseph Hunkeler2024-03-221-0/+6
| | | | character arrays
* Make SYSERROR macro act more like perror, and allow extra argumentsJoseph Hunkeler2024-03-221-1/+4
|
* Remove unused pointer to the caller runtime environment. Unused.Joseph Hunkeler2024-03-221-1/+1
|
* Populate the strlist returned by delivery_build_wheels so we can actually ↵Joseph Hunkeler2024-03-221-2/+7
| | | | | | free the array. Unused for now.
* Remove redundant free of config_inputJoseph Hunkeler2024-03-221-1/+0
|
* Simplify environment name generation.Joseph Hunkeler2024-03-221-2/+3
|
* Frees config_input path after its consumed by ini_openJoseph Hunkeler2024-03-221-0/+1
|
* Zero python_override_version before useJoseph Hunkeler2024-03-221-0/+2
|
* Remove redundant free of globals.sysconfdirJoseph Hunkeler2024-03-221-1/+0
|
* Free more dangling resourcesJoseph Hunkeler2024-03-221-0/+1
| | | | | * Delivery.meta.based_on * Delivery.storage.results_dir
* Free more dangling resourcesJoseph Hunkeler2024-03-221-0/+1
| | | | | * Delivery.meta.based_on * Delivery.storage.results_dir
* Move collapse_whitespace to utils.c / utils.hJoseph Hunkeler2024-03-223-11/+27
|
* Remove commented codeJoseph Hunkeler2024-03-221-1/+0
|
* Add missing cleanupJoseph Hunkeler2024-03-221-0/+1
| | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation
* Add missing cleanupJoseph Hunkeler2024-03-182-2/+5
| | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation
* Update README.mdJoseph Hunkeler2024-03-141-27/+30
|