#instantbird log on 06 17 2013

All times are UTC.

00:04:10 <-- Optimizer has quit (Ping timeout)
00:08:06 --> Optimizer has joined #instantbird
00:16:28 <-- Optimizer has quit (Ping timeout)
00:32:59 <-- mpmc has quit (Connection reset by peer)
00:55:22 --> Kaishi has joined #instantbird
01:08:33 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
01:11:58 <-- FireFly_TB has quit (Ping timeout)
01:20:06 --> clokep has joined #instantbird
01:20:06 * ChanServ sets mode +o clokep 
01:36:49 --> nhnt11 has joined #instantbird
01:38:27 <-- wnayes has quit (Ping timeout)
01:42:24 --> wnayes has joined #instantbird
01:58:33 --> Optimizer has joined #instantbird
02:04:35 <-- nhnt11 has quit (Ping timeout)
02:05:23 --> nhnt11 has joined #instantbird
02:09:06 <-- clokep has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
02:10:26 <-- Optimizer has quit (Ping timeout)
02:14:34 <-- rosonline has quit (Quit: Instantbird 1.4 -- http://www.instantbird.com)
02:14:46 --> dew has joined #instantbird
02:20:17 --> mconley has joined #instantbird
02:40:44 --> FireFly_TB has joined #instantbird
02:42:27 <-- FireFly_TB has quit (Ping timeout)
02:43:06 <-- wnayes has quit (Quit: wnayes)
02:52:47 --> Optimizer has joined #instantbird
02:56:00 <-- nhnt11 has quit (Ping timeout)
02:56:28 <instant-buildbot> build #882 of linux-nightly-default is complete: Failure [failed shell_3]  Build details are at http://buildbot.instantbird.org/builders/linux-nightly-default/builds/882
02:57:26 <-- Optimizer has quit (Ping timeout)
03:04:43 --> nhnt11 has joined #instantbird
03:07:11 <instant-buildbot> build #874 of macosx-nightly-default is complete: Failure [failed shell_3]  Build details are at http://buildbot.instantbird.org/builders/macosx-nightly-default/builds/874
03:18:20 --> DGMurdockIII has joined #instantbird
03:41:32 <nhnt11> Filtering the buddy list is pretty useful ;)
03:41:47 * nhnt11 is working on a patch for bug 631
03:41:51 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=631 enh, --, ---, nobody, NEW, Filtering buddy list
03:45:10 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
03:45:22 <-- mconley has quit (Input/output error)
03:45:45 --> nhnt11 has joined #instantbird
03:49:32 <-- Nirgali has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
03:49:33 --> Nirgali has joined #instantbird
03:50:13 --> Optimizer has joined #instantbird
03:50:30 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
03:50:58 --> nhnt11 has joined #instantbird
03:56:27 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
03:57:21 --> nhnt11 has joined #instantbird
04:03:11 <-- Nirgali has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
04:03:12 --> Nirgali has joined #instantbird
04:31:37 <instantbot> nhnt11@gmail.com requested feedback from aleth@instantbird .org for attachment 2490 on bug 631.
04:31:41 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=631 enh, --, ---, nobody, NEW, Filtering buddy list
04:32:44 * nhnt11 is always confused who to request feedback from. Perhaps he should just ask everyone from now on.
04:39:58 <-- zen_monkey has quit (Ping timeout)
04:40:32 --> zen_monkey has joined #instantbird
05:25:59 <-- EionRobb has quit (Ping timeout)
05:28:01 --> EionRobb has joined #instantbird
05:29:53 <-- EionRobb has quit (Ping timeout)
05:34:16 <-- DGMurdockIII has quit (Quit: ChatZilla 0.9.90 [Firefox 22.0/20130612084701])
05:39:10 --> mconley has joined #instantbird
05:44:11 <instant-buildbot> build #977 of win32-nightly-default is complete: Failure [failed shell_3]  Build details are at http://buildbot.instantbird.org/builders/win32-nightly-default/builds/977
06:12:04 --> EionRobb has joined #instantbird
06:18:46 * wuwei|offline is now known as wuwei
06:32:40 <-- chrisccoulson has quit (Connection reset by peer)
06:33:06 --> chrisccoulson_ has joined #instantbird
06:33:22 <-- mconley has quit (Ping timeout)
06:33:23 <-- chrisccoulson_ has quit (Connection reset by peer)
06:35:58 --> FireFly_TB has joined #instantbird
06:41:06 --> chrisccoulson has joined #instantbird
07:34:06 * nhnt11 is unable to mimic the alternate striped look of the accounts dialog
07:34:27 <nhnt11> (Alternate accounts have a light-blue background)
07:41:18 <nhnt11> Mic: I did think of CSS selectors and intended to experiment with them for the next patch! :)
07:58:48 <-- Optimizer has quit (Ping timeout)
07:58:48 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
07:58:53 --> nhnt11 has joined #instantbird
07:58:58 <-- nhnt11 has left #instantbird ()
07:59:09 --> nhnt11 has joined #instantbird
08:02:07 --> Optimizer has joined #instantbird
08:04:26 --> flo-retina has joined #instantbird
08:04:26 * ChanServ sets mode +qo flo-retina flo-retina 
08:07:01 --> jb has joined #instantbird
08:09:40 <flo-retina> is anybody taking care of the xpcshell failure?
08:12:47 * nhnt11 is now known as nhnt11|lunch
08:15:08 * nhnt11|lunch is now known as nhnt11
08:16:49 <-- Optimizer has quit (Ping timeout)
08:20:01 --> nhnt12 has joined #instantbird
08:20:20 <-- nhnt11 has quit (NickServ (GHOST command used by nhnt12))
08:20:26 * nhnt12 is now known as nhnt11
08:20:44 --> Optimizer has joined #instantbird
08:31:28 <-- FireFly_TB has quit (Input/output error)
08:31:37 <-- Optimizer has quit (Ping timeout)
08:35:35 <nhnt11> I have the buddy list loading fully async. It loads contacts in sets of 20 contacts each.
08:35:37 --> Optimizer has joined #instantbird
08:35:49 <nhnt11> I wonder if I should up that to 50 or more contacts per setTimeout
08:45:27 <nhnt11> I should really find out how to properly do async stuff. setTimeout can't be right.
08:47:52 * nhnt11 discovers threads in JavaScript
08:57:28 <-- jb has quit (Ping timeout)
09:22:07 <nhnt11> If a contact is linked to more than one tag, then are the corresponding contacts in each of the tags' getContacts() arrays identical?
09:23:04 <nhnt11> I mean, if contact A has tags T1 and T2, when you do T1.getContacts() and T2.getContacts(), will both contain identical contact A objects?
09:49:30 <flo-retina> nhnt11: I think so yes.
09:49:31 --> qlum has joined #instantbird
09:49:44 <flo-retina> unless they have different xpconnect wrappers :-S
09:50:06 <nhnt11> flo-retina: I was trying to check if the list already has a contact before adding it
09:50:12 <nhnt11> I think contact.id is a better way to do that
09:50:20 <nhnt11> I'm taking a lot of help from group.xml
09:50:23 <-- gerard-majax has quit (Ping timeout)
09:52:18 <-- flo-retina has quit (Ping timeout)
09:56:53 --> flo-retina has joined #instantbird
09:56:53 * ChanServ sets mode +qo flo-retina flo-retina 
10:00:38 <nhnt11> Something is wrong with my sorting method
10:00:43 <nhnt11> Though I copied it from group.xml
10:00:46 <nhnt11> And it works there.
10:00:48 <nhnt11> :/
10:05:03 --> clokep has joined #instantbird
10:05:03 * ChanServ sets mode +o clokep 
10:07:05 <nhnt11> Ah. Got it.
10:10:58 <-- Optimizer has quit (Ping timeout)
10:12:13 <flo-retina> nhnt11: what do you mean with "works for me" for "Services.wm.getMostRecentWindow("Messenger:convs");"?
10:12:36 <nhnt11> flo-retina: It opens the tab in the same window that you did the command in.
10:14:14 --> Optimizer has joined #instantbird
10:22:25 <flo-retina> alright, it seems to work.
10:22:43 <flo-retina> I'll need to find a better explanation than "it doesn't work" to justify not liking it ;)
10:22:46 * clokep has  afeeling it just finds the focused window first. ;)
10:24:04 <flo-retina> clokep: it returns the window of the requested type that was focused the most recently
10:24:16 <clokep> Isn't that what I just said?
10:24:25 <flo-retina> clokep: and it seems difficult to type something in there without focusing the conv window
10:24:31 --> gerard-majax has joined #instantbird
10:24:46 <flo-retina> so my concern is now, what happens if an add-on is displaying conversations in a window that doesn't have the "Messenger:convs" type ;)
10:25:21 <flo-retina> clokep: you said it was "a feeling". I just read the code ;), so I was confirming :)
10:26:00 <nhnt11> flo-retina: Highly unlikely, but okay.
10:26:30 <nhnt11> I don't want to focus on that patch too much, and I certainly wasn't suggest that it's checkin-worthy.
10:26:36 <flo-retina> hmm, but we expect getTabBrowser to exist in that window :-S
10:26:58 <nhnt11> s/suggest/suggesting
10:27:12 * nhnt11 has a buddy list in an awesometab full of squished prpl icons
10:27:23 <nhnt11> It looks.. gross.
10:29:05 <nhnt11> flo-retina: What's the largest image size available for a prpl icon?
10:29:32 * nhnt11 checks the accounts dialog code
10:30:46 <flo-retina> nhnt11: we have 16x16, 32x32 and 48x48 for all prpls
10:30:46 --> jb has joined #instantbird
10:31:24 <flo-retina> nhnt11: the largest (48x48) is displayed in the account properties dialog that you can open from the account manager with the "properties" button.
10:32:08 <-- nhnt11 has quit (Ping timeout)
10:34:00 --> nhnt11 has joined #instantbird
10:34:10 <instantbot> clokep@gmail.com requested review from aleth@instantbird.o rg for attachment 2492 on bug 1554.
10:34:13 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1554 nor, --, 1.5, aleth, RESO FIXED, IRC should notify the user when messages couldn't be sent
10:34:16 <nhnt11> flo-retina: got it.
10:34:31 <nhnt11> so baseURI + "icon48.png" should do the trick.
10:36:19 <clokep> Well that was easy.
10:37:35 <flo-retina> nhnt11: yes :)
10:38:16 * nhnt11 could probably use Awesometab in it's current state.
10:38:58 <flo-retina> :)
10:39:31 <clokep> Could be cool to post a screenshot at some point.
10:40:12 <nhnt11> clokep: I will.
10:40:22 <nhnt11> I want to get a few more things working first, though
10:40:31 <nhnt11> For example, selecting items on the list. :P
10:40:41 <nhnt11> (There's no way to tell which one is selected currently)
10:41:01 <nhnt11> I'm trying to duplicate the effect in the accounts dialog where every other list item has a light blue background
10:41:02 <nhnt11> It's not working :(
10:42:16 <flo-retina> nhnt11: maybe we could help you with that if you showed us what it looks like right now and what you are trying to get instead ;)
10:42:30 <flo-retina> nhnt11: have you found the css code of the account manager already?
10:42:36 <nhnt11> flo-retina: Yes.
10:42:39 <nhnt11> brb.
10:43:31 <flo-retina> clokep: hmm, bug 1563 is fixed, but I see http://lxr.instantbird.org/instantbird/source/instantbird/themes/accounts.css#58 is there a patch I forgot to checkin?
10:43:34 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1563 min, --, 1.4, clokep, RESO FIXED, Remove WINCE support
10:44:45 <flo-retina> and http://lxr.instantbird.org/instantbird/search?string=wince has a few more results that seem like we didn't want to keep
10:45:03 <clokep> flo-retina: I noticed this a few days ago, forgot to file a bug.
10:45:26 <flo-retina> the only ones that want to be kept are those in purple/libraries/xml2/ that are likely from upstream; and possibly configure.in if it's still there in c-c
10:45:32 <clokep> flo-retina: We must have missed a few patches to back out? It's on my todo list.
10:45:52 <flo-retina> ok, cool :)
10:46:00 <nhnt11> re
10:46:21 <flo-retina> clokep: is the current syntax of /invite something we inherited from Pidgin?
10:46:45 <nhnt11> flo-retina, clokep: What's the easiest way to show dummy contacts?
10:47:02 <nhnt11> I'd post a screenshot but I don't want it to have my real contacts on principle.
10:47:30 <flo-retina> the other day when I failed to use it, I assumed not RTFM'ing before trying to use it was my mistake, but after thinking about it more, specifying the channel seems a low level protocol thing rather than something we would like in the UI
10:47:44 <clokep> flo-retina: I think so.
10:48:46 <flo-retina> so could we change it to invite <nick1>[ <nick2>]* ?
10:49:05 <clokep> flo-retina: I can think of reasonable times to use the "channel" flag, (i.e. if we're talking in here and you go "Oh wait, we should discuss this in #maildev." you can just type /invite foo #maildev
10:49:15 <flo-retina> I'm not sure how much I care though; doesn't seem to be a frequently used command
10:49:27 <flo-retina> clokep: alright
10:49:29 <clokep> flo-retina: We could also do /invite <nick>[,<nick>]* [<channel>], if we wanted.
10:49:49 <flo-retina> clokep: is there a reliable way to detect that a string is *not* a channel, and therefore likely a nick?
10:50:01 <clokep> We do that already in places in commands.
10:50:07 <flo-retina> ah cool
10:50:16 <flo-retina> did you really mean the ',' in your above syntax?
10:50:20 <clokep> http://lxr.instantbird.org/instantbird/source/chat/protocols/irc/ircCommands.jsm#221
10:50:24 <clokep> Yes.
10:50:39 <clokep> But sure, we could just check the last parameter to see if it's a channel or not.
10:50:45 <clokep> (Or all of them.)
10:50:56 <flo-retina> invite the same nick to more than one channel?
10:51:03 <flo-retina> or error if it's not the expected syntax?
10:51:21 <clokep> Error if more than one channel is given.
10:51:24 <flo-retina> alright, filing a bug, you all IRC experts will be able to figure out the best UX :)
10:52:47 <nhnt11> Do buddies have a "default" buddy icon?
10:52:59 <flo-retina> no
10:53:09 <flo-retina> although some message themes do
10:53:16 <nhnt11> I found a userIcon.png
10:53:26 <clokep> That's for the contact list.
10:53:32 <flo-retina> that's the one used if *you* don't have a buddy icon
10:53:38 <nhnt11> Aha.
10:53:42 <nhnt11> That works then.
10:53:44 <flo-retina> as a placeholder at the top of the contact list window
10:53:51 <nhnt11> flo-retina: Yes, got it.
10:54:03 <nhnt11> I'm going to use that as a buddy icon for buddies that don't have one.
10:54:05 <nhnt11> If that's alright
10:54:12 <instantbot> New Core - IRC bug 2006 filed by florian@instantbird.org.
10:54:14 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2006 enh, --, ---, nobody, NEW, The /invite command should support taking more than one nick as parameter
10:54:35 <nhnt11> That's because I currently plan to have the buddy icon at the left edge, then the name/status, then prpl icon + status indicator at the right edge
10:55:05 <nhnt11> An alternative is to switch the buddy icon and prpl icon - then we don't need a default buddy icon but it won't look as good imho.;
10:55:13 <instantbot> New Core - General bug 2007 filed by clokep@gmail.com.
10:55:15 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=2007 min, --, ---, clokep, ASSI, Remove last vestiges of WINCE support
10:55:32 <flo-retina> nhnt11: I would suggest status icon at the left edge, in the bottom right corner of the buddy icon. Like we do at the top of both the conversations and the contacts window.
10:55:55 <nhnt11> flo-retina: Yes sorry.
10:55:59 <nhnt11> I meant that.
10:56:16 <nhnt11> The status icon is overlayed on whatever is at the left edge
10:56:40 <nhnt11> I like the concept of maintaining consistency across Instantbird for the layout
10:56:56 <flo-retina> we want that layout to be consistent across the whole application. We currently have it in the toolbar of conversations and at the top of the blist window, we also plan to have it in tooltips at some point (whenever someone feels like implementing it ;))
10:57:22 <nhnt11> flo-retina: I did see your comment about that somewhere.
11:03:00 <-- clokep has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
11:04:21 <nhnt11> How does this sound: similar to where the prpl icon is in the conversation toolbar, all protocol icons are shown in a row, and each one is a button which opens a conversation with the buddy, using that protocol.
11:04:59 <flo-retina> nhnt11: useless :-P
11:05:22 <nhnt11> I agree, but I thought I should cover it.
11:05:25 <flo-retina> nhnt11: just do like in the contacts window and show the prpl icon of the most available buddy
11:05:36 <nhnt11> flo-retina: That's what I'm doing right now
11:05:45 <flo-retina> nhnt11: for the rare cases where it matters, the user can change it after opening the conversation
11:05:54 <nhnt11> I don't know about "most available buddy" though, I'm using preferredBuddy
11:06:00 <nhnt11> Okay.
11:06:22 <flo-retina> nhnt11: the "preferred" one is 'preferred' because it's the most available ;)
11:06:30 <flo-retina> it's just that the backend does the work for you ;)
11:06:31 <nhnt11> flo-retina: Oh. I thought it was user set
11:06:55 <nhnt11> flo-retina: It's a nice backend, I was pleasantly surprised at how little work I had to do.
11:07:47 <flo-retina> nhnt11: right, so it's user set too.
11:07:59 --> atuljangra has joined #instantbird
11:08:12 <flo-retina> nhnt11: but what the user set only affects buddies that have the same availability
11:08:21 * atuljangra 3g breakdown
11:08:26 <nhnt11> Ah that's nice
11:08:31 <flo-retina> atuljangra: hello :)
11:08:37 <atuljangra> flo-retina: Hi :)
11:08:43 <nhnt11> atuljangra: I really don't get why you use 3rd person for everything ;)
11:08:48 <nhnt11> Hi btw! :)
11:08:52 <atuljangra> nhnt11: Hello :)
11:09:12 * atuljangra hides :P
11:09:23 <atuljangra> I love /me :P
11:09:37 * nhnt11 finds atuljangra in his hiding spot and pokes him with a sharp stick
11:10:24 <atuljangra> flo-retina: Currently I'm doing the drag and drop thing for multiple files. Currently dropping on the inputbox prints the system msg, is that okay? 
11:10:36 <atuljangra> nhnt11:  :P
11:10:57 <flo-retina> "I love /me" would be nice for a geek tshirt
11:11:03 <flo-retina> I would use :-] as the emoticon though
11:11:14 <atuljangra> flo-retina: heh :P
11:11:45 <flo-retina> atuljangra: I'm not exactly sure of what you are asking, so I guess it's ok :-P
11:12:21 <atuljangra> flo-retina: okay :P
11:12:40 <nhnt11> flo-retina: By the look of blist.xul and blist.js, am I right in saying that the background of the user icon is set to the generic thing using CSS, and overlayed with the actual icon if it exists?
11:12:46 * nhnt11 goes to look at blist.css
11:12:55 <flo-retina> are you asking if you should support dropping on any place of the conversation binding rather than just the input box?
11:13:10 <nhnt11> And yes, so it is.
11:13:21 <flo-retina> nhnt11: sounds right
11:13:26 <atuljangra> flo-retina: yes, but I guess just for testing inputbox should suffice.
11:13:36 <atuljangra> nhnt11: that's right.
11:13:46 <flo-retina> atuljangra: sure, whatever works for testing is good enough for testing purposes :)
11:13:48 * atuljangra read whole code while he was stuck yesterday :-/
11:14:04 * nhnt11 bows to atuljangra
11:14:23 <flo-retina> atuljangra: including libpurple? Did you have nightmares after that?
11:14:50 <atuljangra> flo-retina: Thanks :-) I'll just finish this. what should I achieve next.
11:15:08 <atuljangra> libpurple code is not so developer-friendly :P
11:15:25 <flo-retina> atuljangra: to be fair, some parts of it are alright ;)
11:15:36 <flo-retina> there are just some parts that are kind of meh :)
11:16:01 <flo-retina> atuljangra: so once you get this working, try to get some feedback on the code
11:16:30 <atuljangra> flo-retina: Aye Aye captian :-)
11:16:31 <flo-retina> then next, I'm not sure; do you have suggestions? :)
11:17:21 <atuljangra> umm, I guess we should start with some backend-ish work? 
11:18:40 <flo-retina> right, defining in the idl files the APIs we want to send and receive sound useful
11:19:20 <flo-retina> event if it's just a first draft (I suspect these APIs will need to change a bit when running into edge cases, or when you'll start supporting different ways of transfering the files)
11:20:53 <flo-retina> atuljangra: have you/we decided which way of transferring a file should be the first one we'll implement? Possible choices are either FileLink, libpurple stuff (try to find a prpl where file transfer works for you on Pidgin, and then get it working on Instantbird), or adding support in our JS implementation of GTalk or IRC.
11:21:50 <flo-retina> you'll also soon need to have 'some' download/upload progress UI, but for a very early experiment, just dump()'ing messages to stdout would be okish I guess
11:22:48 <atuljangra> flo-retina: Umm, we have not decided yet, which one should we implement? Best would be the one which is easy and can be completed early so that progress of the project is not affected much. 
11:23:22 <atuljangra> flo-retina: yes, we can have the progress UI later, for experimenting we can just dump to stdout. :)
11:24:22 * atuljangra someone on the phone, afk
11:25:11 <flo-retina> "the one which is easy" I think all 3 have their specific challenges
11:25:34 <flo-retina> and we'll need to be sure that all 3 are possible before deciding our APIs are good enough
11:25:44 <flo-retina> so which one you want to start with is really up to you
11:26:55 <flo-retina> clokep++ for providing a fix for the xpcshell test failure :)
11:27:46 <nhnt11> I'm having trouble displaying the default user icon
11:27:46 <nhnt11> :/
11:32:37 * wuwei is now known as wuwei|lab|afk
11:34:12 <atuljangra> flo-retina: umm, okay. Where can I get some more details about all three of them, I can look them in some details and then decide. Sounds good?
11:35:17 <flo-retina> atuljangra: for libpurple, look at the ft.h file (I already gave you a link to it)
11:35:44 <flo-retina> atuljangra: for Gtalk, look at the XMPP XEPs around file transfer, and our xmpp code in chat/protocols/xmpp
11:36:00 <flo-retina> atuljangra: for IRC, ask the experts (clokep, aleth, ...)
11:36:11 <flo-retina> atuljangra: for FileLink, I think you have already researched more than I have
11:36:59 <atuljangra> Cool. I have looked at most of the stuff, but will do it again from different perceptive.
11:38:07 <-- Optimizer has quit (Ping timeout)
11:39:52 <nhnt11> Looks like I have most things working. Screenshot coming up! :)
11:40:15 <nhnt11> None of my contacts have status messages :-/
11:40:19 <atuljangra> \o/
11:40:32 <atuljangra> nhnt11: Add me :P
11:40:43 <atuljangra> I can be your test contact ;)
11:40:47 <nhnt11> atuljangra: PM me your gtalk
11:41:12 <nhnt11> Actually, flo-retina, can I add you as well? I'd like a few test contacts that I can post screenshots of here without worrying about privacy
11:41:22 --> Optimizer has joined #instantbird
11:41:37 * atuljangra wonders if flo-retina uses gtalk?
11:41:49 <flo-retina> atuljangra: I do
11:42:14 <atuljangra> flo-retina: :)
11:42:19 <atuljangra> nhnt11: done.
11:43:10 <nhnt11> I'm going to use a different contact for the screenshot - one who is on my buddy list in multiple protocols
11:43:33 <flo-retina> nhnt11: well, you can add us on IRC too ;)
11:43:52 <atuljangra> ;)
11:43:52 <nhnt11> Can I add people on IRC as contacts?
11:43:56 <nhnt11> Interesting
11:43:57 <flo-retina> why not?
11:44:03 <nhnt11> flo-retina: Never tried
11:44:03 <nhnt11> :P
11:45:10 <nhnt11> Cool
11:45:36 <flo-retina> http://pastebin.instantbird.com/225093 doesn't sound good :-/
11:46:21 <flo-retina> and that's coming from http://lxr.instantbird.org/instantbird/source/chat/components/src/imContacts.js#1322
11:46:40 <flo-retina> I really don't see why accountBuddyRemoved is called when accepting an XMPP invitation :-S
11:46:58 <atuljangra> weird. :/
11:47:57 <-- Optimizer has quit (Connection reset by peer)
11:48:11 <flo-retina> uh, it's just gtalk being stupid about adding contacts
11:48:17 --> novabyte has joined #instantbird
11:48:31 <atuljangra> flo-retina: how?
11:48:48 <flo-retina> it sent a stanza saying you invited me, then a stanza saying I removed you from my list, then a stanza saying you are now on my list. (yes, in that order).
11:49:17 <atuljangra> weird.
11:50:18 <flo-retina> + the Instantbird bug about not displaying correctly in the "Other Contacts" group contacts that have just been added. :(
11:50:26 <flo-retina> I should get that fixed someday
11:50:41 <flo-retina> it makes hiding the "Bonjour" group really problematic :).
11:51:31 <flo-retina> I accepted nhnt11's gtalk invitation from Instantbird, and atuljangra's from my android phone. I still have the notification bar about Atul's invitation displayed on Instantbird's contact window :-/.
11:51:32 <atuljangra> do we have a bug# for that?
11:51:48 <flo-retina> not sure
11:52:06 * nhnt11 screwed up the status icon overlay :(
11:52:08 --> Optimizer has joined #instantbird
11:52:10 <atuljangra> okk.
11:52:26 <nhnt11> I see a humongous green/red/grey dot over the buddy icon :/
11:52:34 <nhnt11> margins :/
11:53:47 <atuljangra> Bug 1572 sounds like one.
11:53:51 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1572 nor, --, ---, nobody, NEW, Contacts added directly to "Other Contacts" don't show until collapsed/expanded
11:55:42 --> clokep_work has joined #instantbird
11:55:42 * ChanServ sets mode +o clokep_work 
11:57:09 <-- Optimizer has quit (Connection reset by peer)
11:58:05 <nhnt11> http://puu.sh/3hHiA.png
11:58:13 <nhnt11> http://puu.sh/3hHiW.png
11:58:14 <nhnt11> :)
11:58:47 <clokep_work> flo-retina: Feel free to steal a review.
11:59:40 <nhnt11> (Those are screenshots of awesometab-buddylist, btw)
12:00:42 <nhnt11> brb
12:00:42 <atuljangra> Seems really nice :-)
12:00:49 <atuljangra> nhnt11: Nice work :)
12:01:06 <atuljangra> though UI specifications will be best judged by clokep_work and flo-retina :)
12:01:35 <clokep_work> atuljangra: Jingle: http://xmpp.org/extensions/xep-0176.html and GTalk's https://developers.google.com/talk/call_signaling file transfers
12:01:39 --> Optimizer has joined #instantbird
12:01:40 <clokep_work> (Thank you Pidgin mailing list...)
12:02:06 <atuljangra> clokep_work: Yes, I was looking at Jingle only.
12:02:48 <atuljangra> clokep_work: I should be using Gtalk's (it is based on Jingle only iirc)
12:02:50 <nhnt11> clokep_work: I'm going to add you on gtalk, I hope you don't mind.
12:02:59 <nhnt11> (need more people for screenshots)
12:03:22 <clokep_work> nhnt11: That's fine.
12:04:38 <clokep_work> Booooooo. That invite just did notification stuff for me.
12:04:41 <clokep_work> I thought I had all that disabled. :(
12:04:46 <clokep_work> (Flashing my taskbar...)
12:07:51 <nhnt11> clokep_work: What do you think about the UI in those screenshots?
12:07:56 <nhnt11> flo-retina: ^
12:08:42 <clokep_work> nhnt11: Are those "merged" contacts or no?
12:08:47 <nhnt11> No.
12:08:50 <nhnt11> They aren't
12:08:56 <clokep_work> Just checking. :)
12:08:58 <nhnt11> Merged contacts don't display dupes, don't worry.
12:08:59 <nhnt11> :)
12:09:00 * atuljangra tries again to run IB behind proxy.
12:09:08 <clokep_work> It looks OK to me. I'm not sure why the prpl icon is so big though.
12:09:08 <nhnt11> atuljangra: Proxychains?
12:09:17 <nhnt11> clokep_work: Yeah, I'm going to decrease the size on that.
12:09:19 <clokep_work> We generally try to not emphasis different protocols.
12:09:36 <clokep_work> Besides that, I think it looks OK. I agree it could use the alternating colors.
12:09:53 <nhnt11> Yeah. That's my next goal.
12:10:14 <atuljangra> nhnt11: that won't work, cos ports are blocked, trying some tunneling, if at all, it can work.
12:10:32 <clokep_work> atuljangra: Vaguely http://www.irchelp.org/irchelp/rfc/dccspec.html and http://www.irchelp.org/irchelp/rfc/ctcpspec.html are DCC for IRC. I don't suggest you start with that one, it has a lot of oddities.
12:10:48 --> mpmc has joined #instantbird
12:10:52 <nhnt11> atuljangra: If you have a proxy, you can force a process to use it using proxychains. I'm not sure what blocked ports have to do with it.
12:11:10 <nhnt11> http://proxychains.sourceforge.net/
12:11:11 * clokep_work thinks it would make sense for atuljangra to start with GTalk and/or libpurple then FileLink.
12:11:42 * atuljangra also thinks that starting with gtalk would be a good idea.
12:12:18 <-- Optimizer has quit (Ping timeout)
12:13:07 <atuljangra> nhnt11: some ports are closed by the institute proxy, thus I don't think that those ports will work after using proxychains.
12:13:27 <nhnt11> atuljangra: Ah that way.
12:13:41 <nhnt11> atuljangra: Can't you bypass the proxy somehow? There's almost always a way.
12:13:49 --> instantbot has joined #instantbird
12:13:49 topic changed by concrete.mozilla.org to "Ask about Instantbird (http://instantbird.com) here!|Current version is Instantbird 1.4! :) |News: http://blog.instantbird.org/ |Nightlies: http://nightly.instantbird.im/ (for testing only) |IRC logs: http://log.bezut.info/ |Pastebin: http://pastebin.instantbird.org/ | Bugs: http://bugzilla.instantbird.org"
12:13:50 * ChanServ sets mode +v instantbot 
12:13:50 --> MMN-o has joined #instantbird
12:13:50 --> instant-buildbot has joined #instantbird
12:13:50 * ChanServ sets mode +v instant-buildbot 
12:13:51 --> Morian has joined #instantbird
12:13:51 * ChanServ sets mode +h Morian 
12:13:53 --> flo-retina has joined #instantbird
12:13:53 * ChanServ sets mode +qo flo-retina flo-retina 
12:14:05 --> chrisccoulson has joined #instantbird
12:14:07 --> qlum has joined #instantbird
12:14:11 <-- qlum has quit (concrete2.mozilla.org gravel.mozilla.org)
12:14:15 --> wuwei|lab|afk has joined #instantbird
12:14:22 <clokep_work> Well that was fun...
12:14:24 --> novabyte has joined #instantbird
12:14:40 --> Tonnes has joined #instantbird
12:14:41 --> qlum has joined #instantbird
12:14:51 <atuljangra> atuljangra: I can bypass the proxy, for the ports that are open and are protected by institute proxy (for limiting usage).
12:15:02 <atuljangra> nhnt11:  I can bypass the proxy, for the ports that are open and are protected by institute proxy (for limiting usage).
12:15:07 * atuljangra oops
12:16:27 <-- qlum has quit (concrete2.mozilla.org gravel.mozilla.org)
12:16:34 --> qlum has joined #instantbird
12:18:49 --> GeekShadow has joined #instantbird
12:21:55 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
12:23:55 <-- atuljangra has quit (Quit: need to get some fresh air)
12:44:01 <-- mpmc has quit (Connection reset by peer)
12:49:16 <-- GeekShadow has quit (sand.mozilla.org gravel.mozilla.org)
12:49:16 <-- qlum has quit (sand.mozilla.org gravel.mozilla.org)
12:51:18 <-- jb has quit (Ping timeout)
12:51:31 * qheaden_away is now known as qheaden
12:51:41 <qheaden> Hello everyone! :)
12:52:17 <clokep_work> Good morning.
12:52:30 --> qlum has joined #instantbird
12:55:52 <qheaden> clokep_work: I'm going to do some work on fixing buddy status updates.
12:56:25 <-- Kaishi has quit (Quit: Kaishi)
12:56:26 * flo-retina is excited by nhnt11's screenshots :)
12:59:08 <clokep_work> qheaden: Awesome. :) Seems like you're making great progress. What's left to do with buddies? (I assume adding / removing buddies, at least...)
12:59:17 --> GeekShadow has joined #instantbird
13:00:02 <qheaden> Yes. Adding/removing, making the statues work, and of course, starting conversations. I should have status changes working today.
13:00:25 <qheaden> Just have to figure out why I am getting multiple packet information when it isn't coming from the YMSG servers.
13:00:26 <flo-retina> atuljangra: http://xmpp.org/extensions/xep-0047.html may be the easiest to implement for XMPP; especially if you have proxy concerns ;)
13:01:11 * qheaden just remembered that today is the official start of coding. :P
13:01:33 * clokep_work wonders how many different file transfer mechanisms XMPP has. :-(
13:01:46 <clokep_work> qheaden: Excellent. Hopefully we can figure that out today. :)
13:04:03 --> jb has joined #instantbird
13:06:16 <-- jb has quit (concrete2.mozilla.org gravel.mozilla.org)
13:06:16 <-- GeekShadow has quit (concrete2.mozilla.org gravel.mozilla.org)
13:08:51 <flo-retina> clokep_work: iirc 3 + a google-specific one.
13:09:26 --> jb has joined #instantbird
13:09:45 <clokep_work> Oh, that's not that awful. :)
13:09:47 <clokep_work> IRC has at least like 7.
13:10:08 <clokep_work> Although the data is sent the same way in all of them, just the handshake is different.
13:10:16 * clokep_work mumbles about NATs...
13:16:00 --> gerard-majax has joined #instantbird
13:16:20 --> GeekShad1w has joined #instantbird
13:25:48 <-- GeekShad1w has quit (Quit: leaving)
13:26:17 --> GeekShadow has joined #instantbird
13:41:31 <-- EionRobb has quit (Quit: Leaving.)
13:41:38 --> EionRobb has joined #instantbird
13:43:24 <-- EionRobb has quit (Ping timeout)
13:50:53 <-- jb has quit (Ping timeout)
13:55:11 --> jb has joined #instantbird
13:55:15 <-- jb has quit (Connection reset by peer)
13:55:17 --> jb1 has joined #instantbird
13:57:19 --> Even has joined #instantbird
13:57:19 * ChanServ sets mode +o Even 
13:57:32 <qheaden> clokep_work: Do you have to any stream clearing with Socket? For some reason, I'm getting a playback of packets that Wireshark shows aren't coming in.
13:57:47 <qheaden> *have to do
13:58:14 <clokep_work> qheaden: Let me see your onDataReceived method.
13:58:20 <clokep_work> I have a feeling you're not returning the right value.
13:58:46 <-- jb1 has quit (Connection reset by peer)
13:59:22 <qheaden> clokep_work: http://pastebin.instantbird.com/225177
13:59:25 <qheaden> I'm not returning anything.
13:59:58 <clokep_work> qheaden: That's incorrect, did you read the API docs?
14:00:23 <qheaden> No I didn't. Let me look for them.
14:00:39 <clokep_work> Uhhh...there isn't really any documentation on that method acutally. :(
14:00:54 <qheaden> Okay.
14:02:00 <clokep_work> qheaden: It needs to return the number of bytes that were "handled"
14:02:08 <clokep_work> So they can get cut out of the internal queue that is in the socket.
14:02:27 <qheaden> Ahh okay. That makes sense.
14:02:58 --> jb has joined #instantbird
14:03:58 <qheaden> clokep_work: Okay, I'm not getting packet replay anymore. Thanks.
14:04:46 --> jb1 has joined #instantbird
14:04:48 <-- jb has quit (Connection reset by peer)
14:04:54 <clokep_work> qheaden: Glad that was easy to fix! :)
14:05:38 <qheaden> :)
14:08:57 --> mconley has joined #instantbird
14:12:58 * qheaden finds a major bug in his _extractPackets() method.
14:15:19 <qheaden> clokep_work: Status changes are now working. :)
14:20:03 --> nhnt11 has joined #instantbird
14:28:47 --> mpmc has joined #instantbird
14:29:45 <clokep_work> qheaden: Nice. :)
14:32:54 <qheaden> There was a bug in _extractPackets() that made it ignore single-packet messages.
14:33:56 <clokep_work> Ah, cool.
14:37:11 <-- jb1 has quit (Ping timeout)
14:39:37 <nhnt11> Don't you hate bugs? ;)
14:40:04 * nhnt11 made a blunder earlier that caused his binary search algorithm to insert stuff apparently randomly.
14:40:49 <qheaden> nhnt11: Runtime bugs are horrible.
14:41:11 <qheaden> Especially those ones that happen over a long period of time.
14:41:19 <nhnt11> Yeah.
14:42:59 <-- Even has quit (Input/output error)
14:43:11 <clokep_work> nhnt11: How many devices do you sign in from? :P
14:43:26 <nhnt11> Two?
14:43:36 <nhnt11> If it doesn't say _phone, I'm on my laptop
14:43:48 <nhnt11> If the whois is different it's because I'm using 3G :P
14:43:51 <clokep_work> nhnt11: I'm talking about your GTalk. 
14:43:57 <clokep_work> You have four resources online.
14:44:09 <nhnt11> Let me think
14:44:16 <nhnt11> Phone, gmail on firefox, Instantbird
14:44:19 <nhnt11> That makes 3
14:44:56 <-- mpmc has quit (Connection reset by peer)
14:45:41 * nhnt11 wonders what the fourth one is :S
14:47:19 <-- flo-retina has quit (Ping timeout)
14:47:47 <-- Nirgali has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
14:47:50 --> Nirgali has joined #instantbird
14:47:51 --> jb has joined #instantbird
14:48:18 --> flo-retina has joined #instantbird
14:48:18 * ChanServ sets mode +qo flo-retina flo-retina 
14:48:56 <-- jb has quit (Connection reset by peer)
14:50:04 --> jb has joined #instantbird
14:50:59 <nhnt11> The size of the prpl icon is fine here right? http://puu.sh/3hMhU.png
14:53:26 <clokep_work> nhnt11: What's with the . before each one?
14:53:38 <clokep_work> Oh, just to have one where it matches all?
14:53:43 <nhnt11> Yeah.
14:53:48 <nhnt11> No
14:53:54 <qheaden> nhnt11: Things are looking good. :)
14:53:55 <clokep_work> The size is pretty good (you can probably just use the size in conversations?)
14:54:15 <nhnt11> I prefixed the dot on Instantbird contacts so that if I type a dot, my other contacts don't get in the screenshot
14:54:20 <clokep_work> It needs some padding around the icon.
14:54:31 <nhnt11> (So that you guys all appear regardless of status and alphabetical order)
14:54:42 <nhnt11> The padding is needed yes.
14:55:18 * clokep_work isn't positive what the plan is with this.
14:55:21 <clokep_work> Are we hoping to land this?
14:55:38 <nhnt11> clokep_work: It works great and I've started using it :)
14:55:39 <clokep_work> If we are it'll need some polish...if not...it probably doesn't need to be perfectly polished. :)
14:55:59 <nhnt11> I need some advice on making it load contacts async
14:56:20 <nhnt11> I did it with setTimeout and loaded them 20 at a time, and it worked great. But I don't think it's the right way.
14:56:41 <nhnt11> Also btw, it sorts them first by status then alphabetically
14:56:46 <-- jb has quit (Quit: jb)
14:59:56 <clokep_work> nhnt11: So I saw you say something about JavaScript threads. That doesn't exist as far as I know.
15:00:09 <clokep_work> And setTimeout is generally what we do for similar operations (i.e. loading logs).
15:00:21 <nhnt11> If setTimeout is cool, then great.
15:00:35 <clokep_work> flo-retina would know better. :)
15:00:42 <nhnt11> I saw an article on MDN about creating threads. Services.tm.newThread()
15:00:49 <nhnt11> It didn't work at all for me.
15:02:55 <clokep_work> What article?
15:03:01 <flo-retina> clokep_work: executeSoon is better ;)
15:03:03 <clokep_work> I'm pretty sure you can't use XPCOM in such threads.
15:03:12 <clokep_work> flo-retina: Tell nhnt11 that, not me.
15:03:16 <nhnt11> clokep_work: I believe this: https://developer.mozilla.org/en-US/docs/Code_snippets/Threads
15:04:05 <nhnt11> Ah
15:04:11 <nhnt11> "In versions of Gecko prior to 2.0"
15:04:19 <nhnt11> I missed that.
15:04:19 <clokep_work> nhnt11: Yup. :)
15:04:44 <clokep_work> Usually they have one of those big deprecated things above it.
15:05:06 <qheaden> clokep_work: I have to go take care of something. I'll be back later on.
15:05:13 <nhnt11> Yeah usually I directly look at the code snippets.
15:05:31 <nhnt11> And btw, I can't get the alternate striped thing to work at all
15:06:05 <clokep_work> Usually it helps to post the code oyu've tried, etc.
15:06:12 <clokep_work> aleth or flo might be able to help w/ that.
15:06:14 <clokep_work> Or Mic maybe.
15:06:21 * clokep_work stays away from CSS. :)
15:06:41 * qheaden is now known as qheaden_away
15:08:10 <flo-retina> nhnt11: http://lxr.instantbird.org/instantbird/source/chat/modules/imXPCOMUtils.jsm#163
15:08:42 <nhnt11> flo-retina: I'm using Services.tm.mainThread.dispatch right now
15:08:46 --> mpmc has joined #instantbird
15:08:50 <nhnt11> I don't like it at all
15:08:57 <nhnt11> It loads all buddies at once, and is slow
15:09:03 <nhnt11> I prefer loading 20 at a time.
15:09:07 <nhnt11> Unless you're saying do a dispatch loop
15:10:09 <clokep_work> nhnt11: I think he's saying to use the "executeSoon" function in a loop.
15:10:11 <flo-retina> nhnt11: Services.tm.mainThread.dispatch is the same thing as a setTimeout(0, that actually takes 0ms, rather than 5ms
15:10:41 <nhnt11> Ah
15:10:41 <nhnt11> Okay.
15:13:11 --> jb has joined #instantbird
15:13:13 <-- jb has quit (Input/output error)
15:15:06 --> jb has joined #instantbird
15:16:31 --> Optimizer has joined #instantbird
15:19:15 <-- Optimizer has quit (Ping timeout)
15:19:40 --> Optimizer has joined #instantbird
15:23:20 <nhnt11> This code works, but I'm afraid it's a little too complicated.. http://pastebin.instantbird.com/225212
15:23:30 <nhnt11> flo-retina, clokep_work: ^Can you take a look?
15:25:46 <clokep_work> nhnt11: Umm...why would you not just have four parameters? :-S (let [tags, tag, contacts, contact] = aParams;)
15:26:23 <nhnt11> clokep_work: Where do you mean?
15:26:33 <clokep_work> let [tags, tag, contacts, contact] = aParams;
15:26:43 <nhnt11> Ah
15:27:05 <nhnt11> Because then I would have to null check each param
15:27:31 <clokep_work> I don't see how you don't have to in this situation.
15:27:33 <nhnt11> It's only guaranteed to be the first iteration when all four are null
15:28:13 <nhnt11> With my current code it's just if (!aParams). If I pass four parameters, I have to do if (!aTags && !tag && ...)
15:28:43 <-- Optimizer has quit (Ping timeout)
15:28:51 <clokep_work> Yes.
15:28:52 <clokep_work> So?
15:29:08 * nhnt11 pouts
15:29:18 <clokep_work> That's WAY more readable.
15:29:24 <nhnt11> Okay okay.
15:29:33 <clokep_work> The code oyu have now is almost purposefully obfuscated.
15:31:30 <nhnt11> Actually I think just if (!aTags) is enough
15:31:51 <nhnt11> Yeah it works
15:32:09 <nhnt11> http://pastebin.instantbird.com/225225
15:32:30 --> Optimizer has joined #instantbird
15:33:28 <clokep_work> nhnt11: So I'm not 100% sure what that code is trying to do. :) Are you trying to get all contacts but ignoring tags?
15:33:35 <nhnt11> Yes.
15:33:53 <nhnt11> If I need the tags for a contact (which I will later) I can just use contact.getTags()
15:34:18 <nhnt11> The code iterates through the contacts of each tag (while iterating through the tags) and adds them 20 at a time
15:34:38 * clokep_work would think http://lxr.instantbird.org/instantbird/source/chat/components/public/imIContactsService.idl#17 might need a method to do that.
15:34:43 <clokep_work> That would remove a layer of loops.
15:34:43 <nhnt11> I'm playing with that number though, I may change it to 50
15:36:15 <nhnt11> The only annoyance I have with this code is that since it's a sorted list, you can see stuff getting inserted in the middle.
15:36:39 <nhnt11> And considering the objective of making it snappy, loading them all at once is really unacceptable
15:37:41 <clokep_work> I don't really see that as an issue, personally.
15:37:57 <nhnt11> It's not too big a deal, yes.
15:38:51 <nhnt11> I'm settling at 35, I think
15:50:22 <-- jb has quit (Ping timeout)
15:50:26 <clokep_work> Just choose something, we can play w/ it later.
15:50:32 <clokep_work> It's going to run differently for different people.
15:50:57 <nhnt11> True. I have quite an old CPU though so I can be a good tester ;)
15:51:04 * nhnt11 pats his laptop affectionately
15:51:44 <-- flo-retina has quit (Ping timeout)
15:54:41 --> jb has joined #instantbird
15:57:03 <-- jb has quit (Ping timeout)
15:57:25 * nhnt11 just found a richlistbox.css file that he missed before!
15:57:26 <nhnt11> :)
15:57:41 <nhnt11> And it has all the stripe stuff and other things
16:04:33 --> flo-retina has joined #instantbird
16:04:34 * ChanServ sets mode +qo flo-retina flo-retina 
16:05:25 <nhnt11> http://puu.sh/3hOKm.png
16:05:42 <nhnt11> :)
16:06:02 <clokep_work> That's a lot easier to read.
16:06:42 <nhnt11> I'm going to upload the code to my repo soon, in case anyone wants to try :)
16:13:31 --> Even has joined #instantbird
16:13:31 * ChanServ sets mode +o Even 
16:19:55 <-- flo-retina has quit (Ping timeout)
16:21:03 <-- Optimizer has quit (Ping timeout)
16:34:57 <nhnt11> Okay, the following info is shown for each contact: Name, status indicator, status message, buddy icon, prpl icon, tags. Is there anything else I missed?
16:37:31 --> Optimizer has joined #instantbird
16:38:12 --> Kaishi has joined #instantbird
16:40:22 --> Mook_as has joined #instantbird
16:41:05 <-- zen_monkey has quit (Connection reset by peer)
16:41:47 --> zen_monkey has joined #instantbird
16:47:26 <nhnt11> Here's a screenshot of the (hopefully) final UI: http://puu.sh/3hQiz.png
16:52:54 --> jb has joined #instantbird
16:57:34 <-- Optimizer has quit (Ping timeout)
17:00:09 <-- jb has quit (Ping timeout)
17:01:08 --> Optimizer has joined #instantbird
17:01:40 --> jb has joined #instantbird
17:02:54 <clokep_work> nhnt11: That won't be the final UI...I'm sure we'll want to chang esomething. :_D
17:03:07 <nhnt11> Of course, that's why I said "hopefully"
17:03:14 <nhnt11> I can hope, right? :P
17:03:30 <clokep_work> Yes. :)
17:03:50 <nhnt11> clokep_work: Do you see anything you want to change at first glance?
17:03:51 <-- Optimizer has quit (Ping timeout)
17:03:56 <clokep_work> Tags are unreadable when highlighted, I'd also think tags should be sorted via lowercase.
17:04:14 <clokep_work> What is the sorting order? Status then name?
17:04:15 <nhnt11> clokep_work: Tags aren't sorted at all currently
17:04:18 <nhnt11> Yes.
17:04:43 <nhnt11> I already saw that tags aren't visible when highlighted, I'll fix that.
17:04:54 --> Optimizer has joined #instantbird
17:04:57 <clokep_work> But overall it looks pretty good. :)
17:05:13 <nhnt11> ^^
17:05:35 <nhnt11> I'm currently adding code to make contacts update themselves
17:05:46 <nhnt11> (status changes, etc)
17:06:31 <clokep_work> Cool.
17:06:40 <clokep_work> You guys have done a great job so far. :)
17:06:50 <clokep_work> nhnt11: So are we hoping to land this iteration of it first? Did I hear that right?
17:07:01 <nhnt11> Yeah that's the plan
17:07:20 --> atuljangra has joined #instantbird
17:10:01 --> dionisos has joined #instantbird
17:12:23 <nhnt11> The tabbrowser work feels like it's worth it now :)
17:13:08 <clokep_work> Since this was so easy to add? ;)
17:14:08 <nhnt11> That and since this is working so well :)
17:14:36 <nhnt11> clokep_work: Could you change your status to busy or something on gtalk for a second? I wanna check if the updating thing is working
17:15:57 <nhnt11> Never mind, I'll do it on IRC
17:16:36 <nhnt11> It works :)
17:19:26 <-- jb has quit (Ping timeout)
17:20:38 --> flo-retina has joined #instantbird
17:20:39 * ChanServ sets mode +qo flo-retina flo-retina 
17:20:46 --> FireFly_TB has joined #instantbird
17:23:40 <-- Optimizer has quit (Ping timeout)
17:28:31 --> Optimizer has joined #instantbird
17:30:56 --> Optimizer1 has joined #instantbird
17:31:08 <-- Optimizer has quit (Ping timeout)
17:31:49 <clokep_work> nhnt11: You all set?
17:31:52 * clokep_work was idle. :P
17:32:03 <nhnt11> Yeah
17:32:06 <nhnt11> Getting a weird TypeError, trying to fix it :/
17:32:21 <clokep_work> Let us know if yo uneed help. :)
17:32:28 <clokep_work> atuljangra: How's your stuff going otday?
17:32:40 <-- Optimizer1 has quit (Ping timeout)
17:33:25 --> Optimizer has joined #instantbird
17:35:07 <-- Optimizer has quit (Ping timeout)
17:35:22 <flo-retina> I wonder if there's a nicer icon somewhere that nhnt11 could use instead of the question mark for his tab.
17:35:47 <nhnt11> flo-retina: The MUC icon is nice
17:36:06 <flo-retina> but it means "muc" ;)
17:36:11 <nhnt11> flo-retina: :P
17:36:35 <flo-retina> I was wondering if Firefox's New Tab icon would be better than the current "?"
17:36:49 <nhnt11> Hmm
17:36:57 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
17:37:02 <clokep_work> The dotted square? Probably would work.
17:37:04 --> nhnt11 has joined #instantbird
17:37:08 <flo-retina> clokep_work: yes
17:37:27 * nhnt11 needs help
17:41:05 --> Optimizer has joined #instantbird
17:41:15 <-- Kaishi has quit (Ping timeout)
17:41:44 <atuljangra> clokep_work: hey, work is going pretty good. Was going through jingle and the xep-0047 library :)
17:41:45 <nhnt11> http://pastebin.instantbird.com/225282
17:41:59 <nhnt11> http://pastebin.instantbird.com/225283
17:42:46 <flo-retina> nhnt11: what's your problem? :)
17:42:49 <nhnt11> The first paste contains my updateContactPosition (which shifts a contact up/down the list when status changes) and the method that gets the position to insert using binary search
17:43:13 <nhnt11> The second paste is my observer implementation from the contact list item
17:43:17 <clokep_work> atuljangra: Excellent, please ask when you're at the point you want to start thinking about an API! :)
17:43:45 <nhnt11> aContactElt is the richlistitem element, it contains a contact object 
17:44:02 <flo-retina> the 2 pasted as JS: http://pastebin.instantbird.com/225284 http://pastebin.instantbird.com/225285
17:44:05 <nhnt11> It keeps throwing TypeError: this.contact is null
17:44:11 <nhnt11> I have no clue why :(
17:44:23 * clokep_work has flashbacks to getting this on the buddy list.
17:44:31 <clokep_work> nhnt11: Did you try printing out what this.contact is? :)
17:44:39 <atuljangra> clokep_work: yes sure. :)
17:44:42 <nhnt11> Yes. line 5
17:44:46 <nhnt11> on the first paste.
17:45:27 <nhnt11> Funnily enough it's happening only if I call the function that moves the item
17:45:38 <nhnt11> (If I just update the labels/icons, no errors)
17:46:27 <-- gerard-majax has quit (Ping timeout)
17:49:48 <nhnt11> I'm also getting aContactB is null :(
17:50:48 <-- Optimizer has quit (Ping timeout)
17:51:37 <nhnt11> Here's the exact error btw
17:51:40 <nhnt11> Timestamp: 17/06/13 11:19:58 PM
17:51:41 <nhnt11> Error: TypeError: this.contact is null
17:51:41 <nhnt11> Source File: file:///Volumes/InstantbirdWorkspace/obj-instantbird/mozilla/dist/Instantbird.app/Contents/MacOS/components/imContacts.js
17:51:41 <nhnt11> Line: 1095
17:51:44 --> Optimizer has joined #instantbird
17:51:52 * flo-retina wonders if bug 1377 can give useful insight
17:51:57 <instantbot> Bug https://bugzilla.instantbird.org/show_bug.cgi?id=1377 nor, --, 1.2, florian, RESO FIXED, aContactA/B errors when buddies sign in or out
17:52:42 <nhnt11> flo-retina: I'm currently thinking that I need to wait until the buddy list is completely initialized before responding to events
17:52:52 <clokep_work> That's what I was trying to find. :)
17:54:23 <nhnt11> But in my code, nothing is removed until the new position is calculated
17:54:45 <nhnt11> Does removing and re-adding make stuff null?
17:54:56 <clokep_work> It will remove the element.
17:55:04 <nhnt11> Hmm
17:55:06 <nhnt11> Interesting
17:55:08 <nhnt11> Let me try a fix.
17:55:10 <clokep_work> Potentially.
17:55:15 * clokep_work has no idea how your code works.
17:55:32 <flo-retina> it sucks that there's no correct location information :-/
17:56:05 <flo-retina> we just get the location of this Cu.reportError call http://lxr.instantbird.org/instantbird/source/chat/components/src/imContacts.js#1095 :(
17:56:16 <nhnt11> Yeah
17:56:32 <nhnt11> I was about to remove the try block there
17:56:36 <nhnt11> before you showed me that bug
17:56:52 <flo-retina> do you have a debug build available?
17:57:16 <nhnt11> If I have to set a debug flag for that, no
17:57:20 <flo-retina> ah, debugger; wouldn't really help :-/
17:59:12 <nhnt11> fixed!
17:59:19 <nhnt11> Perfect
17:59:26 <flo-retina> what was it?
17:59:28 <nhnt11> Here's the new code
17:59:31 <nhnt11> http://pastebin.instantbird.com/225296
17:59:55 <nhnt11> (Sorry for not syntax highlighting, I should add some langauge detection to my addon)
18:00:10 <nhnt11> I made a temporary copy of aContactElt.contact
18:00:17 <nhnt11> And rebuilt it from that after the insertBefore
18:00:27 <nhnt11> XBL :(
18:00:45 <nhnt11> Hmm
18:00:54 <flo-retina> ok
18:01:03 <nhnt11> I think the only thing left is to listen for new contacts and add them to the list
18:01:08 <nhnt11> brb
18:06:20 <nhnt11> flo-retina: Is there any need to remove aContactElt as an observer from its contact?
18:06:24 <-- Optimizer has quit (Ping timeout)
18:08:06 <nhnt11> flo-retina, clokep_work: How do I do a release-build?
18:08:18 <clokep_work> nhnt11: What do you mean by a "release" build?
18:08:22 <clokep_work> As opposed to a debug build?
18:08:36 <nhnt11> i.e. Something that I can copy to another machine and it will run fine
18:08:58 <nhnt11> (The Mac app file has loads of aliases in it)
18:09:02 <clokep_work> Ah. I don't remember if anything special needs to be done. :)
18:09:03 <nhnt11> =shortcuts
18:09:22 <clokep_work> make -C objdir package, maybe?
18:09:31 <nhnt11> I'll try
18:11:00 <nhnt11> That did the trick, thanks!
18:11:01 <nhnt11> :)
18:11:14 --> Optimizer has joined #instantbird
18:11:34 * nhnt11 can now use an awesometab build as his main client
18:11:42 <nhnt11> brb
18:11:45 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:12:36 --> Optimizer1 has joined #instantbird
18:13:01 <-- Optimizer has quit (Ping timeout)
18:15:23 <-- FireFly_TB has quit (Quit: FireFly_TB)
18:15:39 --> nhnt11 has joined #instantbird
18:16:30 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:16:38 --> nhnt11 has joined #instantbird
18:16:40 * atuljangra finds XEP-0047 suggested by flo-retina really nice. :)
18:19:51 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:20:06 <-- novabyte has quit (Quit: bye bye)
18:20:32 --> nhnt11 has joined #instantbird
18:21:19 <clokep_work> :) I'm excited to try it out.
18:23:40 <-- MMN-o has quit (Client exited)
18:24:14 <atuljangra> clokep_work: So we are going to use XEP-0047 or Jingle?
18:24:28 <nhnt11> clokep_work: If you mean awesometab, I'm pushing the code in a sec :)
18:24:43 * atuljangra not sure if XEP-0047 supports gtalk.
18:25:04 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:25:17 --> nhnt11 has joined #instantbird
18:25:20 <clokep_work> atuljangra: I think for GTalk you have to use jingle.
18:25:30 <clokep_work> But the standard XMPP stuff can use XEP-0047?
18:25:32 <clokep_work> flo-retina: ^ ^
18:25:44 <clokep_work> nhnt11: Yes.
18:27:25 <nhnt11> If I do $hg qfinish, can I still load the queue patch and amend later?
18:27:56 <nhnt11> Why am I worrying, never mind.
18:29:26 <nhnt11> Pushed :)
18:29:37 <atuljangra> clokep_work: Okay. that makes sense. Or we can use Jingle for XMPP stuff?
18:29:38 <atuljangra> clokep_work: I would want you and flo-retina to decide on this, I'm neutral to both. :)
18:29:50 <atuljangra> clokep_work: Okay. that makes sense. Or we can use Jingle for XMPP stuff also?
18:29:56 <atuljangra> clokep_work: I would want you and flo-retina to decide on this, I'm neutral to both. 
18:30:57 <atuljangra> nhnt11: Nice :-) How can I try it out?
18:31:15 <nhnt11> atuljangra: pull from my repo, update to awesometab-experimental branch and build
18:31:20 <nhnt11> https://bitbucket.org/nhnt11/instantbird-gsoc-2013
18:31:51 <atuljangra> nhnt11: Thanks will give it a try :) What changes have you implemented?
18:32:31 <nhnt11> I'm not sure what you mean. The whole getting-tabbrowser-to-accept-non-conversation-tabs stuff, and the awesometab buddy list code
18:32:34 <nhnt11> are pushed*
18:33:17 <atuljangra> oh okay. Thanks :)
18:34:20 <-- Optimizer1 has quit (Connection reset by peer)
18:35:28 <nhnt11> That code needs some comments...
18:38:40 --> Optimizer has joined #instantbird
18:39:01 --> gerard-majax has joined #instantbird
18:49:29 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:49:49 --> nhnt11 has joined #instantbird
18:50:32 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
18:51:31 --> nhnt11 has joined #instantbird
18:51:51 * atuljangra sleeping cos he is really tired. Will continue work after he is up.
18:51:58 <-- atuljangra has quit (Quit: :()
18:56:11 <flo-retina> atuljangra: XEP-0047 will only work for small files and won't be fast, but I think it's OK as a first implementation so that you can focus on something else. Jingle will likely require more work to get working
18:59:05 <nhnt11> I think I'm done coding for the day
18:59:13 * nhnt11 goes to watch something funny on youtube
18:59:33 --> MMN-o has joined #instantbird
19:26:47 <-- flo-retina has quit (Ping timeout)
19:27:53 <-- Optimizer has quit (Ping timeout)
19:28:58 <-- zen_monkey has left #instantbird (Saliendo)
19:29:18 <clokep_work> Anyone remember what the deal was with the gmx stuff and if the certificate had to be imported?
19:31:56 --> Optimizer has joined #instantbird
19:32:38 * Mook_as thought it was some odd cname thing or something? can't remember...
19:33:19 <-- nhnt11 has quit (Ping timeout)
19:36:30 <-- Optimizer has quit (Ping timeout)
19:37:23 --> nhnt11 has joined #instantbird
19:40:19 * qheaden_away is now known as qheaden
19:40:34 * qheaden is going to code late into the night to make up for lost time.
19:42:11 --> Optimizer has joined #instantbird
19:51:16 <-- Optimizer has quit (Ping timeout)
19:51:43 <-- nhnt11 has quit (Ping timeout)
19:54:55 --> Optimizer has joined #instantbird
19:55:21 --> nhnt11 has joined #instantbird
19:57:27 --> Optimizer1 has joined #instantbird
19:57:34 <-- Optimizer has quit (Ping timeout)
20:00:02 <nhnt11> Good night.
20:00:07 <-- nhnt11 has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
20:05:51 <-- Optimizer1 has quit (Ping timeout)
20:13:31 --> Optimizer has joined #instantbird
20:17:05 --> DGMurdockIII has joined #instantbird
20:17:14 <-- Optimizer has quit (Ping timeout)
20:32:22 --> unghost has joined #instantbird
20:39:16 --> EionRobb has joined #instantbird
20:51:13 <-- mpmc has quit (Ping timeout)
20:54:29 --> mpmc has joined #instantbird
21:22:09 <clokep_work> Goodnight!
21:22:13 <-- clokep_work has quit (Quit: Instantbird 1.5a1pre -- http://www.instantbird.com)
21:49:34 <-- unghost has quit (Quit: Ухожу я от вас (xchat 2.4.5 или старше))
22:20:51 <-- mconley has quit (Input/output error)
22:30:06 --> clokep has joined #instantbird
22:30:06 * ChanServ sets mode +o clokep 
22:35:25 <clokep> Hello!
22:37:52 <Mook_as> Hiiiii~~~
22:40:00 <qheaden> clokep: I think I should probably start work on conversations.
22:40:19 <clokep> qheaden: Can you add / remove buddies properly?
22:40:22 <clokep> Change the tags?
22:41:37 <qheaden> clokep: Well, come to think of it, no. I can add and remove buddies client side, but it does nothing on the YMSG servers. So I will continue work on that.
22:41:53 <clokep> qheaden: I think that's a good goal, yup. :)
22:42:13 <qheaden> :)
22:42:32 <qheaden> clokep: I did some testing of the status changes, and things are working very well.
22:42:46 <qheaden> Even custom status messages.
22:42:47 <clokep> qheaden: Excellent! :)
22:52:17 <qheaden> clokep: Would it be okay to create addBuddyToYahoo and removeBuddyFromYahoo methods on YahooSession to handle server-side stuff?
22:53:03 <clokep> qheaden: Maybe, but why is that necessary? Wouldn't it just get called once from the account?
22:54:39 <qheaden> clokep: I guess I can just export YahooPacket from yahoo-session.jsm, and build the packet right in YahooAccount?
22:55:08 <clokep> qheaden: Maybe, do it however you think is best for now.
22:55:46 <qheaden> clokep: Okay. I just was trying to avoid exporting YahooPacket, since YahooSession handles the backend stuff.
22:56:02 <clokep> qheaden: If that's how you want to do it, go ahead and do it.
22:58:13 --> wnayes has joined #instantbird
22:59:12 <qheaden> clokep: Okay. When I push the patch you can take a peek at it.
22:59:23 <clokep> OK.
23:03:44 * clokep doesn't have a strong opinion about that.
23:05:24 * Mook_as suspects To/FromServer would be clearer than To/FromYahoo there
23:07:03 --> flo-retina has joined #instantbird
23:07:03 * ChanServ sets mode +qo flo-retina flo-retina 
23:11:19 <qheaden> Mook_as: I had the same thing on my mind. :P
23:11:35 * Mook_as gets out of qheaden's head
23:11:44 <qheaden> :P
23:12:01 <dew> okay guys
23:12:26 <dew> I was about to ask a question but I'll see what I have for documentation first
23:12:50 <clokep> dew: Go for it.
23:13:08 <-- qlum has quit (Client exited)
23:13:16 <dew> what's a good place to get started with a protocol plugin?
23:13:44 <clokep> qheaden took the jsTest prpl and started w/ that.
23:16:06 <dew> this, clokep: https://github.com/protz/comm-central/tree/master/chat/protocols/jsTest
23:16:53 <clokep> dew: I have no idea why you're looking on github.
23:17:06 <clokep> dew: http://lxr.instantbird.org/instantbird/source/chat/protocols/jsTest/jsTestProtocol.js
23:17:58 <qheaden> dew: Yes, jsTest is a perfect launchpad.
23:25:17 <clokep> dew: Let us know if you have more questions please. :)
23:37:42 <flo-retina> aleth didn't come online today?
23:37:59 <flo-retina> I'm wondering if I should just check-in https://bugzilla.instantbird.org/attachment.cgi?id=2492 with r=bustage-fix
23:38:12 <clokep> flo-retina: That's fine. I tested it, it works.
23:38:15 <clokep> He hasn't been online.
23:40:09 <qheaden> I have to go now. I have some more things I have to take care of. It's one of those busy days. :-/
23:40:32 <qheaden> I'll try to get more done tomorrow.
23:40:53 <qheaden> clokep: I'm not going to push a patch just yet. I still have some more fixes to make before it is ready to be seen.
23:41:41 <clokep> qheaden: OK.
23:41:49 <clokep> Hopefully I have time tomorrow to look at it. :)
23:42:46 <qheaden> clokep: No rush. The sooner you look at it, the more fixes I'll have in front of me to make. ;-)
23:43:44 <clokep> qheaden: Exactly! :)
23:44:28 <-- DGMurdockIII has quit (Connection reset by peer)
23:45:21 <-- dionisos has quit (Ping timeout)
23:45:28 <qheaden> Later everyone!
23:45:33 * qheaden is now known as qheaden_away
23:49:29 * clokep can now load all the bugs from BIO in his script!
23:50:35 <flo-retina> cool
23:54:10 <clokep> And hopefully the attachments...but it takes a while.