OSDN Git Service

Build SIE 10 beta2
authordhrname <dhrname@users.sourceforge.jp>
Wed, 22 May 2013 14:40:43 +0000 (23:40 +0900)
committerdhrname <dhrname@users.sourceforge.jp>
Wed, 22 May 2013 14:40:43 +0000 (23:40 +0900)
.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch [new file with mode: 0644]
org/sie-uncompressed.js

diff --git a/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch b/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch
new file mode 100644 (file)
index 0000000..8401d49
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">\r
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/>\r
+<stringAttribute key="org.eclipse.ui.externaltools.ATTR_DISABLED_BUILDER" value="org.eclipse.wst.jsdt.core.javascriptValidator"/>\r
+<mapAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS"/>\r
+<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>\r
+</launchConfiguration>\r
index 9ca6628..964c0f5 100644 (file)
@@ -962,6 +962,7 @@ Document.prototype = Object._create(Node);  //ノードのプロトタイプチ
 })(Document.prototype, Text, Element, Attr, Comment);\r
 /*\r
 #endif // _DOM_IDL_*/\r
+\r
 /*\r
 \r
 // File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.idl\r
@@ -1128,7 +1129,7 @@ EventListener.prototype = {
       }\r
       evt = ph = cap = void 0;\r
     } catch (e) {\r
-      \r
+\r
     }\r
   }\r
 };\r
@@ -1498,6 +1499,7 @@ Document.prototype._cevent = {
 \r
 \r
 // _EVENTS_IDL_\r
+\r
 /*\r
 // File: http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/stylesheets.idl\r
 \r
@@ -3340,10 +3342,10 @@ function SVGURIReference() {
             ev.initEvent("S_Load", false, false);\r
             tar.dispatchEvent(ev);\r
             SVGURIReference = Sfunc;\r
-            tar = xmlhttp = void 0;\r
+            xmlhttp = void 0;\r
           } else if (uri.indexOf("data:") > -1) {\r
             tar._tar.src = uri;\r
-            tar = xmlhttp = void 0;\r
+            xmlhttp = void 0;\r
           } else if ((uri.indexOf("http:") > -1)){\r
             if ((tar.localName === "image") && (uri.indexOf(".svg") === -1)) {\r
               tar._tar.src = uri;\r
@@ -3397,7 +3399,7 @@ function SVGURIReference() {
                     ev.initEvent("SVGLoad", false, false);\r
                     tar.ownerDocument.documentElement.dispatchEvent(ev);\r
                   }\r
-                  tar = type = doc = str = ev = Sfunc = ndoc = void 0;\r
+                  type = doc = str = ev = Sfunc = ndoc = void 0;\r
                   /*IEのメモリリーク対策として、空関数を入力*/\r
                   xmlhttp.onreadystatechange = NAIBU.emptyFunction;\r
                   xmlhttp = void 0;\r
@@ -3408,6 +3410,7 @@ function SVGURIReference() {
           }\r
         }\r
         tar.ownerDocument.documentElement._svgload_limited--;\r
+        tar = void 0;\r
       }\r
       evt = base = href = egbase = fe = ep = durl = b = reg = uri = ui = id = doc = ele = ev = show = Sfunc = void 0;\r
     }, false);\r
@@ -3788,13 +3791,14 @@ function SVGGElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -3973,19 +3977,18 @@ function SVGSwitchElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
-    tnext = sar = spar = snext = void 0;\r
-    tar.addEventListener("DOMNodeInsertedIntoDocument", tar._nodeInsertInto, false);\r
-    evt = tar = void 0;\r
+    tnext = sar = spar = snext = evt = tar = void 0;\r
   }, false);\r
 };\r
 SVGSwitchElement.prototype = Object._create(SVGElement);\r
@@ -5321,13 +5324,14 @@ _sproto._nodeInsert = function(evt){
       spar.appendChild(sar);\r
     } else {\r
       while(tnext) {\r
-        if (tnext._tar) {\r
+        if (tnext._tar && tnext._tar.parentNode) {\r
           /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
           snext = tnext._tar;\r
           break;\r
         }\r
         tnext = tnext.nextSibling;\r
       }\r
+      snext && (spar = snext.parentNode);\r
       spar.insertBefore(sar, snext);\r
     }\r
   }\r
@@ -5666,13 +5670,14 @@ function SVGRectElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -5779,13 +5784,14 @@ function SVGCircleElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -5866,13 +5872,14 @@ function SVGEllipseElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -5955,13 +5962,14 @@ function SVGLineElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -6049,13 +6057,14 @@ NAIBU._GenericSVGPolyElement = function (_doc, xclose) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -6489,13 +6498,14 @@ function SVGTextPositioningElement(_doc) {
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -6603,7 +6613,7 @@ SVGTextPositioningElement.prototype._texto = function(evt) {
       disp = style.getPropertyCSSValue("display"),\r
       tts = tar._tar.style,\r
       tft = tar.firstChild._tars, //空白のテキストノードの場合、tftがundefinedになる恐れがある\r
-      ttt = tft[0] ? tft[0].innerText.charAt(0) : "", //あらかじめ初期化しておく\r
+      ttt = "", //あらかじめ初期化しておく\r
       tfti,\r
       tftfunc = function(tft) {\r
         if(tar._isYokogaki && (tar.firstChild.nodeName === "#text")) {\r
@@ -6632,7 +6642,10 @@ SVGTextPositioningElement.prototype._texto = function(evt) {
           t = ttt = void 0;\r
         }\r
       };\r
-  tftfunc(tft);\r
+  if (tft && tft[0]) {\r
+    ttt = tft[0].innerText.charAt(0);\r
+  }\r
+  tft && tftfunc(tft);\r
   if (color === "none"){\r
     tts.color = "transparent";\r
   } else if (color.indexOf("url") === -1) {\r
@@ -8650,13 +8663,14 @@ function SVGForeignObjectElement(_doc) /*:
         spar.appendChild(sar);\r
       } else {\r
         while(tnext) {\r
-          if (tnext._tar) {\r
+          if (tnext._tar && tnext._tar.parentNode) {\r
             /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
             snext = tnext._tar;\r
             break;\r
           }\r
           tnext = tnext.nextSibling;\r
         }\r
+        snext && (spar = snext.parentNode);\r
         spar.insertBefore(sar, snext);\r
       }\r
     }\r
@@ -8690,13 +8704,14 @@ function SVGForeignObjectElement(_doc) /*:
           spar.appendChild(sar);\r
         } else {\r
           while(tnext) {\r
-            if (tnext._tar) {\r
+            if (tnext._tar && tnext._tar.parentNode) {\r
               /*use要素や実体参照は_tarプロパティをもっていないので、無視する*/\r
               snext = tnext._tar;\r
               break;\r
             }\r
             tnext = tnext.nextSibling;\r
           }\r
+          snext && (spar = snext.parentNode);\r
           spar.insertBefore(sar, snext);\r
         }\r
       }\r