summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
6 daysMore work to support building on windows.windows-msys2-supportpeter
Right now, the build fails completely, because src/bin/main.c uses some unix specific functionalities. Next up is implementing them in the os/* files, but that won't be today. FossilOrigin-Name: 91ed737388525736696714b585eb50b423789aab5c1a245fe9269d52be10c8c2
6 daysStart working on support for compiling on windows using msys2.peter
FossilOrigin-Name: d0b8a592f04b7c438aff01694ef262cef67b71da7625bf7415c1e61ff22d8a63
7 daysAdd missing $(EXEEXT) in two casesHEADtrunkpeter
FossilOrigin-Name: 382348bd61c7f030f5745c5fdb6d8d02523a772aae25f71704293aae3983c089
7 daysFix our first bug found by the memory movement (shuffle) code.peter
FossilOrigin-Name: 42f1e618034a90d92555f2a79738058911c13ac35f460f42986bfe69610df8ce
7 daysFor testing, move memory around sometimes [c9e361fa97].peter
FossilOrigin-Name: b78e635bff051ffacfbaab830b770c30aca3e775a2613d09b503ec784c2d49ab
10 daysThe UTF-8 code had two NEVERs which didn't make sense.peter
FossilOrigin-Name: 1be20afeb238bc7c9ca36b903378d6236af521855cfe76fe59ee39f22a7533ff
10 daysFix the crashes found by the fuzzer so far.peter
I really need to think of a better way to store those crash inputs. FossilOrigin-Name: a8b84fbc85ec0b472aca930d2d0af27949b39940317114cc37d37044bf1975d5
2026-09-27Avoid using $^ in rules to build gen*, as it causes problems on openbsd and ↵peter
netbsd FossilOrigin-Name: 575ce06768e1d808124022d79b672f5865c1f53f0e21080a2c63764310207d0e
2026-09-26Fix the tests, and delete those which were too hard to deal with for now.peter
FossilOrigin-Name: 6e677a34a2eb9e4391570f031c8c7055846b1477f40a020beb102358ee97c75a
2026-09-26Improve the failure simulation test/code.peter
Right now, a lot of test cases fail because if this. Next up: fixing them :) FossilOrigin-Name: 6dd2985bcae86ed3f7c5651e2ce7bc848b80516bf4c1d5482b6095c18dfcc058
2026-09-26Support building both shared and static libraries, using libtool.peter
FossilOrigin-Name: 8d2e0bf113b6268f735f93bfc60d2ecd6981aa4415b7a890a133ae1f4fa2ec0c
2026-09-26Support cross compilation.peter
Include AX_PROG_CC_FOR_BUILD from autoconf-archive, and use CC_FOR_BUILD to build the two generator binaries, even when a different host system is targeted using ./configure --host=... I have not yet tested that the aplwc binary works when built this way. FossilOrigin-Name: 55b2cc92bc6d0a76ac7da97ad35489d435a484d7173348eefe3499fe058e0a69
2026-09-25Use the parsed unicode stuff to decide what is valid identifier characters, ↵unicode-propspeter
and symbol characters. FossilOrigin-Name: afa25da5a44e8cb032d74269a6d4b7ec1e8842f18cefbd54d5f84a0b6d780f70
2026-09-24More work on the genunicode programpeter
FossilOrigin-Name: edfc2aebb5a66067934b9a05bb88b9d7e3aab4d2070d710e34c4339a0d303a5c
2026-09-22Start writing a genunicode program to process the unicode data files. While ↵peter
we are here, add some missing copyright/license notices. FossilOrigin-Name: 72aa02406da41a413284af19d52bcc1a091cac210b64f9887b123a95f20128e0
2026-09-22Update the unicode data files for unicode 18.0peter
FossilOrigin-Name: 6d48ecb60a71d20af7f76e31eff88e73ccc083ce8814bd440e10f29b0eb2dd6b
2026-09-22Update branch to get the latest autotools stuffpeter
FossilOrigin-Name: a39b9d0fe118ac1f3202f7b730f504056fdba8f0ab5fe79961e0861367fc60bb
2026-09-22Final changes to be able to switch over to an autotools based setupautotoolspeter
FossilOrigin-Name: 6a01b406226d3f60ea7d86fc177296f8e0a6c1e0816264bac807e30d78edbf21
2026-09-22Check for flexible array member support via autoconfpeter
FossilOrigin-Name: 4d8f080ee14f63ea5cb2c0aa87be1519e7b74e3c42de2370e90ae1e1f9268cd0
2026-09-20Start working on migrating to autoconf/automake instead of cmakepeter
FossilOrigin-Name: d870487495106763d2a4e416f1ddbf4c795081a6b77100d34063591e385692e0
2026-09-13Start work on using the real unicode properties as the base for what is ↵peter
allowed in an identifier and a symbol and so on. FossilOrigin-Name: c8b81a4236423008e26c8457e90bcadf82fd00594d981ee99de3908a77c153d4
2026-09-11Tests to get coverage of module.cpeter
FossilOrigin-Name: a711bc8cdf63cce84b3322b4396c277ec72697696555d1dac3d22aa54f4794c6
2026-09-11A bit of work on code coveragepeter
FossilOrigin-Name: 14af041190c6e80aca433ea33078a696d8028caece1988e96db3ba4767e65d61
2026-09-11Get rid of the big macro to visit all chunk pointers. Instead, just use ↵peter
functions which takes a callback. FossilOrigin-Name: 34ea27817033db9bc3e06ba0a90495f712fc37c3672f75d4651c73d62f2945d7
2026-09-11Add missing reference to module in the allocated module_member structurepeter
FossilOrigin-Name: dcd03337409dc19e4558a924afb8719a0ef28561dff9b015b6b4900009d346bf
2026-09-10One step closer to getting all tests to run without crashing :)peter
FossilOrigin-Name: 35a86fc6a569e2373ea6ce0aa96fe4f66a7d94a390fa102b53122b5c3a1c99ba
2026-09-10Work in progress changes for the module system. I am only committing to save ↵peter
my work somewhere, but it doesn't work yet. FossilOrigin-Name: 45400ea0e451183f360a3d0cbb14f262cbec2e62167bad732fd396ed0ce4acaf
2026-09-05Full coverage of lib/module.cpeter
FossilOrigin-Name: 818662a4d9afe9f6b48df33c01d51ecc42bebcdf246c0cf376aa3352873a55be
2026-09-05Full coverage of bin/main.cpeter
FossilOrigin-Name: 91deb642cded69b6c480471147004489a6072ec7c6603286aa6c0ebfc75bf030
2026-09-04Add test for usage messagepeter
FossilOrigin-Name: 86c94785db487ae79d762047fc8076011787aadf3236403bbeb78cb87be65d1a
2026-09-04Simplify the alloc callback functionpeter
FossilOrigin-Name: a08c14408099c9287646e3fcac0df8dfa04d23cd08273f6b17abe7bff79e0942
2026-09-04Use the same memory-failure mechanism for mallocspeter
FossilOrigin-Name: fc4f944f1ef599321fac8aa6af72bbe55fb438b4f43800ba37dcfdfa2e6b4c4e
2026-09-04Add a test which runs all the scripts in tests/scripts/good to meaure how ↵peter
many memory allocations they perform, and then rerun them with a mode that causes the memory allocator to fail after N allocations. The scripts are run for all values of N from 0 to the number of allocations they need to succeed. FossilOrigin-Name: ed1953c203d3493d9c1adbcb9256d7d380bc1fdcfc7856f03f9d801291f478cd
2026-09-03In aplwc-repl, allocate a bit more (next power of 2) than requested.peter
FossilOrigin-Name: 50c75ed6184d943f18022d48371cf4137b3e973136906fb39d21b52449dd743d
2026-09-03Don't dynamically allocate external reference counted pointers, just use ↵peter
what the user puts on the stack. FossilOrigin-Name: 270cf0d72050bea15fc40a1e2811ba642e3ef26cbe1fa6231c5aa6f1872ccb34
2026-09-03Compute chunk->next based on chunk->size, and add some debug checkspeter
FossilOrigin-Name: d0b062b28f5486e63437cfefde99508c64b25d1bf6fecdc0af8c49a80a76ed80
2026-09-02Support commentspeter
FossilOrigin-Name: 6d017126fbc93e45a53af2857cce78133b4714cd1a41d7bc0114c1bbaae2ec07
2026-09-02[13ed99ff5b] Give the sources a license: GPLv3+peter
FossilOrigin-Name: 877496d6f607bc4b7cd35f2b763b2633f73804c5860542d59432c1974318d72c
2026-09-01Oopspeter
FossilOrigin-Name: 7dfaeeb44547ee10a4b746ad462397a52716a702f66edfe755dfe67289b53723
2026-09-01Put all the code which visits pointers in memory.c behind a macro, so it can ↵memory-managerpeter
easily be reused. FossilOrigin-Name: 1e911fa0ea41797f445fff6f25df36b6c0f07063b5c6e9936cb243294a2d8a0c
2026-09-01Implement "compaction", which moves all non-free chunks towards the ↵peter
beginning of the allocated space, and combines all the free space at the end. FossilOrigin-Name: c757f65164e1aebf38bc3e9ea8abe4b9f98b183cec7cfbeed0175f65c72f7ca5
2026-09-01First step at garbage collectionpeter
We now visit all objects and change the tag of those which are unreachable, to CHUNK_TAG_FREE. Next step will be to implement compaction to combine all free chunks at the end of the memory space. FossilOrigin-Name: f8641c857b5d430f45d7c1f36fb00866659a5ea78f36ee0535c9166060ea0e19
2026-08-31A little bit of testingpeter
FossilOrigin-Name: 70deba994bb488d4aa5df36577d1e184d6651a3edeff042e9666f54589cdc6f9
2026-08-31Fix problems in release buildspeter
FossilOrigin-Name: 98227d25674f373968f51df0dcdccf3cf14d646a13e56a9229103d1aeb3ad73d
2026-08-31Remove some unneeded references to struct aplwc * in various structures.peter
FossilOrigin-Name: 3b4b7806320d604b0df3654896cfe5d885f116d893ae15cfb3422d6d2de7193c
2026-08-31The objects returned to the user are now integer-based references,peter
not actual pointers. This means the aplwc internals can update those pointers without the user noticing. FossilOrigin-Name: 654c7d0ec85da295a7fb6ed381500410686b280f342fa81a30481f5e9a20c58a
2026-08-30Still a lot to be done, but I'm going to bed.peter
Two remaining big issues: * aplwc (the parameter passed "everywhere") - should it move or not? * values returned from the public API should not move. FossilOrigin-Name: 31ab3154b8f3d5ac167218496e9e204324bf0ac9d36b7bada8fe2a6c8f93d51c
2026-08-30Remove a lot of functions for manually freeing memory (they were not ↵peter
implemented) FossilOrigin-Name: 693765728e62a74a0ab15d657f7d1dd83702a9371fb042dafe6250f84a252959
2026-08-30Let the memory allocation code set the last_error to APLWC_OUT_OF_MEMORY, ↵peter
instead of the callers FossilOrigin-Name: 46c74e207a84e861636dbfebc4ba8bb9e7b17401dfd2c4fb9bdeae0fa98fd530
2026-08-30Remove the struct memory structpeter
FossilOrigin-Name: 38568a34f631b2a4eef72542e2988a9fe081f85d3248194c2ff995a9eed6bd5d