Login
Changes To TODOs
Login

Changes to "TODOs" between 2021-11-06 21:21:03 and 2021-11-18 12:07:47

92
93
94
95
96
97
98


99
100
101
102
103
104
105
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107







+
+







- **Port over `db_unprotect()` and `db_protect_pop()`** APIs, which allow a db to effectively be made read-only except for limited windows where specific sections of it needs to be writable. Related: `db.c:db_top_autorizer()`.

# Non-SCM TODOs

In no particular order...

- **Add [SPDX-style](https://spdx.dev/) license attribution** to all source files. This is ongoing.

- **Interruption**: add an interface, primarily intended for use for use by signal handlers, which simply sets an is-interrupted flag on a `fsl_cx` instance, separate from its normal error state, and add a check for that case in any appropriate routines (there's a lot of them) and loops. In particular, the intent is to allow long-running options (like rebuild) to cancel that operation.

- **Header file restructuring.** The current separation of the APIs into many `include/fossil-scm/*.h` files is somewhat confusing. The initial intent was to keep my low-end development system of the time from choking on syntax highlighting on one large file, but those days are largely behind me. It may make sense to combine those into 1 public API file, 1 internal API file, and the auto-generated config file(s). (Even then, it's big enough to choke emacs' syntax highlighting on lower-end systems like Raspberry Pi SBCs.)

- **Stop using char as booleans**. This tree historically uses `char` type for booleans. Now that the tree is C99, we can switch to the `bool` type. This is ongoing.

- **f-vdiff**: port in [](fossil:3504672187af59f0) in order to be able to select the diff width based on the terminal size.