BTP300A Team 2 Bugs Report

From CDOT Wiki
Jump to: navigation, search

TEAM 2 - Pedro Bellesa || David Gousvaris

Week 1

Reading Assignment documents.

Week 2

Working on Display function.
 * Problems with cursor positioning.

Week 3

Display Function working.
Working on Edit function:
    * RIGHT, LEFT and BACKSPACE.
    * Not sure how to use curPosition and strOffset.

Week 4

Working on Edit function:
    * RIGHT, LEFT and BACKSPACE working.
    * HOME, END and exit keys working.
    * Correctly using curPosition and strOffset after changing logic (sending pointers to display function).
    * Problems over-striking characters in field.

(Sept 28/13)

    * Over-striking works properly, minus trying to type something at the very end of the string(most likely a memory leak).
    * END button was not working as intended(was going to position 28 instead of 27) in the event strlen was 27 [FIXED].
(*UPDATE)
    * Memory leak was a result of right arrow and overstike mode allowing strOffset to get too high, (maxStringLength - 1),
      proper max is (maxStringLength - fieldLength - 1).
    * Fixed END key for the third time. It's strOffset went too far and allowed typing and such outside of string after hitting end.
    * BACKSPACE appears to be fully functional (it no longer acts like DEL when (strOffset + curPosition = 0))
(**UPDATE)
    * Made progress on DEL, kinda works, but changes to str are inconsistent, and trying to use it near the end of the string
      is catastrophic.

(Sept 28/13)

    * DEL works now. (for loop had an incorrect parameter).
    * noticed ESCAPE's backup str did not need to be dynamically allocated.
    * INSERT now exists and works.