Author: lindner
Date: Tue Sep  6 19:36:19 2011
New Revision: 1165798

URL: http://svn.apache.org/viewvc?rev=1165798&view=rev
Log:
fix eol/mime-types

Modified:
    shindig/trunk/content/samplecontainer/examples/commoncontainer/cconviews.js 
  (props changed)
    shindig/trunk/content/samplecontainer/examples/commoncontainer/search.js   
(props changed)
    
shindig/trunk/content/samplecontainer/examples/conservcontainer/ConServContainer.js
   (props changed)
    shindig/trunk/content/samplecontainer/examples/conservcontainer/index.html  
 (props changed)
    shindig/trunk/content/samplecontainer/examples/conservcontainer/layout.js   
(props changed)
    shindig/trunk/content/samplecontainer/examples/conservcontainer/portlet.css 
  (props changed)
    
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-actions-runner.xml
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-actions-voip.xml
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-selection-listener.xml
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/conservcontainer/viewController.js
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/AlbumViewer.xml
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/EEContainer.js
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/PhotoList.xml
   (props changed)
    
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/index.html   
(props changed)
    shindig/trunk/content/samplecontainer/examples/media-openGadgets/Media.xml  
 (props changed)
    
shindig/trunk/content/samplecontainer/examples/media-openGadgets/MediaUIOpenGadgets.js
   (props changed)
    shindig/trunk/content/samplecontainer/examples/media-openGadgets/Social.js  
 (props changed)
    shindig/trunk/content/samplecontainer/examples/media-openGadgets/styles.css 
  (props changed)
    shindig/trunk/features/src/main/javascript/features/actions/actions.js   
(props changed)
    
shindig/trunk/features/src/main/javascript/features/actions/actions_container.js
   (props changed)
    shindig/trunk/features/src/main/javascript/features/actions/constants.js   
(props changed)
    shindig/trunk/features/src/main/javascript/features/actions/feature.xml   
(props changed)
    shindig/trunk/features/src/main/javascript/features/actions/taming.js   
(props changed)
    shindig/trunk/features/src/main/javascript/features/defer.test/defertest.js 
  (props changed)
    shindig/trunk/features/src/main/javascript/features/defer.test/feature.xml  
 (props changed)
    shindig/trunk/features/src/main/javascript/features/deferjs/deferjs.js   
(props changed)
    shindig/trunk/features/src/main/javascript/features/deferjs/feature.xml   
