All times are UTC.
00:04:49 <flo> clokep: where? 00:05:19 <clokep> I'm confused at the relationship between getParticipants of purpleIConvChat and buddies of conversation binding. 00:07:59 <flo> this.buddies is a JSObject that contains the DOM Node representing each buddy in the displayed nicklist 00:08:21 <flo> and that JSObject is completely invisible/irrelevant for the protocol plugin ;) 00:08:36 <clokep> OK. :) 00:08:53 <clokep> So all I need to do is make sure that getParticipants works properly and I'm good? 00:09:00 <flo> yep! 00:09:19 <clokep> OK. :) 00:11:53 <clokep> flo: Do I need to notify when adding buddies or anything? 00:12:18 <flo> yes 00:13:22 <clokep> OK. That makes sense now. :) 00:13:52 <flo> http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/purpleIConversation.idl#142 00:16:06 <clokep> Thanks. 00:19:06 <clokep> So I don't really know how ot use observers. :-\ 00:19:22 <clokep> Let's see what MDC has. 00:23:58 <flo> https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIObserver may be the page you are looking for 00:24:03 <flo> anyway, good evening/night! 00:25:02 <clokep> Probably. Thanks a lot! Goodnight. 00:30:23 --> clokep_dev has joined #instantbird 00:35:57 <-- clokep_dev has quit (Client exited) 00:36:09 <Mic> ah, what's the thing with observers? 00:36:24 <clokep> Mic: Working on IRC. 00:36:37 <Mic> I meant your problem 00:36:44 <clokep> I don't know how to use them. :) 00:37:07 <Mic> hmm, you register with them and they call you back ;) 00:37:24 <clokep> Yes, yes. I undersetand the concept. The details I mean. 00:37:48 <Mic> The example has everything needed on this page 00:38:22 <clokep> I think I figured it out. Gonnat ry now. 00:39:03 <Mic> You can use the Service.obs from Services.jsm btw (in case you didn't know) 00:39:06 --> clokep_dev has joined #instantbird 00:39:06 <-- clokep_dev has quit (Client exited) 00:39:17 <Mic> So you don't need the Components-pieces from the examples 00:39:56 <clokep> Are you talking about the example is nsIObserver page of MDC? 00:40:01 <clokep> Oh, yes I see. 00:40:03 <clokep> :) 00:41:07 <Mic> (un)registering should be one-liners then 00:41:36 --> clokep_dev has joined #instantbird 00:41:36 <-- clokep_dev has quit (Client exited) 00:44:31 --> clokep_dev has joined #instantbird 00:45:13 <-- clokep_dev has quit (Client exited) 00:48:12 <-- clokep has quit (Quit: Instantbird 0.3a1pre) 00:48:21 --> clokep has joined #instantbird 00:48:21 * ChanServ sets mode +h clokep 00:50:29 <instantbot> New purplexpcom - General bug 608 filed by clokep@gmail.com. 00:50:32 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=608 nor, --, ---, nobody, NEW, Exception from buddies of an unknown account type 00:51:22 <Mic> btw this is the counterpart: https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIObserverService/notifyObservers 00:51:43 <Mic> notifyObservers allows you to send out own events to observers 00:52:15 <Mic> I guess you'll need it one day when updating participants 00:52:17 <clokep> Yup, I got that. :) 00:52:24 <clokep> Trying to figure out how to find out what type of object something this. 00:52:26 <clokep> Any ideas? 00:52:42 <Mic> You can print it to the error console 00:52:56 <clokep> I'm just getting object [Object] 00:53:44 <Mic> Let me have a look 00:54:51 <Mic> It says "You can use obj.constructor.name to check the "class" of an object: " on MDN 00:55:04 <Mic> https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/Name 00:55:09 <Mic> Exmaples on bottom of the page 00:55:19 <Mic> *Examples 00:58:29 <clokep> Ah thanks. :) Sorry, went to go wash my dishes. ;) 01:02:25 <Mic> https://addons.instantbird.org/en-US/statistics/addon/253 01:02:40 <Mic> Can you guess when the recommended add-ons list broke? ;) 01:02:55 <clokep> When? 01:03:19 <clokep> Nov 30th? 01:03:38 <Mic> Yes, also my guess 01:03:52 <Mic> Maybe Dec 1st 01:13:31 <-- Ornthalas has quit (Quit: KTHXBYE) 01:16:33 --> clokep_dev has joined #instantbird 01:16:33 <-- clokep_dev has quit (Client exited) 01:16:58 --> clokep_dev has joined #instantbird 01:17:12 <-- clokep_dev has quit (Client exited) 01:17:24 <clokep> That just gave me "Object" still. :( 01:23:35 <Mic> nn 01:23:42 <Mic> well, let me try that first ;) 01:27:12 <Mic> You get no information at all about the object? 01:27:30 <Mic> No implemented interfaces (if it is one of these xpcom wrapped objects).. 01:27:35 <Mic> no nothing? 01:27:53 <clokep> What I'm trying to get is the interfaces. 01:28:03 <clokep> But I'm forgetting how to do it (and keep getting distracted. :-D) 01:29:50 <-- hicham has quit (Client exited) 01:33:54 <Mic> nn 01:33:58 <clokep> Bye. 01:34:04 <-- Mic has quit (Quit: Instantbird 0.3a1pre) 01:37:29 --> clokep_dev has joined #instantbird 01:38:14 <-- clokep_dev has quit (Client exited) 02:53:54 <-- clokep has quit (Ping timeout) 03:12:41 --> clokep has joined #instantbird 03:12:41 * ChanServ sets mode +h clokep 06:01:40 --> tymerkaev_away has joined #instantbird 06:14:42 <-- clokep has quit (Quit: Instantbird 0.3a1pre) 06:17:13 <-- skeledrew has quit (Ping timeout) 06:20:41 --> skeledrew has joined #instantbird 06:57:45 <-- tymerkaev_away has quit (Ping timeout) 07:14:22 <-- skeledrew has quit (Ping timeout) 07:17:59 --> skeledrew has joined #instantbird 08:37:31 --> tymerkaev_away has joined #instantbird 08:37:36 <-- tymerkaev_away has quit (Quit: I must go. Good bye!) 08:37:51 --> tymerkaev has joined #instantbird 10:14:51 --> sabret00the has joined #instantbird 10:16:26 <-- sabret00the has quit (Connection reset by peer) 10:16:41 --> sabret00the has joined #instantbird 10:20:13 <flo> that status reminder add-on may be a good opportunity for me to create my first restartless add-on :) 10:24:52 <-- Jan has quit (Ping timeout) 10:27:46 --> Jan has joined #instantbird 10:28:33 * Jan is now known as IRCMonkey40564 10:38:57 --> Andrey has joined #instantbird 10:39:44 <-- IRCMonkey40564 has quit (Ping timeout) 10:43:10 --> Jan has joined #instantbird 10:43:26 * Jan is now known as IRCMonkey28536 10:44:14 --> Ornthalas has joined #instantbird 10:44:36 --> Mic has joined #instantbird 10:44:36 * ChanServ sets mode +h Mic 10:54:03 <-- sabret00the has quit (Ping timeout) 11:07:43 <-- tymerkaev has quit (Ping timeout) 11:26:45 --> Even has joined #instantbird 11:26:45 * ChanServ sets mode +o Even 11:27:27 <Mic> flo: Looks like an ok-case to try;) Make sure to check your hack-o-meter frequently, though :P 11:34:18 --> sabret00the has joined #instantbird 11:53:05 <-- rikki has quit (Quit: Instantbird 0.2) 11:54:11 <flo> Mic: My hackometer has exploded a long time ago while trying to do that add-on with an overlay, it may actually be less hackish with a bootstrap.js file 12:29:24 <-- sabret00the has quit (Ping timeout) 12:59:31 <Mic> Someone from Uruguay just wrote me an email that he likes Buddy Status and suggested improvements as well:) 13:00:38 <Mic> The missing recommended add-ons list/rss feed is having quite an impact btw 13:01:36 <Mic> I just checked the download statistics and they went down from average 15 downloads per day to virtually none (two) yesterday 13:24:45 <-- Even has quit (Ping timeout) 13:27:09 --> sabret00the has joined #instantbird 13:30:18 <-- sabret00the has quit (Ping timeout) 13:34:27 <flo> Mic: well, bug Even to either get the list filled again, or to get the permissions on remora to do it. 13:50:35 <Mic> I already posted on the bug, that has to do for today ;) 13:51:23 <flo> my hack-o-meter is going to love that restart less add-on :) 13:51:43 <flo> it's all very simple 13:52:01 <flo> the addon contains only 2 files, one of them is generated automatically by the makefile 13:52:26 <flo> the other has less code than the length of the license header 13:53:24 <Mic> May you can add it to the "Creating add-ons" (or extensions?) article on the wiki, as example for a restartless add-on 13:53:40 <flo> only once it's in the repository 13:54:42 <Mic> orly? :P 13:55:00 <Mic> Have a nice day 13:55:00 --> tymerkaev has joined #instantbird 13:55:02 <flo> I may commit the other version first, so that we can find it in the history 13:55:14 <flo> it worked well but leaked the buddy list at shutdown 14:02:40 <flo> hmm, we should find a way to repackage all the message themes to be restartless, yet still compatible with 0.2 14:02:51 <flo> it's really pointless to restart to install a message theme 14:12:24 --> hicham has joined #instantbird 14:25:59 <flo> I don't have any recent windows debug build around :( 14:26:12 <flo> the newest I have is based on Mozilla 1.9.2 :-S 14:37:23 <flo> is there a dom inspector somewhere that works with current nightlies? 14:39:51 <Mic> I think it does, you just have to disable compatibility checking 14:40:27 <Mic> *does still work 14:47:38 <flo> rm -rf is so slow on windows :( 14:52:36 <flo> finished. 12minutes and 25s to remove my old windows debug build. 14:52:48 <flo> approximately the time I would need to compile a new one on Linux. :-| 15:01:28 --> clokep has joined #instantbird 15:01:28 * ChanServ sets mode +h clokep 15:02:07 --> Even has joined #instantbird 15:02:07 * ChanServ sets mode +o Even 15:08:36 --> Even2 has joined #instantbird 15:09:37 <-- Even has quit (Ping timeout) 15:19:00 --> Even has joined #instantbird 15:19:00 * ChanServ sets mode +o Even 15:20:10 <-- Even2 has quit (Ping timeout) 15:32:21 --> Even2 has joined #instantbird 15:33:42 <-- Even has quit (Ping timeout) 15:41:55 * IRCMonkey28536 is now known as Jan 15:43:43 --> Even has joined #instantbird 15:43:43 * ChanServ sets mode +o Even 15:43:45 <Mic> clokep: how did working on IRC go? 15:43:57 <-- Even2 has quit (Ping timeout) 15:46:01 <clokep> Mic: OK. I realized this morning the mistake I was making last night. 16:17:41 <clokep> Had any time to work on Sync at all? :) 16:24:41 <Mic> No, I don't have the time to work longer on it at the moment 16:24:59 <clokep> Me neither. I took a break from real work last night to do it. :) 16:25:02 <Mic> I'll start again after christmas 16:25:54 <Mic> I think I'll start from scratch anyways 16:34:29 <-- skeledrew has quit (Ping timeout) 16:35:15 --> skeledrew has joined #instantbird 16:45:43 <-- Even has quit (Connection reset by peer) 16:46:04 --> Even has joined #instantbird 16:46:05 * ChanServ sets mode +o Even 17:07:58 <-- hicham has quit (Client exited) 17:17:33 <-- skeledrew has quit (Ping timeout) 17:18:26 --> skeledrew has joined #instantbird 17:33:06 * tymerkaev is now known as tymerkaev_away 17:33:26 * tymerkaev_away is now known as tymerkaev 17:38:45 <-- Even has quit (Quit: Instantbird 0.3a1pre) 17:41:03 --> clokep_dev has joined #instantbird 17:41:34 <-- clokep_dev has quit (Client exited) 17:48:35 * tymerkaev is now known as tymerkaev_away 17:50:18 --> GeekShadow has joined #instantbird 17:54:20 <-- chrisccoulson has quit (Quit: Ex-Chat) 18:18:44 --> clokep_dev has joined #instantbird 18:22:25 <-- clokep_dev has quit (Client exited) 18:27:29 --> clokep_dev has joined #instantbird 18:27:47 <-- clokep_dev has quit (Client exited) 18:30:46 * tymerkaev_away is now known as tymerkaev 18:31:11 --> clokep_dev has joined #instantbird 18:32:00 <-- clokep_dev has quit (Client exited) 18:40:40 * tymerkaev is now known as tymerkaev_away 18:49:26 <-- Tonnes has quit (Quit: ChatZilla 0.9.86 [Firefox 3.6.12/20101026210630]) 18:52:57 <flo> pfff, my windows build failed after 175minutes :( 18:55:54 <Mic> Why do Windows builds take so long? 18:56:38 --> chrisccoulson has joined #instantbird 18:56:41 <clokep> Cause it's teh suck, right? 18:57:07 <clokep> flo, Mic: Re my observer issues last night. I'm no longer getting errors when loading chats, but no buddies show up. :( I uploaded my updated code, wondering if it looks OK? 18:57:09 <flo> because: 18:57:09 <flo> 1. Windows is slow. 18:57:09 <flo> 2. Windows in a VM is even worse. 18:57:48 <clokep> Namely this section: https://hg.instantbird.org/experiments/file/c04ef9d87b87/components/ircProtocol.js#l592 18:57:54 <flo> If I remember well, a linux build in a similar VM takes around an hour to finish 18:58:39 <flo> that's why I avoid linux builds on my mac (except if I've really an urgent need to test something on Linux) and use my desktop computer at home during the week-end for linux testing :) 19:01:52 <Mic> clokep: will have a look 19:02:17 <flo> clokep: what's the question exactly? 19:02:30 <clokep> I'm not sure if I'm notifying the observer correctly. 19:02:37 <clokep> If that's my bug or if it's something else. :) 19:03:01 <flo> no 19:03:23 <clokep> "no, that's not your bug" or "no, you're doing it incorrectly"? :) 19:03:46 * tymerkaev_away is now known as tymerkaev 19:03:59 <flo> doing it incorrectly 19:04:25 <flo> http://lxr.instantbird.org/instantbird/source/purple/purplexpcom/public/purpleIConversation.idl#151 19:04:56 <flo> the topic (the string indicating what the notification is about) is the second parameter 19:05:28 <clokep> Ah, I see. 19:05:36 <flo> and the aSubject value you should give is poorly documented ("nsISimpleEnumerator of purpleIConvChatBuddy for chat-buddy-add"), it's an enumerator of the *added* convChatBuddy 19:06:07 <clokep> I figured it was, but I wasn't worried about that for the moment since that area is only for when you join a room (i.e. they're all added!) 19:06:25 <clokep> Thank you. :) 19:06:41 <-- Mic has left #instantbird () 19:06:44 <flo> ok. Add that as a comment maybe? :) 19:06:47 --> Mic has joined #instantbird 19:06:48 * ChanServ sets mode +h Mic 19:07:20 <clokep> In my own code? 19:07:27 <clokep> I can do that. :) 19:07:42 <flo> yes 19:07:58 <flo> wait, the participants list is empty? 19:08:07 <flo> (aConversation._participants) 19:08:29 <clokep> aConversation._participants should not be empty. 19:08:34 <clokep> But the actual UI is empty. 19:08:50 <flo> ok 19:08:53 --> clokep_dev has joined #instantbird 19:09:01 <clokep> Nope, it's filled in now. :) 19:09:05 <clokep> Just had the two values swapped 19:09:10 <clokep> And my messages show up! :) 19:09:25 <flo> cool :) 19:09:41 <Mic> Nice :) 19:10:45 <clokep> It did parse "#instantbird" as a buddy though, oops! 19:11:41 <clokep> instantbot: status 19:11:42 <instantbot> clokep: I have 84 factoids in my database and 1 bot friend to help me answer questions. Since the last reload, I've been asked 1 question, performed 84 edits, and spoken with other bots 2 times. 19:11:43 <instantbot> clokep: I've been up 109 days. 19:11:50 --> hicham has joined #instantbird 19:12:07 <-- clokep_dev has quit (Client exited) 19:13:19 <flo> clokep: I'm wondering if the last parameter is optional / if the "null" can be omitted in that context. Do you know where the object behind aConversation is implemented? 19:14:48 <clokep> flo: aConversation is created in https://hg.instantbird.org/experiments/file/c04ef9d87b87/components/ircProtocol.js#l866 and is oen of two objects I made. 19:15:19 <flo> if it's implemented in JS, you can certainly omit the null 19:15:57 <clokep> I'll give it a try. 19:27:25 * Mic sets mode +v Mic 19:27:34 * Mic sets mode -h Mic 19:27:44 <Mic> ah;) 19:28:03 <-- Mic has left #instantbird () 19:28:11 --> Mic has joined #instantbird 19:28:11 * ChanServ sets mode +h Mic 19:28:34 <-- Andrey has quit (Quit: ) 19:31:36 <Mic> Can you be both half-op and op at the same time or is that mutually exclusive? 19:32:37 <-- chrisccoulson has quit (Quit: Ex-Chat) 19:33:15 <clokep> Technically the only user modes are away invisible, wallops, restricted, op, local op, server notices. 19:33:26 <clokep> At least in RFC 2812, I haven't gotten to the updates to it yet. 19:33:43 <clokep> I think you could technically be given both though? 19:45:50 --> clokep_dev has joined #instantbird 19:46:34 <-- clokep_dev has quit (Client exited) 19:54:16 --> clokep_dev has joined #instantbird 19:54:38 <clokep_dev> Voiced, op, half-op shows up now. :) 19:54:43 <clokep_dev> And outgoing messages work. ;) 19:54:53 <-- clokep_dev has quit (Client exited) 20:10:32 <Mic> Seems like you are making good progress 20:16:21 <clokep> Most of it was there! I just had a few bugs stopping everything from working. 20:18:24 <-- tymerkaev has quit (Ping timeout) 20:55:07 <-- clokep has quit (Quit: Instantbird 0.3a1pre) 20:55:18 --> clokep has joined #instantbird 20:55:18 * ChanServ sets mode +h clokep 21:09:44 --> tymerkaev has joined #instantbird 21:11:07 <Mic> I just checked the channels infos on chanserv and interestingly it is the third anniversary of this channel today 21:11:47 <clokep> Happy birthday #instantbird? :P 21:14:41 <Mic> I just had an idea concerning mode display in the participants list. 21:15:08 <Mic> And we even don't need symbols for founder & co for it 21:15:15 <clokep> I think to display "a" we should do a red dot like the buddy list? 21:15:38 <Mic> Do we have this information and is it updated frequently? 21:16:20 <clokep> How frequently ti's updated would depnd on the client, but it's a valid status on IRC. 21:16:25 <clokep> Anyway, what were you going to say? 21:17:10 <Mic> Nothing, I'm doing a mockup instead 21:18:01 <clokep> :) 21:43:28 <-- tymerkaev has quit (Input/output error) 21:48:25 --> tymerkaev has joined #instantbird 21:52:28 --> chrisccoulson has joined #instantbird 21:56:56 <Mic> Didn't look as good as I wanted 21:57:30 <clokep> :( 21:57:46 <Mic> I experimented with colored dots and tilted stripes 21:59:36 <Mic> The stripes were inspired by rank signs on uniforms to be honest ;) 21:59:53 <clokep> :) Too complicated or...? 22:00:00 <clokep> I think the way we have it now is OK. 22:00:07 <clokep> Maybe dull people out who are away? 22:04:41 <Mic> Maybe 22:14:16 <-- tymerkaev has quit (Ping timeout) 22:15:43 <Mic> Should that affect the names of the user in conversation as well? 22:16:09 <Mic> *the conversation view 22:16:40 <Mic> Some other colors are derived, e.g. the bubble colour on the bubble message style afaik 22:22:00 <clokep> No, I don't think so. 22:22:17 <clokep> Just gray them out in the list. If they want to talk...so be it. ;) 22:22:45 <clokep> Although I guess it could help, i.e. if I ping someone but they're actually 'away'. They might answer,e ven though they don't want to. 22:31:22 <Mic> http://lolcode.com/examples/count-1 22:31:28 <Mic> ups, sorry 22:31:33 <Mic> wrong window :D 22:51:29 <-- hicham has quit (Ping timeout) 22:59:06 <flo> Good night :) 23:06:00 <Mic> nn 23:12:39 <Mic> Good night 23:12:43 <-- Mic has left #instantbird ()