From: Roland Haeder Date: Sat, 13 Feb 2016 21:05:21 +0000 (+0100) Subject: Cleaned up .gitattributes + converted CRLF -> LF (Uni* style on some files) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=sidebyside;p=shipsimu-docs.git Cleaned up .gitattributes + converted CRLF -> LF (Uni* style on some files) Signed-off-by: Roland Haeder --- diff --git a/.gitattributes b/.gitattributes index f6d35ba..dfe0770 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,173 +1,2 @@ -* text=auto !eol -shipsimu-docs/Browser-Game.html -text svneol=unset#text/html -shipsimu-docs/Browser-Game.html_files/icons/Mail.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/attach.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/back.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/bell.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/bookmark.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/button_cancel.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/button_ok.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/clanbomber.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/desktop_new.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/flag.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/forward.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-1.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-2.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-3.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-4.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-5.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-6.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/full-7.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/gohome.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/help.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/idea.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/kaddressbook.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/knotify.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/korn.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/ksmiletris.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/licq.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/messagebox_warning.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/password.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/pencil.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/penguin.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/stop.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/wizard.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/icons/xmag.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/marktree.js -text svneol=unset#text/javascript -shipsimu-docs/Browser-Game.html_files/minus.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/plus.png -text svneol=unset#image/png -shipsimu-docs/Browser-Game.html_files/treestyles.css -text svneol=unset#text/css -shipsimu-docs/Browser-Game.mm -text -shipsimu-docs/COPYING -text svneol=unset#text/plain -shipsimu-docs/Conception[!!-~]-[!!-~]Ship-Simu[!!-~]0.0.1.odt -text -shipsimu-docs/NEWS -text svneol=unset#text/plain -shipsimu-docs/ObjectFactory[!!-~]Benchmark[!!-~]-[!!-~]20080609.gnumeric -text -shipsimu-docs/Payment-System.html -text svneol=unset#text/html -shipsimu-docs/Payment-System.html_files/icons/Mail.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/attach.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/back.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/bell.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/bookmark.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/button_cancel.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/button_ok.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/clanbomber.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/desktop_new.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/flag.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/forward.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-1.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-2.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-3.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-4.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-5.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-6.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/full-7.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/gohome.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/help.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/idea.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/kaddressbook.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/knotify.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/korn.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/ksmiletris.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/licq.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/messagebox_warning.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/password.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/pencil.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/penguin.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/stop.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/wizard.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/icons/xmag.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/marktree.js -text svneol=unset#text/javascript -shipsimu-docs/Payment-System.html_files/minus.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/plus.png -text svneol=unset#image/png -shipsimu-docs/Payment-System.html_files/treestyles.css -text svneol=unset#text/css -shipsimu-docs/Payment-System.mm -text -shipsimu-docs/Promoter.txt -text svneol=unset#text/plain -shipsimu-docs/README -text svneol=unset#text/plain -shipsimu-docs/Ship-Simu[!!-~]ArgoUML[!!-~]Diagram.zargo -text -shipsimu-docs/Ship-Simu-Ship-Simulator.html -text svneol=unset#text/html -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/Mail.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/attach.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/back.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/bell.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/bookmark.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/button_cancel.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/button_ok.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/clanbomber.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/desktop_new.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/flag.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/forward.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-1.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-2.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-3.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-4.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-5.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-6.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/full-7.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/gohome.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/help.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/idea.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/kaddressbook.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/knotify.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/korn.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/ksmiletris.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/licq.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/messagebox_warning.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/password.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/pencil.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/penguin.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/stop.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/wizard.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/icons/xmag.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/marktree.js -text svneol=unset#text/javascript -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/minus.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/plus.png -text svneol=unset#image/png -shipsimu-docs/Ship-Simu-Ship-Simulator.html_files/treestyles.css -text svneol=unset#text/css -shipsimu-docs/Ship-Simu-Ship-Simulator.mm -text -shipsimu-docs/THANKS -text svneol=unset#text/plain -shipsimu-docs/Tech-Tree_v1.html -text svneol=unset#text/html -shipsimu-docs/Tech-Tree_v1.html_files/icons/Mail.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/attach.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/back.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/bell.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/bookmark.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/button_cancel.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/button_ok.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/clanbomber.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/desktop_new.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/flag.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/forward.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-1.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-2.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-3.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-4.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-5.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-6.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/full-7.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/gohome.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/help.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/idea.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/kaddressbook.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/knotify.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/korn.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/ksmiletris.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/licq.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/messagebox_warning.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/password.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/pencil.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/penguin.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/stop.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/wizard.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/icons/xmag.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/marktree.js -text svneol=unset#text/javascript -shipsimu-docs/Tech-Tree_v1.html_files/minus.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/plus.png -text svneol=unset#image/png -shipsimu-docs/Tech-Tree_v1.html_files/treestyles.css -text svneol=unset#text/css -shipsimu-docs/Tech-Tree_v1.mm -text -shipsimu-docs/historical/mindmap_20080517.html -text -shipsimu-docs/historical/mindmap_20080522.html -text -shipsimu-docs/historical/mindmap_20080523.html -text -shipsimu-docs/historical/mindmap_20080524.html -text -shipsimu-docs/historical/mindmap_20080606.html -text -shipsimu-docs/historical/mindmap_20080611.html -text -shipsimu-docs/historical/mindmap_20080705.html -text -shipsimu-docs/historical/mindmap_20081002.html -text +# Auto detect text files and perform LF normalization +* text=auto diff --git a/shipsimu-docs/Browser-Game.html_files/marktree.js b/shipsimu-docs/Browser-Game.html_files/marktree.js index 10bba60..aa31b4d 100644 --- a/shipsimu-docs/Browser-Game.html_files/marktree.js +++ b/shipsimu-docs/Browser-Game.html_files/marktree.js @@ -1,475 +1,475 @@ -/* MarkTree JavaScript code - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * Miika Nurminen, 12.7.2004. - */ - -/* cross-browser (tested with ie5, mozilla 1 and opera 5) keypress detection */ -function get_keycode(evt) { - // IE - code = document.layers ? evt.which - : document.all ? event.keyCode // event.keyCode!=evt.keyCode! - : evt.keyCode; - - if (code==0) - code=evt.which; // for NS - return code; -} - -var lastnode=null; -var listnodes = null; -var list_index=1; -var lastnodetype=''; // determines if node is a link, input or text; - -// up, left, down, right, keypress codes -//ijkl -//var keys = new Array(105,106,107,108); -//num arrows -//var keys = new Array(56,52,50,54); -//wasd -// var press2 = new Array(119,97,115,100); - var press = new Array(47,45,42,43); - -// keydown codes - // var keys2=new Array(87,65,83,68); - var keys= new Array(38,37,40,39); - - // keyset 1 = keydown, otherwise press -function checkup(keyset,n) { - if (keyset==1) return (n==keys[0]); - return ((n==press[0]) /*|| (n==press2[0])*/) -} - -function checkdn(keyset,n) { - if (keyset==1) return (n==keys[2]); - return ((n==press[2]) /*|| (n==press2[2])*/) -} - -function checkl(keyset,n) { - if (keyset==1) return (n==keys[1]); - return ((n==press[1]) /*|| (n==press2[1])*/) -} - -function checkr(keyset,n) { - if (keyset==1) return (n==keys[3]); - return ((n==press[3]) /*|| (n==press2[3])*/) -} - - - - - -function is_exp(n) { - if (n==null) return false; - return ((n.className=='exp') || (n.className=='exp_active')); -} - -function is_col(n) { - if (n==null) return false; - return ((n.className=='col') || (n.className=='col_active')); -} - -function is_basic(n) { - if (n==null) return false; - return ((n.className=='basic') || (n.className=='basic_active')); -} - - - -/* returns i>=0 if true */ -function is_active(node) { - if (node.className==null) return false - return node.className.indexOf('_active'); -} - -function toggle_class(node) { - if ((node==null) || (node.className==null)) return; - str=node.className; - result=""; - i = str.indexOf('_active'); - if (i>0) - result= str.substr(0,i); - else - result= str+"_active"; - node.className=result; - return node; -} - -function activate(node) { - node.style.backgroundColor='#eeeeff'; -} - -function deactivate(node) { - node.style.backgroundColor='#ffffff'; -} - -function is_list_node(n) { - if (n==null) return false; - if (n.className==null) return false; - if ( (is_exp(n)) || - (is_col(n)) || - (is_basic(n)) ) - return true; else return false; -} - - -function get_href(n) { - alist=n.attributes; - if (alist!=null) { - hr = alist.getNamedItem('href'); - if (hr!=null) return hr.nodeValue; - } - if (n.childNodes.length==0) return ''; - for (var i=0; i=0) - toggle_class(lastnode); - lastnode=n; - if (!(is_active(lastnode)>=0)) - toggle_class(lastnode); - - -/*var d2 = new Date(); -var t_mil2 = d2.getMilliseconds(); - window.alert(t_mil2-t_mil);*/ -} - -function next_list_node() { - tempIndex = list_index; - while (tempIndex0) { - tempIndex--; - var x = listnodes[tempIndex]; - if (is_list_node(x)) { - list_index=tempIndex; - return; - } - } -} - - - -function getsub (li) { - if (li.childNodes.length==0) return null; - for (var c = 0; c < li.childNodes.length; c++) - if ( (li.childNodes[c].className == 'sub') || (li.childNodes[c].className == 'subexp') ) - return li.childNodes[c]; -} - -function find_listnode_recursive (li) { - if (is_list_node(li)) return li; - if (li.childNodes.length==0) return null; - result=null; - for (var c = 0; c < li.childNodes.length; c++) { - result=find_listnode_recursive(li.childNodes[c]); - if (result!=null) return result; - } - return null; -} - -function next_child_listnode(li) { - var result=null; - for (var i=0; i