Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for include/wh/cwal/cwal_config.h
2022-04-01
| ||
18:57 | Corrected whcl eval so that the -> flag works with a {} operand. Added line/column renumbering support to whcl_script. Reworked whcl__script_slice() to be able to handle both client-alloced and alloced-by-it destination whcl_script instances. Added __COLUMN builtin value. file: [69c393eda6] check-in: [d15d10652f] user: stephan branch: trunk, size: 19754 | |
2022-03-03
| ||
06:55 | Disabled CWAL_ENABLE_TRACE by default. It's unused and a profiling hog. file: [4c72175a12] check-in: [971a7292b5] user: stephan branch: trunk, size: 19757 | |
2022-02-26
| ||
20:57 | Minor header touchups. Re-enabled the historical 'touch' feature of mkcdep.c to work around some otherwise weak deps handling when headers change. On the one hand, this improves rebuilding for header changes. On the other, it causes the deps files to get rebuilt twice in a row at times. file: [bd2fdb77bc] check-in: [347aa1caf8] user: stephan branch: trunk, size: 19757 | |
16:45 | Tweaks to the various config headers. Moved whcl dist creation into an external script. file: [5f2103d5c2] check-in: [a2df56da01] user: stephan branch: trunk, size: 19758 | |
04:54 | Minor internal cleanups. Fixes to the libwhcl amalgamation. Added more whcl docs. Got a basic client distribution tarball of whcl building. file: [e870a842c3] check-in: [6769fda7af] user: stephan branch: trunk, size: 19268 | |
2021-10-22
| ||
03:12 | Ported in recent cwal_printf() additions from libfossil. Updated doxygen config to enable markdown. Patched several doc complaints from doxygen. file: [09566fc6f4] check-in: [26f500e220] user: stephan branch: trunk, size: 19204 | |
2021-08-01
| ||
10:23 | Removed CWAL_FEATURE_SCOPE_STORAGE_HASH and changed the default of CWAL_OBASE_ISA_HASH to 1. file: [50ea95826a] check-in: [deddd35e15] user: stephan branch: trunk, size: 19200 | |
2021-07-12
| ||
13:56 | Build-related tweaks to make CWAL_OBASE_ISA_HASH a configure-time option and get it propagating down the whole tree. file: [3f088101c5] check-in: [ad13368607] user: stephan branch: trunk, size: 19034 | |
00:04 | Minor doc addition and disabled CWAL_OBASE_ISA_HASH by default for merging soon into trunk. Memory cost summary of using that option: with all recyling options enabled, the alloc count and total memory usage is less than 5% different, but UNIT-import.s2 requires almost 30kb more peak (10kb for UNIT.s2). With all options disabled, the difference is closer to 10%. All things considered, pretty small. file: [40dfb2dceb] check-in: [07a41e0a8e] user: stephan branch: obase-isa-hash2, size: 18255 | |
2021-07-11
| ||
22:06 | CWAL_OBASE_ISA_HASH is mostly implemented and seems to basically work, but cwal_hash_take_props() still has to be reimplemented. file: [965bb80a4d] check-in: [273b214789] user: stephan branch: obase-isa-hash2, size: 18143 | |
17:20 | More char-to-bool API conversions. Started changing the string APIs to expose cwal_midsize_t string lengths, though a couple such changes (namely cwal_string_cstr2()) are pending because they'll break a bit of s2's core. file: [3712fa4161] check-in: [cdefef67f8] user: stephan branch: trunk, size: 18143 | |
10:00 | Renamed cwal_lsize_t cwal_midsize_t. Should probably just use uint32_t, but like the "documentation factor" of using this typename. file: [78a0c86b14] check-in: [9ec0b252f6] user: stephan branch: trunk, size: 18145 | |
08:42 | core infrastructure: re-added the obase kvp iterator, a flag on cwal_list to flag whether it's being visited, and strengthened some internal assertions related to list/child visitation. file: [10c475f985] check-in: [45f6d620a6] user: stephan branch: trunk, size: 18101 | |
2021-07-10
| ||
20:14 | Got CWAL_ENABLE_TRACE compiling again and added --trace-cwal flag to s2sh/s2sh2. file: [72c75b1885] check-in: [b73445b7ca] user: stephan branch: trunk, size: 17945 | |
20:06 | Pulled in part of [16c11f2139]. Preparing to take a fresh whack at the [obase-isa-hash] branch, as that branch is apparently beyond repair. file: [a786cd8630] check-in: [8c86fbdedf] user: stephan branch: trunk, size: 17945 | |
19:56 | Now it doesn't work in either mode. Stashing this for later analysis and rolling back to some previous version (possibly the start). file: [e14599e039] check-in: [9522bcf73e] user: stephan branch: obase-isa-hash-wha, size: 18142 | |
12:58 | test.c tests of hash property storage basically works but any non-empty script in s2sh triggers assertions at scope cleanup related to unexpected refcounts and missing scope ownership. file: [4fb41cebf6] check-in: [d7a5284c55] user: stephan branch: obase-isa-hash, size: 18007 | |
00:04 | Initial work on adding a compile-time option to make cwal_obase use a hashtable for property storage. That mode does not yet compile. file: [a153d85d64] check-in: [044ee16592] user: stephan branch: obase-isa-hash, size: 18007 | |
2021-07-09
| ||
22:49 | In prep for upcoming experimentation, capped cwal_list at 32 bits of length, rather than 64. Saves 8 bytes per array/hashtable on 64-bit builds. file: [7848f86e19] check-in: [a1749cbb7f] user: stephan branch: trunk, size: 17831 | |
21:59 | Added cwal_prop_key_can() to check the data type of object property keys and hashtable keys so that we can reject any types for which their mutable state is accounted for in their comparison or hashing operation. Thus Buffers and Tuples are no longer legal as property keys and will trigger a CWAL_RC_TYPE error. Allowing those types as keys in the first place was a design error. file: [e78551a4e9] check-in: [539060fab2] user: stephan branch: trunk, size: 16721 | |
2019-12-11
| ||
23:06 | Initial work on making multiple concurrent iteration possible/legal, and disallowing it at the right times (e.g., we cannot sanely iterate and sort an array concurrently). The s2 unit tests pass, after a couple minor modifications, but there is still lots of testing and documentation patching to be done. file: [47bb9916a0] check-in: [e21f0af7f4] user: stephan branch: multi-iteration, size: 16913 | |
2018-12-18
| ||
19:27 | Improved configuration checks related to stat(), chdir(), getcwd(). cwal_config.h now honors HAVE_CONFIG_H to include config.h for "pre-configuration" (to potentially simplify amalgamation configuration). file: [39e1626eef] check-in: [9a995d51a3] user: stephan branch: trunk, size: 16851 | |
2018-11-28
| ||
14:33 | Core lib doc updates/additions. Added cwal_engine::metrics::len1StringsSaved to record how many length-1 strings are saved via that optimization. Moved the length-1 ASCII optimization flag into cwal_config.h. file: [39d0e83b29] check-in: [39016bac11] user: stephan branch: trunk, size: 16794 | |
2018-11-25
| ||
05:11 | More fallout from gcc's braindead decision to warn for switch fall-through. file: [b34ed3c094] check-in: [d096e1520a] user: stephan branch: trunk, size: 15811 | |
2018-11-21
| ||
22:42 | auto.def: default --prefix to $HOME, added --cc and --cxx so that auto-reconfigure can propagate CC/CXX properly. Replaced all switch fall through comments with CWAL_SWITCH_FALL_THROUGH so that the amalgamation bundles still compile warning-free when comments are stripped out. file: [3aedb9867b] check-in: [9c48749922] user: stephan branch: trunk, size: 15792 | |
2018-08-18
| ||
08:32 | Minor comment and spacing tweaks. file: [78bf262074] check-in: [24bf235269] user: stephan branch: trunk, size: 15105 | |
2018-08-14
| ||
15:09 | Restructured the switch-fallthrough bits to use gcc's /* fall through */ tag approach. Aaaaarrrrggggghhhhh, i will forever hate the gcc devs for that stupidity. file: [a951e5d969] check-in: [dfcdca4506] user: stephan branch: trunk, size: 15080 | |
2018-08-12
| ||
10:19 | Removed an extraneous comment block. file: [5d8f836db9] check-in: [ba5a714642] user: stephan branch: trunk, size: 14909 | |
10:07 | Fixed gcc7 warnings, a couple of which were valid and many of which were from its new, stunningly braindeaded behaviour of warning about switch fallthrough (which of course fails because we build with -Wall -Wpedantic). file: [d78f5013bd] check-in: [6b2c51d9c8] user: stephan branch: trunk, size: 14918 | |
2017-12-03
| ||
12:37 | Fixed truncated 64-bit integers in cwal_buffer_format(). file: [a9ac735b51] check-in: [09db826fd4] user: stephan branch: trunk, size: 14369 | |
2017-03-22
| ||
18:56 | random typos. file: [2be3e4e7be] check-in: [390cab8ffd] user: stephan branch: trunk, size: 13431 | |
2016-02-28
| ||
11:26 | split off cwal_refcount_t from cwal_size_t so that we can eventually (if needed) up the refcounts+flags to 64-bits on 32-bit builds without increasing cwal_size_t (which would have a higher overall cost). Stole another (the 6th) refcount bit to allow us to move the vacuum-safe flag from containers to values. file: [19e25be500] check-in: [6f574d3f55] user: stephan branch: trunk, size: 13203 | |
2016-02-13
| ||
19:22 | Minor tweaks to get it compiling (again) with CWAL_SIZE_T_BITS=16. file: [e7763186a6] check-in: [6509fa8dd3] user: stephan branch: trunk, size: 12534 | |
2016-02-01
| ||
18:33 | insignificant internal touchups. file: [6f7120bae5] check-in: [052b0840a3] user: stephan branch: trunk, size: 12529 | |
2016-01-11
| ||
18:29 | Added CWAL_VERSION_STRING config option and populate it from the fossil info if it is available. added --version option to s2sh. file: [bff1e85e9f] check-in: [035cefe320] user: stephan branch: trunk, size: 12507 | |
2016-01-08
| ||
14:55 | large batch of tweaks, largely related to the hash-vs-objects work, but also an attempt at guaranteeing under/overflow behaviour on integer ops. file: [9335016469] check-in: [b79462d915] user: stephan branch: s2-scope-hashes, size: 12418 | |
2016-01-06
| ||
10:56 | a better workaround for gcc's recently adding __func__ warnings to -pedantic mode. file: [ec588a17c5] check-in: [0b37b476a0] user: stephan branch: enum-with-value, size: 12316 | |
2014-12-04
| ||
23:45 | minor doc update file: [e335275534] check-in: [af73b4849d] user: stephan branch: trunk, size: 12078 | |
21:55 | core: platform workaround for my ARM, which is bus-faulting on a particular deref of a static/const pointer. Accessing the same pointer via anoether route does not bus-fault it. file: [d9ac80d7ca] check-in: [319b16b847] user: stephan branch: trunk, size: 12007 | |
2014-10-11
| ||
14:18 | inor portability fixes for building with CWAL_SIZE_T_BITS=16. file: [2f15734d6a] check-in: [8aead931ee] user: stephan branch: trunk, size: 11780 | |
2014-08-14
| ||
13:09 | It is now possible to disable the json parser bits at build-time (for licensing reasons), but their sources are still included in the amalgamation. file: [d1a6f1785d] check-in: [fd66d10fee] user: stephan branch: trunk, size: 11558 | |
2014-06-28
| ||
13:56 | Disabled CWAL_ENABLE_TRACE by default. Rarely used and profiling says it takes a good chunk of our time (14% or so). file: [171b5ede03] check-in: [f4c58debe1] user: stephan branch: trunk, size: 10812 | |
2014-04-12
| ||
11:40 | Minor doc and config macro tweaks. file: [5b8feaccc5] check-in: [b7775f413a] user: stephan branch: trunk, size: 10535 | |
2013-06-21
| ||
16:27 | added missing script. Aaaannnddd... accidentally committed a round of stack-trace-related changes i wasn't quite ready to commmit. Bummer. file: [711214f1d5] check-in: [213d41603b] user: stephan branch: trunk, size: 9920 | |
2013-06-17
| ||
16:50 | Minor doc addition. Added missing CWAL_INT_T_SFMTX in 16-bit builds. file: [45b1ac620e] check-in: [b8440d6379] user: stephan branch: trunk, size: 9798 | |
16:42 | Started work on adding an option to disable doubles in cwal. It basically just changes cwal_double_t to be cwal_int_t. file: [60c250aac2] check-in: [264317163d] user: stephan branch: trunk, size: 9437 | |
2013-06-14
| ||
12:09 | More tinkering with the hash table. file: [356a6c0aba] check-in: [fc25158582] user: stephan branch: trunk, size: 8880 | |
2013-06-13
| ||
20:03 | minor default value tweak. file: [9884c457a8] check-in: [51b60392c5] user: stephan branch: trunk, size: 8569 | |
19:36 | Fixed a duplicate/broken typedef when building with CWAL_SIZE_T_BITS of 32 and CWAL_INT_T_BITS of 64. file: [15d2be62ac] check-in: [4b087ae949] user: stephan branch: trunk, size: 8555 | |
2013-06-02
| ||
13:45 | added cwal_cstr_to_int/double(). Documented CWAL_INT_T_MIN/MAX. file: [530931a7ad] check-in: [4b8d1e0a45] user: stephan branch: trunk, size: 8555 | |
11:39 | Worked around the gcc warning for CWAL_INT_T_MIN constant. file: [db791f34da] check-in: [b8abe84d2a] user: stephan branch: trunk, size: 8323 | |
2013-06-01
| ||
15:13 | Fixed a bug in cwal_int_to_cstr() - corner case involving INT_MIN. Added CWAL_INT_T_MIN/MAX macros. file: [246311cd4e] check-in: [29e01f5d63] user: stephan branch: trunk, size: 8559 | |
2013-05-09
| ||
14:47 | more minor tinkering. file: [680ac5d4c0] check-in: [6522247bd2] user: stephan branch: basic-prototypes, size: 8028 | |
2012-08-11
| ||
04:07 | Seem to have gotten a reasonable return-value mechanism in place. The JSON output API now fails gracefully when faced with cycles. file: [43d119f382] check-in: [027070161a] user: stephan branch: trunk, size: 8031 | |
2012-08-06
| ||
22:05 | disabled auto-interning by default, minor tinkering with the VOID_PTR_IS_BIG bits (hope it still builds on x64). file: [05c92d4a71] check-in: [b53e520cfc] user: stephan branch: trunk, size: 7817 | |
20:57 | Minor config-level tweaking. Fixed some signed/unsigned screwyiness (thank you, clang). file: [2bca8df384] check-in: [51fc55ddf7] user: stephan branch: trunk, size: 6936 | |
2012-08-05
| ||
19:27 | final (i think) tinkering for the night. file: [283649e942] check-in: [ee81b02749] user: stephan branch: trunk, size: 6282 | |
19:09 | Tracing tweaks. Fixed a bitmasking range error in the tracing flags. file: [400be1f47e] check-in: [8414ccbc5b] user: stephan branch: trunk, size: 6282 | |
17:51 | valgrind likes it. time to walk Baako. file: [9d1b6cbb3f] check-in: [0def871fe5] user: stephan branch: trunk, size: 6277 | |
15:59 | minor cleanups, nothing notable. file: [674036f504] check-in: [6295b36c28] user: stephan branch: trunk, size: 6135 | |
2012-08-04
| ||
14:18 | minor tinkering. file: [129ed9fd4f] check-in: [1a9442de79] user: stephan branch: trunk, size: 5931 | |
2012-08-03
| ||
00:13 | Started adding more tracing infrastructure to replace most of the debug output. file: [62d55628de] check-in: [536bb58c0b] user: stephan branch: scope-parenting, size: 6382 | |
2012-08-02
| ||
23:09 | Added: added missing (new as of a few commits ago) file. file: [3cfcccc307] check-in: [0e029c424c] user: stephan branch: scope-parenting, size: 6329 | |