-
Notifications
You must be signed in to change notification settings - Fork 832
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding CEP_11 folder and updating readme (#362)
Co-authored-by: shusharm <shusharm@adobe.com>
- Loading branch information
1 parent
2239c56
commit 24c0004
Showing
329 changed files
with
97,996 additions
and
4 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
3,007 changes: 3,007 additions & 0 deletions
3,007
CEP_11.x/Documentation/CEP 11.1 HTML Extension Cookbook.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
CEP 11 Known Issues & FAQ | ||
==================== | ||
|
||
### Following are the known issues in CEP 10.0 and above. Please keep these in mind while creating your own extension... | ||
|
||
## Issue 1 : | ||
Drag events not fired while debugging an extension. | ||
|
||
Workaround: Deactivate the screencast by selecting the "Toggle device Toolbar" in the chrome inspect window. | ||
Once done, Drag operation can be performed even while debugging the extension. | ||
![Toggle device Toolbar](./images/issues/dragDebug.png) | ||
|
||
## Issues existing in CEP 9 and above | ||
|
||
### Issue 1: | ||
In Windows, the API cep.fs.stat() is not able to access file of size greater than 4GB | ||
|
||
|
||
--- | ||
|
||
## FAQ | ||
|
||
* **Refer the migration Guidelines for [CEP 10 to CEP 11](./CEP%2011.1%20HTML%20Extension%20Cookbook.md#migration-from-cep-10-to-cep-11)** | ||
|
||
* **If similar error is seen in debug console, confirm\verfiy the following** | ||
|
||
![require not function](./images/issues/requireNotFunction.png) | ||
|
||
* Confirm CEPEngine_extensions.js is NOT integrated in your extension | ||
|
||
* Node could be crashing. Please update node_modules with CEP 10 supported [node version](./CEP%2011.1%20HTML%20Extension%20Cookbook.md#chromium-embedded-framework-cef). | ||
|
||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Folder containing images used in documentation |
60 changes: 60 additions & 0 deletions
60
CEP_11.x/Samples/CEP_HTML_Invisible_Extension-10.0/CSXS/manifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtensionBundleId="com.adobe.cephtmltest.invisible" ExtensionBundleVersion="1.0" Version="6.0"> <!-- MAJOR-VERSION-UPDATE-MARKER --> | ||
<ExtensionList> | ||
<Extension Id="com.adobe.CEPHTMLTEST.invisible" Version="6.1.0"/> | ||
</ExtensionList> | ||
<ExecutionEnvironment> | ||
<HostList> | ||
<Host Name="DRWV" Version="15.0"/> | ||
<Host Name="FLPR" Version="15.0"/> | ||
<Host Name="IDSN" Version="11.0"/> | ||
<Host Name="AICY" Version="11.0"/> | ||
<Host Name="ILST" Version="[15.0,99.9]"/> | ||
<Host Name="PHSP" Version="16.0"/> | ||
<Host Name="PHXS" Version="[16.0,99.9]"/> | ||
<Host Name="PPRO" Version="9.0"/> | ||
<Host Name="PRLD" Version="4.0"/> | ||
<Host Name="AEFT" Version="13.0"/> | ||
<Host Name="DEMO" Version="1.0"/> | ||
<Host Name="AUDT" Version="8.0"/> | ||
<Host Name="LTRM" Version="7.0"/> | ||
<Host Name="MUSE" Version="2015"/> | ||
</HostList> | ||
<LocaleList> | ||
<Locale Code="All"/> | ||
</LocaleList> | ||
<RequiredRuntimeList> | ||
<RequiredRuntime Name="CSXS" Version="6.0"/> <!-- MAJOR-VERSION-UPDATE-MARKER --> | ||
</RequiredRuntimeList> | ||
</ExecutionEnvironment> | ||
<DispatchInfoList> | ||
<Extension Id="com.adobe.CEPHTMLTEST.invisible"> | ||
<DispatchInfo> | ||
<Resources> | ||
<MainPath>./html/index.html</MainPath> | ||
<CEFCommandLine> | ||
<Parameter>--enable-nodejs</Parameter> | ||
</CEFCommandLine> | ||
</Resources> | ||
<Lifecycle> | ||
<AutoVisible>false</AutoVisible> | ||
<StartOn> | ||
<!-- PS dispatches this event on startup --> | ||
<Event>applicationActivate</Event> | ||
<!-- PPro dispatches this event on startup --> | ||
<Event>com.adobe.csxs.events.ApplicationActivate</Event> | ||
</StartOn> | ||
</Lifecycle> | ||
<UI> | ||
<Type>Custom</Type> | ||
<Geometry> | ||
<Size> | ||
<Height>100</Height> | ||
<Width>100</Width> | ||
</Size> | ||
</Geometry> | ||
</UI> | ||
</DispatchInfo> | ||
</Extension> | ||
</DispatchInfoList> | ||
</ExtensionManifest> |
93 changes: 93 additions & 0 deletions
93
CEP_11.x/Samples/CEP_HTML_Invisible_Extension-10.0/html/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<!-- | ||
/************************************************************************* | ||
* | ||
* ADOBE CONFIDENTIAL | ||
* ___________________ | ||
* | ||
* Copyright 2013, Adobe Systems Incorporated | ||
* All Rights Reserved. | ||
* | ||
* NOTICE: All information contained herein is, and remains | ||
* the property of Adobe Systems Incorporated and its suppliers, | ||
* if any. The intellectual and technical concepts contained | ||
* herein are proprietary to Adobe Systems Incorporated and its | ||
* suppliers and are protected by trade secret or copyright law. | ||
* Dissemination of this information or reproduction of this material | ||
* is strictly forbidden unless prior written permission is obtained | ||
* from Adobe Systems Incorporated. | ||
**************************************************************************/ | ||
--> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
|
||
<head> | ||
|
||
<script src="../js/CSInterface.js"></script> | ||
|
||
<script> | ||
|
||
var httpServer; | ||
|
||
window.onload = function() | ||
{ | ||
var csLib = new CSInterface(); | ||
var hostEnv = csLib.getHostEnvironment(); | ||
var appVersion = hostEnv.appVersion; | ||
var appId = hostEnv.appId; | ||
|
||
var port = 8000; | ||
switch (appId) | ||
{ | ||
case 'PHXS': | ||
case 'PHSP': | ||
port = 8000; | ||
break; | ||
|
||
case 'PPRO': | ||
port = 8001; | ||
break; | ||
|
||
case 'PRLD': | ||
port = 8002; | ||
break; | ||
|
||
case 'IDSN': | ||
port = 8003; | ||
break; | ||
|
||
case 'AICY': | ||
port = 8004; | ||
break; | ||
|
||
case 'FLPR': | ||
port = 8005; | ||
break; | ||
|
||
case 'ILST': | ||
port = 8012; | ||
break; | ||
|
||
default: | ||
break; | ||
} | ||
|
||
var http = cep_node.require('http'); | ||
httpServer = http.createServer(function (req, res) | ||
{ | ||
res.writeHead(200, {'Content-Type': 'text/plain'}); | ||
res.end('Greetings from ' + appId + ' ' + appVersion); | ||
}).listen(port, '127.0.0.1'); | ||
}; | ||
|
||
window.onunload = function() | ||
{ | ||
httpServer.close(); | ||
} | ||
|
||
</script> | ||
</head> | ||
|
||
<body> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.