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