xuleditor-0.01/0000755000076400007640000000000010417455060012131 5ustar raphraphxuleditor-0.01/application.ini0000644000076400007640000000040510417454667015150 0ustar raphraph[App] Vendor=raphael.semeteys@atosorigin.com Name=QSOS XUL Editor Version=0.1 BuildID=20060413 Copyright=Copyright (c) 2006 Raphal Semeteys ID=xuleditor@atosorigin.com [Gecko] MinVersion=1.8 MaxVersion=1.9a1 [shell] Icon=chrome/icons/xuleditor-0.01/chrome/0000755000076400007640000000000010417455153013411 5ustar raphraphxuleditor-0.01/chrome/content/0000755000076400007640000000000010417455132015060 5ustar raphraphxuleditor-0.01/chrome/content/about.xul0000644000076400007640000000147410417454667016746 0ustar raphraph xuleditor-0.01/chrome/content/Document.js0000644000076400007640000003704610417454667017222 0ustar raphraph/* ** Copyright (C) 2006 Atos Origin ** ** Author: Raphal Semeteys ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ** ** ** QSOS XUL Editor ** Documents.js: document object abstracting the QSOS XML format ** ** ** TODO: ** - Authors management ** - License management ** - Load remote QSOS XML file */ //Constructor //name: filepath to the QSOS XML file function Document(name) { var sheet; var file; filename = name; //Public methods declaration this.load = load; this.write = write; this.getkeytitle = getkeytitle; this.getauthors = getauthors; this.addauthor = addauthor; this.getappname = getappname; this.setappname = setappname; this.getlanguage = getlanguage; this.setlanguage = setlanguage; this.getrelease = getrelease; this.setrelease = setrelease; this.getlicenselist = getlicenselist; this.getlicenseid = getlicenseid; this.setlicenseid = setlicenseid; this.getlicensedesc = getlicensedesc; this.setlicensedesc = setlicensedesc; this.geturl = geturl; this.seturl = seturl; this.getdesc = getdesc; this.setdesc = setdesc; this.getdemourl = getdemourl; this.setdemourl = setdemourl; this.getqsosformat = getqsosformat; this.setqsosformat = setqsosformat; this.getqsosspecificformat = getqsosspecificformat; this.setqsosspecificformat = setqsosspecificformat; this.getqsosappfamily = getqsosappfamily; this.setqsosappfamily = setqsosappfamily; this.getkeydesc = getkeydesc; this.setkeydesc = setkeydesc; this.getkeydesc0 = getkeydesc0; this.setkeydesc0 = setkeydesc0; this.getkeydesc1 = getkeydesc1; this.setkeydesc1 = setkeydesc1; this.getkeydesc2 = getkeydesc2; this.setkeydesc2 = setkeydesc2; this.getkeycomment = getkeycomment; this.setkeycomment = setkeycomment; this.getkeyscore = getkeyscore; this.setkeyscore = setkeyscore; this.dump = dump; this.getfilename = getfilename; this.setfilename = setfilename; this.getcomplextree = getcomplextree; //////////////////////////////////////////////////////////////////// // QSOS XML file functions //////////////////////////////////////////////////////////////////// //Load and parse the local QSOS XML file //initializes local variable: sheet function load() { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("Permission to read file was denied."); } var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath( filename ); if ( file.exists() == false ) { alert("File does not exist"); } var is = Components.classes["@mozilla.org/network/file-input-stream;1"] .createInstance( Components.interfaces.nsIFileInputStream ); is.init( file,0x01, 00004, null); var sis = Components.classes["@mozilla.org/scriptableinputstream;1"] .createInstance( Components.interfaces.nsIScriptableInputStream ); sis.init( is ); var output = sis.read( sis.available() ); var domParser = new DOMParser(); sheet = domParser.parseFromString(output, "text/xml"); } //Serialize and write the local QSOS XML file function write() { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("Permission to save file was denied."); } var file = Components.classes["@mozilla.org/file/local;1"] .createInstance(Components.interfaces.nsILocalFile); file.initWithPath( filename ); if ( file.exists() == false ) { file.create( Components.interfaces.nsIFile.NORMAL_FILE_TYPE, 420 ); } var outputStream = Components.classes["@mozilla.org/network/file-output-stream;1"] .createInstance( Components.interfaces.nsIFileOutputStream ); outputStream.init( file, 0x04 | 0x08 | 0x20, 420, 0 ); var serializer = new XMLSerializer(); var xml = serializer.serializeToString(sheet); var result = outputStream.write( xml, xml.length ); outputStream.close(); } //Load and parse a remote QSOS XML file //ex: loadremote("http://localhost/qedit/xul/kolab.qsos") //initializes local variable: sheet function loadremote(url) { req = new XMLHttpRequest(); req.open('GET', url, false); req.overrideMimeType('text/xml'); req.send(null); sheet = req.responseXML; } //Show the XML DOM structure in a dialogbox function dump() { var serializer = new XMLSerializer(); var xml = serializer.serializeToString(sheet); alert(xml); } //////////////////////////////////////////////////////////////////// // Tree functions //////////////////////////////////////////////////////////////////// //Returns true if an element has subelements, false if not //name: element's name attribute in the QSOS sheet function hassubelements(name) { var nb = sheet.evaluate("count(//*[@name='"+name+"']/element)", sheet, null, XPathResult.ANY_TYPE, null).numberValue; if (nb > 0) { return true; } else { return false; } } //Returns hierachical tree of objects representing the sheet's criteria //Array of "criterion" objects typed like this: // criterion.name: section or element's name attribute in the QSOS sheet // criterion.title: section or element's title attribute in the QSOS sheet // criterion.children: array of "criterion" objects representing the element's subelements // or "null" if element doesn't have any subelements function getcomplextree() { var criteria = new Array(); var sections = sheet.evaluate("//section", sheet, null, XPathResult.ANY_TYPE,null); var section = sections.iterateNext(); while (section) { var criterion = new Object(); criterion.name = section.getAttribute("name"); criterion.title = section.getAttribute("title"); criterion.children = getsubcriteria(criterion.name); criteria.push(criterion); section = sections.iterateNext(); } return criteria; } //Recursive function for subelements //name: element's name attribute in the QSOS sheet //Returns an array of "criterion" objects typed like this: // criterion.name: section or element's name attribute in the QSOS sheet // criterion.title: section or element's title attribute in the QSOS sheet // criterion.children: array of "criterion" objects representing the element's subelements // or "null" if element doesn't have any subelements function getsubcriteria(name) { var subcriteria = new Array(); var elements = sheet.evaluate("//*[@name='"+name+"']/element", sheet, null, XPathResult.ANY_TYPE,null); var element = elements.iterateNext(); while (element) { var criterion = new Object(); criterion.name = element.getAttribute("name"); criterion.title = element.getAttribute("title"); criterion.children = getsubcriteria(criterion.name); subcriteria.push(criterion); element = elements.iterateNext(); } if (subcriteria.length > 0) return subcriteria; else return "null"; } //////////////////////////////////////////////////////////////////// // Generic getters ans setters (private functions) //////////////////////////////////////////////////////////////////// //Get the value of a unique tag in the QSOS XML file //element: tagname //Returns tag's value or "" if tag doesn't exist function getkey(element) { var nodes = sheet.evaluate("//"+element, sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); if (node) return node.textContent; else return ""; } //Set the value of an unique tag in the QSOS XML file //element: tagname //value: tag's new value function setkey(element, value) { var nodes = sheet.evaluate("//"+element, sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); if (node) node.textContent = value; } //Get the value of a specific element's subelement in the QSOS XML file //element: element's name in the QSOS XML file //subelement: subelement's tagname in the QSOS XML file //Returns subelement's value or "" if subelement doesn't exist (-1 if subelement is "score") function getgeneric(element, subelement) { var nodes = sheet.evaluate("//element[@name='"+element+"']/"+subelement, sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); if (node) return node.textContent; else if (subelement == "score") return -1; else return ""; } //Set the value of a specific element's subelement in the QSOS XML file //element: element's name in the QSOS XML file //subelement: subelement's tagname in the QSOS XML file //value: subelement's new value function setgeneric(element, subelement, value) { var nodes = sheet.evaluate("//element[@name='"+element+"']/"+subelement, sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); if (node) node.textContent = value; } //////////////////////////////////////////////////////////////////// // Specific getters ans setters (public functions) //////////////////////////////////////////////////////////////////// function setfilename(name) { filename = name; } function getfilename() { return filename } function getkeytitle(element) { var nodes = sheet.evaluate("//element[@name='"+element+"']", sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); if (node) return node.getAttribute("title"); else return ""; } function getappname() { return getkey("appname"); } function setappname(value) { return setkey("appname", value); } function getlanguage() { return getkey("language"); } function setlanguage(value) { return setkey("language", value); } function getrelease() { return getkey("release"); } function setrelease(value) { return setkey("release", value); } function geturl() { return getkey("url"); } function seturl(value) { return setkey("url", value); } function getdesc() { return getkey("desc"); } function setdesc(value) { return setkey("desc", value); } function getdemourl() { return getkey("demourl"); } function setdemourl(value) { return setkey("demourl", value); } function getqsosformat() { return getkey("qsosformat"); } function setqsosformat(value) { return setkey("qsosformat", value); } function getqsosspecificformat() { return getkey("qsosspecificformat"); } function setqsosspecificformat(value) { return setkey("qsosspecificformat", value); } function getqsosappfamily() { return getkey("qsosappfamily"); } function setqsosappfamily(value) { return setkey("qsosappfamily", value); } function getkeydesc(element) { return getgeneric(element, "desc") } function setkeydesc(element, value) { return setgeneric(element, "desc", value); } function getkeydesc0(element) { return getgeneric(element, "desc0") } function setkeydesc0(element, value) { return setgeneric(element, "desc0", value); } function getkeydesc1(element) { return getgeneric(element, "desc1") } function setkeydesc1(element, value) { return setgeneric(element, "desc1", value); } function getkeydesc2(element) { return getgeneric(element, "desc2") } function setkeydesc2(element, value) { return setgeneric(element, "desc2", value); } function getkeycomment(element) { return getgeneric(element, "comment") } function setkeycomment(element, value) { return setgeneric(element, "comment", value); } function getkeyscore(element) { return getgeneric(element, "score"); } function setkeyscore(element, value) { return setgeneric(element, "score", value); } //////////////////////////////////////////////////////////////////// // Authors management //////////////////////////////////////////////////////////////////// function getauthors() { //FIXME: return name AND email... var authors = new Array(); var nodes = sheet.evaluate("//authors", sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); var children = sheet.evaluate("//name", node, null, XPathResult.ANY_TYPE,null); var child = children.iterateNext(); while (child) { name = child.textContent; authors.push(name); child = children.iterateNext(); } return authors; } function addauthor(varname, varemail) { var nodes = sheet.evaluate("//authors", sheet, null, XPathResult.ANY_TYPE,null); var node = nodes.iterateNext(); var author = sheet.createElement("author"); var name = sheet.createElement("name"); name.appendChild(document.createTextNode(varname)); var email = sheet.createElement("email"); email.appendChild(document.createTextNode(varemail)); author.appendChild(name); author.appendChild(email); node.appendChild(author); } //////////////////////////////////////////////////////////////////// // Licenses management //////////////////////////////////////////////////////////////////// function getlicenselist() { return new Array("Affero GPL", "AFPL (Aladdin)", "APSL (Apple)", "Copyback License", "DFSG approved", "Eclipse Public License", "EFL (Eiffel)", "Free for Eductional Use", "Free for Hum Use", "Free for non-commercial use", "Free but Restricted", "Freely Distribuable", "Freeware", "NPL (Netscape)", "NOKOS (Nokia)", "OSI Approved", "Proprietary", "Proprietary with trial", "Proprietary with source", "Public Domain", "Shareware", "SUN Binary Code License", "The Apache License", "The Apache License 2.0", "CeCILL License (INRIA)", "Artistic License", "LPPL (Latex)", "Open Content License", "Voxel Public License", "WTFPL", "Zope Public License", "GNU GPL", "GNU LGPL", "BSD", "GNU approved License", "GNU FDL"); } function getlicenseid() { return getkey("licenseid"); } function setlicenseid(value) { return setkey("licenseid", value); } function getlicensedesc() { return getkey("licensedesc"); } function setlicensedesc(value) { return setkey("licensedesc", value); } }xuleditor-0.01/chrome/content/editor.js0000644000076400007640000003273710417454667016734 0ustar raphraph/* ** Copyright (C) 2006 Atos Origin ** ** Author: Raphal Semeteys ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ** ** ** QSOS XUL Editor ** editor.js: functions associated with the editor.xul file ** ** ** TODO: ** - Authors management ** - License management ** - Load remote QSOS XML file */ //Object "Document" representing data in the QSOS XML file var myDoc; //Indicator of document modification var docChanged; //id (actually "name" in the QSOS XML file) of the currently selected criteria in the tree var id; //Window initialization after loading function init() { docChanged = "false"; freezeGeneric("true"); freezeScore("true"); freezeComments("true"); //Menu management document.getElementById("file-save").setAttribute("disabled", "true"); document.getElementById("file-saveas").setAttribute("disabled", "true"); document.getElementById("file-close").setAttribute("disabled", "true"); } //////////////////////////////////////////////////////////////////// // Menu "File" functions //////////////////////////////////////////////////////////////////// ////////////////////////// //Submenu "File/Open" ////////////////////////// //Opens a local QSOS XML file and populates the window (tree and generic fields) function openFile() { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("Permission to open file was denied."); } var nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Select a file", nsIFilePicker.modeOpen); fp.appendFilter("QSOS file","*.qsos"); var res = fp.show(); if (res == nsIFilePicker.returnOK) { myDoc = new Document(fp.file.path); myDoc.load(); //Window's title document.getElementById("QSOS").setAttribute("title", "QSOS evaluation: "+myDoc.getappname()); //Tree population var tree = document.getElementById("mytree"); var treechildren = buildtree(); tree.appendChild(treechildren); //Other fields document.getElementById("f-software").setAttribute("value", myDoc.getappname()); document.getElementById("f-release").setAttribute("value", myDoc.getrelease()); document.getElementById("f-sotwarefamily").setAttribute("value", myDoc.getqsosappfamily()); document.getElementById("f-desc").setAttribute("value", myDoc.getdesc()); document.getElementById("f-url").setAttribute("value", myDoc.geturl()); document.getElementById("f-demourl").setAttribute("value", myDoc.getdemourl()); freezeGeneric(""); //Menu management document.getElementById("file-close").setAttribute("disabled", "false"); document.getElementById("file-saveas").setAttribute("disabled", "false"); } } //Checks Document's state before opening a new one function checkopenFile() { if (myDoc) { if (docChanged == "true") { confirmDialog("Document has been modified but not saved, close it anyway?", closeFile); } else { closeFile(); } } openFile(); } //XUL Tree recursive creation function function buildtree() { var treechildren = document.createElement("treechildren"); treechildren.setAttribute("id", "myTreechildren"); var criteria = myDoc.getcomplextree(); for (var i=0; i < criteria.length; i++) { treeitem = newtreeitem(criteria[i]); treechildren.appendChild(treeitem); } return treechildren; } //XUL Tree recursive creation function function newtreeitem(criterion) { var treeitem = document.createElement("treeitem"); treeitem.setAttribute("container", "true"); treeitem.setAttribute("open", "true"); var treerow = document.createElement("treerow"); var treecell = document.createElement("treecell"); treecell.setAttribute("id", criterion.name); treecell.setAttribute("label", criterion.title); treerow.appendChild(treecell); treeitem.appendChild(treerow); if (criterion.children != "null") treeitem.appendChild(buildsubtree(criterion.children)); return treeitem; } //XUL Tree recursive creation function function buildsubtree(criteria) { var treechildren = document.createElement("treechildren"); for (var i=0; i < criteria.length; i++) { treeitem = newtreeitem(criteria[i]); treechildren.appendChild(treeitem); } return treechildren; } ////////////////////////// //Submenu "File/Save" ////////////////////////// //Saves modifications to the QSOS XML file function saveFile() { if (myDoc) { myDoc.write(); docChanged = "false"; //Menu management document.getElementById("file-save").setAttribute("disabled", "true"); } } ////////////////////////// //Submenu "File/Save As" ////////////////////////// //Saves modifications to a new QSOS XML file function saveFileAs() { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("Permission to open file was denied."); } var nsIFilePicker = Components.interfaces.nsIFilePicker; var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Save the file as", nsIFilePicker.modeSave); fp.appendFilter("QSOS file","*.qsos"); var res = fp.show(); if (res == nsIFilePicker.returnOK) { myDoc.setfilename(fp.file.path); myDoc.write(); docChanged = "false"; } } ////////////////////////// //Submenu "File/Close" ////////////////////////// //Closes the QSOS XML file and resets window function closeFile() { document.getElementById("QSOS").setAttribute("title", "QSOS XUL Editor"); document.getElementById("f-software").setAttribute("value", ""); document.getElementById("f-release").setAttribute("value", ""); document.getElementById("f-sotwarefamily").setAttribute("value", ""); document.getElementById("f-desc").setAttribute("value", ""); document.getElementById("f-url").setAttribute("value", ""); document.getElementById("f-demourl").setAttribute("value", ""); document.getElementById("f-c-title").setAttribute("value",""); document.getElementById("f-c-id").setAttribute("myid", ""); document.getElementById("f-c-desc0").setAttribute("label", "Score 0"); document.getElementById("f-c-desc1").setAttribute("label", "Score 1"); document.getElementById("f-c-desc2").setAttribute("label", "Score 2"); document.getElementById("f-c-score").selectedIndex = -1; document.getElementById("f-c-comments").value = ""; init(); myDoc = null; id = null; var tree = document.getElementById("mytree"); var treechildren = document.getElementById("myTreechildren"); tree.removeChild(treechildren); } //Checks Document's state before closing it function checkcloseFile() { if (docChanged == "true") { confirmDialog("Document has been modified, save it before?", saveFile); } closeFile(); } ////////////////////////// //Submenu "File/Exit" ////////////////////////// //Exits application function exit() { self.close(); } //Checks Document's state before exiting function checkexit() { if (docChanged == "true") { confirmDialog("Document has been modified but not saved, exit anyway?", exit); return; } else { exit(); } } //////////////////////////////////////////////////////////////////// // Menu "Tree" function //////////////////////////////////////////////////////////////////// //Submenus "Tree/Expand All" and "Tree/Collapse All" //Expends or collapses the tree //bool: "false" dans collapse, "true" to expand function expandTree(bool) { var treeitems = document.getElementsByTagName("treeitem"); for (var i = 0; i < treeitems.length ; i++) { var children = treeitems[i].getElementsByTagName("treeitem"); if (children.length > 0) treeitems[i].setAttribute("open", bool); } } //////////////////////////////////////////////////////////////////// // Menu "Help" function //////////////////////////////////////////////////////////////////// //Submenu "Help/About" //Shox the about.xul window in modal mode function aboutDialog() { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("Permission to open file was denied."); } window.openDialog('chrome://qsos-xuled/content/about.xul','About','chrome,dialog,modal'); } //////////////////////////////////////////////////////////////////// // Helper functions //////////////////////////////////////////////////////////////////// //Generic call to a confirmation dialog window in modal mode //content: question to be asked ti the user //doaction: callback function to trigger if user answers "yes" to the question function confirmDialog(content, doaction) { try { netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); } catch (e) { alert("Permission to open file was denied."); } window.openDialog('chrome://qsos-xuled/content/confirm.xul','Confirm','chrome,dialog,modal',content,doaction); } //(Un)freezes generic input files (software properties) //bool: "true" to freeze; "" to unfreeze function freezeGeneric(bool) { document.getElementById("f-software").disabled = bool; document.getElementById("f-release").disabled = bool; document.getElementById("f-sotwarefamily").disabled = bool; document.getElementById("f-desc").disabled = bool; document.getElementById("f-url").disabled = bool; document.getElementById("f-demourl").disabled = bool; } //(Un)freezes the "Score" input files (current criteria properties) //bool: "true" to freeze; "" to unfreeze function freezeScore(bool) { document.getElementById("f-c-score").disabled = bool; } //(Un)freezes the "Comments" input file (current criteria property) //bool: "true" to freeze; "" to unfreeze function freezeComments(bool) { document.getElementById("f-c-comments").disabled = bool; } //////////////////////////////////////////////////////////////////// // Event functions //////////////////////////////////////////////////////////////////// //Triggered when a new criterion is selected in the tree //Fills criteria's fields with new values function treeselect(tree) { //Forces focus to trigger possible onchange event on another XUL element document.getElementById("mytree").focus(); id = tree.view.getItemAtIndex(tree.currentIndex).firstChild.firstChild.getAttribute("id"); document.getElementById("f-c-title").setAttribute("value", myDoc.getkeytitle(id)); document.getElementById("f-c-id").setAttribute("myid", id); document.getElementById("f-c-desc0").setAttribute("label", "0: "+myDoc.getkeydesc0(id)); document.getElementById("f-c-desc1").setAttribute("label", "1: "+myDoc.getkeydesc1(id)); document.getElementById("f-c-desc2").setAttribute("label", "2: "+myDoc.getkeydesc2(id)); var score = myDoc.getkeyscore(id); if (score == "-1") { document.getElementById("f-c-deck").selectedIndex = "0"; document.getElementById("f-c-desc").setAttribute("value", myDoc.getkeydesc(id)); freezeScore("true"); } else { document.getElementById("f-c-score").selectedIndex = score; document.getElementById("f-c-deck").selectedIndex = "1"; freezeScore(""); } document.getElementById("f-c-comments").value = myDoc.getkeycomment(id); freezeComments(""); } //Triggered when software name is modified function changeAppName(xulelement) { docChanged = "true"; myDoc.setappname(xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when software release is modified function changeRelease(xulelement) { docChanged = "true"; myDoc.setrelease(xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when software family is modified function changeSoftwareFamily(xulelement) { docChanged = "true"; myDoc.setqsosappfamily(xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when software description is modified function changeDesc(xulelement) { docChanged = "true"; myDoc.setdesc(xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when software URL is modified function changeUrl(xulelement) { docChanged = "true"; myDoc.seturl(xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when software demo URL is modified function changeDemoUrl(xulelement) { docChanged = "true"; myDoc.setdemourl(xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when current criteria's comments are modified function changeComments(xulelement) { docChanged = "true"; myDoc.setkeycomment(id, xulelement.value); document.getElementById("file-save").setAttribute("disabled", "false"); } //Triggered when current criteria's score is modified function changeScore(score) { docChanged = "true"; myDoc.setkeyscore(id, score); document.getElementById("file-save").setAttribute("disabled", "false"); } xuleditor-0.01/chrome/content/confirm.xul0000644000076400007640000000122710417454667017265 0ustar raphraph xuleditor-0.01/chrome/content/editor.xul0000644000076400007640000001037010417454667017115 0ustar raphraph xuleditor-0.01/chrome/content/logo-qsos.png0000755000076400007640000003333210417454667017534 0ustar raphraphPNG  IHDR:RߠwsBIT|dtEXtSoftwarewww.inkscape.org< IDATx}y]ET5; I@ { â?GEq'(* "2*H4l&5D$t_ou~۽xu:!$ęq~ϧ>woթSN:UGCDd3f̘=Bf0LRI˲z,Z03o=*DXDjhh-/Y`Ax޼yFha6Z2 ݋g}i< 3;|B?tD`_KJJҗT3m4JNaY,˂8PJK)% "]6Otvv^ ,"j7n]w݄iӦ@`. 㠯;v}B,"arvömWFGg#UYY~5&L@YY`aꫯbʕ#F4VX^>/ ;cY?!ٳg{555Ak qF5:+ؽ{4VT1cƌEEEX쾿ߌ>P(tRss= (Rxgj*ض}xpea6m{7Dkk+MVovks?v:`($Hcc{13BB@kT*g/l6;(hnnƳ>1, w}7^{5^zg<̙ߌXeee . G\D@DX,> xꩧ *p\曑fK/yMdI.z!nirP@QQ}Q|[:'O>"o~HRpxG@DH$800hqI'},D"?ĬY8DB?3zzzxMROH)O(G__pUWa…mӦMg?ُ3 .ц'5 y^qqH}vZG6l@[[q|Gd^ZZc=m/5qb1b1zG̸rJ03n֑z{{GWX*p9,*Rǯ'Ln;<44A|e' ޽{a@6qu駏\3 GSOP(8<'LNUJm۶^xkX3\oQiH$hiΜ9#dR۷ b׮=(.}db ѕW^bRU8Noݺuܹs[w96(0\pƥKΪk]~3g.ݱcGO[oMhjjj߰aC] jkkL8q(ϊ<~{ʕV 2e`6X `~#tJJJp"z'ߊ |{o xd`.eW! y<?F_W\&RQ_yEEE׋ٳgwwvv6qVX11\rM7ݴyݺusټuJ"JQv0NGp&lPYY vww1s[J 38Yh$!"r>-[9g۸M 4c\wv wo|$o,Cgg'k.l޼yf_L7p`f.s\JZf444^'xbkWWW'MԹjժ r;sz**w'[\\1cիW4iR۲e&'}D "J曁P(q ڶ+))I۶-f̘iѢE%Ky͛7EtpXYhhi&n!̨8@s۷/nt,5, TjcϞ44GOOՅ>scfꪫ֖fnڰgϞŋff̛7 33loo̚5%;6qQ) f è:3J)4MW1a„PR)$ #8  X#˃9) k.aÆ xGFO3h8\ڶ=rƍ|˭!>xW\֭[˯s񵵵PsUW_QQg۶m|>pGG_k-ZS(񢢢SUUZquiYr)[f̘џL&c]tfzݲe˚RTc@f%%%Vؑ4#ȋ\&79= 0ؘ}nh^*w\#ܷo}Y,ZdCCCC8F_olk,u Ȳ` gK1T~+Voq@8szG+D| 3k|/^><<t\"[q'w-_|ɓ[) ;g̘7߬;sVO]s5o"߱^78L>Ot`li0pU~3ef2 Ã$;^oK8>@mڴ ]]]Xp!ߏp8`0ҊxMܙ 0>ՑH[ +/^abGգ9PP7y73$Fײ,_SSSrݺus_vכ3fL߼jժŋq`<φm5_|G}tY?K+~?W~j񱶶w+r×4̜9mfK/t/K͛&M4PH: ɓw&Is40cRn_EEE'fF(`q>x.4ͣض}S2.ׇ'xeee8q"jkkQSSH$-u{ .dhxBiaMv:$s"û/^OәK~rժUӯʍ7nB5k֔?;o6aWKKKRʘ;wwyiɒ%ܹjԩ]]]طo_1 ^:S"BQQ8"Z\VVSJ &a5wܖ1x?,7`ʔ)C "0ΌLsT`0/ѿ~_\ݻwGG,\pc*r44aPqֺ\ۤw(;"FC,`Oht( ݈D1eJ1JJJ Fv#$ΝVgggGccV2lRz)lXrw}Mͻdf߾}`0ؖJf;vwޙZ[[7SE^7FKBP:[ZZ>}zw>w `K}n;3ӂ ^~x{{X׫?v93_frCuN}}`&8#F;;;#z>yo|(6aN;V^g#!e= &–GcO/m xT eeeرcR¶m7xϿo1s̝~PYYYVkmnܸ}}}0uدↆw-2&Ozϙ3whh(f͚@˿/^wTuLw766(4/_}zT)%nUHD)%KA_{֭cw}CCK`0v&S}nzpnUUU,J.lARarp;-u'9ihoojuMAVd:}|7\›( 4oAyS`3qiCYkMgį{ yGgcЇnFсT*5rVÇ 0h˲x`Y00M~X 㠻ΌD"_~k'N8 ?OzW~ 79c:Uh"lk_^&kK)(gyA8SF_m6KJ6'y̘ѫ4nܸ3A8vx&hEx#gyL@"Dȥ^}{PwěZ,jK~7_lyrNČefI &" @0o,ODXL7> 0S,-kg %FBm /޶?0}|T~DM񢢢vDQRgM:CCC#'̴RJAJ@ 0c6z{{1fx<CQm6… 7{nYho͢^vo,b\DCm )BD,Lf,YеwoRϙӊ0@Ĩk@p'~~)$Ц4ؐyR)6$ aJeUz%`=Oų_TT^=XաpL . 7˅7<ިBOO ,v96a„t5\d|>`@<<,SwuP4z:K)H !3v,C1c@advoJ3$a^ueрQos6 `t>X"P c,%$A҄PY0ۢiXH0 )cS-^s~}f"H"bfϢ1f a2 2Ӎ =C"wOsec z+KvR`"hKC&k )%,13>K )Bi'55O|縁CKq3P ø+/Ǐo>>OkYg vZ,[ xmW:^s5cfO۾}{_,<(3/M"B4@嗝u<ZPJ9s^vٺotFRv $Hash:Q~$w;X欀&5EM>50Ou Kxy~Ʌrv"iHGvzie&& Fuf 3PЌ|=.g)Gowr~bo N}[sGw]] M5\G}]tJKKXW._|E3x) H01z{UI`~ޡ@USSxgqGe qFVUU 4qYgaΜ91J! y睫͛wyZ{{{gfbj]R*"Ҟ]wMrFo|41@acgu׋w/$yx,˗ɞ1vU],hw3BJ "MB(1xrOBpn~' - C*'FnC#ALR0HƷCⅶy,NKCh"%Io")M9x0 1-ry ]Rw{?+,yLJҽ%XJ-AQ_B8O&  "2dMj|^iBd`j}UpZ 8s?T4:F#nDKKKqmOmۆeY0 xժU777xkx&Ǐ5 hS5]n. }?y"re1SGْm<|y0 E7J0;Bk-l| m&o&v[ m\pL)8Y8D_)cHaK)l)cHݞ7~%% J V1} 2.;&XBKԂʋDr+t!24R:R GH)-ï~y.Ӆ J Gn)әkǷ:KBx4T0ErAJٟ,! %TBpddv؃ ,CZ֐fy%wm9mPy0Xz!477$ v8p-Z%KWw쟕23җӧ#glۆҽw/1`$E' ˅̺uԚ5I 8ȑD lAd cWsq4iZhy33vdl bCLӄ$LXR)6ȑ'IJ+APZ Z@kZU0Yq$- h7\.l{1LJHr$ I $gwjcf]ٔa(TyI&Xhͤsچ'\344XH0TyWx#tI!!k,0d!,&aiHKC8 Giq{A4H2;`IDATcM9X[}ǼyC?_x''w?= ޶{M4 'p رv Kg?ssB\s5D~ BdJ۶ bL62m쳥i0M˖% "%sʖB##,ˎ?lBJ 㡒3RJ)rEJj\P{w hS6KBm b4aH*&G#;Y Jj+%Ěk;&!Wڌ5 iFIiؒ|-Ű-$)rZ &IlV>A"9|IҚSw#3D$ M$L&)GH)QLXa3d!2y@5X؊,⻶O3>2袋pYg ./ؓsq=Ṇ yGŗ_ӋD8Ќq=ր۷|啩Bk?JC3fHiPڶ-+P8MD ̅)Y3'VJ}-BD͙c:NJ)8Ri蛶)4A|R"f5 ""_e^e""|h1AK` Ҋ; ֺ(o.߫l8T+aB`iրpDPʇ2&& Vwg[1flOh8ZC=M&A!yP)t\$ΛWx/ VBiY3+0: Ҁ` cyN=u~g;\W_\{v*|~a~u8־<~ ƕ9Sz٫J}̌瞺>l 40/uCJvWV+&"Bs"R̬ b5geN oD8GmkNW23?W1ּ)9S qs}Ӱӹ-iwlK=X֒XvXiGvb:Ɋ:Hf"ŀ`\ F[vAk@(b( /6BGvUl &-ïfl%>" L /m%g/r,̝X3ݻ+ۻ#g'ah&C3\ff`hfd@)E [@@v:[l|pB$Pn=07b0>`0wUOT^. 500vn + .썕52`2 "m߿DZd2~u! tAI)ff&)5 a!H58ĎCp٬r3k(%5CkMI pn[ȭn9؜twQ|r@JM O@ʆ!ϸ9!5l[s"m3I++fUB u}fr>=̀ v0RRBPF p@aC' 3HQe5 |P{2[\5k|pO3LY|lq';7fhPi Lo@ $[sŶƙcX\1~%`!Nn{0b 3}^==Tm +%-s+4? cX8N^; p<tAhͅg %֚GPN+q^;ETm;p 4R'sbkb-! =UUWJQ7mT5{]FQdwkvI.`"%+DBѪ(!ᣴp8ԦbI Ѭri8nʣn_RX*~P7 L\k3f TqM 7U{J&TyFƔ#?Ǻ= f>D= 1#\`dkAcI mhѲ-_mY`i@gMH"dD~ȗCaYYmί#@E,wEB\`!r^J!38PJH%%YF/}s^C&7NsD#+md8t ?zYR&oHNjc'`%DXHndiY68 )DGA!C'Ifh,C)fKCsY9 @NdX0roj^V{9 53LL3hwN Y(`x8ߞUѩNid߁[h{xT#۹Ұ_c h qb˹|֨>ymyw R >i9Qccڈ={b1mi.,bfKB A" 9ב^)DLф48ιs&%`H?=N:7eqnI|:Y  .|/Hf>ɱީ!PlVOӻUt/|@LN>os; ɹUcPi(K:o}E/Eaq` Ͳa!N4M8v\N~gN&r~ض C=,j\˳FV$*H)rņO?]6ö ,!ErZHDN8ǖ%`c@)2qrI)J(9!/h`I)SvP`'KX q6M22Wf` ({vU۪UNtg]E݋a O ĕ@!RA6`K8Ȋ#pbђ2-C1Lo>@j6F*;1)q-hxrrזQJ`/tr;L9Y( w|~~R52kPt;ԦfţY%&L=vl)*ə q6KɈy5<,k&*++188`fJ\t3y'$f9KXǻT~~W9[YiALv}̒=?ihm0Raf8B._r6SeZ9``&^H;zQ11~- '[0c篌;wsc1`(Sѻ%5yDs~#}NWk,.}Ɍesy;ƝZ` +us//Oc;RiﷲOL&J5s/9u&0Kf`-_BF 1@wTvynOOO*.NN}ȢEaH_A1` ; A{+W5 `zxG9"dwt0/#m~4O{2?'pק4xgFdܾ+k1?]/QpQeCں.3n`! I.\y|o`L_}G;@?) {mpvyKH5lnz cfa/,ex%~YQsRJSN]nc(3LJC007gyجI|a=KI&?5]t  sg3]j`)sl4v 2_!_Px7jsFϨϏ3|k4sד8<"`2Ȭ^ 7U۝~7՚ޖ9jsrĠO%$ՠK ;\l~i4n5և-oy\qMh6R~e.oCWՆԍ4w4gCsr,`!G_߈9_x J)DQ ׬֏ 4tuuE?䉸"VGQVk~C_e4?+uםwƢwߝ֣#U?T>j?X>+ĉWzG`; Jlʸ]OnO8%M9eW/N(lCӬ6_0cQ4>7*in?.:8똰}H[Z?.6}IGY_}GHهa5y߽\q"!sJw? O^Bl~i\7 x<>--2NM$o 7iGqxb;ua 2M:g N3~u1HsK4;NP$p!iFWqwjJfb`pqwaMgp\`L brrUGfVl(^s熞v"&n/eirl[ 2KsQ;m9\h>@{O./G8Wn\Ռʹ_@(B zŏs0W/+6z~S٠I3V*98`A2qcf3?y4ː.Kyn̂s0FP sSrv%w$~nyn6?z4Nu~ `(~gxJ"|s͇<#⳧No~T='tБ;Pw ;T>gG "?9ܓdzZtM8Ҿa^ƻ+6㺵iѴh Gn&31(xꩲ}^gs^ ]t?`=?qw_?89 v|ps%Nu C8#/j0n͇G>ܞA"r=7L?Jm̞^тe;3֐@'Ψ5E3-osoD^P,@OoV;-WS޸ 6ӏ΁d?j:w="'@o>m}n6W;!+G+ϫw4>cz$cIENDB`xuleditor-0.01/chrome/content/LICENSE0000644000076400007640000004247310417454667016113 0ustar raphraphGNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.xuleditor-0.01/chrome/skin/0000755000076400007640000000000010417455135014355 5ustar raphraphxuleditor-0.01/chrome/skin/classic.css0000644000076400007640000000032010417454667016514 0ustar raphraphtextbox.inside input { background-color:#EEEEEE; } textbox.outside input { background-color:white; } textbox.inside textarea { background-color:#EEEEEE; } textbox.outside textarea { background-color:white; }xuleditor-0.01/chrome/skin/LICENSE0000644000076400007640000004247310417454667015405 0ustar raphraphGNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.xuleditor-0.01/chrome/LICENSE0000644000076400007640000004247310417454667014441 0ustar raphraphGNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.xuleditor-0.01/chrome.manifest0000644000076400007640000000011110417454667015143 0ustar raphraphcontent qsos-xuled chrome/content/ skin qsos-xuled classic chrome/skin/xuleditor-0.01/defaults/0000755000076400007640000000000010417455142013741 5ustar raphraphxuleditor-0.01/defaults/preferences/0000755000076400007640000000000010417455145016245 5ustar raphraphxuleditor-0.01/defaults/preferences/qsos-xuled.js0000644000076400007640000000011310417454667020712 0ustar raphraphpref("toolkit.defaultChromeURI", "chrome://qsos-xuled/content/editor.xul");xuleditor-0.01/defaults/preferences/LICENSE0000644000076400007640000004247310417454667017274 0ustar raphraphGNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.xuleditor-0.01/defaults/LICENSE0000644000076400007640000004247310417454667014773 0ustar raphraphGNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.xuleditor-0.01/xuleditor0000755000076400007640000000025410417454667014113 0ustar raphraph#!/bin/ksh case ${1} in debug) xulrunner application.ini -console -jsconsole ;; help) echo "usage: xuleditor [debug]" ;; *) xulrunner application.ini ;; esacxuleditor-0.01/Changes0000644000076400007640000000011010417454667013430 0ustar raphraphRevision history for QSOS XUL Editor 0.01 2006 - Initial releasexuleditor-0.01/LICENSE0000644000076400007640000004247310417454667013164 0ustar raphraphGNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.xuleditor-0.01/README0000644000076400007640000000134110417454667013024 0ustar raphraphDESCRIPTION QSOS XUL Editor (xuleditor) - XUL/Javascript application to edit QSOS XML files PREREQUISITES QSOS XML mozilla-javascript library: Document.js (included in chrome/content/ folder) Mozilla Javascript xulrunner 1.8+ INSTALLING If not done yet, install xulrunner and register it (xulrunner --register-global). Copy xuleditor folder where it fits you. LAUNCHING ON LINUX ./xuleditor [debug] or xulrunner application.ini LAUNCHING ON WINDOWS xulrunner.exe application.ini STATUS QSOS XUL Editor is still under development. COPYRIGHT Copyright 2006 Atos Origin This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.