1
edit
Changes
dec1 log
[18:12] <@fardad> gnite then
</pre>
<p>'''-Dec1, 2010'''</p>
<pre>
Channel view for “#rep3” opened.
-->|
YOU (obogomaz) have joined #rep3
=-=
Mode #rep3 +ns by holmes.freenode.net
-->|
jrobinson7 (jrobinson7@CPE001d7e527dfa-CM00111ae5c584.cpe.net.cable.rogers.com) has joined #rep3
-->|
kmcdonald11 (~kmcdonald@CPE00222d2e9fac-CM00222d2e9fa8.cpe.net.cable.rogers.com) has joined #rep3
<kmcdonald11>
check is so short but the tester is so messed up for me
<jrobinson7>
how we see the working testers?
<kmcdonald11>
what do you mean?
<kmcdonald11>
which testers work?
<jrobinson7>
ddidn't the teacher say something about having compiled versions of the testers so we can see wut its suppose to do?
<kmcdonald11>
like .exe files? i'm not sure how to do that on windows
<kmcdonald11>
but i won't bother just yet
<kmcdonald11>
since we're not doe editing
<kmcdonald11>
done**
<jrobinson7>
i jus wanna see wut its suppose to look like
<kmcdonald11>
ohhh
<kmcdonald11>
it's on matrix
<obogomaz>
~fardad.soleimanloo/t3
<kmcdonald11>
log in and at command line, just type "~fardad.soleimanloo/tx" and replace x with a test number
<kmcdonald11>
the info for it's on wiki
<jrobinson7>
mk
<jrobinson7>
cant even connect ><
<kmcdonald11>
all that's missing are some borders around text fields
<jrobinson7>
i cant even get test 6 to run
<kmcdonald11>
check's alignment is reallly off. trying to see what's up with it now
<jrobinson7>
test 5?
<kmcdonald11>
oh, look at his code for t6
<kmcdonald11>
there's comments you have to take out
<jrobinson7>
oo the 2 comments? thanks
<jrobinson7>
oleg where did the teacher have fn = 0?
<obogomaz>
did that, in dialog, trying to find why border around linedit field not drawing...test3
<jrobinson7>
well i dont have that, thats why im askin! lol
<jrobinson7>
i got it too
<kmcdonald11>
line edit is a field, and field isn't passing a container to border to draw
<kmcdonald11>
pretty sure you just change field's constructor
<kmcdonald11>
but i can't figure out how
<kmcdonald11>
you have to pass it a FWBorder* fortheContainer
<jrobinson7>
i believe fardad was explaining that in class
<obogomaz>
i think it's in linedit's draw
<obogomaz>
// If Border is visible, call Border's draw
<obogomaz>
we never do it
<kmcdonald11>
yeah, i have it commented out in mine already
<kmcdonald11>
that's the source of our endless loops
<jrobinson7>
endless loop with test7 rofl
<kmcdonald11>
test 7 is text, right?
<kmcdonald11>
that's the last one?
<jrobinson7>
ya im not working on it now, just wanted to see how well it was and jus loops and loops lol
<jrobinson7>
hm even test 1 seems buggy
<kmcdonald11>
how so?
<jrobinson7>
draws it twice
<jrobinson7>
i mean draws each border twice
<jrobinson7>
first draws it one spot above where its suppose to go then draws it where its suppose to be
<kmcdonald11>
is it because of the buffering?
<jrobinson7>
or im going nuts staring at this crap
<jrobinson7>
ya if u go into fwborder::draw
<jrobinson7>
and put a break on the last line of the function (mines 71)
<jrobinson7>
u can see it prints twice
<jrobinson7>
maybe its suppose to tho lol if i do that and try moving the containter, it prints the containter, then prints the Movin! ESC: exit in the top right and the container is printed again 1 line down
<kmcdonald11>
is it because it's refreshing?
<kmcdonald11>
i have no idea.. it seems right to me. works like fardad's from what i can tell
<kmcdonald11>
but if you find an error i'll change it
<kmcdonald11>
for t1, the only thing calling draw is the test
<jrobinson7>
put a break in fwborder::draw(refresh)
<jrobinson7>
at the end of the function
<jrobinson7>
and u'll see
<kmcdonald11>
alright.. i'll try it in a bit. it seems fine for me but i'll add a break later
<kmcdonald11>
it may be because the border we can see is actually already inside a container
<kmcdonald11>
it's just invisible
<kmcdonald11>
the top "moving" thing is supposed to be on top though
<kmcdonald11>
that's what fardad's does
<kmcdonald11>
is text done, btw? i didn't know if i should remove it off of the current tasks or not
<jrobinson7>
o hell no
<jrobinson7>
buuut thats why i wanted to see fardads compiled tests
<jrobinson7>
not sure wuts wut, and the height my class is getting is wrong for the container its in and i have no idea why
<kmcdonald11>
well, done = compiling. i don't mean don debugging
<kmcdonald11>
ps, i'm not sure if you're trying to use zenit for his testers or not.. but matrix works fine in case you know that password
<jrobinson7>
i cant log in
<kmcdonald11>
to matix?
<kmcdonald11>
should be the same password as your email
<jrobinson7>
ya im an idiot and put zenit.senecac
<jrobinson7>
but now that i see it i see my alignment isn't off woot
<kmcdonald11>
i added a break and i wasn't seeing doubles
<jrobinson7>
no not doubles
<jrobinson7>
but prints it on one line then push f5 to cycle thru and it prints on the line below
<jrobinson7>
like when u goto move it to the left
<kmcdonald11>
oh, yeah, i saw that
<kmcdonald11>
the container
<jrobinson7>
ya
<jrobinson7>
like when u dont see moving
<jrobinson7>
or Moving! w/e
<obogomaz>
there is still something wrong with dialog too, so that could be your problem too, i'm just looking into border around visible fields and why the alignment is off in test5
<jrobinson7>
its on one line, then it prints it all again and because of the Moving! crap it goes down one
<kmcdonald11>
moving prints on top of everything, so it wouldn't be because of that
<jrobinson7>
then i have no idea
<jrobinson7>
lol
<kmcdonald11>
there's an invisible container.. maybe because of that. idk, it looks just like fardad's when i run it
<kmcdonald11>
if i have time i'll check it out
<jrobinson7>
well i couldn't see fardads test do that and could see it in ours
<jrobinson7>
but like fardad says windows doesn't have that buffer crap so wont run as smooth so that could just be why
<kmcdonald11>
making progress on check
<kmcdonald11>
few changes
<kmcdonald11>
radio button is being a pain, but already looks much better than it did an horu ago
<obogomaz>
still can't figure out dialog container and offset for help box in test5, any ideas, anyone?
<jrobinson7>
no idea
<jrobinson7>
still gotta fix our loop problem too
<jrobinson7>
and i dunno why it wont draw the inner container on the last test
<kmcdonald11>
i'll look at it soon. i tihnk i'm almost done 6
<kmcdonald11>
what loop problem?
<jrobinson7>
well im SUPPOSE to callthe parents draw but if i have that it just loops
<kmcdonald11>
just don't call it
<kmcdonald11>
it happens for all of ours in every function we're supposed to call draw
<kmcdonald11>
either we're taking it too literally, or he wrote it wrong
<kmcdonald11>
because it will automatically draw
<jrobinson7>
not the inner border lol
<kmcdonald11>
then perhaps it's again with the container that's not showing up
<jrobinson7>
wut we call to jus clear the screen?
<kmcdonald11>
iol_clrscr i think
<jrobinson7>
kk
<jrobinson7>
got it so it doesn't print it in 2 spots
<kmcdonald11>
where in the world if fardad?
<kmcdonald11>
we've had zero help from him :(
<jrobinson7>
o ya btw
<jrobinson7>
fardad said rogers cancelled his internet or some shit
<kmcdonald11>
ha.. good timing
<jrobinson7>
ya thats why he just left last night... or well so he says
<kmcdonald11>
t6 is pretty good.. just doesn't work with the radio button
<jrobinson7>
umm in test 4
<jrobinson7>
after u push escape do u get a break pop up?
<kmcdonald11>
i used to. if you scroll up, i said to remove the destructor so it's empty
<kmcdonald11>
hm.. maybe i didn't. i thought i did. maybe it was in the old conversation, but i closed it already
<kmcdonald11>
anyways, yeah.. jsut remove the stuff in button's destructor
<kmcdonald11>
and esc will work
<jrobinson7>
lol
<jrobinson7>
i was gonna say i REALLY dont remember that haha
<jrobinson7>
i remember u saying that u commented stuff out in the tester file
<jrobinson7>
so just comment out free(_data)
<jrobinson7>
ahh nice :)
<jrobinson7>
o question, in ur test 3, if u push f2 does it exit for u?
<kmcdonald11>
just remove the stuff in the destructor completely
<kmcdonald11>
and i don't think.. can't remember
<kmcdonald11>
i'm trying to focus on the ones that are completely broken
<jrobinson7>
well it wasn't working for me
<jrobinson7>
but i changed random crap and now it is lol
<jrobinson7>
and the border doesb't shift anymore, cant seem to figure out any important fixes tho ><
<kmcdonald11>
t6.. the radio button thing in iol.c isn't working right. doesn't reutnr or something.. so the test is getting stuck there
<kmcdonald11>
i'll go commit check to trunk now
<kmcdonald11>
since i changed quite a bit
<jrobinson7>
wait
<jrobinson7>
go ahead
<jrobinson7>
but which files u change?
<kmcdonald11>
already did
<kmcdonald11>
just check
<kmcdonald11>
i thiiink
<jrobinson7>
ok kool
<jrobinson7>
i changed border a wii bit
<kmcdonald11>
branch is saying otherwise, but i'm not sure
<jrobinson7>
and maybe txt but i dont remember
<kmcdonald11>
oh, i changed label a bit too
<kmcdonald11>
are you uploading or is it safe?
<obogomaz>
my f2 works fine, and i got inner border printing for test3 and5 just working on alignment in test5
<obogomaz>
we should just work on different stuff otherwise everybody make a small change here and there i have no idea what works and what not...
<kmcdonald11>
i just put my updates from label and check in there. i still can't get the radio button working, but i think it's an issue in iol.c
<kmcdonald11>
that's all i changed
<jrobinson7>
kk well i just changed a couple of lines in border
<kmcdonald11>
can you put it in iol.6?
<obogomaz>
the problem for inner border not printing was in FWBorder
<obogomaz>
if(refresh=FW_REFRESH){
<obogomaz>
//if( _container!=NULL )
<obogomaz>
// _container->draw();
<obogomaz>
}
<obogomaz>
this creates infinite loop
<jrobinson7>
it is
<kmcdonald11>
i was looking at that earlier, too!
<kmcdonald11>
so now all the boarders show up?
<jrobinson7>
for which test?
<jrobinson7>
not mine
<kmcdonald11>
even with those changes?
<jrobinson7>
sorry commited the wrong damn text file lol
<kmcdonald11>
i'm gonna wait til everyone's changes are there and just rebranch it out to start working on the latest stuff
<obogomaz>
the borders show up, there are more changes to linedit constructor with height and drawing the border....i'll committ later
<jrobinson7>
so take out
<jrobinson7>
if(refresh=FW_REFRESH){
<jrobinson7>
if( _container!=NULL )
<jrobinson7>
_container->draw();
<jrobinson7>
}
<kmcdonald11>
so, just the radio button issue is left, i think?
<kmcdonald11>
and then text
<jrobinson7>
no border for me
<jrobinson7>
u run the test?
<kmcdonald11>
which test?
<jrobinson7>
7
<obogomaz>
James, forget the border, i got it man...see if you can fix alignment for test 5
<jrobinson7>
well it aint workin for me lol
<kmcdonald11>
isn't working for what?
<kmcdonald11>
which test?
<jrobinson7>
test 7...
<kmcdonald11>
test 7 uses like all of the previous classes
<kmcdonald11>
i wouldn't try to fix text just yet if we haven't got this stuff down yet
<kmcdonald11>
super close
<jrobinson7>
i jus wanna know if its like that for u guys too
<kmcdonald11>
i haven't even compiled t7
<jrobinson7>
jus one click of the button :P
<kmcdonald11>
i'm trying to get the first onse out of the way so there will be less errors in t7
<jrobinson7>
just so u know for test 5
<jrobinson7>
theres suppose to be borders around where u enter data for name and all that
<jrobinson7>
also when u push f1, the border is in the right spot, the font is being printed in the wrong spot
<kmcdonald11>
haha, i know. i ran it
<jrobinson7>
lol ok just wanted to make sure
<kmcdonald11>
all tests that have individual containers aren't showing up right
<jrobinson7>
cause i didn't know there were containers for name n stuff
<jrobinson7>
and thought the font was in the right place and the container wasn't (for the help pop up i mean)
<kmcdonald11>
the container issue is pretty big.. that's why i was hoping fardad would be on
<kmcdonald11>
it's a very small change, but i can't figure it out
<obogomaz>
ok, the borders are printing in tests3 and 5 but the alignment of help and exit in 5 i can't seem to understand...i'm guessing it has to do with that _data + _offset in linedit draw and edit, we never add _offset as Fardad specifies
<kmcdonald11>
maybe. i think i'm going to start looking at the t5 help box because i haven't been able to solve the radio button issue yet
<kmcdonald11>
could you update and commit the changes?
<kmcdonald11>
i did add 2 things into trunk already
<obogomaz>
When Fardad says: Bordered being true or false) the Height is set to 3 or 1 respectfully. in one line function it is: Bordered?3:1 Right?
<kmcdonald11>
if bordered is true, the height will be 3
<kmcdonald11>
so i think that's how
<kmcdonald11>
i couldn't get it to set correctly
<obogomaz>
for some reason it always returns 3
<kmcdonald11>
is Bordered set to a default in the .h?
<kmcdonald11>
might be messing it up if the child isn't passing a border
<kmcdonald11>
i mean if the child isn't passing Bordered
<jrobinson7>
border prints where u enter name in test 5?
<kmcdonald11>
i have it printing between lastname and number
<kmcdonald11>
working on it now
<kmcdonald11>
going to take a break from the radio button thing
<jrobinson7>
mmk
<obogomaz>
i already have the border printing in the right place, just adjusting the height now...may be someone fines the alignment issue
<jrobinson7>
border for wut?
<kmcdonald11>
and which alignment issue? i'll take a look if you've already got the border in the right spot
<jrobinson7>
wut were u stuck on with test 6?
<kmcdonald11>
when you go down to the radio button, it doesn't change
<kmcdonald11>
it gets stuck there
<kmcdonald11>
and it also displays the wrong status
<jrobinson7>
mine changes
<jrobinson7>
right status
<jrobinson7>
but seems to be stuck in a loop
<jrobinson7>
haha
<kmcdonald11>
then i think it's the same spot
<jrobinson7>
like u can change the check box and its good
<kmcdonald11>
once you move down, can you get out?
<jrobinson7>
change radio and it changes to Checked
<kmcdonald11>
yeah, check box is fine
<jrobinson7>
seems like its the up button
<kmcdonald11>
well you should be able to hit down and it'll do the same
<kmcdonald11>
or once you get down to the radio, can you change it?
<jrobinson7>
ya
<jrobinson7>
and the status changes
<jrobinson7>
bbut then u cant move
<jrobinson7>
and if ur on the checkbox
<jrobinson7>
and hit up
<jrobinson7>
and crashes
<kmcdonald11>
yeah, i get the crash. my radio button text won't change back and forth
<kmcdonald11>
like as soon as i select it, the O shows up but the text doesn't switch
<kmcdonald11>
hmm
<obogomaz>
i have borders drawing in test 5 perfectly but when you click ESC or F2 the menu's text is not aligned properly...
<kmcdonald11>
i've been trying to follow it for a while now
<kmcdonald11>
the help menu?
<obogomaz>
sorry help and exit menues
<kmcdonald11>
ahh, yes. i thought you meant you have those borders working. i'm trying to solve that and the radio button atm
<obogomaz>
now i have no idea how to commit what i have since i made a branch of changes in dialog, linedit, border and i think somewhere else...lol
<jrobinson7>
ya im trying this radio
<jrobinson7>
is the up key i believe
<jrobinson7>
seems to put it in a damn loop
<obogomaz>
sorry i got the borders printing around the name phone lastname but the help menu text is offset higher
<obogomaz>
has anybody made any changes to border, dialog and linedit?
<kmcdonald11>
negative
<kmcdonald11>
i've only had firm changes on button and label
<obogomaz>
ok i'll commit it now, is it ok?
<obogomaz>
trunk/iol.6?
<kmcdonald11>
yes please
<jrobinson7>
almost done button
<jrobinson7>
got it to work
<jrobinson7>
CEPT when ur at the top and push up
<kmcdonald11>
i'm working with valedit's alignment.. and funny thing is that i can only get it to change if i mess with the tester program
<kmcdonald11>
and tell it to create the new dialog elsewhere
<kmcdonald11>
this is what it's using:
<kmcdonald11>
(iol_rows()- 10)/2, (iol_cols()-40)/2
<obogomaz>
i'll commit in 5min, i had the same idea about valedit...must be dialog's fault
<kmcdonald11>
i think it's in dialog, but dialog is receiving the correct values. i'll keep looking
<jrobinson7>
i believe i got test 6 all working
<kmcdonald11>
commit after oleg and then we'll all start working from everyone's current version
<jrobinson7>
i dont know which files i HAD to change for it to work tho
<jrobinson7>
SHIT not working for test 3 grr
<jrobinson7>
do some1 do me a fav and run test 3 please
<kmcdonald11>
don't update every file.. try and figure out which ones you changed. and if it breaks t3, i wouldn't upload it. earlier when i was working on button, i could've easily made it work a few times but it messed up other tests
<jrobinson7>
didn't break it
<jrobinson7>
made it so when u push up on name it didn't go down to the last field
<jrobinson7>
and escape still dont work lol
<jrobinson7>
and according to svn i changed dialog check label and text
<kmcdonald11>
wait thoughhh
<kmcdonald11>
when you hit up, it's supposed to go to the last editible field
<kmcdonald11>
if you are a tthe first editible, that is
<jrobinson7>
i know
<jrobinson7>
was saying what was wrong
<jrobinson7>
but i fixed it
<jrobinson7>
BUT
<kmcdonald11>
i thought you said you changed it so it didn't work. gah
<jrobinson7>
now in check or w/e it doesn't go up from the radio button hahaha
<jrobinson7>
i did say that
<kmcdonald11>
now i'm getting confused. does it still loop around through fields or no? for t3, that is
<obogomaz>
sorry, i committed already, updated border.cpp dialog.cpp linedit.cpp
<jrobinson7>
yup works perfect
<jrobinson7>
but with test 6
<jrobinson7>
when ur on the radio, u cant go up to the check
<kmcdonald11>
oh.. it's always been that way for me haha
<jrobinson7>
nope
<jrobinson7>
cause u can go down to it ;)
<jrobinson7>
and u can go up from check to the radio
<jrobinson7>
so u aren't stuck there
<kmcdonald11>
ohhhh, okay. i see. so down for the radio works now, and up on check doesn't crash
<kmcdonald11>
okay okay
<kmcdonald11>
you're hard ot understand
<jrobinson7>
yes!
<jrobinson7>
gee thanks
<kmcdonald11>
well you said you couldn't go up when on radio.. and mine's always been that way, lol
<kmcdonald11>
anyways
<kmcdonald11>
update/commits all around
<obogomaz>
well, i'll be going now...have a good night guys...get some sleep too...this is going to drive you crazy :)
<obogomaz>
Hey, James, what time are you heading to school tomorrow?
<jrobinson7>
taking a 1:40 bus
<jrobinson7>
get there about 3 ish
<obogomaz>
can please print that dbs stuff for me
<jrobinson7>
yup
<obogomaz>
i'm not working tomorrow, so might look at it tomorrow some more...please commit what you have
<obogomaz>
when are taking those pics?
<jrobinson7>
i duno
<jrobinson7>
but we both updated fialog
<kmcdonald11>
i'll finish up the dbs assignment, and then perhaps work more on this. we're pretty close.. like, 75% :P
<jrobinson7>
dialog
<obogomaz>
Thursday?
<jrobinson7>
sure. but u do a lot of work to dialog?
<jrobinson7>
ya for dbs all u gotta do is make a view or something like that lol
<obogomaz>
i don't know now about the dialog, see which one works best i guess...we should really assign work so merging is a little easier...
<kmcdonald11>
yeah :/ i tried merging when you guys were at school and i still couldn't get it to work, lol
<jrobinson7>
ya i dont like merging
<jrobinson7>
even with a file u guys dont touch i have no luck lol
<obogomaz>
we should work on separate tasks then it's more efficient than jumping around...
<obogomaz>
i'll talk to you guys tomorrow, have a good night !!!
</pre>