Thread: Re: [bme-develop] New source code?
Status: Planning
Brought to you by:
sirmik
|
From: Daniel G. <al7...@ma...> - 2004-03-16 06:09:42
|
Hi, > Hi Daniel, > > I think you've read my mind, because I thought it was time to set up > a cvs > server. Worked on the font effects yesterday, aren't working yet...I > tried > the cvs checkout and it worked, I think....but I only got a src > directory...(cvs stopped after exceptions.h....I waited a while that > ctrl+c > it) should it also include a project file? if so we must make sure we > have > cryptlib in the same directory on our pc's(now I'm constantly > changing the > project file)...btw, how can we checkin code? > src is the only thing I have in the cvs. I don't know why it hangs after the last file... it's weird I tried to access it from a windows machine and got the same result. To checkin changes in the code the command is (you have to be in the directory src) cvs commit But I suggest you see if there have been any changes in the code since you last checked out. You can do it with cvs diff file to compare your file with the one repository. cvs update will get you the latest version from the repository. Try man cvs for more commands and information. This is a good link to learn more about cvs: http://cvsbook.red-bean.com/cvsbook.html > regards, > > Tim > > P.s Technix asked some questions yesterday on beShare I gave him the > current > progress of our project...I don't think he will post it on tbj, but > if he > does, you know from who it came :D > > > >From: "Daniel Guajardo" <al7...@ma...> > >To: "Simon Taylor" <sim...@ga...>, "Sir Mik" > ><obe...@ho...> > >Subject: Re: [bme-develop] New source code? > >Date: Mon, 15 Mar 2004 02:42:59 -0600 CST > > > >Hi again. As you probably noticed there are some errors in the > >exceptions class. > >That's way I'm sending it to you again. Also there was a memory leak > > in > >the DS server handler class from the use of exceptions - also fixed. > > > >The reason why I not sending this mail to the list is because I > > wanted > >to tell you that I am running cvs pserver on my computer, so > > everybody > >can access the code. I have set up these users for you: mik, simon, > > the > >password is bme. I don't know if you have used cvs before, but here > > is > >what you need to do to get the code. > > CVSROOT=':pserver:mi...@ta...:/boot/home/CVSHOME'; export > >CVSROOT > > cvs login > > cvs checkout src > >Let's hope my IP does not change during the day because I haven't > > set > >up an automatic update for dyndns. > >Please let me know if you can access my computer and the CVS > >repository. > > > >Thanks, > >Daniel > > > > > Hi Daniel, > > > > > > >Here is the code. Sorry, I had forgotten to send it to you. > > > > Anyway > > > > let > > > >me tell you what's new in this one. > > > Nevermind we have it now, right...and I hadn't got the time to do > > > something > > > anyway in the last couple of weeks...but now I can start on > > > something...first thing I will add(if you didn't do that already) > > > is > > > the use > > > of the EF(effects) parameter in the messages...so we can get > > > bold, > > > italic, > > > understroke etc in our conversations, then I will continue on the > > > emoticons. > > > > > > >The sing-in issue cause by the change in MSN servers is fix. > > > >Another big change was that now everything gets log into a file. > > > >Everything except the conversation, the actual contents of the > > > > messages > > > >remain private. I did this so people could send the log files > > > > when > > > > the > > > >program crashes for some reason. > > > >The file is created in /boot/home/config/settings/ as > > > > BeMSN.log > > > Nice! logging should help to clear up some issues. > > > > > > >And I have been working in better error handling, I included > > > > some > > > >Exception classes, look in exceptions.cpp/.h > > > >Right now only the connection/authentification problems are > > > > throwing > > > >Exceptions but I plan to use them in what ever makes sense to > > > > handle > > > >with exceptions. > > > > > > > This is very nice! I thought about using exceptions also...kind > > > of > > > how they > > > are handled in java...but aren't there issues lik memory leaks in > > > c++ > > > with > > > exceptions? did you also make an Exception main class like in > > > java? > > > > > > >About the beta testers I think that would be great!! We will > > > > really > > > >need them when we start working on file sharing and the other > > > > features. > > > >Right now, they can help making sure msgs get to the other side, > > > > and > > > >any other problems with the app. They could really help us. > > > > > > > One problem according to the person I spoke to, is that if > > > someone > > > else > > > tries to send you a file, the program crashes...I told him you > > > were > > > working > > > on file transfer....if that will take a while, we may have to > > > make a > > > quick > > > fix to avoid crashing...also try this talk to a person, close the > > > conv. > > > window, and let the person you talk to say something again....not > > > sure if > > > this goes wrong, but once I had that and no text showed > > > up....anyway > > > it's > > > worth investigating, > > > > > > thanx for the code....hope I can start programming now :D > > > > > > regards, > > > > > > Tim > > > > > > _________________________________________________________________ > > > Hotmail en Messenger on the move > > > http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/ > > > > > > ><< exceptions.zip >> > ><< BeOSAttributes >> > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > |
|
From: Daniel G. <al7...@ma...> - 2004-03-16 06:27:25
|
Hello, > Hi guys, > > busy with the Font effect's as I said, effect's are now succesfully > recognized...only problem: B_UNDERSCORE_FACE and B_STRIKEOUT_FACE > aren't > implemented according to the annotated bebook at beunited.org. I do > have to > test it if it works with italic and bold faces.... You are working on the GUI side only right? or are you working with IMgs from the MSN protocol? We should probably add a few parameters to the BMessage(MSN_SEND_MESSAGE) in order to include these effects. It would also be nice to choose different fonts and colors, right now every msg is hardcoded Arial black on the protocol side. > > >Tim, how's the website coming on? > > > uhm, haven't worked on it anymore...first have to figure out php...or > could > you get us a jsp server Daniel? then I'll do it in jsp, since I > already have > a page programmed in that language... I don't think I can get us one. Sorry. If we had java for BeOS maybe... jaja =) That would rock!! > > regards, > > Tim > Daniel |
|
From: Sir M. <obe...@ho...> - 2004-03-16 10:38:13
|
Hi, >You are working on the GUI side only right? or are you working with >IMgs from the MSN protocol? >We should probably add a few parameters to the >BMessage(MSN_SEND_MESSAGE) in order to include these effects. >It would also be nice to choose different fonts and colors, right now >every msg is hardcoded Arial black on the protocol side. > Uhm yes I changed a bit of code in the BMsnSBHandler class (and the MSNChatter class)...I changed to also parse the EF command and wrap the command part (I=italic, B=bold, U=underscore, S = Strikeout, and combinations of it) into the MSN_SEND_MESSAGE...hope that isn't a problem, I'll attach the new code... maybe it's also a better idea to change the insertIM(const char *fname, const char *im, rgb_color rgb, const char* effect) in MSNChatter to insertIM(BMessage *message) or isn't that possible, because of weird message things? In that we way don't have to pass all the parameters in the BMessage separately... I know now that Bold and/or Italic work, the font is properly changed...major thanx to a friend of mine, who helped me testing this...he also offered to be a beta tester...as I said the other two (underscore and strikeout) aren't implemented by be...we can provide a work around for that, but that may be difficult to realise...we'll see about that...I'm also thinking of installing some windows fonts in beOS to implement the font handling code(if the font isn't found, change back to a beOS font)...btw there is also a lot of info in the msn messages about what kind of font class (times new roman like, arial like) the message uses, maybe we can use that as well...to select an appropriate font, when the font itself isn't selected.... Yesterday I also continued my work on parsing the icon prefs file...I'm making a StringTokenizer for that, and that piece of code, has some problems with it, hope I'll figure it out today though... >I don't think I can get us one. Sorry. If we had java for BeOS >maybe... jaja =) >That would rock!! > That would rock indeed! Well then I suggest using the sourceforge webspace...have to learn some php then, so it can take some time before I have something decent...can send you the mockup of the page I flinged together last week...if you want (Simon already saw it)...then if we agree we can use that... regards, Tim _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |
|
From: Daniel G. <al7...@ma...> - 2004-03-17 06:44:42
|
Hi guys. The different timezones are becoming an issue with communication... jeje. I try to check my mail from work but have been very busy these couple of days. > Hi, > > >You are working on the GUI side only right? or are you working with > >IMgs from the MSN protocol? > >We should probably add a few parameters to the > >BMessage(MSN_SEND_MESSAGE) in order to include these effects. > >It would also be nice to choose different fonts and colors, right > > now > >every msg is hardcoded Arial black on the protocol side. > > > Uhm yes I changed a bit of code in the BMsnSBHandler class (and the > MSNChatter class)...I changed to also parse the EF command and wrap > the > command part (I=italic, B=bold, U=underscore, S = Strikeout, and > combinations of it) into the MSN_SEND_MESSAGE...hope that isn't a > problem, > I'll attach the new code... maybe it's also a better idea to change > the > insertIM(const char *fname, const char *im, rgb_color rgb, const char > * > effect) in MSNChatter to insertIM(BMessage *message) or isn't that > possible, > because of weird message things? In that we way don't have to pass > all the > parameters in the BMessage separately... No problem. Just wanted to make sure I understood exactly where you are working on. I have seen the code and it looks good to me. I agree with changing the insertIM method to insertIM(BMessage *message) go a head a do it. I know the the cvs on my machine is not working correctly. We might want to go open source with the project and start using SF. > > I know now that Bold and/or Italic work, the font is properly > changed...major thanx to a friend of mine, who helped me testing > this...he > also offered to be a beta tester...as I said the other two > (underscore and > strikeout) aren't implemented by be...we can provide a work around > for that, > but that may be difficult to realise...we'll see about that...I'm > also > thinking of installing some windows fonts in beOS to implement the > font > handling code(if the font isn't found, change back to a beOS > font)...btw > there is also a lot of info in the msn messages about what kind of > font > class (times new roman like, arial like) the message uses, maybe we > can use > that as well...to select an appropriate font, when the font itself > isn't > selected.... Yes, all of that sounds great! Good work. > > Yesterday I also continued my work on parsing the icon prefs > file...I'm > making a StringTokenizer for that, and that piece of code, has some > problems > with it, hope I'll figure it out today though... > Looks like we are making good progress guys. I should get back to work on the file transfer protocol as soon as I get a chance, I hope I can get some work done this weekend. > >I don't think I can get us one. Sorry. If we had java for BeOS > >maybe... jaja =) > >That would rock!! > > > That would rock indeed! Well then I suggest using the sourceforge > webspace...have to learn some php then, so it can take some time > before I > have something decent...can send you the mockup of the page I flinged > together last week...if you want (Simon already saw it)...then if we > agree > we can use that... > > regards, > > Tim > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > bme-develop mailing list > bme...@li... > https://lists.sourceforge.net/lists/listinfo/bme-develop |