[http://zenit.senecac.on.ca/wiki/index.php/OOP344_-_Success_Project_Dev_Basic_IO_Functions Basic IO Functions Project Development]
==Complex Functions== {| class="wikitable" border="1"|+ int iof_edit() Special Key switch cases<br/>Status - Complete! Keys !! Member Responsible !! Status |-| BACKSPACE_KEY || jquan4|| Completed|-| LEFT_KEY|| jquan4|| completed |-| RIGHT_KEY ||jquan4 || completed |-| HOME_KEY || apliats || Completed |-| DEL_KEY || apliats || Completed |-| END_KEY || mjschranz || Completed |-| TAB_KEY || apliats || Completed|-| ESCAPE_KEY || ibalzamova|| Completed |-| INSERT_KEY || jquan4|| completed|-| ENTER_KEY || jquan4|| completed|-| UP_KEY || jquan4|| completed|-| DOWN_KEY || jquan4|| completed|-| PGUP_KEY || jquan4|| completed|-| PGDN_KEY || jquan4|| completed|-| F1_KEY To F12_KEY || jquan4|| completed|-| Overstrike mode || jquan4|| completed|-|insert mode||jquan4||completed|-||initial corrections||jquan4||completed|-|} {| class="wikitable" border="1"|+ platform tests<br/>staus- 3/4! Platforms !! Member Responsible !! Status |-|VCC|| jquan4|| completed pass all tests|-|BCC||jquan4|| completed pass all tests|-|MAC|| mjschranz || Completed - Passes all tests.|-|LNX||-|| -|} {| class="wikitable" border="1"|+ other complex functions<br/>Status - Complete! functions !! Member Responsible !! Status |-|void iof_display()|| ibalzamova || Completed|- | void iof_displayflag() || mjschranz|| Completed|-| int iof_flag() || mjschranz || Completed |-| void iof_displayMenuItem() ||ibalzamova || Completed |-| int iof_menuItem() || apliats || Completed |- |} {| class="wikitable" border="1"|+ Bugs ! Problem description, suggestions, guesses etc. !!Date discovered !! Discovered by !! Fixed by !!Date fixed|-| Revision 74 was not in compile state because datalen was already defined at the top of iof.c || 06/21/2010 || jquan4 || jquan4||06/21/2010 |-| I put in a trunk test main and tried to run it. Our code didn't pass test#6. I was able to check and uncheck box but wasn't able to move to the next check box using the right key || Jun21 23[http:30 || apliats || mjschranz|| 06/22/2010 |- | Test 8 currently has errorszenit. Can't move up or down in the menu and it's not responsive to the space key to select each onesenecac. || 06/22/2010 || mjschranz || mjschranz || 06/22/2010 |- | Test 9.4 is currently failing. Following message is returned from iofmain.c: iof_edit() was supposed to have the following values but it doesn't: insert is 1, but should be 0. My guess is it has something to do with insertmode perhaps when the INSERT_KEY is being hit, as that is what it is testing. Test 9on.4: iof_edit() toggling insert: The insert is set to 1, hit insert key once and then hit ENTER only to test! || 06/22/2010 || mjschranz || mjschranz || 06ca/22wiki/2010 |- | Test 9.9 is currently failing. END_KEY is not functioning properlyindex. Hurray! iof_edit() was supposed to have the following values but it doesn't: curpos is 19, but should be 15 offset is 5, but should be 10 || 06php/22/2010 || mjschranz || mjschranz || 06/23/2010 |OOP344_- | Test 9.22 is currently failing. - iof_edit() does not have correct value for its data: Shoule be:ABCDEFGHINOPQRSTUVWXYZabcdefghijklmnopqrs Value is:ABCDEFGHIJNOPQRSTUVWXYZabcdefghijklmnopqrs jquan4 solution: The solution to this error was that backspace was not changing offset in order to get the forth and remove it.It is now fixed in revision 86 || 06/23/2010 || mjschranz || jquan4|| 06/23/2010 |- | Test 9.23 is currently failing as well. It tests for what values are based on when IsTextEditor is 0 and ESCAPE_KEY is hit. Comment out #defines in iofmain.c if you want to test this one directly.mjschranz solution: Basically, after reading the instructions a little bit more clearly for ESCAPE_KEY and IsTextEdior being 0 I figured it out. We currently were restoring the string to the previous incarnation of it with the backup, but we had no backup for the offset and curpos values. All I did was make two integer variables for them and then assigned *offset and *curpos to them whenever ESCAPE_KEY was hit and IsTextEditor was 0. Fixed in revision 87. || 06/23/2010 || mjschranz || mjschranz || 06/23/2010 |- |}_Success_Project_Dev_Complex_IO_Functions Complex IO Functions Project Development]