(props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/dynamic-size-util.js
   (props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/feature.xml
   (props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/taming.js 
  (props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
   (contents, props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml
   (contents, props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js
   (contents, props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js
   (contents, props changed)
    
shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml   
(contents, props changed)
    shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js 
  (contents, props changed)
    
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/constant.js
   (props changed)
    
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/embedded_experiences_container.js
   (props changed)
    
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/embedded_experiences_gadgets.js
   (props changed)
    
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/feature.xml
   (props changed)
    shindig/trunk/features/src/main/javascript/features/open-views/feature.xml  
 (props changed)
    
shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js
   (props changed)
    
shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js
   (props changed)
    shindig/trunk/features/src/main/javascript/features/opensearch/feature.xml  
 (props changed)
    
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js   
(props changed)
    shindig/trunk/features/src/main/javascript/features/selection/feature.xml   
(props changed)
    shindig/trunk/features/src/main/javascript/features/selection/selection.js  
 (props changed)
    
shindig/trunk/features/src/main/javascript/features/selection/selection_container.js
   (props changed)
    shindig/trunk/features/src/main/javascript/features/selection/taming.js   
(props changed)
    shindig/trunk/features/src/test/javascript/features/actions/actions_test.js 
  (props changed)
    
shindig/trunk/features/src/test/javascript/features/embeddedexperiences/embedded_experiences_container_test.js
   (props changed)
    
shindig/trunk/features/src/test/javascript/features/open-views/viewEnhancements-test.js
   (props changed)
    
shindig/trunk/features/src/test/javascript/features/opensearch/opensearch_test.js
   (props changed)
    
shindig/trunk/features/src/test/javascript/features/selection/selection_test.js 
  (props changed)
    
shindig/trunk/java/common/src/test/java/org/apache/shindig/common/servlet/BasicAuthorityTest.java
   (props changed)
    
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/BaseSurfaceJsProcessor.java
   (props changed)
    
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/DeferJsProcessor.java
   (props changed)
    
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/js/DeferJsProcessorTest.java
   (props changed)
    shindig/trunk/php/src/common/OpenSocialVersion.php   (props changed)
    shindig/trunk/php/test/common/OpenSocialVersionTest.php   (props changed)

Propchange: 
shindig/trunk/content/samplecontainer/examples/commoncontainer/cconviews.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/commoncontainer/cconviews.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/commoncontainer/search.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/commoncontainer/search.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/ConServContainer.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/ConServContainer.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/layout.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/layout.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/portlet.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/portlet.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-actions-runner.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-actions-runner.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-actions-voip.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-actions-voip.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-selection-listener.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/sample-selection-listener.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/viewController.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/conservcontainer/viewController.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/AlbumViewer.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/AlbumViewer.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/EEContainer.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/EEContainer.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/PhotoList.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/PhotoList.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/embeddedexperiences/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/Media.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/Media.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/MediaUIOpenGadgets.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/MediaUIOpenGadgets.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/Social.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/Social.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/styles.css
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/content/samplecontainer/examples/media-openGadgets/styles.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/actions.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/actions.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/actions_container.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/actions_container.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/constants.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/constants.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/actions/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/defer.test/defertest.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/defer.test/defertest.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/defer.test/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/defer.test/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/deferjs/deferjs.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/deferjs/deferjs.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/deferjs/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/deferjs/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/dynamic-size-util.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/dynamic-size-util.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-size.util/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Modified: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js?rev=1165798&r1=1165797&r2=1165798&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
 Tue Sep  6 19:36:19 2011
@@ -1,69 +1,69 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-/**
- * @fileoverview This library augments gadgets.window with functionality
- * to change the width of a gadget dynamically.
- */
-
-/**
- * @static
- * @class Provides operations for getting information about the window the 
gadget is placed in.
- * @name gadgets.window
- */
-gadgets.window = gadgets.window || {};
-
-(function() {
-
-  /**
-   * Calculate inner content width is hard and different between browsers 
rendering in Strict vs.
-   * Quirks mode. We use a combination of three properties within 
document.body and
-   * document.documentElement: - scrollWidth - offsetWidth - clientWidth These 
values differ
-   * significantly between browsers and rendering modes. But there are 
patterns. It just takes a lot
-   * of time and persistence to figure out.
-   * 
-   * @return The width of the content within the iframe
-   */
-  gadgets.window.getWidth = function() {
-    var viewportWidth = gadgets.window.getViewportDimensions().width;
-    var body = document.body;
-    var docEl = document.documentElement;
-    if (document.compatMode === 'CSS1Compat' && docEl && docEl.scrollWidth) {
-      // In Strict mode:
-      // The inner content width is contained in either:
-      // document.documentElement.scrollWidth
-      // document.documentElement.offsetWidth
-      // Based on studying the values output by different browsers,
-      // use the value that's NOT equal to the viewport width found above.
-      return docEl.scrollWidth !== vw ? docEl.scrollWidth : docEl.offsetWidth;
-
-    } else if (body) {
-      var scrollWidth = body.scrollWidth;
-      var offsetWidth = body.offsetWidth;
-
-      // Detect whether the inner content width is bigger or smaller
-      // than the bounding box (viewport). If bigger, take the larger
-      // value. If smaller, take the smaller value.
-      if ((scrollWidth > viewportWidth) && (scrollWidth > offsetWidth)) {
-        return scrollWidth;
-      }
-      return offsetWidth;
-    }
-  };
-
-}());
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+/**
+ * @fileoverview This library augments gadgets.window with functionality
+ * to change the width of a gadget dynamically.
+ */
+
+/**
+ * @static
+ * @class Provides operations for getting information about the window the 
gadget is placed in.
+ * @name gadgets.window
+ */
+gadgets.window = gadgets.window || {};
+
+(function() {
+
+  /**
+   * Calculate inner content width is hard and different between browsers 
rendering in Strict vs.
+   * Quirks mode. We use a combination of three properties within 
document.body and
+   * document.documentElement: - scrollWidth - offsetWidth - clientWidth These 
values differ
+   * significantly between browsers and rendering modes. But there are 
patterns. It just takes a lot
+   * of time and persistence to figure out.
+   * 
+   * @return The width of the content within the iframe
+   */
+  gadgets.window.getWidth = function() {
+    var viewportWidth = gadgets.window.getViewportDimensions().width;
+    var body = document.body;
+    var docEl = document.documentElement;
+    if (document.compatMode === 'CSS1Compat' && docEl && docEl.scrollWidth) {
+      // In Strict mode:
+      // The inner content width is contained in either:
+      // document.documentElement.scrollWidth
+      // document.documentElement.offsetWidth
+      // Based on studying the values output by different browsers,
+      // use the value that's NOT equal to the viewport width found above.
+      return docEl.scrollWidth !== vw ? docEl.scrollWidth : docEl.offsetWidth;
+
+    } else if (body) {
+      var scrollWidth = body.scrollWidth;
+      var offsetWidth = body.offsetWidth;
+
+      // Detect whether the inner content width is bigger or smaller
+      // than the bounding box (viewport). If bigger, take the larger
+      // value. If smaller, take the smaller value.
+      if ((scrollWidth > viewportWidth) && (scrollWidth > offsetWidth)) {
+        return scrollWidth;
+      }
+      return offsetWidth;
+    }
+  };
+
+}());

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/dynamic-width-width.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Modified: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml?rev=1165798&r1=1165797&r2=1165798&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml
 Tue Sep  6 19:36:19 2011
@@ -1,31 +1,31 @@
-<?xml version="1.0"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
--->
-<feature>
-  <name>dynamic-width.width</name>
-  <dependency>globals</dependency>
-  <dependency>taming</dependency>
-  <dependency>dynamic-size.util</dependency>
-  <all>
-    <script src="dynamic-width-width.js"/>
-    <script src="taming.js" caja="1"/>
-    <api>
-      <exports type="js">gadgets.window.getWidth</exports>
-    </api>
-  </all>
-</feature>
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+-->
+<feature>
+  <name>dynamic-width.width</name>
+  <dependency>globals</dependency>
+  <dependency>taming</dependency>
+  <dependency>dynamic-size.util</dependency>
+  <all>
+    <script src="dynamic-width-width.js"/>
+    <script src="taming.js" caja="1"/>
+    <api>
+      <exports type="js">gadgets.window.getWidth</exports>
+    </api>
+  </all>
+</feature>

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js?rev=1165798&r1=1165797&r2=1165798&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js
 Tue Sep  6 19:36:19 2011
@@ -1,28 +1,28 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * @class
- * Tame and expose core gadgets.window.* API to cajoled gadgets
- */
-tamings___.push(function(imports) {
-  caja___.whitelistFuncs([
-    [gadgets.window, 'getWidth']
-  ]);
-});
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * @class
+ * Tame and expose core gadgets.window.* API to cajoled gadgets
+ */
+tamings___.push(function(imports) {
+  caja___.whitelistFuncs([
+    [gadgets.window, 'getWidth']
+  ]);
+});

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width.width/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Modified: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js?rev=1165798&r1=1165797&r2=1165798&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js
 (original)
+++ 
shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js
 Tue Sep  6 19:36:19 2011
@@ -1,72 +1,72 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations under the License.
- */
-
-/**
- * @fileoverview This library augments gadgets.window with functionality
- * to change the width of a gadget dynamically.
- */
-
-/**
- * @static
- * @class Provides operations for getting information about and modifying the 
window the gadget is
- *        placed in.
- * @name gadgets.window
- */
-gadgets.window = gadgets.window || {};
-
-// we wrap these in an anonymous function to avoid storing private data
-// as members of gadgets.window.
-(function() {
-
-  /**
-   * Adjusts the gadget width
-   * 
-   * @param {number=}
-   *          opt_width An optional preferred width in pixels. If not 
specified, will attempt to fit
-   *          the gadget to its content.
-   * @member gadgets.window
-   */
-  gadgets.window.adjustWidth = function(opt_width) {
-    opt_width = parseInt(opt_width, 10);
-    var widthAutoCalculated = false;
-    var viewportWidth = gadgets.window.getViewportDimensions().width;
-    var newWidth = opt_width || gadgets.window.getWidth();
-    if (navigator.userAgent.indexOf('AppleWebKit') >= 0) {
-      viewportWidth++; // Adjust for 1px inaccuracy in Webkit browsers
-    }
-    var callback = null;
-    if (isNaN(opt_width) && viewportWidth >= newWidth) {
-      // Due to quirks in the width property, the auto-calculated width will
-      // never be smaller than the size of the viewport. In order to decrease
-      // the width to a fit size, we must first make the viewport too small 
(1px),
-      // then callback a function that increases the frame to the right width.
-      callback = function() {
-        gadgets.window.adjustWidth();
-      };
-      newWidth = 1;
-    }
-    gadgets.rpc.call(null, 'resize_iframe_width', callback, newWidth);
-  };
-}());
-
-/**
- * @see gadgets.window#adjustWidth
- */
-var _IG_AdjustIFrameWidth = gadgets.window.adjustWidth;
-
-// TODO Attach gadgets.window.adjustWidth to the onresize event
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations under the License.
+ */
+
+/**
+ * @fileoverview This library augments gadgets.window with functionality
+ * to change the width of a gadget dynamically.
+ */
+
+/**
+ * @static
+ * @class Provides operations for getting information about and modifying the 
window the gadget is
+ *        placed in.
+ * @name gadgets.window
+ */
+gadgets.window = gadgets.window || {};
+
+// we wrap these in an anonymous function to avoid storing private data
+// as members of gadgets.window.
+(function() {
+
+  /**
+   * Adjusts the gadget width
+   * 
+   * @param {number=}
+   *          opt_width An optional preferred width in pixels. If not 
specified, will attempt to fit
+   *          the gadget to its content.
+   * @member gadgets.window
+   */
+  gadgets.window.adjustWidth = function(opt_width) {
+    opt_width = parseInt(opt_width, 10);
+    var widthAutoCalculated = false;
+    var viewportWidth = gadgets.window.getViewportDimensions().width;
+    var newWidth = opt_width || gadgets.window.getWidth();
+    if (navigator.userAgent.indexOf('AppleWebKit') >= 0) {
+      viewportWidth++; // Adjust for 1px inaccuracy in Webkit browsers
+    }
+    var callback = null;
+    if (isNaN(opt_width) && viewportWidth >= newWidth) {
+      // Due to quirks in the width property, the auto-calculated width will
+      // never be smaller than the size of the viewport. In order to decrease
+      // the width to a fit size, we must first make the viewport too small 
(1px),
+      // then callback a function that increases the frame to the right width.
+      callback = function() {
+        gadgets.window.adjustWidth();
+      };
+      newWidth = 1;
+    }
+    gadgets.rpc.call(null, 'resize_iframe_width', callback, newWidth);
+  };
+}());
+
+/**
+ * @see gadgets.window#adjustWidth
+ */
+var _IG_AdjustIFrameWidth = gadgets.window.adjustWidth;
+
+// TODO Attach gadgets.window.adjustWidth to the onresize event

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/dynamic-width.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Modified: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml?rev=1165798&r1=1165797&r2=1165798&view=diff
==============================================================================
--- 
shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml 
(original)
+++ 
shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml 
Tue Sep  6 19:36:19 2011
@@ -1,33 +1,33 @@
-<?xml version="1.0"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations under the License.
--->
-<feature>
-  <name>dynamic-width</name>
-  <dependency>globals</dependency>
-  <dependency>taming</dependency>
-  <dependency>dynamic-width.width</dependency>
-  <dependency>dynamic-size.util</dependency>
-  <dependency>rpc</dependency>
-  <gadget>
-    <script src="dynamic-width.js"/>
-    <script src="taming.js" caja="1"/>
-    <api>
-      <exports type="js">gadgets.window.adjustWidth</exports>
-    </api>
-  </gadget>
-</feature>
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied. See the License for the
+specific language governing permissions and limitations under the License.
+-->
+<feature>
+  <name>dynamic-width</name>
+  <dependency>globals</dependency>
+  <dependency>taming</dependency>
+  <dependency>dynamic-width.width</dependency>
+  <dependency>dynamic-size.util</dependency>
+  <dependency>rpc</dependency>
+  <gadget>
+    <script src="dynamic-width.js"/>
+    <script src="taming.js" caja="1"/>
+    <api>
+      <exports type="js">gadgets.window.adjustWidth</exports>
+    </api>
+  </gadget>
+</feature>

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js
URL: 
http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js?rev=1165798&r1=1165797&r2=1165798&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js 
(original)
+++ shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js 
Tue Sep  6 19:36:19 2011
@@ -1,28 +1,28 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * @class
- * Tame and expose core gadgets.window.* API to cajoled gadgets
- */
-tamings___.push(function(imports) {
-  caja___.whitelistFuncs([
-    [gadgets.window, 'adjustWidth']
-  ]);
-});
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * @class
+ * Tame and expose core gadgets.window.* API to cajoled gadgets
+ */
+tamings___.push(function(imports) {
+  caja___.whitelistFuncs([
+    [gadgets.window, 'adjustWidth']
+  ]);
+});

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/dynamic-width/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/constant.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/constant.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/embedded_experiences_container.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/embedded_experiences_container.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/embedded_experiences_gadgets.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/embedded_experiences_gadgets.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/embeddedexperiences/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/open-views/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/open-views/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements-container.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/open-views/viewenhancements.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/opensearch/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/opensearch/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/opensearch/opensearch.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/feature.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/feature.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/selection.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/selection.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/selection_container.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/selection_container.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/taming.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/main/javascript/features/selection/taming.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/test/javascript/features/actions/actions_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/test/javascript/features/actions/actions_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/test/javascript/features/embeddedexperiences/embedded_experiences_container_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/test/javascript/features/embeddedexperiences/embedded_experiences_container_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/test/javascript/features/open-views/viewEnhancements-test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/test/javascript/features/open-views/viewEnhancements-test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/test/javascript/features/opensearch/opensearch_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/test/javascript/features/opensearch/opensearch_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/features/src/test/javascript/features/selection/selection_test.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/features/src/test/javascript/features/selection/selection_test.js
------------------------------------------------------------------------------
    svn:mime-type = text/javascript

Propchange: 
shindig/trunk/java/common/src/test/java/org/apache/shindig/common/servlet/BasicAuthorityTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/BaseSurfaceJsProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/js/DeferJsProcessor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/js/DeferJsProcessorTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/php/src/common/OpenSocialVersion.php
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: shindig/trunk/php/test/common/OpenSocialVersionTest.php
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to