Skip to content

Commit 9839231

Browse files
Merge pull request #254 from Adobe-CEP/max_update
Max 2019 update
2 parents 5880e20 + 5cb2a6d commit 9839231

File tree

8 files changed

+117
-18
lines changed

8 files changed

+117
-18
lines changed

CEP_9.x/CEPEngine_extensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
//
1717
// Note: So far all native file i/o functions are synchronous, and aynchronous file i/o is TBD.
1818

19-
/** Version v9.0.0 */
19+
/** Version v9.4.0 */
2020

2121
/*jslint vars: true, plusplus: true, devel: true, browser: true, nomen: true, indent: 4, forin: true, maxerr: 50, regexp: true */
2222
/*global define, native */

CEP_9.x/CSInterface.js

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
**************************************************************************************************/
1313

14-
/** CSInterface - v9.2.0 */
14+
/** CSInterface - v9.4.0 */
1515

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

493+
/** Loads binary file created which is located at url asynchronously
494+
*
495+
*@param urlName url at which binary file is located. Local files should start with 'file://'
496+
*@param callback Optional. A callback function that returns after binary is loaded
497+
498+
*@example
499+
* To create JS binary use command ./cep_compiler test.js test.bin
500+
* To load JS binary asyncronously
501+
* var CSLib = new CSInterface();
502+
* CSLib.loadBinAsync(url, function () { });
503+
*/
504+
CSInterface.prototype.loadBinAsync = function(urlName,callback)
505+
{
506+
try
507+
{
508+
var xhr = new XMLHttpRequest();
509+
xhr.responseType = 'arraybuffer'; // make response as ArrayBuffer
510+
xhr.open('GET', urlName, true);
511+
xhr.onerror = function ()
512+
{
513+
console.log("Unable to load snapshot from given URL");
514+
return false;
515+
};
516+
xhr.send();
517+
xhr.onload = () => {
518+
window.__adobe_cep__.loadSnapshot(xhr.response);
519+
if (typeof callback === "function")
520+
{
521+
callback();
522+
}
523+
else if(typeof callback !== "undefined")
524+
{
525+
console.log("Provided callback is not a function");
526+
}
527+
}
528+
}
529+
catch(err)
530+
{
531+
console.log(err);
532+
return false;
533+
}
534+
535+
return true;
536+
};
537+
538+
/** Loads binary file created synchronously
539+
*
540+
*@param pathName the local path at which binary file is located
541+
542+
*@example
543+
* To create JS binary use command ./cep_compiler test.js test.bin
544+
* To load JS binary syncronously
545+
* var CSLib = new CSInterface();
546+
* CSLib.loadBinSync(path);
547+
*/
548+
CSInterface.prototype.loadBinSync = function(pathName)
549+
{
550+
try
551+
{
552+
var OSVersion = this.getOSInformation();
553+
if(pathName.startsWith("file://"))
554+
{
555+
if (OSVersion.indexOf("Windows") >= 0)
556+
{
557+
pathName = pathName.replace("file:///", "");
558+
}
559+
else if (OSVersion.indexOf("Mac") >= 0)
560+
{
561+
pathName = pathName.replace("file://", "");
562+
}
563+
window.__adobe_cep__.loadSnapshot(pathName);
564+
return true;
565+
}
566+
}
567+
catch(err)
568+
{
569+
console.log(err);
570+
return false;
571+
}
572+
//control should not come here
573+
return false;
574+
};
575+
493576
/** Closes this extension. */
494577
CSInterface.prototype.closeExtension = function()
495578
{

CEP_9.x/Cefclient_Mac.zip

-205 KB
Binary file not shown.

CEP_9.x/Cefclient_Win32.zip

1.69 MB
Binary file not shown.

CEP_9.x/Cefclient_Win64.zip

2.03 MB
Binary file not shown.

CEP_9.x/Documentation/CEP 9.0 HTML Extension Cookbook.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ These extension types are supported by CEP. You need to specify an extension's t
3939
These applications support CEP HTML extensions.
4040

4141

42-
| Application | Host ID | CC Version | CC 2014 Version | CC 2015 Version | CC 2015 Dot Version | CC 2017 Version |CC 2018 Version |CC 2019 Version|
43-
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |--------------|--------------|
44-
|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)|
45-
|InDesign| IDSN| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|
46-
|InCopy| AICY| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|
47-
|Illustrator| ILST| 17 (CEP 4)| 18 (CEP 5)| 19 (CEP 6)| 20 (CEP 7)| 21 (CEP 7)|22 (CEP 8)|23 (CEP 9)|
48-
|Premiere Pro| PPRO| 7 (CEP 4)| 8| 9| 10.3 (CEP 6)| 11 (CEP 6)|12 (CEP 8)|23 (CEP 9)|
49-
|Prelude| PRLD| 2 (CEP 4)| 3| 4| 5.0.1 (CEP 6)| 6 (CEP 7)| 7 (CEP 8)|8 (CEP 9)|
50-
|After Effects| AEFT| 12| 13| 13.5| 13.8.1 (CEP 6)| 14 (CEP 6)|15 (CEP 8)|16 (CEP 9)|
51-
|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)|
52-
|Audition| AUDT| 6| 7| 8| 9.2.1 (CEP 6)| 10 (CEP 6)|11|12 (CEP 9)|
53-
|Dreamweaver| DRWV| 13 (CEP 4)| 15 (CEP 5)| 16 (CEP 6)|-| 17 (CEP 6.1)|18 (CEP 8)|19 (CEP 9)|
54-
|Muse| MUSE |7.4|-|2015|-|2017|2018|-|
55-
|Bridge| KBRG |6|-|6.3.1|-|-|8 (CEP 8)|9 (CEP 9)|
56-
|Rush| RUSH |-|-|-|-|-|-|1 (CEP 9)|
42+
| 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|
43+
| ------------- | ------------- | ------------- | ------------- | ------------- | ------------- | ------------- |--------------|--------------|--------------|
44+
|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)|
45+
|InDesign| IDSN| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|15 (CEP 9)|
46+
|InCopy| AICY| 9 (CEP 4)| 10 (CEP 5)| 11 (CEP 6)|-| 12 (CEP 7)|13 (CEP 8)|14 (CEP 9)|15 (CEP 9)|
47+
|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)|
48+
|Premiere Pro| PPRO| 7 (CEP 4)| 8| 9| 10.3 (CEP 6)| 11 (CEP 6)|12 (CEP 8)|23 (CEP 9)|14 (CEP 9)|
49+
|Prelude| PRLD| 2 (CEP 4)| 3| 4| 5.0.1 (CEP 6)| 6 (CEP 7)| 7 (CEP 8)|8 (CEP 9)|9 (CEP 9)|
50+
|After Effects| AEFT| 12| 13| 13.5| 13.8.1 (CEP 6)| 14 (CEP 6)|15 (CEP 8)|16 (CEP 9)|17 (CEP 9)|
51+
|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)|
52+
|Audition| AUDT| 6| 7| 8| 9.2.1 (CEP 6)| 10 (CEP 6)|11|12 (CEP 9)|13 (CEP 9)|
53+
|Dreamweaver| DRWV| 13 (CEP 4)| 15 (CEP 5)| 16 (CEP 6)|-| 17 (CEP 6.1)|18 (CEP 8)|19 (CEP 9)|20 (CEP 9)|
54+
|Muse| MUSE |7.4|-|2015|-|2017|2018|-|-|
55+
|Bridge| KBRG |6|-|6.3.1|-|-|8 (CEP 8)|9 (CEP 9)|10 (CEP 9)|
56+
|Rush| RUSH |-|-|-|-|-|-|1 (CEP 9)|1.2.1 (CEP 9)|
5757

5858

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

7172

7273
### Browser Features supported by CEP

CEP_9.x/Documentation/Issues.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
CEP 9 Known Issues
3+
====================
4+
5+
### Following are the known issues in the latest version. Please keep these in mind while creating your own extension...
6+
7+
#Issue 1 :
8+
Extensions should not have 'in between spaces' in the Extension Id mentioned in the manifest.
9+
Eg.- <Extension Id= "com.adobe.abc.def" Version="x.y" /> is valid
10+
<Extension Id= "com_adobe_abc_def" Version="x.y" /> is valid
11+
<Extension Id= "comAdobeAbcDef" Version="x.y" /> is valid
12+
<Extension Id= "com adobe abc def" Version="x.y" /> is NOT valid
13+
14+
15+

CEP_9.x/Vulcan.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
**************************************************************************************************/
1313

14-
/** Vulcan - v9.2.0 */
14+
/** Vulcan - v9.4.0 */
1515

1616
/**
1717
* @class Vulcan

0 commit comments

Comments
 (0)