/srv/irclogs.ubuntu.com/2008/08/04/#ubuntu-mozillateam.txt

BigUrsisDo you guys also track thunderbird?07:30
XioNoXhi !09:10
gnomefreakhi09:10
gnomefreakasac: The following packages will be REMOVED: enigmail thunderbird thunderbird-gnome-support09:24
gnomefreakThe following NEW packages will be installed: hunspell-fr09:24
gnomefreakthat is new09:24
XioNoXfirefox is using hunspell since firefox 3, but the ubuntu version keep myspell because it was used by many other program09:27
asacgnomefreak: yes. we are on it09:27
gnomefreaki know09:27
gnomefreaki thought Ubuntu was supposed to migrate to hunspell and drop myspell if we could09:28
gnomefreaknot sure what requires myspell anymore09:28
gnomefreakas is there a reason there is no hunspell-en?09:47
XioNoXasac ?10:17
gnomefreakseems scrollkeeper is keeping back ubuntu-desktop10:22
gnomefreakwhere is trash now located?10:27
* gnomefreak cant remember10:28
zbranieckihi all10:33
XioNoXzbraniecki, hi10:33
[reed]zbraniecki: apparently, I can't send mail to Florian10:41
[reed]his mail provider is blocking me for some reason10:42
=== zbraniecki is now known as gandi
gnomefreakbug 20165510:47
ubottuLaunchpad bug 201655 in mozilla-thunderbird "send email with attachement from openoffice through thunderbird fails: "unable to open the temporary file"" [Low,Confirmed] https://launchpad.net/bugs/20165510:47
gnomefreak1where the hell is english11:16
gnomefreak1and size sucks11:16
gnomefreakshows english here maybe its just the font is so small11:16
asac[reed]: florian?11:38
asachi gandi11:38
asacXioNoX: whats up ;)11:39
[reed]asac: another mozilla europe intern11:39
gandiasac: hi man!11:40
asac[reed]: ah ok.11:40
gandiasac: how's your jetlag?11:40
asacgandi: thats well ;) ... but i had issues getting to airport as my float flight was cancelled and when i arrived i found water hazard in my flat :(11:40
asacnow living at my mothers place till thats sorted11:41
gandiouch11:41
asacbut well ... at least i am at home ;)11:41
gandiI'm trying to survive my jetlag11:41
asacyeah ;) ... maybe the jetlag will come through when adrinaline gets settled11:41
Jazzvahey asac, welcome back. Too bad for your apartment... I hope it will soon be fine :)11:49
Jazzvaanyway, I'm off to a friend to work on a documentation for some school project... need to write a processor simulator.11:49
JazzvaSo, see you tonight.11:49
XioNoXasac, is is working, without the ainstallButtonPressed, with the help of gandalf11:51
XioNoXI've to get something to eat11:53
gandiasac: yea, I just switched XioNoX to go with DOM travelling instead of ID querying11:56
armin76asac: bumb!11:59
asacgandi: dom travelling? so convert RDF to structured XML first?12:08
gandino12:09
gandihe's just placing a variable from RDF into XUL tree12:09
gandihttp://pastebin.mozilla.org/50611412:09
gandibottom12:09
gandilabel with ID valueURI12:09
gandi(I asked him to remove ID since it's not unique)12:09
gandiand then buttInstall12:09
gandibuttInstall.setAttribute("oncommand", "ainstallButtonPressed(this.previousSibling.getAttribute('value'));");12:10
gandierm12:10
gandibuttInstall.setAttribute("oncommand", "installPlugin(this.previousSibling.getAttribute('value'));");12:10
gandianyway, it's all about DOM travel12:10
gandinextSibling, previousSibling, firstChild, lastChild, items...12:11
gandiyou know12:11
asacgandi: ah ok. why not set the value as a "new" attribute to the button?12:18
asacso we dont need to rely on the "previous" sibling being the label12:18
asac<button valueURI="?..." oncommand="this.getAttribute..."/> ?12:19
asacwont wont that work?12:20
asacgandi: ?12:22
gandiasac: breaking the schema?12:23
gandidespite, the label was there before, so I just suggested how to use it12:23
asacgandi: well. i dont think that the URI should be displayed in general12:24
gandioh, maybe12:24
asacif it is now, it probably just for debuggin purpose12:24
gandiI didn't parse the code in my head12:24
gandi:(12:24
asacgandi: actually i think that it should work to generate javascript code with variables evaluated _before_ ... most likely thats merely and escaping thing. do you know anyone that knows for sure?12:25
gandihow can it evaluate before?12:26
gandiwe would have to parse RDF template in memory, am I right?12:26
asacwell ... the template is evaluated to create dom, right? I dont think that the variable is not evaluated during that step12:26
asacso you should be able to use the variable in any text ... which should include javascript12:27
gandiit may be12:27
asacthat was always my understanding12:27
gandifrom what I see in arzhel's code12:27
asacif it really gets evaluated not during template evaluation, but during display time12:27
asacthen well. thats borked12:27
gandihe's just creating a XUL template that feeds data from RDF12:27
asacright12:28
gandiwhich means that the code is evaluated exactly after plugging the table into DOM12:28
gandiline 93/9412:28
asacyes. but why wont ?XPIInstall be expanded to its value in javascript if its replaced in arbitrary texts12:29
gandiwell, it's replaced after line 9412:29
gandiin XUL template12:29
gandithen JS can feed from it12:29
gandithat's how I see it12:29
gandiif you would like to have it purely in JS then the code doesn't have to build XUL template12:30
gandibut pure XUL12:30
asacgandi ... what i want is that the xul template generates javascript _with_ the variable in place12:30
gandiand all variables should be queried directly from RDF JS object12:30
gandiah12:30
gandi]ok12:30
asaclike oncommand="javascript: alert(?XPIInstall)"12:30
asacthat was the idea12:31
gandiof course12:31
asacbut apparently it dident work12:31
gandiok12:31
asacwhich mus be some escaping12:31
gandisorry12:31
gandiI'm tired12:31
asacunless the variable is never evaluated until getting displayed12:31
gandilet me rethink what you said12:31
gandino, it's evaluated in line 9412:31
gandiI'm just not sure if you can get it that easily in template12:31
asacright. but for XioNoX it wasnt when he tried. he inserted the alert above and saw "?XPIInstall" in the alert dialog12:31
gandiso, you definitely can do this in the way you described12:31
asacand not the value12:31
gandiwith new variable in <button>12:32
gandibut that will break XUL sanity12:32
asacright. that was the workaround i gave him friday to unblock12:32
asachim12:32
asacgandi: true.12:32
asacgandi: the other way would be to use <input type="button" value="...")?12:32
asacso it could look for value attribute12:32
gandiyea, that seems to be clean to me12:33
asacnot real xul though i guess12:33
asacbut html12:33
gandiaagh12:33
gandiright12:33
gandithen we'd have to use another namespace12:33
gandiso for me, label with display:none sounds easiest12:34
gandiand I can look for a better solution now12:34
asacgandi: problem is that it will introduce fragility in code if we look for previousSibling12:34
asacso moving the label somewhere else will break12:34
gandiwell, this can be easily solved by12:34
asacgandi: do you know someone who can tell us why the generate-into-javascript code option wont work?12:34
gandiclass="valueURI"12:35
gandithis.parentNode.getElementsByClassName('valueURI')[0]12:35
gandiyea, looking for him now12:35
asacok. still we rely on the element being in the parentNode. all not nice ;)12:35
gandiare you sure that12:36
asaclets first check the real solution (javascript code)12:36
asacif that doesnt work its hacky, but well.12:36
gandioncommand=installPlugin(?XPIocation) won't work?12:36
asacgandi: that was XioNoX told me ... i thought it did12:36
gandiok12:36
gandilet me try to reproduce that12:37
asache said it didnt for him. but we shoulod be sure that its not an escaping issue or something12:37
gandiand I'm looking for a template guy12:37
asaccool12:37
gandiI'd say that it probably replaces the variables only if the whole value is the variable name12:37
gandiso oncommand "?XPILocation" would work12:37
asacgandi: there are examples where there is:12:38
asac"my name is ?lastname and please dont bother me"12:38
gandihmm12:38
asacat least i am pretty sure i saw things like that12:38
gandiyea12:39
gandilet's see12:39
gandimaybe there have to be spaces around variable?12:39
asacmaybe12:39
asacshould be easy to try12:39
XioNoXback12:43
asacgandi: the other way would be to define a installpluginbutton element in xbl which would basically be a button, but allows the installpluginuri attribute dom whise12:46
asacwise12:46
gandiyea12:46
asacat least in that way we could just say event.target.getAttribute("installpluginuri")12:46
gandiright12:47
asaci wouldnt rely on how the dom is layouted12:47
gandiand that would be sane from the code standpoint12:47
gandibut it would be harder to maintain12:47
gandiand read12:47
asacgandi: well. in xul it would be easy to read. and xbl-templates are used all over the place anyway12:48
gandiI disagree. Creating xbl for one button would raise the complexity of code comparing to just adding one attribute to <button> manually12:49
asac<installpluginbutton uri="?XPIInstallLocation" text="&install;" oncommand="installPlugin(event.target.getAttribute("uri"));"/>12:49
asacowell ...escaped of course12:49
asac;)12:49
gandibut it would be interesting challenge for Arzhel to learn XBL ;)12:49
asachehe12:49
asacyeah.12:49
gandiespecially it's a really easy XBL case12:49
asacgandi: but please try to get a confirm from a template guru that it really doesnt work to generate it into javascript code12:50
gandiwill do12:50
gandifirst, trying to confirm from XioNoX that it doesn't12:50
asacgood12:50
asacthanks12:50
asachave to do something else now (and lunch)12:50
asacbe back in 1-2 hours12:50
XioNoXok, i've read everything :D12:53
XioNoX buttInstall.setAttribute("oncommand", "installPlugin(' ?XPILocation ');");12:53
XioNoXseem to work12:53
asacXioNoX: cool ... is ' needed?12:53
asacmaybe ' ?XPILocation '.trim() ;)12:54
asachehe12:54
XioNoX" give a total bug of the window12:54
asacXioNoX: sure you would have to escape the inner " like \" i guess12:54
XioNoXand without ' i have an error on the console and it don't work12:54
asacok12:54
gandiyea12:54
asacXioNoX: try the .trim()12:54
gandi\" should work12:54
gandiand trim will help avoid whitespaces12:55
asacin this case whitespaces might be no problem, but in gneral we dont want whitepsaces12:55
* gandi would be a good parser... I understand how they think12:55
asachaha12:55
XioNoXwhat does trim() exactly ? just remove whitespace ?12:55
gandiwell, it's logical if you think about12:55
gandiXioNoX: yea12:55
gandifrom beginning and end12:55
gandiasac: imagine <button label="something?valuesomething"/>12:56
gandihow it can guess which one is variable?12:56
gandiwithout spaces?12:56
XioNoX chrome://mozapps/content/extensions/extensions.xul, line 1: " apt:flashplugin-nonfree?section=multiverse ".trim is not a function12:57
XioNoX?XPILocation isn't a variable when trim(); work12:58
XioNoXbuttInstall.setAttribute("oncommand", "installPlugin(' ?XPILocation '.trim());");12:58
gandiyea13:00
gandiit seems JS has no native trim() function13:00
gandiyou can use this:13:00
gandi''.replace(/^\s+|\s+$/g, '')13:00
gandiinstead13:00
gandi' ?XPILocation '.replace(/^\s+|\s+$/g, '')13:00
gandishould work13:00
XioNoXk13:01
XioNoXno error, but still spaces :D13:02
gandi.replace(/ /g,'')13:11
XioNoXgood!13:12
XioNoXasac, next steep ? :D13:16
Jazzvaasac, ping18:50
asacJazzva: hey18:51
asac;)18:51
Jazzvahey hey :)18:51
asaci think i am starting to feel better now ;)18:51
JazzvaReally?18:51
JazzvaAnd your home?18:51
asacnot sure :-D18:51
Jazzvaouch... I hope you'll manage to fix it :)18:51
asactomorrow i meet with a guy that wants to repair things18:51
Jazzvareport a bug on LP ;)18:52
asaclets see how much it costs18:52
asacyeah me too ... otoh, my mother has 2MB/s synchronous line18:52
Jazzvahope it won't be too much...18:52
asacshe lives in one of the two small cities where you have kind of fiber to home18:52
asacin germany18:52
JazzvaMB or Mb?18:52
asacnot sure ... i did an ssh copy and it gave me 1 Megabyte per-second18:53
asacbut thats the server that cant encrypt more at the same time18:53
asacget the same in internal net18:53
Jazzvaand I hoped it was just a typo...18:53
asachehe18:53
* Jazzva is frustrated about his net connection18:53
asacfinally i can upload as hell ;)18:53
Jazzvayeah... :)18:53
asacnow i just need to convince her that my equipment can stay here ;)18:53
asacthen i work from home with my laptop and build remotely ;)18:54
Jazzvahaha :)18:54
asacnot sure if she likes the idea to get another heating ;)18:54
Jazzvaget her an AC ;)18:54
asacmaybe not a bad deal :)18:55
asacat least she never complained about broken connectivity :(18:55
asacin the last 4 years or so18:55
Jazzvabtw, did fta told you the results of the yesterday's meeting?18:55
asaci read the backlog in channel18:55
asacthanks for running it18:55
asaci completely forgot about it while being over-exhausted18:55
asacfrom travel-hell into real-life hell :(18:56
asacJazzva: i found that we failed to do the XPI.TEMPLATE for thunderbird18:57
asac(which should be easy)18:57
Jazzvayep... it should be easy :)18:58
Jazzvawill you do it? I can add them, if you have something else to do...18:58
asacJazzva: want to write the team report ;) instead?18:59
asachehe18:59
asacfor jul19:00
Jazzvateam report?19:00
Jazzvam-e-d?19:00
asacthat would be a good start :)19:00
Jazzvaouch... :)19:00
asaci think m-e-d is just a statistic table19:00
asace.g. how many extensions, how many updated? and how many need work19:00
asacand how many need more info19:00
Jazzvayep... still would need to get extensions by date :)19:00
asacor something like that19:00
asacJazzva: what exactly do you mean by that?19:01
Jazzvahmm... i guess i could just go over pages for extensions and look at the date of the last changelog entry19:01
asacJazzva: you could look at ~ubuntu-dev extensions19:01
asacand see which was touched there19:01
Jazzvaasac, just thinking how to find only extensions that were changed in july :)19:01
asac-> uploaded19:01
Jazzvaright19:01
asacthen we need the number of extensions in the "need info" table19:01
asacand those that "are not in the archive"19:01
asacand those that have an upstream update pending (xpi19:02
asac)19:02
Jazzvaasac, btw... are you willing to upload firefox-sage and ...something else that failed to build :)?19:03
asacsure19:03
Jazzvaok, just let me see what packages :). I know there are two of them19:03
asacwhat is with lp:~bdrung/firefox-extensions/stanford-pwdhash.ubuntu ?19:03
asacthat appears to be new contribution19:03
asachttps://code.edge.launchpad.net/firefox-extensions19:03
Jazzvayeah, and I think I looked at it19:03
JazzvaI think there was a bug report for it's addition to the repo19:04
Jazzvas/repo/archive/19:04
Jazzvanope... you asked him to package it with xpi.template19:05
Jazzvabug 21689219:05
ubottuLaunchpad bug 216892 in ubuntu "[needs-packaging] pwdhash" [Wishlist,Confirmed] https://launchpad.net/bugs/21689219:05
asaclets see if the bug is linked to the branch19:05
Jazzvait isn't19:05
Jazzvalinked... not sure if it's done (though, the bug is set to "Confirmed"), so I put the status Fix in progress19:06
Jazzvait's foxyproxy19:07
Jazzvahttps://code.edge.launchpad.net/~jazzva/firefox-extensions/foxyproxy.ubuntu19:07
Jazzvaand firefox-sage https://code.edge.launchpad.net/~jazzva/firefox-extensions/firefox-sage.ubuntu19:07
asacok ... so both?19:08
Jazzvamhm19:08
asacfoxyproxy is latest in ~ubuntu-dev19:09
asace.g. nothing to do19:09
Jazzvaoh, right19:09
Jazzvai thought you didn't upload the fix for ftbfs :)19:10
asacfirefox-sage isnt merged19:12
asacdoing that now19:12
Jazzvacool :). thanks19:12
asacJazzva: so does it built now?19:13
asac;)19:14
Jazzvahmm... it should :)19:14
asacpushed19:14
Jazzvayay :)19:14
Jazzvalet's see the results :)19:14
Jazzvaasac, it seems this is merged https://code.edge.launchpad.net/~jazzva/firefox-extensions/mozilla-livehttpheaders.ubuntu19:14
asacmerged or mergable?19:14
Jazzvabut it reports "On hold" for the merge proposal19:14
Jazzvamerged19:14
Jazzvathe report is close19:15
Jazzvad19:15
asacwhy on hold?19:15
Jazzvadunno...19:15
asacmarked as merged19:15
asacbetter now?19:15
Jazzvayep, the last version in the changelog is -0ubuntu1, so it was merged :)19:15
asacok ... at least i know again where i can mark it as merged19:16
Jazzvamy room has a bug... I have to debug it... :)19:16
asacdidnt find it in the new interface19:16
asacprobabyl thats why it was "on hold"19:16
asacuh ... a real "bug" ?19:16
Jazzvayep... the one that goes "bzzz *thomp* bzzz *thomp*"19:19
asacha ... just used win95 ;)19:20
Jazzvayou?19:20
Jazzva5 updated extensions... is that good?19:23
Jazzvaasac, https://wiki.ubuntu.com/MozillaTeam/Extensions/ReportJuly0819:41
Jazzvacheck if it's ok19:41
Jazzvagnomefreak mentioned that he did some changes to the template and that he will post it to the wiki, but nothing so far... will he appear soon?19:41
Jazzva(if there is no report, then just wait until the wiki saves it19:42
Jazzva)19:42
=== Moot2 is now known as MootBot
asacJazzva: nice20:10
Jazzvayay :)20:11
Jazzvaok, now just to wait for gnomefreak to post it on the blog :)20:12
asachmm ... was he here today?20:12
* asac scrolls back20:12
Jazzvadunno... I think I saw him in the morning20:12
Jazzvabut then I was out for the most of the day20:12
asacyes 12 am20:13
Jazzvadinner time. I'll see to add examples for TB to XPI.TEMPLATE, if you don't want to do it :).20:13
Jazzvabrb20:13
Jazzvaback20:30
Jazzvaasac, will you work on xpi.template?20:31
* asac dinner20:49
Jazzvahave fun20:49
ftaasac, why did you disable jemalloc in xul intrepid ?22:01
ftahmm, Launchpad web service, sounds nice22:05
Jazzvalp web service? new name for lp?22:06
ftano, an API22:06
Jazzvaah22:06
ftahttps://help.launchpad.net/API/22:06
ftawell, i've just got an email announcing that22:08
Jazzvai see the mail now...22:08
asacfta: i didnt22:13
asacdid i?22:14
fta-jemalloc_in_xul.patch22:14
fta+#jemalloc_in_xul.patch22:14
fta+#jemalloc_static.patch22:14
fta-  * fix "jemalloc not enabled in --with-xul-sdk= builds": we fix this by22:15
fta-    linking xulrunner-bin and xulrunner-stub against libjemalloc.so and22:15
fta-    adding the DEBIAN_XUL_DIR into /etc/ld.so.conf.d/xulrunner-1.9; run22:15
fta-    ldconfig in postinst accordingly.22:15
fta+  * (disabled in intrepid) fix "jemalloc not enabled in --with-xul-sdk= builds": we22:15
fta+    fix this by building libjemalloc as a static lib and linking xulrunner-bin and22:15
fta+    xulrunner-stub against it.22:15
fta     - add debian/patches/jemalloc_in_xul.patch22:15
fta+    - add debian/patches/jemalloc_static.patch22:15
fta     - update debian/patches/series22:15
asacfta: yes, read rev 30922:18
asacchangelog22:18
asacerr, bzr log ;)22:18
asacfta: works fine in hardy, but in intrepid remote client crashed22:18
asacmaybe is now fixed automagically22:19
ftachecking for sqlite3 >= 3.6.0... Requested 'sqlite3 >= 3.6.0' but version of SQLite is 3.5.922:38
ftachecking for snd_pcm_open in -lasound... yes22:41
asacfta: latest 3.1?22:42
ftayep, 1.9.122:42
asacgood22:42
asacmaybe pull in the jemalloc patches there too22:42
ftaeven debian doesn't have sqlite3 >= 3.6.022:43
asacyes. they need the latest22:43
asacyou can try to dump that, but afaict 3.5.9 has bad perf22:43
asacif its only that it should at least work22:43
ftanot sure what to do, either package 3.6.0+, or patch configure, or wait22:45
Jazzvaasac, how's this comment for MOZ_XPI_MOZILLA_DIRS in xpi.template's rules file?22:45
Jazzvahttp://paste.ubuntu.com/34195/22:45
JazzvaI don't know if I should put there the part "take care of Depends in control file"...22:47
ftahttp://www.sqlite.org/35to36.html22:47
ftaJazzva, http://paste.ubuntu.com/34207/23:38
Jazzvanice :)23:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!