# # ChangeLog for trunk/src/kmk in kBuild # # Generated by Trac 1.4.3.2 # Jan 8, 2025 10:40:04 AM Tue, 14 Oct 2008 01:04:03 GMT bird [1862] * trunk/src/kmk/incdep.c (modified) * trunk/src/kmk/misc.c (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/remake.c (modified) kmk: some preliminary allocation caching. seems dep, variables, ... Mon, 13 Oct 2008 05:08:05 GMT bird [1861] * trunk/src/kmk/read.c (modified) kmk: and another strcache_get_len. Mon, 13 Oct 2008 05:01:17 GMT bird [1860] * trunk/src/kmk/commands.c (modified) kmk: replaced strlen with strcache_get_len in a number of place in ... Mon, 13 Oct 2008 04:52:13 GMT bird [1859] * trunk/src/kmk/misc.c (modified) kmk: cache 'struct dep' memory to safe time in free() and xmalloc() ... Mon, 13 Oct 2008 04:35:21 GMT bird [1858] * trunk/src/kmk/hash.c (modified) * trunk/src/kmk/hash.h (modified) * trunk/src/kmk/strcache.c (modified) kmk: Added hash_find_slot_prehashed for the benefit of the strcache ... Mon, 13 Oct 2008 03:58:07 GMT bird [1857] * trunk/src/kmk/file.c (modified) * trunk/src/kmk/filedef.h (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/remake.c (modified) * trunk/src/kmk/strcache.c (modified) kmk: improved the hashing of file table entries by making the ... Mon, 13 Oct 2008 02:53:25 GMT bird [1856] * trunk/src/kmk/main.c (modified) inverted check. Mon, 13 Oct 2008 02:09:55 GMT bird [1855] * trunk/src/kmk/main.c (modified) kmk: Don't call verify_file_data_base, which only performs assert- ... Mon, 13 Oct 2008 01:50:33 GMT bird [1854] * trunk/src/kmk/incdep.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/strcache.c (modified) kmk: offload hashing of strcache entries to the includedep thread(s). Mon, 13 Oct 2008 01:46:35 GMT bird [1853] * trunk/src/kmk/read.c (modified) kmk: Optimized the dependency hashing done by uniquize_deps() by ... Mon, 13 Oct 2008 00:16:34 GMT bird [1852] * trunk/src/kmk/incdep.c (modified) kmk/incdep: fixed the multithreaded heap issue on darwin. Only one ... Sun, 12 Oct 2008 17:37:39 GMT bird [1851] * trunk/src/kmk/file.c (modified) fixed bug introduced earlier today. Sun, 12 Oct 2008 16:55:33 GMT bird [1850] * trunk/src/kmk/file.c (modified) kmk: save some file::deps list waking. Sun, 12 Oct 2008 16:48:09 GMT bird [1849] * trunk/src/kmk/file.c (modified) kmk: a little adjustment to save 10 clock ticks or something. Sun, 12 Oct 2008 16:41:07 GMT bird [1848] * trunk/src/kmk/dep.h (modified) * trunk/src/kmk/file.c (modified) * trunk/src/kmk/incdep.c (modified) kmk: includedep dependencies does not require unescaping or any other ... Sun, 12 Oct 2008 16:25:03 GMT bird [1847] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/file.c (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/variable.h (modified) kmk: Some optimizations for expand_deps. Sun, 12 Oct 2008 16:24:04 GMT bird [1846] * trunk/src/kmk/read.c (modified) spaces (read.c) Sun, 12 Oct 2008 16:23:10 GMT bird [1845] * trunk/src/kmk/strcache.c (modified) kmk/strcache: Make use of the string length to avoid expensive ... Sun, 12 Oct 2008 15:43:24 GMT bird [1844] * trunk/src/kmk/strcache.c (modified) one terminator is sufficient. Sun, 12 Oct 2008 15:40:32 GMT bird [1843] * trunk/src/kmk/make.h (modified) * trunk/src/kmk/strcache.c (modified) kmk/strcache: align the strings on a (somewhat) natural boundrary and ... Sat, 11 Oct 2008 20:53:51 GMT bird [1842] * trunk/src/kmk/make.h (modified) * trunk/src/kmk/misc.c (modified) kmk: more hacking, makde isblank work skip ctype everywhere instead ... Sat, 11 Oct 2008 20:04:46 GMT bird [1841] * trunk/src/kmk/misc.c (modified) misc: some more unroll attemtps. Sat, 11 Oct 2008 19:59:17 GMT bird [1840] * trunk/src/kmk/make.h (modified) * trunk/src/kmk/misc.c (modified) * trunk/src/kmk/variable.c (modified) better? predictions can do bad stuff... Sat, 11 Oct 2008 19:36:50 GMT bird [1839] * trunk/src/kmk/misc.c (modified) Did a couple of loop unrolls in find_next_token. Sat, 11 Oct 2008 19:34:24 GMT bird [1838] * trunk/src/kmk/function.c (modified) * trunk/src/kmk/read.c (modified) kmk: fixed string termination for three strcache_add_len calls. (it ... Sat, 11 Oct 2008 19:24:07 GMT bird [1837] * trunk/src/kmk/expand.c (modified) kmk: no need for the '\0' hack in expand_argument when using ... Sat, 11 Oct 2008 19:22:26 GMT bird [1836] * trunk/src/kmk/function.c (modified) kmk: don't return '\0'. Sat, 11 Oct 2008 19:18:45 GMT bird [1835] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/make.h (modified) kmk: fixed assertion + made them useful. Sat, 11 Oct 2008 19:07:29 GMT bird [1834] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/make.h (modified) kmk: assertions. Sat, 11 Oct 2008 17:14:02 GMT bird [1833] * trunk/src/kmk/file.c (modified) kmk: Obvious optimization in file_hash_cmp. Sat, 11 Oct 2008 15:10:54 GMT bird [1832] * trunk/src/kmk/kbuild.c (modified) kmk: starting to eliminate kbuild_get_variable_fmt*. Use sizeof() on ... Sat, 11 Oct 2008 13:11:16 GMT bird [1831] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/read.c (modified) kmk: find_char_unquote optimizations, some cleanup and a fix. Sat, 11 Oct 2008 10:56:20 GMT bird [1830] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/variable.h (modified) kmk: more insane optimizations. Sat, 11 Oct 2008 10:09:43 GMT bird [1829] * trunk/src/kmk/variable.c (modified) kmk: variable hash hacking. (yet again) Sat, 11 Oct 2008 07:12:10 GMT bird [1827] * trunk/src/kmk/dep.h (modified) * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) kmk: more length optimizations. Sat, 11 Oct 2008 01:58:49 GMT bird [1826] * trunk/src/kmk/config.h.win (modified) * trunk/src/kmk/main.c (modified) kmk: isspace isn't inlined on msc, do that. Fri, 10 Oct 2008 21:04:14 GMT bird [1825] * trunk/src/kmk/incdep.c (modified) kmk/incdep: buildfix. Fri, 10 Oct 2008 20:40:35 GMT bird [1824] * trunk/src/kmk/incdep.c (modified) kmk: includedep - use do_variable_definition_2. Fri, 10 Oct 2008 20:27:37 GMT bird [1822] * trunk/src/kmk/inlined_memchr.h (modified) inlined_memchr: hacked up a 8-byte loop unroll, doesn't by ... Fri, 10 Oct 2008 20:26:42 GMT bird [1821] * trunk/src/kmk/read.c (modified) kmk: incdep bug fix, dependencies was chopped of because they are now ... Fri, 10 Oct 2008 20:25:51 GMT bird [1820] * trunk/src/kmk/config.h.linux (modified) linux want inlined memchr as well it turns out. Fri, 10 Oct 2008 17:59:00 GMT bird [1819] * trunk/src/kmk/expand.c (modified) kmk: 64-bit fix (forgotten). Fri, 10 Oct 2008 07:43:08 GMT bird [1818] * trunk/src/kmk/kbuild.c (modified) kmk: a bit more. Fri, 10 Oct 2008 07:10:26 GMT bird [1817] * trunk/src/kmk/read.c (modified) kmk: pass end-of-line around to the condition evalalutation. Don't ... Fri, 10 Oct 2008 07:07:36 GMT bird [1816] * trunk/src/kmk/inlined_memchr.h (modified) kmk: windows build fix. Fri, 10 Oct 2008 06:09:00 GMT bird [1814] * trunk/src/kmk/kbuild.c (modified) kmk: two more recursive / simple fixes. Fri, 10 Oct 2008 06:06:32 GMT bird [1813] * trunk/src/kmk/config.h.darwin (modified) * trunk/src/kmk/config.h.freebsd (modified) * trunk/src/kmk/config.h.os2 (modified) * trunk/src/kmk/config.h.solaris (modified) * trunk/src/kmk/config.h.win (modified) * trunk/src/kmk/inlined_memchr.h (added) kmk: inline memchr everywhere but on linux. Fri, 10 Oct 2008 06:01:29 GMT bird [1812] * trunk/src/kmk/kbuild.c (modified) kmk: fixes for recusive variable mixup. Fri, 10 Oct 2008 05:19:58 GMT bird [1811] * trunk/src/kmk/main.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/misc.c (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) kmk: More string length optimizations. Fri, 10 Oct 2008 05:19:30 GMT bird [1810] * trunk/src/kmk/config.h.win (modified) kmk: inline memchr on MSC + AMD64 because the CRT memchr sucks. Fri, 10 Oct 2008 02:27:38 GMT bird [1809] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/main.c (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) kmk: More length and alloc optimizations. Made all the length ... Thu, 09 Oct 2008 05:36:19 GMT bird [1808] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) kmk: More memchr and less strlen for simple assignments (var:=val). Thu, 09 Oct 2008 05:34:47 GMT bird [1807] * trunk/src/kmk/read.c (modified) kmk: readstring - use memchr. Thu, 09 Oct 2008 05:34:29 GMT bird [1806] * trunk/src/kmk/read.c (modified) kmk: readstring - use memchr. Thu, 09 Oct 2008 04:12:33 GMT bird [1805] * trunk/src/kmk/expand.c (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/variable.c (modified) * trunk/src/kmk/variable.h (modified) kmk: Some minor optimizations. Sun, 21 Sep 2008 19:55:08 GMT bird [1804] * trunk/src/kmk/incdep.c (modified) incdep: windows build fixes and some adjustments. Sun, 21 Sep 2008 18:41:07 GMT bird [1803] * trunk/src/kmk/incdep.c (modified) header Sun, 21 Sep 2008 18:40:44 GMT bird [1802] * trunk/src/kmk/incdep.c (modified) incdep: An experiment in pushing all the work to the threads. Sun, 21 Sep 2008 14:29:24 GMT bird [1801] * trunk/src/kmk/incdep.c (modified) incdep: make thread count relative to the job slots. Sun, 21 Sep 2008 01:43:59 GMT bird [1800] * trunk/src/kmk/incdep.c (modified) incdep: weeny strcache_add_len optimization. Sun, 21 Sep 2008 01:17:50 GMT bird [1799] * trunk/src/kmk/incdep.c (modified) * trunk/src/kmk/kbuild.c (modified) kmk: minor incdep adjustments. Sun, 21 Sep 2008 01:05:36 GMT bird [1797] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/dep.h (modified) * trunk/src/kmk/file.c (modified) * trunk/src/kmk/incdep.c (added) * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/variable.c (modified) kmk: moved eval_include_dep into incdep.c (was in read.c) and ... Fri, 19 Sep 2008 23:49:42 GMT bird [1794] * trunk/src/kmk/dir.c (modified) kmk: Change the directory hash size to prevent /usr/bin from causing ... Fri, 19 Sep 2008 23:30:50 GMT bird [1793] * trunk/src/kmk/file.c (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/strcache.c (modified) * trunk/src/kmk/variable.c (modified) kmk: hash table adjustments. Fri, 19 Sep 2008 23:30:17 GMT bird [1792] * trunk/src/kmk/kbuild.c (modified) kmk: Altered the behavior of $(kb-src-one ) when given an argument ... Tue, 09 Sep 2008 21:31:04 GMT bird [1778] * trunk/src/kmk/Makefile.am (modified) kmk: 0.1.4! Tue, 09 Sep 2008 21:20:23 GMT bird [1776] * trunk/src/kmk/read.c (modified) kmk: Fixed includdep bug wrt to multiline variables (not defined). Sat, 06 Sep 2008 03:02:25 GMT bird [1752] * trunk/src/kmk/variable.c (modified) Added expr and if-expr to KMK_FEATURES. Sat, 06 Sep 2008 02:58:38 GMT bird [1751] * trunk/src/kmk/file.c (modified) kmk: Don't bother with secondary target expansion if it's not enabled ... Fri, 05 Sep 2008 05:26:05 GMT bird [1744] * trunk/src/kmk/main.c (modified) kmk: OS/2 build fix. Fri, 05 Sep 2008 05:06:31 GMT bird [1739] * trunk/src/kmk/kmkbuiltin/expr.c (modified) kmk_expr: Fixed regex disabling. Fri, 05 Sep 2008 04:24:19 GMT bird [1730] * trunk/src/kmk/kmkbuiltin/install.c (modified) kmk_install: --[no-]ignore-perm-errors on chmod and chown. This ... Fri, 05 Sep 2008 03:50:10 GMT bird [1729] * trunk/src/kmk/expreval.c (modified) * trunk/src/kmk/testcase-ifcond.kmk (modified) kmk/expreval.c: Added conversion operators: num, string and bool. ... Fri, 05 Sep 2008 03:27:06 GMT bird [1728] * trunk/src/kmk/expreval.c (modified) * trunk/src/kmk/testcase-ifcond.kmk (modified) kmk/expreval/ifcond: fixed the target operator and string parsing; ... Fri, 05 Sep 2008 01:45:52 GMT bird [1727] * trunk/src/kmk/function.c (modified) * trunk/src/kmk/testcase-ifcond.kmk (modified) kmk: Two new functions $(if-expr cond,exp-on-true,exp-on-false) and ... Fri, 05 Sep 2008 01:44:07 GMT bird [1726] * trunk/src/kmk/expreval.c (modified) kmk/expreval.c: Warnings and a couple of bugs. Fri, 05 Sep 2008 01:43:19 GMT bird [1725] * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/make.h (modified) kmk: shutting up warnings. Fri, 05 Sep 2008 00:34:53 GMT bird [1724] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/expreval.c (moved) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/read.c (modified) kmk: ifcond.c -> expreval.c Thu, 04 Sep 2008 14:10:08 GMT bird [1723] * trunk/src/kmk/ifcond.c (modified) kmk/ifcond: windows build fix. Thu, 04 Sep 2008 05:37:47 GMT bird [1722] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/ifcond.c (modified) * trunk/src/kmk/testcase-ifcond.kmk (modified) kmk: The rest of the if operators. Thu, 04 Sep 2008 03:19:08 GMT bird [1721] * trunk/src/kmk/ifcond.c (modified) kmk: Some more ifcond operators. Thu, 04 Sep 2008 02:50:11 GMT bird [1720] * trunk/src/kmk/testcase-ifcond.kmk (added) kmk: More if conditionals code. Thu, 04 Sep 2008 02:49:36 GMT bird [1719] * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/ifcond.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/testcase-if1of.kmk (modified) kmk: More if conditionals code. Wed, 03 Sep 2008 13:33:34 GMT bird [1718] * trunk/src/kmk/kmkbuiltin/ln.c (modified) kmk_ln: fixed DOS slashes. Wed, 03 Sep 2008 13:21:01 GMT bird [1717] * trunk/src/kmk/kmkbuiltin/mscfakes.c (modified) mscfakes: CreateSymbolicLinkA returns BOOLEAN not BOOL. Wed, 03 Sep 2008 01:40:13 GMT bird [1716] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/function.c (modified) * trunk/src/kmk/variable.c (modified) kmk: Added a new function $(defined var) which check whether var is ... Tue, 02 Sep 2008 23:05:55 GMT bird [1715] * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/ifcond.c (added) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/read.c (modified) kmk: Started hacking on some useable if conditionals. Tue, 02 Sep 2008 22:08:22 GMT bird [1714] * trunk/src/kmk/kmkbuiltin/solfakes.c (modified) typo. Tue, 02 Sep 2008 22:07:30 GMT bird [1713] * trunk/src/kmk/kmkbuiltin/solfakes.c (modified) kmk_chmod: made it build on solaris (no lchmod or ALLPERMS). Tue, 02 Sep 2008 22:06:47 GMT bird [1712] * trunk/src/kmk/kmkbuiltin/solfakes.c (modified) * trunk/src/kmk/kmkbuiltin/solfakes.h (modified) kmk_chmod: made it build on solaris (no lchmod or ALLPERMS). Tue, 02 Sep 2008 22:05:43 GMT bird [1711] * trunk/src/kmk/kmkbuiltin/chmod.c (modified) * trunk/src/kmk/kmkbuiltin/solfakes.c (modified) * trunk/src/kmk/kmkbuiltin/solfakes.h (modified) kmk_chmod: made it build on solaris (no lchmod or ALLPERMS). Tue, 02 Sep 2008 21:50:04 GMT bird [1710] * trunk/src/kmk/kmkbuiltin/chmod.c (modified) * trunk/src/kmk/kmkbuiltin/install.c (modified) * trunk/src/kmk/kmkbuiltin/mkdir.c (modified) * trunk/src/kmk/kmkbuiltin/mscfakes.c (modified) * trunk/src/kmk/kmkbuiltin/mscfakes.h (modified) * trunk/src/kmk/kmkbuiltin/mv.c (modified) * trunk/src/kmk/kmkbuiltin/rm.c (modified) * trunk/src/kmk/kmkbuiltin/setmode.c (modified) * trunk/src/kmk/kmkbuiltin/strmode.c (modified) kmk: Made chmod build on windows. Some cleanup of the bsdisms. Tue, 02 Sep 2008 20:02:10 GMT bird [1709] * trunk/src/kmk/main.c (modified) kmk: Made --jobs (-j) default to the number of online CPUS. Fixes #34. Tue, 02 Sep 2008 04:14:39 GMT bird [1708] * trunk/src/kmk/kmkbuiltin/expr.c (modified) kmk_expr: no __dead, please. Tue, 02 Sep 2008 04:06:42 GMT bird [1707] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kmkbuiltin.c (modified) * trunk/src/kmk/kmkbuiltin.h (modified) * trunk/src/kmk/kmkbuiltin/expr.c (modified) * trunk/src/kmk/variable.c (modified) kmk_expr: Ported expr. Fixes #43. Tue, 02 Sep 2008 04:00:09 GMT bird [1706] * trunk/src/kmk/variable.c (modified) chmod: updated KMK_BUILTIN. Tue, 02 Sep 2008 03:17:42 GMT bird [1705] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/kmkbuiltin.c (modified) * trunk/src/kmk/kmkbuiltin.h (modified) * trunk/src/kmk/kmkbuiltin/chmod.c (modified) kmk_chmod: Ported chmod. Fixes #41. Tue, 02 Sep 2008 02:38:30 GMT bird [1704] * trunk/src/kmk/kmkbuiltin/chmod.c (added) kmkbuiltin/chmod.c: file revision 1.33 from FreeBSD. Tue, 02 Sep 2008 02:28:29 GMT bird [1703] * trunk/src/kmk/kmkbuiltin/expr.c (added) kmkbuiltin/expr.c: file revision 1.17 from OpenBSD Tue, 02 Sep 2008 02:06:18 GMT bird [1701] * trunk/src/kmk/Makefile.am (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/file.c (modified) * trunk/src/kmk/filedef.h (modified) * trunk/src/kmk/main.c (modified) * trunk/src/kmk/make.h (modified) * trunk/src/kmk/read.c (modified) * trunk/src/kmk/testcase-2ndtargetexp.kmk (added) kmk: Implemented secondary target expansion. Fixes #42.