summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-10-23Add path APIDavid Robillard15-6/+2523
2022-10-23Add string view APIDavid Robillard7-5/+136
2022-10-23Split up platform sourcesDavid Robillard8-246/+268
This puts more onus on the build system to do things properly, but it's still easy enough to build, even manually: all the files in the appropriate system subdirectory just need to be included in the build. Otherwise, the several nested levels of preprocessor conditionals get confusing, and clang-format doesn't format code properly.
2022-10-23Split reference documentation up into groups and add global headerDavid Robillard15-60/+127
The "global" header just provides a convenient place to define the group structure of the library. Applications are better off using the individual headers, but this one will work fine if you don't care about build times or precise dependencies.
2022-10-23Fix documentation markup issuesDavid Robillard1-2/+2
2022-10-23Add missing documentationDavid Robillard4-20/+21
2022-10-21Factor out public declaration scope markersDavid Robillard12-60/+34
2022-10-21Split up common headerDavid Robillard25-69/+104
2022-10-21Hide errno utility functionsDavid Robillard11-78/+81
2022-10-20Fix mismatched function typesDavid Robillard2-4/+1
2022-10-20Hide thread implementationDavid Robillard3-53/+72
2022-10-20Fix doc commentsDavid Robillard11-62/+64
2022-10-18Add missing pure function attributeDavid Robillard1-0/+1
2022-10-18Fix unused return value warningDavid Robillard1-3/+1
Kind of annoying since this adds an untested branch, but oh well.
2022-10-18Use 0BSD for trivial "public domain intent" thingsDavid Robillard16-135/+26
2022-10-18Add stricter test for warnings in public headersDavid Robillard3-2/+69
2022-10-14Simplify clang-tidy configurationDavid Robillard4-26/+4
2022-10-14Only build semaphore code if threads are availableDavid Robillard1-1/+6
2022-10-14Clean up platform configuration checksDavid Robillard1-26/+22
2022-10-14Fix fallback configuration on older MacOS versionsDavid Robillard1-1/+1
2022-10-14Fix zix_sem_timed_wait() interval calculationDavid Robillard2-1/+10
2022-10-09Add Fedora row to CIDavid Robillard1-0/+9
2022-10-09Fix off-by-one error in assertionDavid Robillard1-1/+1
2022-10-07Override pkg-config dependency within mesonDavid Robillard1-0/+3
2022-09-08Only run autoship and reuse tests in strict modeDavid Robillard2-16/+22
2022-09-02Improve test coverageDavid Robillard3-5/+7
2022-09-02Improve zix_ring_mlock() return statusDavid Robillard1-11/+16
2022-09-02Factor out POSIX-style return patternDavid Robillard3-7/+17
2022-09-01Make glib a system dependencyDavid Robillard1-1/+2
This avoids warnings from some compilers, and clang-tidy.
2022-09-01Remove redundant thread dependencyDavid Robillard1-1/+0
2022-09-01Simplify thread and semaphore status codesDavid Robillard7-11/+18
2022-08-22Make COPYING a regular text file and link to it in LICENSESDavid Robillard2-14/+14
This just happens to be the way that both `licensee` (and therefore Github) and `reuse` handle correctly.
2022-08-22Use standard ISC license textDavid Robillard1-7/+7
I'm not sure where the disclaimer variant that starts with "THIS" came from (although it is better that way), but this one that starts with "THE" is the standard text which is recognized by tools like `licensee` (and therefore Github) as a perfect match. There are no other changes other than whitespace.
2022-08-19Avoid unused parameter warningDavid Robillard1-0/+1
2022-08-19Avoid mixing signed and unsigned integersDavid Robillard6-9/+9
2022-08-19Simplify errno handlingDavid Robillard4-23/+21
2022-08-19Move sem implementation out of headerDavid Robillard7-186/+284
This avoids having platform conditionals in public headers, which causes build problems for dependants.
2022-08-18Add return status to zix_ring_mlock()David Robillard2-5/+6
2022-08-18Relax test timingDavid Robillard1-1/+1
2022-08-18Fix conversion warning on 32-bit ARMDavid Robillard1-2/+2
2022-08-18Add zix_sem_timed_wait()David Robillard3-2/+81
2022-08-18Fix semaphore error handlingDavid Robillard7-43/+96
Note that existing code which uses zix_sem_try_wait() may still compile against this change, but be incorrect!
2022-08-18Fix thread function attributes on WindowsDavid Robillard4-13/+7
2022-08-18Reduce tree test complexityDavid Robillard1-104/+77
2022-08-18Improve test coverageDavid Robillard3-10/+99
2022-08-18Fix or remove non-portable features in thread APIDavid Robillard6-30/+98
Thread function return values are inconsistent between nearly every threading API out there. So, just ignore them entirely, and provide a typedef and sentinel value so user code can be portable.
2022-08-18Factor out converting errno codes to ZixStatusDavid Robillard5-14/+69
2022-08-18Reduce zix_tree_insert() complexityDavid Robillard1-12/+6
2022-08-18Reduce variable scope and mutabilityDavid Robillard1-7/+6
2022-08-18Remove debug printing from treeDavid Robillard2-62/+6