Skip to content

Commit

Permalink
skipUpdate in getBounds when calculating scissor mask
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljherrmann committed Jun 7, 2022
1 parent 80716b0 commit 7cfadbc
Show file tree
Hide file tree
Showing 533 changed files with 7,780 additions and 7,670 deletions.
94 changes: 87 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,89 @@
{
"extends": [
"@pixi/eslint-config"
],
"rules": {
"@typescript-eslint/no-parameter-properties": 1,
"@typescript-eslint/type-annotation-spacing": 1
}
"extends": ["@pixi/eslint-config"],
"plugins": ["jsdoc"],
"parserOptions": {
"project": ["./tsconfig.eslint.json"]
},
"ignorePatterns": ["**/*.index.d.ts"],
"settings": {
"jsdoc": {
"mode": "typescript",
"tagNamePreference": {
"method": "method",
"function": "function",
"extends": "extends",
"typeParam": "typeParam",
"api": "api"
}
}
},
"rules": {
"@typescript-eslint/no-parameter-properties": 1,
"@typescript-eslint/type-annotation-spacing": 1,
"jsdoc/multiline-blocks": [
1,
{ "noMultilineBlocks": true, "minimumLengthForMultiline": 115 }
],
"jsdoc/check-access": 1,
"jsdoc/check-alignment": 1,
"jsdoc/check-param-names": 1,
"jsdoc/check-property-names": 1,
"jsdoc/check-tag-names": 1,
"jsdoc/check-types": 1,
"jsdoc/check-values": 1,
"jsdoc/empty-tags": 1,
"jsdoc/implements-on-classes": 1,
"jsdoc/newline-after-description": [1, "never"],
"jsdoc/no-multi-asterisks": [1, { "allowWhitespace": true }],
"jsdoc/no-undefined-types": [
"warn",
{
"definedTypes": [
"PIXI",
"WEBGL_draw_buffers",
"WEBGL_depth_texture",
"OES_texture_float",
"WEBGL_lose_context",
"OES_vertex_array_object",
"EXT_texture_filter_anisotropic"
]
}
],
"jsdoc/require-param": 1,
"jsdoc/require-param-description": 0,
"jsdoc/require-param-name": 1,
"jsdoc/require-param-type": [
"warn",
{ "contexts": ["TSMethodSignature"] }
],
"jsdoc/require-property": 1,
"jsdoc/require-property-description": 1,
"jsdoc/require-property-name": 1,
"jsdoc/require-property-type": 1,
"jsdoc/require-returns-description": 1,
"jsdoc/tag-lines": 1,
"jsdoc/valid-types": 1
},
"overrides": [
{
"files": ["*.tests.ts", "*.test.ts"],
"globals": {
"expect": false,
"assert": false,
"sinon": false
},
"rules": {
"@typescript-eslint/no-unused-expressions": 0,
"@typescript-eslint/dot-notation": [
0,
{
"allowPrivateClassPropertyAccess": true,
"allowProtectedClassPropertyAccess": true,
"allowIndexSignaturePropertyAccess": true
}
],
"dot-notation": 0
}
}
]
}
17 changes: 0 additions & 17 deletions .eslintrc.tests.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 90
daysUntilStale: 180

# Number of days of inactivity before a stale issue is closed
daysUntilClose: 14
daysUntilClose: 90

# Issues with these labels will never be considered stale
#exemptLabels:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: 'https://registry.npmjs.org'
- name: Install npm
run: npm install -g npm@>=7
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ packages/**/index.d.ts
.vscode
pixi.code-workspace

# IntelliJ
*.iml

# webdoc api
dist/docs/pixi.api.json
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PixiJS — The HTML5 Creation Engine

