source: libcfa/src/parseconfig.cfa

Revision Log Mode:


Legend:

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