# # ChangeLog for trunk/src/kmk in kBuild # # Generated by Trac 1.4.3.2 # Jan 8, 2025 11:42:04 AM 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. Tue, 02 Sep 2008 01:46:26 GMT bird [1700] * trunk/src/kmk/hash.c (modified) hash.c: spaces. Tue, 02 Sep 2008 01:45:50 GMT bird [1699] * trunk/src/kmk/function.c (modified) kmk / $(commands* ): Check for empty name to prevent lookup_file from ... Sun, 31 Aug 2008 23:27:24 GMT bird [1698] * trunk/src/kmk/function.c (modified) kmk: $(commands ) and $< wont work well together at all, no fix just ... Sun, 31 Aug 2008 20:24:55 GMT bird [1695] * trunk/src/kmk/kmkbuiltin/append.c (modified) append: Added the -d and -t options for writing define...endef and ... Sun, 31 Aug 2008 19:48:24 GMT bird [1694] * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/testcase-includedep-sub.kmk (added) * trunk/src/kmk/testcase-includedep.kmk (added) kmk: testcase for includedep. Sun, 31 Aug 2008 19:35:37 GMT bird [1693] * trunk/src/kmk/read.c (modified) includedep: expand variabels when present. Fixes #38. Fri, 11 Jul 2008 00:49:29 GMT bird [1674] * trunk/src/kmk/kmkbuiltin/redirect.c (modified) Fixed the error message on _spawnvp failure (windows) and added an ... Fri, 11 Jul 2008 00:37:35 GMT bird [1673] * trunk/src/kmk/Makefile.kmk (modified) Fixed build issue on windows. Mon, 30 Jun 2008 21:14:11 GMT bird [1665] * trunk/Config.kmk (modified) * trunk/Makefile.kmk (modified) * trunk/src/Makefile.kmk (modified) * trunk/src/ash/Makefile.kmk (modified) * trunk/src/fastdep/Makefile.kmk (modified) * trunk/src/kDepPre/Makefile.kmk (modified) * trunk/src/kObjCache/Makefile.kmk (modified) * trunk/src/kash/Makefile.kmk (modified) * trunk/src/kmk/Makefile.kmk (modified) * trunk/src/kmk/w32/Makefile.kmk (modified) * trunk/src/lib/Makefile.kmk (modified) * trunk/src/sed/Makefile.kmk (modified) Converted to a sub-makefile setup ('single' makefile). Tue, 13 May 2008 00:55:09 GMT bird [1635] * trunk/src/kmk/kmkbuiltin/kbuild_protection.c (modified) Added missing headers (OS/2). Tue, 13 May 2008 00:07:24 GMT bird [1630] * trunk/src/kmk/kmkbuiltin/cp.c (modified) Forgot to read the environment. Mon, 12 May 2008 23:33:31 GMT bird [1629] * trunk/src/kmk/kmkbuiltin/rm.c (modified) Fixed warning. Mon, 12 May 2008 23:32:04 GMT bird [1628] * trunk/src/kmk/function.c (modified) Fixed $(breakpoint ) on MSC. Fixed two warnings. Mon, 12 May 2008 23:23:21 GMT bird [1627] * trunk/src/kmk/kmkbuiltin/cp.c (modified) Enabled recursive copying w/ protection a la rm. Mon, 12 May 2008 23:22:58 GMT bird [1626] * trunk/src/kmk/kmkbuiltin/rm.c (modified) removed a leftover prototype. Mon, 12 May 2008 21:28:54 GMT bird [1622] * trunk/src/kmk/kbuild.c (modified) * trunk/src/kmk/variable.h (modified) Bumped up the priority of a local variable. Fixed inconsistent use of ... Mon, 12 May 2008 19:34:49 GMT bird [1620] * trunk/src/kmk/function.c (modified) The last kb-src-prop argument is optional. Mon, 12 May 2008 19:34:17 GMT bird [1619] * trunk/src/kmk/function.c (modified) $(breakpoint ) for debugging. Mon, 12 May 2008 19:33:51 GMT bird [1618] * trunk/src/kmk/kbuild.c (modified) Fixed a bug in func_kbuild_source_prop (kb-src-prop) that would cause ...