=== asac_ is now known as asac [01:18] <[reed]> fta: a ton of Mozilla people hate Hg [01:18] <[reed]> if something else came along that was better [01:18] <[reed]> we'd totally switch [01:19] i'm surprised you didn't jump on git. what was it ? win support ? [01:20] <[reed]> yeah, win support [01:21] it seems it improved a lot recently [06:05] anyone around yet? [06:20] Jazzva: do we really need to package chatzilla since you packaged the other extension thar is pretty much same (as far as i can tell) [09:02] hi ! [09:20] asac ? [09:23] hi XioNoX [09:25] good weekend ? [09:25] yep [09:26] went to an island where a friend is living now ;) [09:29] nice [09:29] what is the program for today ? [09:29] :D [09:35] i didnt work anything out yet [09:35] did you think about what i ment? [09:36] like activating the menu entry when we the event comes from current selected tab? [09:38] I've think about it [09:39] but I don't really understand it [09:39] :) [09:42] this : XioNoX: sure. ... remind me that i wanted to tell you something about that [09:42] XioNoX: once you implemented that events from the current active tab automatically active the menu ? [09:42] XioNoX: right. so i already said what I wanted to tell you [09:42] the last line should make it clear [10:00] seem to work [10:00] :) [10:01] cool [10:01] so where are we now? [10:01] XioNoX: we have a working menu entry? [10:02] that - once clicked - can gather the current mime types? [10:02] and open the "plugin wizard" with those plugin infos? [10:02] not yet [10:02] but soon :) [10:02] XioNoX: i think getpluginInfo is nice, but its not reall what we want [10:02] from the mime-type perspective [10:02] ? [10:02] e.g. now we get _all_ mime-types the plugin supports [10:03] but what we want is just the mime-type that the content of the website uses [10:03] but if there are many different mimetypes ? [10:04] XioNoX: what do you mean? [10:04] XioNoX: the idea is to gather the mime-types used on the tab [10:04] I agree [10:04] not the mime-types supported by all plugins used on the tab [10:05] with getPluginInfo we do the latter [10:05] I don't get it [10:06] what in particular isnt clear? [10:06] XioNoX: the idea is to gather the mime-types used on the tab [10:07] it is what we do, no ? [10:07] no [10:07] you use getPluginInfo [10:07] which gives you all mime-types supported [10:07] look at about:plugins [10:07] when you look at that page in firefox you see that every plugin can support many mime-types [10:08] ok [10:08] not 100% sure [10:08] XioNoX: have you tried a page with just flash on? [10:08] is there still the "director" mime-type? [10:08] but getPluginInfo return mimetype of content who are not supported [10:08] if so, getPluginInfo is wrong [10:08] he? [10:08] no no [10:08] "not supported"? [10:08] yes [10:09] if you don't have flashplugin installed [10:09] and you go on youtube [10:09] he will give you he mimetype of flash stuff [10:10] youtube return only flash [10:10] mimetype [10:12] yes [10:12] and since getPluginInfo also gives you the "director" mime-type [10:13] we would ask the user to select alternatives for a mime-type he doesnt care about [10:16] but it is because director is present on the page [10:16] if you go on youtube the only mimtype present is flash stuff [10:22] director mimetype is because there are director content on the adobe testpage [10:29] the point is I'm not sure that the "plugin wizard" can handle many différent mimetypes [10:29] if there are different content on the page [10:35] XioNoX: ah... cool [10:36] XioNoX: so next is to open the plugin finder wizard (the old and rotten one) with the mimeInfo Array [10:36] rotten? [10:36] XioNoX: scratch that [10:36] ok [10:36] the original pluginfinderwizard that is currently implemented in ubufox [10:38] Jazzva: i wanted to upload nspluginwrapper to intrepid [10:40] asac, ok... I think there's still the problem with popping-out of nsviewer [10:40] but maybe that's just me ;). [10:40] but, it's there in the older version too, so I don't think we will have a real regression [10:44] I'm having troubles with threads in the school project. Some of them are still sleeping, even after they should be woken up :). [11:05] anyone else have issues with the latest kernel "-5" (file system is read only?) also lose the system beep? [11:06] which in turn makes it impossible to configure X so now there is no X with -5 [11:09] Jazzva: threads are easy to deadlock ;) [11:09] gnomefreak: hmm ... i had issues with file-system [11:09] gnomefreak: but that was just for one boot [11:09] since then its working [11:11] gnomefreak, related to chatzilla... I hadn't get snowl to work, when I was packaging it... neither from package, nor from xpi [11:11] asac, apparently :) [11:11] asac: ah i only tried one boot the second boot i got a ncurses screen with repair, boot, config X and one other dont remember [11:12] Jazzva: threads in Java, python, C? [11:12] Jazzva: ah ok. and is chatzilla gonna be a special build since it is in a java dir and due to XUL? [11:12] Jazzva: does snowl have native components? [11:13] asac, Java... [11:13] asac, native components? [11:13] i would assume its same set up as chatzilla [11:13] or atleast close [11:14] asac, actually, I'm still investigating why it blocks. The receive in that socket works great, and the send just started blocking for some reason... [11:15] i will look for source for chatzilla today but i have a feeling the XUL is gonna cause this to be something where XPI.TEMPLATE [11:15] doesnt work [11:15] sound juicer needs a kick in arse [11:20] Jazzva: why do you want to do threads? [11:20] Jazzva: native components == components/*.so files exist [11:21] asac, well, I need a thread for that listens for new connections, and then threads that will do the communication with clients and workstations (thats on server-side)... something like that [11:22] s/for that/that/ [11:23] asac, seems that snowl doesn't have native components [11:28] Jazzva: the modern way of doing this is using nio [11:28] e.g. non-blocking IO [11:28] for that you dont need threads [11:28] will read a bit about that :) [11:30] Jazzva: anyway. what you need to do if you want to do multiple threads [11:31] is implement a work queue that the clients poll on and where the server puts the work received from the clients [11:31] in that way you shouldnt dead lock [11:33] e.g. new Client() { public void run() { while(workQueue.isntDead()) { Work work = workQueue.nextWork(mytimeoutinms); } } [11:33] e.g. new Client() { public void run() { while(workQueue.isntDead()) { Work work = workQueue.nextWork(mytimeoutinms); processWork(work); } } [11:33] ;) [11:33] well actually ;) [11:34] e.g. new Runnable() { public void run() { while(workQueue.isntDead()) { Work work = workQueue.nextWork(mytimeoutinms); sendWorkToClient(work, client); } } [11:34] and then Thread t = new Thread(runnable); t.start(); [11:35] workQueue needs to be a threadsafe mutex obviously [11:35] right... but now that's not a problem :) [11:36] server thread regularly checks for new messages from client and it fetches them fine... [11:36] the problem is when I try to send a message from that thread... that's when everything locks... and I got another idea now :) [11:36] well s/client/workstation/ [11:37] Jazzva: from which thread are you trying to send? [11:37] maybe your "send" method is synchronized and when that send blocks everything else is waiting for it? [11:38] hmm... let me see... might be... i was experimenting with wait()/notify() and maybe I forgot to remove synchronized, when I found out where I need to use wait() and notify() [11:39] that actually might be the problem... but then I don't know how to solve it :) [11:40] I made my SocketCommunicator class that has methods for sending/receiving strings/Objects, and I kept getting NullPointerExceptions when I tried to send as soon as I started the server, because the SocketCommunicator still wasn't initialized [11:40] s/wasn't initialized/didn't finish initialization/ [11:40] hmm... let's se [11:40] see [11:41] Jazzva: you should use preexisting thread safe work queues [11:41] instead of reinventing and trying to implement a mutex on your own [11:41] though its fun to actually do it ;) [11:42] Jazzva: the code snippet about is basically the "work dispatcher" code that should work [11:42] the server socket will be read from another thread, which puts new Work(....) into that work queue [11:43] I think the thread where it reads/writes from/to socket is the problematic one :) [11:43] let's see if it will work now [11:44] sounds shaky [11:45] Jazzva: personally i would use a tiny embedded http server [11:45] err, servlet engine [11:45] I'm still not that much expirienced :) [11:45] jetty ;) [11:45] you can start that and implement the "job accept code" in a servlet then [11:46] jetty? [11:46] but well [11:46] Jazzva: http://docs.codehaus.org/display/JETTY/Embedding+Jetty [11:47] http://www.mortbay.org/jetty-6/ [11:47] but well. maybe the idea of that school project is to learn about how to use socket on the low-level ;) [11:47] not sure [11:48] maybe... :) [11:48] I suppose it would be, since they thought us with using threads and sockets and the rest... [11:50] asac, synchronized was the problem... [11:51] But I'm still not sure why it was messing up... all the initialization is done in the constructor, so it shouldn't call a method, until a constructor is done. by that time, all attributes should be initialized, but I still got null pointers for some... [11:52] ah no... I was stupid :) [11:53] The problem wasn't there... It was in the sendMsg method, that was always sending to fixed client (for testing purposes), but didn't check if the client exists... [11:53] Thanks for the help :) [11:53] Once I put up that check no more null pointers [11:54] if using .xpi i unpack it but do i push bleh.xpi to .upstream branch? [11:54] gnomefreak, no... you should just push the source of the unpacked xpi [11:54] ok thought so [11:54] Jazzva: thanks [11:55] i will see what i can do with chatzilla than [11:57] no problem :) [12:00] Jazzva: just removing synchronized will probably cause concurrency issues [12:00] Jazzva: you ned to use thread safe work queue ;) [12:01] but this is just for sending/receiving. each thread has it's own socket communicator, so there shouldn't be problems :) [12:01] each thread has it's own input and output streams, so that should be fine... right? [12:04] what does -d do for cvs? cvs --help dpesnt well help [12:04] -d cvs_root_directory [12:04] Use cvs_root_directory as the root directory pathname of the repository. Overrides the setting of the $CVSROOT environment variable. See node `Repository' in the CVS manual. [12:04] that's what man cvs says [12:05] gnomefreak ^ [12:05] its telling me i didnt set the CVSROOT environment variable. and i did with CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot [12:05] Jazzva: well ... but how do you get the input to the output stream? [12:05] there should be some inter-thread boundary which you need to pass using proper synchronization [12:05] in almost all cases. [12:05] (because you onlyhave one serversocket thread and multiple client socket threads) [12:05] hmm [12:07] hmm.. probably. I didn't think of that... [12:07] I thought of sending clientId before message when I start testing with multiple clients [12:10] I assumed that serverSocket.accept() returns a Socket and that some underlying code will take care that it sends to the right client on the other side, and not to all of them :) [12:14] i'll assume it really does that. If it fails in multi-client environment, I'll start sending client ID before message :) [12:18] should i remove CVS dir before pushing or even CVS in any dir [12:21] I think you should... [12:22] those are just used for cvs management, not for the extension [12:22] gnomefreak ^ [12:23] Jazzva: ok thanks [12:23] makes life easier [12:24] np :) [12:34] shhhhhh dont tell anyone but im kind of liking doing extensions [12:35] hehe :)... you have my full support [12:40] ok will work the dirty part of these in a few [12:41] asac: hey there [12:42] asac: so i've been trying your NM07 branch, you're pretty much syncing against upstream at this point, right? [12:42] asac: i have had one problem in general, you probably did not stumble upon that yet [12:44] asac: NetworkManager-0.7.0_pre/system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in is too long of a filename, tar ignores it (at make dist) [12:47] rbu: hmm ... sounds wierd [12:47] rbu: i am synching regularly [12:47] rbu: which branch are you tracking [12:47] ? [12:47] main.eni [12:47] ? [12:47] asac: yep [12:47] asac: well, it's not a problem in your branch [12:47] rbu: the packages i built work [12:48] asac: yeah, i know. you do bzr export or something? [12:48] yes. i dont want the autotools files anyway as i recreate them during package built [12:48] asac: i'm editing configure.in to add a '_pre' at the version number, which makes the directory name longer [12:48] rbu: well. i doubt that the problem is the 4 more letters [12:49] probably there is something hardcoded somewhere which makes the tarball forget about that service file [12:49] asac: it is! tar in dump mode only allows 99 characters in path [12:49] rbu: how do you edit configure.in? [12:50] asac: well, edit the "AC_INIT(NetworkManager, 0.7.0", ./autogen.sh and make dist [12:51] rbu: how can tar be dumber than tar cvzf? [12:51] http://paste.ubuntu.com/38478/ [12:51] asac: http://rafb.net/p/1azELZ79.html [12:51] that path must be much longer as it prefixes Development/ubuntu/network-manager/ ... [12:51] and it works as you can see in the paste [12:52] asac: mind the last two lines [12:52] asac: have you heard of anyone other than Matt G being email bombed yet? [12:52] rbu: yeah [12:52] rbu: strange. looks like a problem in make dist then [12:53] asac: yeah, it is. i wonder if i should ignore it and not change the name, or bug upstream to shorten the filename [12:54] rbu: use bzr export ;) [12:54] well ... but that doesnt add you the autotools things [12:54] not sure [12:55] i dont read anything of the 99 constraint in manpage of tar [12:56] is it automake that complains about that? maybe they check for 99 because BSD tar cannot do more? [12:58] asac: it is tar that complains, but it is automake that tells tar to use "o" [12:59] --old-archive ... like --format=v7; -o exhibits this behavior when creating an archive (deprecated behavior) [12:59] hmm.. telling it to use a newer tar format works [12:59] yay [13:00] asac: as here http://www.cygwin.com/ml/automake/2004-11/msg00118.html [13:03] argh [13:04] what a pain [13:04] not my problem :) [13:04] rbu: i think you could just repack the "normal" make dist thing [13:04] and rename the top level dir [13:04] once upstream hits the 99 char boundary, they will probabyl think what to do [13:05] if you want, you can send an email to networkmanager-list of course [13:05] asac: all hacks! i'll prepare that one line patch and send it upstream [13:06] yep [13:06] breave [13:06] brave ;) [13:07] asac: why? bad experience with accepting patches? [13:08] asac: otherwise, i'll harrass you to apply it in your branch :-P [13:09] no [13:09] go upstream [13:10] brave == appreciated ;) [13:22] Jazzva: what version is the following [13:22] # 12/03/01, ChatZilla 0.8.5, [13:22] Shipped with 0.9.7. [13:23] asac: mail is out, i'll go on testing then [13:24] good [13:24] XioNoX: managed to open plugin finder wizard? [13:25] there seems to be a 0.9.83 as well but the above came from upstream changelog [13:26] yes [13:26] asac [13:26] gnomefreak, paste it somewhere.. [13:26] XioNoX: rock ;) [13:26] XioNoX: please commit it as an intermediate checkpoint ;) [13:26] but there are a problem :( [13:26] what is it? [13:26] 2problems [13:27] if there are many mimetypes, the progressbar get stuck... [13:27] huh? [13:27] which progressbar? [13:27] Jazzva: ok http://pastebin.mozilla.org/519226 and 0.9.83 is mentioned at http://www.hacksrus.com/~ginda/chatzilla/ [13:27] of the plugin finder [13:27] 0.9.83 isnt from CVS nor can be gotten from it [13:28] secondly, it don't save the mimetypes in the tab [13:28] weird, because it was working before [13:28] ah its a nightly build [13:28] gnomefreak, use 0.8.5 [13:28] Jazzva: ok thanks [13:29] In the previous changelog entry it said "Shipped with Mozilla 0.9.4, 0.9.5, and 0.9.6", so I suppose that's what 0.9.7 means [13:29] np :) [13:29] thats what i pushed it as but just needed to make sure [13:30] gnomefreak, did you download from cvs or a xpi file? [13:31] XioNoX: ok maybe the broken progressbar is because of the empty mime-type array? [13:31] (which probably is an untested special case) [13:32] gnomefreak, on that site you can download chatzilla 0.9.83. maybe you downloaded from old cvs? (just a thought) [13:33] maybe [13:35] asac, normally there are only the mimetype in the array ? [13:37] Jazzva: it seems CVS wasnt updated [13:37] so i guess .xpi it is [13:37] maybe... if it's really 0.8.5, then it's really old [13:37] (and I was confused why they mention mozilla 0.9.7 :)) [13:37] me too [13:38] XioNoX: no. its an array of pluginInfo iirc [13:38] XioNoX: look in the pluginfinder wizard code [13:38] (e.g. what does it do witih the window argument) [13:38] maybe you also are missing another window argument [13:38] maybe error console spits out anything [13:38] no missing window argument [13:38] error console didn't work [13:39] how do you see the error if there are an error in the error console ? :) [13:39] err ... cant parse that. [13:43] :) [13:43] rephrase? [13:44] nevermind [13:48] XioNoX: window.arguments[0].plugins[item] [13:48] thats the element that we need to set ;) [13:48] (i guess you figured that) [13:48] I think I've find my error [13:49] I'me doing : var pluginInfo = getPluginInfo(aEvent.target); [13:49] pluginsArray[pluginInfo.mimetype] = pluginInfo; [13:49] and then extracting the mymetype form the array [13:49] and then putting it in another array [13:50] ok [13:50] isnt pluginsArray the array that needs to be accessible through window.arguments[0].plugins ? [13:50] cool [13:50] it works [13:51] ;) [13:51] yay. [13:51] commit it as a milestone :) [13:51] but window.arguments[0].plugins can't be an array of array [13:51] XioNoX: after that commit, maybe you could do some code cleanup? [13:52] if it is like house cleanup, i'll not like it [13:52] e.g. like using the proper case for variables (e.g. not .PluginUsed, but .pluginUsed), making indentation consistent and also removing any commented code that was added for testing? [13:52] bug 244366 [13:52] Launchpad bug 244366 in cairo "cairo fails to build against fontconfig 2.6.0-1ubuntu2" [Undecided,Fix released] https://launchpad.net/bugs/244366 [13:52] XioNoX: yeah. but dirty code is just ugly :( [13:52] is flock in our repos? [13:52] in my ppa only [13:52] ah that would be why [13:52] asac, I agree, i'm just kidding ;) [13:53] problem ? [13:53] fta: no just working out depends [13:53] asac, cleanup before or after the push ? [13:54] XioNoX: first push [13:54] XioNoX: then do a cleanup commit [13:54] test that and push ;) [13:54] okay ! [13:55] asac, i proposed a branch merge 3 days ago using the lp feature. it's easy to use. https://code.edge.launchpad.net/~fta/apport/apport/+merge/758 [13:55] yep [13:56] fta: maybe ask pitti whether he got a mail. problem is that the merge request mail might not go out if the user explicitly selected mail from that branch before the feature landed [13:56] yet, it didn't get any attention [13:57] seems he's not here right now [13:57] pushed [13:59] fta: hmm. pitti is usually super-responsive [13:59] (i dont know anyone who better follows up on his tasks then him) [13:59] would be nice if they included a License somewhere either on website or in package :( [14:00] fta: maybe he is on holiday ... or travelling is my guess [14:00] and over weekend doesnt really count for "getting" attention [14:01] asac, hello [14:02] asac, https://bugs.edge.launchpad.net/ubuntu/+source/diggler/+bug/254614 [14:02] Launchpad bug 254614 in diggler "Please merge diggler 0.9-16 (universe) from Debian unstable (main)." [Wishlist,Incomplete] [14:04] ? [14:06] asac, just one thing, how can I replace the onclick='"" of the menuitem ? because even if it is gray I can clic on it [14:07] XioNoX: huh? how do you grey it? [14:07] disabled="true" [14:08] XioNoX: well. i think you should us a proper command [14:08] and not onclick [14:08] XioNoX: maybe use "oncommand=..:" [14:08] that might work as well [14:08] (not 100% sure though) [14:08] asac, you told to discuss in this channel about the dependencies [14:09] ok [14:17] asac, important question, chat text (or image) can I put in the statusbar ? [14:18] err what text [14:19] XioNoX: try the puzzle piece [14:19] (image) [14:20] where it is ? [14:20] not sure ;) [14:20] XioNoX: just use something for now ... we replace it later [14:20] ok [14:21] np [14:21] http://pastebin.mozilla.org/519258 [14:21] anything to change ? [14:26] XioNoX: maybe make tabSelected a prototype function as well (for consistency) ... and use a different var name for "stuffy" :-P [14:26] otherwise that file looks quite clean [14:26] ok [14:26] XioNoX: consider to write a short instruction on top of the file (e.g. whats the idea) [14:26] just two or three sentences [14:26] but not high prio [14:26] add license header please [14:26] the xul ? the js ? [14:26] look at other files [14:27] the commit ? [14:27] XioNoX: the file you pasted was .js, right? [14:27] XioNoX: the .xul/xml files need proper cleanup as well [14:27] yes [14:27] ;) [14:27] please paste them as well [14:29] ok [14:32] is anyone on irc.mozilla.org by chanec? [14:32] chance* [14:33] yes [14:33] gnomefreak: why? [14:33] asac: i need upstream contact for chatzilla [14:33] who is that? [14:33] it says "i'm" but not who [14:34] do you have his nick? [14:34] the sites dont tell me neither [14:34] asac: nope just "I'm" [14:34] isnt the name for chatzilla guy on AMO? [14:34] Gijs Kruitbosch, Robert Ginda, Samuel Sieb, James Ross [14:34] https://addons.mozilla.org/en-US/firefox/addon/16 [14:34] asac: http://pastebin.mozilla.org/519261 [14:34] are named there [14:35] asac: just as contributers [14:35] http://pastebin.mozilla.org/519260 [14:35] gnomefreak: ok. go to that channel and ask ;) [14:35] list all of them as upsteam contact? [14:35] gnomefreak: if you have emails. you can also list active IRC channels as upstream project [14:35] err contact [14:36] XioNoX: i prefer to break long xml lines in multiple lines, by attribute name [14:36] e.g. [14:36] ok [14:36] attr2="attr2 [14:36] hmm [14:36] attr2="attr2 [14:36] attr3="attr3" [14:36] attr4="attr4"> [14:36] for each attribute ? [14:36] yes. [14:36] or just here put the oncommand on a new line ? [14:37] especially when there are long attributes like "code" [14:37] i like a new line per-attribute [14:37] but both are ok [14:37] you can also go for the "< 80 chars" width approach [14:37] XioNoX: does the oncommand thing work? [14:38] yes [14:38] good crack [14:38] how about the .xbl? [14:38] XioNoX: err .... label="aaaa" [14:38] why that? [14:39] why actually a complete new panel? [14:39] isnt an img enough? [14:39] (sorry, for my ignorance, maybe your approach is right, but please check that it is and that we do the minimal thing) [14:40] ok looks to be right [14:41] firebug and greasemonkey do it that way too [14:41] nice [14:45] maybe you prefer "b" ? :D [14:45] b? [14:46] do we need a label at all? [14:46] XioNoX: ? [14:47] for the moment I don't have any image [14:47] so it is just to see it for the moment [14:49] XioNoX: use something ;) [14:49] I need to add a licence block ? [14:49] XioNoX: yes. [14:49] asac ? [14:49] XioNoX: the same license we use in the other files [14:51] - The Original Code is distro-mods. [14:51] - [14:51] - The Initial Developer of the Original Code is [14:51] - Canonical Ltd. [14:51] - Portions created by the Initial Developer are Copyright (C) 2007 [14:51] - the Initial Developer. All Rights Reserved. [14:54] http://pastebin.mozilla.org/519264 fot he .js file [14:54] what should i write on it ? [14:56] XioNoX: look at other files we created as new [14:56] replace me with you there [14:56] the file you are looking at was copied from mozilla source ... thus the other contributor [15:00] I remove all the : * The Original Code is Plugin Finder Service. [15:00] * [15:00] * The Initial Developer of the Original Code is [15:00] * IBM Corporation. [15:00] * Portions created by the IBM Corporation are Copyright (C) 2004 [15:00] * IBM Corporation. All Rights Reserved. [15:00] form the JS ? [15:01] XioNoX: he? [15:01] no [15:01] look at other files that were not copied from upstream sources [15:01] content/overlay.js [15:01] Jazzva: shoudl i be using "firefox-chatzilla"? im thinking no since it supports sonbird, flock, firefox, seamonkey [15:02] I remplace it by that : * The Original Code is distro-mods. [15:02] * [15:02] * The Initial Developer of the Original Code is [15:02] * Canonical Ltd. [15:02] * Portions created by the Initial Developer are Copyright (C) 2007 [15:02] * the Initial Developer. All Rights Reserved. ? [15:03] yes ... but do s/distro-mods/ubufox/ :) [15:03] and the year [15:03] you could also change the initial developer, but since i worked quite a bit on that as well, maybe Canonical Ltd. is ok. your choice [15:04] I'll let it :) [15:04] XioNoX: do the same for the .xml and xul file [15:07] ok, done [15:07] good [15:07] pushed? [15:07] just about the "aaaa", what should i do ? [15:07] use some picture instead [15:08] ok [15:09] XioNoX: use: [15:10] chrome://mozapps/skin/plugins/pluginGeneric.png [15:10] XioNoX: chrome://mozapps/skin/plugins/pluginGeneric-16.png [15:10] that one [15:10] yes [15:11] good XioNoX ;) [15:11] XioNoX: i have another side-task (fixing bugs on other features you already implemented) :) [15:12] XioNoX: but since you are quite expert now ;) ... it shouldnt be hard [15:12] asac: oh, and the most recent docs/libnm-glib changes broke make dist completely [15:12] XioNoX: the restart notification doesnt pop-up in _all_ tabs ;) [15:12] XioNoX: i think you know how to do that properly now? [15:12] i'll figure this out [15:12] rbu: you mean the main.eni push i did today? [15:12] asac: yep [15:12] but first I put the icon in the statusbar [15:13] XioNoX: i think you can do that when you feel blocked on the other feature [15:13] (the alternative plugin feature) [15:13] should be easy food ;) [15:13] yep ... do that ;) [15:14] asac: you asked me to merge my firegpg branch with ~dev branch and cant due to a new package. what would you like me to do with bug 227945? is this something you will do if not what should i do to continue with it [15:14] Launchpad bug 227945 in firegpg "[needs packaging] Please package FireGPG extension for Firefox " [Wishlist,Triaged] https://launchpad.net/bugs/227945 [15:14] gnomefreak: you think all is lost for firefox-3.0 bug count? [15:14] asac: what do you mean? [15:15] gnomefreak: how many open bugs do we have against firefox-3.0? [15:15] asac: oh hell i dont know i havent checked email in maybe 4-5 days [15:15] gnomefreak: so the firegpg branches are ready? [15:15] asac: yep [15:15] builds and installs and works [15:16] when i get done with chatzilla today/tomorrow i will look at bug count [15:16] thanks [15:16] np [15:16] take me forever to do things is becaue wrist cant handle alot atm [15:17] sure [15:18] brave still [15:19] asac, done [15:19] XioNoX: pushed? [15:19] yes [15:19] cool [15:19] ill pull that in a minute [15:19] pull ? [15:19] which revision? [15:19] 100 [15:19] XioNoX: bzr pull (update branch) [15:19] ok [15:20] got it [15:20] lets see [15:20] I should get the notificationbar stuff from bazaar, or it haven't changed since this time ? [15:23] XioNoX: not sure :) ... its your branch. i cannot write to it ;) [15:23] so it probably hasnt changed [15:23] (maybe you forget to push though ;)) [15:23] XioNoX: the alternate thing works greta [15:23] rock [15:23] cool [15:24] XioNoX: one comment: "Get alternatives" -> "Manage Plugins Used ..." [15:24] ? [15:24] XioNoX: the menu entry [15:24] ;) [15:24] XioNoX: and maybe put that to the View menu [15:25] I keep the 3 dots ? [15:26] XioNoX: for now ... i just asked our usability guy for input [15:26] XioNoX: so maybe wait a bit until i have input from him [15:27] ok, no problem [15:31] asac: seems i messed up. it works, but you have to build the whole baby before running make dist. well... [15:32] rbu: ouch [15:33] rbu: just sh autogen.sh isnt enough? [15:33] asac: the libnm-glib documentation must be built, and for some obscure reason, that needs libnm-glib compiled [15:34] asac: is your branch an exact copy of NM upstream right now, or do you carry any patches in there? [15:35] rbu: i carry the "eni/ifupdown" system-settings changes [15:35] thats all [15:35] you can do a simple bzr diff [15:37] asac: i'm not fluent in bzr yet, i only got pull to work :-P [15:39] leaving for sports, wish me no rain [15:40] fta: enjoy [15:45] gnomefreak, sorry... I was off for a while. Sure, go with chatzilla. I think that we have set that up before to not use "mozilla-" or "firefox-" and similar in extensions' names. [15:47] Jazzva: thats was i thought thanks [15:47] :) [15:47] be back [15:53] rbu: bzr diff -r2752.1.686 [15:54] rbu: (if you have the latest main.eni) [15:58] ahh, now i actually get how those log messages are structured [15:58] rbu: yep. the upstream branch is still in the mani.eni branc [15:58] just with a certain revision ;) [15:58] you can even extract the unmodified upstream branch by bzr branch -r2752.1.686 path/to/main.eni [16:02] asac: is "network-manager.07.eni" your local branch nick? [16:03] rbu: yes [16:03] its == main.eni [16:11] * asac break [16:22] asac, apperently it is 1 notificationbox per tab, and not for the whole firefox. People recomand me to use the same box than the one who notify that a download is over [16:32] XioNoX: right. [16:32] XioNoX: thus, you need to iterate through all windows + all tabs [16:32] XioNoX: and display the notification everywhere [16:32] ;) [16:32] XioNoX: err, i dont want to use a dialog (e.g. download is over) [16:32] cant remember how the download thing looks like though [16:33] http://xulfr.org/wiki/RessourcesLibs/Alerts [16:33] XioNoX: no. thats a temporary notification [16:33] XioNoX: we want something where the user can click on [16:33] to do the actual restart [16:34] ok [16:34] i think displaying the current notificationbox is the right thing to do ... we just have to do it for all tabs [16:34] shouldnt be that hard [16:34] all the gurus from xulfr sayd that it is not possible or very difficult :( [16:35] XioNoX: hah ... that should make it even more tempting to show that they are wrong :) [16:35] XioNoX: you should be able to iterate through all tabs [16:35] or maybe create an overlay [16:36] and isplaying over the tabs [16:36] XioNoX: that would be another alternative ... but i'd suggest that you try to iterate through all tabs and display a notification box everywhere there [16:37] how ? do you have an idea ? [16:38] XioNoX: well ... you already know how to access the selectedtab right? [16:38] there should be an array field or something with all tabds [16:38] then get the browser from each tab and get the notificationbox from there ... that should make it appear everywhere [16:38] (i hope [16:38] ) [16:38] http://developer.mozilla.org/en/docs/Code_snippets:Tabbed_browse [16:39] http://developer.mozilla.org/en/docs/Code_snippets:Tabbed_browser [16:39] http://developer.mozilla.org/en/docs/XUL:tabbrowser [16:39] I'll read again this page [16:39] thats the api of tabbrowser [16:39] (api is always more complete than examples) [16:39] XioNoX: it has a nodelist: "browsers" [16:39] investigate in that direction [16:40] asac: so, checked wmnetselector? [16:40] sebner: i looked at it, yes. [16:40] sebner: give me bug id again :) [16:40] asac: well I just asked if I can edit the manpage directly ^^ [16:41] sebner: ah. if there is no patchsystem, then yes. just remember to accribically document that in changelog [16:41] e.g. name the file touche, why it was touched and how it was touched [16:41] its more important to properly document things in changelog if there is no patchsystem [16:41] asac: sure! thanks :) (anyway we should remove it from the archive :P) [16:42] adding a patchsystem will only cause merge pain in future [16:42] sebner: why .... doesnt it work anymore? [16:43] asac: 2001 is untrue :P [16:44] ehe [16:44] maybe it just means that its stable ;) [16:44] aka mature [16:46] wb asac [16:46] stable is untrue :P [16:46] hehe ;) [16:46] sebner: let me know when you have finished the change ;) [16:46] sebner: ah ... when you change something that makes it unusable for iceweasel/iceape, better remove them from suggests [16:46] (i think i remember that this was one of these cases here) [16:47] asac: dan accepted the tar/automake patch [16:47] rbu: jup. just saw that ;) [16:47] rbu: good [16:47] asac: you actually read all on that list? [16:48] rbu: yes. [16:48] it gets directly to my inbox even ;) [16:48] (low traffic) [16:48] asac: bad filtering [16:48] why ... inbox is only place i know that i will see ;) [16:48] everything is just "when I have time" [16:48] asac: are we talking commit list or the networkmanager-list ? [16:48] asac: htmlvalidator is platform depending firefox plugin (needs c and c++ libs). i have split the binary package into one platform depending and one platform independ. does xpi.mk support that? [16:49] which becomes rare everyday [16:49] bdrung: it supports that: the only requirement is that the BUILD_COMMAND produces and .xpi [16:49] so you can couple a build system + xpi.mk [16:49] of course only if you use the upstream sources [16:49] (which you did) [16:50] only think i'd like to see is having this in a bzr branch [16:50] with .upstream being the sources [16:51] bdrung: if you commit to work on this, we can also upload the extension as is ... however, that doesnt count as long-term scalable, because only extensions packaged in bzr will be covered by the mozillateam large-scale maintenance approach [16:52] asac: i will upload the sources in a bzr branch after the upstream author decided which license he want to use [16:53] bdrung: huh? [16:53] bdrung: so we dont have a definite license atm? [16:53] that certainly blocks any upload to ubuntu [16:53] yes [16:54] bdrung: ok. please state that in the htmlvalidator bug ... right on top [16:54] bdrung: did you get any feedback from upstream yet? [16:54] i am in contact with the author and hopefully we have the license at the end of the week [16:54] bdrung: cool. what license is he thinking off? [16:55] bdrung: if oyu are unsure if its ok, feel free to CC me on mail exchange [16:55] asac: should i mail you the mails? [16:56] bdrung: nope ... just give me a summary [16:56] ;) [16:56] of course forwarding those mails woulndt hurt [16:56] asac: he wrote: "In short, I would like to give access to the code, free usage (of it), ccess to the code, but do not allow any fork of the code (I wrote) without any agreement first." [16:57] bdrung: thats non-free and not suitable for ubuntu [16:57] asac: i wrote back that all free license permits forking and pointed him to the dfsg [16:57] bdrung: maybe forwrad the mails [16:57] bdrung: yep [17:01] asac, I'm trying this : http://developer.mozilla.org/en/docs/Code_snippets:Tabbed_browser#Enumerating_tabs [17:02] for the moment I can have as many notification as opend tab [17:02] but on the same tab :D [17:02] XioNoX: how do you display the notification? [17:02] XioNoX: maybe post code ;) [17:02] notificationBox.appendNotification(restartNotificationLabel, 'notification-restart',"", notificationBox.PRIORITY_WARNING_LOW, buttons); [17:03] how do you get notificationBox [17:03] ? [17:04] http://pastebin.mozilla.org/519323 [17:04] I think I have something to do with var notificationBox = gBrowser.getNotificationBox(); [17:04] and the "b" of the loop [17:05] XioNoX: yes. obviuosly you will use the same notificationbOX right now [17:05] try to get thatfrom the individual browser [17:05] e.g. b [17:05] and rename that variable [17:06] one letter variables are more evil than assembler [17:06] unless the loop is really tiny ;) [17:06] i've done a little bit of assembler :) [17:06] I go back home [17:07] i'll check this from there [17:07] c u [17:07] XioNoX: cu [17:07] save trip back [17:09] asac: what do you mean with "unusable" ? I just added the 2 thinks to suggests and I'll edit the manpage [17:10] asac: mail forwarded to you [17:17] sebner: sure. just though the package wouldnt work out of the box with iceweasel anymore [17:17] if it does its ok to keep it in suggests [17:24] asac: kk, thanks for the help =) [17:29] welcome [17:56] back [18:02] hi [18:03] :) [18:08] asac, in your mind I should put allmost everything of function showRestartNotification() in the loop ? [18:10] XioNoX: sorry. i cant remember how showRestartNotification looks like ... you mean the function in the current branch? [18:11] yes [18:11] I've send you a pastebin [18:12] ok [18:12] think igot it [18:12] and this loop : http://developer.mozilla.org/en/docs/Code_snippets:Tabbed_browser#Enumerating_tabs [18:12] XioNoX: the string bundle things can stay where they are [18:12] ans what will happen if the user close all his tab an open new one ? [18:12] XioNoX: the rest probably needs to be reshuffeld to exist within the look [18:12] I need to had a "load" event [18:12] no ? [18:13] using the browser of the tab as the base for everything [18:13] no .. i dont think so [18:13] lets look at that once you have fixed the multi-tab case [18:15] ok [18:16] asac: bug #258540 :) [18:16] Launchpad bug 258540 in wmnetselect "Merge wmnetselect 0.85-6 from Debian(Unstable)" [Undecided,Confirmed] https://launchpad.net/bugs/258540 [18:19] sebner: uploaded [18:19] asac : http://pastebin.mozilla.org/519365 [18:19] asac: ah cool, thx :) [18:20] XioNoX: look good ... if it works, please fix the indentation [18:21] XioNoX: ... _and_ remove commented code :) [18:21] we use bzr to keep the original code ;) [18:21] don't work [18:21] what happens=? [18:22] nothing [18:22] and no error log [18:23] XioNoX: most likely a not catched exception? [18:23] browser.length -> probably doesnt work [18:23] hmm ... it should [18:24] XioNoX: try to debug it ;) [18:25] XioNoX: do oyu have javascript.options.strict and javascript.options.showInConsole enabled? [18:25] the problem come from : var notificationBox = gBrowser.getNotificationBox(); [18:25] in about:config [18:25] i've try to put var notificationBox = b.getNotificationBox(); [18:25] you mean b.getNotificationBox() ? [18:25] where b = gBrowser.getBrowserAtIndex(i); [18:25] XioNoX: is b.getNotificationBox defined at all (try to alert that) [18:27] Erreur : b.getNotificationBox is not a function [18:28] XioNoX: see ;) [18:28] what can i doo ? [18:29] XioNoX: what you can try is to step up in the dom hierarchy (through .parentNode) until you reach an element with the name "notificationbox" [18:29] that should be your notificationBox [18:31] XioNoX: ok getNotificationBox is a function defined in tabbrowser.xml [18:31] ok [18:32] XioNoX: so use the tabbrowser.getNotificatoinBox(b) [18:32] XioNoX: try that please [18:32] XioNoX: if you look at the implementation in tabbrowser.xml you will see why it works [18:33] Erreur : tabbrowser is not defined [18:34] XioNoX: well. you need to use the right variable ;) [18:34] i just outlined how it should work ;) [18:34] what do you call tabbrowser ? [18:34] gBrowser.browsers? [18:35] XioNoX: you will find out ... you already used tabbrowser before [18:35] and with some thinking you will remember which variable as that function implemented ;) [18:38] neither gBrowser of window.gBrowser works [18:40] XioNoX: gBrowser has a getNotificationBox function right? [18:41] check that with alert [18:43] hahahaha [18:44] hum no [18:44] it was'nt funny [18:44] j've write : [18:44] getNotificatoinBox [18:44] my copy/past suck [18:44] :D [18:44] XioNoX: :) [18:44] it works [18:44] XioNoX: try to understand what you are doing ;) [18:45] typing is one way :-D [18:45] i do [18:45] never be lazy ;) [18:45] XioNoX: sure ... i know [18:45] XioNoX: i just wanted to nag you [18:45] i haven't type it [18:45] it is the gnome copy/past who switch chars :o [18:46] now, if we open a new tab, it don't have the notification bar [18:47] XioNoX: you mean if you open a new tab _after_ the notification was displayed? [18:47] yes [18:47] XioNoX: I'd think that the timeout still kicks in [18:47] XioNoX: so the loop should catch that case [18:47] e.g. if no restart-notification is added it will add that once the next time out happens [18:48] if that doesnt happen its a bug in our code most likely [18:50] I have to do a new sudo touch /var/lib/update-notifier/user.d/firefox-3.0-restart-required [18:50] XioNoX: why is that the case? [18:50] i don't know :D [18:50] do you understand it code wise? [18:50] try to figure that [18:51] XioNoX: maybe your timeout only runs once? [18:51] well. [18:51] no it is a setInterval("checkUpdate()", 10000); [18:51] XioNoX: right. but why doenst checkUpdate kick in? [18:52] that is the question [18:52] it should _always_ kick in when the profile timestamp is lower than the notifier one [18:55] XioNoX: try to save the "intervalID" to a global variable [18:55] e.g. intervalID = setInterval("checkUpdate()", 10000); [18:55] I don't know why but now the timestamp of profile dir seem to update [18:55] maybe it gets garbage collected [18:56] maybe a log thing [18:57] because in a 10 second period, sometime it update, sometime not [18:57] XioNoX: ? [18:58] XioNoX: try to save the intervalID to a global variable please [18:58] XioNoX: and if the intervalID is set, then dont setInterval [18:58] I don't understand why [18:58] (in this way we will prevent that this thing runs concurrently (which might cause confusion) [18:58] the probleme come from : checkUpdate() [18:58] XioNoX: http://developer.mozilla.org/en/docs/DOM:window.setInterval [18:59] XioNoX: also ... why use "checkUpdate()" ... instead of just window.setInterval(checkUpdate, 1000); [18:59] ? [18:59] http://developer.mozilla.org/en/docs/Adding_preferences_to_an_extension [19:00] because it was working with () [19:00] XioNoX: true ... that shouldnt matter [19:00] just remember the intervalID globally [19:00] and dont setup a new interval when that is set [19:01] ? [19:01] not sure what other words i can choose [19:01] global variables in javascript should be something you should know ... otherwise look it up ;) [19:02] So i just put : function scheduleCheckForUpdate() [19:02] { [19:02] intervalID = setInterval("checkUpdate()", 10000); [19:02] } [19:02] ? [19:02] that still work the same way [19:03] but the profile directory timestamp keep updating [19:03] XioNoX: the profile directory timestamp keeps updating? [19:03] hmm [19:04] XioNoX: the idea for the global variable thing was likE: [19:04] http://paste.ubuntu.com/38556/ [19:06] can the catch(e) { [19:06] Components.utils.reportError(e); update the timestamp ? [19:07] XioNoX: no ... the profile directory timestamp appears to be really updated regularly [19:07] XioNoX: lets use [ProfD]/lock file [19:07] as a time stamp base [19:07] that isnt updated from what i can tell [19:07] or is it? [19:08] XioNoX: give it a try please [19:08] touch [ProfD]/lock [19:08] XioNoX: he? [19:09] please try to read the file url [19:09] and then use it as profile dir timestamp ? [19:09] XioNoX: no [19:09] use the lock file in the profile dir [19:09] as the dateProDir [19:09] ho he already exist ? [19:09] (of course rename the variable accoridngly) [19:10] dont touch it ... just use it as "startupTime" ... so we can check whether firefox was restarted before update-notifier existed [19:17] there are no lock file [19:18] in my profD [19:18] huh? [19:18] XioNoX: $ ls -l /home/asac/.mozilla/firefox/8bil8cfx.default/lock [19:18] lrwxrwxrwx 1 asac asac 16 2008-08-18 20:06 /home/asac/.mozilla/firefox/8bil8cfx.default/lock -> 127.0.1.1:+15555 [19:19] hum [19:19] checking the bad profile [19:19] ... [19:20] after the proDir.append("lock"); I get a [xpconnect wrapped nsIFile] [19:21] but the var dateProDir = proDir.lastModifiedTime; give me an error [19:22] XioNoX: what error? [19:23] Erreur : uncaught exception: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.lastModifiedTime]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://ubufox/content/updateRestart.js :: checkUpdate :: line 44" data: no] [19:23] XioNoX: yeah. most likely because its a socket link ;) [19:24] XioNoX: ok ... plan B :) [19:24] XioNoX: use localstore.rdf ;) [19:24] socket link ? [19:24] ? [19:24] you never stop working ? [19:24] hehe [19:24] well ... not today ;) [19:25] i want to upload a new NM ;) ... and since you are making progress i thought i might make sense to stay here ;) [19:26] NM ? [19:26] network-manager ;) [19:26] What new in this one ? [19:26] asac: do you know when the real release is comming out? [19:26] lots of fixes [19:27] sebner: no ... we stabilize on our own [19:27] ;) [19:27] i currently work as if they never release ;) [19:27] fun [19:27] asac: thumbs up :) [19:28] asac, I will stop for today, (unless you (really) want to continue) [19:30] XioNoX: push what you have so far. we can do the fine tuning and the cleanups tomorrow ;) [19:30] ok, good for me [19:31] hehe [19:33] bzr push lp:~xionox/ubufox/restart.notifier [19:33] bzr: ERROR: Cannot lock LockDir(http://bazaar.launchpad.net/%7Exionox/ubufox/restart.notifier/.bzr/repository/lock): Transport operation not possible: http does not support mkdir() [19:34] Pushed up to revision 105 [19:37] thanks [19:37] XioNoX: urgh [19:38] you need tosetup your .bazaar.conf properly [19:38] ? [19:38] what ? [19:38] $ cat /home/asac/.bazaar/bazaar.conf [19:38] [DEFAULT] [19:38] email = Alexander Sack [19:38] build-dir = /tmp/build [19:38] launchpad_username = asac [19:38] launchpad_username [19:38] err ... did the push work? [19:38] [DEFAULT] [19:38] email = XioNoX [19:39] yes, i've just use the long url [19:39] wherease the lp: one [19:42] XioNoX: works great with localstore.rdf (for me) [19:42] not sure if htere is something not working [19:43] but i have two windows with lots of tabs and notification is displayed everywhere [19:43] when opening a new tab it takes a bit, and then notificaiton appears as well [19:43] well done! [19:43] lets see if the localstore.rdf doesnt reappear [19:43] I don't understand [19:43] It work or not ? [19:44] it works [19:44] with localstore.rdf [19:45] XioNoX: please apply this patch for me: [19:45] http://paste.ubuntu.com/38567/ [19:45] and push ;) [19:45] then we are almost done [19:49] Pushed up to revision 106. [19:52] thx [19:52] XioNoX: ok i am off for today. thanks a lot [19:53] the restart feature appears to be done ;) [19:53] thanks you ! [19:53] (maybe code cleanup, but i havent looked) [19:53] licences header [19:53] XioNoX: yes, please [19:54] tomorrow morning [19:54] yup. [19:54] what is planed for tomorrow ? [19:54] XioNoX: i also see that proDir.append("localstore.rdf"); is indented in the wrong fashion [19:54] do you have news from mconor ? [19:54] ok [19:54] XioNoX: we are trying something great ;) [19:55] nope [19:55] ok [19:55] do you know people who manage ubuntu's server ? [19:56] XioNoX: which server? [19:57] or the ubuntu-server distro? [19:57] i should know them ;) [19:57] no, people who manage the canonical's servers [19:57] whats the problem? [19:58] Looking for my next internship :D [19:58] for 2 months in may/june [19:58] XioNoX: you want an admin internship? [19:58] In networking/ administration [19:58] I'm doing a network school [19:59] and I like netwok [19:59] XioNoX: work on network-manager ;) [19:59] hehe [19:59] ill ask if we do something like internship at all. [19:59] ok [19:59] so I'm looking for contact to help me to find a good internship [20:00] we are working in a highly distributed environment, so in lots of areas a classical internship isnt really possible [20:00] but canonnical have an office [20:00] they have ... thats why i have to ask ;) [20:00] and there are at least a team who manage serversand network [20:00] there is ... yeah. [20:01] and mozilla put a high level [20:01] now i'm interesting only by company who do opensource :) [20:01] for network things that shouldnt really matter [20:01] and abroad :D [20:01] e.g. you might need a company that uses opensource for networking [20:02] all proposition are welcome [20:02] :) [20:02] sure ... ill ask if we do something like that. not sure if the requirements would be really lower though. [20:02] not sure if the requirements would be really lower though.? [20:03] lower than with mozilla [20:03] not requirement, by high level, I mean very good conditions, schedule, interest, etc... [20:04] But I'm a lot better in networking than programming :D [20:04] ah. [20:04] XioNoX: maybe more experienced ... but better ... hard to measure that ;) [20:05] yeah, sure [20:05] :) [20:05] I can send my resume if needed [20:07] or if you know people in such company :) [20:12] asac ? [20:13] heh? [20:13] all fine. ill ask ... more i cant do [20:13] but not today ;) [20:14] it is'nt urgent [20:14] but thanks ;) [20:14] yeah. thats what i figured ;) [20:15] see you tomorrow ;) [20:15] cu [20:15] i am off as well ... will lurk later whats going on [23:26] checking for XulRunner 1.9+ support... checking for XULRUNNER... yes [23:26] Fatal: XulRunner enabled, but XULRUNNER_HOME is empty! [23:26] make: *** [config.status] Error 1 [23:26] asac, ^^ that's the new liferea [23:27] asac, http://paste.ubuntu.com/38620/