aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-12-25Increment file table id from ftag_add_one_fileTristan Riehs
I don't remember the reason for doing this but there is one.
2025-12-25Add routine for computing file sumTristan Riehs
2025-11-30Resort to help command when no other command matchesTristan Riehs
2025-11-30Improve main help messageTristan Riehs
2025-11-30Make "-h" and "--help" also display helpTristan Riehs
2025-11-30Abandon dynamic help message construction ideaTristan Riehs
Manually creating every help message is much easier and not so less clean and more tedious.
2025-11-28add query to help messageTristan Riehs
2025-11-23Add single quote escapingTristan Riehs
2025-11-21Add a bunch of to dosTristan Riehs
2025-11-19Add bit of docTristan Riehs
2025-11-17Fix SQL query length assertsTristan Riehs
These assert do not check for memory errors -- with strncat and snprintf called with proper parameters there should not be any -- but for SQL query truncation.
2025-11-17Implement date queryTristan Riehs
2025-11-17Factorize date parsingTristan Riehs
2025-11-16Add information in date promptsTristan Riehs
2025-11-16Allow user to only provide part of the dateTristan Riehs
2025-11-16Fix date parsingTristan Riehs
2025-11-16Remove bad assertTristan Riehs
2025-11-16Fix a couple memory errorsTristan Riehs
2025-11-16Update date managementTristan Riehs
Use integers.
2025-11-16Change id management in ftag_file_addTristan Riehs
There is no need to pass a pointer to the ID to ftag_add_one_file, the ID itself is enough.
2025-11-16Fix table_next_idTristan Riehs
2025-11-16Fix typoTristan Riehs
2025-11-16Make first call to realloc safeTristan Riehs
2025-11-16Add missing freeTristan Riehs
2025-11-14Add a bunch of docstringsTristan Riehs
2025-11-14Query was not working because tag ID was badTristan Riehs
2025-11-14Suppress annoying warningsTristan Riehs
2025-11-14Progress on ftag queryTristan Riehs
Query works for a single tag. Multi-tag SQL query looks fine but does not work.
2025-11-14Start implementing ftag queryTristan Riehs
It is pretty messy for now. Also, only single-tag, no-date queries are supported for now.
2025-11-12The "file tag" command looks doneTristan Riehs
2025-11-12The "file add" command looks doneTristan Riehs
2025-11-11Make some more progress on "ftag file add"Tristan Riehs
The ID of added files has to be properly managed.
2025-11-11Make progress on the "file add" commandTristan Riehs
2025-11-11Setup "file" command and implement "file list"Tristan Riehs
2025-11-11Define toplevel commands locallyTristan Riehs
They need not be global. Also remove function declarations this change made useless.
2025-11-11Handle unknown command properlyTristan Riehs
2025-11-11Add routine for checking database existenceTristan Riehs
2025-11-11Add "tag" and "file" commands to help messageTristan Riehs
2025-11-11Implement the tag list commandTristan Riehs
Options to also enable displaying the description with be added int the future.
2025-11-11Change tag checking SQL queryTristan Riehs
Also remove debug code.
2025-11-11Make progress on ftag addTristan Riehs
2025-11-11Add doc for parse_argsTristan Riehs
2025-11-11Add ftag root to help messageTristan Riehs
2025-11-11Implement ftag initTristan Riehs
We execute the ftag SQL init script using the programs sqlite3 and sh.
2025-11-11Change the database nameTristan Riehs
Also properly define it at compile-time. Later, it will likely be moved to "$HOME/.cache/ftag/ftag.sqlite3".
2025-11-11Define the command parsing outlineTristan Riehs
2025-11-11Add build systemTristan Riehs
2025-11-11Move sql init scriptTristan Riehs
Let's put SQL scripts into a dedicated directory.
2025-11-09Add sketch of main source fileTristan Riehs
2025-11-09Outline of ftag internalsTristan Riehs
The first version will essentially consist in performing the SELECT query at the end of this example SQL script.