Skip to content

Commit

Permalink
Update to Cubism 4 SDK for Web R1
Browse files Browse the repository at this point in the history
  • Loading branch information
koyama-at-live2d-com committed Jan 30, 2020
1 parent f33250b commit 83acc97
Show file tree
Hide file tree
Showing 197 changed files with 6,001 additions and 17,702 deletions.
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{json,lock,yml,sh}]
indent_size = 2
28 changes: 14 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Cubism Core
/Core/**/*
!/Core/Please_copy_cubism_core_for_web

# IDE/Editor files
.idea/
# Core directory files
/Core/*
!Please_copy_cubism_core_for_web
# Package files
node_modules/
# Build files
dist/
# Other files
.vs/
.vscode/**/*
.idea/
*.iml
.DS_Store
# Exclude some VSCode setting files.
.vscode/*
!/.vscode/extensions.json
!/.vscode/launch.json
!/.vscode/tasks.json
*.iml

# Package files
/node_modules/

# Build files
/Sample/TypeScript/Demo/dist/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Framework"]
path = Framework
url = https://github.com/Live2D/CubismWebFramework.git
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"editorconfig.editorconfig",
"msjsdiag.debugger-for-chrome"
]
}
20 changes: 9 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
{
"version": "0.2.0",
"configurations": [
// Webサーバ上にあるファイルをデバッグ
{
// デバッグ設定の名称
"name": "Launch remote website with sourcemaps",
// デバッグ種別を指定(chrome)
"type": "chrome",
// launchまたはattachを指定
"request": "launch",
// Webサーバ上にあるデバッグ対象のURLを指定
"url": "http://localhost:5500/Sample/TypeScript/Demo/index.html",
// マッピングするローカルファイルが配置されているディレクトリを指定
"webRoot": "${workspaceFolder}/",
// ソースマップの有効・向こうの指定(true/false)
"sourceMaps": true
"name": "Launch Chrome",
"url": "http://localhost:5000/Samples/TypeScript/Demo/",
"webRoot": "${workspaceFolder}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"webpack:///./*": "${workspaceFolder}/Samples/TypeScript/Demo/*",
"webpack:///${workspaceFolder}/Framework/*": "${workspaceFolder}/Framework/*",
},
"trace": true
}
]
}
80 changes: 72 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,100 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
// Tasks for Samples/TypeScript/Demo
{
"type": "npm",
"script": "build-all",
"script": "install",
"path": "Samples/TypeScript/Demo/",
"problemMatcher": []
},
{
"type": "npm",
"script": "watch-all",
"script": "start",
"path": "Samples/TypeScript/Demo/",
"group": "build",
"problemMatcher": []
},
{
"type": "npm",
"script": "build-sample",
"script": "build",
"path": "Samples/TypeScript/Demo/",
"group": "build",
"problemMatcher": []
},
{
"type": "npm",
"script": "watch-sample",
"script": "build:prod",
"path": "Samples/TypeScript/Demo/",
"group": "build",
"problemMatcher": []
},
{
"type": "npm",
"script": "build-framework",
"script": "test",
"path": "Samples/TypeScript/Demo/",
"group": "test",
"problemMatcher": []
},
{
"type": "npm",
"script": "serve",
"script": "lint",
"path": "Samples/TypeScript/Demo/",
"group": "test",
"problemMatcher": []
},
{
"type": "npm",
"script": "lint:fix",
"path": "Samples/TypeScript/Demo/",
"group": "test",
"problemMatcher": []
},
{
"type": "npm",
"script": "clear",
"path": "Samples/TypeScript/Demo/",
"problemMatcher": []
},
// Tasks for Framework
{
"type": "npm",
"script": "install",
"path": "Framework/",
"problemMatcher": []
},
{
"type": "npm",
"script": "build",
"path": "Framework/",
"group": "build",
"problemMatcher": []
},
{
"type": "npm",
"script": "test",
"path": "Framework/",
"group": "test",
"problemMatcher": []
},
{
"type": "npm",
"script": "lint",
"path": "Framework/",
"group": "test",
"problemMatcher": []
},
{
"type": "npm",
"script": "lint:fix",
"path": "Framework/",
"group": "test",
"problemMatcher": []
},
{
"type": "npm",
"script": "clear",
"path": "Framework/",
"problemMatcher": []
}
]
Expand Down
27 changes: 25 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,30 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## [4-r.1] - 2020-01-30

### Added

* Add development workflow using *Webpack Dev Server*.
* Add `README.md` to Sample project.
* Add Prettier and ESLint for format and check code quality.

### Changed

* `/Framework` directory is now git submodule.
* See [Cubism Web Framework CHANGELOG](/Framework/CHANGELOG.md) about framework changes.
* Rename `/Sample` directory to `/Samples`
* Move `/Resources` directory to just below `/Samples` directory.
* Move `package.json` and `tsconfig.json` to Sample project.
* Reformat code using Prettier and ESLint.

### Removed

* Remove some unused functions in Demo project.
* Remove Webpack settings for framework.


## [4-beta.2] - 2019-11-14
Expand Down Expand Up @@ -40,5 +62,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Fix issue with reloading model images in WebKit.


[4-r.1]: https://github.com/Live2D/CubismWebSamples/compare/4-beta.2...4-r.1
[4-beta.2]: https://github.com/Live2D/CubismWebSamples/compare/4-beta.1...4-beta.2
[4-beta.1]: https://github.com/Live2D/CubismWebSamples/compare/e36ab2233a89de9225f64e5a02d521bc7235bd03...4-beta.1
146 changes: 146 additions & 0 deletions Core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## 2020-01-30

### Added

* Add static library(.lib) for statically linking DLL.
* Add symbol file for Windows dynamic library (dll).


## 2019-11-19

### Fixed

* Fix linking static libraries for Windows (.lib).


## 2019-11-14

### Added

* Support Visual Studio 2019.
* Support macOS dynamic library (dylib).

### Changed

* Update Windows dynamic library: Use Visual Studio 2019 for building.

### Security

* Bundle certificate and notary ticket to macOS shared library.


## 2019-09-04

### Added

* Support new Inverted Masking features.
* Support ARM64 architecture for Universal Windows Platform.

### Changed

* Upgrade Core version to 04.00.0000 (67108864). This upgrade is following Cubism Editor 4.0 features.
* Add calling convention for *Windows/x86 DLL* only.

### Removed

* Remove bitcode binary due to suspension of *Cubism Bindings.*


## 2019-04-09

### Added

* Support Universal Windows Platform for Windows Store Application.


## 2019-01-31

### Added

* Add API to get the parent part of the specified part.
* Add API to get moc3 version.


## 2018-12-20

### Added

* [Native] Add new function: `csmGetPartParentPartIndices`.
* [Native, 3.3 Support] Support new Warp Deformer features.

### Changed

* Upgrade Core version to 03.03.0000 (50528256). This upgrade is following Cubism Editor 3.3 features.


## 2018-08-22

### Added

* [Native] Add support for Neon.


## 2018-05-14

### Added

* [Native] Add Windows **Visual C++ 2013** library.
* [Windows] Add runtime library choice `MT`, `MD`, `MTd`, `MDd`.
* [iOS] Add support for iPhone Simulator SDK.

### Fixed

* Fix an error occurred when linking libraries for Android `arm64-v8a`.


## 2017-11-17

### Fixed

* Fix processing of vertex index.


## 2017-10-05

### Added

* Provide bitcode for iOS.


## 2017-08-09

### Added

* [Native] Add Android *arm64-v8a* ABI library.

### Fixed

* Fix drawing order in certain scenarios.


## 2017-07-12

### Added

* Add experimental support for Emscripten.
* Add `CHANGELOG.md`.

### Fixed

* Fix access violation in certain scenarios.
* Fix update result in certain scenarios.


## 2017-05-02

### Added

* [Native] Add experimental support for Raspberry PI.
* Add `README.md`.
6 changes: 6 additions & 0 deletions Core/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Live2D Proprietary Software License

Live2D Cubism Core is available under Live2D Proprietary Software License.

* [Live2D Proprietary Software License Agreement](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_en.html)
* [Live2D Proprietary Software 使用許諾契約書](https://www.live2d.com/eula/live2d-proprietary-software-license-agreement_jp.html)
Empty file.
Loading

0 comments on commit 83acc97

Please sign in to comment.