Skip to content

Commit

Permalink
Merge pull request #254 from Adobe-CEP/max_update
Browse files Browse the repository at this point in the history
Max 2019 update
  • Loading branch information
sujaisivanandan authored Nov 4, 2019
2 parents 5880e20 + 5cb2a6d commit 9839231
Show file tree
Hide file tree
Showing 8 changed files with 117 additions and 18 deletions.
2 changes: 1 addition & 1 deletion CEP_9.x/CEPEngine_extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//
// Note: So far all native file i/o functions are synchronous, and aynchronous file i/o is TBD.

/** Version v9.0.0 */
/** Version v9.4.0 */

/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, forin: true, maxerr: 50, regexp: true */
/*global define, native */
Expand Down
85 changes: 84 additions & 1 deletion CEP_9.x/CSInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
**************************************************************************************************/

/** CSInterface - v9.2.0 */
/** CSInterface - v9.4.0 */

/**
* Stores constants for the window types supported by the CSXS infrastructure.
Expand Down Expand Up @@ -490,6 +490,89 @@ CSInterface.prototype.getHostEnvironment = function()
return this.hostEnvironment;
};

/** Loads binary file created which is located at url asynchronously
*
*@param urlName url at which binary file is located. Local files should start with 'file://'
*@param callback Optional. A callback function that returns after binary is loaded
*@example
* To create JS binary use command ./cep_compiler test.js test.bin
* To load JS binary asyncronously
* var CSLib = new CSInterface();
* CSLib.loadBinAsync(url, function () { });
*/
CSInterface.prototype.loadBinAsync = function(urlName,callback)
{
try
{
var xhr = new XMLHttpRequest();
xhr.responseType = 'arraybuffer'; // make response as ArrayBuffer
xhr.open('GET', urlName, true);
xhr.onerror = function ()
{
console.log("Unable to load snapshot from given URL");
return false;
};
xhr.send();
xhr.onload = () => {
window.__adobe_cep__.loadSnapshot(xhr.response);
if (typeof callback === "function")
{
callback();
}
else if(typeof callback !== "undefined")
{
console.log("Provided callback is not a function");
}
}
}
catch(err)
{
console.log(err);
return false;
}

return true;
};

/** Loads binary file created synchronously
*
*@param pathName the local path at which binary file is located
*@example
* To create JS binary use command ./cep_compiler test.js test.bin
* To load JS binary syncronously
* var CSLib = new CSInterface();
* CSLib.loadBinSync(path);
*/
CSInterface.prototype.loadBinSync = function(pathName)
{
try
{
var OSVersion = this.getOSInformation();
if(pathName.startsWith("file://"))
{
if (OSVersion.indexOf("Windows") >= 0)
{
pathName = pathName.replace("file:///", "");
}
else if (OSVersion.indexOf("Mac") >= 0)
{
pathName = pathName.replace("file://", "");
}
window.__adobe_cep__.loadSnapshot(pathName);
return true;
}
}
catch(err)
{
console.log(err);
return false;
}
//control should not come here
return false;
};