![pixi.js logo](https://pixijs.download/pixijs-banner-no-version.png)

[<img src="https://img.shields.io/badge/slack/pixijs-gray.svg?logo=slack">](https://join.slack.com/t/pixijs/shared_invite/zt-dcem1map-uVuVGC7pZ0trF8SrcA2p9g)
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/QrnxmQUPGV)
[![npm version](https://badge.fury.io/js/pixi.js.svg)](https://badge.fury.io/js/pixi.js)
[![Node.js CI](https://github.com/pixijs/pixi.js/workflows/Node.js%20CI/badge.svg)](https://github.com/pixi.js/pixi.js/actions?query=workflow%3A%22Node.js+CI%22)

Expand Down Expand Up @@ -42,8 +42,7 @@ PixiJS has full [WebGL](https://en.wikipedia.org/wiki/WebGL) support and seamles
### Community ###
- Forums: Check out the [forum](https://www.html5gamedevs.com/forum/15-pixijs/) and [Stackoverflow](http://stackoverflow.com/search?q=pixi.js), both friendly places to ask your PixiJS questions.
- Inspiration: Check out the [gallery](https://www.pixijs.com/gallery) to see some of the amazing things people have created!
- Chat: You can join us on [Gitter](https://gitter.im/pixijs/pixi.js) To chat about PixiJS. We also now have a Slack channel. If you would like to join it please Send me an email (mat@goodboydigital.com) and I will invite you in.

- Chat: You can join us on [Discord](https://discord.gg/QrnxmQUPGV) to chat about PixiJS.

### Setup ###

Expand Down
37 changes: 25 additions & 12 deletions bundles/pixi.js-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixi.js-legacy",
"version": "6.3.0",
"version": "6.4.2",
"description": "The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.",
"author": "Mat Groves",
"contributors": [
Expand All @@ -17,6 +17,19 @@
"bundleOutput": {
"name": "PIXI"
},
"types": "index.d.ts",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./dist/esm/pixi-legacy.js"
},
"require": {
"types": "./index.d.ts",
"default": "./dist/cjs/pixi-legacy.js"
}
}
},
"homepage": "http://www.pixijs.com/",
"bugs": "https://github.com/pixijs/pixi.js/issues",
"license": "MIT",
Expand All @@ -34,16 +47,16 @@
"url": "https://opencollective.com/pixijs"
},
"dependencies": {
"@pixi/canvas-display": "6.3.0",
"@pixi/canvas-extract": "6.3.0",
"@pixi/canvas-graphics": "6.3.0",
"@pixi/canvas-mesh": "6.3.0",
"@pixi/canvas-particle-container": "6.3.0",
"@pixi/canvas-prepare": "6.3.0",
"@pixi/canvas-renderer": "6.3.0",
"@pixi/canvas-sprite": "6.3.0",
"@pixi/canvas-sprite-tiling": "6.3.0",
"@pixi/canvas-text": "6.3.0",
"pixi.js": "6.3.0"
"@pixi/canvas-display": "6.4.2",
"@pixi/canvas-extract": "6.4.2",
"@pixi/canvas-graphics": "6.4.2",
"@pixi/canvas-mesh": "6.4.2",
"@pixi/canvas-particle-container": "6.4.2",
"@pixi/canvas-prepare": "6.4.2",
"@pixi/canvas-renderer": "6.4.2",
"@pixi/canvas-sprite": "6.4.2",
"@pixi/canvas-sprite-tiling": "6.4.2",
"@pixi/canvas-text": "6.4.2",
"pixi.js": "6.4.2"
}
}
85 changes: 49 additions & 36 deletions bundles/pixi.js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixi.js",
"version": "6.3.0",
"version": "6.4.2",
"description": "PixiJS without the CanvasRenderer fallback, modern browsers only",
"author": "Mat Groves",
"contributors": [
Expand All @@ -17,6 +17,19 @@
"bundleOutput": {
"name": "PIXI"
},
"types": "index.d.ts",
"exports": {
".": {
"import": {
"types": "./index.d.ts",
"default": "./dist/esm/pixi.js"
},
"require": {
"types": "./index.d.ts",
"default": "./dist/cjs/pixi.js"
}
}
},
"homepage": "http://www.pixijs.com/",
"bugs": "https://github.com/pixijs/pixi.js/issues",
"license": "MIT",
Expand All @@ -37,40 +50,40 @@
"url": "https://opencollective.com/pixijs"
},
"dependencies": {
"@pixi/accessibility": "6.3.0",
"@pixi/app": "6.3.0",
"@pixi/compressed-textures": "6.3.0",
"@pixi/constants": "6.3.0",
"@pixi/core": "6.3.0",
"@pixi/display": "6.3.0",
"@pixi/extract": "6.3.0",
"@pixi/filter-alpha": "6.3.0",
"@pixi/filter-blur": "6.3.0",
"@pixi/filter-color-matrix": "6.3.0",
"@pixi/filter-displacement": "6.3.0",
"@pixi/filter-fxaa": "6.3.0",
"@pixi/filter-noise": "6.3.0",
"@pixi/graphics": "6.3.0",
"@pixi/interaction": "6.3.0",
"@pixi/loaders": "6.3.0",
"@pixi/math": "6.3.0",
"@pixi/mesh": "6.3.0",
"@pixi/mesh-extras": "6.3.0",
"@pixi/mixin-cache-as-bitmap": "6.3.0",
"@pixi/mixin-get-child-by-name": "6.3.0",
"@pixi/mixin-get-global-position": "6.3.0",
"@pixi/particle-container": "6.3.0",
"@pixi/polyfill": "6.3.0",
"@pixi/prepare": "6.3.0",
"@pixi/runner": "6.3.0",
"@pixi/settings": "6.3.0",
"@pixi/sprite": "6.3.0",
"@pixi/sprite-animated": "6.3.0",
"@pixi/sprite-tiling": "6.3.0",
"@pixi/spritesheet": "6.3.0",
"@pixi/text": "6.3.0",
"@pixi/text-bitmap": "6.3.0",
"@pixi/ticker": "6.3.0",
"@pixi/utils": "6.3.0"
"@pixi/accessibility": "6.4.2",
"@pixi/app": "6.4.2",
"@pixi/compressed-textures": "6.4.2",
"@pixi/constants": "6.4.2",
"@pixi/core": "6.4.2",
"@pixi/display": "6.4.2",
"@pixi/extract": "6.4.2",
"@pixi/filter-alpha": "6.4.2",
"@pixi/filter-blur": "6.4.2",
"@pixi/filter-color-matrix": "6.4.2",
"@pixi/filter-displacement": "6.4.2",
"@pixi/filter-fxaa": "6.4.2",
"@pixi/filter-noise": "6.4.2",
"@pixi/graphics": "6.4.2",
"@pixi/interaction": "6.4.2",
"@pixi/loaders": "6.4.2",
"@pixi/math": "6.4.2",
"@pixi/mesh": "6.4.2",
"@pixi/mesh-extras": "6.4.2",
"@pixi/mixin-cache-as-bitmap": "6.4.2",
"@pixi/mixin-get-child-by-name": "6.4.2",
"@pixi/mixin-get-global-position": "6.4.2",
"@pixi/particle-container": "6.4.2",
"@pixi/polyfill": "6.4.2",
"@pixi/prepare": "6.4.2",
"@pixi/runner": "6.4.2",
"@pixi/settings": "6.4.2",
"@pixi/sprite": "6.4.2",
"@pixi/sprite-animated": "6.4.2",
"@pixi/sprite-tiling": "6.4.2",
"@pixi/spritesheet": "6.4.2",
"@pixi/text": "6.4.2",
"@pixi/text-bitmap": "6.4.2",
"@pixi/ticker": "6.4.2",
"@pixi/utils": "6.4.2"
}
}
2 changes: 0 additions & 2 deletions bundles/pixi.js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ Application.registerPlugin(AppLoaderPlugin);

/**
* String of the current PIXI version.
*
* @static
* @constant
* @memberof PIXI
Expand All @@ -68,7 +67,6 @@ export const VERSION = '$_VERSION';
* PixiJS Filters repository.
*
* All filters must extend {@link PIXI.Filter}.
*
* @example
* // Create a new application
* const app = new PIXI.Application();
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"lerna": "4.0.0",
"useWorkspaces": true,
"version": "6.3.0"
"version": "6.4.2"
}

0 comments on commit 7cfadbc

Please sign in to comment.