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

asacfta: tbird is now officially not xul ready for 3.0 :(00:02
asacwell ... guess no real news ;)00:02
ftaI told you so already, didn't I00:03
[reed]not enough time00:03
ftai'd say not enough motivation00:03
ftathere's been a bug for that for years00:03
asacmailnews appears to be a huge-pile-of-pita ;)00:04
asac(in regards of properly xulifying)00:04
asacbut agreed, its a priority thing of course00:05
asacbut tbird has to do a bunch of new features which are even hard enough to do in a reasonable amonut of time00:05
asacso we probably have to accept that kind of compromise00:05
asacfta: have you subscribed to the xul list on mozdev?00:06
asaci think you were on CC list as well ;)00:06
ftanot yet00:06
asacxulcentral00:06
asac:)00:06
ftayep00:06
ftamozilla Bug 44922800:06
ubottuMozilla bug 449228 in Composer "SVG authoring" [Normal,Unconfirmed] http://bugzilla.mozilla.org/show_bug.cgi?id=44922800:06
asacKeywords: ... helpwanted00:07
asac;)00:07
asacprobably a heavy weight task00:07
ftabut it's Product: SeaMonkey00:08
asacyep00:08
asacmost likely it could deserve a standalone produce ;)00:08
asacproduct00:09
asacfta: what features were missing before you would try NM again?00:09
fta?00:11
asacfta: you dont use NM right00:12
asacwhat features were missing that made you abandon NM?00:13
ftaon my desktops, i don't. no need, it's all static00:13
ftaon my laptop, i'm using it00:13
asacfta: ok. you can also do static setups now in NM 0.700:13
asacin case you care ;)00:14
ftait was possible before too, but caused me too many problems, included having all my MX blacklisted, hence i've lost a lot of emails00:14
asacis your lapptop on intrepid?00:14
ftayes00:15
asacfta: in 0.6 no static ips were supported iirc00:15
asaconly dhcp00:15
fta? i've used static with nm since edgy00:15
asacstatic what?00:15
asacstatic IPs?00:16
ftayes00:16
asacthat doesnt work00:16
asacyou probably used network-admin to configure it00:16
asacand then network manager didnt manage anymore00:16
ftai don't want anything using /etc/network/if-down.d/sendmail00:17
asacfta: why isnt it used in your current setup?00:17
asacarent you using ifupdown?00:17
asac(which would call that on ifdown)00:17
asachmmm btw, i expect a reconnect to happen any minute :-D00:18
asachmm 11minutes left ;)00:18
ftabug 9945900:19
ubottuLaunchpad bug 99459 in sendmail "[feisty] sendmail unable to automatically determine domain name" [Undecided,Confirmed] https://launchpad.net/bugs/9945900:19
asacright ... by why isnt that script run in your current setup?00:20
ftabecause i no longer run anything to manage my network. it's statically configured and i'm happy like that00:21
ftadebian bug 37578700:21
ubottuDebian bug 375787 in sendmail-base "sendmail-base: bad dialup.m4" [Important,Closed] http://bugs.debian.org/37578700:21
Jazzvahmm... anyone up who could help me with a client/server related, programming problem? (and sorry for offtopic :))00:45
=== asac_ is now known as asac
ftadepends00:46
ftashout00:46
ftaoo00:46
JazzvaI need help with unique identification system... client connects to a server, then sends a job to the server, and it can disconnect after00:47
Jazzvahe can connect later, and ask for the results...00:47
JazzvaSo, I'm not really able to use client's host:port, since it's port is mostly random00:47
JazzvaSo, I came up with two solutions00:48
Jazzva1.) get ID from server, and give it to the user, so he can use it later00:48
ftayep, that's a cookie00:48
Jazzva2.) trust client and let him provide some sort of unique username00:48
Jazzvaa simple cookie :)00:49
Jazzvahmm... actually, i haven't thought of keeping if in a file, so I can get it when client connects later00:49
Jazzvas/if/it/00:49
ftaeither the server passes a cookie to the client so it could come back, or you need a auth mechanism.00:49
JazzvaI thought of letting user type his id if he knows it...00:50
Jazzvahmm, I'll think I'll go for cookies00:50
Jazzva...and now I'm hungry. off to get some icecream, too :)00:50
Jazzvathanks, fta :)00:50
ftacookie is easier, if you have permanent storage00:50
fta(or if it's still in memory)00:50
JazzvaI think I can use it. the project spec doesn't mention it, so I can use whatever I like in that case :)00:51
asacJazzva: you could also use "client-certs"01:28
asacJazzva: or simple http auth01:28
asac(if you dont want to use session cookies ... which makes sense if your service is stateless)01:29
Jazzvaasac: well, it has certain states01:29
asacwhat kind of?01:29
Jazzvaserver keeps track of jobs on workstations and their statuses...01:30
Jazzvaand status of the workstations...01:30
Jazzvabut I think I don't need that kind of info in a cookie01:30
asacJazzva: imo, the server keeps that state indpendent from a session cookie01:31
Jazzvaasac, huh? :)01:31
ftait has to. cookies usually expire, and should be re-newable01:31
Jazzvafta, these won't... unless the user decides to delete them :)01:31
asacJazzva: without knowing any details i might be wrong, but from what i understand01:32
ftaasac, http://blog.vlad1.com/2008/07/30/no-browser-left-behind/ is guess that's what you referred to yesterday01:32
asacyou are looking for a auth mechanism to post jobs01:32
asacand to query server state01:32
asacthe server itself does all the job management01:32
Jazzvayep...01:32
asacwhich isnt related to the client server communication at all01:32
asace.g. why would a server stop processing a job when the client isnt connected?01:32
asacfta: yes01:33
Jazzvaserver shouldn't stop processing the job. (well, workstations, which are behind the server, but that's another part of the project :))01:33
Jazzvaclient will connect back, and it will ask the server for the results. the server will send them to the client, if they're ready01:34
asacright01:34
Jazzvai thought that cookie should be simple enough01:34
asacfor what?01:34
Jazzvaserver would keep track of next avail ID01:34
asacjobid?01:34
Jazzvaclient ID01:35
Jazzva(I need to know the jobs that one client sent)01:35
asacok01:35
Jazzvaso I need to keep track of the clients, and provide a unique IDs for all of them01:35
asacbut client ID is not the same as session cookie01:35
asacand you dont need authetntication?01:36
Jazzvanope01:36
Jazzvaso it will be something like cookie - client gets his unique ID and uses it later to get job results. after that, it can reconnect and get some other ID if it wants to01:36
asacand client doesnt know about any ID in the beginning?01:36
asacyou can use cookies ... sure ;)01:37
Jazzvanope... client will get his id from the server, and then will use it when it tries to connect again01:37
Jazzvayay for cookies :)01:37
Jazzvathanks :)01:37
asacyeah. ersistent cookies is right then01:37
asac... but that constraints you to HTTP01:38
asacwhich shouldnt be a big problem i guess01:38
Jazzvacan't I make some sort of my cookie (which will keep an integer as ID :))?01:39
asacfta: yes. canvas was the example they mentioned for that01:39
Jazzvaand then just read that int from a file and send it to the server01:40
asacJazzva: you could use uuidgen ;)01:40
asacwhich hopefully will be unique01:40
asacbut without client/server negotiation you usually cannot be 100% sure that something is unique01:41
asacbut then, without authentication it doesnt really matter ;)01:41
asacanyone can snoop and steal your id ;)01:41
Jazzvaright... but I don't think that's the problem in this project :)01:41
asacJazzva: what is the problem?01:41
Jazzvamake a client/server/workstation programs, client sends a job, server does the job mgmt, workstation gets the job, returns the results to the server, which are returned to the client01:42
ftajust generate a hash on the server, md5, sha1 or hmac, that kind of thing. collisions are highly improbable, especially for a school project ;)01:43
Jazzvaso, it's mostly concentrated on a synchronization between all threads, and distribution of work01:43
asacfta: if he generates a hash on the server, he can also just use a integer ;)01:43
asacJazzva: i'd give all participants a client certificate ;)01:44
fta:)01:44
asacwhich can then be used to do everything01:44
Jazzvaasac, will google up, as I'm not sure what exactly do you mean :)01:44
asacJazzva: will the workstation be a server itself or will it poll for jobs01:46
Jazzvapoll for jobs... the server will send it to the one of the workstations01:46
asacok01:49
asacif its server centric, then use the "acquire id from server approach"01:50
asacotherwise generate a unique id on client01:50
asacwhich would make this more peer-to-peer like01:50
asaci think client certs are overkill for something like that01:51
asacanyway ... i am off ;)01:51
asactime to sleep for me01:51
asacnight!01:51
Jazzvanight, asac01:51
Jazzvathanks for the help ;)01:51
gnomefreakasac: Jazzva are we still packaging chatzilla since now there is another extension?07:37
gnomefreakfta: i thought you had said you were dropping tbird-3.0 and ff-4.0 from your list of packages, atleast that is what you said a month or so ago (before your vacation)08:02
XioNoXhi !09:04
=== jt1 is now known as jtv
gnomefreak!rar09:47
ubotturar is a non-free archive format created by Rarsoft. For instructions on accessing .rar files through the Archive Manager view https://help.ubuntu.com/community/FileCompression. There is a free (as in speech) unrar utility as well, see !info unrar-free09:47
asachi XioNoX10:05
XioNoXhi asac ;)10:08
XioNoXstill trying to detect the tab switch with mCurrentBrowser....10:09
XioNoX:D10:09
XioNoXasac, i can do a alert(gBrowser.mCurrentBrowser);10:13
XioNoXand i get a [object XULElement]10:13
XioNoXbut I don't know what fields there are in it10:13
asacXioNoX: i found a good resource ;)10:20
XioNoXcool10:20
asachttp://developer.mozilla.org/en/docs/Code_snippets:Tabbed_browser10:21
asacdoes that help?10:21
XioNoXI've to read it first :)10:21
XioNoXDetecting tab selection is the interesting part I think10:22
asacXioNoX: yes. http://developer.mozilla.org/en/docs/Code_snippets is nice as well10:23
asacXioNoX: just read aroujnd10:23
asac;)10:23
XioNoXthis is a cool thing10:24
asacXioNoX: i think that gBrowser.selectedTab.myUsedPlugins could be used10:25
asacto store the plugins used on that tab10:25
asacwell10:25
asacyou get the point10:25
asacof course not only for selectedTab10:26
XioNoXI don't understand exactly how the full thing should work10:27
XioNoXWhen we have 2 tabs with flash content10:29
XioNoXdoes it work like we have 2 firefox windows ?10:29
XioNoXAnd when we switch tabs, the js should detect it, and run a function to know what is the mimetype of the content ?10:31
XioNoXand by the way show the statusbar icon ?10:32
XioNoXor when the tab is load for the first time, save all mimetypes present on the page in a global array (with all tabs content) with the tab ID, and when we switch tab, the function Detecting tab selection select the good content modify the statusbar icon to pass the good mimetype to the opening window ?10:36
XioNoXasac ?10:36
asacXioNoX: no ... whenever a page loads we get events from our xbl10:45
asacso we remember which tab has which plugins10:45
asac.... the only thing we do while switching tabs is to check whether our memory for that tab has a plugin at all10:46
asacif it doesnt we disable the menu et al10:46
XioNoXok10:46
asacXioNoX: i think you ment something similar10:46
asacin your last sentence10:46
XioNoXso it is what i've write last ?10:46
XioNoXok10:46
asaci think so10:46
XioNoXgood10:46
XioNoXdoes the tabs have a unique ID ?11:00
XioNoXif yes, how can I get it ?11:00
XioNoXI find nothing in code snippets11:00
asacXioNoX: why do you need a unique ID?11:04
XioNoXto store the tab id with the mimetype11:06
XioNoXbut maybe it is useless11:07
asacXioNoX: try to attach it to the tab directly11:07
asac(not really sure if that works)11:08
asaclike:11:08
asacvar tab = ....11:08
asactab.usedMimeTypes = ....11:08
XioNoXif we run  Detecting tab selection and then getPluginInfo(aEvent.target);, it will get the plugin info of the curent tab or not ?11:08
XioNoXbut what "tab" refer to ?11:09
asacdepends of what getPluginInfo does11:09
asacXioNoX: you probably get the tab through target11:09
asacthe other way is to:11:09
asacvar mytab = gBrowser.selectedTab11:09
XioNoXand attach an array on it ?11:11
XioNoXlike var mytab.mymetype[] = ........ ?11:11
asacmytab.myArray =11:11
asacyes something like that11:11
asacbut maybe attach PluginInfo11:12
asacthugh for now it doesnt matter ;)11:12
asacjust try11:12
asachow far you get11:12
XioNoXho! by the way, tomorrow is a off day11:13
XioNoXin france11:13
asaclucky you11:15
XioNoXhéhé :)11:16
XioNoXvar gBrowser.selectedTab.mimeType = mimeType;11:23
XioNoX        alert(gBrowser.selectedTab.mimeType);11:23
XioNoXdon't work11:23
XioNoXbut alert(mimeType); work11:23
asacXioNoX: why would alert("" + mimeType"); work?11:31
asacah11:31
asachmm11:31
XioNoXalert(mimeType); return the mimetype11:31
asacXioNoX: ok so maybe we have to manage them on our own11:31
XioNoXor all the mimetypes present on the page beacause it is in a loop11:32
asacXioNoX: you can use selectedTab as the "key" in a map11:32
XioNoXok11:32
asacbut take care that we have to listen for "tabs getting closed"11:32
XioNoXa kind of tab id ?11:32
asacand remove it from the map11:32
XioNoXI know11:32
asacXioNoX: yes. the object is a good enough tab id11:32
asacit should be unique throughout the lifetime11:32
asacof the tab11:32
XioNoXbut maybe calling  getPluginInfo when tab switch could work11:33
asacXioNoX: i dont understand where getPluginInfo comes from?11:35
asacwhat does it do?11:35
XioNoXbrowser.js11:35
asacand what does it do?11:35
XioNoXultimage function who retun the mimetype :D11:35
XioNoXnobody know11:36
XioNoXI is Magic I think11:36
XioNoXasac, see here : http://pastebin.mozilla.org/51381011:36
asacXioNoX: for that you need to find the plugin element first ;)11:38
asacXioNoX: i dont want to search the full dom tree for plugin elements everytime you select a tab11:39
asacespecially since we could remember which plugins are on which tab11:39
XioNoXI call it with getPluginInfo(aEvent.target);11:39
XioNoXso maybe the aEvent of the tab change will be enough for him ?11:40
asacXioNoX: sorry. in what context are you?11:41
asacXioNoX: what do you want to call getPluginInfo when tab switch? what purpose?11:42
XioNoXto get mimetype of plugin in the curent page :)11:43
XioNoXif it work it will be easier than managing a king of database11:45
XioNoXbut it is heavier for the browser11:46
XioNoXi think11:46
asacXioNoX: imo its a performance issue11:49
XioNoXok11:50
XioNoXso let's go for the array11:52
XioNoXbut first, I need to eat !11:52
XioNoXc u11:52
=== `6og is now known as Kamping_Kaiser
XioNoXback!12:35
XioNoXasac, what do you think of gBrowser.currentTab.setAttribute("myextension-myattribute", "xyz"); ?13:53
XioNoXcan we give him an array ?13:53
XioNoXand what happend if we open a new tab who have flash in the background ?14:04
asacXioNoX: you cannot use attribute for other things than strings afaict14:23
asacXioNoX: what you can do is implement a xbl destructor14:28
asacand unregister it there14:29
asacif there is no entry left you could remove the key (tab) from the browser as well14:29
asacmakes sense?14:30
XioNoXpeople on xulfr14:33
XioNoXsayd that we can do ton_onglet.mon_tableau = ...14:34
XioNoXwith var ton_onglet = gBrowser.selectedTab; ?14:35
asacXioNoX: i thought you tried that14:35
asac(that was the initial idea)14:35
XioNoXI thought too14:35
asac12:23 < XioNoX> var gBrowser.selectedTab.mimeType = mimeType;14:36
asac12:23 < XioNoX>         alert(gBrowser.selectedTab.mimeType);14:36
XioNoXyes14:36
XioNoXexactly14:36
asacXioNoX: maybe try again ... but since tabbrowser is a xbl object and not a "normal" javascript thing, it might indeed not ork14:36
asacXioNoX:14:36
XioNoXpaul> XioNoX: tu peux attacher un objet JS à ton noeud DOM.14:37
XioNoXpaul> XioNoX: you can attach an object JS to your DOM node14:37
asacXioNoX: i didnt look closely14:39
asacthe first line of the two is bogus14:39
asacfind out on your own14:39
asac;)14:40
asacits syntactically non-sense14:40
XioNoX?14:41
asaclook closer14:41
XioNoXeven :         var activeTab.mimeContent = "test" ;14:42
XioNoX        14:42
XioNoX        alert('foo');14:42
XioNoXdon't work14:42
asacyes14:42
asacthats normal14:42
asacits not javascript14:42
asacthe fifrst line is wrong14:42
asaci dont know why you think its right ;)14:42
bfillerasac: still having problems with the localization. Tried solution 1, added additional "locale branding" lines to the en-US.manifest but this did not redirect the branding after the langpack-xx-xx@firefox-3.0.ubuntu.com extension gets installed. Seems the extension always wins. As for the 2nd solution you proposed, I wasn't sure which manifiest file to modify. en-US.manifest?14:42
XioNoXI don't know14:42
XioNoXwhat is not javascript ?14:43
asacyou will figure14:43
asaclook around in the code14:43
asacthere are other places where something similar is achieved14:43
asacwhy do you think you need a "var" ?14:43
XioNoXI've removed it before you sayd it :)14:44
XioNoXand it work14:44
asacvar is for local variabled14:44
asacmakes no sense to use it there14:44
XioNoXi get it14:44
asacgood ... then go back to the initial idea14:44
asacjust add a new field like that with mime-type to store the array14:44
asacXioNoX: if you can access the getPluginInfo thing you could also get the plugin info for your element and store that ... but for now lets only use the mime-type to get things going14:45
XioNoXok14:46
Jazzvafta, teatime should bbe fixed now in Debian...14:47
asacJazzva: nice14:51
asacin testing?14:51
asacif not ask for a freeze exception14:51
asacin debian-release14:51
Jazzvaasac, not sure... let me re-read the mail :)14:51
Jazzva(i just got up, after 10.5 hours of sleep. that's bad)14:52
asacJazzva: if it just entered sid14:53
asacwaait a few more days and get confirms that the RC bug was fixed14:53
asacthen ask for exception to enter testing14:53
asacaka lenny14:53
asaccrimsun: the problem with your alsa-lib branch is that it would break kde (that dont have pulse)14:54
asaccrimsun: is there a way to configure a fallbacdk14:54
asace.g. if pulse is not detected fallback to whatever was used by fdefault14:55
bfillerasac: I know a brute force way of fixing but it's ugly: modifying the language-pack-xx (as that contains the ff lang extension) and insert the correct branding14:55
bfillerasac: much rather figure out how to override the langpack extension branding files if possible though14:56
asacbfiller: try the second solution14:58
asacit doesnt matter which manifest you modify14:58
asacany should be ok14:58
asac( as long as its read by xulrunner/firefox)14:58
bfillerasac: so browser.manifest or classic.manifest would be ok14:59
asacthe override should always win14:59
asaci just havent used it for locales14:59
asacyes15:00
asacfor testing thats ok15:00
asaclater we can figure where to put that15:00
bfillerasac: ok, you said to add the following: override chrome://branding/locale/brand.dtd chrome://mybranding/locale/brand.dtd. Where do I put the "mybranding", in the associated .jar file?15:00
Jazzvaasac, it's still not built in any.15:00
asacbfiller: use chrome://ubufox/locale/brnad.dtd15:01
asacfor now15:01
asacyou can put the override in ubufox chrome.manifest15:02
asacifrst test if you can open chrome://ubufox/locale/brnad.dtd15:02
asacthen add the override and see if15:02
bfillerasac: I'll give it a try thanks15:02
asacchrome://branding/locale/brand.dtd opens the same file15:03
asacif thats the cas then chances are high that it works ;)15:03
bfillerasac: trying it now, I'll let you know15:04
ftahi15:16
asachi fta15:16
Jazzvahey fta15:16
ftaJazzva, is that 2.8.0-5 ?15:17
Jazzvafta, yes15:17
ftacool, rebuilding it..15:17
asacJazzva: when it built properly we might try to sync it to ubuntu15:17
asac(i assume that its not in ubuntu yet)15:17
Jazzvaasac, I wondered if it's too late to be synced15:17
Jazzvano, it's not in. I thought it could be just synced15:17
asacJazzva: well. i think its a different thing wheteher a package is just synched15:17
asacor whether the package is maintained by a ubuntu contributor15:18
Jazzvawell, this should be just synced15:18
Jazzvait's not maintained by an ubuntu contributor15:18
asacnot?15:18
asachmm15:18
asacis it in the archive atm?15:18
JazzvaIan Wel... I forgot the surname15:18
asacif its broken in ubuntu and a synch would cure that, we can certainly sync it15:18
Jazzvagood :)15:19
asacJazzva: just file a bug against teatime about the bug that makes it unusable15:19
asacthen present the sync a solution15:19
Jazzvamhm... ok :)15:19
asacand ask hobbsee (i think she still does universe synchs)15:19
JazzvaI'll wait for it to get built in debian15:19
asacsure15:19
ftatesting it...15:20
Jazzvawell, I'm off to redesigning GUI for client and server for my project. now to actually send a job :), instead of test message :)15:20
asachehe15:20
asaci dont think the syn needs to happen to day15:21
asactake your time15:21
Jazzvaasac, it's not a time-consuming thing, so I'll check periodically :)15:21
ftayeah, fixed15:21
Jazzvathanks for testing :)15:22
Jazzvafta, I'll ask you to report that in a bug report, once I open it... I think that would be good :)15:22
asacJazzva: hehe15:22
asacJazzva: you can subscribe to package tracking system15:23
asacthen you would get mails on build failure15:23
asac(iirc)15:23
ftaJazzva, it was not a big deal to test: http://paste.ubuntu.com/37434/15:23
ftaer, http://paste.ubuntu.com/37435/15:24
asacfta has scripts for everything ;)15:24
asacwhich is quite efficient ;)15:24
asaci am always too lazy and everytime i have to do something twice loose time ;)15:25
asacmy problem is not to write scripts ... i usually just forget that i have a script for something though :)15:25
Jazzvaheh :)15:26
asacthus i gave up to do scripting for things that take 6 commands15:27
asacor less15:27
ftait's because i track a couple of pkgs from debian and i'm far to lazy to beg for syncs15:27
asacyep15:27
asacyou have a use-case15:27
asacand since you use that script regularly, you wont forget  that you have it ;)15:28
asacat least not easily15:28
asacok ... of for 30 minutes15:28
asacoff15:28
ftathe real issue is that i don't have upload power, so i do things just for myself :(15:29
bfillerasac: override works great in ubufox and also allows me to have a unique branding for each locale. many, many thanks!15:53
asacfta: http://paste.ubuntu.com/37447/16:03
asacfta: send that to motu-council16:03
asac@lists.ubuntu.com16:03
asacand CC me, seb, jcastro, persia maybe and others you have been working with16:03
asacfta: feel free to change wording. If you want to add a section what you are most interested in (like helping in fixing the REVU/review process) that would even be better16:04
asacbfiller: good crack then ;)16:04
asacbfiller: rock the override16:04
asac:)16:04
asacbfiller: and it automatically falls back to ubufox en-US branding?16:04
asac(if you dont have translations ?)16:04
bfillerasac: haven't tried that case yet but hopefully it will work16:05
jcastrofta: nice, it's about time you applied. :D16:07
asacjcastro: he did?16:08
asacjcastro: or did you just see my paste ;)16:08
jcastroasac: no I was looking at the paste16:08
asacjcastro: if you can have better wording feel free to improve. I think fta deserves that we help him in getting his application out16:08
jcastrothe wording looks fine, I don't think there will be any issues16:10
asacfta: ^^16:11
asacfta: get that thing out asap16:11
ftaoh, thanks16:20
ftado I need to subscribe to that list ?16:20
asacfta: i dont think so16:21
asacjcastro: ??16:21
asacfta: i think jcastro email is jorge@ubuntu.com16:21
jcastroI am not sure16:21
jcastroyou probably should16:21
asacfta: yes. better do it16:21
asacits really low traffic and you can unsubscribe afterwards16:21
asacfta: otoh, i dont think they want all voters to be subscribed16:22
asacso maybe it goes through16:22
asaci asked on -motu ;)16:22
jcastrooh, I don't think you should sub to the council list, I think it's actually private16:22
jcastrobut probably -motu16:22
asac17:23 < soren> asac: Strictly speaking, yes, but we moderate things through *very* quickly.16:24
asac17:23 < asac> soren: ok.16:24
asac17:23 < asac> soren: is motu-council still the place to send motu applications to?16:24
asac17:23 < soren> asac: I doubt anything ever sits in the queue for more than an hour. dholbach's a frickin' machine!16:24
asac17:23 < soren> asac: Yes.16:24
asac17:23 < soren> asac: You want to be a MOTU? :)16:24
asacfta: ^^16:24
asacyou dont neeed to subscribe then16:24
ftaok16:24
ftawhat am i applying for ? motu or core-dev or ubuntu member or what ?16:25
XioNoXasac, If I do alert(gBrowser.selectedTab);  alert(gBrowser.selectedTab.mimeContent); I get 2 popups : [object XULElement] and application/x-director,application/x-shockwave-flash, and if I remove the first alert, I get just a popup with "undefined"16:25
asacXioNoX: dont access selected tab directly16:26
asacvar mytab = bBrowser.selectedTab16:26
asacthen use that16:26
asacmight make a difference16:26
asacnot sure though wy16:27
XioNoXvar mytab = gBrowser.selectedTab;16:28
XioNoXalert(mytab.mimeContent);16:28
XioNoXstill undefined16:28
XioNoX:(16:28
XioNoXweird16:28
XioNoXand on dmo they said : var browser = gBrowser.selectedTab.linkedBrowser;16:31
XioNoX  // browser is the XUL element of the browser that's just been selected16:31
asacXioNoX: yes. then use the linekdBrowser16:34
asacmaybe thats better16:34
XioNoXyes, but browser.mimeContent give nothing16:35
asachow do you set it?16:35
XioNoXI get "undefined"16:36
asacmaybe its not set?16:36
XioNoXvar browser = gBrowser.selectedTab.linkedBrowser;16:37
XioNoXalert(browser.mimeContent);16:37
XioNoXset ?16:37
asacfta: let me know once you send that to the list ... so i can send prepare my cheerful reply ;)16:37
asacXioNoX: how do you set mimeContent16:37
XioNoXand alert(browser); give me [ XUL element] ...16:38
XioNoXactiveTab.mimeContent = mimeArray;16:38
XioNoXin an other function16:38
asacactiveTab == a tab .... linkedBrowser === a browser16:38
ftaasac, sure. i will16:38
XioNoXand var mimeArray = new Array(); outside16:38
asacXioNoX: why do you tink that browser.mimeContent != undefined16:39
asacif you do16:39
asacactiveTab.mimeContent = mimeArray;16:39
asacbrowser != tab16:39
ftaasac, jcastro: I'm just not sure about that motu vs core-dev thing. packages i usually touch are in main so motu will not really help here.16:39
asacfta: you touch a bunch of packages in universe16:39
asaclike prism, seamonkey16:39
asacothers as well16:39
asacgo for it ... do a bunch of uploads16:40
ftaright16:40
asacthen go for core-dev16:40
asacfta: nobody will come and say "hey, you are doing mostly main packages, go away, we dont want you to be a motu"16:40
ftalol16:40
asacif someone comes up with that you can say that you "find the motu process of getting sponsorship cumbersome and thuse didnt do all the things you usually would do§16:40
XioNoXasac, activeTab.linkedBrowser.mimeContent = mimeArray; with var browser = gBrowser.selectedTab.linkedBrowser; alert(browser.mimeContent); give the same "undefined"16:41
asacfta: just send the mail. after that you can do everything in universe and from there to core-dev is a quick jump for you imo16:41
asacfta: you can also write that you consider MOTU a intermediate step for your final goal: becoming a core-dev16:44
asacbut well ... better keep silence about that16:44
asacMOTUs might feel that they are not "enough appreciated"16:44
ftaasac, http://paste.ubuntu.com/37462/ what about this ?16:48
asacfta: sounds great16:54
asacjust hit the send button16:54
asacif you need emails from someone you want to CC look in launchpad16:54
asacor ask me16:54
asacfta: seb definitly will vote for you16:55
asacfta: and in case someone replies in a negative fashion ... dont jump on it. wait a bit to see if someone else jumps in for you16:55
asacs/case/unlikely case/16:56
asacfta: in case you didnt see: the idea of the first line was to be the "mail subject"16:57
asacbut i guess you figured that ;)16:58
ftai could have mentioned http://www.sofaraway.org/ubuntu/debdiff/ but mabye that's enough like that16:58
ftayep, i figured out16:58
asacfta: its enough16:58
asacbetter reply in case people ask for more16:58
XioNoXasac, I stop for today :) We're going to dring few beers for the leaving of one intern17:01
asacXioNoX: ok cool17:01
asacenjoy17:01
asacdont drink too much17:01
asac;)17:01
XioNoXif someone here live in paris and want to come :)17:02
* asac checks for cheap flights17:02
asachmm none available today :(17:02
XioNoXwe will stay the night maybe,17:02
XioNoXthanks to catholic people :) tommorow is off17:03
asacweak ;)17:03
XioNoXsee you ;)17:03
asacin germany states with mostly catholics have like 6 days more holiday17:03
asac:)17:04
XioNoXnice17:04
XioNoX:)17:04
asacnot me :/17:04
asaci live where people have no religion17:04
XioNoXberlin ?17:04
asachamburg17:04
XioNoXok17:05
XioNoXI went in berlin17:05
asacyeah ... berlin and hamburg are the only cities i would live ;)17:05
asacboth are liberal ... and big enough17:05
asac(would live in germany)17:05
XioNoXand dresden17:05
XioNoXIt was cool17:06
XioNoXdresden is a nice city17:06
asacyeah. but dresdnen is a place i would feel trapped in17:06
asacpitti is from dresden17:06
XioNoXpitti ?17:06
asacmight be nice from architecture ... but its too much a village for me :)17:06
asacand the accept is too funny ;)17:06
asacaccent17:06
asacpitti == Martin Pitt ... master of everything in ubuntu ;)17:07
XioNoXDurring the year i live in a 3000 inhabitant village ;)17:07
XioNoXha ok17:07
XioNoXI've go to go17:07
asachttp://launchpad.net/~pitti17:07
asacsure17:07
XioNoXbye17:07
ftaasac, done17:17
* asac dances17:17
ftathanks for your help17:18
asacnp17:38
asacfta: i replied ;)17:38
ftaprobably quarantined in my greylist..17:41
asacfta: asac@ubuntu.com is sender17:48
ftadon't worry, i'll get it once the smtp server retries17:49
asackk17:49
ftaasac, gasp, a stupid mail farm: http://paste.ubuntu.com/37479/17:50
ftaif it keeps changing ip, it will never pass17:51
ftagot it: http://paste.ubuntu.com/37480/17:53
asacfta: well its a major webhoster17:53
asacmost likely has a mail cluster17:53
ftasure it's technically permitted but it's a bad behavior to change server for the very same email. i have exceptions for big mail farms such as gmail but it's impossible to track all mail farms17:57
asachmm18:00
asaci doubt that they would listen to my complain ;)18:00
asaci dont have any prime communication channel ;)18:00
asaconly support form on web ;)18:00
asacI asked something once, but never got a reply18:00
ftamost of the time, it's not a problem, just a longer delay18:00
ftaexcept for really huge mail farms with so many servers18:01
ftalike yahoo groups and gmail with 5 or 6 /24 each18:01
ftafor those, i maintain whitelists18:02
asacfta: my mailfarm is "authenticated"18:03
asacso you can whitelist them i guess18:03
asacyou have to pay for the service18:03
asaci dont think they offer any free plans18:03
asacthey add some kind of authentication tag18:03
asacto the mail headers18:03
asacnot sure what that is or how to check/test that18:04
asacX-Provags-ID:18:04
asacis the header18:04
ftadoesn't matter, at the greylist level, it's just a tuple <Sender IP, Sender e-mail, Recipient e-mail>18:04
asacoh. so no header introspection18:05
asacfine18:05
ftalater on, i have header introspection, but it has to pass greylist 1st18:05
ftathat blocks 99.9% of the spam18:06
asacmaybe let a bit more spam hit the header introspection level ;)18:06
asaclet as much in as your CPU can handle ... but not more ;)18:06
ftai still get about 1000 spams a day after the greylist18:07
asacthrough gmail/yahoo?18:07
ftano, as a whole18:07
asacor are the spammers just smart enough to try twice?18:07
ftayep, some are dumb enough to retry18:08
asacwhy dumb ... at least they get through greylist then, right?18:08
asac;)18:08
ftai have categories, the worse is greylist of 23h, and some retry every 5 min or so, that's a waste for a spammer, they should give up on me18:09
ftaespecially as they are blocked by spamassassin afterwards, so they are not smart enough to pass that18:10
asacfta: how do you block them in spamassasin?18:10
ftacontent18:11
asacdo you have individual content rules?18:11
asacor just the custom ones?18:11
ftaboth18:11
asacerr, default18:11
asacfta: how do you adapt individual rules?18:11
asacdo you do that manually everytime a spam gets painful?18:11
ftai 1st use spamcop, spamhaus, and various rbls at the smtp level, then i pass through some virus scanners, then content based spamassasin with generic and customized scoring18:13
ftathen procmail rules18:13
ftai read the rest :)18:13
asachow is this other thing called18:13
asacbogofilter18:13
asachave you tried that?18:14
asacmy 250 Mhz mail system cannot really cope with more spamassassin ... its mostly utilized by the work its doing now18:14
asacoh ... have to go to supermarket and get food ;)18:14
asacbbiw18:14
=== jt1 is now known as jtv
=== Moot2 is now known as MootBot
wikzHi Folks21:10
wikzI am having a bit of a problem building a thunderbird deb.I posted a questions on launchpad with details21:11
wikzhttps://answers.launchpad.net/ubuntu/+source/thunderbird/+question/4218721:11
ftayou should run that outside of the mozilla directory21:13
fta(just above)21:14
ftaie, you must run dpkg-buildpackage where you have the "debian" directory21:14
ftawikz, ^^21:14
wikzgot ya21:15
ftawikz, did it work ?21:16
wikzI was there where you are mentioning !21:17
wikzlemme give my dir21:17
ftawiki@wiki-desktop:~/Projects/ubuntu/hardy/thunderbird.dev/mozilla$ dpkg-buildpackage -rfakeroot21:17
wikzexactly21:17
ftacd .. ;  dpkg-buildpackage -rfakeroot21:17
wikzit doesn't work21:18
wikzdpkg-buildpackage: set CPPFLAGS to default value:21:18
wikzdpkg-buildpackage: set CFLAGS to default value: -g -O221:18
wikzdpkg-buildpackage: set CXXFLAGS to default value: -g -O221:18
wikzdpkg-buildpackage: set FFLAGS to default value: -g -O221:18
wikzdpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions21:18
wikztail: cannot open `debian/changelog' for reading: No such file or directory21:18
wikzdpkg-buildpackage: failure: tail of debian/changelog gave error exit status 121:18
wikzit was working otherwise!21:18
wikzI mean at least building to some extent21:19
wikzfta: ^^21:19
ftathen you have unpacked the files in the wrong location21:19
wikzthiught so21:19
ftaplease paste "ls -l ~/Projects/ubuntu/hardy/thunderbird.dev" to http://paste.ubuntu.com/21:19
wikzwill do that21:20
fta.. then paste the url here :)21:21
wikzhttp://paste.ubuntu.com/37518/21:23
wikzthere you go21:23
wikzfta: ^^21:23
wikzI did for both the directories21:23
ftamv mozilla/debian . ;  dpkg-buildpackage -rfakeroot21:23
wikzOhhh k21:24
wikzLemme try that21:24
ftayou could have used "apt-get source thunderbird" to get the source tree ready to be built21:26
wikzOhhhh yes I could have.Didn't the idea :(21:27
ftanext time ;)21:27
wikzI was so excited that thunderbird had compiled after 2 hours that I wanted a deb from there itself21:27
wikzit seems to be building ...21:28
wikzlots of warnings.21:28
ftayep21:28
ftait's expected21:28
wikzdidn't build :(21:30
wikzI think I need to start fresh21:31
ftamost probably :)21:31
wikzhttp://paste.ubuntu.com/37519/21:31
ftayes, those files are not supposed to be there. they are from your previous attempts.21:32
wikzdo I need to redownload those three fiiles I took from packages.ubuntu.com :the .dsc,.orig.tar.gz and the diff.tar.gz ?21:34
ftaif you just want to rebuild the same as your distro (even i don't understand why you'd want that), use "apt-get source -b thunderbird"21:34
wikzdo I need to redownload those three fiiles I took from packages.ubuntu.com :the .dsc,.orig.tar.gz and the diff.tar.gz ?21:35
ftamove them somewhere, wipe everything else, and move those 3 files back21:35
wikzI am just learning to create a deb file.Out of curiosity.21:35
wikzalright21:35
ftaimho, mozilla packages are not the easiest to start with21:36
ftathis one is using embedded tarball21:36
ftaadds cdbs and quilt and you end-up with one of the most complex packages ;)21:37
wikzyeah those .mk files I saw in the rules file21:38
wikzbut21:38
ftait's not really difficult, but you should probably start with something simpler to learn each part one by one, instead of all at once21:38
wikzthe sunbird package was pretty simple.They just packaged the binaries together21:38
wikztrivially simple21:38
wikzfrom the linux mint project21:38
ftauntil you need to patch the mozilla build system itself...21:39
[reed]lol21:42
fta[reed], hi, long time no see21:43
[reed]hi21:44
fta[reed], is it funny ? your crappy^H build system ?21:44
[reed]hehe21:44
[reed]yes21:44
fta[reed], do you know if the smil svg patch (animation) will land in 3.0.1 or just in 3.1 ?21:45
[reed]3.121:45
[reed]no need features in 3.0.x21:46
[reed]no new21:46
ftadamn21:46
fta  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND21:48
fta32419 fta       20   0  193m  58m  23m S  101  2.9  25:09.54 rhythmbox21:48
ftahmm. 101% cpu21:48
[reed]how many CPUs do you have?21:50
[reed]if you have more than one, that's normal21:50
fta1 with 2 cores21:50
[reed]so, your max is 200%21:51
wikzhey fta ,does it pick up something from the .mozconfig file ?I was playing around with it before I started this !21:52
ftawikz, no, you'd better add your changes to debian/rules21:52
wikznoted :)21:53
ftawikz, in DEB_CONFIGURE_USER_FLAGS if it's configure flags21:53
wikzfta: If I were to build an app on top of thunderbird,Should I follow the same way as ubuntu-mozilla has done ?22:00
ftawikz, what do you mean by an app on top of thunderbird ?22:08
wikzSay I modify the interface ,add in some XUL and js files,customize it like a collaboration suite.I am trying to work on packaging spicebird,a collaboration suite that I work on.We currently have a simple .tar.gz file like mozilla.org does.I was trying to build a debian package to make it easier.22:11
wikzwww.spicebird.org22:11
wikzI should have told you earlier :|22:12
wikzwe are integrating stuff like a jabber IM client.pidgin backend support etc.telepathy support etc ...all based on TB as a base.22:14
ftai know spicebird, it could be packaged like tb... yet, we (the ubuntu mozilla-team) would prefer it to be packaged as a xulrunner application (like we did for firefox-3.0). not sure it's ready for that.22:14
wikzwe still use TB 2.0. as our base22:15
ftaoh, i see. then tb2 packaging is a good base22:16
wikzI guess it wont work as xulrunner then ,right ?22:16
wikzhttp://developer.mozilla.org/en/docs/Configuring_Build_Options22:17
ftain the long run, we would like to have all mozilla-like applications to be built with --with-libxul-sdk=$(XUL_DEV) so we can only skip one xul22:17
wikzI actually work on the web client interface and not this one.I was just excited a bit :P22:17
wikzwe are around 6 of us working in a flat :D22:18
fta-skip+ship22:18
wikzIt's building fine .I guess it will take a couple of hours22:19
ftawhat cpu do you have ?22:19
ftait takes ~40min here, even less on my laptop22:20
wikzthe lowest CPU intel has on the duo core list :|22:20
ftaok22:23
wikzfta: If mozilla uses gtk then how does it pack it in such a small package whereas other gtk apps require the entire gtk framework on windows ?22:25
ftawe have dependencies22:26
ftalook at debian/control22:26
wikzon windows too ?22:26
wikzNot on linux22:26
ftawe don't do windows ;)22:26
wikzhaha22:26
wikzI know but still22:27
asaca new brave soul working on tbird?22:27
wikzlol22:28
wikzyes22:28
asacone thing that really needs to be done is to bumb enigmail ;)22:28
ftaa brave upstream soul wanting to package spicebird22:28
asacah22:28
asacwhats spice bird?22:28
wikzlol22:28
wikzwww.spicebird.org22:28
ftahttp://www.spicebird.com22:28
asacso com or org?22:29
wikza cool collab suite22:29
wikzboth22:29
asacwikz: based on tbird?22:29
asacor on xulrunner?22:29
wikzyes sir22:29
wikztb 222:29
asacan extension?22:29
wikzNo a complete package22:30
asacor yet-another-fork?22:30
wikzyeah kinda22:30
asacwhy not an extension?22:30
wikzbut we sync with mozilla once in two months22:30
wikzwe merged calendar,IM,pidgin and stuff like that22:31
asacyou will have a hard time to get that into distros.22:32
wikzwe changed a lot of tb's interface22:32
asacpeople feel reluctant to add more copies of mozilla code22:32
asac(at least when they want to support it)22:32
ftawikz, i guess you can close the question on lp now22:32
wikzyes that would be more of a complete collab groupware suite like exchange22:32
wikzyes fta ,I will22:32
asacthere are a bunch of solutions trying to do the same22:33
asactbird 322:33
wikzasac: SB is just the desktop client .we have a mail+jabber+...server and a web client22:33
asacfirefox extensions, like snowl22:33
wikzyes22:33
* asac off working on NM22:35
asachmm ... thought so;)22:36
asacbut i wiped the build22:36
asachehe22:36
wikzfta: thanks a lot22:39
ftawikz, you're welcome22:39
wikzasac: we are just filling the void by clubbing up scattered open source products into a groupware soln.there aren't enough products to challenge Exchange .ZImbra maybe one.22:42
asacwikz: true. its not the why or what you do, its how you do it that causes a cold shiver ;)22:43
asacwikz: i know that the situation for reusing mailnews isnt that great though22:44
asacwikz: the kicker is to maintain your package in PPA for a while22:45
wikzasac: lol,I won't be packaging SB for now.I work on the backend - web interface client.22:45
wikzsure asac22:45
wikzOnce I get a hold on TB , I will try the same on SB and see how things work out.22:46
asacwikz: should be quite easy22:46
asacwikz: but please try to reuse as much system libs as possible22:46
asace.g. like libpidgin (or however thats called)22:47
asaclibpurple?22:47
asacnot sure22:47
wikzyes22:47
wikzlibpurple22:47
wikztelepathy22:47
wikzmostly gnome22:47
wikzKDe is aanother beast22:47
wikz:P22:47
asacwikz: how do you maintain your patches against tbird code base?22:47
wikzI will point you to our repo22:48
asacwikz: no ;) ... what patch-system are you using? or are you just using a vcs and do merges?22:48
asacsourceforge?22:49
wikzhttp://www.spicebird.com/pub/spicebird/0.4/22:50
wikza simple diff and patch22:50
wikzI am new to this22:50
asacwhat is patches?22:51
asacwhere is the svn repository?22:51
wikzhttps://svn.spicebird.org/repos/collab/trunk22:52
wikzwill that do ?22:53
asacwikz: so the patches tar.gz thing is all you have changed?22:53
asace.g. https://svn.spicebird.org/repos/collab/trunk/patches/ ?22:53
wikznot just that.22:53
wikzalso the folder names collab22:53
wikzhttp://wiki.spicebird.org/Developer:Building_Spicebird_From_Source_Code22:54
wikzthis will answer your questions22:54
wikzwe try not to touvh the mozilla code as much as possibnle22:55
wikzfta: Hey,it built :D22:57
wikzquite an achievement :P22:58
ftayeah22:58
asacwikz: i dont understand out that approach23:01
asaci mean the source management23:01
asacso when you touch a mozilla file and change it you copy that file to the collab directory tree?23:01
asacor are all those files "new" files23:02
asachmm obviously not ... mailnews/Makefile.in certainly exists in mozilla tree as well23:02
asacoh23:04
asaccollab is just a subdir in mozilla/ ?23:04
wikzyes23:04
wikzand build it just like mail or calendar ...23:04
asacok and "patches" is all you patch in the mozilla tree?23:05
wikzyea !23:05
asacmozilla bug https://svn.spicebird.org/repos/collab/trunk/patches/23:05
asacups23:05
asacmozilla bug 13459023:05
ubottuMozilla bug 134590 in Address Book "(Temporarily) Duplicated Address Listing" [Normal,Verified: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=13459023:06
asacmozilla bug 40692123:06
ubottuMozilla bug 406921 in Address Book "Address book listener on nsIAddrBookSession.added notify flag receives multiple "onItemAdded" calls" [Normal,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=40692123:06
asacmozilla bug 43497823:06
ubottuMozilla bug 434978 in Address Book "Addressbook view not updated when a new card is created while creating a new mailing list" [Normal,Resolved: fixed] http://bugzilla.mozilla.org/show_bug.cgi?id=43497823:06
asacwikz: you think thought might be suitable for upstream 1.8 branch inclusion?23:08
asacall appear to be fixed on trunk aka tbird 323:08
wikzHmm23:08
asacwikz: why do you need to put the complete telepathy code in the code tree? cant you use the system libs available?23:08
wikzI don't make those decisions.I will forward your suggestion to the main devs23:08
wikzasac: will that be feasible ?if I arrange the devs with you ?23:10
wikzthey can answer you better23:10
asacwikz: yes. this channel is good for all devs from mozilla based products ;) ... I'd love to speak with them23:10
wikzsure23:10
* asac off for NM testing ;)23:15
asacfta: do you have a cisco gateway name i can use to see if NM VPN plugin pops up an auth dialog?23:26
asacfta: i dont need an account23:26
asacjust a hostname ;)23:26
asacvpnc23:26
ftahm sorry, i don't. no my part of the business23:30
asacnp23:36
fta^no^not23:37
ftawell, i'm starting to see the light with my project23:37
asacgood ... in the end most things work out better than expected ;)23:38
ftai ended up using Corba, SSL, XML, XSL, XSLT, XSD, RDF, SPARQL and SVG23:41
asaccorba is still used?23:45
asac:)23:45
ftathat's just a transport protocol in my case23:46
ftamy IDL is quite simple23:46
=== bdrung_ is now known as bdrung
asacok i think i know why vpn doesnt work23:47
fta$ gdlib-config --libs23:53
fta-lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng12 -lz -lm23:53
ftastrange, no -lgd ???23:53
ftaanyway, i'm using cairo now23:53

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