Difference between revisions of "OOP244 - Success Project Dev Page - 20101"

From CDOT Wiki
Jump to: navigation, search
m (Part 2- complex functions: Added revision fix to Error 9.23)
(added platform test table and platforms i tested to project development for complex functions)
Line 71: Line 71:
||initial corrections||jquan4||completed
||initial corrections||jquan4||completed
{| class="wikitable" border="1"
|+  platform tests
<br/>staus- 2/5
! Platforms !! Member Responsible !! Status
|VCC|| jquan4|| completed pass all tests
|BCC||jquan4|| completed pass all tests
|MAC|| -|| -
|LNX||-|| -

Revision as of 21:42, 23 June 2010

OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Simple Function Commit Tasks
Assignment Complete. Email was sent to farded and it has been branched into tags under iof_0.1
Function Member Responsible Status
void iof_init() jquan4 Completed
void iof_end() jquan4 Completed
int iof_rows() apliats Completed
int iof_cols() apliats Completed
void iof_clrscr() ibalzamova Completed
void iof_flush() ibalzamova Completed
int iof_getch() mjschranz Completed
void iof_movecur(int r, int c) mjschranz Completed
void iof_putch(int c) mjschranz Completed
void iof_prntstr(const char* str) jquan4 Completed

Part 2- complex functions

int iof_edit() Special Key switch cases
staus- work in progress
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

platform tests
staus- 2/5
Platforms Member Responsible Status
VCC jquan4 completed pass all tests
BCC jquan4 completed pass all tests
MAC - -
LNX - -
other complex functions
staus- work in progress
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

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:30 apliats mjschranz 06/22/2010
Test 8 currently has errors. Can't move up or down in the menu and it's not responsive to the space key to select each one. 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 9.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 06/22/2010
Test 9.9 is currently failing. END_KEY is not functioning properly. 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

06/22/2010 mjschranz mjschranz 06/23/2010
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