Picol  Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2020-07-14
08:33
[824d95ebfa] Leaf: picol.h: Clarify a comment and improve formatting. (user: dbohdan tags: trunk, version-0.4.0)
08:23
[a424361c16] picolSource(): Initialize the buffers. (user: dbohdan tags: trunk)
08:20
[192a25a52b] picolGetVar2(), picolSetVar2(): Rename the parameter glob to "global". (user: dbohdan tags: trunk)
08:08
[fa8ce8bf94] [exit]: Replace atoi() with PICOL_SCAN_INT(). (user: dbohdan tags: trunk)
07:54
[bbe66803b7] picolCallProc(): When we can't allocate a callframe, print an error to stderr and do not exit(). (user: dbohdan tags: trunk)
07:51
[8ef82f99f5] picolValidPtrRemove(): Fix a memory leak. (user: dbohdan tags: trunk)
07:50
[e9df06ed23] picolEval2(): Fix a memory leak. (user: dbohdan tags: trunk)
07:24
[bd546c66af] Rename the type picol_Func to picolFunc. (user: dbohdan tags: trunk)
07:23
[1481ef5a31] Standardize the return values where possible. (Currently some functions return a zero int for success and some for failure.) Add two new types: picolResult and picolBool. Have Picol commands return picolResult. Rename picolValidPtrAdd() to picolValidPtr(). (user: dbohdan tags: trunk)
06:45
[dc212c837a] picol_Func: Change the type of the argv parameter to const char** like in Tcl. Propagate the const qualifier to the signatures of Picol functions. (user: dbohdan tags: trunk)
2020-07-13
17:21
[81e7508564] picolParseList(): Rename to "picolListHead", which is more appropriate. (user: dbohdan tags: trunk)
17:19
[95b897ea96] picolParseList(): Rewrite the parser to fix errors in the handling of nested lists. (user: dbohdan tags: trunk)
15:04
[2c4999efa1] picolLsort(): Scan integers with picolScanInt() instead of atoi(). (user: dbohdan tags: trunk)
13:20
[01b8513949] picol.h: Reformat some function calls with many arguments. (user: dbohdan tags: trunk)
13:15
[22a6945057] picol_Math(): Reformat the PICOL_ARITY2 annotations for the updated help.pcl. (user: dbohdan tags: trunk)
12:51
[1a2d2ab454] picolEscape(), picolQuoteForShell(): Add a destination size parameter. picolExpandLC(): Move the destination size parameter to right after the destination parameter. (user: dbohdan tags: trunk)
12:37
[b4cc57f703] picolParseList(): Add a target size parameter. (user: dbohdan tags: trunk)
11:41
[7af82f424e] picolErr1(): Rename to "picolErrFmt". Add a macro for backwards compatibility. (user: dbohdan tags: trunk)
11:15
[f3ba47060e] picolParser: Rename the field p to "pos". (user: dbohdan tags: trunk)
10:27
[04d343d75d] Rename picolFileUtil() to picol_FileUtil(), picolLsort() to picol_Lsort(). (user: dbohdan tags: trunk)
10:19
[a4caffa2ea] picol.h: Replace strcat() with strncat() and strcpy() with strncpy() everywhere except where unnecessary. (user: dbohdan tags: trunk)
10:16
[d0479427af] picolErr(): Fix the buffer size check in PICOL_APPEND_BREAK_PICOLERR(). (user: dbohdan tags: trunk)
10:15
[2eb64cb6a2] picolReplace(): Add an output buffer size parameter. (user: dbohdan tags: trunk)
10:14
[529259ac8f] picolConcat(): Add an output buffer size parameter. (user: dbohdan tags: trunk)
10:11
[94ec76dd4c] Arrays: Give the array functions more consistent and informative names. Add buffer size arguments. (user: dbohdan tags: trunk)
04:42
[da80530b87] [string repeat]: Fix a segfault due to argument access before an arity check. (user: dbohdan tags: trunk)
04:38
[d28f32288b] [%]: Check for zero. (user: dbohdan tags: trunk)
04:35
[5a60388254] picolList(): Add a destination buffer size argument. (user: dbohdan tags: trunk)
2020-07-12
21:24
[f879cd9c44] Return an error on a missing ']'. (user: dbohdan tags: trunk)
21:15
[787690350d] picolParseCmd(): Handle '\' at the end of the input and '\0'. (user: dbohdan tags: trunk)
20:34
[e10ecb4507] [info level 0]: Crash a crash at the top level. (user: dbohdan tags: trunk)
20:22
[0269898a1a] [proc]: Fix a segfault on no args. (user: dbohdan tags: trunk)
19:04
[f8efc34b49] examples/command.c: Increase PICOL_SOURCE_BUF_SIZE to one byte. (user: dbohdan tags: trunk)
18:59
[14f37e7b92] picolSource(): Make the buffer size configurable at compile time. (user: dbohdan tags: trunk)
16:34
[41181c710c] picol.h: Do not use PICOL_CALLOC. Initialize structs ourselves. (user: dbohdan tags: trunk)
16:32
[db76b81fd2] Makefile: Fix a typo. (user: dbohdan tags: trunk)
16:05
[da0136ed34] vendor/regexp.h: Fix an error message mangled by the automatic prefixing. (user: dbohdan tags: trunk)
16:02
[95c0167d0a] vendor/regexp.h: Add a prefix to the functions, macros, and types. (user: dbohdan tags: trunk)
12:39
[cedc02e762] Makefile.nname: Remove regexp.obj. (user: dbohdan tags: trunk)
12:37
[8fbcfca936] vendor/regexp: Convert to a header-only library. (user: dbohdan tags: trunk)
12:36
[170f0123ed] picol.h: Move PICOL_MEMORY_MANAGEMENT out of PICOL_CONFIGURATION. (user: dbohdan tags: trunk)
12:23
[e2f3ee6ec4] Make the memory allocator pluggable in picol.h and vendor/regexp.{c,h}. (user: dbohdan tags: trunk)
2020-07-11
18:52
[51087b36b4] [string last]: Ensure the offset is less than the haystack string length. (user: dbohdan tags: trunk)
18:48
[f1f19e9536] help.pcl: Update for the updated [string last]. (user: dbohdan tags: trunk)
18:44
[0056fbca72] picolValidPtrRemove(): Remove the type argument. (user: dbohdan tags: trunk)
18:35
[17177ae257] picolArrDestroy(): Remove the array pointer from the list of valid pointers. (user: dbohdan tags: trunk)
18:23
[d8728100d3] [string last]: Find matches *before* the optional index argument. Handle out-of-bounds indices in [string first]. (user: dbohdan tags: trunk)
15:06
[1ff6089063] help.pcl: Rewrite. Actually parse PICOL_ARITY2(). (user: dbohdan tags: trunk)
13:52
[fcb6f8a2f4] picolHash(): Ensure the return value is not negative. This fixes a crash when using arrays with long keys. Explicitly initialize the picolArray in picolArrCreate(). Check for NULL in picolArrGet1(). (user: dbohdan tags: trunk)
12:50
[18ff51281f] test.pcl: Add [if] tests. (user: dbohdan tags: trunk)