/** Closes this extension. */
CSInterface.prototype.closeExtension = function()
{
Expand Down
Binary file modified CEP_9.x/Cefclient_Mac.zip
Binary file not shown.
Binary file modified CEP_9.x/Cefclient_Win32.zip
Binary file not shown.
Binary file modified CEP_9.x/Cefclient_Win64.zip
Binary file not shown.
31 changes: 16 additions & 15 deletions CEP_9.x/Documentation/CEP 9.0 HTML Extension Cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@ These extension types are supported by CEP. You need to specify an extension's t
These applications support CEP HTML extensions.


| Application | Host ID | CC Version | CC 2014 Version | CC 2015 Version | CC 2015 Dot Version | CC 2017 Version |CC 2018 Version |CC 2019 Version|
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |--------------|--------------|
|Photoshop| PHSP/PHXS | 14 (CEP 4) | 15 (CEP 5) | 16 (CEP 6) | 17.0.2 (CEP 7)| 18 (CEP 7)|19 (CEP 8)|20 (CEP 9)|
|InDesign| IDSN| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|
|InCopy| AICY| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|
|Illustrator| ILST| 17 (CEP 4)| 18 (CEP 5)| 19 (CEP 6)| 20 (CEP 7)| 21 (CEP 7)|22 (CEP 8)|23 (CEP 9)|
|Premiere Pro| PPRO| 7 (CEP 4)| 8| 9| 10.3 (CEP 6)| 11 (CEP 6)|12 (CEP 8)|23 (CEP 9)|
|Prelude| PRLD| 2 (CEP 4)| 3| 4| 5.0.1 (CEP 6)| 6 (CEP 7)| 7 (CEP 8)|8 (CEP 9)|
|After Effects| AEFT| 12| 13| 13.5| 13.8.1 (CEP 6)| 14 (CEP 6)|15 (CEP 8)|16 (CEP 9)|
|Animate (Flash Pro)| FLPR| 13| 14 (CEP 5)| 15 (CEP 6)| 15.2 (CEP 6.1)| 16 (CEP 6.1)|18 (CEP 8)|19 (CEP 9)|
|Audition| AUDT| 6| 7| 8| 9.2.1 (CEP 6)| 10 (CEP 6)|11|12 (CEP 9)|
|Dreamweaver| DRWV| 13 (CEP 4)| 15 (CEP 5)| 16 (CEP 6)|-| 17 (CEP 6.1)|18 (CEP 8)|19 (CEP 9)|
|Muse| MUSE |7.4|-|2015|-|2017|2018|-|
|Bridge| KBRG |6|-|6.3.1|-|-|8 (CEP 8)|9 (CEP 9)|
|Rush| RUSH |-|-|-|-|-|-|1 (CEP 9)|
| Application | Host ID | CC Version | CC 2014 Version | CC 2015 Version | CC 2015 Dot Version | CC 2017 Version |CC 2018 Version |CC 2019 Version|CC 2020 Version|
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |--------------|--------------|--------------|
|Photoshop| PHSP/PHXS | 14 (CEP 4) | 15 (CEP 5) | 16 (CEP 6) | 17.0.2 (CEP 7)| 18 (CEP 7)|19 (CEP 8)|20 (CEP 9)|21 (CEP 9)|
|InDesign| IDSN| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|15 (CEP 9)|
|InCopy| AICY| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|15 (CEP 9)|
|Illustrator| ILST| 17 (CEP 4)| 18 (CEP 5)| 19 (CEP 6)| 20 (CEP 7)| 21 (CEP 7)|22 (CEP 8)|23 (CEP 9)|24 (CEP 9)|
|Premiere Pro| PPRO| 7 (CEP 4)| 8| 9| 10.3 (CEP 6)| 11 (CEP 6)|12 (CEP 8)|23 (CEP 9)|14 (CEP 9)|
|Prelude| PRLD| 2 (CEP 4)| 3| 4| 5.0.1 (CEP 6)| 6 (CEP 7)| 7 (CEP 8)|8 (CEP 9)|9 (CEP 9)|
|After Effects| AEFT| 12| 13| 13.5| 13.8.1 (CEP 6)| 14 (CEP 6)|15 (CEP 8)|16 (CEP 9)|17 (CEP 9)|
|Animate (Flash Pro)| FLPR| 13| 14 (CEP 5)| 15 (CEP 6)| 15.2 (CEP 6.1)| 16 (CEP 6.1)|18 (CEP 8)|19 (CEP 9)|20 (CEP 9)|
|Audition| AUDT| 6| 7| 8| 9.2.1 (CEP 6)| 10 (CEP 6)|11|12 (CEP 9)|13 (CEP 9)|
|Dreamweaver| DRWV| 13 (CEP 4)| 15 (CEP 5)| 16 (CEP 6)|-| 17 (CEP 6.1)|18 (CEP 8)|19 (CEP 9)|20 (CEP 9)|
|Muse| MUSE |7.4|-|2015|-|2017|2018|-|-|
|Bridge| KBRG |6|-|6.3.1|-|-|8 (CEP 8)|9 (CEP 9)|10 (CEP 9)|
|Rush| RUSH |-|-|-|-|-|-|1 (CEP 9)|1.2.1 (CEP 9)|


### Chromium Embedded Framework (CEF)
Expand All @@ -67,6 +67,7 @@ CEP HTML engine is based on Chromium Embedded Framework version 3 (CEF3). You ca
|Chromium |41.0.2272.104| 57.0.2987.74| 61.0.3163.91|
|Node.js |IO.js 1.2.0|Node.js 7.7.4|Node.js 8.6.0|
|CEF/Node integration| Node-WebKit 0.12.1 (nw.js) |Node-Webkit 0.21.5|Node-Webkit 0.25|
|v8 |-|-|6.3.292.49|


### Browser Features supported by CEP
Expand Down
15 changes: 15 additions & 0 deletions CEP_9.x/Documentation/Issues.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

CEP 9 Known Issues
====================

### Following are the known issues in the latest version. Please keep these in mind while creating your own extension...

#Issue 1 :
Extensions should not have 'in between spaces' in the Extension Id mentioned in the manifest.
Eg.- <Extension Id= "com.adobe.abc.def" Version="x.y" /> is valid
<Extension Id= "com_adobe_abc_def" Version="x.y" /> is valid
<Extension Id= "comAdobeAbcDef" Version="x.y" /> is valid
<Extension Id= "com adobe abc def" Version="x.y" /> is NOT valid



2 changes: 1 addition & 1 deletion CEP_9.x/Vulcan.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
**************************************************************************************************/

/** Vulcan - v9.2.0 */
/** Vulcan - v9.4.0 */

/**
* @class Vulcan
Expand Down

0 comments on commit 9839231

Please sign in to comment.