summaryrefslogtreecommitdiff
path: root/libmisc
AgeCommit message (Collapse)Author
8 dayslibmisc: test_obj_nest: Don't use ssize_tLuke T. Shumaker
I like to grep for `ssize` because I have decided that using ssize_t is an anti-pattern, and this was an annoying false-positive.
8 dayslibmisc: assert.h: Disable -Wtype-limits inside of assert()Luke T. Shumaker
10 daysMerge remote-tracking branch 'origin/main' into lukeshu/fix-obj-boxLuke T. Shumaker
10 dayslibmisc: obj.h: Use LM_DEFAPPEND() to implement magic LO_BOX()Luke T. Shumaker
10 dayslibmisc: obj.h: Fuss with whitespaceLuke T. Shumaker
10 dayslibmisc: obj.h: Use LM_DEFAPPEND() to have lo_box_*_as_*() be macrosLuke T. Shumaker
10 dayslibmisc: obj.h: Fix boxing from one interface to anotherLuke T. Shumaker
11 dayslibmisc: Add error.hLuke T. Shumaker
11 daysPrune #includesLuke T. Shumaker
2025-06-02libmisc: obj.h: Use LM_DEFAPPEND() to implement magic LO_BOX()Luke T. Shumaker
2025-06-02libmisc: macro.h, wrap-cc: Implement LM_DEFAPPENDLuke T. Shumaker
2025-06-01Add a (for-now noop) wrapper around cppLuke T. Shumaker
2025-06-01no-integrated-cppLuke T. Shumaker
2025-05-31libmisc: obj.h: Use LM_FORCE_SEMICOLONLuke T. Shumaker
2025-05-31libmisc: macro.h: Clearer section divider commentsLuke T. Shumaker
2025-05-30libmisc: fmt.h: Add fmt_print2() and fmt_asprint()Luke T. Shumaker
2025-05-28Get test coverage of fmt.c and utf8.c up; fix found bugsLuke T. Shumaker
2025-05-27libmisc: fmt: Add hbyte and hmemLuke T. Shumaker
2025-05-26No more (static inline) function bodies in headersLuke T. Shumaker
2025-05-17Tidy some whitespaceLuke T. Shumaker
2025-05-17Fix some funny indentsLuke T. Shumaker
2025-05-17Sort+align #includesLuke T. Shumaker
2025-05-17Pull UTF-8 decoding into libmisc/utf8.cLuke T. Shumaker
2025-05-15Begone with the printf variants of the log functionsLuke T. Shumaker
2025-05-15libmisc: Remove uses of printfLuke T. Shumaker
2025-05-15libmisc: log.h: Add support for libmisc/fmt.h printingLuke T. Shumaker
2025-05-15libmisc: Invent fmt.h to replace printfLuke T. Shumaker
2025-05-15libmisc: _intercept.h: Have __lm_printf return size_t instead of intLuke T. Shumaker
2025-05-15libmisc: macro.h: Add LM_FOREACH_PARAMLuke T. Shumaker
2025-05-15libmisc: macro.h: Tidy and test LM_FOREACH_TUPLELuke T. Shumaker
2025-05-12More GCC 15 fixesLuke T. Shumaker
2025-05-12libmisc: macro.h: Add LM_PARTIAL_SWITCH, use itLuke T. Shumaker
2025-05-06Merge libobj into libmiscLuke T. Shumaker
2025-05-06Drop -fplan9-extensionsLuke T. Shumaker
2025-05-06Use static_assert to force semicolons, instead of empty structsLuke T. Shumaker
2025-05-06Use C23Luke T. Shumaker
This gives us: - [[maybe_unused]] instead of [[gnu::unused]] - bool/true/false are predefined, so no need for <stdbool.h>
2025-05-06libmisc: log.h: Add a "log_" prefix to errorf/infof/debugfLuke T. Shumaker
2025-04-18Tidy `do { ... } while (0)` macrosLuke T. Shumaker
2025-04-18libmisc: LM_ARRAY_LEN: Compiler-error if not arrayLuke T. Shumaker
2025-04-15libmisc: Add alloc.h to help detect wrong alloc sizesLuke T. Shumaker
Lo and behold, there was a mistake in chan.c.
2025-04-15libmisc: Rework linkedlist to be non-intrusiveLuke T. Shumaker
2025-04-15libmisc: Tidy linkedlist.hLuke T. Shumaker
2025-04-12Replace lib9p map with a libmisc heap-allocated mapLuke T. Shumaker
Turns out using static buffers makes it hard to detect "use-after-free" problems and leaks.
2025-04-11libmisc: LM_CAST_FIELD_TO_STRUCT: Allow the pointer to be NULLLuke T. Shumaker
2025-04-11libmisc: Add LM_CAST_FIELD_TO_STRUCT, don't require lm_[ds]ll_node to be firstLuke T. Shumaker
2025-04-11Move the linkedlist to libmiscLuke T. Shumaker
2025-04-07fixup! SYSTEM headers don't get strict GCC checks, so change them to PUBLICLuke T. Shumaker
2025-04-07fixup! libobj, libmisc/private.h: Allow+force semicolonsLuke T. Shumaker
2025-04-05SYSTEM headers don't get strict GCC checks, so change them to PUBLICLuke T. Shumaker
2025-04-05libobj, libmisc/private.h: Allow+force semicolonsLuke T. Shumaker