commit 245ab0fb0ae37601d43bc6deceb5f857fd295f62
parent a393a0c67771b3e32cf2849f125945918bdc6ce1
Author: nibo <nibo@relim.de>
Date: Tue, 19 Nov 2024 11:41:49 +0100
Change README
Diffstat:
| M | README | | | 5 | +++++ |
| D | todo | | | 25 | ------------------------- |
2 files changed, 5 insertions(+), 25 deletions(-)
diff --git a/README b/README
@@ -11,6 +11,11 @@ A WARN means the program continues execution but recommends changing something.
An INFO is just a valuable information.
ERR, WARN and INFO messages can be directed at the developer or user.
+## functions that free
+
+A function that free's memory is named '*_free'. It has to be safe
+to pass a null pointer.
+
## memory leaks
If the program encounters an ERR message memory doesn't have to be freed.
diff --git a/todo b/todo
@@ -1,25 +0,0 @@
-# parser
-'image' directive
- https://chordpro.org/chordpro/directives-image/
-metadata directives
- %{blabla} in lyrics, chords and annotations
- conditional metadata directives
- don't forget key, key_actual, key_from
-grid
-chords
- define chords
- chord diagrams
- strict and relaxed parsing makes no difference!?
-make parser bulletproof
- try to detect invalid input as much as possible
- try to be as restrictive as possible
-
-# pdf output
-break lines when too long
- save coordinates (x and y) in each TextLineItem.
- don't create text line based but text line item based
-render in two or more columns
-
-find better name for TextAbove
-consider freeing memory in case of errors
-decide and then change consistent global variables prefix 'g_' or not