bme-develop Mailing List for Be-messeng-er (Page 4)
Status: Planning
Brought to you by:
sirmik
You can subscribe to this list here.
2004 |
Jan
(7) |
Feb
(15) |
Mar
(45) |
Apr
(46) |
May
(18) |
Jun
(6) |
Jul
(12) |
Aug
(45) |
Sep
(7) |
Oct
(9) |
Nov
(37) |
Dec
(24) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: D. G. <A00...@it...> - 2004-10-14 02:50:49
|
Hello guys, I have good news for you. I have successfully requested and received a user display picture (take a look, it's my brother's). This is a great step forward, although there is still a lot of work in perfecting this process. Right now some parameters of the request are hardcoded, taken from an example session, those will need to be calculated. There is also the matter merging my changes with the code in the CVS, storing this image with the contact information, and also showing in the Conversation window... I will be working on all of this issues. Regards, Héctor |
From: Sir M. <obe...@ho...> - 2004-10-04 10:07:18
|
Hey guys, added two new project files to cvs and removed the old ones! Bme_x86_BONE.proj builds a bme for BONE and Bme_x86_netserver.proj should build a bme for netserver...can someone using netserver test this? Remember to update both project files when adding or removing new files to them!!!! regards, Tim _________________________________________________________________ Play online games with your friends with MSN Messenger http://messenger.msn.nl/ |
From: Sir M. <obe...@ho...> - 2004-09-26 13:05:57
|
Hi guys, a quick update from me! The status code is now working fine and I'm currently working on adding group support to Bme. I do have a question about that...what I want to do is the following, I want to make an object ContactList that contains all the Contact Objects along with the groups send by the LSG command...I will make this ContactList archivable so the list can be cached! Do you have any idea where I should put this class? I think the cleanest way of handling the caching of list+ user info will be by letting the BmeApp class write it...any other/better ideas? btw automatically loggin in is broken now in the CVS version, but will be functioning again when I add the cache code! I also have been reading up on the p2p protocol: >Right now it has no use. We will need it to create msn Objects tags >once we introduce user display pictures and custom emoticons. So far >Bme only stores msnObjects from the contacts in your list, it doesn't >create one for the user. To update you on getting display pics, Bme now >is able to send invitations to request your conversation buddy's >display picture, so far the only response I get is 500 Internal Error, >this means there is something wrong in the invitation, I believe the >problems is in the msn Object encoding but I haven't been able to >figure it out. > Ok you probably found this out already, but in case you haven't, I'll state the obvious. Zoronax' site gives the following causes of a 500 Internal error: # Incorrect "Content-Type" field If the message you received contains a "Content-Type" field with an type which is not supported by your client, you should reply with a "500 Internal Error" on the Status-Line. The value of the "Content-Type" field should be "null" and it shouldn't have content, so the "Content-Length" field has value "0". # Incorrect field(s) in the Message Body If some fields in the Message Body contain a value you don't agree with, you should also reply with a "500 Internal Error" on the Status-Line, but the value of the "Content-Type" field should have the same value as the received message. The Message Body should now only have the field "SessionID" with the Identifier of the Session as value. So if you look at the content type you'll be able to determine which of these two errors you get in response....if it's null it's the first one, if it isn't it's the second....any idea which of these two errors it is? oh btw...Daniel is your p2p code in CVS? (make sure you make a backup from your old code before checking out cvs, just to be sure...I don't know in how far my code breakes stuff....but lots of things have been changed!!!!)...if you upload the p2p code commented I can have a look at it too! regards, Tim _________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/ |
From: Sir M. <obe...@ho...> - 2004-09-23 14:54:14
|
Hi guys, uploaded the new Contact code to cvs...hope this doesn't break other things. Also added code that loads most of the status icons from the iconprefs file! You'll need icons in the icons/status/ subdir to run this new version of Bme...I use the icons Simon gave a while ago(since I do not have any others)...so what should I do...upload these icons into cvs or leave it up to you to come up with some icons? (and wait till remi has completed his new icons)....Btw not sure what to do with two icons...sign out and blocked...these aren't real statutes right? any ideas on that? Btw....if my code breaks anything I would like to know! regards, Tim _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |
From: D. G. <A00...@it...> - 2004-09-22 07:56:32
|
Hi, this is documentation I am using for the msn objects, http://zoronax.bounceme.net/msn6/ . I guess your approach can be used to move the protocol specific code to another specialized part of the program to handle the communication. Still it would be useful that the contact class stored a msn object tag, by calling this setUserPicture method. I was thinking of the MsnObject class as the translator from user/picture to tag. Right now the contact class has a method setMsnObject, this receives a pointer to this tag's string. Regards, Daniel > Hi, > > >I am not sure, but it might had to do with the BMessage that you are > >passing to Status::Instantiate, how are you creating the objects? > > > It was exactly that in one case, I passed a corrupted message...will > look > into the other problems today! Hope I get it working! > > >Right now it has no use. We will need it to create msn Objects tags > >once we introduce user display pictures and custom emoticons. So far > >Bme only stores msnObjects from the contacts in your list, it > > doesn't > >create one for the user. To update you on getting display pics, Bme > > now > >is able to send invitations to request your conversation buddy's > >display picture, so far the only response I get is 500 Internal > > Error, > >this means there is something wrong in the invitation, I believe the > >problems is in the msn Object encoding but I haven't been able to > >figure it out. > > > Could you give me the documentation(links) that you are using? Then I > can > have a look at it...mostly two persons looking at it helps! Nice news > btw! > But what I was thinking was the following: I made a method > setUserPicture in > the Contact class; user emoticons could be sent to the > IconManager...thus > using the MsnObject in the protocol, but not in the High Level Bme > classes > (Contact and User)....would this be possible? Otherwise I add the > MsnObject > code to the Contact class! > > >Nice! I hope they look good. > > > They do! they have a little similarity to the msn ones while having > their > own style! hence, great for us! > > regards, > > Tim > > _________________________________________________________________ > Hotmail en Messenger on the move > http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement > on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > bme-develop mailing list > bme...@li... > https://lists.sourceforge.net/lists/listinfo/bme-develop |
From: Sir M. <obe...@ho...> - 2004-09-20 07:50:27
|
Hey guys, remi sent me another set of icons, let me hear what you think about it!!! regards, Tim >From: "Rémi Grumeau" <re...@be...> >To: "Sir Mik" <obe...@ho...> >Subject: Icons and smileys >Date: Mon, 20 Sep 2004 10:28:04 +0900 > >Hi there :) > > Monday morning, wwuuhhuuuu !! Another week is starting ... hope this >one will bring me a little spare time to sleep :) > > I have coded all the weekend long for my new website, yes a >"BeosFrance v2" is actually under construction and it will be awesome !!! > Only 10% i think is yet coded but it's already more than 1000 lines of >code :S > > By the way, i have done some graphic things for you and specially for >BME. I definilty love those smileys :) they are all too cute ! Can't wait >to see them using BME !! :) > (they are here included, in small (gif) and big (jpg)). They are all >done in vectorial so if you want them all to be in svg, no prob (where i >think PNG is far enough and use less memory) > > Also, here included, the BME icon in SVG. I haven't tested it yet >under a SvgViewer in Zeta but i think it should be ok. Btw, feel free to >give it some modifications if you want / need or ask me for some. > > At last, some statut icons, but i don't like them that much and i'm >afraid they will be crapy in small .... so i have to try out in small too >and to do others. > >Best regards, >Rémi > >Rémi Grumeau - Graphic Designer >Asiance Korea >#408 Shin-a Bldg., 1-28, Jeong-dong, Jung-gu, Seoul, 100-120, Korea >Tel: (+82 2) 775 0764 - Fax: (+82 2) 779 0314 - Mob: (+82)(0)18 874 0273 >www.asiance.com - re...@as... _________________________________________________________________ Hotmail en Messenger on the move http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/ |
From: Sir M. <obe...@ho...> - 2004-09-19 09:12:46
|
Hi, >I am not sure, but it might had to do with the BMessage that you are >passing to Status::Instantiate, how are you creating the objects? > It was exactly that in one case, I passed a corrupted message...will look into the other problems today! Hope I get it working! >Right now it has no use. We will need it to create msn Objects tags >once we introduce user display pictures and custom emoticons. So far >Bme only stores msnObjects from the contacts in your list, it doesn't >create one for the user. To update you on getting display pics, Bme now >is able to send invitations to request your conversation buddy's >display picture, so far the only response I get is 500 Internal Error, >this means there is something wrong in the invitation, I believe the >problems is in the msn Object encoding but I haven't been able to >figure it out. > Could you give me the documentation(links) that you are using? Then I can have a look at it...mostly two persons looking at it helps! Nice news btw! But what I was thinking was the following: I made a method setUserPicture in the Contact class; user emoticons could be sent to the IconManager...thus using the MsnObject in the protocol, but not in the High Level Bme classes (Contact and User)....would this be possible? Otherwise I add the MsnObject code to the Contact class! >Nice! I hope they look good. > They do! they have a little similarity to the msn ones while having their own style! hence, great for us! regards, Tim _________________________________________________________________ Hotmail en Messenger on the move http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/ |
From: D. G. <A00...@it...> - 2004-09-18 21:02:07
|
Hello guys, > I'm doing a major update of the contact related code. We now have a > Contact > class that represents contacts of course... a User class that > represents the > user(and reimplements some of the contact methods to deliver user > specific > behaviour, like for the userpic functions)...I also made a Status > class to > represent msnstatusses(stati?)...and a ContactItem class that draws > the > contacts in the ContactListView. I've almost got this code > working...but > there seems to be smth wrong with the Status archiving code...maybe > some of > you can help, this is the BArchivable related code: > > Status::Status(BMessage* archive) > { > archive->FindString("Status::statusName",&statusName); > archive->FindString("Status::statusAbbreviation",& > statusAbbreviation); > > BMessage msg; > if (archive->FindMessage("Status::statusIcon",&msg) == B_OK) > { > BArchivable* obj = instantiate_object(&msg); > statusIcon = dynamic_cast<BBitmap*>(obj); My suggestion is to use this code instead. I am not sure is this is the problem or not but, you might want to try it out: statusIcon = cast_as(BBitmap::Instantiate(&msg),BBitmap); > } > } > > BArchivable* Status::Instantiate(BMessage *archive) Shouldn't this be Status* Status::Instantiate(BMessage *archive) > { > if (validate_instantiation(archive, "Status")) > return new Status(archive); > return NULL; > } > > status_t Status::Archive(BMessage *archive, bool deep) const > { > archive->AddString("class","Status"); > archive->AddString("Status::statusName",statusName); > archive-> > AddString("Status::statusAbbreviation",statusAbbreviation); > if(deep) > { > BMessage child; > statusIcon->Archive(&child); > archive->AddMessage("Status::statusIcon",&child); > } > return B_OK; > } > > the program crashes on startup...it seems there's something going > wrong in > the validate_instantiation method...it crashes saying that there was > a > segment fault in strcmp in that function...any idea what I'm doing > wrong? I am not sure, but it might had to do with the BMessage that you are passing to Status::Instantiate, how are you creating the objects? > > Btw Daniel do we need to have the MsnObject in the Contact class(like > we had > it in the MsnBuddy code)? What does this MsnObject code do anyway? Right now it has no use. We will need it to create msn Objects tags once we introduce user display pictures and custom emoticons. So far Bme only stores msnObjects from the contacts in your list, it doesn't create one for the user. To update you on getting display pics, Bme now is able to send invitations to request your conversation buddy's display picture, so far the only response I get is 500 Internal Error, this means there is something wrong in the invitation, I believe the problems is in the msn Object encoding but I haven't been able to figure it out. > Oh and I'm also talking with Remi of BeosFrance to help us with > designing > some emoticons...he sent me some already, and they look very > promising. Nice! I hope they look good. > > regards, > > Tim > Regards, Daniel |
From: Sir M. <obe...@ho...> - 2004-09-18 14:34:15
|
Hey guys, I'm doing a major update of the contact related code. We now have a Contact class that represents contacts of course... a User class that represents the user(and reimplements some of the contact methods to deliver user specific behaviour, like for the userpic functions)...I also made a Status class to represent msnstatusses(stati?)...and a ContactItem class that draws the contacts in the ContactListView. I've almost got this code working...but there seems to be smth wrong with the Status archiving code...maybe some of you can help, this is the BArchivable related code: Status::Status(BMessage* archive) { archive->FindString("Status::statusName",&statusName); archive->FindString("Status::statusAbbreviation",&statusAbbreviation); BMessage msg; if (archive->FindMessage("Status::statusIcon",&msg) == B_OK) { BArchivable* obj = instantiate_object(&msg); statusIcon = dynamic_cast<BBitmap*>(obj); } } BArchivable* Status::Instantiate(BMessage *archive) { if (validate_instantiation(archive, "Status")) return new Status(archive); return NULL; } status_t Status::Archive(BMessage *archive, bool deep) const { archive->AddString("class","Status"); archive->AddString("Status::statusName",statusName); archive->AddString("Status::statusAbbreviation",statusAbbreviation); if(deep) { BMessage child; statusIcon->Archive(&child); archive->AddMessage("Status::statusIcon",&child); } return B_OK; } the program crashes on startup...it seems there's something going wrong in the validate_instantiation method...it crashes saying that there was a segment fault in strcmp in that function...any idea what I'm doing wrong? Btw Daniel do we need to have the MsnObject in the Contact class(like we had it in the MsnBuddy code)? What does this MsnObject code do anyway? Oh and I'm also talking with Remi of BeosFrance to help us with designing some emoticons...he sent me some already, and they look very promising. regards, Tim _________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/ |
From: Simon T. <sim...@ga...> - 2004-08-26 16:37:44
|
Also if you are dialed up and lose your connection (my ISP disconnects me after 2 hours), not only does Bme not notice, but it usually goes to 100% CPU usage in one of the receive threads and needs to be killed and restarted. Not sure how easy it is to detect being forcably disconnected like this though. As for what to do about it, I would say mirror the windows approach - conversation windows change (send text box becomes inactive) and contact list reverts back to the sign in button (In our case it will revert to the User name and Password fields that I would like to be in the main window before signing in). Not sure an alert is necessary with all that, I'm not a big fan of alerts that steal the focus and demand immediate action before you can do anything else with your computer, especially when the user doesn't need to respond immediately. > Hi guys, > > noticed a strange behaviour of Bme. When it loses connection, the > contact > list is still displayed, and the user can't see that he/she is > offline! (I > notice it at the point that I want to start a conversation) We should > change > this! Either by alerting the user of the connection that has been > lost OR > re-establishing the connection! > > regards, > > Tim > > _________________________________________________________________ > MSN Search, for accurate results! http://search.msn.nl > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > bme-develop mailing list > bme...@li... > https://lists.sourceforge.net/lists/listinfo/bme-develop |
From: Sir M. <obe...@ho...> - 2004-08-26 13:00:20
|
Ok I agree! who will implement this? :D regards, Tim >From: Jan-Rixt Van Hoye <jan...@pa...> >Reply-To: bme...@li... >To: bme...@li... >Subject: Re: [bme-develop] Bme disconnecting? >Date: Thu, 26 Aug 2004 14:55:05 +0200 > >Hi! > >The best way is to allert the user and ask him/her to reconnect, yes or no. > >Jixt > > >>Hi guys, >> >>noticed a strange behaviour of Bme. When it loses connection, the contact >>list is still displayed, and the user can't see that he/she is offline! (I >>notice it at the point that I want to start a conversation) We should >>change this! Either by alerting the user of the connection that has been >>lost OR re-establishing the connection! > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >bme-develop mailing list >bme...@li... >https://lists.sourceforge.net/lists/listinfo/bme-develop _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |
From: Jan-Rixt V. H. <jan...@pa...> - 2004-08-26 12:55:19
|
Hi! The best way is to allert the user and ask him/her to reconnect, yes or no. Jixt > Hi guys, > > noticed a strange behaviour of Bme. When it loses connection, the > contact list is still displayed, and the user can't see that he/she is > offline! (I notice it at the point that I want to start a > conversation) We should change this! Either by alerting the user of > the connection that has been lost OR re-establishing the connection! |
From: Sir M. <obe...@ho...> - 2004-08-26 12:44:02
|
Hi guys, noticed a strange behaviour of Bme. When it loses connection, the contact list is still displayed, and the user can't see that he/she is offline! (I notice it at the point that I want to start a conversation) We should change this! Either by alerting the user of the connection that has been lost OR re-establishing the connection! regards, Tim _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |
From: Sir M. <obe...@ho...> - 2004-08-18 07:47:07
|
Hi, just found the old mockup Simon made :D I'll attach it and hope the mail doesn't get discarded! >I've got big plans for that myself. I'll see how much time I have. > Maybe better tell Jixt what your plans are and split up the work....emoticon support in the type view would be nice too, for example! Also look at the screenshot remi from beosfrance sent us! grouping certain parts of conversation seems a good thing to do! >What could be helpful is working on the emoticon selection window - >although we need to think about what the best way of doing that would >be (categorising it? sorting it based on how often certain emots are >used? etc) > (Jixt) see the mockup! It also has three items with most used emoticons and one that pops up an emoticon chooser that looks like the MSN one! Maybe best way to proceed is to give our opinion on the mockup and then Jixt and Simon splitting up the work? Btw Jixt one change we did plan: the user picture for the chatter is now in the main window as you may have noticed and not in the chat window like msn does! regards, Tim _________________________________________________________________ Hotmail en Messenger on the move http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/ |
From: Sir M. <obe...@ho...> - 2004-08-17 22:56:47
|
Hi, >Hi, > >I have a fix for the 'fontchooser'. The constructor of the FontMenu, you >need to remove the following lines: > > > 1) BMenu *fontMenu = new BMenu("Font"); > 2) AddItem(fontMenu); > >You also need to remove the following parts of the code: > > 1) fontMenu-> > > >When you do this, you will use 2 BMenu's instead of 3. May I enter this fix >in CVS? Who is busy with the conversation window? Otherwise I want to work >on that... Is somebody busy with the emoticons in the conversation window? >Can someone show me some mockups of it, so I can see how I have to do the >colorbox etc... > Uhm simon had a mockup I think! my purpose was to add the colour menu in the same menu as the font(below font->) but go ahead and upload your code into cvs. In this colour menu I thought some predefined colours should be available as well as one other option which pops up a bcolorchooser. I don't have any problems with you programming on the chatwindow, but maybe you should talk to simon about this. I'll continue with the hotmail code and will move on to the contact list changes I proposed! regards, Tim _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |
From: Sir M. <obe...@ho...> - 2004-08-17 22:51:03
|
Hi, >I did have a mockup, but lost it... > I think I have it floating around somewhere...I'll try and find it tomorrow and send it to you! regards, Tim _________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/ |
From: Simon T. <sim...@ga...> - 2004-08-17 19:39:49
|
[snip] > > When you do this, you will use 2 BMenu's instead of 3. May I enter > this fix in CVS? If it works, you might as well. > Who is busy with the conversation window? Otherwise I want to work on > that... > Is somebody busy with the emoticons in the conversation window? I've got big plans for that myself. I'll see how much time I have. What could be helpful is working on the emoticon selection window - although we need to think about what the best way of doing that would be (categorising it? sorting it based on how often certain emots are used? etc) > Can someone show me some mockups of it, so I can see how I have to do > the colorbox etc... I did have a mockup, but lost it... Just try and think of the best possible way a user could see something, and you won't go far wrong ;) Simon > greets > Jixt > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > bme-develop mailing list > bme...@li... > https://lists.sourceforge.net/lists/listinfo/bme-develop |
From: Jan-Rixt V. H. <jan...@pa...> - 2004-08-17 07:16:13
|
>I also had a look at the windows msn client, it caches the user list and= >user pictures, I think we should do that also....oh btw Jixt, maybe an i= dea >for you to program: look at the chatwindow....it has a fontmenu that sho= uld >contain font + colour items, only the selected font should be enabled: t= hat >doesn't work right now, look at it's behaviour.... I didn't figure out h= ow >to do that, maybe you can have a look at it, and then I can work further= on >the hotmail integration, > Hi, I have a fix for the 'fontchooser'. The constructor of the FontMenu, you = need to remove the following lines: 1) BMenu *fontMenu =3D new BMenu("Font"); 2) AddItem(fontMenu); You also need to remove the following parts of the code: 1) fontMenu-> When you do this, you will use 2 BMenu's instead of 3. May I enter this f= ix in CVS? Who is busy with the conversation window? Otherwise I want to = work on that... Is somebody busy with the emoticons in the conversation w= indow? Can someone show me some mockups of it, so I can see how I have to= do the colorbox etc... greets Jixt |
From: Simon T. <sim...@ga...> - 2004-08-16 19:36:25
|
> Hello ... > > > Hi guys, > > > > I've tested my hotmail code and it works! it generates a html file > > that can > > sign in to hotmail! But we have some problems in the program > > structure! > > first thing is the password! we need it to log in to hotmail but > > it's > > stored > > nowhere! > Good thing it works, that is great. You are right, the password is > not > being stored anywhere, it is only stored temporally in > char * MsnNSHandler::pass (see MsnNSHandler::initMsnSession). > but it is destroyed after the user signs in (see > MsnNSHandler::handleUSR). > I like the idea of a User class derived from Contact where we can > hold > this information. Common::yo will be an object of this type (yo means > I, the pronoun, in spanish). Yes sounds good to me. Do you need the actual password or can we store it MD5 hashed or something? Keeping passwords in memory as plain text should be avoided if possible I think. > > > > Secondly we get a bunch of URL information from the hotmail server, > > see > > http://www.hypothetic.org/docs/msn/notification/miscellaneous.php, > > I > > need > > some of those....now they are hardcoded into the program....so > > where > > do we > > store them? > How about using the MsnProtocol class which is not being used right > now. Dunno what that is, but sounds ok! :D [snip] > > because we have a lot of protocol information and don't know where > > to > > store > > it I suggest making a class for it that we can query....Protocol or > > smth....or does anyone have a better idea! I think I will also > > change > > the > > profile info to a map structure....but leave it some time as it > > is!(it works > > now) You got my previous email about using a few functions to get the data? We could just use them and store all the bits we need in a new protocol type structure. Or the map thing could work, but as we know what the fields are and which ones we need, the overhead of such a general container may not be worth it. > > I really like to get started on changing the contact info classes > > as > > this is > > also needed for the hotmail integration(password)....I suggest > > making > > four > > new classes... > > -two data classes: Contact and User(derives from contact,stores the > > password), these classes make it possible to cache contacts and > > users! Yup OK. > > -a ContactItem class, this is the list item that draws the contacts Fine. > > -a ListProducer class or smth that takes the Contact classes and > > turns them > > into corresponding ContactItem classes and puts them in a > > BOutlineListView(groups included) I've said before it would be nice if objects could register their interest in the contact list with whatever ends up storing it, for any changes, so chat windows and the main contact list will both be updated when anybody changes their screen name for example. > > what do you think about all of this? > Just keep in mind that there are places where the program needs to > find > a particular Contact object (MsnBuddy as of now). This happens by > calling Common::getMsnBuddy, and this function works by sending a > BMessage to the list that holds all the Contact objects > (ContactListView as of now), which replys with a pointer to the > object > if it finds it. If we separate the Contact info from the > ContactListItem we need a looper to hold the Contact list (maybe > MsnNSHandler), so it can respond to Common::getMsnBuddy. It makes sense to me to have NS handler be responsible for the contact list. > Other than that I think it is a good idea to separate the views/app > code from the protocol specific code. Me too. Simon > > regards, > > > > Tim > > > > Regards, > Daniel > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > bme-develop mailing list > bme...@li... > https://lists.sourceforge.net/lists/listinfo/bme-develop |
From: Simon T. <sim...@ga...> - 2004-08-16 19:24:19
|
> Hi, > > > > Hello, I went through the same problems when compiling the source > > with > > Zeta. I had to modify the Looper.h header because it marks > > PostMessage() as deprecated > > > > //#ifdef _ZETA_USING_DEPRECATED_API_ > > // Deprecated, use BMessenger instead > > > > Another problem I had was that the function find_directory is > > located > > in libzeta.so and not in libbe.so so you have to include it to the > > project to link it. > > > > Also, had to remove some of the sources from the User Interface > > folder > > to get BeIDE to use the NewGUI source. > > > > It compiles!!! Thx guys! I will write down what you need to do if you > want to compile it under Zeta. The only problem I have now is that it > does not want to login... I will download the latest sources from > CVS. > Maybe it will work then I had to reduce the cryptlib timeout attribute to get it to log in (set in a couple of places in NS handler IIRC). Took it down from 60*2 (don't know why Daniel had it that high?) to about 10/20 and it seems to work fine, even on dial-up. I'm still in the middle of cleaning up CVS, give me a couple more days :) Simon > greets > > Jixt > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank > Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > bme-develop mailing list > bme...@li... > https://lists.sourceforge.net/lists/listinfo/bme-develop |
From: Jixt <ji...@li...> - 2004-08-16 09:14:51
|
Hi, > Hello, I went through the same problems when compiling the source > with > Zeta. I had to modify the Looper.h header because it marks > PostMessage() as deprecated > > //#ifdef _ZETA_USING_DEPRECATED_API_ > // Deprecated, use BMessenger instead > > Another problem I had was that the function find_directory is located > in libzeta.so and not in libbe.so so you have to include it to the > project to link it. > > Also, had to remove some of the sources from the User Interface > folder > to get BeIDE to use the NewGUI source. > It compiles!!! Thx guys! I will write down what you need to do if you want to compile it under Zeta. The only problem I have now is that it does not want to login... I will download the latest sources from CVS. Maybe it will work then greets Jixt |
From: D. G. <A00...@it...> - 2004-08-15 22:04:57
|
Hello ... > Hi guys, > > I've tested my hotmail code and it works! it generates a html file > that can > sign in to hotmail! But we have some problems in the program > structure! > first thing is the password! we need it to log in to hotmail but it's > stored > nowhere! Good thing it works, that is great. You are right, the password is not being stored anywhere, it is only stored temporally in char * MsnNSHandler::pass (see MsnNSHandler::initMsnSession). but it is destroyed after the user signs in (see MsnNSHandler::handleUSR). I like the idea of a User class derived from Contact where we can hold this information. Common::yo will be an object of this type (yo means I, the pronoun, in spanish). > > Secondly we get a bunch of URL information from the hotmail server, > see > http://www.hypothetic.org/docs/msn/notification/miscellaneous.php, I > need > some of those....now they are hardcoded into the program....so where > do we > store them? How about using the MsnProtocol class which is not being used right now. > > Thirdly, right now I can only open hotmail messages if I get a > initial mail > message...but that's send only when you've unread mails....so we > should > figure out how to login without getting that message! What is the reason for this? Is it the id field? If so we can also get it in reply to a URL INBOX command. That would be something we'll need to add to MsnNSHandler so it can handle this type of commands and send BMessage reply with the value the to who asked for it. > > Fourthly, the code is a real mess now! I don't like the place where > the mail > code is stored(and especially the information): mailview contains > mail info, > and the mail handling code is placed in BmeApp...I don't like this! > we > should make it more flexible.... I agree with you. We should move the code somewhere else. The MsnProtocol seems like a good place for it if you don't want to mix protocol code with view/app code. > > because we have a lot of protocol information and don't know where to > store > it I suggest making a class for it that we can query....Protocol or > smth....or does anyone have a better idea! I think I will also change > the > profile info to a map structure....but leave it some time as it > is!(it works > now) > > I really like to get started on changing the contact info classes as > this is > also needed for the hotmail integration(password)....I suggest making > four > new classes... > -two data classes: Contact and User(derives from contact,stores the > password), these classes make it possible to cache contacts and > users! > -a ContactItem class, this is the list item that draws the contacts > -a ListProducer class or smth that takes the Contact classes and > turns them > into corresponding ContactItem classes and puts them in a > BOutlineListView(groups included) > > what do you think about all of this? Just keep in mind that there are places where the program needs to find a particular Contact object (MsnBuddy as of now). This happens by calling Common::getMsnBuddy, and this function works by sending a BMessage to the list that holds all the Contact objects (ContactListView as of now), which replys with a pointer to the object if it finds it. If we separate the Contact info from the ContactListItem we need a looper to hold the Contact list (maybe MsnNSHandler), so it can respond to Common::getMsnBuddy. Other than that I think it is a good idea to separate the views/app code from the protocol specific code. > > regards, > > Tim > Regards, Daniel |
From: Sir M. <obe...@ho...> - 2004-08-15 12:55:06
|
Hi guys, I've tested my hotmail code and it works! it generates a html file that can sign in to hotmail! But we have some problems in the program structure! first thing is the password! we need it to log in to hotmail but it's stored nowhere! Secondly we get a bunch of URL information from the hotmail server, see http://www.hypothetic.org/docs/msn/notification/miscellaneous.php, I need some of those....now they are hardcoded into the program....so where do we store them? Thirdly, right now I can only open hotmail messages if I get a initial mail message...but that's send only when you've unread mails....so we should figure out how to login without getting that message! Fourthly, the code is a real mess now! I don't like the place where the mail code is stored(and especially the information): mailview contains mail info, and the mail handling code is placed in BmeApp...I don't like this! we should make it more flexible.... because we have a lot of protocol information and don't know where to store it I suggest making a class for it that we can query....Protocol or smth....or does anyone have a better idea! I think I will also change the profile info to a map structure....but leave it some time as it is!(it works now) I really like to get started on changing the contact info classes as this is also needed for the hotmail integration(password)....I suggest making four new classes... -two data classes: Contact and User(derives from contact,stores the password), these classes make it possible to cache contacts and users! -a ContactItem class, this is the list item that draws the contacts -a ListProducer class or smth that takes the Contact classes and turns them into corresponding ContactItem classes and puts them in a BOutlineListView(groups included) what do you think about all of this? regards, Tim _________________________________________________________________ Play online games with your friends with MSN Messenger http://messenger.msn.nl/ |
From: D. G. <A00...@it...> - 2004-08-14 20:40:12
|
Hello, I went through the same problems when compiling the source with Zeta. I had to modify the Looper.h header because it marks PostMessage() as deprecated //#ifdef _ZETA_USING_DEPRECATED_API_ // Deprecated, use BMessenger instead Another problem I had was that the function find_directory is located in libzeta.so and not in libbe.so so you have to include it to the project to link it. Also, had to remove some of the sources from the User Interface folder to get BeIDE to use the NewGUI source. Regards, Daniel > > Hi, > > > > > about compiling: first to make sure: you are using Bme_x86.proj > > > right? make > > > sure you place the cryplib.h file in a dir accessible to > > > BeIDE(not > > > sure > > > which dir, maybe the others can help here). I wonder when you > > > downloaded > > > the code from CVS? The Netwatch files weren't in cvs before, but > > > Simon > > > uploaded them to cvs this week(right Simon?), if it doesn't > > > compile, > > > and you > > > don't have them, just delete the entire Netwatch dir to fix the > > > compiling > > > issues. Another issue is the libbnetapi.so file, this is a BONE > > > file...the > > > r5 file is called libnetapi.so: this doesn't cause any compiling > > > issues but > > > make sure you have included the right one in your project, > > > otherwise > > > you > > > won't get connected to internet. > > > > I'm compiling everything in Zeta RC 3. I have cryptlib.h into a > > directory that is accessible to BEIDE. and I use the libbnetapi.so. > > All errors have something to do with PostMessage.... I think it is > > somenthing stupid that I forgot to do... > > > > In the attachments you can see my errors. > > > > Jixt > > I read something about Zeta not having PostMessage by default. > http://www.yellowtab.com/news/article.php?id=96 > > "There is a macro defined in the header you can set in your project > to > still use this [PostMessage]" - I haven't got the headers for Zeta so > I > don't know what that is, I'm afraid. > > Simon > |
From: Sir M. <obe...@ho...> - 2004-08-14 10:26:31
|
Jixt, judging from your errors, also the wrong version of IconManager is chosen by BeIDE(it does this a lot)...it takes the IconManager(Loader etc.) from the UserInterface directory...you can see that from for example the MessageItem class, which doesn't exists anymore and is now called TaggedText...I suggest you delete the entire UserInterface dir, the only one needed is the NewGUI dir anyway, regards, Tim >From: "Jixt" <ji...@li...> >Reply-To: bme...@li... >To: bme...@li... >Subject: Re: [bme-develop] Final BeMSN Release Progress >Date: Fri, 13 Aug 2004 18:14:18 Local time zone must be set--see zic manual >page > > > I read something about Zeta not having PostMessage by default. > > http://www.yellowtab.com/news/article.php?id=96 > > > > "There is a macro defined in the header you can set in your project > > to > > still use this [PostMessage]" - I haven't got the headers for Zeta so > > I > > don't know what that is, I'm afraid. > > >Yeah, typical YellowTab. They change something and they say something >about it. But don't think they will say everything! If I know the >solution, I will tell you guys. Maybe handy then to put on the homepage >;) > >Jixt > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >bme-develop mailing list >bme...@li... >https://lists.sourceforge.net/lists/listinfo/bme-develop _________________________________________________________________ MSN Search, for accurate results! http://search.msn.nl |