# # ChangeLog for common/stdc in mainline # # Generated by Trac 1.6 # 2026-03-20T16:14:45Z Tue, 15 Apr 2025 18:53:31 GMT Jiří Zárevúcky [65bf084] * common/stdc/uchar.c (modified) * common/str.c (modified) Implement both str_decode() and mbrtoc32() using one function Tue, 15 Apr 2025 18:38:48 GMT Jiří Zárevúcky [f94a11f] * abi/include/_bits/mbstate_t.h (modified) * common/stdc/uchar.c (modified) * common/stdc/wchar.c (modified) Rename mbstate_t field to prevent confusion with continuation bytes Mon, 14 Apr 2025 11:23:38 GMT Jiří Zárevúcky [0600976] * common/stdc/uchar.c (modified) * common/str.c (modified) * uspace/lib/c/test/str.c (modified) Reject invalid non-shortest UTF-8 forms and fix some other issues in str Sun, 13 Apr 2025 19:33:48 GMT Jiří Zárevúcky [163e34c] * common/include/printf_core.h (modified) * common/printf/printf_core.c (modified) * common/stdc/snprintf.c (moved) * common/stdc/vsnprintf.c (moved) * kernel/generic/meson.build (modified) * kernel/generic/src/log/log.c (modified) * kernel/generic/src/printf/snprintf.c (deleted) * kernel/generic/src/printf/vprintf.c (modified) * kernel/generic/src/printf/vsnprintf.c (deleted) * uspace/lib/c/generic/io/asprintf.c (modified) * uspace/lib/c/generic/io/kio.c (modified) * uspace/lib/c/generic/io/vprintf.c (modified) * uspace/lib/c/generic/io/vsnprintf.c (deleted) * uspace/lib/c/include/stdio.h (modified) * uspace/lib/c/meson.build (modified) * uspace/lib/posix/src/stdio.c (modified) Actually convert the printf outputs everywhere Sun, 13 Apr 2025 12:54:10 GMT Jiří Zárevúcky [696b405] * abi/include/_bits/mbstate_t.h (moved) * abi/include/_bits/uchar.h (modified) * common/include/uchar.h (moved) * common/include/wchar.h (added) * common/stdc/uchar.c (added) * common/stdc/wchar.c (moved) * uspace/lib/c/meson.build (modified) * uspace/lib/c/test/main.c (modified) * uspace/lib/c/test/uchar.c (added) Implement standard character conversion functions from and ... Fri, 27 Oct 2023 17:53:21 GMT Jiří Zárevúcky [fdfb24e] * boot/arch/arm32/meson.build (modified) * boot/arch/arm64/meson.build (modified) * boot/arch/ia64/meson.build (modified) * boot/arch/mips32/meson.build (modified) * boot/arch/ppc32/meson.build (modified) * boot/arch/riscv64/meson.build (modified) * boot/arch/sparc64/meson.build (modified) * boot/generic/include/assert.h (moved) * boot/generic/include/errno.h (modified) * boot/generic/src/str.c (deleted) * common/include/ctype.h (moved) * common/include/str.h (moved) * common/include/str_error.h (moved) * common/stdc/ctype.c (moved) * common/str.c (moved) * common/str_error.c (moved) * common/strtol.c (moved) * kernel/generic/include/str.h (deleted) * kernel/generic/meson.build (modified) * kernel/generic/src/console/kconsole.c (modified) * kernel/generic/src/lib/str.c (deleted) * kernel/generic/src/lib/strtol.c (deleted) * kernel/generic/src/main/kinit.c (modified) * kernel/generic/src/mm/backend_user.c (modified) * kernel/generic/src/proc/program.c (modified) * uspace/lib/c/generic/str_error.c (deleted) * uspace/lib/c/meson.build (modified) * uspace/lib/posix/include/posix/ctype.h (modified) Deduplicate string related functions Fri, 27 Oct 2023 17:38:32 GMT Jiří Zárevúcky [44e8541] * boot/generic/include/stdlib.h (deleted) * common/include/bsearch.h (moved) * common/include/qsort.h (moved) * common/include/stdlib.h (moved) * common/stdc/bsearch.c (moved) * common/stdc/calloc.c (moved) * common/stdc/qsort.c (moved) * uspace/app/tester/mm/common.c (modified) * uspace/lib/c/generic/malloc.c (modified) * uspace/lib/c/include/malloc.h (modified) * uspace/lib/c/meson.build (modified) * uspace/lib/posix/include/posix/stdlib.h (modified) * uspace/lib/posix/src/stdio.c (modified) * uspace/lib/posix/src/time.c (modified) * uspace/lib/posix/src/unistd.c (modified) Move stdlib.h and some of its function into /common Fri, 27 Oct 2023 17:38:32 GMT Jiří Zárevúcky [b169619] * boot/arch/arm32/meson.build (modified) * boot/arch/arm32/src/main.c (modified) * boot/arch/arm64/meson.build (modified) * boot/arch/arm64/src/main.c (modified) * boot/arch/ia64/meson.build (modified) * boot/arch/ia64/src/main.c (modified) * boot/arch/mips32/meson.build (modified) * boot/arch/mips32/src/main.c (modified) * boot/arch/ppc32/meson.build (modified) * boot/arch/ppc32/src/main.c (modified) * boot/arch/riscv64/meson.build (modified) * boot/arch/sparc64/meson.build (modified) * boot/arch/sparc64/src/main.c (modified) * boot/genarch/src/ofw_tree.c (modified) * boot/generic/include/stdlib.h (added) * boot/generic/src/gzip.c (modified) * boot/generic/src/inflate.c (modified) * boot/generic/src/memstr.c (deleted) * boot/generic/src/payload.c (modified) * boot/meson.build (modified) * common/include/mem.h (moved) * common/stdc/cc.h (moved) * common/stdc/mem.c (moved) * kernel/arch/amd64/src/amd64.c (modified) * kernel/arch/amd64/src/pm.c (modified) * kernel/arch/arm32/src/ras.c (modified) * kernel/arch/ia32/src/ia32.c (modified) * kernel/arch/ia32/src/pm.c (modified) * kernel/arch/ia32/src/smp/smp.c (modified) * kernel/arch/ia64/src/cpu/cpu.c (modified) * kernel/arch/ia64/src/mm/vhpt.c (modified) * kernel/arch/mips32/src/mips32.c (modified) * kernel/arch/riscv64/src/riscv64.c (modified) * kernel/arch/sparc64/src/mm/sun4u/as.c (modified) * kernel/arch/sparc64/src/mm/sun4v/as.c (modified) * kernel/genarch/src/acpi/acpi.c (modified) * kernel/genarch/src/drivers/ega/ega.c (modified) * kernel/genarch/src/drivers/via-cuda/cuda.c (modified) * kernel/genarch/src/fb/fb.c (modified) * kernel/genarch/src/mm/as_pt.c (modified) * kernel/genarch/src/mm/page_pt.c (modified) * kernel/genarch/src/ofw/ofw_tree.c (modified) * kernel/generic/common (added) * kernel/generic/include/cc.h (modified) * kernel/generic/include/cpu/cpu_mask.h (modified) * kernel/generic/include/lib/memfnc.h (deleted) * kernel/generic/include/memw.h (moved) * kernel/generic/meson.build (modified) * kernel/generic/src/cpu/cpu.c (modified) * kernel/generic/src/ddi/ddi.c (modified) * kernel/generic/src/ddi/irq.c (modified) * kernel/generic/src/ipc/ipc.c (modified) * kernel/generic/src/ipc/sysipc.c (modified) * kernel/generic/src/lib/gsort.c (modified) * kernel/generic/src/lib/mem.c (modified) * kernel/generic/src/lib/memfnc.c (deleted) * kernel/generic/src/lib/ubsan.c (modified) * kernel/generic/src/main/kinit.c (modified) * kernel/generic/src/mm/as.c (modified) * kernel/generic/src/mm/backend_anon.c (modified) * kernel/generic/src/mm/backend_elf.c (modified) * kernel/generic/src/mm/malloc.c (modified) * kernel/generic/src/mm/slab.c (modified) * kernel/generic/src/printf/vsnprintf.c (modified) * kernel/generic/src/proc/thread.c (modified) * kernel/generic/src/synch/waitq.c (modified) * kernel/generic/src/udebug/udebug_ops.c (modified) * kernel/meson.build (modified) * kernel/test/mm/falloc2.c (modified) * kernel/test/mm/slab1.c (modified) * kernel/test/mm/slab2.c (modified) * uspace/lib/c/common (added) * uspace/lib/c/meson.build (modified) * uspace/lib/posix/include/common (added) * uspace/lib/posix/include/posix/string.h (modified) Deduplicate mem functions There are a number of functions which are ...