=== Starting logfile irclogs/ubuntu-mozillateam.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-mozillateam === Topic for #ubuntu-mozillateam: Home of Ubuntu Mozilla Team - https://wiki.ubuntu.com/MozillaTeam | Bug Triagers please read: https://wiki.ubuntu.com/MozillaTeam/Bugs/ | Firefox trunk package source : https://code.launchpad.net/~asac/firefox/trunk | Mailing List: ubuntu-mozillateam@lists.ubuntu.com | === Topic (#ubuntu-mozillateam): set by Admiral_Chicago at Sun Jun 24 10:33:47 2007 === Admiral_Chicago_ [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam === Admiral_Chicago_ [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam === Admiral_Chicago_ [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam === jbs [n=Bernardo@89.181.211.185] has joined #ubuntu-mozillateam [08:46] asac, there is another package I prepared few weeks ago. I've uploaded it to bazaar, you can see it at https://code.launchpad.net/~jazzva/fakenes/ubuntu [08:46] asac, that is if you have some free time to take a look at it :). Thanks... === Bernardo [n=Bernardo@sourcemage/Bernardo] has joined #ubuntu-mozillateam === shirish [n=shirish@59.95.37.118] has joined #ubuntu-mozillateam === shirish [n=shirish@59.95.37.118] has left #ubuntu-mozillateam ["Leaving."] [10:16] Jazzva: there? [10:18] asac: Yep, will just go to make a coffee... be back in a minute... [10:19] oh coffee ... good point ;) [10:21] asac: Always ;)... Back [10:22] well ... now I am brewing coffee ;) [10:22] ok wait ... so ubufox is available [10:22] aeh sorry ... i mean a plugin finder service so one can look at the latest ubufox features is available [10:23] Hmm... you "beautified" it :)? [10:23] no ... i fixed things that were still broken :) [10:23] Oh, ok :)... [10:23] ... made it work flawless i hope [10:23] can you test if it works for you as well? [10:23] Can I help with it? (though, I never wrote anything in python) [10:23] Hmm, sure... [10:24] cool ... to take a look you just need the latest ubufox from bzr [10:24] (the upstream branch not the debian/ubuntu one) [10:24] Just to download it :)... [10:25] cool [10:25] and you need to tweak the pfs.datasource url preference [10:25] i think its kind of url lik people.ubuntu.com/~asac/.... [10:26] upstream == main? [10:26] ---> jxtaim.dyndns.org/~alex [10:26] Jazzva: yes [10:26] Ok :) [10:26] the one without debian directory< [10:26] the one you worked on ;) [10:27] ...and there was I, wondering why there's no debian/ :lol:... [10:27] hehe [10:27] I'm stupid :) [10:28] no ... stupid is something else ;) [10:28] Where do I set pfs.datasource? [10:29] grep? :) [10:29] goto about:config [10:29] then search pfs [10:29] (do it manually in firefox) [10:29] Ok :) [10:29] is there people.ubuntu.com already set at all ? or is it still pfs.mozilla.org? [10:31] The first one [10:31] :) [10:31] But it seems wrong [10:31] http:///people... [10:31] good ... replace people.ubuntu.com -> jxtaim.dyndns.org [10:31] yes ;) [10:31] Note the three backslashes (or are they slashes?) [10:32] and asac -> alex :) [10:32] yes i already know :) [10:32] Replaced [10:33] Jazzva: ok [10:33] when you have it installed there are test html pages [10:33] in pfs/test/ [10:33] Ok [10:33] (in ubufox tree) [10:35] ok i pushed revision 34 (which fixes the triple-slash) [10:35] not worth an update though ;) [10:35] Do I need to uninstall the flash plugin first? :) (but I don't think that it's installed in gutsy :/) [10:35] Oh, there's a search in second test :) [10:36] yes for movie [10:36] Nice :D [10:36] And you know about the label not showing up? [10:37] &pluginWizard.availablePluginsPage.description.label; (video/mpeg) [10:37] Instead of something like "Choose plugin..." (I suppose) [10:38] Hmm, here's the report [10:38] Well, all codecs fail installation (it's not implemented yet?)... [10:39] huh? [10:39] codecs? [10:39] ah you are on feisty? [10:39] Plugins :)... [10:39] you need apturl package from gutsy [10:39] you can just apt-get source it and build it in feisty [10:39] Well, yes, but I'm running firefox from chroot... though profile dir is shared with feisty [10:39] it hasn't much dependencies [10:39] Jazzva: then try install apturl package [10:40] Installing.. [10:40] and yes ... that plugin wizard needs to be beautified .... [10:40] 1st: the title needs to be fixed [10:41] 2nd: the choice box needs to be CSSed (so its white background) [10:41] 3rd: icons/images should be displayed for each result [10:42] There is another thing. There are three different plugins, the gxine is selected as default. But, if you leave it as is it is and click "Next", the mplayer-plugin is installed instead... [10:43] yeah thats a bug [10:43] i forget to set some variable when preselecting it [10:43] actually i think we should drop the "no plugin for content type choice" [10:43] And clicking "Cancel" on "Do you want to install..." returns me to the wizzard and shows that the plugin is installed :/... [10:43] however we word it ... it might confuse users [10:44] huh? [10:44] maybe its installed ? [10:44] so cancel in "apturl" dialog? [10:44] Yes, that one... [10:45] yes ... that is an apturl bug, because it doesn't have a good exit coe [10:45] code [10:45] you can fix it by editing /usr/bin/apturl [10:45] its just a sys.exit(2) where the "Cancel" is processed [10:45] dia.format_secondary_text(body) [10:45] res = dia.run() [10:45] if res != gtk.RESPONSE_YES: [10:45] sys.exit(2); [10:45] thats what my version has [10:46] (which allows us to see if install fails) [10:46] Ok... [10:46] i think sys.exit(2) is currently continue [10:47] Hmm, wouldn't know... But mine has "continue" instead of "sys.exit(2)" [10:49] Yep, changing it to "sys.exit(2)" corrects the problem. [10:50] good [10:50] So far the installation goes nice... [10:50] i asked mvo ... he will fix it [10:50] Downloading the packages... [10:50] (just to check if everything will go nice) [10:51] Off for a smoke... brb [10:52] ok nice [11:01] Everything went well :)... [11:01] asac ^ [11:01] cool [11:01] at best uninstall the package again :) ... so you can later test something ;) [11:02] K... [11:03] ok in createPluginSetGroupBox ... we need to use this.getFormattedString [11:03] instead of just setting &....; to labe [11:04] as xml entities will not be parsed if just inject them by javascript [11:04] (in pluginInstallerWizard.js) [11:06] Just a wild guess (based on C and stuff). Couldn't we just use something like: ("label", &...; + " (" + mimetype + ")")? [11:07] or is that this.getFormattedString(&...)+...? [11:07] :) === asac_ [n=asac@debian/developer/asac] has joined #ubuntu-mozillateam [11:10] (in pluginInstallerWizard.js) [11:10] [11:06] Just a wild guess (based on C and stuff). Couldn't we just use something like: ("label", &...; + " (" + mimetype + ")")? [11:10] [11:07] or is that this.getFormattedString(&...)+...? [11:10] [11:07] :) [11:11] oh right ... was off [11:11] Well, it seems we can't... it searches for plugins forever... [11:11] its getFormattedString [11:11] there are examples in code [11:11] huh? [11:12] Well, I replaced the "&...;"+... with &...+";"+ [11:12] Just to get the string stored in label variable... [11:12] no that won't help [11:12] But it's not working... [11:12] if you put that stuff in xul its expanded by xml parser [11:13] but if you inject elements into dom tree ... parser is not used anymore ... so we have to resolve the string programmatically bin javascript [11:14] ...and that is done by getFormattedString? [11:14] yes ... getString gives you translated entity ... getFormattedString allows you to get translated + substitution [11:14] i think we just need getString() + "(" + mimetype +")" [11:14] Ok, I'll give it a try now [11:15] BTW, as for the first option [11:15] Maybe we could set it as last [11:16] And rename it to "Don't install any plugin" or something.. [11:16] haha [11:16] no the problem will go on [11:16] we have to properly select whatever we select [11:16] ah [11:16] yes [11:16] I meant for the "no plugin..." [11:16] :) [11:16] sorry mixed things up [11:16] No prob... [11:16] well ... its not that simple [11:17] point is: if you have multiple content types on one page and you press the "install missing plugins ..." button [11:17] the idea is to allow users to install plugin for each missing content type [11:17] "Don't install any plugin" would imply that user doesn't want anything for other content types as well [11:18] "Don't install this plugin" :)? [11:18] ... which is already served perfectly well with "cancel" :) [11:18] i think its too hard to understand for normal users [11:18] Hm, is there a wizard launched per plugin? [11:18] right wording would be like it is: "don't install plugin for content type XXX" [11:18] Or one wizard to bound them? :) [11:18] Jazzva: no there should be multiple wizard pages [11:18] e.g. first you select which plugin you want for which content type ... in the end everything gets installed [11:19] Oh, I see :)... [11:19] currently its broken ... but that doesn't need to be fixed for feature freeze [11:19] its broken for plain upstream wizard as well [11:19] so we can deal later with that ,) [11:19] Ok... [11:39] Hmm.. not working :/. I tried with "this.getString(pluginWizar...)+..", but it didn't work. Then with "getString(&...", which also didn't work... [11:40] I took a look at MDC reference for getString, and it says that I need key for string... I supposte that's "pluginWizard...label". [11:40] you need to use the string [11:40] look at other examples in the same file [11:41] yes [11:41] thats the yes [11:41] s/yes/key/ [11:42] Damn... Ok, trying to find (with very little knowledge of JS and XUL (next to nothing) :)) why it doesn't work. Wish me luck... [12:00] Jazzva: he? [12:01] asac: Nvm :)... [12:01] Jazzva: just try getString() first [12:01] if that works see formatted string [12:01] this.getString("pluginWizard...") ... doesn't that work? [12:01] Hmm... That's not working :) [12:01] what happens? [12:01] Oooh... I need quotes :) [12:01] yeah ... i already pointed that out [12:01] above :) [12:02] oh ... no i wanted to point out but since you [12:02] 11:40 < Jazzva> I took a look at MDC reference for getString, and it says that I need key for string... I supposte that's "pluginWizard...label". [12:02] i thought you use "" :) [12:02] Oh... No, I use them here when I want to write something that is part of the code :). [12:04] yeah i noticed that now [12:07] Well, here's the result [12:07] "Press Next to install these plugins" [12:07] === Jazzva pressed Next [12:07] "No plugins were installed." === Jazzva pressed Finish [12:09] ok [12:10] Jazzva: [12:10] statMsg = this.getString("pluginInstallation.complete"); [12:10] this is known to work [12:11] And then to use "setAttribute("label", statMsg+...);"? [12:11] if you use that it works? [12:11] I'll try now :)... [12:11] and if you place the entitiy-id with the one we wnat it doesn't ? [12:11] s/place/replace/ [12:13] Nope, it doesn't... [12:15] what doesn't work? [12:15] if you use this this.getString("pluginInstallation.complete") ? [12:16] No, I tried to use "labelMsg = this.getString("pluginWizard...");" (the one that was supposed to be used as label text), but that didn't work. I'll test it with "pluginInstallation.complete" [12:17] try this.getString("pluginInstallation.complete") ... if that works we have to add something [12:22] Does this look good: [12:22] caption.setAttribute("label", "; this.getString("pluginInstallation.complete")+"; ("+mimetype+")"); [12:22] ? [12:24] no [12:24] ";? :) [12:24] you have mesed up quotes + ; [12:24] ; are only at end of line [12:24] I see it now... [12:25] I'm stupid... but this morning, I'm enormously stupid... *smacksheadagainstwall* [12:25] hehe [12:25] if it works you will remember ;) [12:27] caption.setAttribute("label", this.getString("pluginInstallation.complete")+"; ("+mimetype+")"); [12:28] Ok, I supposed that this one is good, but no... [12:28] well ... that might work ... is the ; in the mids of the string is intentional? [12:29] Yes, it's the way it was in the star [12:29] *start [12:29] k [12:29] But it's not working... [12:29] try an window.alert("test: "+this.getString("pluginInstallation.complete")); right before that line [12:32] Jazzva: the ; in the mids of the string was just there because i copied the whole xml entity expression [12:32] which ends with ; [12:32] Hmm, no alert :/... [12:32] &key.id; .... thats replaced by an entity when xmp parser sees it [12:32] Jazzva: you have messed something else up most likely [12:32] introspect your changes with bzr diff [12:32] I suppose... [12:33] maybe you accidentially inserted something you didn't want [12:33] This is the only thing: [12:33] var caption = document.createElement("caption"); [12:33] - caption.setAttribute("label", "&pluginWizard.availablePluginsPage.description.label; ("+mimetype+")"); [12:33] + window.alert("test: "+this.getString("pluginInstallation.complete")); [12:33] + caption.setAttribute("label", this.getString("pluginInstallation.complete")+"; ("+mimetype+")"); [12:33] gbox.appendChild(caption); [12:34] Hmm, I'll try without concatenating func result with other strings... [12:34] Dunno if that'll change anything [12:39] Still the same... :/ [12:39] wierd [12:39] Maybe something went wrong with the uninstallationof plugin :/ [12:39] what function is that code in? [12:39] try to open alert with just this ... to see if its set at all [12:40] just "..." + this); [12:40] function createPluginSetGroupBox (document, mimetype, aPluginInfoSet) [12:40] ok [12:40] this is not set there [12:40] add a parameter "self" to that function [12:40] and pass this into that from the caller [12:40] wait [12:41] just rename the fuction like below: [12:41] nsPluginInstallerWizard.prototype.showPluginList = function () { [12:41] and call it with this.createPluginSetGroupBox instead of just createPluginSetGroupBox [12:41] then this will be set [12:42] Umm, so "nsPlug...prototype.createPlug..."? [12:42] because the function becomes an "instance" function [12:42] yeah [12:42] its the way Object-Orientation is done in javascript :) [12:43] Riiight :)... Will have to read up on that, I see :) [12:45] It works :)... [12:45] So, just to check if I got your point :)... [12:46] nsPluginInstallerWizard is an object [12:47] and "function createPluginSetGroupBox" isn't a method of that object (obviously) [12:47] But I still used "this" to reference to the object, which was wrong [12:47] right? [12:50] yes [12:50] which didn't exist [12:50] because your scope was "outside" of the object [12:50] objects implicitly define "this" variable [12:51] createPluginSetGroupBox was just a plain old function [12:51] now its a method of that object [12:51] Just like in C++ [12:51] :) [12:53] It's not working with "this.getString("pluginWizard.availablePluginsPage.description.label")" though :/... You sure that key exists? [12:53] Oh, lemme check with window.alert () :) [12:56] Hm, no alert window :/... [12:56] Does that mean that we should add it to locale/../ubufox.dtd? [12:57] But we can't since it's a plugin name? [12:57] Or is it some generic text like "Choose plugin"? [12:59] probably it doesn't exist then [01:00] maybe it needs to be in a properties file [01:00] Jazzva: try to add it to ./locale/en-US/ubufox.properties [01:00] then include that properties file in pluginfinderWizard.xul [01:01] Ok... [01:02] i think you have to extend [01:02] [01:02] [01:02] [01:02] [01:02] [01:02] Ok [01:02] with a ubufox/locale/plugins.properties ... and add that to locale/en-US [01:02] with the key you want [01:02] like [01:02] key.id=value [01:02] value gets no quotes [01:03] But there is already ubufox.properties... Why don't I just add to that one? [01:03] sure [01:03] :) [01:04] i have to do a break ... this "wrong plugin selected without click problem" twists my mind a bit ;) [01:04] How does "ubufox.pluginfinder.availableplugins.label" sound? [01:04] Or just ".available." [01:06] well [01:06] lets use ubufox.pluginWizard.availablePluginsPage.description.label [01:07] Ok... [01:07] just prepend the entities we overload from current pfw [01:08] How do I find the chrome url? Is the right one "chrome://ubufox/locale/ubufox.properties"? [01:08] uri... [01:10] Never mind :).. [01:13] Jazzva: you can test chrome urls in firefox location bar [01:13] e.g. chrome://ubufox/content/pluginFinderWizard.xul [01:13] And define them in chrome.manifest :) [01:13] should show you the wizard embedded in browser window ;) [01:13] same for .js and css and dtd and whatever file [01:14] o its already pretty cool [01:14] http://people.ubuntu.com/~asac/Screenshot-Plugin%20Finder%20Service-1.png [01:14] now fix title [01:15] then i think we are done for feature freeze [01:15] we can make a table out of the choice box during freeze i guess ... as its just "layout" [01:15] ah maybe we want an agenda? [01:15] e.g. so users understand what those icons mean? [01:16] e.g the globe: installs from internet [01:16] the ubuntu sign: ubuntu managed package [01:16] It's pretty :) [01:17] its prettier when run outside chroot [01:17] with an actual gnome theme :) [01:17] but since i have amd64 i don't get any internet result there that would show the globe [01:18] hmmm maybe we want to remove the frame border around the choice box [01:18] and just put a title [01:19] Hmm... It would be ok [01:19] :) [01:20] that would remove the GetString() again ... it was in xul before ... hmm [01:20] Lol... [01:22] Jazzva: for now just make a vbox out of the groupbox in createGroup thing [01:22] that will remove the border [01:22] Umm... ok [01:22] :) [01:23] let me know when you are done [01:23] i will look if i can split up the work i did now in multiple commits and then merge in your changes [01:23] Mhm... [01:23] :) [01:29] Hmm, it says that it's not well-formed uri: chrome://ubufox/locale/ubufox.properties [01:29] In this tag: [01:29] [01:29] well look closer ;) [01:29] the problem is in that line [01:29] itsnot well-formed ;) [01:30] Damn... [01:30] I hate this day... and quotes :) [01:30] should be too obvious to see by oneself :) [01:30] Yes, it is... [01:31] have you tried if chrome://ubufox/locale/ubufox.properties is ok (in location bar) ? [01:31] It is [01:31] I have tried, it listes the strings... [01:31] pleae commit the groupbox -> vbox change in a separate checkin ;) [01:31] then fine [01:31] Sure :)... [01:32] if that works you probably want to use formatted string [01:32] syntax examples should be available in ubufox.properties [01:33] Ok... but the plugin finder is not working with this added string :/... [01:33] Is it a problem if I go and get something to eat, and to continue fixing after? :) [01:33] In about ... 20-30 minutes... [01:34] no [01:34] go ahead [01:34] And maybe I'll stop making the missing-quotes errors after brunch :)... [01:35] Ok, see you later [02:05] Back... Will try to correct the problem with message now and to change gbox to vbox. [02:07] Jazzva: thanks [02:07] Jazzva: there is one more feature request [02:08] the Get Addons link should only be displayed when we are in the extensions tab for now [02:08] you probably have to search elements for some specific element id or label or something to figure out, which is currently active [02:08] you should be able to find that using dom inspector [02:09] I thought of that too... [02:09] I noticed that it appears when you need to restart firefox after installation of extensions, which didn't make much sense... [02:14] right [02:14] it appears in every tab [02:14] (which is the root issue) [02:14] cool i fixed the multi content type case [02:15] well at least the UI [02:15] Weee :) [02:16] cool it just works [02:16] lets test cancel szenarios [02:16] Hmm, what's the difference between dtd and properties file? I can't find info right now on Google and MDC doesn't work well right now :/... [02:16] e.g. user cancels first install ... is second one still tried? [02:16] well .dtd is a xml mechanism ... [02:16] among other things you can specify entities which are then replaced when xml document is parsed [02:16] you mark entities with &...; [02:17] properties is just a mapping file [02:17] nothing more [02:17] so if you want to localize i nxul you need .dtd [02:17] while in code you want .properties [02:17] Ok... [02:17] Thanks [02:18] if you don't want to duplicate translations used in code + xul you can just put the chrome:// uri of the properties file in the .dtd value [02:18] mozilla will automagically resolve that for you [02:23] Hmm, I think this is why it doesn't recognize my string [02:23] This is the function that fetches the string: [02:23] nsPluginInstallerWizard.prototype.getString = function (aName){ [02:23] return document.getElementById("pluginWizardString").getString(aName); [02:23] } [02:23] ...brb, phone... [02:30] Back... [02:32] So, i gets he strinbundle which has that id, which is at chrome://mozapps/locale/pl...., while my string is at chrome://ubufox/locale/... [02:32] I'll try to fetch my string with getElementById... [02:35] huh` [02:35] who implements that? [02:36] right :) [02:36] Ok :)... [02:36] you got it ;) [02:36] maybe add object method: getUbufoxString [02:36] or better yet [02:36] in getString ... try first to resolve from our properties [02:36] if that fails try the pristine ones [02:36] Uh-huh... Ok. [02:37] Yay "Choose a plugin (video/mpeg)" :) [02:39] Jazzva: lets change it: [02:39] choose plugin for media type %s [02:39] or choose plugin to enable media "...:" [02:39] because in ffox main window when there is a plugin missing it reads: [02:40] Ok, where %s will be replaced by "(video/mpeg)" or something in that format? [02:40] "Additional plugins required to display all the media on this page." [02:40] so we should say: [02:41] "Choose plugin you want to use to display %s media" [02:41] or something like that [02:41] Ok... [02:41] so the user doesn#t get confused by deviated workding for the same things [02:43] then we can add a choice to the bottom that reads "I don't want to display this media" [02:43] :) [02:43] sounds good? [02:43] (now that we have multi media types working :)) [02:43] Very ;)... [02:44] Jazzva: look http://people.ubuntu.com/~asac/Screenshot-Plugin%20Finder%20Service-2.png [02:44] or did i show that already ;) [02:44] Well, you showed one... [02:44] Dunno if this is the one [02:45] the scroll bar will disappear when we remove the groupbox (at least it does for me) [02:45] It's cool :) [02:46] getString returns null if no string is found? [02:46] most likely [02:46] ah ... yes [02:46] like it does now [02:47] I'll also edit the getFormattedString... [02:47] right [02:47] please commit those in a separate commit [02:47] Sure... [02:48] e.g. i mean both string fixes in the same commit... but without the rest [02:49] I'm still doing in the develop branch, which is local... Then I'll have to edit the files in the uploading branch... [02:49] :) [02:49] ah [02:49] i do it more or less similar [02:49] if i mix things i do a bzr diff > changes.diff [02:49] I suppose it's cool for not too big updates [02:49] then i open emacs changes.diff [02:49] and apply manually [02:49] (using diff-mode) [02:50] Hmm... I don't know for that... :) [02:50] Sounds nice... [02:50] hunk-by-hunk ... committing for each single issue approached [02:54] Damn... this new getString is not working... === Ubulette [n=Ubulette@APuteaux-153-1-65-16.w82-124.abo.wanadoo.fr] has joined #ubuntu-mozillateam [02:56] asac, how does this look to you? [02:56] nsPluginInstallerWizard.prototype.getString = function (aName){ [02:56] var result = document.getElementById("ubufoxPluginWizardString").getString(aName); [02:56] if (!result) [02:56] result = document.getElementById("pluginWizardString").getString(aName); [02:56] return result; [02:56] } [02:56] I'm not sure how is (!result) evaluated in JS... [02:58] Switching to "if (result == null)" [03:04] !result is equivalent result != null [03:04] I'll remember that, asac [03:05] ups [03:05] damn [03:05] thats a mess now [03:05] ;) [03:05] !result [03:05] result is equivalent result != null [03:05] hehe [03:05] !result | Jazzva [03:05] Jazzva: please see above [03:06] Hmm... now that's an interesting concept :P [03:06] !!result is equivalent result != null [03:06] But result already means something else! [03:06] !forget result [03:06] I'll forget that, asac [03:06] !result [03:06] Sorry, I don't know anything about result - try searching on http://bots.ubuntulinux.nl/factoids.cgi [03:07] ok ... hope there was no fact for result before ;) [03:07] :) [03:10] Hmm, but "result" is equivalent to "result != null" [03:10] is wrong :) [03:11] ...anyway, the new getString's not working for some reason [03:11] the bot just ate the ! because it was instructions [03:11] wrong? :) [03:11] .... !result is equiv. to result != null [03:11] oh :) [03:11] hehe [03:11] And "result" to "result == null"? [03:11] :) [03:11] forget about it :) [03:11] flip it ;) [03:12] result <=> result != null .... so fact was correct [03:12] Well, I got confused too for a while... [03:13] ok i think rev 39 + yur changes will be good for beta [03:13] Anyway, getString is not working, and I've tried three variations. Probably because getString doesn't return null (though, I can't think of some other value, -1 maybe :))... [03:13] i will now make the server side work even without calling to mozilla (of course we will only get ubuntu results then) [03:14] Ok, should I merge your rev 39 with my branch before applying my changes to this? [03:14] but i don't feel like i want to use my jxtaim.dyndns.org as default setting ;) [03:14] Jazzva: if you still have the chance, just pull my branch [03:14] otherwise i would merge your changes into mine [03:15] Well, I have.. I'm still working on local branch... [03:17] Lunchtime... brb === asac lunchy [03:39] I was sent an email asking me to get a backtrace for bug 132235 following the steps provide in https://wiki.ubuntu.com/MozillaTeam/Bugs . I installed the packages in step 1 but now in step 2 it says to run firefox from terminal. what I am wondering is do I eed to change firefox -g 2>&1 | tee ~/Desktop/gdb-firefox.log to firefox-granparadiso -g 2>&1 | tee ~/Desktop/gdb-firefox-granparadiso or run the commands as they are?.log [03:39] Launchpad bug 132235 in firefox-granparadiso "[GUTSY] firefox-granparadiso crashed" [Medium,Incomplete] https://launchpad.net/bugs/132235 [03:45] when running firefox-granparadiso -g 2>&1 | tee ~/Desktop/gdb-firefox-granparadiso.log paradiso doesnt seem to be doing anything ( doesnt start ) [03:49] http://pastebin.ubuntu-nl.org/33820/ this is output of running the above command. just sits there not doing anything I can see with cursor blinking [03:54] I am not sure if I am doing something wrong but the .log has the exact same info as the pastebin http://pastebin.ubuntu-nl.org/33820/ [03:57] Ubulette: if you are around I would appreciate any help you can give with this [04:03] re [04:03] Ubulette: bug 132235 updated with backtrace. doubt it will help any. [04:03] Launchpad bug 132235 in firefox-granparadiso "[GUTSY] firefox-granparadiso crashed" [Medium,Incomplete] https://launchpad.net/bugs/132235 [04:03] wb asac [04:03] can you take a look at what I said/did with this backtrace? [04:04] in a second [04:04] k ty be right back also [04:06] back [04:08] ciggy [04:15] IdleOne: yes [04:15] IdleOne: however there are no -dbg packages available [04:15] you need to get the dbgsym package [04:16] i think deb http://people.ubuntu.com/~pitti/ddebs/ ./ should allow you to install [04:16] firefox-granparadiso-dbgsym [04:16] well [04:16] http://people.ubuntu.com/~pitti/ddebs/ [04:17] ouch [04:17] IdleOne: https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-September/000195.html [04:17] IdleOne: and if you are in the (gdb) shell you have to start the application: [04:17] (gdb) run [04:17] its in the wiki (you mussed have missed it) [04:19] Jazzva|away: ok when you have hidden the get ubuntu addons link, then we are ready for 0.4~beta1 release [04:19] well ... string sof course as well ;) [04:19] ok so I need to install this https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-September/000195.html first? [04:19] you have to install firefox-granparadiso-dbgsym [04:20] adapt the apt/sources.list line for gutsy [04:20] so I add https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-September/000195.html to sources.list then apt-get firefox-granparadiso-dbgsym [04:20] k [04:20] lemme do that [04:20] IdleOne: welll the line that is announced in that mail ... yes [04:22] hi [04:25] ole [04:26] asac: Couldn't find any package whose name or description matched "firefox-granparadiso-dbgsym" [04:26] you probably didn't adapt for gutsy [04:27] ahhh [04:27] :/ [04:27] rewad what i say with care ... it usually contains all info needed ;) [04:28] will try to remember that :P [04:28] guys, why do you need another backtrace ? I've already provided 2.. [04:28] not sure I got an email asking for one [04:29] should I provide the backtrace or not? [04:30] well, for me, that's is enough: [04:30] (gdb) bt [04:30] #0 0xb6963576 in XSync () from /usr/lib/libX11.so.6 [04:30] #1 0xb2423a6d in JavaPluginInstance5::SetWindow () from /usr/lib/jvm/java-1.5.0-sun-1.5.0.12/jre/lib/i386/libjavaplugin_nscp.so [04:30] gdb) bt [04:30] #0 0xb692c576 in XSync () from /usr/lib/libX11.so.6 [04:30] #1 0xb0a45c5d in JavaPluginInstance5::SetWindow () from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libjavaplugin_nscp.so [04:30] so both java 5 and 6 failed in XSync() [04:31] seems to be the same code: JavaPluginInstance5::SetWindow() so at least it's coherent [04:31] then me doing another backtrace would be redundant is what you are saying [04:31] if you get the same thing, probably yes :P [04:32] asac, thoughts ? [04:33] will give it a shot anyway just so I can learn how to do this properly [04:33] havent ever done a backtrace [04:34] learning something new is never redundant :) [04:36] about java? [04:36] Ubulette: ?? [04:37] believe Ubulette is asking if I should also provide a backtrace seeing how she has already done two of them === IdleOne assumes Ubulette is a she [04:39] ... # full backtrace output [04:39] (gdb) thread apply all backtrace full [04:39] ... # all threads full backtrace output [04:39] (gdb) quit [04:39] ooops [04:39] sorry [04:43] "she has already done" ? lol [04:43] well your name is feminine in nature [04:43] maybe, but i'm not [04:44] atleast to me it is. I am guessing it is french derived and in french words ending in ette are feminine [04:44] sorry Ubulette didnt mean to insult or anything [04:44] np [04:45] so anyway doesnt seem like this backtrace is working out for me keep getting : no debug symbols found === Admiral_Chicago [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam [04:47] IdleOne: dbgsym installed? [04:47] yes [04:47] hmm [04:48] Ubulette: for you dbgsym works, right? [04:48] never tried that [04:48] firefox-granparadiso-dbgsym: [04:48] Installed: 3.0~alpha7-0ubuntu5 [04:48] Candidate: 3.0~alpha7-0ubuntu5 [04:48] I did my traces with trunk alone, not even trunk-dbg [04:48] IdleOne: well what do you get when running bt full? [04:49] Ubulette: from within dist/bin ? [04:49] no [04:49] asac: hold a sec [04:49] Ubulette: well the ones above are not symbolized [04:49] Ubulette: please try with -dbgsym package installed [04:49] Ubulette: you might see more and can check if paradiso passes sane parameters into XSync [04:51] asac: http://paste.ubuntu-nl.org/33837/ [04:51] IdleOne: what size is the dbgsym .deb ? [04:51] not sure how do I check? [04:52] ls -l /var/cache/apt/archives iirc [04:52] somewhere below /var is an apt.archives file [04:52] there are all .debs downloaded (since last time you ran apt-get clean) [04:53] 8136 2007-08-13 19:24 firefox-granparadiso-dbgsym_3.0~alpha7-0ubuntu5_i386.ddeb [04:54] -dev-dbgsym is 45M [04:55] how did you get that info? [04:55] I ot 8.0K [04:55] got [04:56] du -h /var/cache/apt/archives/firefox-granparadiso-dbgsym_3.0~alpha7-0ubuntu5_i386.ddeb [04:56] 8.0K /var/cache/apt/archives/firefox-granparadiso-dbgsym_3.0~alpha7-0ubuntu5_i386.ddeb [04:56] hmmm [04:57] -dev-xxx [05:01] asac, it's no different [05:03] oh, i need to tweak LD_LIBRARY_PATH [05:04] so what am I missing so I can run backtrace? === IdleOne is a little lost here [05:13] Ubulette: usually LD_LIBRARY_PATH should be just correct if you run firefox-granparadiso -g [05:13] for firefox -g it works [05:14] IdleOne: your dbgsym package is definitly broken [05:14] how does it knows it has symbols in usr/lib/debug/usr/lib/firefox-granparadiso-devel-3.0a7/sdk/lib/*.so ? [05:14] Ubulette's looks good [05:14] it's not the same deb [05:14] does it? [05:15] i mean firefox-granparadiso-dbgsym should have symbols for granparadiso [05:15] libs [05:15] -rw-r--r-- 1 fta fta 8136 2007-08-14 01:24 firefox-granparadiso-dbgsym_3.0~alpha7-0ubuntu5_i386.ddeb [05:15] -rw-r--r-- 1 fta fta 46449324 2007-08-14 01:25 firefox-granparadiso-dev-dbgsym_3.0~alpha7-0ubuntu5_i386.ddeb [05:15] Ubulette: yes ... thats a problem then [05:16] Ubulette: do you disable--strip-libs in configure? [05:16] dont remember me doing that [05:16] look please [05:16] if there is strip-libs disabled [05:17] otherwise thats the reason [05:17] for sure [05:17] http://people.ubuntu.com/~pitti/ddebs/pool/universe/f/firefox-granparadiso/ ppc is different [05:17] let me look [05:18] ok strip is disabled ...s ot this isn't the problem [05:18] --disable-strip \ [05:18] --disable-strip-libs \ [05:18] and we pass -g in CFLAGS and CXXFLAGS ? [05:18] yes we do [05:18] ok [05:19] Ubulette: powerpc is still alpha5 === Admiral_Chicago [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam [05:19] oh [05:20] asac: if my dbgsym is broken how do I fix it? [05:22] no idea ;) [05:22] would have to look into it [05:22] its probably a packaging bug which you cannot do much about [05:23] will installing the one from http://people.ubuntu.com/~pitti/ddebs/pool/universe/f/firefox-granparadiso/ fix it? [05:23] no [05:23] thats the same ;) [05:23] you are out of luck atm [05:23] hmmm well then [05:23] heh okie dokie [05:23] wait till we have a better dbgsym [05:25] http://pastebin.mozilla.org/184682 [05:25] that's /w trunk [05:27] Ubulette: unfortunately I dont really understand much of that or enough to know what it means [05:29] Ubulette: that backtrace doesn't yield much ... we need symbols [05:30] we have [05:30] ah right [05:30] except in java [05:30] install dbg-sym packages for x11 as well [05:30] maybe you can see more details about XSynx [05:31] Jazzva|away: are you on? [05:31] oh [05:31] ;) === Admiral_Chicago [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam [05:34] there's no dbgsym for java [05:37] right [05:37] but for x [05:39] #0 XSync (dpy=0x0, discard=0) at ../../src/Sync.c:46 [05:40] #1 0xb0e2cc5d in JavaPluginInstance5::SetWindow () from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libjavaplugin_nscp.so [05:40] #2 0xb0e5dca7 in CNSAdapter_JavaPlugin::SetWindow () from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/plugin/i386/ns7/libjavaplugin_oji.so [05:40] #3 0xb79ea9ad in nsPluginNativeWindowGtk2::CallSetWindow (this=0x977ef58, aPluginInstance=@0xbff535e0) at nsPluginNativeWindowGtk2.cpp:144 [05:40] pb is without java, difficult to guess [05:46] mozilla bug 386844 [05:46] Mozilla bug 386844 in Plug-ins "Crash when running Java Applets [@ XSync - JavaPluginInstance5::SetWindow] " [Critical,Assigned] http://bugzilla.mozilla.org/show_bug.cgi?id=386844 [05:51] what is dpy ? [05:51] ah display [05:51] well [05:51] can you look at level #3 [05:51] cool, they have a patch, not committed though. I'll merge it into trunk, if it's okay, i can backport to gp [05:52] ok [05:52] please show me the patch as well [05:52] pretty long patch... [05:52] https://bugzilla.mozilla.org/attachment.cgi?id=271973 [05:52] afaik there was even discussion about dropping java support ... forcing java to reimplement their plugin with more modern means [05:52] but that is probably pretty far taken [05:52] Ubulette: pleaes bug number [05:52] above [05:52] no attachment [05:53] well bugnumber ;) [05:53] mozilla bug 386844 [05:53] 386844 [05:53] k [05:53] Mozilla bug 386844 in Plug-ins "Crash when running Java Applets [@ XSync - JavaPluginInstance5::SetWindow] " [Critical,Assigned] http://bugzilla.mozilla.org/show_bug.cgi?id=386844 [05:57] Ubulette: https://bugzilla.mozilla.org/show_bug.cgi?id=386844#c19 [05:57] Mozilla bug 386844 in Plug-ins "Crash when running Java Applets [@ XSync - JavaPluginInstance5::SetWindow] " [Critical,Assigned] [05:57] ah ... nevermind [05:58] ? [05:58] if we have luck it fixed the gtk_style_realize master crash as well [05:58] test totem et al please === Admiral_Chicago_ [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam [05:59] not that we buy-in crashes for them instead [05:59] well, I fixed totem plugin independently [05:59] Ubulette: no ... not that crash [05:59] so for me totem is fine in both gp and trunk [05:59] oh, yep sure [05:59] please test *after* the crash i mean [06:00] s/crash/patch/ [06:00] :) [06:22] well, I have to rebuild everything to be safe as my files were not recompiled with -nc and I had to force them [06:24] hm, I'm good for a 45m rebuild :P [06:24] wierd [06:24] hehe [06:24] yeah [06:25] i will be off soon ... sport then meeting a friend [06:25] could we quickly discuss nspr 1st [06:25] ? [06:25] soon == 35 min [06:25] sure [06:26] do you have questions? [06:26] package names and .so bump [06:27] so for, I've built those: [06:27] libnspr4-0d_4.7.0~cvs20070713-0ubuntu1_i386.deb [06:27] libnspr4-0d-dbg_4.7.0~cvs20070713-0ubuntu1_i386.deb [06:27] libnspr4-dev_4.7.0~cvs20070713-0ubuntu1_i386.deb [06:27] nspr-trunk_4.7.0~cvs20070713-0ubuntu1.dsc [06:27] nspr-trunk_4.7.0~cvs20070713-0ubuntu1_i386.changes [06:27] nspr-trunk_4.7.0~cvs20070713-0ubuntu1.tar.gz [06:28] should I still call the debs libnspr4 ? [06:28] and what about -0d ? [06:29] i think we are backports compatible, but have new symbols/header defines [06:29] so we can keep -0d [06:29] and libnspr4 [06:29] but we have to check that [06:29] hmm [06:29] so src pkg could drop -trunk ? [06:30] i think so ... yes [06:30] but then we have a problem [06:30] ok [06:30] ? [06:31] we almost certainly cannot ship firefox with trunk nspr ... so we cannot replace stable nspr [06:32] why would it break firefox ? [06:33] s/cannot/are not allowed | don't want/ [06:34] maybe try nspr-trunk package that produces libnspr4-0d.trunk, which conflicts/replaces/provides libnspr4-0d [06:35] but ship libnspr4.so and libnspr4.so.0d (same so name) [06:35] so people that install paradiso will get libnspr4-0d replaced [06:36] but keeping main archive clean from these scary trunk things [06:36] most people installing gp also have ff2 [06:36] yes ... the idea is that it doesn't crash :) [06:36] however we cannot ship it by default nor on cd [06:36] nor in main [06:37] maybe another idea we might wanna test is to lower version of trunk, like: [06:37] libnspr4-0d~trunk [06:37] so people will get back to stable libnspr4 if they run dist-upgrade :) [06:37] no idea if apt would refuse to downgrade libnspr4 if you install -paradiso [06:37] we would need to test [06:39] what do you think? [06:40] what soname version does debian ship atm? [06:41] well, a lower version will never be used by gutsy users [06:41] he? [06:41] i mean ... the idea is that it gets pulled in when you install -paradiso [06:41] so change the name, not the version [06:42] most likely yes [06:42] libnspr-trunk-0d providing libnspr4-0d [06:42] but it's not really trunk either [06:42] i think nspr is a tag on HEAD [06:42] so trunk it is somehow [06:43] nss is from a branch [06:43] i am not sure atm [06:43] will let you know when i return [06:43] maybe start with xulrunner [06:43] this is a taggued version = frozen so it's not head [06:43] and don't use system-nss/nspr [06:43] Ubulette: yes ... but its tagged on trunk :) === Starting logfile irclogs/ubuntu-mozillateam.log === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #ubuntu-mozillateam === Topic for #ubuntu-mozillateam: Home of Ubuntu Mozilla Team - https://wiki.ubuntu.com/MozillaTeam | Bug Triagers please read: https://wiki.ubuntu.com/MozillaTeam/Bugs/ | Firefox trunk package source : https://code.launchpad.net/~mozillateam/firefox/trunk | Mailing List: ubuntu-mozillateam@lists.ubuntu.com | Next Meeting, Monday August 20th at 20 UTC in #ubuntu-meeting === Topic (#ubuntu-mozillateam): set by Admiral_Chicago at Wed Aug 15 18:48:45 2007 [08:26] (Jazzva/#ubuntu-mozillateam) asac: Online now :/... I got carried away with short, afternoon sleep that turned out to be not so short... [08:27] (Jazzva/#ubuntu-mozillateam) I'll try to fix the strings and "get ubuntu addons" tonight... [09:01] asac: The string is now fetched correctly... And the mistake was too obvious. [09:02] Off to hiding "Get Ubuntu addons" === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-mozillateam === red_herring [n=rj@c-24-14-245-251.hsd1.il.comcast.net] has joined #ubuntu-mozillateam [10:43] Off for a while, be back in 50-60 minutes... [10:43] asac: O [10:44] Oops... asac, I'll need to ask you few things about XUL when I come back. I have an idea how to hide the label, but I'm not sure which approach to use. === Admiral_Chicago [n=FreddyM@st074039212101.monm.edu] has joined #ubuntu-mozillateam [11:30] Jazzva: here i am [11:30] Yay :)... [11:31] So, here's the thing... [11:31] k [11:31] go ahead ... i will be here in 2 minutes ... got to smoke [11:32] The event listener only catches load event, which doesn't occur on tab change... [11:32] For example, it will occur when Add-ons dialog opens, but it won't when you switch from Extensions to Themes... [11:34] Now, I could try to hide getUbuntuAddons label either when getMore lable has "hidden" set to "true" (that's the one that shows "Get extensions"), or when extensions-vies has "selected" set to "false"... [11:34] And I thought of two approaches to implement this: [11:35] The first would be through event listener, but to add some other event that will include the tab switching [11:35] The second would be by using observers... Something like: [11:35] In ubuntuAddonsOverlay.xul: [11:35] [11:36] ok [11:36] Sorry... [11:36] let me read ;) [11:36] he? why sorry? [11:36] [11:36] That's why :) [11:37] ah :) [11:37] welll i must admit that observers are something more or less new to me [11:37] if they work it might be cool [11:37] I think that would only react when "hidden" changes state and will set the state of getUbuntuAddons label to be the same... [11:37] otherwise i would just use a dom mutation even listener [11:37] http://developer.mozilla.org/en/docs/XUL:Events#Mutation_DOM_events [11:37] And I hope it will also check for gnome-app-install presence... [11:38] Jazzva: what element to you want to listen on? [11:38] did you already find the right one? [11:38] e.g. which element do you want to observe the hidden attribute on? [11:39] on "Get extensions" label [11:39] that is element with id="getMore" [11:39] ah [11:40] so that gets hidden? [11:40] Well, I suppose... [11:40] ;) [11:40] try to find it with dom inspector [11:40] when you have themes or something selected [11:40] Since the bottomStatusBar (or whatever is it's name :)) contains all the labels [11:40] if its still in the xul but hidden then its probably the right way to go [11:40] yeah [11:40] if all is in there, but just hidden then go for it [11:41] either by listening for dom attribute changes (and filtering those for "hidden") ... or by observer [11:41] I tried to check it with DOM inspector, but I couldn't get it to show attributes in real time, for example, all of them had hidden="false"... [11:41] maybe try both and let me know about the observer mechanism [11:41] Jazzva: you might need to close and open dom inspector again [11:41] Oh... ok :) [11:42] maybe you can even say reload in menu? [11:42] now smoke [11:42] Hmm, but I loaded the Add-ons window in DOM inspector... [11:42] Same here :)... brb [11:46] back [11:46] Jazzva: do you have a local firefox build (with source tree) on your system? [11:46] it often helps a lot to look into the code [11:46] ported and tested java fix on granparadiso, all fine [11:46] Ubulette: cool [11:48] Ubulette: did someone take a look at your totem patch already? [11:48] and forward upstream? [11:50] Hello Ubulette... [11:50] asac, no, I don't... I thought about that... To look into extensions.xul... Ok, I'll download it now... [11:51] got no feedback whatsoever [11:51] good or bad [11:51] we maintain a git branch that tracks upstream 1.8 branch [11:51] Jazzva: ^^ [11:51] maybe branch that one [11:51] Hmm... ok [11:52] http://git.debian.org/?p=pkg-mozilla/upstream.git;a=summary [11:52] mozilla-1.8 branch is the one tracking pristine upstream 1.8 (2.0) [11:52] it contains more than just firefox, but to get the source its pretty nice ... and simpler [11:56] ? what is it for ? [12:07] What do I use to download a git repo? I installed git package, but there seems to be no git command :/ [12:08] you have /usr/bin/git [12:08] or tons of git-xxx [12:09] it's in git-core [12:10] Oh, thanks :)