Skip to content

Commit

Permalink
October 2021 Release of the APL 1.8 compliant APL Viewhost Web
Browse files Browse the repository at this point in the history
For more details on this release refer to CHANGELOG.md

To learn about APL see:
https://developer.amazon.com/docs/alexa-presentation-language/understand-apl.html
  • Loading branch information
Thomas Reginald committed Oct 27, 2021
1 parent 0e8d268 commit 7f7f29f
Show file tree
Hide file tree
Showing 129 changed files with 3,723 additions and 2,231 deletions.
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
# Changelog for apl-viewhost-web

## [1.8.0]

This release adds support for version 1.8 of the APL specification. Please also see APL Core Library for changes: [apl-core-library CHANGELOG](https://github.com/alexa/apl-core-library/blob/master/CHANGELOG.md)

### Added

- Image/VectorGraphics onLoad and onFail handlers
- Video onTrackReady and onTrackFail handlers
- DisplayState and onDisplayStateChange handler

### Changed

- Bug fixes

## [1.7.0]

This release adds support for version 1.7 of the APL specification. Please also see APL Core Library for changes: [apl-core-library CHANGELOG](https://github.com/alexa/apl-core-library/blob/master/CHANGELOG.md)

## Added
### Added

- Right to left layout support (see APL Core Library changes)
- E2E Encryption extension

## Changed
### Changed

- Performance improvements for MultiChildScrollable
- Enable Audio Player to change volume
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
of your accepting any such warranty or additional liability.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
apl-viewhost-web
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Alexa Presentation Language (APL) Viewhost Web

<p>
<a href="https://github.com/alexa/apl-viewhost-web/tree/v1.8.0" alt="version">
<img src="https://img.shields.io/badge/stable%20version-1.8.0-brightgreen" /></a>
<a href="https://github.com/alexa/apl-core-library/tree/v1.8.1" alt="APLCore">
<img src="https://img.shields.io/badge/apl%20core%20library-1.8.1-navy" /></a>
</p>

## Introduction

Expand Down
25 changes: 0 additions & 25 deletions THIRD-PARTY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,31 +139,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

----------------
Package: image-scale
Version: 2.1.0
Description: Scale images to fit or fill any target container via two simple properties: scale and align.
License: MIT
The MIT License (MIT)

Copyright (c) 2013 GestiXi

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

----------------
Package: jquery
Expand Down
Binary file removed fonts/Amazon-Ember-Bold.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-BoldItalic.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-Light.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-LightItalic.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-Medium.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-MediumItalic.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-Regular.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-RegularItalic.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-Thin.ttf
Binary file not shown.
Binary file removed fonts/Amazon-Ember-ThinItalic.ttf
Binary file not shown.
3 changes: 0 additions & 3 deletions fonts/LICENSE.txt

This file was deleted.

6 changes: 3 additions & 3 deletions js/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
yarn-error.log
package-lock.json
/node_modules
.vscode
yarn.lock
32 changes: 17 additions & 15 deletions js/apl-html/lib/dts/Content.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,28 @@

declare namespace APL {
export class ImportRef {
public version() : string;
public name() : string;
public version(): string;
public name(): string;
}

export class ImportRequest {
public isValid() : boolean;
public reference() : ImportRef;
public source() : string;
public isValid(): boolean;
public reference(): ImportRef;
public source(): string;
}

export class Content extends Deletable {
public static create(document : string) : Content;
public getRequestedPackages() : Set<ImportRequest>;
public addPackage(request : ImportRequest, data : string) : void;
public isError() : boolean;
public isReady() : boolean;
public isWaiting() : boolean;
public addData(name : string, data : string) : void;
public getAPLVersion() : string;
public getExtensionRequests() : Set<string>;
public getExtensionSettings(uri:string) : object;
public static create(document: string): Content;
public getRequestedPackages(): Set<ImportRequest>;
public addPackage(request: ImportRequest, data: string): void;
public isError(): boolean;
public isReady(): boolean;
public isWaiting(): boolean;
public addData(name: string, data: string): void;
public getAPLVersion(): string;
public getExtensionRequests(): Set<string>;
public getExtensionSettings(uri: string): object;
public getParameterAt(index: number): string;
public getParameterCount(): number;
}
}
6 changes: 6 additions & 0 deletions js/apl-html/lib/dts/Context.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,18 @@ declare namespace APL {
metrics?: APL.Metrics,
scalingOptions?: any): void;

public updateDisplayState(displayState: any): void;

public setFocus(direction: number, origin: APL.Rect, targetId: string): void;

public getFocusableAreas(): Promise<Map<string, APL.Rect>>;

public getFocused(): Promise<string>;

public reInflate(): void;

public mediaLoaded(source: string): void;

public mediaLoadFailed(source: string, errorCode: number, error: string): void;
}
}
2 changes: 1 addition & 1 deletion js/apl-html/lib/logging/LoggerFactory.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ILogger } from './ILogger';
import { LogTransport } from './LogTransport';
import { LogLevel } from './LogLevel';
import { LogTransport } from './LogTransport';
/**
* Simple wrapper to hide loglevel logger oddity and do set-up. Could be changed to be more generic in the future.
*/
Expand Down
3 changes: 1 addition & 2 deletions js/apl-html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@
"chai": "^4.2.0",
"copy-webpack-plugin": "^5.0.2",
"cross-env": "^5.2.0",
"electron": "^11.5.0",
"electron": "^4.0.4",
"electron-mocha": "^6.0.4",
"eventemitter3": "^3.1.0",
"hls.js": "^0.13.1",
"image-scale": "^2.1.0",
"istanbul": "^0.4.5",
"istanbul-instrumenter-loader": "^3.0.1",
"istanbul-threshold-checker": "^0.2.1",
Expand Down
Loading

0 comments on commit 7f7f29f

Please sign in to comment.