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

=== asac_ is now known as asac
ftalooks like ff3 doesn't support glyph-orientation-vertical="0" in SVG :(00:27
=== asac_ is now known as asac
ftamozilla bug 31916300:47
ubottuMozilla bug 319163 in SVG "vertical writing does not work in SVG" [Normal,New] http://bugzilla.mozilla.org/show_bug.cgi?id=31916300:47
ftadamn, no fix00:48
ftanot nominated either00:48
gnomefreakJazzva: asac are either around i have a stupid question about a extension02:14
Jazzvagnomefreak, I'm here...02:15
Jazzva(sorry ... still haven't look at the firegpg. was working on this school project :))02:16
gnomefreakim looking at linkwidgets02:16
gnomefreakand i cant find just that source upstream its almost like they packaged all exteniosn in one02:17
gnomefreak see http://clav.mozdev.org/source.html02:17
gnomefreakshould i grab all re remove the one i want to new dir and start there?02:18
gnomefreakand hope it has all files needed02:18
Jazzvagnomefreak, the source is there...02:19
Jazzvahttp://www.mozdev.org/source/browse/clav/source/linkwidget/02:20
Jazzvai can't understand your question :)...02:20
gnomefreakwhen i tried to grab it it grabed all of thier extensions02:20
gnomefreakfrom this link how do i use cvs?02:20
Jazzvagnomefreak, dunno...02:23
Jazzvatry following the instructions provided there02:23
Jazzvacvs -d :pserver:guest@mozdev.org:/cvs login02:23
Jazzvacvs -d :pserver:guest@mozdev.org:/cvs co clav02:24
Jazzvathe second one might checkout all extensions02:24
Jazzvai haven't used cvs much, but maybe something like this might work (based on intuition)02:24
Jazzvacvs -d :pserver:guest@mozdev.org:/cvs co clav/source/linkwidget02:24
gnomefreakok will try and yes second one does give all of them02:30
gnomefreakJazzva: loosk like it worked02:32
gnomefreakJazzva: thanks again ;)02:32
Jazzvagnomefreak, no problem :)02:32
gnomefreakJazzva: some think bothers me about this mainly the CVS dir.02:33
gnomefreakgnomefreak@Development:~/linkwidgets$ ls02:33
gnomefreakclav02:33
gnomefreakgnomefreak@Development:~/linkwidgets$ cd clav/02:33
gnomefreakgnomefreak@Development:~/linkwidgets/clav$ ls02:33
gnomefreakCVS  source02:33
gnomefreakgnomefreak@Development:~/linkwidgets/clav$ cd CVS/02:33
gnomefreakgnomefreak@Development:~/linkwidgets/clav/CVS$ ls02:34
gnomefreakEntries  Entries.Log  Entries.Static  Repository  Root02:34
gnomefreakgnomefreak@Development:~/linkwidgets/clav/CVS$ cd ..02:34
gnomefreakgnomefreak@Development:~/linkwidgets/clav$ cd source/02:34
gnomefreakgnomefreak@Development:~/linkwidgets/clav/source$ ls02:34
gnomefreakCVS  linkwidget02:34
Jazzvajust mv linkwidget dir... i think that's the one you need :)02:34
gnomefreaki guess i should us sources/CVS/linkwideits02:34
Jazzvaand if you find any CVS dirs inside linkwidget, delete them02:34
Jazzvasomething like02:34
Jazzva$ cd linkwidget; find . -name CVS -exec 'rm -rf {}'02:35
Jazzva(I think)02:35
Jazzvait should work02:35
gnomefreakfrom what dir?02:36
Jazzvaexecute that find from linkwidget dir02:36
gnomefreakso from ~/linkwidgits or ~/linkwidgets/clav/source/?02:37
gnomefreakim thinking top level since CVS is in top level of both dir02:38
Jazzva~/linkwidgets/clav/source/linkwidgets02:39
Jazzvasince you need only that one02:39
Jazzvathe rest are useless for packaging :)02:39
gnomefreakthats usless as well02:41
Jazzvawhy is it useless? doesn't it contain the source?02:42
gnomefreaki removed CVS all around the source including in *source/kinkwidgits02:42
gnomefreakJazzva: there isnt a copyright file02:42
Jazzvabug upstream :)02:42
gnomefreakgnomefreak@Development:~/linkwidgets/clav/source/linkwidget$ ls02:43
gnomefreakchrome.manifest  content  defaults  install.rdf  lang  makexpi  tests  theme02:43
gnomefreakthere was one i could swear02:45
Jazzvais it maybe just in xpi (though it should be in source too, if that's the case)02:45
gnomefreaki think it was in the full pull from cvs intead of using link... directly02:47
gnomefreakthat isnt so great IMHO02:47
gnomefreaki might leave this one for tomorrow or next day until i can decide what i want to do with it02:48
Jazzvaok02:49
gnomefreakmaybe ill email him in morning about how to grab just thid one extenion ewithcopy* and frieds02:50
gnomefreakflashgot looks like its windows app and they state for linux/bxd you need wine to run it. is this really one we want to work with?02:55
ftahttp://www.hixie.ch/tests/evil/acid/004/02:56
* fta applauds in anticipation02:56
gnomefreak!info foxmarks hardy02:56
ubottuPackage foxmarks does not exist in hardy02:56
gnomefreakthats 3 i cant find cvs or svn for soure nor anyother mention of source code03:04
gnomefreakmake that 403:06
gnomefreakJazzva: im heading for bed now. if you want i can tak some of yours while im waiing for replies, but i will look after i sleep03:18
Jazzvasome of mine? extensions?03:19
Jazzvagnomefreak ^03:20
crimsunfta: ok, I'll look (sorry, travelling for work lately)03:28
crimsunfta: are there binary packages built for 8.04, too?03:29
ftacrimsun, yes03:29
crimsunok03:29
ftacrimsun, and there's a test page too: http://www.double.co.nz/video_test/03:30
crimsunok, thanks03:34
ftahttp://mozillalinks.org/wp/2008/07/native-ogg-vorbis-and-theora-support-added-for-firefox-31/03:47
ftagoing to bed. cu03:47
* gnomefreak wishes they would put contact on one of their pages 04:05
gnomefreakthey said ff acid wont work correct until ff 4.004:14
gnomefreakJazzva: i know your gone and im headin to bed. can we use bugzilla as Extension developer contact i cant find a devs email address or i gues we could use bugzilla please ping me when your around i might be sleeping but ill have away up so i will dee it if my nick is used ;)04:35
Jazzvagnomefreak, you can, I suppose... I usually leave it blank if that's the case :)04:36
gnomefreaki see there are 4 devs on the pluging page but after reading FAQ it says dont bother them (psrsphrded)04:36
gnomefreakill use bugzilla i think04:37
Jazzvas/psrsphrded/paraphrased/?04:37
gnomefreakyep04:39
gnomefreakok thats fixed im going to bed. see you in morning04:48
Jazzvasee you :)04:48
Jazzvai'm off too...04:49
XioNoXhi !09:11
asachi XioNoX09:17
XioNoXready to work !09:18
XioNoXI'm just listening to the new queen song09:18
asachehe09:28
XioNoXhttp://mxr.mozilla.org/mozilla/source/browser/base/content/browser.js#587409:41
XioNoXand line 85009:41
asacXioNoX: ok. what we want something similar like the "missingPluginInstaller.prototype.newMissingPlugin"09:48
XioNoXnewMissingPlugin or installSinglePlugin ?09:49
asacXioNoX: for now "newMissingPlugin"09:49
XioNoXok09:49
asacthat is the function that accumulates a list of plugins used on a tabbrowser instance09:50
asacinstead of displaying the notification box, we want to activate the menu entry09:50
XioNoXok09:50
XioNoXa big and hard function :D09:50
asac(ad the status bar icon)09:50
asacXioNoX: well ... its almost exactly how we want it09:50
XioNoXok nice09:50
asacit gets the event (which we still need to emit)09:51
asacassociated is with the right tabbrowser tab09:51
XioNoX<![CDATA[09:52
XioNoX          event.preventDefault();09:52
XioNoX          // Fire a PluginNotFound event to trigger the infobar09:52
XioNoX          var ev = document.createEvent("Events");09:52
XioNoX          ev.initEvent("PLUGIN_DETECTED", true, true);09:52
XioNoX          this.dispatchEvent(ev);09:52
asace.g. browser.missingPlugins[...] = pluginInfo09:52
XioNoXadd something like that in the xbl ?09:52
asacXioNoX: yes. maybe use "PluginUsed"09:53
asacas ivent name09:53
XioNoXok09:53
XioNoXasac, i use the overlay.js of ubufox or I create a new one ?10:11
asacXioNoX: for what?10:11
XioNoXto put the modified version of "missingPluginInstaller.prototype.newMissingPlugin"10:12
asaci think you should do a separate one ... since the overlay will be a separate as well10:12
XioNoXok10:12
asachi bdrung10:29
bdrunghi10:30
asacbdrung: i think i uploaded your extension right?10:30
bdrungyes10:31
asacbdrung: i think next step is to normalize the .upstream branch, by using med-xpi-unpack/-pack10:31
asace.g. med-xpi-unpack my.xpi10:31
asacbdrung: or are you using upstream sources (e.g. not .xpi)?10:31
bdrungfor packaging i used the upstream source package10:32
asacbdrung: ok. does your extension have "native" components?10:32
bdrungno10:32
asace.g. .so libraries10:32
asacbdrung: how do the yrelease their source packages?10:33
asacif we can use a "watch" file, then that would be fine as well10:33
asacotherwise its often easier to directly use the .xpi, unpack that with med-xpi-unpack in the .upstream tree10:33
bdrungas tar.gz file. i have added a watch file10:33
asacas we can then do auto-syncs10:33
asacbdrung: ok cool10:34
asacbdrung: is there a way i can automatically download the latest source release?10:34
asac(e.g. based on the watch file rule)?10:34
bdrungyes, should be done with wget or something else. watches line: http://crypto.stanford.edu/PwdHash/ stanford-pwdhash-(.*)\.tar.gz10:35
bdrungcurrently http://crypto.stanford.edu/PwdHash/stanford-pwdhash-1.6.tar.gz10:35
asacbdrung: so how would i automize that?10:36
asaci want a script that automatically updates the .upstream branch10:36
asac;)10:36
asacwhen there is a new release available10:36
XioNoXasac, all extentions can be included in ubuntu or there are a particular policy ?10:36
bdrunghow does the scripts work that uses the watches file?10:37
asacXioNoX: https://wiki.ubuntu.com/MozillaTeam/Extensions/List10:37
asacXioNoX: good licenses is important requirement10:37
asacXioNoX: another requirement is "active upstream" ... and at best a "responsive upstream contact"10:37
asacbdrung: i think they use uscan10:38
XioNoXok10:38
asacXioNoX: and of course a ubuntu QA contact10:39
XioNoXok ;)10:39
asacwho takes care that we update the package regularaly, and who feels responsible in doing the bug work of that extension10:39
asacXioNoX: on that extension list page there is a table that has extensions that are ready for the archive10:40
asacthere appear to be a bunch of extensions that could be packaged ;)10:41
asacbut better check with Jazzva who has a better overview10:41
asac;)10:41
bdrungasac: so we should use uscan for detection of new version, compare this with the version in the upstream branch and if newer we should download the new package and extract it10:41
asacbdrung: not sure ;) .... if you could figure out how we can best deal with watch file driven extesions i would appreciate it10:42
XioNoXasac, It is just to know, I've never pakaged extentions, I could maybe do it after my internship10:42
asacbdrung: what we want is a script that looks at .ubuntu branch and if there is a new upstream release, updates the .upstream branch10:43
asacXioNoX: sure. nothing to hurry ;) ... packaging extensions is easy and a good starter for packaging10:43
asac(well ... can be hard, but usually the complexity should be managable)10:44
XioNoXI've already done pakaging "just for fun" few months ago10:44
asacoh10:44
asaccool10:44
asacXioNoX: how long is your internship to continue?10:45
asacone more week10:45
asac?10:45
XioNoXMy last day (for debriefing) is monday 2510:45
XioNoXso yes, 1 more week10:45
asacok cool10:46
asacnext week we should go through your work and integrate that in ubufox - eventually fixing any bugs/glitches10:46
asacso there are final things10:46
bdrungasac: in which language?10:46
XioNoXok, nice and hoping that lobbying make some progress10:47
asachopefully10:47
asacbdrung: programming language?10:48
bdrungasac: yes10:48
asacbdrung: doesnt matter ;)10:48
asacwe just need to agree on arguments for that script/program10:48
asacbdrung: which language would you prefer?10:49
bdrungasac: ok. i will try to write a script. if shell script is not powerfull enough i prefer to use python10:49
asacbdrung: thats fine10:49
asacfor now use the following contract (if possible):10:49
bdrungbecause it is easier to use python than shell10:50
asacscript <upstreambranchurl> <ubuntubranchurl>10:50
bdrungok10:51
XioNoXasac, if I do something like : alert('test1');10:53
XioNoXgBrowser.addEventListener("PluginUsed", gMissingPluginInstaller.PluginUsed, true, true);10:53
XioNoXalert('test2'); , I see the test1 but not the test210:53
asacXioNoX: any error in the error console10:53
XioNoXgMissingPluginInstaller.PluginUsed exist, it is the modified version of gMissingPluginInstaller.newMissingPlugin10:54
XioNoXnothing10:54
XioNoXcan you give me the url of the page where there are the about:confing stuff to modify to have more error log ?10:54
XioNoXjust to check10:54
asacXioNoX: instead of alert('test1') do a alert('test1 ' + gBrowser)10:54
asacif that isnt null10:55
asaccheck if gMissingPluginInstaller.PluginUsed is really defined10:55
asacXioNoX: btw, please name that gAltPluginWizard.pluginsUsed10:55
asacr something10:55
XioNoXok10:56
XioNoXtest1 [object XULElement]10:56
asacXioNoX: http://developer.mozilla.org/en/docs/Debugging_JavaScript10:57
asacjavascript.options.strict = true10:57
asac?10:57
XioNoXbut I haved to add gBrowser = document.getElementById("content"); begore10:57
asac(under Strict code checking )10:57
asacXioNoX: ok.10:57
asacXioNoX: see if  gBrowser.addEventListener is defined at all10:58
asac(with alert)10:58
XioNoXErreur : uncaught exception: [Exception... "Could not convert JavaScript argument"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame :: chrome://ubufox/content/alternatePlugins.js :: <TOP_LEVEL> :: line 7"  data: no]10:58
asacwhats at that line?10:59
XioNoXgBrowser.addEventListener("PluginUsed", gMissingPluginInstaller.PluginUsed, true, true); :)10:59
asacXioNoX: i am sure that gMissingPluginInstaller.PluginUsed is wrong there10:59
XioNoXI get : function addEventListener() {11:00
XioNoX    [native code]11:00
XioNoX} with alert(gBrowser.addEventListener)11:00
XioNoXOk i'll check that11:00
asacok11:00
asacjust check that you pass the right arguments to the addEventListener function11:00
asacshould work11:00
XioNoXasac, I4ve try to recode the related function like on the browser.js but I still get the same error :(11:18
XioNoXsee  http://pastebin.mozilla.org/51347011:18
asacXioNoX: why is line 5 after line 3?11:28
asacis that correct?11:28
asacand you have: gAltPluginWizard.pluginsUsed11:28
asacvs.11:28
asacaltPluginWizard.prototype.PluginUsed11:28
asacwhich cant be right11:29
XioNoXright, but I have te same error if I switch them11:29
asactest if gAltPluginWizard.pluginsUsed is defined11:31
asacmost likely thats the problem11:31
XioNoXif I do that, i see test 4 :11:32
XioNoXgBrowser.addEventListener("PluginUsed", test(), true, true);11:32
XioNoXfunction test(){11:32
XioNoX11:32
XioNoXalert('test4');11:32
XioNoX11:32
XioNoX}11:32
XioNoXbut I don't understand how works altPluginWizard.prototype.PluginUsed = function(aEvent)11:33
asacXioNoX: well... test() will call the alert even before you get the event11:39
asacjust "test" would be the equivalent11:39
asacso is gAltPluginWizard.pluginsUsed defined?11:40
asactest that with an alert11:40
XioNoXundefined11:41
XioNoXso how does i defined this kind of element ?11:42
asacthe prototype thing is the right approach from what i can tell11:53
XioNoXI go to eat ;)11:59
XioNoXback13:06
asacXioNoX: any progress?13:21
XioNoXI don't understant how works the .prototype. thing :(13:23
asacXioNoX: please paste your current diff against ubufox.main13:30
XioNoXhttp://pastebin.mozilla.org/51353013:33
XioNoXI don't know if it is exaclty what you can13:33
asacXioNoX: the new .js file is not in the diff13:47
asacyou have to bzr add filepath13:47
asacin order to make it appear in bzr diff13:47
XioNoXhere : http://pastebin.mozilla.org/51353213:48
XioNoXasac13:49
asacyep13:49
asacXioNoX: the name is still differnt13:49
XioNoX?13:50
XioNoXok13:51
XioNoXfix13:51
XioNoXed13:51
asacXioNoX: the altpluginsoverlay xml is not in diff either13:53
asacxul13:53
asacXioNoX: give me an updated patch with the latest please ;)13:54
XioNoXsorry :)13:54
asacXioNoX: let me know when you have a fixed diff ;)13:57
XioNoXhttp://pastebin.mozilla.org/51353713:58
ftahttp://maps.google.com/help/maps/2008summergames/14:10
asacstill unsure how we managed to get 4 ;)14:12
ftaeheh14:13
XioNoXasac,it is working14:13
asacXioNoX: there still is not the overlay xul file in it14:13
asacXioNoX: please look at what you post before you post ;)14:13
asacXioNoX: good. at least that14:13
asacXioNoX: try to remove all those .css things14:13
asacah you did14:14
asacgood14:14
XioNoXok14:14
asacwell ... commit and push up14:14
asac;)14:14
XioNoXMaybe It is too fast, when I say it is working, i mean I have no more error message14:15
XioNoXbut I still don't see test3, even on flash page14:15
XioNoXI thinks it is because the event is loaded (by the contructor thing) only once14:16
asacis it pushed?14:18
asacXioNoX: ?14:19
XioNoXthe diff : http://pastebin.mozilla.org/51355214:19
XioNoXwith everything :D14:19
asacyay ;)14:20
XioNoXPushed up to revision 9714:22
XioNoXhttps://code.launchpad.net/~xionox/ubufox/ubufox.altplugins14:22
asacevent.preventDefault();14:33
asacthat most likely fails14:33
asacXioNoX: if you remove that line it works for me14:34
XioNoXcool14:36
XioNoXI have 4 test3 but it is cool14:36
asacXioNoX: well. there are multiple flash files on that page maybe?14:37
XioNoX214:38
asacso twice ;)14:38
XioNoXyep14:39
XioNoXSo now when we go on e page who have flash content, it show the statusbar idem & menu item14:40
asacyes14:41
XioNoXbut how do I do to remove it if there are no flash content ?14:41
asacXioNoX: first question is: where to store the used mime-types14:45
asacthat should be done per-tab14:45
asacif we can access that we would monitor for change in active tab14:45
asacand flip the menu state accordingly14:45
XioNoX-back15:11
XioNoX-sorry, conexion problem15:11
asacu15:19
=== XioNoX- is now known as XioNoX
XioNoXasac, how do you manage by tab things ?16:01
asacXioNoX: look at tabbrowser.xml16:09
asacthere is mCurrentBrowser for instance16:09
asacyou can listen for changes to that field16:10
XioNoXif this field change we run the event thing ?16:11
XioNoXto find flash16:11
XioNoX?16:11
asacXioNoX: no if this field changes, we look if there are any "usedplugins" stored16:12
asacusedplugins is a field where we add the plugins identified by those events16:12
asacwhat you want to do during event is to add the "usedplugins" to a field of the mCurrentBrowser (however get that)16:13
asacwhen mCurrentBrowser changes you look if there are any usedplugins for that browser16:14
asacand if so, display the menu/icon16:14
asacotherwise hide it16:14
XioNoXokay!16:14
XioNoXall of this is into the altPluginWizard.prototype.PluginUsed = function(aEvent){ ?16:14
XioNoXand is run each time the event thing do something ?16:15
asacXioNoX: in that function you want to find the currentbrowser and add the plugin to a array16:15
asacor something16:15
asacthe menu itself listens for changes to currentbrowser and does the hide/show logic16:15
VolansHi asac :) I have a couple of general questions, if you are not busy ;)16:19
Volans1) have you planned to use the new launchpadlib for the automatic management of the extensions?16:23
Volans2) whit this new automatic system what will be the version number policy for the extensions? (in particular for backports)16:23
asacVolans: launchpadlib ... not sure. what benefit does it give us?16:28
asacanyway ... i am off to sport now ... will be back in 2-3 h16:28
asac(sorry)16:28
Volansok, we can speak after, no problem16:28
=== Moot2 is now known as MootBot
asacback19:22
bfillerasac: having more fun with branding and langpacks. The issue is my branding changes only have en-US locale so branding changes not picked up in different langs..19:55
asacbfiller: why do your branding changes only have en-US locale?19:56
bfillerasac: was an oversight, I'm trying to add other locales to the branding subdir but they are not getting created19:56
asacbfiller: how are you trying to do that?19:57
asacbfiller: what you need to do is to modify the .manifest19:59
asacand add all the locales you want there19:59
asac(given that the branding should be identical for every locale)19:59
bfillerasac: one sec20:00
bfillerasac: which .manifest do I modify? in mozilla/browser/branding/locales there is currently an en-US dir, so I added other local dirs at that level20:04
bfillerasac: s/local/locale20:04
asacbfiller: hmm20:05
asacbfiller: lets try something different ;)20:05
bfillerasac: I think the bigger problem is the mozilla-langpack packages install a language extension that has it's own branding20:05
asacbfiller: locales/jar.mn20:05
asactry to duplicate the %locale line ... and replace @AB_CD@ with whatever locale you want to support20:06
asaci hope that this will create the proper .manifest lines20:06
asacthat map the branding for the named locale to en-US brnading20:06
bfillerasac: ok, I'll try that20:06
asac% locale branding @AB_CD@ %locale/branding/20:07
asac% locale branding fi %locale/branding/20:07
asacbfiller: ^^20:07
asacif you want to support fi20:07
asackeep the AB_CD thing as that will be en-US in the end20:07
asaci hope that just works (TM)20:07
bfillerasac: do you think these jars will take precedence to the ones that get installed by mozilla-langpack xpis?20:07
asacbfiller:  good point20:10
asacbfiller: let me think ;)20:10
asacbfiller: do you have a install that exposes this behaviour?20:10
asacso we can hack around directly in the .manifest?20:10
bfillerasac: don't have an install yet, but I think a way to test..20:11
asacok. my idea is to add override entries to .manifest20:12
asaclike:20:12
asacoverride chrome://branding/locale/brand.dtd chrome/mybranding/locale/brand.dtd20:12
asacerr20:12
asacoverride chrome://branding/locale/brand.dtd chrome://mybranding/locale/brand.dtd20:12
asachopefully that will redirect the chrome resolver to the chrome://mybranding/locale/brand.dtd20:13
asacso you can just ship your branding for all locales you support and for the rest it hopefully auto falls back20:13
asacto the "mybranding" en-US one20:13
bfillerasac: I will try both of these approaches, thanks for the help20:15
asaccp20:15
asacnp20:15
asac;)20:15
ftafirefox: pcm_pulse.c:275: pulse_write: Assertion `pcm->last_size >= (size * pcm->frame_size)' failed.22:03
ftaAbort (core dumped)22:03
ftacrimsun, ^^ it still happens22:03
ftacrimsun, i mean, with mplayer using ao=alsa22:04
XioNoXgood night ;)22:46
ftamozilla Bug 40460923:59
ubottuMozilla bug 404609 in Installer "Update Thunderbird installer with changes made to the Firefox installer" [Normal,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=40460923:59

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