From silfreed at silfreed.net Mon Jun 1 12:02:54 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Mon, 01 Jun 2009 15:02:54 -0400 Subject: [Project_owners] Stronger Hash Support for Secure Installations and Updates Message-ID: <4A2425DE.7010307@silfreed.net> Ever since released [1] our file release system [2] (including secure updates and installations of .xpi files) we've planned on improving the support of hashes. We didn't originally realize that md5 was no longer on the list of hashes [3], and with sha1 having its own share of problems recently, the need for stronger hashes was increased. So finally we have dropped support for md5 as well and support only the stronger hash mechanisms (sha1, sha256, sha384, and sha512). We still auto-detect the hash type by the length of the hash submitted in the file management tool, so the procedure is exactly the same. Any existing md5 hashes are still in our system and presented by our secure install links but are considered deprecated. -Doug [1] http://www.mozdev.org/drupal/blog/Project-overview-page [2] http://www.mozdev.org/drupal/wiki/MozdevDownloadReleases [3] https://developer.mozilla.org/en/Extension_Versioning%2c_Update_and_Compatibility#Update_RDF_Format -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From godmar at gmail.com Tue Jun 2 08:11:37 2009 From: godmar at gmail.com (Godmar Back) Date: Tue, 2 Jun 2009 11:11:37 -0400 Subject: [Project_owners] Q.: how can trusted chrome code assert its security privileges in FF? Message-ID: <719dced30906020811x3e24879du333e5d68b4393616@mail.gmail.com> Hi, I'm wondering if anybody could provide pointers to documentation, or insight, about FF's security model. Specifically, I'm being faced with the problem in which JS code running in a sandbox calls a JS function defined by extension/chrome code, but FF's security manager appears to apply the security policy that governs the subject of the sandbox. In the specific case, a call to XPath's evaluate function fails with a security error because the document being operated one was retrieved from a different origin that the origin associated with the sandbox. My question: does Firefox's JS have something similar to AccessController.doPrivileged() [1] that would allow trusted chrome code to assert its privileges when being called from untrusted sandbox code? If not, how is it possible to provide controlled access to functionality that requires the system principal to untrusted code? Thanks, - Godmar [1] http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessController.html#doPrivileged(java.security.PrivilegedAction) From silfreed at silfreed.net Tue Jun 2 10:29:41 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Tue, 02 Jun 2009 13:29:41 -0400 Subject: [Project_owners] Update Your Project's Website with Edit-in-Place Message-ID: <4A256185.5010200@silfreed.net> Edit-in-Place [1] has been available for a couple weeks to new projects, but we wanted to make sure all existing project owners were aware of the feature. This allows you to update your project web site without having to deal with CVS yourself. All your changes are still committed to CVS like usual, we just do it for you. We're using the great mozile editor [2] to accomplish this. This will most likely only work if you're using the default Mozdev styling and hasn't been tested with projects that have extensive modifications to their layout or are "serving as-is" or with "nowrap". Check it out [1] and let us know what you think! -Doug [1] http://www.mozdev.org/drupal/wiki/EditInPlace [2] http://mozile.mozdev.org -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From wallace.jvm at gmail.com Tue Jun 2 21:44:38 2009 From: wallace.jvm at gmail.com (Wallace Araujo) Date: Wed, 3 Jun 2009 01:44:38 -0300 Subject: [Project_owners] Stronger Hash Support for Secure Installations and Updates In-Reply-To: <4A2425DE.7010307@silfreed.net> References: <4A2425DE.7010307@silfreed.net> Message-ID: <92c3c29d0906022144g64a24981pb43b9db46a26f039@mail.gmail.com> I don't making login in "Administrator Authentication" page, what password I use ? I really don't understand it... -------------- next part -------------- An HTML attachment was scrubbed... URL: From wallace.jvm at gmail.com Tue Jun 2 21:55:21 2009 From: wallace.jvm at gmail.com (Wallace Araujo) Date: Wed, 3 Jun 2009 01:55:21 -0300 Subject: [Project_owners] Administrator Authentication Message-ID: <92c3c29d0906022155q1b633ef6t1a6ac1f593078996@mail.gmail.com> I can not log in Administrator Authentication password is the same as the mail list? Wallace Araujo -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesper at heroes-addon.dk Wed Jun 3 02:44:09 2009 From: jesper at heroes-addon.dk (Jesper Staun Hansen) Date: Wed, 3 Jun 2009 11:44:09 +0200 Subject: [Project_owners] Administrator Authentication In-Reply-To: <92c3c29d0906022155q1b633ef6t1a6ac1f593078996@mail.gmail.com> References: <92c3c29d0906022155q1b633ef6t1a6ac1f593078996@mail.gmail.com> Message-ID: Administrator password for what? On Wed, Jun 3, 2009 at 6:55 AM, Wallace Araujo wrote: > I can not log in Administrator Authentication password is the same as the > mail list? > > > Wallace Araujo > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From silfreed at silfreed.net Wed Jun 3 04:42:37 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Wed, 03 Jun 2009 07:42:37 -0400 Subject: [Project_owners] Stronger Hash Support for Secure Installations and Updates In-Reply-To: <92c3c29d0906022144g64a24981pb43b9db46a26f039@mail.gmail.com> References: <4A2425DE.7010307@silfreed.net> <92c3c29d0906022144g64a24981pb43b9db46a26f039@mail.gmail.com> Message-ID: <4A2661AD.3070401@silfreed.net> Wallace Araujo wrote: > I don't making login in "Administrator Authentication" page, what > password I use ? > > I really don't understand it... Which URL? For most Mozdev things you use your CVS username and password; bugzilla and mailman have their own logins. If you don't remember this password please contact us via the feedback page [1] (there's a link for filing a bug for mailman problems). -Doug [1] http://www.mozdev.org/feedback.html -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From varunsnaik at gmail.com Wed Jun 3 02:16:57 2009 From: varunsnaik at gmail.com (varun naik) Date: Wed, 3 Jun 2009 14:46:57 +0530 Subject: [Project_owners] Administrator Authentication In-Reply-To: <92c3c29d0906022155q1b633ef6t1a6ac1f593078996@mail.gmail.com> References: <92c3c29d0906022155q1b633ef6t1a6ac1f593078996@mail.gmail.com> Message-ID: Your mailing list admin password is the same as your CVS password. Took me a while to figure that out too. On Wed, Jun 3, 2009 at 10:25 AM, Wallace Araujo wrote: > I can not log in Administrator Authentication password is the same as the > mail list? > > > Wallace Araujo > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wallace.jvm at gmail.com Thu Jun 4 21:32:23 2009 From: wallace.jvm at gmail.com (Wallace Araujo) Date: Fri, 5 Jun 2009 01:32:23 -0300 Subject: [Project_owners] Active Developer Message-ID: <92c3c29d0906042132x329f3b3at25acd3466c77df37@mail.gmail.com> How edit my Active Developer? Wallace Araujo -------------- next part -------------- An HTML attachment was scrubbed... URL: From ocramius at gmail.com Fri Jun 5 01:16:16 2009 From: ocramius at gmail.com (Marco Pivetta) Date: Fri, 5 Jun 2009 10:16:16 +0200 Subject: [Project_owners] Active Developer In-Reply-To: <92c3c29d0906042132x329f3b3at25acd3466c77df37@mail.gmail.com> References: <92c3c29d0906042132x329f3b3at25acd3466c77df37@mail.gmail.com> Message-ID: Just send a message to feedback at mozdev.org with your request. 2009/6/5 Wallace Araujo > How edit my Active Developer? > > Wallace Araujo > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -- Marco Pivetta - Ocramius Aethril Standard Ogame Project - StOgame http://www.stogame.net Making Ogame a better place... -------------- next part -------------- An HTML attachment was scrubbed... URL: From belaviyo at gmail.com Fri Jun 5 12:44:52 2009 From: belaviyo at gmail.com (joe ertaba) Date: Sat, 6 Jun 2009 00:14:52 +0430 Subject: [Project_owners] Mozilla Rich-Text In-Reply-To: References: Message-ID: <23d9f6b20906051244o742b8843h95f00820bc077f9a@mail.gmail.com> Yes it works but I cant find how to change the cursor position! here is a example, in this example I want to change the position of cursor to second char, but it doesn't work
editor 1
any idea ? also is there any function to tell me the current location of cursor ? Thanks On Thu, May 28, 2009 at 1:50 PM, Neil wrote: > joe ertaba wrote: > > Is there any way to find cursor position in >> https://developer.mozilla.org/en/Rich-Text_Editing_in_Mozilla >> something like textbox's selectionstart, selectionend,... >> > > window.getSelection() works with editable areas too, assuming it has focus. > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sneakypete81 at gmail.com Mon Jun 8 05:10:59 2009 From: sneakypete81 at gmail.com (Pete) Date: Mon, 8 Jun 2009 13:10:59 +0100 Subject: [Project_owners] Using nsIWebBrowserStream Message-ID: I'm looking for a way of injecting an untrusted HTML string into a chome iframe. The best solution I've found is nsiWebBrowserStream. Unfortunately I'm having trouble locating an object that implements this interface.. Following the tips from http://markmail.org/message/iomvz6utug6brxbo#query:nsiwebbrowserstream+page:1+mid:akezl4i2ymotjmwk+state:results (inside a Venkman interactive session) i=window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(nsIWebNavigation) i.queryInterface(nsIWebBrowserStream) Gives: ReferenceError: nsIWebBrowserStream is not defined Does anyone have any tips for how to get a handle on this interface? Or is there a better way of injecting untrusted HTML into an iframe? Thanks Pete updatescanner.mozdev.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From sneakypete81 at gmail.com Mon Jun 8 09:51:50 2009 From: sneakypete81 at gmail.com (Pete) Date: Mon, 8 Jun 2009 17:51:50 +0100 Subject: [Project_owners] Using nsIWebBrowserStream In-Reply-To: References: Message-ID: 2009/6/8 Pete : > I'm looking for a way of injecting an untrusted HTML string into a chome > iframe. > The best solution I've found is nsiWebBrowserStream. Unfortunately I'm > having trouble locating an object that implements this interface.. > > Following the tips from > http://markmail.org/message/iomvz6utug6brxbo#query:nsiwebbrowserstream+page:1+mid:akezl4i2ymotjmwk+state:results > (inside a Venkman interactive session) > > i=window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(nsIWebNavigation) > i.queryInterface(nsIWebBrowserStream) > > Gives: > ReferenceError: nsIWebBrowserStream is not defined > Sorry all, I previously copied the wrong lines from my debug session. The example above should read: i=window.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(nsIWebNavigation) [xpconnect wrapped (nsISupports, nsIWebNavigation, nsIDocShellTreeItem)] i.QueryInterface(Components.interfaces.nsIWebBrowserStream) [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)"] > > Does anyone have any tips for how to get a handle on this interface? > Or is there a better way of injecting untrusted HTML into an iframe? Any ideas? From matthew at mjwilson.demon.co.uk Mon Jun 8 14:13:19 2009 From: matthew at mjwilson.demon.co.uk (Matthew Wilson) Date: Mon, 08 Jun 2009 22:13:19 +0100 Subject: [Project_owners] Using nsIWebBrowserStream In-Reply-To: References: Message-ID: <4A2D7EEF.8000108@mjwilson.demon.co.uk> Pete wrote: > 2009/6/8 Pete : >> I'm looking for a way of injecting an untrusted HTML string into a chome >> iframe. I needed to do something similar. I assume you want to prevent security bypasses from the untrusted content. My eventual solution was far from elegant but worked OK: to create a "data:" URL containing the encoded form of the document, then to use document.getElementById("xxx").webNavigation.loadURI with that URL. This might also be of help: http://adblockplus.org/blog/displaying-web-content-in-an-extension-without-security-issues Matthew From sneakypete81 at gmail.com Tue Jun 9 02:10:13 2009 From: sneakypete81 at gmail.com (Pete) Date: Tue, 9 Jun 2009 10:10:13 +0100 Subject: [Project_owners] Using nsIWebBrowserStream In-Reply-To: <4A2D7EEF.8000108@mjwilson.demon.co.uk> References: <4A2D7EEF.8000108@mjwilson.demon.co.uk> Message-ID: 2009/6/8 Matthew Wilson : > > I needed to do something similar. I assume you want to prevent security > bypasses from the untrusted content. > > My eventual solution was far from elegant but worked OK: to create a "data:" > URL containing the encoded form of the document, then to use > document.getElementById("xxx").webNavigation.loadURI with that URL. > > This might also be of help: > http://adblockplus.org/blog/displaying-web-content-in-an-extension-without-security-issues Perfect - thanks Matthew, that is exactly what I was looking for. I'd highly recommend that article to anyone wanting to display untrusted content in an extension. From matthew at mjwilson.demon.co.uk Tue Jun 9 10:33:16 2009 From: matthew at mjwilson.demon.co.uk (Matthew Wilson) Date: Tue, 09 Jun 2009 18:33:16 +0100 Subject: [Project_owners] Using nsIWebBrowserStream In-Reply-To: References: <4A2D7EEF.8000108@mjwilson.demon.co.uk> Message-ID: <4A2E9CDC.6050301@mjwilson.demon.co.uk> Pete wrote: > 2009/6/8 Matthew Wilson : >> I needed to do something similar. I assume you want to prevent security >> bypasses from the untrusted content. >> >> My eventual solution was far from elegant but worked OK: to create a "data:" >> URL containing the encoded form of the document, then to use >> document.getElementById("xxx").webNavigation.loadURI with that URL. >> >> This might also be of help: >> http://adblockplus.org/blog/displaying-web-content-in-an-extension-without-security-issues > > Perfect - thanks Matthew, that is exactly what I was looking for. > I'd highly recommend that article to anyone wanting to display > untrusted content in an extension. It was also copied to MDC, which I guess is probably a better place to look going forwards: https://developer.mozilla.org/En/Displaying_web_content_in_an_extension_without_security_issues Matthew From silfreed at silfreed.net Wed Jun 10 05:38:13 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Wed, 10 Jun 2009 08:38:13 -0400 Subject: [Project_owners] Download Stats Message-ID: <4A2FA935.2060108@silfreed.net> http://www.mozdev.org/drupal/blog/Download-Graphs Mozdev has added download graphs to all project pages. This should give project owners a better idea of how frequently users are downloading their projects' files. We have also added graphs for both downloads and bytes transferred for our mirrors [1] and regions [2]. If you have any suggestions for improvements to the graphs, feel free to add them to bug#20841 [3]. In the mean time, go check out your downloads! -Doug [1] http://mirrors.mozdev.org/stats-mirror.html [2] http://mirrors.mozdev.org/stats-region.html [3] https://www.mozdev.org/bugs/show_bug.cgi?id=20841 -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From jesper at heroes-addon.dk Wed Jun 10 07:16:42 2009 From: jesper at heroes-addon.dk (Jesper Staun Hansen) Date: Wed, 10 Jun 2009 16:16:42 +0200 Subject: [Project_owners] Download Stats In-Reply-To: <4A2FA935.2060108@silfreed.net> References: <4A2FA935.2060108@silfreed.net> Message-ID: awesome On Wed, Jun 10, 2009 at 2:38 PM, Douglas E. Warner wrote: > http://www.mozdev.org/drupal/blog/Download-Graphs > > Mozdev has added download graphs to all project pages. This should give > project owners a better idea of how frequently users are downloading their > projects' files. > > We have also added graphs for both downloads and bytes transferred for our > mirrors [1] and regions [2]. > > If you have any suggestions for improvements to the graphs, feel free to > add > them to bug#20841 [3]. In the mean time, go check out your downloads! > > -Doug > > [1] http://mirrors.mozdev.org/stats-mirror.html > [2] http://mirrors.mozdev.org/stats-region.html > [3] https://www.mozdev.org/bugs/show_bug.cgi?id=20841 > > -- > Douglas E. Warner Site Developer > Mozdev.org http://www.mozdev.org > > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From silfreed at silfreed.net Wed Jun 10 17:42:23 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Wed, 10 Jun 2009 20:42:23 -0400 Subject: [Project_owners] Wiki upgrade plans Message-ID: <4A3052EF.2080309@silfreed.net> I've been working on bug#18975 [1] trying to make wiki editing easier. Our interpretation of that is: 1) using HTML for markup instead of "wiki syntax" (ie, not Mediawiki, the Text_Wiki syntax we were using, or Doku wiki that MDC switched to) 2) Add a featureful WYSIWYG editor to make editing HTML content easier 3) Maintain an easy way for linking to other pages Our progress on this can be found on our dev server; an example page is here: http://www.vebzom.org/drupal/wiki/MozdevDocs A snapshot of data was made today and most projects' wikis were upgraded on our dev server. Please check it out and let us know what's broken or you like/don't like. A few notable changes/improvements: * CamelCase words are no longer linked. You must link via [[Square Brackets]] to pages * Table of Contents are added via an HTML comment: * Geshi code highlighting is only supported by editing the source and adding a
tag That's all I can think of right now; let us know what you think! -Doug [1] https://www.mozdev.org/bugs/show_bug.cgi?id=18975 -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From belaviyo at gmail.com Sat Jun 13 00:20:44 2009 From: belaviyo at gmail.com (joe ertaba) Date: Sat, 13 Jun 2009 11:50:44 +0430 Subject: [Project_owners] XMLHttpRequest Question Message-ID: <23d9f6b20906130020x361a94b5nd4f34b368eee9fe@mail.gmail.com> Hi I need to get a url's content from JavaScript, currently I use XMLHttpRequest but at this time I want to get the content from a proxy server, for example I want to get a www.google.com content but not from direct connection but from a local proxy server (127.0.0.1:3244), Is there any way to get a url's content from proxy server without changing FF's global proxy ? Thanks Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From jc0110cj at gmail.com Sat Jun 13 09:49:46 2009 From: jc0110cj at gmail.com (Jerry Crosson) Date: Sat, 13 Jun 2009 12:49:46 -0400 Subject: [Project_owners] XMLHttpRequest Question In-Reply-To: <23d9f6b20906130020x361a94b5nd4f34b368eee9fe@mail.gmail.com> References: <23d9f6b20906130020x361a94b5nd4f34b368eee9fe@mail.gmail.com> Message-ID: <6211e0b10906130949p6342e9b2if0068aa98e882d18@mail.gmail.com> Could a PAC file do what you want? On Sat, Jun 13, 2009 at 3:20 AM, joe ertaba wrote: > Hi > > I need to get a url's content from JavaScript, currently I use > XMLHttpRequest but at this time I want to get the content from a proxy > server, for example I want to get a www.google.com content but not from > direct connection but from a local proxy server (127.0.0.1:3244), Is there > any way to get a url's content from proxy server without changing FF's > global proxy ? > > Thanks > Joe > > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael16 at gmail.com Sat Jun 13 22:46:50 2009 From: michael16 at gmail.com (Michael Keating) Date: Sun, 14 Jun 2009 01:46:50 -0400 Subject: [Project_owners] XMLHttpRequest Question In-Reply-To: <6211e0b10906130949p6342e9b2if0068aa98e882d18@mail.gmail.com> References: <23d9f6b20906130020x361a94b5nd4f34b368eee9fe@mail.gmail.com> <6211e0b10906130949p6342e9b2if0068aa98e882d18@mail.gmail.com> Message-ID: <68b3f17d0906132246s4191569bgbf4d8084fdec93cb@mail.gmail.com> I think Google desktop does this. Maybe you can find how they do it... On Sat, Jun 13, 2009 at 12:49 PM, Jerry Crosson wrote: > Could a PAC file do what you want? > > On Sat, Jun 13, 2009 at 3:20 AM, joe ertaba wrote: > >> Hi >> >> I need to get a url's content from JavaScript, currently I use >> XMLHttpRequest but at this time I want to get the content from a proxy >> server, for example I want to get a www.google.com content but not from >> direct connection but from a local proxy server (127.0.0.1:3244), Is >> there any way to get a url's content from proxy server without changing FF's >> global proxy ? >> >> Thanks >> Joe >> >> >> _______________________________________________ >> Project_owners mailing list >> Project_owners at mozdev.org >> https://www.mozdev.org/mailman/listinfo/project_owners >> >> > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -- Michael Keating -------------- next part -------------- An HTML attachment was scrubbed... URL: From benoit.bailleux at gmail.com Sun Jun 14 23:11:55 2009 From: benoit.bailleux at gmail.com (Benoit BAILLEUX) Date: Mon, 15 Jun 2009 08:11:55 +0200 Subject: [Project_owners] XMLHttpRequest Question In-Reply-To: <23d9f6b20906130020x361a94b5nd4f34b368eee9fe@mail.gmail.com> References: <23d9f6b20906130020x361a94b5nd4f34b368eee9fe@mail.gmail.com> Message-ID: On Sat, Jun 13, 2009 at 9:20 AM, joe ertaba wrote: > I need to get a url's content from JavaScript, currently I use > XMLHttpRequest but at this time I want to get the content from a proxy > server, for example I want to get a www.google.com content but not from > direct connection but from a local proxy server (127.0.0.1:3244), Is there > any way to get a url's content from proxy server without changing FF's > global proxy ? Is it possible to use a nsIURI build with the proxy as the "host+port" part, and your target URL as the "path" part, like I can do throught HTTP ? If yes, you may replace use of XMLHttpRequest by use of the nsIHttpChannel interface (see https://developer.mozilla.org/en/nsIHttpChannel) with that build nsIURI ... -- BBa From jmbrochu at yahoo.com Mon Jun 15 00:27:59 2009 From: jmbrochu at yahoo.com (Joe Brochu) Date: Mon, 15 Jun 2009 16:57:59 +0930 Subject: [Project_owners] System Fonts Message-ID: <4A35F7FF.6010002@yahoo.com> I am looking for an easy way to get system fonts and sizes for explicitly setting box sizes within a stack to dynamically accommodate various native OS's. Are there any shortcuts or global variables available within the Mozilla framework to reference this information? I could probably create a piece of dummy text with no formatting and get numbers from there, but I'm hoping for something more elegant. I also don't want to redraw everything 3 times! I could also use something similar for getting scrollbar widths. I have a workaround for this, but it's not particularly elegant. Basically I get the width of the content within the scrollbox, then scroll to the end, then get the new start position of the scrolled content, on both axes. A little addition and subtraction does the rest. It does the job, but it ain't pretty. Thanks, Joe B http://ganttview.mozdev.org From neil at parkwaycc.co.uk Mon Jun 15 01:54:58 2009 From: neil at parkwaycc.co.uk (Neil) Date: Mon, 15 Jun 2009 09:54:58 +0100 Subject: [Project_owners] System Fonts In-Reply-To: References: Message-ID: Joe Brochu wrote: > I am looking for an easy way to get system fonts and sizes for > explicitly setting box sizes within a stack to dynamically accommodate > various native OS's. Are there any shortcuts or global variables > available within the Mozilla framework to reference this information? > > I could probably create a piece of dummy text with no formatting and > get numbers from there, but I'm hoping for something more elegant. I > also don't want to redraw everything 3 times! It's not clear what you're trying to do, but maybe you could add an extra layer to your stack (but with visibility: hidden; so that it doesn't paint) that includes your dummy text which will cause it to be the correct size. > I could also use something similar for getting scrollbar widths. Perhaps you could include a xul:scrollbar element in your document and measure that? From varun21 at gmail.com Mon Jun 15 06:44:27 2009 From: varun21 at gmail.com (Shivanand Sharma) Date: Mon, 15 Jun 2009 19:14:27 +0530 Subject: [Project_owners] System Fonts In-Reply-To: References: Message-ID: <1a9fd9700906150644s41299545k6a7e25eca644f2d8@mail.gmail.com> If you work in "em"s this may be a piece of cake. For e.g. 1em is the default font size (irrespective of pixels or whatever OS or user setting. If the user has chosen the default font to be 14px then 1em = 14px). and a width or 1 em will be the size of the letter "m" (in the default font/size). Not an expert in typography but read this for more http://jontangerine.com/log/2007/09/the-incredible-em-and-elastic-layouts-with-css. Either ways reading that article is a must for any web programmer/developer. Hope this helps. Regards, Shivanand Sharma Producer and Editor BinaryTurf.Com (Web Technology & Blogging) AdvancedPhotography.Net (Digital Photography) On Mon, Jun 15, 2009 at 2:24 PM, Neil wrote: > Joe Brochu wrote: > > I am looking for an easy way to get system fonts and sizes for explicitly >> setting box sizes within a stack to dynamically accommodate various native >> OS's. Are there any shortcuts or global variables available within the >> Mozilla framework to reference this information? >> >> I could probably create a piece of dummy text with no formatting and get >> numbers from there, but I'm hoping for something more elegant. I also don't >> want to redraw everything 3 times! >> > > It's not clear what you're trying to do, but maybe you could add an extra > layer to your stack (but with visibility: hidden; so that it doesn't paint) > that includes your dummy text which will cause it to be the correct size. > > I could also use something similar for getting scrollbar widths. >> > > Perhaps you could include a xul:scrollbar element in your document and > measure that? > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmbrochu at yahoo.com Mon Jun 15 19:27:47 2009 From: jmbrochu at yahoo.com (Joe Brochu) Date: Tue, 16 Jun 2009 11:57:47 +0930 Subject: [Project_owners] System Fonts In-Reply-To: References: Message-ID: <4A370323.8080809@yahoo.com> "em's" did the trick for setting the box sizes. Regarding the scrollbox, there is no property to give you the width of the box minus the scrollbars. My interface is a gantt chart view for sunbird/lightning. It uses three scrollboxes to provide a "header" at the top and left of the main scrollbox. The top header (with dates) is sync'd to the horizontal scroll position of the main box, and the left header (with event/task titles) is sync'd to the vertical scroll of the main box. The effect is similar to using "freeze panes" in excel. The "header" scrollboxes need a spacer element at the end of their content that is the same width as the scrollbar in the main scrollbox in order to keep all of the content aligned between the two boxes. So I have to set the width (or height) of these spacers dynamically based on the system scrollbar widths. I think that if xul elements had a "ScreenWidth" and "ScreenHeight" property giving the width/height currently visible onscreen (similar to ScreenX and ScreenY), you could calculate this more easily. Thanks, Joe B 2009-06-15 6:24 PM, Neil wrote: > Joe Brochu wrote: > >> I am looking for an easy way to get system fonts and sizes for >> explicitly setting box sizes within a stack to dynamically >> accommodate various native OS's. Are there any shortcuts or global >> variables available within the Mozilla framework to reference this >> information? >> >> I could probably create a piece of dummy text with no formatting and >> get numbers from there, but I'm hoping for something more elegant. I >> also don't want to redraw everything 3 times! > > It's not clear what you're trying to do, but maybe you could add an > extra layer to your stack (but with visibility: hidden; so that it > doesn't paint) that includes your dummy text which will cause it to be > the correct size. > >> I could also use something similar for getting scrollbar widths. > > Perhaps you could include a xul:scrollbar element in your document and > measure that? > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > From neil at parkwaycc.co.uk Tue Jun 16 05:05:47 2009 From: neil at parkwaycc.co.uk (Neil) Date: Tue, 16 Jun 2009 13:05:47 +0100 Subject: [Project_owners] System Fonts In-Reply-To: References: Message-ID: Joe Brochu wrote: > The "header" scrollboxes need a spacer element at the end of their > content that is the same width as the scrollbar in the main scrollbox > in order to keep all of the content aligned between the two boxes. So > I have to set the width (or height) of these spacers dynamically based > on the system scrollbar widths. Why not use an invisible scrollbar? From belaviyo at gmail.com Wed Jun 17 01:12:26 2009 From: belaviyo at gmail.com (joe ertaba) Date: Wed, 17 Jun 2009 12:42:26 +0430 Subject: [Project_owners] Thread in Mozilla Message-ID: <23d9f6b20906170112t249d0a0q28e976aba6390e5c@mail.gmail.com> Hi, Here is a sample for Thread in Mozilla, ** ** ** ** ** Why when I press "workingThread" more than 3 or 4 times then FF closed? Any Idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmbrochu at yahoo.com Fri Jun 19 07:41:23 2009 From: jmbrochu at yahoo.com (Joe Brochu) Date: Sat, 20 Jun 2009 00:11:23 +0930 Subject: [Project_owners] System Fonts In-Reply-To: References: Message-ID: <4A3BA393.40303@yahoo.com> An HTML attachment was scrubbed... URL: From wallace.jvm at gmail.com Fri Jun 19 08:07:48 2009 From: wallace.jvm at gmail.com (Wallace Araujo) Date: Fri, 19 Jun 2009 12:07:48 -0300 Subject: [Project_owners] choice Message-ID: <92c3c29d0906190807h401c4594t66cd9a338ac23772@mail.gmail.com> what do you think the best choice? - OpenLazslo - Flex - pure XUL I need something that balances light weight, easy portability in the development ...help me pls. Wallace Araujo -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil at parkwaycc.co.uk Fri Jun 19 09:32:20 2009 From: neil at parkwaycc.co.uk (Neil) Date: Fri, 19 Jun 2009 17:32:20 +0100 Subject: [Project_owners] System Fonts In-Reply-To: References: Message-ID: Joe Brochu wrote: > I think that I had originally used a "scrollcorner" element, but it > didn't maintain its size. Scrollbars did the trick. Yeah, scrollcorners rely on the scrollbars to give them their size. From graham at gkgk.org Fri Jun 19 23:08:39 2009 From: graham at gkgk.org (Graham King) Date: Fri, 19 Jun 2009 23:08:39 -0700 Subject: [Project_owners] choice In-Reply-To: <92c3c29d0906190807h401c4594t66cd9a338ac23772@mail.gmail.com> References: <92c3c29d0906190807h401c4594t66cd9a338ac23772@mail.gmail.com> Message-ID: <587638c00906192308j30b09462r1d91d7a053d3124c@mail.gmail.com> That depends what you are building. Try using HTML, CSS and Javascript. Most of the widgets XUL provides can also be done in HTML/CSS/JS, and with canvas and the video tag, you may well find you don't need a Flash-based technology. 2009/6/19 Wallace Araujo : > what do you think the best choice? > > - OpenLazslo > - Flex > - pure XUL > > I need something that balances light weight, easy portability in the > development ...help me pls. > > > Wallace Araujo > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > From wallace.jvm at gmail.com Sat Jun 20 07:34:30 2009 From: wallace.jvm at gmail.com (Wallace Araujo) Date: Sat, 20 Jun 2009 11:34:30 -0300 Subject: [Project_owners] choice In-Reply-To: <587638c00906192308j30b09462r1d91d7a053d3124c@mail.gmail.com> References: <92c3c29d0906190807h401c4594t66cd9a338ac23772@mail.gmail.com> <587638c00906192308j30b09462r1d91d7a053d3124c@mail.gmail.com> Message-ID: <92c3c29d0906200734t45568cf8s54defd8c139aada2@mail.gmail.com> I building interface for um cloud system. Wallace Araujo 2009/6/20 Graham King > That depends what you are building. Try using HTML, CSS and Javascript. > Most of the widgets XUL provides can also be done in HTML/CSS/JS, and > with canvas and the video tag, you may well find you don't need a > Flash-based technology. > > > 2009/6/19 Wallace Araujo : > > what do you think the best choice? > > > > - OpenLazslo > > - Flex > > - pure XUL > > > > I need something that balances light weight, easy portability in the > > development ...help me pls. > > > > > > Wallace Araujo > > > > _______________________________________________ > > Project_owners mailing list > > Project_owners at mozdev.org > > https://www.mozdev.org/mailman/listinfo/project_owners > > > > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > -------------- next part -------------- An HTML attachment was scrubbed... URL: From whitedavidp at yahoo.com Tue Jun 23 08:26:09 2009 From: whitedavidp at yahoo.com (David White) Date: Tue, 23 Jun 2009 08:26:09 -0700 (PDT) Subject: [Project_owners] CVS Troubles Message-ID: <680016.58200.qm@web58007.mail.re3.yahoo.com> Hello and thanks in advance for your help... It has been a while since I needed to update my project's files. I use WinCVS and am NOT very astute with it. I also recently had to update my project's password. So I changed it (as best I could) in WinCVS. I find that the login command seems to work (exit code 0). But when I try to update or commit a file, I get error code 1 and the following message: cvs [update aborted]: authorization failed: server mozdev.org rejected access to /cvs for user whitedavidp Can anyone help me to discover what I am doing wrong here? Cheers! From philip.chee at gmail.com Tue Jun 23 19:17:02 2009 From: philip.chee at gmail.com (Philip Chee) Date: Wed, 24 Jun 2009 10:17:02 +0800 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support Message-ID: I received some mozdev mail today. > Extensions that need updating: > Console? : 3.1.* But the latest version of my extension has a Firefox maxversion of 3.7, at least the version on Mozdev. Phil -- Philip Chee , http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. From philip at aleytys.pc.my Tue Jun 23 19:38:25 2009 From: philip at aleytys.pc.my (Philip Chee) Date: Wed, 24 Jun 2009 10:38:25 +0800 Subject: [Project_owners] CVS Troubles In-Reply-To: References: Message-ID: On Tue, 23 Jun 2009 08:26:09 -0700 (PDT), David White wrote: > Hello and thanks in advance for your help... > > It has been a while since I needed to update my project's files. I use > WinCVS and am NOT very astute with it. I also recently had to update my > project's password. So I changed it (as best I could) in WinCVS. I find > that the login command seems to work (exit code 0). But when I try to The WinCVS UI is extremely opaque. You can actually type cvs commands in the I/O pane at the bottom half of the screen. Try to manually login there first. > update or commit a file, I get error code 1 and the following message: > > cvs [update aborted]: authorization failed: server mozdev.org rejected > access to /cvs for user whitedavidp On the other hand I think you need to point to the subdirectory where your project lives and not the root of the mozdev CVS server. Phil -- Philip Chee , http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. From whitedavidp at yahoo.com Tue Jun 23 22:01:09 2009 From: whitedavidp at yahoo.com (David White) Date: Tue, 23 Jun 2009 22:01:09 -0700 (PDT) Subject: [Project_owners] CVS Troubles Message-ID: <468832.84365.qm@web58001.mail.re3.yahoo.com> Philip Chee wrote: > On Tue, 23 Jun 2009 08:26:09 -0700 (PDT), David White wrote: >> Hello and thanks in advance for your help... >> >> It has been a while since I needed to update my project's files. I use >> WinCVS and am NOT very astute with it. I also recently had to update my >> project's password. So I changed it (as best I could) in WinCVS. I find >> that the login command seems to work (exit code 0). But when I try to > > The WinCVS UI is extremely opaque. You can actually type cvs commands in > the I/O pane at the bottom half of the screen. Try to manually login > there first. > >> update or commit a file, I get error code 1 and the following message: >> >> cvs [update aborted]: authorization failed: server mozdev.org rejected >> access to /cvs for user whitedavidp > > On the other hand I think you need to point to the subdirectory where > your project lives and not the root of the mozdev CVS server. > > Phil > Thanks for the response, Phil. When I simply login, I get success (or at least a 0 error code) with: cvs -d :pserver;username=whitedavidp;password=xxxxxx;hostname=mozdev.org:/cvs login Logging in to :pserver:whitedavidp at mozdev.org:2401:/cvs ***** CVS exited normally with code 0 ***** So it seems like the authentication works when pointing at the /cvs path. But the update gets a non-zero result code: cvs update -P -- index.html (in directory D:\ThunderbirdBiff\MozDev\thunderbirdbiff\www) cvs [update aborted]: authorization failed: server mozdev.org rejected access to /cvs for user whitedavidp I am frankly stumped here. Any help is appreciated. David From brian at mozdev.org Wed Jun 24 08:53:32 2009 From: brian at mozdev.org (Brian King) Date: Wed, 24 Jun 2009 17:53:32 +0200 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support In-Reply-To: References: Message-ID: <4A424BFC.9020305@mozdev.org> Philip Chee wrote: > I received some mozdev mail today. > >> Extensions that need updating: >> Console? : 3.1.* > > But the latest version of my extension has a Firefox maxversion of 3.7, > at least the version on Mozdev. We may have culled the information a while before the mails went out / before you updated. Related: http://www.mozdev.org/drupal/blog/Firefox-35-Support-Mozdev -- Brian King Need free Mozilla project hosting? http://mozdev.org From philip at aleytys.pc.my Wed Jun 24 22:14:35 2009 From: philip at aleytys.pc.my (Philip Chee) Date: Thu, 25 Jun 2009 13:14:35 +0800 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support In-Reply-To: References: Message-ID: On Wed, 24 Jun 2009 17:53:32 +0200, Brian King wrote: > Philip Chee wrote: >> I received some mozdev mail today. >> >>> Extensions that need updating: >>> Console? : 3.1.* >> >> But the latest version of my extension has a Firefox maxversion of 3.7, >> at least the version on Mozdev. > > We may have culled the information a while before the mails went out / > before you updated. I bumped the number as soon as trunk went to 3.6a1pre. Phil -- Philip Chee , http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. [ ]Do Not Attempt to Traverse a Chasm in Two Leaps... * TagZilla 0.066.6 From silfreed at silfreed.net Sun Jun 28 19:53:27 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Sun, 28 Jun 2009 22:53:27 -0400 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support In-Reply-To: References: Message-ID: <4A482CA7.507@silfreed.net> Philip Chee wrote: > On Wed, 24 Jun 2009 17:53:32 +0200, Brian King wrote: >> Philip Chee wrote: >>> I received some mozdev mail today. >>> >>>> Extensions that need updating: >>>> Console? : 3.1.* >>> But the latest version of my extension has a Firefox maxversion of 3.7, >>> at least the version on Mozdev. >> We may have culled the information a while before the mails went out / >> before you updated. > > I bumped the number as soon as trunk went to 3.6a1pre. > > Phil > I didn't realize that anything greater than "3.5.*" was supported, so that's why you got it. If you have any good resource for getting "valid" version numbers, I would greatly appreciate it for projects like this in the future. -Doug -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From philip at aleytys.pc.my Sun Jun 28 21:43:04 2009 From: philip at aleytys.pc.my (Philip Chee) Date: Mon, 29 Jun 2009 12:43:04 +0800 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support In-Reply-To: References: Message-ID: On Sun, 28 Jun 2009 22:53:27 -0400, Douglas E. Warner wrote: > I didn't realize that anything greater than "3.5.*" was supported, so that's > why you got it. Note: My long standing practice for my "developmental" builds is to use some fake significantly larger number so I don't have to constantly adjust the maxVersion. I assume that someone using cutting edge versions hot off the CVS (or Hg) repository knows the risks he or she is taking. > If you have any good resource for getting "valid" version numbers, I would > greatly appreciate it for projects like this in the future. This webpage is dynamically generated so it should always reflect the latest that mozilla considers "valid". For the lesser known software (like SeaMonkey) listed you sometimes have to file a bug to get them to add the latest version numbers. Note that this only lists the "products" that mozilla officially supports so for e.g. Flock, Songbird, Postbox, Spicebird, etc you can put *any* max version e.g. 99.999 and AMO will happily accept them. Phil -- Philip Chee , http://flashblock.mozdev.org/ http://xsidebar.mozdev.org Guard us from the she-wolf and the wolf, and guard us from the thief, oh Night, and so be good for us to pass. From silfreed at silfreed.net Mon Jun 29 06:16:34 2009 From: silfreed at silfreed.net (Douglas E. Warner) Date: Mon, 29 Jun 2009 09:16:34 -0400 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support In-Reply-To: References: Message-ID: <4A48BEB2.4020408@silfreed.net> Philip Chee wrote: > > > Note that this only lists the "products" that mozilla officially > supports so for e.g. Flock, Songbird, Postbox, Spicebird, etc you can > put *any* max version e.g. 99.999 and AMO will happily accept them. > Thanks for this resource; maybe I'll file a bug for an RSS feed for this page so it's easier for other developers to consume it. -Doug -- Douglas E. Warner Site Developer Mozdev.org http://www.mozdev.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature URL: From jesper at heroes-addon.dk Mon Jun 29 16:46:35 2009 From: jesper at heroes-addon.dk (Jesper Staun Hansen) Date: Tue, 30 Jun 2009 01:46:35 +0200 Subject: [Project_owners] Check Your Mozdev Project for Firefox 3.5 Support In-Reply-To: <4A48BEB2.4020408@silfreed.net> References: <4A48BEB2.4020408@silfreed.net> Message-ID: https://addons.mozilla.org/en-US/firefox/pages/appversions On Mon, Jun 29, 2009 at 3:16 PM, Douglas E. Warner wrote: > Philip Chee wrote: > > > > > > Note that this only lists the "products" that mozilla officially > > supports so for e.g. Flock, Songbird, Postbox, Spicebird, etc you can > > put *any* max version e.g. 99.999 and AMO will happily accept them. > > > > Thanks for this resource; maybe I'll file a bug for an RSS feed for this > page > so it's easier for other developers to consume it. > > -Doug > > -- > Douglas E. Warner Site Developer > Mozdev.org http://www.mozdev.org > > > _______________________________________________ > Project_owners mailing list > Project_owners at mozdev.org > https://www.mozdev.org/mailman/listinfo/project_owners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: