Difference between revisions of "BTP300A Team 4 Bugs Report"
Line 74: | Line 74: | ||
==Week 5 == | ==Week 5 == | ||
+ | |||
+ | 9/28 - Pair Programming - very eventful! | ||
+ | |||
+ | Issue 1: Problem with End button after a DEL - cursor Position was jumping to maxStrLength. (fixed!) | ||
+ | |||
+ | Issue 2: DEL key - was adjusting the offset and moving characters to the right instead of to the left (fixed!) | ||
+ | |||
+ | Issue 3: INSERT - when in INSERT mode entering characters it was adding the new chars to the left of the cursor instead of to the right of the cursor (fixed!) |
Revision as of 15:36, 28 September 2013
Team members: Jodie Carleton and Maggie Ha
Week 1
- 09/09/13: Began development.
Week 2
- 09/16/13: Began working on display function
- 09/16/13: Compiling error:
/tmp/ccagyqLx.o: In function `cio::Console::Console()': console.cpp:(.text+0x7): undefined reference to `initscr' console.cpp:(.text+0xc): undefined reference to `noecho' console.cpp:(.text+0x11): undefined reference to `cbreak' console.cpp:(.text+0x16): undefined reference to `stdscr' console.cpp:(.text+0x26): undefined reference to `keypad' console.cpp:(.text+0x2c): undefined reference to `LINES' console.cpp:(.text+0x38): undefined reference to `COLS' /tmp/ccagyqLx.o: In function `cio::Console::~Console()': console.cpp:(.text+0xcf): undefined reference to `endwin' /tmp/ccagyqLx.o: In function `cio::Console::clear()': console.cpp:(.text+0xdd): undefined reference to `erase' /tmp/ccagyqLx.o: In function `cio::Console::getKey()': console.cpp:(.text+0xf5): undefined reference to `refresh' console.cpp:(.text+0xfa): undefined reference to `stdscr' console.cpp:(.text+0x102): undefined reference to `wgetch' /tmp/ccagyqLx.o: In function `cio::Console::setPosition(int, int)': console.cpp:(.text+0x25a): undefined reference to `move' /tmp/ccagyqLx.o: In function `cio::Console::drawCharacter()': console.cpp:(.text+0x294): undefined reference to `stdscr' console.cpp:(.text+0x2a0): undefined reference to `waddch' /tmp/ccagyqLx.o: In function `cio::operator<<(cio::Console&, char)': console.cpp:(.text+0x2b7): undefined reference to `stdscr' console.cpp:(.text+0x2c3): undefined reference to `waddch' collect2: ld returned 1 exit status
FIXED! Forgot -lncurses
Week 3
9/19 - Pair Programming - used to complete display function. Discovered that we needed to use max columns.
- Ran in to an issue with printing values for troubleshooting purposes - will post on other board for help.
9/20 - Pair Programming - Discovered our display function was not positioning the cursor properly at the end of the string. FIXED!
Week 4
9/24 - Pair Programming - working on edit function. Errors: consolelineedit.cpp:75:33: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] consolelineedit.cpp:76:25: error: invalid conversion from âsize_t {aka unsigned int}â to âint*â [-fpermissive]
- had to dereference "strOffset" (FIXED!)
consolelineedit.cpp: In function âint edit(char*, int, int, int, int, bool*, int*, int*)â: consolelineedit.cpp:80:22: warning: NULL used in arithmetic [-Wpointer-arith]
- field dereference that shouldn't be dereferenced - cannot compare int with NULL, but can with pointer (FIXED!)
consolelineedit.cpp:131:3: error: expected primary-expression before â}â token
consolelineedit.cpp:131:3: error: expected â;â before â}â token
- forgot braces (FIXED!)
9/26 - Pair Programming - Had an awesome time today!
Issue 1: string was not being printed, but the cursor was being placed appropriately at the end of the string. Fixed!
- had an "if" , "else if", but no "else" (Yay fixed!)
Issue 2: RIGHT arrow jumping cursor to the end of the field length and display not refreshing properly. Fixed! - Had to call display function first before calling the "setPosition".
Issue 3: HOME button not working properly (not sure if Matrix or computer that we are on) - tested code using another button that we know works - verified the code is working as expected - must be issue with the button. (will retest on another computer).
Week 5
9/28 - Pair Programming - very eventful!
Issue 1: Problem with End button after a DEL - cursor Position was jumping to maxStrLength. (fixed!)
Issue 2: DEL key - was adjusting the offset and moving characters to the right instead of to the left (fixed!)
Issue 3: INSERT - when in INSERT mode entering characters it was adding the new chars to the left of the cursor instead of to the right of the cursor (fixed!)