]>
begriffs open source - libderp/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Joe Nelson [Sun, 28 Nov 2021 16:48:37 +0000 (10:48 -0600)]
bump version
Joe Nelson [Wed, 24 Nov 2021 19:03:38 +0000 (13:03 -0600)]
Handy wrappers for std lib functions
Joe Nelson [Mon, 14 Jun 2021 02:38:57 +0000 (21:38 -0500)]
Fix conformance with C99 7.1.3
Not even static functions are allowed to start with underscore.
Thanks to Reddit user oj002 for pointing this out.
Joe Nelson [Mon, 14 Jun 2021 02:15:40 +0000 (21:15 -0500)]
Fix tab/space mix
Joe Nelson [Sun, 13 Jun 2021 21:18:18 +0000 (16:18 -0500)]
Update readme for new link process
Joe Nelson [Sun, 13 Jun 2021 19:56:00 +0000 (14:56 -0500)]
Provide pkg-config file for static linking
The --static flag for pkg-config doesn't suffice, it merely includes
private libraries to be linked.
Joe Nelson [Sun, 13 Jun 2021 19:55:34 +0000 (14:55 -0500)]
Use relative path for library symlinks
Joe Nelson [Sun, 13 Jun 2021 16:41:46 +0000 (11:41 -0500)]
Split dev/use installers
Improve versioning too
Joe Nelson [Tue, 1 Jun 2021 03:00:43 +0000 (22:00 -0500)]
Update readme with linking instructions
Joe Nelson [Tue, 1 Jun 2021 01:56:36 +0000 (20:56 -0500)]
Library path is versioned, so SONAME needn't be
Joe Nelson [Tue, 1 Jun 2021 01:51:49 +0000 (20:51 -0500)]
Library version stored in one place
Joe Nelson [Mon, 31 May 2021 19:19:52 +0000 (14:19 -0500)]
More linker changes between Mac and Unix
Joe Nelson [Mon, 31 May 2021 16:41:22 +0000 (11:41 -0500)]
Set rpath in linked binaries
Joe Nelson [Sun, 30 May 2021 19:10:55 +0000 (14:10 -0500)]
Shellcheck warnings
Joe Nelson [Sun, 30 May 2021 19:06:31 +0000 (14:06 -0500)]
Use sed rather than m4 for rhel portability
Joe Nelson [Sun, 30 May 2021 18:16:19 +0000 (13:16 -0500)]
Revert version slip
Joe Nelson [Sun, 30 May 2021 18:15:41 +0000 (13:15 -0500)]
Remove relative path from Mach-O dylib
Joe Nelson [Sun, 30 May 2021 03:45:09 +0000 (22:45 -0500)]
WIP: installer
Joe Nelson [Sun, 30 May 2021 02:16:18 +0000 (21:16 -0500)]
Namespace header filenames
Joe Nelson [Fri, 21 May 2021 02:40:39 +0000 (21:40 -0500)]
Remove gcda during tests, not as part of make
It was hacky and nonportable in the makefile
Joe Nelson [Wed, 19 May 2021 04:46:15 +0000 (23:46 -0500)]
In-order treemap iterator
Joe Nelson [Wed, 19 May 2021 04:45:34 +0000 (23:45 -0500)]
Don't skip the first hashmap bucket
Joe Nelson [Tue, 18 May 2021 02:35:15 +0000 (21:35 -0500)]
Hide internals of hm_iter
Joe Nelson [Sat, 15 May 2021 21:47:03 +0000 (16:47 -0500)]
Adequate treemap test coverage
Joe Nelson [Thu, 13 May 2021 03:48:38 +0000 (22:48 -0500)]
Fix memory leak
Joe Nelson [Thu, 13 May 2021 03:25:43 +0000 (22:25 -0500)]
Treemap tests pass, but memory is leaking
Joe Nelson [Wed, 12 May 2021 02:39:00 +0000 (21:39 -0500)]
WIP: tm_remove()
Joe Nelson [Mon, 10 May 2021 03:02:36 +0000 (22:02 -0500)]
WIP: AA tree
Because RB trees are gross
Joe Nelson [Sat, 8 May 2021 19:33:30 +0000 (14:33 -0500)]
WIP: treemap
Red black tree
Joe Nelson [Mon, 3 May 2021 02:17:48 +0000 (21:17 -0500)]
Be sure iterator gets nothing on empty hash
Joe Nelson [Mon, 3 May 2021 01:49:05 +0000 (20:49 -0500)]
Hashmap iterator
Joe Nelson [Sun, 2 May 2021 18:59:00 +0000 (13:59 -0500)]
Cleaner return logic
Joe Nelson [Sun, 2 May 2021 02:52:12 +0000 (21:52 -0500)]
PIC libs need PIC objs
Joe Nelson [Sun, 2 May 2021 02:26:45 +0000 (21:26 -0500)]
Generate .a/.so
Joe Nelson [Sun, 2 May 2021 02:04:11 +0000 (21:04 -0500)]
Adequate hashmap test coverage
Joe Nelson [Sat, 1 May 2021 18:38:30 +0000 (13:38 -0500)]
Adequate list test coverage
Joe Nelson [Sat, 1 May 2021 16:19:20 +0000 (11:19 -0500)]
Adequate vector test coverage
Joe Nelson [Sat, 1 May 2021 15:50:17 +0000 (10:50 -0500)]
Allow multiple ASAN_OPTIONS in test scripts
Joe Nelson [Sat, 1 May 2021 15:44:19 +0000 (10:44 -0500)]
Exercise changing vector capacity
Joe Nelson [Fri, 30 Apr 2021 18:46:29 +0000 (13:46 -0500)]
Clean profiling data on rebuild
Prevents the error message, "Cannot merge previous GCDA file: mismatched
number of counters"
Joe Nelson [Fri, 30 Apr 2021 17:40:58 +0000 (12:40 -0500)]
Fix realloc logic
Joe Nelson [Wed, 28 Apr 2021 04:24:42 +0000 (23:24 -0500)]
Script to show test coverage
Joe Nelson [Tue, 27 Apr 2021 03:29:02 +0000 (22:29 -0500)]
Generate code coverage properly
Joe Nelson [Sun, 25 Apr 2021 21:23:54 +0000 (16:23 -0500)]
Add dep on common.h
Joe Nelson [Sun, 25 Apr 2021 21:19:42 +0000 (16:19 -0500)]
Readme
Joe Nelson [Sun, 25 Apr 2021 19:13:19 +0000 (14:13 -0500)]
Match numeric types
Joe Nelson [Sun, 25 Apr 2021 19:11:59 +0000 (14:11 -0500)]
Clean includes
Joe Nelson [Sun, 25 Apr 2021 19:00:14 +0000 (14:00 -0500)]
More leak tests
Joe Nelson [Sun, 25 Apr 2021 18:45:03 +0000 (13:45 -0500)]
Disable slower part of list CHECK
Joe Nelson [Sun, 25 Apr 2021 18:41:39 +0000 (13:41 -0500)]
Small fixes
Joe Nelson [Sun, 25 Apr 2021 18:31:45 +0000 (13:31 -0500)]
Fix memory leaks
Joe Nelson [Sat, 24 Apr 2021 18:49:20 +0000 (13:49 -0500)]
Hore hashmap tests
Joe Nelson [Sat, 24 Apr 2021 17:54:14 +0000 (12:54 -0500)]
Move macro
Joe Nelson [Sat, 24 Apr 2021 17:54:06 +0000 (12:54 -0500)]
Preliminary hashmap test passing
Joe Nelson [Sat, 24 Apr 2021 04:22:01 +0000 (23:22 -0500)]
Simplify quicksort
Joe Nelson [Sat, 24 Apr 2021 03:15:41 +0000 (22:15 -0500)]
WIP: quicksort
Joe Nelson [Sat, 24 Apr 2021 01:45:24 +0000 (20:45 -0500)]
WIP: pass auxiliary arg to comparator
Joe Nelson [Sun, 18 Apr 2021 02:45:31 +0000 (21:45 -0500)]
WIP: hashmap with memory leaks
Joe Nelson [Sat, 17 Apr 2021 03:10:12 +0000 (22:10 -0500)]
Test v_reserve_capacity properly
It fails by not reserving enough, not by necessarily returning zero.
Joe Nelson [Sat, 17 Apr 2021 03:07:47 +0000 (22:07 -0500)]
List find
Joe Nelson [Sat, 17 Apr 2021 02:08:43 +0000 (21:08 -0500)]
More tests
Joe Nelson [Fri, 16 Apr 2021 22:48:33 +0000 (17:48 -0500)]
List sorting and more
Joe Nelson [Fri, 16 Apr 2021 22:47:50 +0000 (17:47 -0500)]
Hide vector internals
Joe Nelson [Sat, 10 Apr 2021 04:57:29 +0000 (23:57 -0500)]
More logic for removing/clearing
Joe Nelson [Mon, 5 Apr 2021 03:47:17 +0000 (22:47 -0500)]
Initial list stuff
Joe Nelson [Mon, 5 Apr 2021 02:19:46 +0000 (21:19 -0500)]
Be less prissy about NULL
Joe Nelson [Sun, 4 Apr 2021 18:43:08 +0000 (13:43 -0500)]
Start list stuff
Joe Nelson [Sun, 4 Apr 2021 00:47:01 +0000 (19:47 -0500)]
Shave off another case
Joe Nelson [Sat, 3 Apr 2021 18:54:52 +0000 (13:54 -0500)]
v_reverse
Joe Nelson [Sat, 27 Mar 2021 18:06:49 +0000 (13:06 -0500)]
Rename conflicting "test" target in Makefile
POSIX Make doesn't allow me to mark test as .PHONY, and there's a
directory with that name which would confuse the freshness check.
Joe Nelson [Sat, 27 Mar 2021 18:03:41 +0000 (13:03 -0500)]
Remove phony clean target in Makefile
Shouldn't ever need to clean when Make knows the full set of
dependencies for each build variant.
Joe Nelson [Sat, 27 Mar 2021 17:59:55 +0000 (12:59 -0500)]
Remove binaries that snuck in
See, the derp is already strong
Joe Nelson [Sat, 27 Mar 2021 17:55:51 +0000 (12:55 -0500)]
Script to run test suite
Joe Nelson [Sat, 27 Mar 2021 17:00:58 +0000 (12:00 -0500)]
Tests aren't relevant in release variant
NDEBUG prevents the assertions from doing anything. So the default
make target is now "lib" and doesn't include tests.
Joe Nelson [Sat, 27 Mar 2021 16:59:55 +0000 (11:59 -0500)]
Let's be real
Joe Nelson [Sat, 27 Mar 2021 04:56:19 +0000 (23:56 -0500)]
Some tests
Joe Nelson [Fri, 26 Mar 2021 03:45:32 +0000 (22:45 -0500)]
Some missing null checks
Joe Nelson [Fri, 26 Mar 2021 03:31:56 +0000 (22:31 -0500)]
Set errno uniformly
Even when the return code allows the caller to determine
that they passed invalid arguments.
Joe Nelson [Fri, 26 Mar 2021 02:50:55 +0000 (21:50 -0500)]
Have v_remove operate on a single element
This way it can work like a generalized pop(), and the caller
can use/free the element as desired. Removing a range has no
clean way to return the elements to the caller, other than
packaging up the results into a new vector perhaps.
Later we could add a v_erase() that works on a range and frees
the elements, like the C++ vector::erase(). Or call it v_delete()
like Vectors in Ada.
Joe Nelson [Fri, 26 Mar 2021 01:52:30 +0000 (20:52 -0500)]
Deal with large allocations more consistently
This is kind of academic because it's unlikely that such huge amounts
of memory could ever actually be allocated. In fact, probably impossible
given sizeof(void*). However I want the numerical logic to be correct,
and we'll leave it to realloc() to determine failure.
Joe Nelson [Thu, 25 Mar 2021 04:07:22 +0000 (23:07 -0500)]
A little cleaner way to do invariant check
Joe Nelson [Thu, 25 Mar 2021 04:02:36 +0000 (23:02 -0500)]
More untested functions
Joe Nelson [Thu, 25 Mar 2021 03:33:53 +0000 (22:33 -0500)]
Keep on implementing
Joe Nelson [Thu, 25 Mar 2021 03:33:37 +0000 (22:33 -0500)]
Always check invariants in debug mode
Joe Nelson [Tue, 23 Mar 2021 04:29:11 +0000 (23:29 -0500)]
Start implementing
Joe Nelson [Tue, 23 Mar 2021 04:28:02 +0000 (23:28 -0500)]
Add const where possible
Joe Nelson [Mon, 22 Mar 2021 02:57:54 +0000 (21:57 -0500)]
Beginning with vector