You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2012/02/13 03:59:39 UTC
svn commit: r1243399 [1/7] - in /shindig/trunk:
content/samplecontainer/examples/ content/samplecontainer/examples/oauth2/
extras/src/main/javascript/features-extras/firebug-lite/
features/src/main/javascript/features/container.site.gadget/ features/sr...
Author: lindner
Date: Mon Feb 13 02:59:33 2012
New Revision: 1243399
URL: http://svn.apache.org/viewvc?rev=1243399&view=rev
Log:
rerun etc/set_svn_properties.sh
Modified:
shindig/trunk/content/samplecontainer/examples/ContainerGadgetDomainTest.xml (props changed)
shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml (contents, props changed)
shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml (contents, props changed)
shindig/trunk/content/samplecontainer/examples/SharedLockedDomainDemo1.xml (props changed)
shindig/trunk/content/samplecontainer/examples/SharedLockedDomainDemo2.xml (props changed)
shindig/trunk/content/samplecontainer/examples/SharedScriptFrameDemo.xml (props changed)
shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_facebook.xml (props changed)
shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_google.xml (props changed)
shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_windowslive.xml (props changed)
shindig/trunk/content/samplecontainer/examples/oauth2/shindig_authorization.xml (props changed)
shindig/trunk/content/samplecontainer/examples/oauth2/shindig_client_credentials.xml (props changed)
shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml (contents, props changed)
shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml (contents, props changed)
shindig/trunk/features/src/main/javascript/features/container.site.gadget/gadget_holder.js (props changed)
shindig/trunk/features/src/main/javascript/features/container.site.gadget/gadget_site.js (props changed)
shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml (contents, props changed)
shindig/trunk/features/src/main/javascript/features/container.site.url/url_holder.js (props changed)
shindig/trunk/features/src/main/javascript/features/container.site.url/url_site.js (props changed)
shindig/trunk/features/src/main/javascript/features/container.site/feature.xml (contents, props changed)
shindig/trunk/features/src/main/javascript/features/container.site/site.js (contents, props changed)
shindig/trunk/features/src/main/javascript/features/container.site/site_holder.js (contents, props changed)
shindig/trunk/features/src/main/javascript/features/proxied-form-post/feature.xml (contents, props changed)
shindig/trunk/features/src/main/javascript/features/proxied-form-post/post.js (contents, props changed)
shindig/trunk/features/src/main/javascript/features/proxied-form-post/taming.js (props changed)
shindig/trunk/features/src/main/javascript/features/shared-script-frame/feature.xml (props changed)
shindig/trunk/features/src/main/javascript/features/shared-script-frame/shared-script-frame-container.js (props changed)
shindig/trunk/features/src/main/javascript/features/shared-script-frame/shared-script-frame.js (props changed)
shindig/trunk/features/src/main/javascript/features/shared-script-frame/taming.js (props changed)
shindig/trunk/java/common/src/test/resources/classpath-accessible-test-file.txt (contents, props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/AbstractLockedDomainService.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/BasicGadgetAdminStore.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/ContainerAdminData.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/FeatureAdminData.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/GadgetAdminData.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/GadgetAdminModule.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/GadgetAdminStore.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/admin/ServerAdminData.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthCallbackStateToken.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/BasicOAuth2Accessor.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/BasicOAuth2Message.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/BasicOAuth2Request.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/BasicOAuth2RequestParameterGenerator.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/BasicOAuth2Store.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/GadgetOAuth2TokenStore.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Accessor.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Arguments.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Error.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2FetcherConfig.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2GadgetContext.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Message.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2MessageModule.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Module.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Request.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2RequestException.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2RequestParameterGenerator.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2ResponseParams.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Store.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Token.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/OAuth2Utils.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/AuthorizationEndpointResponseHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/BasicAuthenticationHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/BearerTokenHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/ClientAuthenticationHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/ClientCredentialsGrantTypeHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/CodeAuthorizationResponseHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/CodeGrantTypeHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/GrantRequestHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/MacTokenHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/OAuth2HandlerError.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/OAuth2HandlerModule.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/ResourceRequestHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/StandardAuthenticationHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/TokenAuthorizationResponseHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/handler/TokenEndpointResponseHandler.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/logger/FilteredLogger.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2Cache.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2CacheException.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2Client.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2Encrypter.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2EncryptionException.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2PersistenceException.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2Persister.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2TokenPersistence.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/sample/InMemoryCache.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/sample/JSONOAuth2Persister.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/sample/NoOpEncrypter.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/sample/OAuth2GadgetBinding.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/sample/OAuth2PersistenceModule.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth2/persistence/sample/OAuth2Provider.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleIdManager.java (contents, props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ModuleIdManagerImpl.java (contents, props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/OAuth2CallbackServlet.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/spec/BaseOAuthService.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/spec/ExternalServices.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/spec/OAuth2Service.java (props changed)
shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/spec/OAuth2Spec.java (props changed)
shindig/trunk/java/gadgets/src/main/resources/org/apache/shindig/gadgets/oauth2/resource.properties (props changed)
shindig/trunk/java/gadgets/src/main/resources/org/apache/shindig/gadgets/oauth2/resource_en_US.properties (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/admin/BasicGadgetAdminStoreTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/admin/ContainerAdminDataTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/admin/FeatureAdminDataTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/admin/GadgetAdminDataTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/admin/ServerAdminDataTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/GadgetOAuth2TokenStoreTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/MockUtils.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2ArgumentsTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2ErrorTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2FetcherConfigTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2GadgetContextTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2MessageModuleTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2ModuleTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2RequestExceptionTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/OAuth2ResponseParamsTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/BasicAuthenticationHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/BearerTokenHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/ClientCredentialsGrantTypeHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/CodeAuthorizationResponseHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/CodeGrantTypeHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/MacTokenHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/OAuth2HandlerErrorTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/OAuth2HandlerModuleTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/StandardAuthenticationHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/handler/TokenAuthorizationResponseHandlerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/logger/FilteredLoggerTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2CacheExceptionTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2ClientTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2EncryptionExceptionTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2PersistenceExceptionTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/OAuth2TokenPersistenceTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/sample/InMemoryCacheTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/sample/JSONOAuth2PersisterTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/sample/NoOpEncrypterTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/sample/OAuth2GadgetBindingTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/sample/OAuth2PersistenceModuleTest.java (props changed)
shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth2/persistence/sample/OAuth2ProviderTest.java (props changed)
shindig/trunk/java/sample-container/ (props changed)
shindig/trunk/java/sample-container/pom.xml (contents, props changed)
shindig/trunk/java/server-dependencies/ (props changed)
shindig/trunk/java/server-dependencies/pom.xml (contents, props changed)
shindig/trunk/java/server-resources/ (props changed)
shindig/trunk/java/server-resources/pom.xml (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2AuthenticationHandler.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2AuthorizationHandler.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Client.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Code.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2DataService.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2DataServiceImpl.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Exception.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2NormalizedRequest.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2NormalizedResponse.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Service.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2ServiceImpl.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Servlet.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2TokenHandler.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Types.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/OAuth2Utils.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/AccessTokenRequestValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/AuthCodeGrantValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/AuthorizationCodeRequestValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/ClientCredentialsGrantValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/DefaultResourceRequestValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/OAuth2GrantValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/OAuth2ProtectedResourceValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/main/java/org/apache/shindig/social/core/oauth2/validators/OAuth2RequestValidator.java (contents, props changed)
shindig/trunk/java/social-api/src/test/java/org/apache/shindig/social/core/oauth/MockServletOutputStream.java (props changed)
shindig/trunk/java/social-api/src/test/java/org/apache/shindig/social/core/oauth/OAuth2AuthCodeFlowTest.java (contents, props changed)
shindig/trunk/java/social-api/src/test/java/org/apache/shindig/social/core/oauth/OAuth2AuthenticationHandlerTest.java (contents, props changed)
shindig/trunk/java/social-api/src/test/java/org/apache/shindig/social/core/oauth/OAuth2ClientCredentialFlowTest.java (contents, props changed)
shindig/trunk/java/social-api/src/test/java/org/apache/shindig/social/core/oauth/OAuth2ImplicitFlowTest.java (contents, props changed)
shindig/trunk/php/external/Symfony/Component/ClassLoader/ApcUniversalClassLoader.php (props changed)
shindig/trunk/php/external/Symfony/Component/ClassLoader/ClassCollectionLoader.php (props changed)
shindig/trunk/php/external/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php (props changed)
shindig/trunk/php/external/Symfony/Component/ClassLoader/LICENSE (props changed)
shindig/trunk/php/external/Symfony/Component/ClassLoader/MapClassLoader.php (props changed)
shindig/trunk/php/external/Symfony/Component/ClassLoader/UniversalClassLoader.php (props changed)
shindig/trunk/php/src/apache/shindig/FrontController.php (props changed)
shindig/trunk/php/src/apache/shindig/bootstrap.php (props changed)
shindig/trunk/php/src/apache/shindig/common/BlobCrypterException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/CacheException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ConfigException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/Options.php (props changed)
shindig/trunk/php/src/apache/shindig/common/RemoteContentException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/RequestTime.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ShindigOAuthNoDataException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ShindigOAuthProblemException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ShindigOAuthProtocolException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ShindigOAuthRequest.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ShindigOAuthUtil.php (props changed)
shindig/trunk/php/src/apache/shindig/common/ShindigRsaSha1SignatureMethod.php (props changed)
shindig/trunk/php/src/apache/shindig/common/sample/BasicSecurityTokenException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/sample/BlobExpiredException.php (props changed)
shindig/trunk/php/src/apache/shindig/common/sample/GeneralSecurityException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/GadgetSpecException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/MakeRequestParameterException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/AccesorInfo.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/ConsumerKeyAndSecret.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/Endpoint.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/GadgetInfo.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/Location.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/Method.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/OAuth2Fetcher.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/OAuthStoreException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/OAuthStoreVars.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/ProviderInfo.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/ProviderKey.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/SpecParserException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/TokenInfo.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/oauth/TokenKey.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/render/EmptyClass.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/ExpLexerException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/ExpParserException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/ExpTypeException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/ExpressionException.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/PrimitiveExp.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/SwfConfig.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/TemplateLibraryContent.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/TemplateLibraryEntry.php (props changed)
shindig/trunk/php/src/apache/shindig/gadgets/templates/Token.php (props changed)
shindig/trunk/php/src/apache/shindig/social/model/EnumDrinker.php (props changed)
shindig/trunk/php/src/apache/shindig/social/model/EnumGender.php (props changed)
shindig/trunk/php/src/apache/shindig/social/model/EnumLookingFor.php (props changed)
shindig/trunk/php/src/apache/shindig/social/model/EnumPresence.php (props changed)
shindig/trunk/php/src/apache/shindig/social/model/EnumSmoker.php (props changed)
shindig/trunk/php/test/bootstrap.php (props changed)
Propchange: shindig/trunk/content/samplecontainer/examples/ContainerGadgetDomainTest.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/ContainerGadgetDomainTest.xml
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/xml
Modified: shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml (original)
+++ shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml Mon Feb 13 02:59:33 2012
@@ -1,63 +1,63 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<Module>
- <ModulePrefs title="Dynamic Size example gadget">
- <Require feature="dynamic-height" />
- <Require feature="dynamic-width" />
- </ModulePrefs>
-
- <Content type="html" view="default"><![CDATA[
- <head>
- <script type="text/javascript">
- gadgets.util.registerOnLoadHandler(function() {
- window.skinny = function skinny() {
- gadgets.window.adjustWidth(100);
- }
- window.fat = function fat() {
- gadgets.window.adjustWidth(600);
- }
- window.short = function short() {
- gadgets.window.adjustHeight(100);
- }
- window.tall = function tall() {
- gadgets.window.adjustHeight(600);
- }
- window.fitw = function fitw() {
- gadgets.window.adjustWidth();
- }
- window.fith = function fith() {
- gadgets.window.adjustHeight();
- }
- });
- </script>
- </head>
- <body style="background:#5AF">
- <div style="background:#FAA; width:300px">
- I'm styled to be 300px wide.
- </div>
- <input type="button" onclick="skinny()" value="skinny" />
- <input type="button" onclick="fat()" value="fat" />
- <input type="button" onclick="short()" value="short" />
- <input type="button" onclick="tall()" value="tall" />
- <input type="button" onclick="fitw()" value="fit - width" />
- <input type="button" onclick="fith()" value="fit - height" />
- </body>
- ]]></Content>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+<Module>
+ <ModulePrefs title="Dynamic Size example gadget">
+ <Require feature="dynamic-height" />
+ <Require feature="dynamic-width" />
+ </ModulePrefs>
+
+ <Content type="html" view="default"><![CDATA[
+ <head>
+ <script type="text/javascript">
+ gadgets.util.registerOnLoadHandler(function() {
+ window.skinny = function skinny() {
+ gadgets.window.adjustWidth(100);
+ }
+ window.fat = function fat() {
+ gadgets.window.adjustWidth(600);
+ }
+ window.short = function short() {
+ gadgets.window.adjustHeight(100);
+ }
+ window.tall = function tall() {
+ gadgets.window.adjustHeight(600);
+ }
+ window.fitw = function fitw() {
+ gadgets.window.adjustWidth();
+ }
+ window.fith = function fith() {
+ gadgets.window.adjustHeight();
+ }
+ });
+ </script>
+ </head>
+ <body style="background:#5AF">
+ <div style="background:#FAA; width:300px">
+ I'm styled to be 300px wide.
+ </div>
+ <input type="button" onclick="skinny()" value="skinny" />
+ <input type="button" onclick="fat()" value="fat" />
+ <input type="button" onclick="short()" value="short" />
+ <input type="button" onclick="tall()" value="tall" />
+ <input type="button" onclick="fitw()" value="fit - width" />
+ <input type="button" onclick="fith()" value="fit - height" />
+ </body>
+ ]]></Content>
</Module>
\ No newline at end of file
Propchange: shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/DynamicSizeDemo.xml
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/xml
Modified: shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml (original)
+++ shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml Mon Feb 13 02:59:33 2012
@@ -1,93 +1,93 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<Module>
- <ModulePrefs title="Proxy Tester" height="500">
- <Require feature="dynamic-height"/>
- <Require feature="embedded-experiences"/>
- <Require feature="proxied-form-post"/>
- </ModulePrefs>
- <Content type="html"><![CDATA[
- <script>
- function init() {
- gadgets.window.adjustHeight();
- }
-
- function doPostFile() {
- document.getElementById("result").innerHTML = '';
- document.getElementById("progbar").style.width = 0;
-
- var form = document.getElementById("imageform"),
- params = {};
- params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT;
- params[gadgets.io.RequestParameters.HEADERS] = {
- Referer: 'http://bayimg.com/',
- Origin: 'http://bayimg.com'
- };
-
- gadgets.io.proxiedMultipartFormPost(form, params, function(response) {
- document.getElementById("progbar").style.width = "100%";
- window.doAbort = null;
- if (response && response.errors && response.errors.length) {
- try {
- document.getElementById("result").innerHTML = /<body>(.*)<\/body>/.exec(response.errors[0])[1];
- } catch(e) {
- document.getElementById("result").innerHTML = 'Error: ' + response.errors[0];
- }
- } else {
- try {
- var url = /<img[^>]+alt="Image"[^>]+src="([^"]+)"/.exec(response.text)[1];
- document.getElementById("result").innerHTML = '<img src="' + url + '" onload="init();">';
- } catch(e) {
- document.getElementById("result").innerHTML = 'Error';
- }
- }
- gadgets.window.adjustHeight();
- },
- function(event, abort) {
- if (!window.doAbort)
- window.doAbort = abort;
- if (event && event.lengthComputable) {
- var percent = Math.ceil((event.loaded / event.total) * 100) + "%";
- document.getElementById("progbar").style.width = percent;
- }
- });
- }
-
- gadgets.util.registerOnLoadHandler(init);
- </script>
-
- <h3>Upload an image file to bayimg.com</h3>
- <form id="imageform" action="http://upload.bayimg.com/upload">
- <fieldset>
- File: <input type="file" name="file"></input>
- <input type="hidden" name="code" value="opensocial"></input>
- <input type="hidden" name="tags" value=""></input>
- </fieldset>
- <input type="button" value="Upload" onClick="doPostFile();"/>
- <input type="button" value="Abort" onClick="if (window.doAbort) doAbort();"/>
- </form>
-
- <div style="border:1px solid rgb(90,90,115); background-color:#ffffff; padding:0px; width:200px; height:20px;overflow:hidden;">
- <div id="progbar" style="width:0%; height:100%; background-color:rgb(108,157,222)"></div>
- </div>
-
- <div id="result"></div>
- ]]></Content>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * 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.
+-->
+<Module>
+ <ModulePrefs title="Proxy Tester" height="500">
+ <Require feature="dynamic-height"/>
+ <Require feature="embedded-experiences"/>
+ <Require feature="proxied-form-post"/>
+ </ModulePrefs>
+ <Content type="html"><![CDATA[
+ <script>
+ function init() {
+ gadgets.window.adjustHeight();
+ }
+
+ function doPostFile() {
+ document.getElementById("result").innerHTML = '';
+ document.getElementById("progbar").style.width = 0;
+
+ var form = document.getElementById("imageform"),
+ params = {};
+ params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT;
+ params[gadgets.io.RequestParameters.HEADERS] = {
+ Referer: 'http://bayimg.com/',
+ Origin: 'http://bayimg.com'
+ };
+
+ gadgets.io.proxiedMultipartFormPost(form, params, function(response) {
+ document.getElementById("progbar").style.width = "100%";
+ window.doAbort = null;
+ if (response && response.errors && response.errors.length) {
+ try {
+ document.getElementById("result").innerHTML = /<body>(.*)<\/body>/.exec(response.errors[0])[1];
+ } catch(e) {
+ document.getElementById("result").innerHTML = 'Error: ' + response.errors[0];
+ }
+ } else {
+ try {
+ var url = /<img[^>]+alt="Image"[^>]+src="([^"]+)"/.exec(response.text)[1];
+ document.getElementById("result").innerHTML = '<img src="' + url + '" onload="init();">';
+ } catch(e) {
+ document.getElementById("result").innerHTML = 'Error';
+ }
+ }
+ gadgets.window.adjustHeight();
+ },
+ function(event, abort) {
+ if (!window.doAbort)
+ window.doAbort = abort;
+ if (event && event.lengthComputable) {
+ var percent = Math.ceil((event.loaded / event.total) * 100) + "%";
+ document.getElementById("progbar").style.width = percent;
+ }
+ });
+ }
+
+ gadgets.util.registerOnLoadHandler(init);
+ </script>
+
+ <h3>Upload an image file to bayimg.com</h3>
+ <form id="imageform" action="http://upload.bayimg.com/upload">
+ <fieldset>
+ File: <input type="file" name="file"></input>
+ <input type="hidden" name="code" value="opensocial"></input>
+ <input type="hidden" name="tags" value=""></input>
+ </fieldset>
+ <input type="button" value="Upload" onClick="doPostFile();"/>
+ <input type="button" value="Abort" onClick="if (window.doAbort) doAbort();"/>
+ </form>
+
+ <div style="border:1px solid rgb(90,90,115); background-color:#ffffff; padding:0px; width:200px; height:20px;overflow:hidden;">
+ <div id="progbar" style="width:0%; height:100%; background-color:rgb(108,157,222)"></div>
+ </div>
+
+ <div id="result"></div>
+ ]]></Content>
</Module>
\ No newline at end of file
Propchange: shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/ImageUploadGadget.xml
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/SharedLockedDomainDemo1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/SharedLockedDomainDemo1.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/SharedLockedDomainDemo2.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/SharedLockedDomainDemo2.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/SharedScriptFrameDemo.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/SharedScriptFrameDemo.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_facebook.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_facebook.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_google.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_google.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_windowslive.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/oauth2_windowslive.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/shindig_authorization.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/shindig_authorization.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/shindig_client_credentials.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/content/samplecontainer/examples/oauth2/shindig_client_credentials.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml (original)
+++ shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml Mon Feb 13 02:59:33 2012
@@ -1,24 +1,24 @@
-<?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>firebug-lite</name>
- <all>
- <script src="https://getfirebug.com/firebug-lite.js"/>
- </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>firebug-lite</name>
+ <all>
+ <script src="https://getfirebug.com/firebug-lite.js"/>
+ </all>
+</feature>
Propchange: shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/extras/src/main/javascript/features-extras/firebug-lite/feature.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml (original)
+++ shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml Mon Feb 13 02:59:33 2012
@@ -1,71 +1,71 @@
-<?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>container.site.gadget</name>
- <dependency>osapi</dependency>
- <dependency>globals</dependency>
- <dependency>core.log</dependency>
- <dependency>shindig.auth</dependency>
- <dependency>shindig.uri.ext</dependency>
- <dependency>core.util</dependency>
- <dependency>rpc</dependency>
- <dependency>container.util</dependency>
- <dependency>container.site</dependency>
- container.site
- <container>
- <script src="gadget_holder.js" />
- <script src="gadget_site.js" />
- <api>
- <!-- inherited -->
- <exports type="js">osapi.container.GadgetSite</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.onConstructed</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.close</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.setParentId</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.getParentId</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.getActiveSiteHolder</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.getId</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.render</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.setHeight</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.setWidth</exports>
-
- <exports type="js">osapi.container.GadgetSite.prototype.rpcCall</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.getFeature</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.getModuleId</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.navigateTo</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.onNavigateTo</exports>
- <exports type="js">osapi.container.GadgetSite.prototype.onRender</exports>
-
- <!-- inherited -->
- <exports type="js">osapi.container.GadgetHolder</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.onConstructed</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.createIframeAttributeMap</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.createIframeHtml</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.dispose</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.getElement</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.getIframeElement</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.getIframeId</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.getUrl</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.render</exports>
-
- <exports type="js">osapi.container.GadgetHolder.prototype.getGadgetInfo</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.getView</exports>
- <exports type="js">osapi.container.GadgetHolder.prototype.setSecurityToken</exports>
- </api>
- </container>
+<?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>container.site.gadget</name>
+ <dependency>osapi</dependency>
+ <dependency>globals</dependency>
+ <dependency>core.log</dependency>
+ <dependency>shindig.auth</dependency>
+ <dependency>shindig.uri.ext</dependency>
+ <dependency>core.util</dependency>
+ <dependency>rpc</dependency>
+ <dependency>container.util</dependency>
+ <dependency>container.site</dependency>
+ container.site
+ <container>
+ <script src="gadget_holder.js" />
+ <script src="gadget_site.js" />
+ <api>
+ <!-- inherited -->
+ <exports type="js">osapi.container.GadgetSite</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.onConstructed</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.close</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.setParentId</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.getParentId</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.getActiveSiteHolder</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.getId</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.render</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.setHeight</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.setWidth</exports>
+
+ <exports type="js">osapi.container.GadgetSite.prototype.rpcCall</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.getFeature</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.getModuleId</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.navigateTo</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.onNavigateTo</exports>
+ <exports type="js">osapi.container.GadgetSite.prototype.onRender</exports>
+
+ <!-- inherited -->
+ <exports type="js">osapi.container.GadgetHolder</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.onConstructed</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.createIframeAttributeMap</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.createIframeHtml</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.dispose</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.getElement</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.getIframeElement</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.getIframeId</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.getUrl</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.render</exports>
+
+ <exports type="js">osapi.container.GadgetHolder.prototype.getGadgetInfo</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.getView</exports>
+ <exports type="js">osapi.container.GadgetHolder.prototype.setSecurityToken</exports>
+ </api>
+ </container>
</feature>
\ No newline at end of file
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.gadget/feature.xml
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/xml
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.gadget/gadget_holder.js
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/javascript
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.gadget/gadget_site.js
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/javascript
Modified: shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml (original)
+++ shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml Mon Feb 13 02:59:33 2012
@@ -1,53 +1,53 @@
-<?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>container.site.url</name>
- <dependency>osapi</dependency>
- <dependency>container.util</dependency>
- <dependency>container.site</dependency>
- <container>
- <script src="url_holder.js" />
- <script src="url_site.js" />
- <api>
- <!-- inherited -->
- <exports type="js">osapi.container.UrlSite</exports>
- <exports type="js">osapi.container.UrlSite.prototype.onConstructed</exports>
- <exports type="js">osapi.container.UrlSite.prototype.close</exports>
- <exports type="js">osapi.container.UrlSite.prototype.setParentId</exports>
- <exports type="js">osapi.container.UrlSite.prototype.getParentId</exports>
- <exports type="js">osapi.container.UrlSite.prototype.getActiveSiteHolder</exports>
- <exports type="js">osapi.container.UrlSite.prototype.getId</exports>
- <exports type="js">osapi.container.UrlSite.prototype.render</exports>
- <exports type="js">osapi.container.UrlSite.prototype.setHeight</exports>
- <exports type="js">osapi.container.UrlSite.prototype.setWidth</exports>
-
- <!-- inherited -->
- <exports type="js">osapi.container.UrlHolder</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.onConstructed</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.createIframeAttributeMap</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.createIframeHtml</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.dispose</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.getElement</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.getIframeElement</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.getIframeId</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.getUrl</exports>
- <exports type="js">osapi.container.UrlHolder.prototype.render</exports>
- </api>
- </container>
+<?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>container.site.url</name>
+ <dependency>osapi</dependency>
+ <dependency>container.util</dependency>
+ <dependency>container.site</dependency>
+ <container>
+ <script src="url_holder.js" />
+ <script src="url_site.js" />
+ <api>
+ <!-- inherited -->
+ <exports type="js">osapi.container.UrlSite</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.onConstructed</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.close</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.setParentId</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.getParentId</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.getActiveSiteHolder</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.getId</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.render</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.setHeight</exports>
+ <exports type="js">osapi.container.UrlSite.prototype.setWidth</exports>
+
+ <!-- inherited -->
+ <exports type="js">osapi.container.UrlHolder</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.onConstructed</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.createIframeAttributeMap</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.createIframeHtml</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.dispose</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.getElement</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.getIframeElement</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.getIframeId</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.getUrl</exports>
+ <exports type="js">osapi.container.UrlHolder.prototype.render</exports>
+ </api>
+ </container>
</feature>
\ No newline at end of file
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.url/feature.xml
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/xml
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.url/url_holder.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.url/url_holder.js
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/javascript
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.url/url_site.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/features/src/main/javascript/features/container.site.url/url_site.js
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/javascript
Modified: shindig/trunk/features/src/main/javascript/features/container.site/feature.xml
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/container.site/feature.xml?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/container.site/feature.xml (original)
+++ shindig/trunk/features/src/main/javascript/features/container.site/feature.xml Mon Feb 13 02:59:33 2012
@@ -1,49 +1,49 @@
-<?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>container.site</name>
- <!--dependency>container.site.gadget</dependency-->
- <container>
- <script src="site.js" />
- <script src="site_holder.js" />
- <api>
- <exports type="js">osapi.container.Site</exports>
- <exports type="js">osapi.container.Site.prototype.onConstructed</exports>
- <exports type="js">osapi.container.Site.prototype.close</exports>
- <exports type="js">osapi.container.Site.prototype.setParentId</exports>
- <exports type="js">osapi.container.Site.prototype.getParentId</exports>
- <exports type="js">osapi.container.Site.prototype.getActiveSiteHolder</exports>
- <exports type="js">osapi.container.Site.prototype.getId</exports>
- <exports type="js">osapi.container.Site.prototype.render</exports>
- <exports type="js">osapi.container.Site.prototype.setHeight</exports>
- <exports type="js">osapi.container.Site.prototype.setWidth</exports>
-
- <exports type="js">osapi.container.SiteHolder</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.onConstructed</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.createIframeAttributeMap</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.createIframeHtml</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.dispose</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.getElement</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.getIframeElement</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.getIframeId</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.getUrl</exports>
- <exports type="js">osapi.container.SiteHolder.prototype.render</exports>
- </api>
- </container>
+<?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>container.site</name>
+ <!--dependency>container.site.gadget</dependency-->
+ <container>
+ <script src="site.js" />
+ <script src="site_holder.js" />
+ <api>
+ <exports type="js">osapi.container.Site</exports>
+ <exports type="js">osapi.container.Site.prototype.onConstructed</exports>
+ <exports type="js">osapi.container.Site.prototype.close</exports>
+ <exports type="js">osapi.container.Site.prototype.setParentId</exports>
+ <exports type="js">osapi.container.Site.prototype.getParentId</exports>
+ <exports type="js">osapi.container.Site.prototype.getActiveSiteHolder</exports>
+ <exports type="js">osapi.container.Site.prototype.getId</exports>
+ <exports type="js">osapi.container.Site.prototype.render</exports>
+ <exports type="js">osapi.container.Site.prototype.setHeight</exports>
+ <exports type="js">osapi.container.Site.prototype.setWidth</exports>
+
+ <exports type="js">osapi.container.SiteHolder</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.onConstructed</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.createIframeAttributeMap</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.createIframeHtml</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.dispose</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.getElement</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.getIframeElement</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.getIframeId</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.getUrl</exports>
+ <exports type="js">osapi.container.SiteHolder.prototype.render</exports>
+ </api>
+ </container>
</feature>
\ No newline at end of file
Propchange: shindig/trunk/features/src/main/javascript/features/container.site/feature.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/features/src/main/javascript/features/container.site/feature.xml
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/xml
Modified: shindig/trunk/features/src/main/javascript/features/container.site/site.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/container.site/site.js?rev=1243399&r1=1243398&r2=1243399&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/container.site/site.js (original)
+++ shindig/trunk/features/src/main/javascript/features/container.site/site.js Mon Feb 13 02:59:33 2012
@@ -1,180 +1,180 @@
-/*
- * 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 Abstract base-class for gadget sites and url sites.
- */
-
-/**
- * @param {osapi.container.Container} container The container that hosts this gadget site.
- * @param {osapi.container.Service} service The container's service.
- * @param {Element} element The main element for this site.
- */
-osapi.container.Site = function(container, service, element, args) {
- var undef;
- /**
- * @type {osapi.container.Container}
- * @protected
- */
- this.container_ = container;
-
- /**
- * @type {osapi.container.Service}
- * @protected
- */
- this.service_ = service;
-
- /**
- * @type {Element}
- * @protected
- */
- this.el_ = element;
-
- /**
- * Unique ID of this site. Uses the ID of the site element, if set, or an
- * auto-generated number.
- *
- * @type {string}
- * @protected
- */
- this.id_ = (this.el_ && this.el_.id) ? this.el_.id :
- osapi.container.Site.prototype.nextUniqueSiteId_++;
-
- /**
- * @type {number?}
- * @protected
- */
- this.parentId_ = undef;
-
- /**
- * Used primarily by open-views feature.
- *
- * @type {string?} ownerId_ The rpc targetId of the gadget that requested
- * this site's creation.
- * @protected
- */
- this.ownerId_ = undef;
-};
-
-/**
- * Unique counter for sites. Used if no explicit ID was provided in their creation.
- * @type {number}
- */
-osapi.container.Site.prototype.nextUniqueSiteId_ = 0;
-
-// Public impl
-
-/**
- * Callback that occurs after instantiation/construction of any site.
- * Override on Site to provide your specific functionalities for all sites.
- * Override on any subclass of Site to provide your specific functionalities
- * for that subclass of sites. Overriding subclass onConstructed will not fire
- * generic Site onConstructed unless you do so manually.
- */
-osapi.container.Site.prototype.onConstructed = function() {};
-
-/**
- * @return {string} The ID of this site.
- */
-osapi.container.Site.prototype.getId = function() {
- return this.id_;
-};
-
-/**
- * Set the width of the site's iframe.
- *
- * @param {number} value The new width.
- * @return {osapi.container.Site} this
- */
-osapi.container.Site.prototype.setWidth = function(value) {
- var holder = this.getActiveSiteHolder();
- if (holder) {
- var iframeEl = holder.getIframeElement();
- if (iframeEl) {
- iframeEl.style.width = value + 'px';
- }
- }
- return this;
-};
-
-/**
- * Set the height of the site's iframe.
- *
- * @param {number} value The new height.
- * @return {osapi.container.Site} this.
- */
-osapi.container.Site.prototype.setHeight = function(value) {
- var holder = this.getActiveSiteHolder();
- if (holder) {
- var iframeEl = holder.getIframeElement();
- if (iframeEl) {
- iframeEl.style.height = value + 'px';
- }
- }
- return this;
-};
-
-/**
- * Closes this site.
- */
-osapi.container.Site.prototype.close = function() {
- if (this.el_ && this.el_.firstChild) {
- this.el_.removeChild(this.el_.firstChild);
- }
-
- var holder = this.getActiveSiteHolder();
- holder && holder.dispose();
-};
-
-/**
- * @return {string?} The id of parent DOM element containing this site, if
- * previously set by osapi.container.Site.prototype.setParentId.
- */
-osapi.container.Site.prototype.getParentId = function() {
- return this.parentId_;
-};
-
-/**
- * Sets the id of the parent DOM element containing this site.
- *
- * @param {number} parentId the id of the parent DOM element.
- * @return {osapi.container.Site} this.
- */
-osapi.container.Site.prototype.setParentId = function(parentId) {
- this.parentId_ = parentId;
- return this;
-};
-
-// Abstract methods
-
-/**
- * Gets the active site holder for this site.
- * @abstract
- * @return {osapi.container.SiteHolder} the holder for this site.
- */
-osapi.container.Site.prototype.getActiveSiteHolder = function() {
- throw new Error("This method must be implemented by a subclass.");
-};
-
-/**
- * Renders this site.
- * @abstract
- */
-osapi.container.Site.prototype.render = function() {
- throw new Error("This method must be implemented by a subclass.");
+/*
+ * 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 Abstract base-class for gadget sites and url sites.
+ */
+
+/**
+ * @param {osapi.container.Container} container The container that hosts this gadget site.
+ * @param {osapi.container.Service} service The container's service.
+ * @param {Element} element The main element for this site.
+ */
+osapi.container.Site = function(container, service, element, args) {
+ var undef;
+ /**
+ * @type {osapi.container.Container}
+ * @protected
+ */
+ this.container_ = container;
+
+ /**
+ * @type {osapi.container.Service}
+ * @protected
+ */
+ this.service_ = service;
+
+ /**
+ * @type {Element}
+ * @protected
+ */
+ this.el_ = element;
+
+ /**
+ * Unique ID of this site. Uses the ID of the site element, if set, or an
+ * auto-generated number.
+ *
+ * @type {string}
+ * @protected
+ */
+ this.id_ = (this.el_ && this.el_.id) ? this.el_.id :
+ osapi.container.Site.prototype.nextUniqueSiteId_++;
+
+ /**
+ * @type {number?}
+ * @protected
+ */
+ this.parentId_ = undef;
+
+ /**
+ * Used primarily by open-views feature.
+ *
+ * @type {string?} ownerId_ The rpc targetId of the gadget that requested
+ * this site's creation.
+ * @protected
+ */
+ this.ownerId_ = undef;
+};
+
+/**
+ * Unique counter for sites. Used if no explicit ID was provided in their creation.
+ * @type {number}
+ */
+osapi.container.Site.prototype.nextUniqueSiteId_ = 0;
+
+// Public impl
+
+/**
+ * Callback that occurs after instantiation/construction of any site.
+ * Override on Site to provide your specific functionalities for all sites.
+ * Override on any subclass of Site to provide your specific functionalities
+ * for that subclass of sites. Overriding subclass onConstructed will not fire
+ * generic Site onConstructed unless you do so manually.
+ */
+osapi.container.Site.prototype.onConstructed = function() {};
+
+/**
+ * @return {string} The ID of this site.
+ */
+osapi.container.Site.prototype.getId = function() {
+ return this.id_;
+};
+
+/**
+ * Set the width of the site's iframe.
+ *
+ * @param {number} value The new width.
+ * @return {osapi.container.Site} this
+ */
+osapi.container.Site.prototype.setWidth = function(value) {
+ var holder = this.getActiveSiteHolder();
+ if (holder) {
+ var iframeEl = holder.getIframeElement();
+ if (iframeEl) {
+ iframeEl.style.width = value + 'px';
+ }
+ }
+ return this;
+};
+
+/**
+ * Set the height of the site's iframe.
+ *
+ * @param {number} value The new height.
+ * @return {osapi.container.Site} this.
+ */
+osapi.container.Site.prototype.setHeight = function(value) {
+ var holder = this.getActiveSiteHolder();
+ if (holder) {
+ var iframeEl = holder.getIframeElement();
+ if (iframeEl) {
+ iframeEl.style.height = value + 'px';
+ }
+ }
+ return this;
+};
+
+/**
+ * Closes this site.
+ */
+osapi.container.Site.prototype.close = function() {
+ if (this.el_ && this.el_.firstChild) {
+ this.el_.removeChild(this.el_.firstChild);
+ }
+
+ var holder = this.getActiveSiteHolder();
+ holder && holder.dispose();
+};
+
+/**
+ * @return {string?} The id of parent DOM element containing this site, if
+ * previously set by osapi.container.Site.prototype.setParentId.
+ */
+osapi.container.Site.prototype.getParentId = function() {
+ return this.parentId_;
+};
+
+/**
+ * Sets the id of the parent DOM element containing this site.
+ *
+ * @param {number} parentId the id of the parent DOM element.
+ * @return {osapi.container.Site} this.
+ */
+osapi.container.Site.prototype.setParentId = function(parentId) {
+ this.parentId_ = parentId;
+ return this;
+};
+
+// Abstract methods
+
+/**
+ * Gets the active site holder for this site.
+ * @abstract
+ * @return {osapi.container.SiteHolder} the holder for this site.
+ */
+osapi.container.Site.prototype.getActiveSiteHolder = function() {
+ throw new Error("This method must be implemented by a subclass.");
+};
+
+/**
+ * Renders this site.
+ * @abstract
+ */
+osapi.container.Site.prototype.render = function() {
+ throw new Error("This method must be implemented by a subclass.");
};
\ No newline at end of file
Propchange: shindig/trunk/features/src/main/javascript/features/container.site/site.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: shindig/trunk/features/src/main/javascript/features/container.site/site.js
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Mon Feb 13 02:59:33 2012
@@ -1 +1 @@
-text/plain
+text/javascript