Created on July 24, 2020.
Liszt is an application to save snippet memories for the user which can then be reported back at any point.
July 24, 2020
Added basic functionality, add_memory
clear_memories, list_memories, get_help
and info methods.
July 25-26, 2020
Added remove_memory method, and began
work on file adding and manipulation
methods
July 27, 2020
Added initial add_file, list_files,
and change_file methods.
July 28, 2020
Fixed existing version of rename_note, added sample
commands to main.py help command. Added simpler file
pathing to eliminate the need for the $USER argument
in the command. Added the CONTRIBUTING.md file. Made
the install.py file add a default note upon installation.
Further fixed rename_note, added remove_note and clear_note
methods. Added import_note method. Added helper functions to assist
with code decomposition; these are make_note, parse_binary_args,
parse_unary_args, and request_user_permission. Added the ability
to export notes as .txt files by adding the export_note method.
July 29-30, 2020
Added the CODE_OF_CONDUCT.md file, added the GNU GPL.v3 license,
renamed memfunc.py and filefunc.py to memory.py and note.py, respectively,
for reasons of clarity. Added the helper_func.py file to hold the existing
helper functions make_note, parse_binary_args, parse_unary_args,
request_user_permission, and the new helper function write_to_quicknote_cache.
Added more extensive error handling throughout the software for various faulty
user inputs (so that the methods simply return instead of python throwing an error).
Made the install.py file add a '.archive' note upon it's running. Added the helper
function check_row to helper_func.py and added archive_memory to memory.py
July 31-August 1, 2020
Removed the filelist and archivelist files, and replaced them with using os.listdir()
to read the contents of files. Changed the install.py file to add a .notes directory and
a .archive_notes folder in the .quicknote directory. Changed quicknote_cache to data_file.json,
so that it will be easier to store information about the current file and other related/important
information. Rewired most functions to adopt the filelist and quicknote_cache removal changes. Added
the ability to archive notes with archive_note, and added the ability to reverse archiving with
un_archive_note. Added the ability to clear archived notes with clear_archive_notes, and added
the ability list archived notes with list_archive_notes.
August 2, 2020
Added move_memory and copy_memory. Added the helper function write_to_file to helper_func.py.
Added the memory-helper functions change_memory and append_memory to memory.py. Added functionality
so that when user types remember --list, the number of memories found is displayed before the actual
memories. Implemented a similar functionality for remember --list-notes and remember --list-archived-notes,
so that these methods first print the number of notes found.
August 3-5, 2020
These versions were spent developing the brew tap and install functionality. In the process, added the qnote file
(which contains the contents of all the files in files, although those will become deprecated in time). Also,
added the Formula directory for holding the qnote.rb formula.
August 6, 2020
Fixed bugs in qnote file stemming from the collapse of main.py, install.py, note.py, memory.py, and helper_func.py in to qnote.
August 6, 2020
Add duplicate_note. Shorten length of commands (instead of full words, mostly initials). Also removed double-dash from
commands and replaced with single dash.
August 6, 2020
Changed design of help menu. Removed archive_memory functionality from homebrew version.
August 6, 2020
Added blue arrows to help menu display. Changed functionality of default note so that it
acts more as a placeholder than a real note. Updated original files in files directory
to mirror qnote file in root.
August 27, 2020
Rewrote the entirety of qnote in C, and changed the name of the projec to Liszt to avoid naming overlap with an existing command line note editor.
August 28 - September 1, 2020
Added a separate help file relieve main.c of its clutter. Added the ability to request info about specific functions. Updated README.md and documentation.
Type lst -version to view your version of Liszt
September 14, 2020
Plugging memory leaks
-added "wordfree(&mainDir);" to line 394 of note.c in clearNotes() -added "wordfree(&archiveDir);" to line 426 of note.c in clearArchiveNotes() The above lines free the words even if there's an early return in the case of no notes
-added "free(--temp);" to line 86 of helper.c in getCurrentNotePath() This is necessary since "cJSON_PrintUnformatted()" returns a malloced char array
-added "closedir(directory);" on line 194 of helper.c in printDirectory() That way in the case of an early return, the directory is still freed, which didn't occur before
by Bwoltz