|
|
@81e0c61
|
3 years |
jafprudhomme |
Reverted to using English-speaking-order syntax
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@761e146
|
3 years |
jafprudhomme |
Merge branch 'master' into jacob/cs343-translation
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@24ebddac
|
3 years |
jafprudhomme |
Added default argument
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@3ad9097
|
3 years |
Thierry Delisle |
Minor fixes to makefiles for mutex stmt
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@b0f225f
|
3 years |
jafprudhomme |
Used in-English-order declaration syntax in header file too
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@ca83227
|
3 years |
jafprudhomme |
Changed API of parse_config to accept parse function
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@45b772c
|
3 years |
jafprudhomme |
Added some clarifying Peter Buhr-style comments
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@dd698b4
|
3 years |
jafprudhomme |
Added more TODOs
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@4a1bc44
|
3 years |
jafprudhomme |
Used in-English-order variable declaration syntax
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@e22c841
|
3 years |
jafprudhomme |
Fixed message function for Missing_Config_Entries
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@32913bc
|
3 years |
jafprudhomme |
Fixed up comments
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@692db791
|
3 years |
jafprudhomme |
Made little changes and added comments
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@a75cd3d
|
3 years |
jafprudhomme |
Added message function for exceptions I've created
Also removed …
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@dcf792a
|
3 years |
jafprudhomme |
Added more information to exceptions
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@3be4078
|
3 years |
jafprudhomme |
Added more info to "missing config entry" exception
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@e1e506b
|
3 years |
jafprudhomme |
Added exception for when there are missing config entries
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@c166f4e
|
3 years |
jafprudhomme |
Fixed spelling mistake
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@a3f2a3e
|
3 years |
jafprudhomme |
Simplified validation logic
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@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
|
|
|
@ad8072c
|
3 years |
jafprudhomme |
Fixed type warning
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
|
|
|
@e54654e
|
3 years |
jafprudhomme |
Added ability to specify optional validation function
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@4cc6c7d
|
3 years |
jafprudhomme |
Fixed compiler error around type of generic parse function
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
|
|
|
@b1eeb3aa
|
3 years |
jafprudhomme |
Added default parse function signatures to header file
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@eb2413d3
|
3 years |
jafprudhomme |
Removed old config parameters
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
|
|
|
@07b0c91
|
3 years |
jafprudhomme |
Changed name of function exposed in parseconfig header
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
|
|
|
@5b7c8b5
|
3 years |
caparson |
small changes and hopefully fixed build
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@702839bb
|
3 years |
caparson |
hopefully fixed build
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@1b97976c
|
3 years |
caparson |
added in file I forgot and added test expect for locks
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@af67ee1
|
3 years |
caparson |
Added support for locks as parameters to mutex stmt
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationpthread-emulationqualifiedEnum
|
|
|
@6cebfef
|
3 years |
caparson |
added mutex stmt monitor
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@b42d0ea
|
3 years |
pabuhr |
do not print unfreed-storage message if program exits
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d874f59
|
3 years |
Thierry Delisle |
Fixed crash from get_cpu
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@0a061c0
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@ba0d2ea
|
3 years |
pabuhr |
add exceptions Close_Failure, Write_Failure, Read_Failure to fstream
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@d83b266
|
3 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@a5a6a1a8
|
3 years |
pabuhr |
replace fstream macro EHM_VIRTUAL_TABLE with new vtable declaration
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|
@f9d8755
|
3 years |
pabuhr |
replace fstream macro EHM_EXCEPTION(Open_Failure) with new exception …
ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
|
|
|