# # ChangeLog for libcfa/src/parseconfig.cfa # # Generated by Trac 1.2.1 # Oct 31, 2024, 8:06:15 PM Thu, 02 Sep 2021 20:54:26 GMT Jacob Prud'homme [81e0c61] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Reverted to using English-speaking-order syntax Thu, 02 Sep 2021 18:03:12 GMT Jacob Prud'homme [24ebddac] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added default argument Tue, 31 Aug 2021 21:09:59 GMT Jacob Prud'homme [b0f225f] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Used in-English-order declaration syntax in header file too Tue, 31 Aug 2021 21:08:10 GMT Jacob Prud'homme [ca83227] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) * tests/parseconfig.cfa (modified) Changed API of parse_config to accept parse function Tue, 31 Aug 2021 20:41:03 GMT Jacob Prud'homme [45b772c] * libcfa/src/parseconfig.cfa (modified) Added some clarifying Peter Buhr-style comments Tue, 31 Aug 2021 20:35:09 GMT Jacob Prud'homme [dd698b4] * libcfa/src/parseconfig.cfa (modified) Added more TODOs Tue, 31 Aug 2021 20:34:22 GMT Jacob Prud'homme [4a1bc44] * libcfa/src/parseconfig.cfa (modified) Used in-English-order variable declaration syntax Tue, 31 Aug 2021 17:30:43 GMT Jacob Prud'homme [e22c841] * libcfa/src/parseconfig.cfa (modified) Fixed message function for Missing_Config_Entries Tue, 31 Aug 2021 15:54:07 GMT Jacob Prud'homme [32913bc] * libcfa/src/parseconfig.cfa (modified) Fixed up comments Tue, 31 Aug 2021 15:44:15 GMT Jacob Prud'homme [692db791] * libcfa/src/parseconfig.cfa (modified) Made little changes and added comments Tue, 31 Aug 2021 15:38:43 GMT Jacob Prud'homme [a75cd3d] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added message function for exceptions I've created Also removed ... Tue, 31 Aug 2021 15:35:29 GMT Jacob Prud'homme [dcf792a] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added more information to exceptions Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [3be4078] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added more info to "missing config entry" exception Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [e1e506b] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added exception for when there are missing config entries Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [a3f2a3e] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Simplified validation logic Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [1764a63] * libcfa/src/parseconfig.cfa (modified) Removed printing of errors in library code Bad practice, I believe? ... Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [247d4ac] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Removed error for unknown config format Since we're using an enum, ... Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [5993b6a] * libcfa/src/parseconfig.cfa (modified) Removed old comment Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [a0d6987] * libcfa/src/parseconfig.cfa (modified) Cleaned up and un-nested code Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [6d8e1ab] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Improved EHM code Added more exceptions, and removed forced exits ... Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [cac1d52] * libcfa/src/parseconfig.cfa (modified) Fixed realloc error Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [4bdb7bf] * libcfa/src/parseconfig.cfa (modified) Fixed some issues with unfreed memory Was calling destructor on ... Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [5241ec2] * libcfa/src/parseconfig.cfa (modified) Freed space allocated for strings Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [f62e741] * libcfa/src/parseconfig.cfa (modified) Added spaces Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [d322f62] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Used more modern built-in EHM Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [57dff2f] * libcfa/src/parseconfig.cfa (modified) Changed unsigned int to size_t It made more semantic sense Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [f03b1db] * libcfa/src/parseconfig.cfa (modified) Removed warning Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [d120290] * libcfa/src/parseconfig.cfa (modified) Added comments where I'm having problems Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [a434e92] * libcfa/src/parseconfig.cfa (modified) Changed quotes used for clarity Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [d8db0af] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Allowed config format to be specified Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [ad78e08] * libcfa/src/parseconfig.cfa (modified) Added case to handle initial allocation for KVP array Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [e4b37a1] * libcfa/src/parseconfig.cfa (modified) Switched to allocating array of KVPs on heap Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [12b5b226] * libcfa/src/parseconfig.cfa (modified) Removed redundant reinitialization of buffers Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [82820da] * libcfa/src/parseconfig.cfa (modified) Fixed issue caused by reuse of string buffers Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [c1dafea] * libcfa/src/parseconfig.cfa (modified) Cleaned up Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [1e05e09] * libcfa/src/parseconfig.cfa (modified) Reverted to using long form of opening file Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [f789b82] * libcfa/src/parseconfig.cfa (modified) Removed old string builder code Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [cfadd08] * libcfa/src/parseconfig.cfa (modified) Slimmed down copied code Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [8e0f2db] * libcfa/src/parseconfig.cfa (modified) Ripped out old code for new one provided by Prof. Buhr Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [ecfa760] * libcfa/src/parseconfig.cfa (modified) Re-simplified code to detect lines with comments Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [09fda91] * libcfa/src/parseconfig.cfa (modified) Used constructor to open file Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [0cfa768] * libcfa/src/parseconfig.cfa (modified) Switched to using fixed-size buffers Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [a0e142f] * libcfa/src/parseconfig.cfa (modified) Ignored more types of whitespace Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [c80ac84] * libcfa/src/parseconfig.cfa (modified) Added temporary code to read in config file Tue, 31 Aug 2021 05:49:10 GMT Jacob Prud'homme [45729a8] * libcfa/src/parseconfig.cfa (modified) Just realized this isn't bash-style config! Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [ba61cd9] * libcfa/src/parseconfig.cfa (modified) Added string builder-like struct Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [02a22a2] * libcfa/src/parseconfig.cfa (modified) Reverted to using reference to KVPairs This will have to be changed ... Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [98d6b744] * libcfa/src/parseconfig.cfa (modified) Removed warnings Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [52c6891] * libcfa/src/parseconfig.cfa (modified) Freed KVPairs in case of error Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [e74ba77] * libcfa/src/parseconfig.cfa (modified) Switched to allocating KVPairs on heap Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [c58c65a] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Began using new math.trait.hfa Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [716e4e6] * libcfa/src/parseconfig.cfa (modified) Added missing includes Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [930609e2] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added some basic examples of validation functions And rearranged ... Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [6604ea1] * libcfa/src/parseconfig.cfa (modified) Added optional validation step when parsing values Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [80ae121] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Added exception that will be used to signal failed validation Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [8f01cb04] * libcfa/src/parseconfig.cfa (modified) Switched to importing default parsing functions from parseargs Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [58ebd78] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Made some small changes Comments, spacing, etc. Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [7582458] * libcfa/src/parseconfig.cfa (modified) Changed descriptive comment for parse_config Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [33800ac8] * libcfa/src/parseconfig.cfa (modified) Broke apart reading to intermediate format and parsing from intermediate Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [602e8d5] * libcfa/src/parseconfig.cfa (modified) Fixed error setting size of list of KVPs Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [e7e5b81] * libcfa/src/parseconfig.cfa (modified) Added code to parse values Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [d5cfc7e] * libcfa/src/parseconfig.cfa (modified) Began using intermediate format Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [b532fcf] * libcfa/src/parseconfig.cfa (modified) Removed old validation code Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [5e0e488] * libcfa/src/parseconfig.cfa (modified) Created array to hold intermediate format (string, string) Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [4df8fef5] * libcfa/src/parseconfig.cfa (modified) * libcfa/src/parseconfig.hfa (modified) Restructured parseconfig to work like parseargs Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [31337d8] * libcfa/src/parseconfig.cfa (modified) Removed old comments Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [ff3be413] * libcfa/src/parseconfig.cfa (modified) Removed code specific to CS 343 assignment Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [50dcfad] * libcfa/src/parseconfig.cfa (modified) Removed useless finally block Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [26b9e71] * libcfa/src/parseconfig.cfa (modified) Removed checking for a specific number of entries in the config file Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [3c124da] * libcfa/src/parseconfig.cfa (modified) Closed ifstream before exiting prematurely Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [c2016b6] * libcfa/src/parseconfig.cfa (modified) Declared ifstream before try block Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [2c2d32b] * libcfa/src/parseconfig.cfa (modified) Removed remaining bits of C++ code Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [a01404e] * libcfa/src/parseconfig.cfa (modified) Removed bit of C++ code Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [181ef73] * libcfa/src/parseconfig.cfa (modified) Began using CFA loop constructs Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [e658f5d] * libcfa/src/parseconfig.cfa (modified) Removed unneeded include Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [dac3455] * libcfa/src/parseconfig.cfa (modified) Converted += 1 to ++ Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [c3c76cd] * libcfa/src/parseconfig.cfa (modified) Coalesced all file closes to one location Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [1896c1f] * libcfa/src/parseconfig.cfa (modified) Convert to using CFA file stream I/O Tue, 31 Aug 2021 05:49:09 GMT Jacob Prud'homme [16f9aca] * libcfa/src/Makefile.am (modified) * libcfa/src/parseconfig.cfa (added) * libcfa/src/parseconfig.hfa (added) Created new library with code directly from CS 343 A6