Changes

Jump to: navigation, search

BTP300B A2 Team 1 Bugs Report

5,059 bytes added, 19:24, 4 December 2013
no edit summary
CFrame myFrame();
CFrame myFrameParent(2, 2, 40, 10, true, "$-%|*+@-", &myFrame);
 
 
Resolved the move issue. There are still a few minor glitches remaining like the inner frame leaving a trail as it moves around inside the outer frame and the inner frame disappearing when the outer frame is moved until escape key is hit.
 
set up my SVN using Tortoise. I'm not sure how this works but I think I've just exported my latest copy of the assignment over to the repo. Can you confirm that its there and you can import it? I've managed to fix the issue with the trailing character though right now I'm a bit lost with regards to what other tests our application needs to pass for it to be considered ready to hand in. There's also an issue of the program crashing on exit (once the user hits esc to exit the test)
 
 
Nov 3, Done some more fixes and now the frame appears as full screen whenever row, column, width or height is set to a negative value and the frame borders are now blank when the frame visibility is set to false. The 'fix' on the crash on exit by the destructor was done by commenting out the one line that clears the buffer which keeps the program from crashing on exit.
 
I've updated the SVN though I'm not sure if my changes got reflected on the SVN (I'm still trying to get the hang of this) so I've attached a zip file with the updated code just in case it didn't go through.
 
other than the destructor issue I think that's it for this assignment. I started some minor stuff for R2, just setting up the header files for the classes for that release so there should be some additional .h files in the zip and repo.
 
Nov 4, took on Michael and Jay for A2R2.
 
fixed the issue with the frame moving past the bottom of the parent frame and "moving" message now dissappears once the user hits escape and takes the frame out of move mode.
 
Nov 9, Finished working on the framework of assignment2 release 2. This framework should follow the structure specified in the assignment so the only thing left would be to do the actual implementation of the methods for each class.
 
Divided work amoung group, Michael, wants to do the CDialog class, Huda is doing CButton and Shianne is doing CLabel. Haven't heard from Jay yet.
 
I'll get started on CField on Monday and try to get it done ASAP.
 
Nov 12, Finished work on the CField class last night. Decided to get started on CLine since I haven't heard from Jay at all.
 
Nov 16, There was an error in the edit method of CFrame in which the program was crashing when the user tries to edit the string. It turns out that the method was trying to pass a char* to the consolelineedit method which only takes in char arrays. The issue is resolved and I've updated the files in the SVN.
 
Nov 18, CLine and CDialog are pretty much close to being done while CField is done. I set the attributes to the CFrame class to protected as per Michael's recommendation and added offset and cursor Position.
 
Nov 25, added in the Set functionality (it should be the same as in CLine from the looks of the specs so it just invokes the allocateandcopy method). Modified CDialog and CField to fix the compile errors I was getting. I added the destructor implementation to the cpp and modified the add and edit methods of CField and CDialog to be able to accept function calls with one or no arguments. It's compiling and running with the default A2test but getting crashes so definitely still some more debugging is needed. Also the edit method in CButton still needs to be implemented.
 
Nov 29, I debugged the assignment yesterday and managed to fix one bug that was causing the program to crash but there is still an issue with the edit method in CDialog and CField in which the program is crashing and giving a corrupted memory heap error when attempting to edit the data string.
 
Dec 2, Did some more fixes today. It's no longer crashing on edit, turns out we needed to put in an if statement in consolelineedit to catch if fieldLen is negative value and to set it to strlen of the passed string. (basically it was trying to create a new string with a negative value lenght without the if statement). Also ended up fixing CButton by getting rid of the allocate statement at the constructor (it was trying to allocate framedata which hasn't been set it at the constructor).
 
Dec 3, Fixed the bugs on CButton, CLine, CField and CLabel begun debugging CDialog which is giving an error on the edit method.
 
Dec 4, talked with Huda and she mentioned that she has worked on a version of CDialog. Tested it and it works perfectly and is not causing any errors. Was getting a crash but traced that to a fault in my CField constructor which is setting linedata to NULL rather than as an empty string which was causing a crash when passed to the << operator in console. Fixed it and the program seems to be working properly now. Will confirm with Peter tomorrow morning to make sure that everything ready to be handed in.
 
Drafted this development diary from my entries in the chain email sent between the team. Began drafting the peer review and team experience documentation.
 
1
edit

Navigation menu