htmlvalidator-help Mailing List for HTML Validator for Mozilla and Firefox (Page 9)
Brought to you by:
mgueury
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(65) |
Jun
(52) |
Jul
(33) |
Aug
(33) |
Sep
(2) |
Oct
(10) |
Nov
(8) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(48) |
Feb
(22) |
Mar
(25) |
Apr
(5) |
May
(4) |
Jun
(2) |
Jul
(4) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2008 |
Jan
(3) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Tibor B. <bal...@gm...> - 2006-07-15 10:38:39
|
John Barreiros wrote: > Great extension. I like the new sgml parser addition. > > It'd be nice if there was an easy way to switch between sgml and tidy > for the current page you are browsing. Perhaps include it in the > right+click menu. Or better yet, run both sgml and tidy at the same time. You can download this modified version here: http://firefox.hu/kiterjesztesek/firefox#ext-htmlvalidator But the menu item doesn't work perfect with framset pages. Then you should refresh the current page, press F5. Regards, Tibor Balogh |
From: John B. <jo...@gl...> - 2006-07-14 04:45:45
|
Great extension. I like the new sgml parser addition. =20 It'd be nice if there was an easy way to switch between sgml and tidy = for the current page you are browsing. Perhaps include it in the = right+click menu. Or better yet, run both sgml and tidy at the same = time.=20 =20 cheers ~john |
From: Marc G. <mg...@sk...> - 2006-07-07 06:47:24
|
Hi Rob, I have personnally no other version than the 0.76 given in the website. The source code + instructions are here if you want: http://users.skynet.be/mgueury/mozilla/compile.html Marc Rob Moore wrote: > I was just curious if anybody might have a 64-bit xpi for 0.793 they'd > be willing to share. > > Thanks, > > Rob > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Htmlvalidator-help mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlvalidator-help > |
From: Marc G. <mg...@sk...> - 2006-07-06 23:34:04
|
Hi Nancy, The extension is not done for Netscape 7.x or 8.x. I am even very surprised that it can get installed :-) The list of tested browser is given here: http://users.skynet.be/mgueury/mozilla/download.html It works with Firefox 1.0.x (1.0.7) on Windows, Linux, MacOSX and FreeBSD x86 It works with Firefox 1.5.0.x on Windows, Linux and MacOsX It works with Mozilla 1.7.x, on Windows, Linux, and MacOSX It seems it works too in Flock, but it is a cooincidence. In some Seamonkey version too. But it is also a coincidence :-) Marc CC: to mailing list Nancy Wheeler wrote: > I use Netscape 7.2 as my primary browser, and Firefox for checking web > sites that I build. I installed the HTML validator,and it worked fine > in Firefox, but causes the error listed in the subject in Netscape. I > uninstalled it from Firefox, but still get the error. It also seems > to have caused my BACK button to quit working. > > Any ideas? > > Thank you for your time, > Nancy Wheeler > > |
From: Marc G. <mg...@sk...> - 2006-07-06 23:29:14
|
Hi Kevin, I think you should get interested to this: http://users.skynet.be/mgueury/mozilla/preview_080.html Mostly the difference between the algorithms. Here: http://users.skynet.be/mgueury/mozilla/user_guide.html#Tidy_vs_SGML_parser_ Tidy does an automatic detection of the HTML version due that most HTML page forget the doctype. The SGML parser is more strict about this. If the DTDs is not given at the begining of the page, it is lost. Given what you explain, you probably are more interested by the SGML parser. Marc Ps: cc to the mailing list Kevin Cypers wrote: > Whoops, I didn't notice not everyone is speaking Dutch... so I made a > translation of my previous message... > > Well, I installed your FF HTML Validator extension, but now I'm > wondering if the extension reads a page's doctype to determine the > right syntax. I know Tidy has this feature, but did you also work it > out in your implementation? I can't find this information on your > website. It is important for me to distinguish between HTML 4 > documents and XHTML 1.0 compliant documents, and they both should be > validated the right way... > > My first impression: I think your validator is pretty good. It just > validates, without clicking around, it has a nice integration with FF > and it just looks pretty! Congratulations! > > Sincerely, Kevin Cypers > > -- > > kc...@gm... <mailto:kc...@ti...> > Get Firefox! > <http://www.spreadfirefox.com?q=affiliates&id=121084&t=81> Get > Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=121084&t=178> > > > -------- Original Message -------- > Subject: FF HTML Validator Extension > Date: Thu, 06 Jul 2006 21:22:21 +0200 > From: Kevin Cypers <kc...@gm...> > To: mg...@sk... > > > > Hallo! > > Ik heb je FF HTML Validator extension geinstalleerd (dacht het zelf te > schrijven, maar ik ben altijd blij als iemand mij al voor is :) ) maar > nu vraag ik mij af of die rekening houdt met het doctype van een > pagina om de correcte syntax te bepalen (strict, transitional). Ik > weet dat Tidy dit kan, zit het ook in jouw implementatie? Dit kan ik > niet terugvinden op je website. > > Ik vind de validator op het eerste zicht best goed. Valideert vanzelf, > geen geklik meer, subtiel verwerkt in de browser en mooie afwerking! > > Dank bij voorbaat, Kevin Cypers > -- > > kc...@gm... <mailto:kc...@ti...> > Get Firefox! > <http://www.spreadfirefox.com?q=affiliates&id=121084&t=81> Get > Thunderbird! <http://www.spreadfirefox.com/?q=affiliates&id=121084&t=178> > > |
From: Marc G. <mg...@sk...> - 2006-07-06 23:19:34
|
Hi Naz, Please go here: http://users.skynet.be/mgueury/mozilla/ Please also read about the version 0.8x http://users.skynet.be/mgueury/mozilla/preview_080.html and the SGML parser. http://users.skynet.be/mgueury/mozilla/user_guide.html#Tidy_vs_SGML_parser_ In short, it is a bug in Tidy. (http://tidy.sf.net) Hope it helps, Marc Ps: CC: to the mailing list Naz Gassiep wrote: > There is a problem with the validation of XHTML1.0 Strict files. > > I have put an example up at: http://www.mrnaz.com/tidy-w3c/ you can > see that page validates fine when you view the source in Firefox with > HTML Validator installed, but when you use the W3C validator (there is > a link on that site) it is returned as invalid. > > This is because there is no internal block in the <form> tag, which is > required according to the W3C spec. > > Sorry for emailing you, is there a better place to file bug reports? > > Thanks, > - Naz > > |
From: Rob M. <rm...@es...> - 2006-07-06 14:33:00
|
I was just curious if anybody might have a 64-bit xpi for 0.793 they'd be willing to share. Thanks, Rob |
From: Marc G. <mg...@sk...> - 2006-07-05 19:52:32
|
Hi Leo, To install the extension, please go here for Windows and Linux only. https://addons.mozilla.org/firefox/249/ or here for other platform : I copy paste the remark in the page in case :-) http://users.skynet.be/mgueury/mozilla/download.html ! Warning !! : to install an extension with Firefox from this site : 1. download the extension a first time. 2. a line with a green icon will appear at the top of the browser window to say that the installation is blocked 3. add the website to the authorized list. 4. then download again the extension. Also, like you say, the compliancy is a not a goal in itself. But it helps site to be accessible first. It works better with more browser, more platforms. It helps people to notice their errors when writing dynamic pages and maybe work faster. In short, it is a learning/help tool. Hope it helps, Marc Leo Berkhout wrote: > > Dear Mr. Ms., > > > > I'm using Firefox, and there is no download on your website that works! > > http://users.skynet.be/mgueury/mozilla/index.html > > > > A website should not only focus that it has valid HTML or XML code, > > a website should be functional and useful too. > > > I wish you good luck to setup your nice site! > > > > > > Leo Berkhout > > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Htmlvalidator-help mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlvalidator-help > |
From: Leo B. <Leo...@ec...> - 2006-07-05 10:50:08
|
Dear Mr. Ms., I=92m using Firefox, and there is no download on your website that wo= rks! http://users.skynet.be/mgueury/mozilla/index.html A website should not only focus that it has valid HTML or XML code, a website should be functional and useful too. I wish you good luck to setup your nice site! Leo Berkhout |
From: Marc G. <mg...@sk...> - 2006-06-27 23:03:17
|
Hi Tibor, I am thinking when I find the time to reorganize the way the algorithm are implemented for the next beta. - Tidy - SGML Parser - or both And if a user has no error with both algorithm, then give him the reward to be able to add a HTML icon on his website. What do you think ? Marc Tibor Balogh wrote: > Hi Marc! > > I suggest that you change the extension's icon, now that the extension > contains two pieces of parser method. > > > Regards > Tibor, Balogh > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------------------------------------------------ > > _______________________________________________ > Htmlvalidator-help mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlvalidator-help > |
From: Tibor B. <bal...@gm...> - 2006-06-27 10:05:25
|
Hi Marc! I suggest that you change the extension's icon, now that the extension contains two pieces of parser method. Regards Tibor, Balogh |
From: Tibor B. <bal...@gm...> - 2006-06-25 21:16:50
|
Marc! > Normally, if you click twice on one column, you have the reverse order ? > There is a little arrow that show it on the top of the column > Is it not your case ? It seems to work fine here. I'm sorry, it works fine. But if the resultbox contains few info rows then they will be always on top after the ordering. Regards Tibor, Balogh |
From: Tibor B. <bal...@gm...> - 2006-06-25 19:27:32
|
Dear Marc! >> PS: Pleas, do not cc this mail to htmlvalidator list, then my English >> is very poor. Thanks! Thanks, again! ;-) > But I have just one question. What is the file setup.properties and > how does it work ? Do I just need to copy it file in the locale/tidy > directory ? Look after it in this page: http://kb.mozillazine.org/Localize_extension_descriptions Make this directories into xpi installer: + chrome + defaults | + preferences | defaults.js Contents of defaults.js file for the translatable description of extension: pref("extensions.{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}.description","chrome://tidy/locale/setup.properties"); ... This method works with Fx and Flock but doesn't with Mozilla. > 4) the change about the menu with the parser is not copied > I think that this option is too complex. I prefer for now > the "choose algorithm" dialog box shown at the first start. > (I still need to write it) I made the menuitem for quick parser changing, and I find then it good works with the frameless pages. Is it all correct, or the parser methods are more complexes? I caught this console error message: Error: findParentNode is not defined Source: chrome://tidy/content/tidyValidate.js Row: 1327 The tidyUtilGetPlatform function isn't equivalent in the tidy_firefox_linux_083 and the tidy_firefox_win_083 files. Is it right? Thanks for you will use my some modifications! Regards, Tibor, Balogh |
From: Marc G. <mg...@sk...> - 2006-06-25 16:03:54
|
Normally, if you click twice on one column, you have the reverse order ? There is a little arrow that show it on the top of the column Is it not your case ? It seems to work fine here. Marc Tibor Balogh wrote: > Dear Marc! > > A bug report: > > - Choose the Tidy parser. > - Open a webpage's source. > - Click on any column of result box twice. > - The ordering of the result doesn't work in Tidy mode. > > > Regards, > Tibor Balogh > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Htmlvalidator-help mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlvalidator-help > > > |
From: Marc G. <mg...@sk...> - 2006-06-25 15:55:03
|
Hi Tibor, I imported most but not all of the changes, see below. But I have just one question. What is the file setup.properties and how does it work ? Do I just need to copy it file in the locale/tidy directory ? For the other changes, 1) css files are copied 2) sp* files are copied too 3) the algorithm file is copied 4) the change about the menu with the parser is not copied I think that this option is too complex. I prefer for now the "choose algorithm" dialog box shown at the first start. (I still need to write it) It is more in line with the extension. - Few options and menu items. - And a lot of help that will let people learn about HTML. My current concern is that I got mail from some computer scientists that did not found or understood the choice of algorithm. I understand this since SGML is not one of the most known computer science topic. So, for now the education of the users, and the "Choose algorithm" dialog is, for me, the best method :) I copied the .js part of the code (it can be usefull one day) But not the tidy.dtd part and the browserStatusBar.xul part. 5) Copied the change in tidyValidate.js - about the currentHelpPage For the translation, take care that the extension will change a little before production. But thanks a lot for doing it ! Marc Tibor Balogh wrote: > Dear Marc! > > I modified the extension in some points. > > - A bugfix: When pressed the Ctr+H twice, the Help box was empty. > - Add a parser changer menu item to the statusbars' menu. (but it > somtimes doesn't work exactly and I don't understand why. Exp: Open > the 'http://users.skynet.be/mgueury/mozilla/', the Tidy parser gives 5 > warnings. Change the parse method to SGML with statusbar menu and > change it again to Tidy method. Now the Tidy will write out 1 warning.) > - A shower function to the algorithm.html page. The page will been > show if you click on the help label of Help box! > - Hungarian translation. > > > Regards, > Tibor Balogh > > PS: Pleas, do not cc this mail to htmlvalidator list, then my English > is very poor. Thanks! > > > en-US tidy.dtd: > --------------- > <!ENTITY tidy.browser.menu.enable "Enable"> > <!ENTITY tidy.browser.menu.parser.tidy "Parser: Tidy"> > <!-- <!ENTITY tidy.browser.menu.parser.sp "Parser: SGML"> --> > > <!ENTITY tidy.browser.menu.html_clipboard "Copy HTML to Clipboard"> > > > en-US tidy.properties: > ---------------------- > tidy_disable=Disable > tidy_parser_tidy=Parser: Tidy > tidy_parser_sp=Parser: SGML > > # There are 3 variations of "error" with or without s, because > grammatical plural > # rules depends of the language. Ex: > # > English : 2 errors, 1 error, 0 errors (0 takes 's') > # > French : 2 erreurs, 1 erreur, 0 erreur (0 takes no 's') > tidy_info=info > tidy_error=error > tidy_errors=errors > tidy_0_errors=errors > > > browserStatusBar.xul: > --------------------- > <menuitem label="&tidy.browser.menu.disable;" > id="tidy.browser.menu.disable" > oncommand="oTidyBrowser.onDisable()"/> > <menuitem label="&tidy.browser.menu.parser.tidy;" > id="tidy.browser.menu.parser" > oncommand="oTidyBrowser.changeParser()"/> > <menuseparator/> > > > tidyBrowser.js: > --------------- > this.xulMenuDisable = > document.getElementById('tidy.browser.menu.disable'); > this.xulMenuParser = document.getElementById('tidy.browser.menu.parser'); > this.xulMenuHtmlClipboard = > document.getElementById('tidy.browser.menu.html_clipboard'); > > ... > > this.xulMenuDisable.setAttribute("label", oTidyUtil.getString( > (browser_enable?"tidy_disable":"tidy_enable") )); > this.xulMenuParser.setAttribute("label", oTidyUtil.getString( > "tidy_parser_"+oTidyUtil.getCharPref("algorithm") )); > > // Maybe to uncomment in a next version > > ... > > /** __ onDisable ______________________________________________________ > */ > onDisable : function() > { > oTidyUtil.setBoolPref( "browser_enable", !oTidyUtil.getBoolPref( > "browser_enable" ) ); > this.initIcon(); > }, > > /** __ changeParser ______________________________________________________ > */ > changeParser : function() > { > var isTidyParser = oTidyUtil.getCharPref("algorithm") == "tidy"; > oTidyUtil.setCharPref("algorithm", isTidyParser? "sp":"tidy"); > > this.emptyTidyResult( window.content ); > this.validateFrame( window.content ); > this.updateStatusBar(); > }, > > /** __ emptyTidyResult > ______________________________________________________ > * It sets tidyResult properties to null > * parameter requires window.content > */ > emptyTidyResult : function( main_page ) > { > main_page.document.tidyResult = null; > > var frm = main_page.frames; > for (var i=0; i<frm.length; ++i) > { > this.emptyTidyResult( frm[i] ); > } > } > > > viewSourceAndValidate.xul: > -------------------------- > <vbox valign="middle" flex="1"> > <label control="tidy-explain-error-label" > value="&tidy-explain-error-label;" > onclick="changeHelpPage()" style="cursor:pointer;"/> > </vbox> > > > tidyValidate.js: > ---------------- > function tidyHideValidator() > { > var box = document.getElementById("tidy-validate-box"); > oTidyValidate.hideValidator( !box.hidden ); > > } > > ... > > tidyResult: null, > currentHelpPage: "", > > // Style > > ... > > loadHelp : function(src) > { > var url = [ > "chrome://tidy/content/help/"+oTidyUtil.defaultLanguage+"/"+src, > "chrome://tidy/content/help/en-US/"+src, > > "chrome://tidy/content/help/"+oTidyUtil.defaultLanguage+"/no_help.html", > "chrome://tidy/content/help/en-US/no_help.html" > ]; > > for (var i=0; i<url.length; ++i) > { > if (helpExists(url[i])) > { > this.currentHelpPage = src; > this.xulExplainError.loadURI( url[i] ); > break; > } > } > > function helpExists(fileName){ > try { > var req = new XMLHttpRequest(); > req.open('GET', fileName, false); > req.send(null); > } > catch(ex){ > return false; > } > return true; > } > }, > > ... > > hideValidator : function( bHide ) > { > var box = document.getElementById("tidy-validate-box"); > var splitter = document.getElementById("tidy-splitter"); > box.hidden = splitter.hidden = bHide; > > this.xulMenuHide.setAttribute("checked", !bHide); > > // The validation has already been done ? > if( !bHide && !this.bIsValidated ) > { > oTidyValidate.validateHtmlFromNode(); > } > else > { > oTidyValidate.loadHelp( oTidyValidate.currentHelpPage ); > } > }, > > ... > > > function changeHelpPage() > { > if (!changeHelpPage.prev || ( > changeHelpPage.prev != 'algorithm.html' && > oTidyValidate.currentHelpPage != 'algorithm.html')) > { > changeHelpPage.prev = 'algorithm.html'; > } > var prevPage = oTidyValidate.currentHelpPage; > oTidyValidate.loadHelp( changeHelpPage.prev ); > changeHelpPage.prev = prevPage; > } > |
From: Marc G. <mg...@sk...> - 2006-06-25 14:24:02
|
Hi Tibor, I will respond one by one to your mails. Thanks for this file, it looks better than the original file. Just to be sure, the goal of this file, is to give the choice of the algorithms after he installed the extension. Else it seems several users did not even notice the SGML algorithm. Despite that they knew it was there. But it seems they never looked in the options. So, in the next beta. Just after installing, this algorithm.html will be shown to give the user the opportunity to choose the algorithm. Looking your other files :-) Marc Tibor Balogh wrote: > Dear Marc! > > I modified the algorithm.html file. Use it, if you wish. > > Regards, > Tibor Balogh > > ------------------------------------------------------------------------ > > > Choose your algorithm > > W3C has written 2 programs algorithms to check the compliancy of a > HTML page. > Both algorithms are included in HTML Validator for Firefox. Both have > advantages and incovenients. > > > tidy > HTML Tidy sgml > SGML Parser (OpenSP) > Description It is an algorithm designed only for checking the HTML > syntax. It is the same algorithm running behind the validator.w3.org > Better for HTML XHTML > Accessibility check a WAI level 1,2,3 - > Cleanup page Yes - > Good help Yes No (Todo) > Clear error messages Yes No > Same errors than the validator.w3.org No Yes > Target Audience Beginner Professional > |
From: Tibor B. <bal...@gm...> - 2006-06-24 16:34:40
|
Dear Marc! A bug report: - Choose the Tidy parser. - Open a webpage's source. - Click on any column of result box twice. - The ordering of the result doesn't work in Tidy mode. Regards, Tibor Balogh |
From: Tibor B. <bal...@gm...> - 2006-06-23 16:17:06
|
Dear Marc! This code doesn't hide the validate button, the last rows of the validateHtml method of TidyValidate object. 1.) Open the page's source. 2.) Open validator options and set sgml parser. 3.) Open validator options again and set tidy parser. the code: if( res.algorithm=="sp" ) { var button = document.getElementById("tidy-online-button"); button.hidden=false; } fixing: document.getElementById("tidy-online-button").hidden = res.algorithm!="sp"; Regards Tibor, Balogh |
From: Marc G. <mg...@sk...> - 2006-06-21 22:19:43
|
Thanks Tibor, I will include the fix in the next version. Marc Tibor Balogh wrote: > Dear Marc! > > I modified the loadHelp method of TidyValidate object. > Now the translated "no_help.html" file will be shown. > > loadHelp : function(src) > { > var url = [ > "chrome://tidy/content/help/"+oTidyUtil.defaultLanguage+"/"+src, > "chrome://tidy/content/help/en-US/"+src, > > "chrome://tidy/content/help/"+oTidyUtil.defaultLanguage+"/no_help.html", > "chrome://tidy/content/help/en-US/no_help.html" > ]; > > for (var i=0; i<url.length; ++i) > { > if (helpExists(url[i])) > { > this.xulExplainError.loadURI( url[i] ); > break; > } > } > > function helpExists(fileName){ > try { > var req = new XMLHttpRequest(); > req.open('GET', fileName, false); > req.send(null); > } > catch(ex){ > return false; > } > return true; > } > }, > > Regards, > Tibor, Balogh > > |
From: [LoN]Kamikaze <LoN...@gm...> - 2006-06-21 15:17:39
|
It seems that this line somehow causes the crash. Can you send me nsTidy.= cpp and the nsITidy.idl from the 0.6.x branch, they used to work and I wa= nt to see what changed. |
From: Tibor B. <bal...@gm...> - 2006-06-21 12:57:48
|
Dear Marc! I modified the loadHelp method of TidyValidate object. Now the translated "no_help.html" file will be shown. loadHelp : function(src) { var url = [ "chrome://tidy/content/help/"+oTidyUtil.defaultLanguage+"/"+src, "chrome://tidy/content/help/en-US/"+src, "chrome://tidy/content/help/"+oTidyUtil.defaultLanguage+"/no_help.html", "chrome://tidy/content/help/en-US/no_help.html" ]; for (var i=0; i<url.length; ++i) { if (helpExists(url[i])) { this.xulExplainError.loadURI( url[i] ); break; } } function helpExists(fileName){ try { var req = new XMLHttpRequest(); req.open('GET', fileName, false); req.send(null); } catch(ex){ return false; } return true; } }, Regards, Tibor, Balogh |
From: Marc G. <mg...@sk...> - 2006-06-19 22:49:58
|
Hi Nick, I think too that the users like to see the changelog and that it should be more easily accessible. In the version 0.8x, after the install the browser is redirected at the first start to here: http://users.skynet.be/mgueury/mozilla/new_install.html The goal is that people read the manual, faq and see the release notes. Another way already available to go to the site is - right click on the icon - About... - Visit Home Page Do you think the about and the options dialog box should be merged ? Thanks a lot for the suggestion. Marc Nick Ang wrote: > Mr. Marc Gueury, > > Minor Suggestion: Somewhere in your options window have a link to > your website. > > Something like mozilla's... > > "For more information see: http://users.skynet.be/mgueury/mozilla/" > > So when I want to look at the latest notes, versions, changelog, > etc. I just open up the options and click on the link to visit your > site. > > --Nick > > |
From: Marc G. <mg...@sk...> - 2006-06-19 22:35:37
|
Thanks a lot Tibor, I will make the modification you suggest. Marc Ps: CC to the mailing list (I created a mailing list since last time to archive the mails) Tibor Balogh wrote: > Dear Marc! > > > I modified the tidyUtil.js file from 948. row, it is the parse method > of TidyResultRow. > Pleas, use it if you wish. Then should add tidy_info item to > tidy.properties file. > > switch (this.type){ > case 4: > this.icon = "error"; > this.icon_text = oTidyUtil.getString("tidy_error"); > break; > case 1: > this.icon = "warning"; > this.icon_text = oTidyUtil.getString("tidy_warning"); > break; > case 3: > this.icon = "access"; > this.icon_text = oTidyUtil.getString("tidy_access_warning"); > break; > case 0: > this.icon = "info"; > this.icon_text = oTidyUtil.getString("tidy_info"); > break; > default: > this.data = d; > break; > } > > > Regards > Tibor, Balogh |
From: Marc G. <mg...@sk...> - 2006-06-18 09:04:13
|
What happen at this line in JavaScript, is that Mozilla js create a XPCOM object. You can have a lot more info about XPCOM here. http://www.mozilla.org/projects/xpcom/book/cxc/html/quicktour2.html A XPCOM object is a C++ or Javascript object. That is not special at all. The only special thing is that his header is not defined in a .h file but in a .idl file. It allows to Mozilla to created a kind of registry of available objects types. This line creates a object instance: (a XPCOM object) var tidy_inst = Components.classes["@mozilla.org/tidy;1"].createInstance(); What is really called in my code is just the TidyImpl constructor. The rest is generated by Mozilla. And the error you get, nsTidyImpl_GetInterfacesHelper is not inside my code. I suppose it is generated by one of the MACRO definition in nsTidy.cpp or nsTidyModule.cpp like NS_IMPL_ISUPPORTS1_CI(nsTidyImpl, nsITidy) What I misunderstand is why you get such error when it works on other platforms ? If XPCOM was not working at all Firefox would not work at all. So, this is very strange. Marc [LoN]Kamikaze wrote: > I have found some volunteers who help me testing. Here is some > debugging output: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x8067000 (LWP 100161)] > 0x29ffeb0b in nsTidyImpl_GetInterfacesHelper () > from > /home/fk/.mozilla/firefox/a08wllhs.default/extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components/libnstidy.so > (gdb) where > #0 0x29ffeb0b in nsTidyImpl_GetInterfacesHelper () > from > /home/fk/.mozilla/firefox/a08wllhs.default/extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components/libnstidy.so > #1 0x2817370a in nsGenericFactory::~nsGenericFactory () from > /usr/X11R6/lib/firefox/libxpcom_core.so > #2 0x28f1a825 in XPCNativeSet::GetNewOrUsed () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #3 0x28f1f5f7 in XPCWrappedNativeProto::GetNewOrUsed () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #4 0x28f17dc8 in XPCWrappedNative::GetNewOrUsed () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #5 0x28efd0e1 in XPCConvert::NativeInterface2JSObject () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #6 0x28ef03c8 in nsXPConnect::IsISupportsDescendant () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #7 0x28f04c51 in nsJSCID::NewID () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #8 0x281d2f1b in XPTC_InvokeByIndex () from > /usr/X11R6/lib/firefox/libxpcom_core.so > #9 0x28f153dc in XPCWrappedNative::CallMethod () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #10 0x28f1bf9f in XPC_WN_CallMethod () from > /usr/X11R6/lib/firefox/components/libxpconnect.so > #11 0x280e1de9 in js_Invoke () from /usr/X11R6/lib/firefox/libmozjs.so > #12 0x280d871e in js_Interpret () from /usr/X11R6/lib/firefox/libmozjs.so > #13 0x280e1eb4 in js_Invoke () from /usr/X11R6/lib/firefox/libmozjs.so > #14 0x280d5da5 in js_Interpret () from /usr/X11R6/lib/firefox/libmozjs.so > #15 0x280e1416 in js_Execute () from /usr/X11R6/lib/firefox/libmozjs.so > #16 0x280a78b3 in JS_ExecuteScript () from > /usr/X11R6/lib/firefox/libmozjs.so > #17 0x29c57425 in nsJSContext::ExecuteScript () from > /usr/X11R6/lib/firefox/components/libgklayout.so > > Attached is the complete output of Firefox with debugging symbols. > Maybe you can make something of this. > > ------------------------------------------------------------------------ > > Reading symbols from > /home/fk/.mozilla/firefox/a08wllhs.default/extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components/libnstidy.so...done. > Loaded symbols for > /home/fk/.mozilla/firefox/a08wllhs.default/extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components/libnstidy.so > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x28bbcccb in pthread_testcancel () from /usr/lib/libpthread.so.2 > [New Thread 0x8542400 (sleeping)] > [New Thread 0x83a1600 (sleeping)] > [New Thread 0x82eaa00 (sleeping)] > [New Thread 0x8209800 (sleeping)] > [New Thread 0x80abe00 (runnable)] > [New Thread 0x80abc00 (LWP 100120)] > [New Thread 0x8078000 (LWP 100180)] > (gdb) where > #0 0x28bbcccb in pthread_testcancel () from /usr/lib/libpthread.so.2 > #1 0x28bab5eb in sigaction () from /usr/lib/libpthread.so.2 > #2 0x28ba4c05 in pthread_kill () from /usr/lib/libpthread.so.2 > #3 0x28ba4512 in raise () from /usr/lib/libpthread.so.2 > #4 0x08068961 in nsProfileLock::FatalSignalHandler (signo=11) at > nsProfileLock.cpp:206 > #5 0x28ba946b in sigaction () from /usr/lib/libpthread.so.2 > #6 0x28bab091 in sigaction () from /usr/lib/libpthread.so.2 > #7 0x28bb3efb in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 > #8 0x28bb3f64 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 > #9 0x28c8b5bf in _ctx_start () from /lib/libc.so.6 > #10 0x00000000 in ?? () > #11 0xbfbfd230 in ?? () > #12 0xbfbfcf70 in ?? () > #13 0x00000000 in ?? () > #14 0x28bb3f22 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 > #15 0x281bac53 in nsGenericFactory::GetInterfaces (this=0x1, > countp=0x8078000, array=0x8078000) at nsGenericFactory.cpp:99 > #16 0x28dde135 in XPCNativeSet::GetNewOrUsed (ccx=@0xbfbfd5d8, > classInfo=0x8818ba4) at xpcwrappednativeinfo.cpp:604 > #17 0x28de5225 in XPCWrappedNativeProto::GetNewOrUsed > (ccx=@0xbfbfd5d8, Scope=0x84bfb40, ClassInfo=0x8818ba4, > ScriptableCreateInfo=0xbfbfd4e8, > ForceNoSharing=0) at xpcprivate.h:3363 > #18 0x28dd46c1 in XPCWrappedNative::GetNewOrUsed (ccx=@0xbfbfd5d8, > Object=0x8818be0, Scope=0x84bfb40, Interface=0x81425e0, > resultWrapper=0xbfbfd574) at xpcprivate.h:3366 > #19 0x28db6bea in XPCConvert::NativeInterface2JSObject > (ccx=@0xbfbfd5d8, dest=0xbfbfd6f8, src=0x8818be0, iid=0xbfbfd788, > scope=0x84bfb40, > allowNativeWrapper=0, pErr=0xbfbfd5d4) at xpcprivate.h:3362 > #20 0x28d9bc8a in nsXPConnect::WrapNative (this=0x8136380, > aJSContext=0x84ae800, aScope=0xbfbfd5d8, aCOMObj=0x8818be0, > aIID=@0xbfbfd788, > _retval=0xbfbfd6f8) at nsXPConnect.cpp:586 > #21 0x28dbfa89 in nsJSCID::CreateInstance (this=0x87793c0, > _retval=0xbfbfd9f0) at nsCOMPtr.h:1149 > #22 0x2824f158 in XPTC_InvokeByIndex (that=0x87793c0, methodIndex=10, > paramCount=134709248, params=0xbfbfd9f0) at xptcinvoke_unixish_x86.cpp:179 > #23 0x28dd9521 in XPCWrappedNative::CallMethod (ccx=@0xbfbfdad0, > mode=XPCWrappedNative::CALL_METHOD) at xpcwrappednative.cpp:2151 > #24 0x28de3941 in XPC_WN_CallMethod (cx=0x84ae800, obj=0x877e450, > argc=0, argv=0xbfbfdad0, vp=0xbfbfdc10) at xpcwrappednativejsops.cpp:1445 > #25 0x280e54d1 in js_Invoke (cx=0x84ae800, argc=0, flags=0) at > jsinterp.c:1188 > #26 0x280f20de in js_Interpret (cx=0x84ae800, pc=0x8782a0f ":", > result=0xbfbfdecc) at jsinterp.c:3583 > #27 0x280e5543 in js_Invoke (cx=0x84ae800, argc=1, flags=1) at > jsinterp.c:1208 > #28 0x280edd9e in js_Interpret (cx=0x84ae800, pc=0x876f93a "#", > result=0xbfbfe1a0) at jsinterp.c:3128 > #29 0x280e5d5f in js_Execute (cx=0x84ae800, chain=0x83d1f80, > script=0x881f400, down=0x0, flags=382, result=0x17e) at jsinterp.c:1434 > #30 0x280bb7b3 in JS_ExecuteScript (cx=0x84ae800, obj=0x83d1f80, > script=0x881f400, rval=0xbfbfe254) at jsapi.c:4012 > #31 0x2a2263d1 in nsJSContext::ExecuteScript (this=0x84bfb00, > aScriptObject=0x870c230, aScopeObject=0x83d1f80, aRetValue=0x0, > aIsUndefined=0x0) > at nsJSEnvironment.cpp:1216 > #32 0x2a1fdc78 in nsXULDocument::ExecuteScript (this=0x8450948, > aScriptObject=0x870c230) at nsXULDocument.cpp:3558 > ---Type <return> to continue, or q <return> to quit--- > #33 0x2a1fd8fa in nsXULDocument::OnStreamComplete (this=0x8450800, > aLoader=0x8800400, context=0x0, aStatus=0, stringLen=39007, > string=0x87c9008 "//", '*' <repeats 73 times>, "\r\n// HTML > Validator\r\n//\r\n// File: tidyBrowser.js\r\n// Description: > javascript to validate the HTML in the browser window\r\n//"...) at > nsXULDocument.cpp:3452 > #34 0x28ef015f in nsStreamLoader::OnStopRequest (this=0x8800400, > request=0x87eaf00, ctxt=0x0, aStatus=0) at nsCOMPtr.h:1149 > #35 0x2912b92c in nsJARChannel::OnStopRequest (this=0x87eaf00, > req=0x87f1e80, ctx=0x0, status=0) at nsCOMPtr.h:1149 > #36 0x28ec4a47 in nsInputStreamPump::OnStateStop (this=0x87f1e80) at > nsCOMPtr.h:1149 > #37 0x28ec44a1 in nsInputStreamPump::OnInputStreamReady > (this=0x87f1e80, stream=0x87ead0c) at nsInputStreamPump.cpp:343 > #38 0x28201ef5 in nsInputStreamReadyEvent::EventHandler > (plevent=0x17e) at nsStreamUtils.cpp:119 > #39 0x282258ed in PL_HandleEvent (self=0x88005c4) at plevent.c:688 > #40 0x282257b9 in PL_ProcessPendingEvents (self=0x8136740) at > plevent.c:623 > #41 0x2822880b in nsEventQueueImpl::ProcessPendingEvents > (this=0x8136700) at nsEventQueue.cpp:417 > #42 0x291645f6 in event_processor_callback (source=0x84f1440, > condition=G_IO_IN, data=0x1) at nsAppShell.cpp:67 > #43 0x2898bfdf in g_vasprintf () from /usr/local/lib/libglib-2.0.so.0 > #44 0x289648a8 in g_main_depth () from /usr/local/lib/libglib-2.0.so.0 > #45 0x289656fc in g_main_context_dispatch () from > /usr/local/lib/libglib-2.0.so.0 > #46 0x28965ac1 in g_main_context_dispatch () from > /usr/local/lib/libglib-2.0.so.0 > #47 0x289660e6 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.0 > #48 0x28428534 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.0 > #49 0x29164b9d in nsAppShell::Run (this=0x81df370) at nsAppShell.cpp:139 > #50 0x29269ad6 in nsAppStartup::Run (this=0x81de3c0) at > nsAppStartup.cpp:150 > #51 0x0805718f in XRE_main (argc=1, argv=0x8286f00, > aAppData=0xbfbfe9f0) at nsAppRunner.cpp:2374 > #52 0x0804e977 in main (argc=1, argv=0xbfbfead8) at nsBrowserApp.cpp:61 > (gdb) quit > > > ------------------------------------------------------------------------ > > _______________________________________________ > Htmlvalidator-help mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlvalidator-help |
From: Marc G. <mg...@sk...> - 2006-06-18 08:35:56
|
Hi Marek, By curiosity, which CPU is it ? Which Firefox version ? Which OS type ? 32 or 64 bits ? There is maybe not only a library problem. But also - a CPU problem - or a mismatch in the definition of the C function in one library that is not defined like mine in SuSE when compiling ? Currently, it works with nearly all distrib I tried. Can you try to use ltrace or strace to see what is going on ? Marc Ps: CC to the mailing list Marek Straka wrote: > it is not work in Firefox. > FATAL ERROR : The dynamic C library contained in the extension file could not be found > > Originally I have got message: > marek@thinkpad:~/.mozilla/firefox/2r8li9vt.default/extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components$ ldd libnstidy.so > linux-gate.so.1 => (0xffffe000) > libplds4.so => /usr/lib/libplds4.so (0xb7ed7000) > libplc4.so => /usr/lib/libplc4.so (0xb7ed2000) > libnspr4.so => /usr/lib/libnspr4.so (0xb7e9e000) > libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7e8c000) > libdl.so.2 => /lib/tls/libdl.so.2 (0xb7e88000) > libstdc++.so.5 => not found > libm.so.6 => /lib/tls/libm.so.6 (0xb7e61000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e56000) > libc.so.6 => /lib/tls/libc.so.6 (0xb7d1e000) > /lib/ld-linux.so.2 (0x80000000) > > ..and then I installed libstdc++5 (automatically was installed also gcc3.3) and now I get a mesage: > marek@thinkpad:~/.mozilla/firefox/2r8li9vt.default/extensions/{3b56bcc7-54e5-44a2-9b44-66c3ef58c13e}/components$ ldd libnstidy.so > linux-gate.so.1 => (0xffffe000) > libplds4.so => /usr/lib/libplds4.so (0xb7f6d000) > libplc4.so => /usr/lib/libplc4.so (0xb7f68000) > libnspr4.so => /usr/lib/libnspr4.so (0xb7f34000) > libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f22000) > libdl.so.2 => /lib/tls/libdl.so.2 (0xb7f1e000) > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7e64000) > libm.so.6 => /lib/tls/libm.so.6 (0xb7e3d000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e32000) > libc.so.6 => /lib/tls/libc.so.6 (0xb7cfa000) > /lib/ld-linux.so.2 (0x80000000) > > > But still the same error: > FATAL ERROR : The dynamic C library contained in the extension file could not be found > > > > |