Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Changes to ini_write() behavior: | Joseph Hunkeler | 2024-04-02 | 3 | -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*() functions | Joseph Hunkeler | 2024-04-02 | 2 | -32/+78 | |
| | | | | | * Now return an error code * Completely rewrote replace_text() | |||||
* | Lock output behind DEBUG define | Joseph Hunkeler | 2024-04-02 | 2 | -1/+14 | |
| | ||||||
* | Rebrand to OMC | Joseph Hunkeler | 2024-03-26 | 1 | -3/+3 | |
| | ||||||
* | Remove nonsense code | Joseph Hunkeler | 2024-03-25 | 1 | -2/+1 | |
| | | | | * Kill dangling pointer | |||||
* | Close handle | Joseph Hunkeler | 2024-03-25 | 1 | -0/+1 | |
| | ||||||
* | Add error handler for system.platform | Joseph Hunkeler | 2024-03-24 | 1 | -1/+5 | |
| | ||||||
* | Move deliver_init_tmpdir() next to path_store() call to clarify what is ↵ | Joseph Hunkeler | 2024-03-24 | 1 | -8/+9 | |
| | | | | happening to tmpdir | |||||
* | Fix up section->data realloc | Joseph Hunkeler | 2024-03-24 | 1 | -4/+17 | |
| | | | | * Add error handling | |||||
* | Fix condition that ruined sptr. | Joseph Hunkeler | 2024-03-24 | 1 | -6/+8 | |
| | | | | * Pass temporary pointer to strsep | |||||
* | Comment branch | Joseph Hunkeler | 2024-03-24 | 1 | -2/+2 | |
| | ||||||
* | Short-circuit on zero-length str argument | Joseph Hunkeler | 2024-03-24 | 1 | -0/+2 | |
| | ||||||
* | Fix realloc error handling | Joseph Hunkeler | 2024-03-24 | 1 | -1/+2 | |
| | ||||||
* | Fix up result [de]allocation in fix_tox_conf | Joseph Hunkeler | 2024-03-24 | 1 | -4/+4 | |
| | ||||||
* | Error messages | Joseph Hunkeler | 2024-03-22 | 2 | -6/+4 | |
| | ||||||
* | Use array notation instead of pure pointers | Joseph Hunkeler | 2024-03-22 | 1 | -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 realloc | Joseph Hunkeler | 2024-03-22 | 1 | -1/+9 | |
| | | | | * Tests temporary pointer instead of blindly replacing the original | |||||
* | Consolidate pointer assignment to if-statement | Joseph Hunkeler | 2024-03-22 | 2 | -6/+3 | |
| | | | | * Easier to see what's happening. Nothing more. | |||||
* | Replace free() with guard_* macros | Joseph Hunkeler | 2024-03-22 | 3 | -6/+10 | |
| | ||||||
* | Remove unused pointer | Joseph Hunkeler | 2024-03-22 | 1 | -5/+0 | |
| | ||||||
* | Fix realloc error handling | Joseph Hunkeler | 2024-03-22 | 1 | -1/+2 | |
| | ||||||
* | Bugfix in split() | Joseph Hunkeler | 2024-03-22 | 1 | -4/+0 | |
| | | | | * On error sptr is not longer indirectly free'd. | |||||
* | Duplicate keys and values instead of copying their pointers. | Joseph Hunkeler | 2024-03-22 | 1 | -15/+31 | |
| | | | | * ini_open uses the stack instead of malloc | |||||
* | Fix size of realloc'd data | Joseph Hunkeler | 2024-03-22 | 1 | -6/+12 | |
| | | | | * Fix up error handling for relloc'd data | |||||
* | Free tempfile buffer | Joseph Hunkeler | 2024-03-22 | 1 | -1/+3 | |
| | ||||||
* | Encapsulate the tox.ini generation. | Joseph Hunkeler | 2024-03-22 | 1 | -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 error | Joseph Hunkeler | 2024-03-22 | 1 | -4/+9 | |
| | | | | * TODO: Use a goto for this one. | |||||
* | Increase command string size. | Joseph Hunkeler | 2024-03-22 | 1 | -1/+1 | |
| | | | | * OMC_BUFSIZ should be long enough to accommodate larger than normal paths. | |||||
* | Return on error immediately to avoid an invalid read | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Remove the user-facing "${VAR}" notation. | Joseph Hunkeler | 2024-03-22 | 1 | -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 context | Joseph Hunkeler | 2024-03-22 | 1 | -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 Hunkeler | 2024-03-22 | 2 | -1/+6 | |
| | | | | * This avoids compiler warnings about passing the address to a stack-allocated chunk of member in tpl_register. | |||||
* | Remove split_free() function | Joseph Hunkeler | 2024-03-22 | 2 | -13/+1 | |
| | ||||||
* | Use GENERIC_ARRAY_FREE instead of split_free() | Joseph Hunkeler | 2024-03-22 | 5 | -11/+11 | |
| | ||||||
* | Add GENERIC_ARRAY_FREE macro to avoid code duplications when freeing ↵ | Joseph Hunkeler | 2024-03-22 | 1 | -0/+6 | |
| | | | | character arrays | |||||
* | Make SYSERROR macro act more like perror, and allow extra arguments | Joseph Hunkeler | 2024-03-22 | 1 | -1/+4 | |
| | ||||||
* | Remove unused pointer to the caller runtime environment. Unused. | Joseph Hunkeler | 2024-03-22 | 1 | -1/+1 | |
| | ||||||
* | Populate the strlist returned by delivery_build_wheels so we can actually ↵ | Joseph Hunkeler | 2024-03-22 | 1 | -2/+7 | |
| | | | | | | free the array. Unused for now. | |||||
* | Remove redundant free of config_input | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Simplify environment name generation. | Joseph Hunkeler | 2024-03-22 | 1 | -2/+3 | |
| | ||||||
* | Frees config_input path after its consumed by ini_open | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | ||||||
* | Zero python_override_version before use | Joseph Hunkeler | 2024-03-22 | 1 | -0/+2 | |
| | ||||||
* | Remove redundant free of globals.sysconfdir | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Free more dangling resources | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Delivery.meta.based_on * Delivery.storage.results_dir | |||||
* | Free more dangling resources | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Delivery.meta.based_on * Delivery.storage.results_dir | |||||
* | Move collapse_whitespace to utils.c / utils.h | Joseph Hunkeler | 2024-03-22 | 3 | -11/+27 | |
| | ||||||
* | Remove commented code | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Add missing cleanup | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation | |||||
* | Add missing cleanup | Joseph Hunkeler | 2024-03-18 | 2 | -2/+5 | |
| | | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation | |||||
* | Update README.md | Joseph Hunkeler | 2024-03-14 | 1 | -27/+30 | |
| |