Picol  Timeline

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

50 most recent check-ins

2021-04-17
08:05
Makefile: add $(DESTDIR) before $(PREFIX) per request. Leaf check-in: 966294d7f9 user: dbohdan tags: trunk, version-0.6.0
07:55
examples/privdata.c: add more tests. check-in: a5fe71f1c1 user: dbohdan tags: trunk
07:49
Make PICOL_EVAL_BUF_SIZE part of the configuration. check-in: 9f4f9d7bdc user: dbohdan tags: trunk
07:47
picol.h: Rewrite the top comment. Reformat long lines to be under 80 characters. Make the comments' phrasing more consistent. check-in: 280df39eb3 user: dbohdan tags: trunk
2021-04-16
21:14
Makefile: add the target "upx". check-in: 6ca6596bfd user: dbohdan tags: trunk
20:50
Fix a segfault when deleting an alias. Introduce reference counting for procs (procargument lists and bodies) as part of the fix. Implement new functions picolFreeCmd() and picolRenameCmd(). Do not reuse an existing list item when renaming a command: that code is too difficult to understand and debug; delete and recreate the command instead. Reorder struct fields to put "next" pointers first. I don't plan on reordering them again, though I may add more fields. Add more tests in examples/privdata.c. check-in: 87fe2ef71f user: dbohdan tags: trunk
15:48
Makefile: add an "install" target check-in: 9afc5909d9 user: dbohdan tags: trunk
15:41
Add the field "isproc" to picolCmd (like in Jim Tcl). Do not free the privdata when deleting native code commands. Add a privdata example. Bump the version 0.6.0. check-in: 020d98ff48 user: dbohdan tags: trunk
2021-04-07
08:02
Build with -Wextra. Fix the -Wextra warnings. Bump the version to 0.5.1. check-in: fb70c55516 user: dbohdan tags: trunk, version-0.5.1
06:54
Rename the function "picolLAppend" to "picolLappend" for consistency. check-in: 425c60de51 user: dbohdan tags: trunk, version-0.5.0
06:47
Fix building with arrays disabled. check-in: 0d3a33aa59 user: dbohdan tags: trunk
06:42
Rename the small stack macro to "PICOL_SMALL_STACK" for consistency with other macros. Do not redefine it if defined. Run the tests with it both on (default) and off. Bump the version to 0.5.0. check-in: bbbff59daf user: dbohdan tags: trunk
06:40
shell.c: Set the history length to 1000 lines. check-in: 817bbc3d5b user: dbohdan tags: trunk
06:34
parray.pcl: Do not create an example array. check-in: b0ab87fa31 user: dbohdan tags: trunk
2021-04-04
15:35
Add option to use heap allocation in recursive eval functions to reduce stack size requirements. check-in: 7f85d80f94 user: Stekke tags: trunk
15:06
Free the interpreter in the shell application check-in: 2a523ef8dd user: Stekke tags: trunk
2021-03-27
22:29
picolFreeInterp(): Add function to free entire interpreter data structure. check-in: c57084d5cb user: Stekke tags: trunk
18:36
picolIsDirectory(): Use only with PICOL_FEATURE_IO, along with sys/stat.h header check-in: 16eac3ff1c user: Stekke tags: trunk
17:43
PicolValidPtrRemove(): Remove extraneous if check. check-in: 1e29d52ddc user: Stekke tags: trunk
17:28
Remove extraneous ';'. check-in: 7ec1ca9c62 user: Stekke tags: trunk
15:24
Fix buffer underflow read when command output is empty. check-in: 41e26522b9 user: Stekke tags: trunk
2020-07-14
08:33
picol.h: Clarify a comment and improve formatting. check-in: 824d95ebfa user: dbohdan tags: trunk, version-0.4.0
08:23
picolSource(): Initialize the buffers. check-in: a424361c16 user: dbohdan tags: trunk
08:20
picolGetVar2(), picolSetVar2(): Rename the parameter glob to "global". check-in: 192a25a52b user: dbohdan tags: trunk
08:08
[exit]: Replace atoi() with PICOL_SCAN_INT(). check-in: fa8ce8bf94 user: dbohdan tags: trunk
07:54
picolCallProc(): When we can't allocate a callframe, print an error to stderr and do not exit(). check-in: bbe66803b7 user: dbohdan tags: trunk
07:51
picolValidPtrRemove(): Fix a memory leak. check-in: 8ef82f99f5 user: dbohdan tags: trunk
07:50
picolEval2(): Fix a memory leak. check-in: e9df06ed23 user: dbohdan tags: trunk
07:24
Rename the type picol_Func to picolFunc. check-in: bd546c66af user: dbohdan tags: trunk
07:23
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(). check-in: 1481ef5a31 user: dbohdan tags: trunk
06:45
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. check-in: dc212c837a user: dbohdan tags: trunk
2020-07-13
17:21
picolParseList(): Rename to "picolListHead", which is more appropriate. check-in: 81e7508564 user: dbohdan tags: trunk
17:19
picolParseList(): Rewrite the parser to fix errors in the handling of nested lists. check-in: 95b897ea96 user: dbohdan tags: trunk
15:04
picolLsort(): Scan integers with picolScanInt() instead of atoi(). check-in: 2c4999efa1 user: dbohdan tags: trunk
13:20
picol.h: Reformat some function calls with many arguments. check-in: 01b8513949 user: dbohdan tags: trunk
13:15
picol_Math(): Reformat the PICOL_ARITY2 annotations for the updated help.pcl. check-in: 22a6945057 user: dbohdan tags: trunk
12:51
picolEscape(), picolQuoteForShell(): Add a destination size parameter. picolExpandLC(): Move the destination size parameter to right after the destination parameter. check-in: 1a2d2ab454 user: dbohdan tags: trunk
12:37
picolParseList(): Add a target size parameter. check-in: b4cc57f703 user: dbohdan tags: trunk
11:41
picolErr1(): Rename to "picolErrFmt". Add a macro for backwards compatibility. check-in: 7af82f424e user: dbohdan tags: trunk
11:15
picolParser: Rename the field p to "pos". check-in: f3ba47060e user: dbohdan tags: trunk
10:27
Rename picolFileUtil() to picol_FileUtil(), picolLsort() to picol_Lsort(). check-in: 04d343d75d user: dbohdan tags: trunk
10:19
picol.h: Replace strcat() with strncat() and strcpy() with strncpy() everywhere except where unnecessary. check-in: a4caffa2ea user: dbohdan tags: trunk
10:16
picolErr(): Fix the buffer size check in PICOL_APPEND_BREAK_PICOLERR(). check-in: d0479427af user: dbohdan tags: trunk
10:15
picolReplace(): Add an output buffer size parameter. check-in: 2eb64cb6a2 user: dbohdan tags: trunk
10:14
picolConcat(): Add an output buffer size parameter. check-in: 529259ac8f user: dbohdan tags: trunk
10:11
Arrays: Give the array functions more consistent and informative names. Add buffer size arguments. check-in: 94ec76dd4c user: dbohdan tags: trunk
04:42
[string repeat]: Fix a segfault due to argument access before an arity check. check-in: da80530b87 user: dbohdan tags: trunk
04:38
[%]: Check for zero. check-in: d28f32288b user: dbohdan tags: trunk
04:35
picolList(): Add a destination buffer size argument. check-in: 5a60388254 user: dbohdan tags: trunk
2020-07-12
21:24
Return an error on a missing ']'. check-in: f879cd9c44 user: dbohdan tags: trunk