2017-10-23 |

Next merge dev (#4382)
...
* Fix destroyed textures throwing errors when destroyed again. (#3931)
* Fixes issue with addOnce on ticker (#3938)
* Fix not respecting target of mouseup events. (#3940)
* Fix not respecting target of mouseup events.
* Fix #3199 by honoring alpha (#3943)
* fix #3199 by honoring alpha
* use old algorithm for noise color adjustment
* add ctor args for uniforms
* Add jsdocs for ctor args
* Fixed if statement checks that do not work if the stop point is set to 0 (#3948)
* Remove enumeration from deprecations (#3952)
* Fixes priority adding of ticker listeners (#3958)
* fix(GraphicsRenderer): fix graphics render with fill and line when na… (#3945)
* fix(GraphicsRenderer): fix graphics render with fill and line when nativeLines=true
* fix(GraphicsRenderer): fix eslint and jsdoc
* Fixes #3954 support excluding deprecations (#3959)
* Fixes #3954 support excluding deprecations
* Resolves linting issue
* Stops TickListener 'this.fn is not a function' error (#3956)
Fixes: https://github.com/pixijs/pixi.js/issues/3936
* fix #3252, add an interpolation value for the color matrix result
* Renames interpolation to alpha
* 4.5.1
* Removes deprecation warnings with TextMetrics usage (#3969)
* Removes deprecation warnings with TextMetrics usage
* Removes unnecessary if-check, since this is handled by measureFont
* Removed unit test for deprecated Texture cache functions (#3970)
* Make Interaction events closer to Browser behavior (#3963)
* Added normalized pointer data to InteractionData.
* Use touch events for touches, not pointer events.
* Emit mouse events for pen pointer events.
Also cleaned up pointer type and mouse button detection.
* Removes Bower mention from README (#3980)
* Removes Bower mention from README
* Removes Bower link
* Adds note about Bower
* Test script (#3984)
* npm test run out-of-the-box
* Renames test command build to dist
* Renames tests to unit-tests
* modularized removeItems #3939 (#3977)
* Added a fallback for cursor modes without styles (#3975)
* Added a fallback for cursor modes without styles
* Added unit test.
* return of TextureTransform (#3989)
* critical fix 3987, 3986 (#3991)
* TilingSprite destroy fix (#3995)
* TilingSprite destroy fix
* animationSprite too!
* fix for #3972 (#3985)
* Modifies the cached tinted frame of a texture in canvas
* removed the document append line.. oops
* Missing lint from travis test (#3998)
* Missing lint from travis test
* Remove "only" blocking other tests
* Take into account baseTexture resolution when registering a BitmapText. (#3993)
* take into account baseTexture resolution when registering a BitmapText.
* PIXI.settings.RESOLUTION instead of 1
* change settings reference
* explicit operator order
* added parenthesis. no mixed operators issue
* Add `updateTexture` & some shortcuts in Sprite; Cosmetic (#4000)
* Add `updateText` and some shortcuts for texture
* Add `updateText`. If a sprite is create by a canvas , when the canvas's changed , user could call `updateText` for updating sprite.
* Add some shortcuts for accessing some properties of sprite._texture.
* Cosmetic, for DRY
Just define some local vars for accessing properties of `this` , for DRY.
* remove the changing of Sprite
* Apply Tint to Particle Container (#3899) (#4014)
* Apply Tint to Particle Container (#3899)
* Apply Tint to Particle Container (#3899), added _tintRGB property
* Apply Tint to Particle Container (#3899), added comment regarding webGL support only
* fix changing textures to a 1 frame animation bug (#4011)
* Fixes the padding for Graphics (#4020)
* Fixes Loader overriding destroy with removeView arg (#4018)
* fix(Graphics): exclude holes in Graphics#containsPoint (#3976)
* fix(GraphicsRenderer): fix graphics render with fill and line when nativeLines=true
* fix(GraphicsRenderer): fix eslint and jsdoc
* fix(Graphics): exclude holes in Graphics#containsPoint
* Adds unit-test for graphic hole (#4030)
* Fix context restore. (#4031)
* 4.5.2
* fix for issue #4043: CORS not working with PIXI.Sprite.fromImage (#4050)
* gl.SCISSOR_TEST fix (related to #4004) (#4052)
* premultiply blendModes, critical for compressed textures. (#4033)
* premultiply blendModes, critical for compressed textures.
* sprite renderer batch blendmode fix
* derp fix
* move some stuff to table
* fix default export
* derp
* ternary and fix
* DERP! tintRgb now without _, its a legal property (#4058)
* TilingSprite derp (#4060)
* Text drop shadow is now the right colour, even with blur enabled (#4069)
Fixes: https://github.com/pixijs/pixi.js/issues/3960
* Fixes clear error on CanvasRenderer with no child container (#4065)
* Fixes clear error on CanvasRenderer with no child container
https://github.com/pixijs/pixi.js/issues/4045
* Unit tests to check that .clear() can be called on a freshly created renderer with no containers added
* Wrapped WebGL test in withGL
* deprecation.js now works with modules excluded at build time (#4067)
Fixes: https://github.com/pixijs/pixi.js/issues/3710
* Record how many spaces have already been removed when resetting the index for a new line of text after hitting the maxWidth limit (#4064)
Fixes https://github.com/pixijs/pixi.js/issues/4063
* Changed BitmapText max width to be a setter (#4068)
* Changed BitmapText max width to be a setter
Fixes: https://github.com/pixijs/pixi.js/issues/3853
* Noticed that maxLineHeight was exposed, but setting it never effected anything. So made private and just put a readonly getter
* fix negative width/height of rectangle (#4074)
* Changes the default dropShadowColor in TextStyle (#4083)
* Adds an onLoop callback for AnimatedSprites (#4080)
* Adds an onLoop callback for AnimatedSprites
* everyone lovesa trailing space
* doc fix for renderer.bindTexture (#4084)
* Update LICENSE
* Update LICENSE
* Fix Sprite.containsPoint edge handling (#4092)
* Fix Sprite.containsPoint edge handling
* Fix TilingSprite.containsPoint edge handling
* Cleaning the code (#4086)
* remove property assignment from destructor
* premultiplyAlpha is for GLTexture
premultipliedAlpha is for BaseTexture
* more fixes
* line too long
* Added missing docs for Renderer options (#4098)
* Added missing docs for Renderer options
* Fixed line order
* Fixed typos
* Fixes typos
* 4.5.3
* Remove duplicated base url from loader path in the bitmapFontParser (#4101)
* Remove release branch pushes upon publish (#4099)
* Update index.js (#4120)
Expose InteractionTrackingData and InteractionEvent through PIXI.interaction
* fix ColorMatrixFilter.prototype.contrast (#4130)
* update to latest resource-loader (v2.0.9)
* Standardizes how name is represented globally (#4132)
* Standardizes how pixi is represented as a name, adds missing meta jsdoc fields
* Replaces more missing instances
* Missing package.json description
* Fixes contributing with brand
* Cleanup the repository mentions in contributing doc
* Includes the sum in the error thrown when trying to create a texture (#4159)
* Includes the sum in the error thrown when trying to create a texture from a base using an invalid rectangle
* Casts quantities to type number in Rectangle constructor
* fix tilingSprite alpha tint (#4165)
* Two small grammar fixes (#4172)
* Fix typo in ParticleContainer.js
* Fix grammar in AnimatedSprite.js
* Fixed issues with overlapping shapes in masks for WebGL (#4164)
https://github.com/pixijs/pixi.js/issues/2559
https://github.com/pixijs/pixi.js/issues/2877
* _glRenderTargets destroyed when RenderTexture destroyed (#4173)
* make blendMode a property with documentation, pass it to inner filter (#4131)
* Fixes destroyTexture method on TextureManager (#4174)
* 4.5.4
* I dont know if its a crit. (#4176)
* Adds improvements to README, fixes broken links (#4185)
* Graphics drawPolygon: (#4191)
* update documentation -- method also accepts a PIXI.Polygon
* Fixed an issue in CanvasRenderer where globalCompositeOperation is being changed without _activeBlendMode being updated. (#4195)
* There's no resources page in wiki. (#4184)
* leading support (#4194)
* Update TextMetrics.js
* Update TextStyle.js
* Before deleting texture from cache, check that it's the same one passed into removeFromCache (#4198)
* Adds docs for TextStyle getters and setters (#4199)
https://github.com/pixijs/pixi.js/issues/4197
* Add autoStart option to PIXI.Application (#4208)
autoStart option allows users to configure the ticker before starting the
rendering. That helps to synchronize audio and to control ticker for
asynchronous recording using this.ticker.update.
* Set initial lastTime to -1 (#4209)
update method could have 0 as timestamp, but the frame would be ignored
because the initial lastTime is 0. Let it have a negative value.
* Add option for dual-graphics devices (#4119)
* initial commit
* docs
* webgl-only
* one space
* Add Google Analytics to Documentation (#4215)
* Add Google Analytics to docs
* Updated year on the license
* Pins jsdoc to 3.4.3 (#4232)
* Fixed nested stenicl masks not rendering correctly (#4211)
* Fixed nested stencil masks not rendering correctly.
* Fixed jslint errors.
* Documented the changes.
* 4.5.5
* Tiling texture works on canvas when replacing textures (#4269)
* refactor, remove unnecessary operations (#4257)
* Improving SVG handling in Spritesheets with sourceScale support (#4271)
* fix 3926 (#4275)
* Use local variable for `uniformData[i].type.toLowerCase()` (#4277)
* filters can survive context loss (#4285)
* filters can survive context loss
* falsifying.
* Fix texture's frame dimension error report (#4281)
* Fix frame dimension error report
* Add relation operator
* Fix lint
* move toLowerCase() into constructor (#4284)
* tint in ParticleContainer (#4289)
* tint:false does not work yet!
* The static bug is fixed.
* xerver changes
* fixing dirty problem in plane/nineslice (#4299)
* particle container docs and resize mode (#4295)
* particle container docs and resize mode
* DERP
* just a doc
* fix canvas sprite texture change (#4303)
* fix canvas sprite texture change
* found it!
* TilingSprite tint fix
* clean tilingsprite
* Switch jsdoc theme to pixi-jsdoc-template (#4311)
* 4.5.6
* context save and restore (#4332)
* Video base texture cross origin (#4345)
* Ported cross origin code from the fromImage function in BaseTexture to fromUrl in VideoBaseTexture
Fixes https://github.com/pixijs/pixi.js/issues/4007
* Latest cross-origin code from BaseTexture copied to VideoBaseTexture
* reduced duplication of cross origin code
* fix NineSlice with resolution (#4309)
* Force base render textures to be whole pixels to fix error in IE (#4316)
https://jsfiddle.net/themoonrat/71hadj49/
* Add textures in reset method (#4344)
* textures in reset
* active vao in reset
* Add AlphaFilter, deprecate VoidFilter (#4349)
* Add AlphaFilter, deprecate VoidFilter
* better docs
* shorter initialization
* dirty as in Rope (#4354)
* Add default value of `mesh.texture` (#4355)
More talking about this PR : https://github.com/pixijs/pixi.js/pull/4352
* bitmapfont: backward compatibility + tests (#4362)
* bitmapfont_registration: refactor + tests
* issue_4213_bitmapfont_regisration: visual test removed
* rename GroupD8.isVertical (#4363)
* rename very hard name to GroupD8.isVertical
* jsdoc on deprecation
* Fixes bug in InteractionManager-test mentioned in issue #4365 (#4366)
* Feature to support trimmed Textures as masks (#4357)
* Texture region as a mask
* let it bleed a bit
* I've made it better! Everything else goes into separate PR.
* DERP
* RE-DERP
* docs and mesh crash on empty texture
* last fixes
* Re-adds fix for bitmap font test
Ivan Popelyshev
authored
on 23 Oct 2017
GitHub
committed
on 23 Oct 2017
|
2017-10-17 |
Merge branch 'dev' into next
Matt Karl
committed
on 17 Oct 2017
|
2017-10-15 |
First merge
Mat Groves
committed
on 15 Oct 2017
|
2017-09-27 |
Merged @GoodBoyDigital changes from next-odie
Matt Karl
committed
on 27 Sep 2017
|
2017-05-22 |
Lint lint lint
Mat Groves
committed
on 22 May 2017
|
2017-04-12 |
Merge branch 'dev' into next
...
# Conflicts:
# package.json
# scripts/release.js
# src/accessibility/AccessibilityManager.js
# src/core/renderers/webgl/WebGLRenderer.js
# src/core/renderers/webgl/utils/Quad.js
# src/core/sprites/webgl/SpriteRenderer.js
# src/core/textures/BaseTexture.js
# src/core/textures/Spritesheet.js
# src/core/textures/Texture.js
# src/interaction/InteractionManager.js
# src/mesh/Mesh.js
# src/mesh/Plane.js
# src/mesh/Rope.js
# src/mesh/webgl/MeshRenderer.js
# test/core/BaseTexture.js
# test/core/Spritesheet.js
# test/core/Texture.js
Mat Groves
committed
on 12 Apr 2017
|
Merged in dev
Mat Groves
committed
on 12 Apr 2017
|
2017-04-10 |

Improvements to how and what is stored in the texture caches. (#3834)
...
* Improvements to how and what is stored in the texture caches.
Built upon the good work from https://github.com/pixijs/pixi.js/pull/3789
+ For Text, the base textures were in the BaseTextureCache, but textures weren't in the TextureCache. This has been fixed
+ Now able to tell the BaseTexture the origin of where the canvas being passed through has come from. ie. was it from the text class? was it from the graphic class? was it from caching as a bitmap? More information now to track where these canvases (canvii??) have been generated from
+ BaseTexture has addBaseTextureToCache and removeBaseTextureFromCache functions, to match regular Texture. Any adding or removing to the BaseTextureCache is now through these functions
! Breaking change. When you call Texture.fromTextureFromCache - it no longer automatically removes it's base texture from the base texture cache. Not sure how people feel about this
? I don't like lines 233 to 236 in Texture.js, and line 591 in BaseTexture.js - I don't see why they are there or why they are needed, but I chickened out on removing them!
* Renaming function to more generic names
* Adding deprecation layer
* Fixed trying to add texture to BaseTexture cache causing unit test fail
* Fixed reading from the wrong cache
* Able to remove textures and base textures from their caches via object instances
Added debug warning if trying to add a texture to a cache id that already exists
Added unit tests
* Default string for texture origin
* Different object creation style
* textureCacheId is now an array of potential entries
* textureCacheId changed to textureCacheIds
* Removed unneeded string creation
Dave Moore
authored
on 10 Apr 2017
Chad Engler
committed
on 10 Apr 2017
|
2017-04-04 |
Documentation Updates: namespaces & plugins (#3907)
...
* Better job documenting plugins and namespace
* Fixes linting errors
* Disabling hardwrap because of ESlint
* @readOnly becomes @readonly
* Fixes description, adds link, more info about excluding plugins
* Missed description
* Fixes typos
* Adds missing word
Matt Karl
authored
on 4 Apr 2017
GitHub
committed
on 4 Apr 2017
|
2017-04-03 |
Fix for TilingSprite.tilePosition with textureResolution > 1 on CanvasRenderer (#3896)
...
Added calculation for tilePosition considering baseTexture resolution
Brenwell
authored
on 3 Apr 2017
Chad Engler
committed
on 3 Apr 2017
|
2017-03-29 |
Adds Ticker priority argument (#3859)
...
* Adds ticker priority
* Removes EventEmitter dependency from ticker
* Small optimization to avoid Function.call
* Changes ticker priority with UPDATE_PRIORITY const
* Fixes linting
* Use a linked list approach to ticker listeners
* Oops fixes test
* Minor fixes
* Removes unnecessary destroy check
* Minor optimizations
* Adds memory clean-up to Ticker
* Updated documentation
* Rename local `last` to `previous`
Matt Karl
authored
on 29 Mar 2017
GitHub
committed
on 29 Mar 2017
|
2017-03-25 |
Fixed graphics
Mat Groves
committed
on 25 Mar 2017
|
2017-03-23 |
Big refactor
Mat Groves
committed
on 23 Mar 2017
|
2017-03-22 |
Support that cache Sprite as Bitmap directly. (#3855)
...
* Cache Sprite as Bitmap directly.
In the current pixi.js , when we want to cache a sprite as Bitmap, we have to put the sprite add to a container , like this :
```
var texture = PIXI.Texture.from(img);
var container = new PIXI.Container();
var sprite = new PIXI.Sprite(texture);
sprite.cacheAsBitmap = true;
container.addChild(sprite);
var renderTexture = PIXI.RenderTexture.create(sprite.width, sprite.height);
renderer.render(container, renderTexture);
```
With this PR , use could cache the sprite directly :
```
var texture = PIXI.Texture.from(img);
var sprite = new PIXI.Sprite(texture);
sprite.cacheAsBitmap = true;
var renderTexture = PIXI.RenderTexture.create(sprite.width, sprite.height);
renderer.render(sprite, renderTexture);
```
* Update cacheAsBitmap.js
finscn
authored
on 22 Mar 2017
Matt Karl
committed
on 22 Mar 2017
|
2017-03-19 |
More updates added the mini-runner
Mat Groves
committed
on 19 Mar 2017
|
2017-03-16 |
Dev texture update (#3820)
...
* use texture transforms
* Plane accounted for texture transform before, now we can remove it
* move TextureTransform to the core
"uploadUvTransform" setting
* some user shaders have no uTransform
* fix canvas
* better docs
* bucking lint
* lint. again.
* trailing spaces
* move TextureTransform back
Ivan Popelyshev
authored
on 16 Mar 2017
GitHub
committed
on 16 Mar 2017
|
TilingSprite matrix calculation fix (#3831)
Ivan Popelyshev
authored
on 16 Mar 2017
GitHub
committed
on 16 Mar 2017
|
2017-03-13 |
@sivael's fix for cacheAsBitmap is leaking objects #3801
Matt Karl
committed
on 13 Mar 2017
|
2017-02-20 |
Merge branch 'dev' into dev-geometry-update
...
# Conflicts:
# src/core/Shader.js
# src/core/renderers/webgl/WebGLRenderer.js
# src/core/renderers/webgl/filters/Filter.js
# src/core/renderers/webgl/managers/FilterManager.js
# src/core/utils/index.js
# src/interaction/InteractionManager.js
# src/interaction/InteractionTrackingData.js
# src/interaction/interactiveTarget.js
# test/core/WebGLRenderer.js
Mat Groves
committed
on 20 Feb 2017
|
2017-02-01 |
Refactors the spritesheet, texture and bitmap font loaders (#3676)
...
* Refactors the spritesheet, texture and bitmap font loaders
* Fixes trailing space
* Addresses feedback in var caching and docs
* Adds unit test for Texture.fromLoader
* Adds new Spritesheet class
* Cleanup spritesheet destroy and imports
* Added baseTexture destroy to Spritesheet
Matt Karl
authored
on 1 Feb 2017
GitHub
committed
on 1 Feb 2017
|
2017-01-30 |
Merga all but interaction
Mat Groves
committed
on 30 Jan 2017
|
2017-01-27 |
Refactored shader to hava a program + uniforms
Mat Groves
committed
on 27 Jan 2017
|
Doc update (#3661)
Mat Groves
authored
on 27 Jan 2017
Matt Karl
committed
on 27 Jan 2017
|
2017-01-25 |
uvRespectAnchor for CanvasRenderer (#3648)
...
* uvRespectAnchor for CanvasRenderer
* braces, again
* There's no other repository with such lint that I'm commiting in. I don't like it :)
Ivan Popelyshev
authored
on 25 Jan 2017
GitHub
committed
on 25 Jan 2017
|
2017-01-23 |
Merge branch 'dev' into dev-geometry-update
Mat Groves
committed
on 23 Jan 2017
|
2017-01-22 |
fixed lint brace style warnings
Steffen Baer
committed
on 22 Jan 2017
|
2017-01-17 |
Merge branch 'dev' into dev-geometry-update
Mat Groves
committed
on 17 Jan 2017
|
2017-01-16 |
Control whether use core.ticker.shared to update (#3429)
...
* Control whether use core.ticker.shared to update
Add a argument to control whether use core.ticker.shared to update animation.
Related Issue : https://github.com/pixijs/pixi.js/issues/3428
Default value is true.
```
new AnimatedSprite(textures) ---> use core.ticker.shared to update, as same as current version.
new AnimatedSprite(textures, false) ---> don't use core.ticker.shared to update.
```
* Update JSDoc & Change autoUpdate to selfUpdate .
* Change selfUpdate back to autoUpdate
This is the last time I modified this PR.
Because I decide to write a new one.
If you don't want to merge this PR , you could close it anytime.
* add @private to autoUpdate
* Update AnimatedSprite.js
* this.autoUpdate --> this._autoUpdate
finscn
authored
on 16 Jan 2017
Mat Groves
committed
on 16 Jan 2017
|
2017-01-07 |
Merge branch 'dev' into dev-geometry-update
...
# Conflicts:
# src/mesh/Mesh.js
Mat Groves
committed
on 7 Jan 2017
|
2017-01-05 |
Improved documentation
...
Class member documentation improved via removal of unnecessary @memberofs - more members now show up in the docs.
Class getter/setter documentation improved using technique above, and also by removing documentation for setters. Documentation was only showing the setter docs, whereas the getter is where the important information is. JSDoc maintainers themselves recommend just doccing the getter jsdoc3/jsdoc#973
Documented a few classes to let devs know that they are automatically created by PIXI and added to renderer.plugins, like interactionManager and prepare
Dave Moore
committed
on 5 Jan 2017
|