Commit Graph

363 Commits

Author SHA1 Message Date
Joshua Granick
68de78a9b9 Cleanup software gaussian blur 2018-11-28 21:43:57 -08:00
Łukasz Modliński
7314c37153 Switched return values in gaussianBlur 2018-11-27 09:59:42 -08:00
Joshua Granick
df0f77b91c Skip pixel translation in blur if no offset or strength change 2018-11-20 08:57:32 -08:00
Łukasz Modliński
c72362f028 Reverted changes with strength
This actually broke DropShadow
2018-11-20 08:49:17 -08:00
imcasper
06982a4ac2 Update ImageDataUtil.hx
strength can smaller than one
2018-11-19 08:42:09 -08:00
Joshua Granick
3049e637b0 Docs fix 2018-11-15 15:51:31 -08:00
Joshua Granick
f89dfd956a Compile fix 2018-11-15 15:44:08 -08:00
Joshua Granick
62d850a3e7 Compile fix 2018-11-15 13:45:06 -08:00
Joshua Granick
4e9de61186 Avoid CFFI for DataPointer conversions on C++ 2018-11-15 13:28:07 -08:00
Joshua Granick
c49a90d451 Let SDL notify on Clipboard changes, progress on catching clipboard get/set failure (locked clipboard) 2018-11-15 10:24:11 -08:00
Łukasz Modliński
4735ed6c03 Swapped imgB and imgA back
This swap makes Blur actually work - otherwise it does not display at all.
2018-11-15 09:49:19 -08:00
imcasper
37b2eb014b ImageDataUtil.gaussianBlur strength 2018-11-14 08:30:09 -08:00
Joshua Granick
263e73922e Fix XML access warning 2018-11-13 10:19:31 -08:00
Joshua Granick
9302116537 Allow <window background="null" /> or "transparent" (in addition to "0x00000000") for transparent window 2018-11-12 11:03:04 -08:00
Joshua Granick
ce28056089 Fix -Ddom define (resolve openfl/openfl#2067) 2018-11-12 10:00:16 -08:00
Joshua Granick
c7b96e0be8 Timer fix 2018-11-05 11:20:15 -08:00
Joshua Granick
1b8df4203b Hide AIR windows by default when running munit 2018-11-01 16:29:52 -07:00
Joshua Granick
6af853b002 Resolve issues in Font.renderGlyph(s) 2018-11-01 10:17:52 -07:00
Joshua Granick
33ea814926 Minor fix 2018-10-31 15:13:39 -07:00
Joshua Granick
344fb75bf8 Use lime.system.Locale instead of a new Language enum 2018-10-31 15:13:39 -07:00
Lars Doucet
0a08a82d0c add language-specific rules (for e.g. Turkish) to Utf8String casing
fix utf8string casing
2018-10-31 15:13:39 -07:00
Joshua Granick
5129b337c8 Update HTML5HTTPRequest.hx 2018-10-31 14:58:24 -07:00
loudoweb
298d2b9ae6 Add forceLocal define to allow loading locally
Compiling with -DforceLocal allow files to be served locally when browser supports this.
Use case : Cordova use a webview and many files can't be loaded without allowing http status 0 as successful.
2018-10-31 14:58:24 -07:00
Joshua Granick
85934e498e Fix error when rebuilding tools using Haxe 4 preview 5 2018-10-25 23:15:48 -07:00
Joshua Granick
fe0b6bf138 Improve support for Haxe 4 preview 5 2018-10-24 17:05:32 -07:00
Joshua Granick
e659af9ee9 Make sure events are cancelable (resolve #1250) 2018-10-19 15:22:39 -07:00
Łukasz Modliński
e4b67f7e64 Missing import for Vector4 2018-10-19 14:42:43 -07:00
Łukasz Modliński
e2a09d3910 Method for software Displacement Map Filtering
With optional, bilinear filtering. This may be an initial implementation for now. Can be improved later on.
2018-10-19 14:42:43 -07:00
loudoweb
f6d24f2d19 improve saving file on html5 (allow also better support of safari mobile which need correct mime type to open the file) 2018-10-17 13:05:56 -07:00
Joshua Granick
4a8125e036 Support more HTML5 keycodes (based on wesbos/keycodes, resolve openfl/openfl#1575) 2018-10-12 14:30:38 -07:00
Joshua Granick
858a2dc793 Compile fix 2018-10-10 15:23:02 -07:00
Joshua Granick
a5bef44d65 Improve handling oof corrupted PNG images (resolves openfl/openfl#1999) 2018-10-10 14:57:27 -07:00
Joshua Granick
080666c95b Fix 'window.cursor = null' on HTML5 (resolve openfl/openfl#2021) 2018-10-10 14:24:37 -07:00
Joshua Granick
5293d5319d Fix HTML5 antialiasing 2018-10-02 16:47:36 -07:00
Lars Doucet
caeb575b52 Revert "add language-specific rules (for e.g. Turkish) to Utf8String casing"
This reverts commit 7c9b3e657f.
2018-10-02 13:17:19 -05:00
Lars Doucet
7c9b3e657f add language-specific rules (for e.g. Turkish) to Utf8String casing
fix utf8string casing
2018-10-02 13:15:12 -05:00
Joshua Granick
2af3edb88e Fix possible overflow in SWF background value 2018-10-01 14:27:30 -07:00
Joshua Granick
b8be33247f Compile fix 2018-10-01 10:08:19 -07:00
Joshua Granick
34fe382e21 Timer fix 2018-09-28 14:56:50 -07:00
Joshua Granick
737c37854f Increase frequency of network timer 2018-09-28 14:27:28 -07:00
Joshua Granick
1a8f1fd4e4 Handle timer pausing, run timers multiple times if the time was long enough 2018-09-28 14:26:03 -07:00
Joshua Granick
71e24a2a2c Library parser fix 2018-09-26 13:36:42 -07:00
miltoncandelero
8c7c9d7883 On the previous panning fix didn't check if howler existed. (#1244)
* Updated Howler to enable sound position

Updated Howler to version 2.0.15

For what we use, we could use the "stereo()" function but as we already generated the coordinates, I settled for the "pos()" function.

My knowledge of sound isn't enough to understand where the "w" variable of the position goes (as "pos()" uses only x, y and z). My guess is that "pannerAttr()" might have the access to what we are looking for, but again I don't fully understand sound.

* I didn't know the srcHowl could be null 😨

* Why not also check that "pos" actually exists
2018-09-26 11:20:22 -07:00
Joshua Granick
103fcd2a53 Resolve Haxe 4 dev 'operator' conflict with Cairo setOperator/getOperator instead 2018-09-25 13:46:42 -07:00
Joshua Granick
84909d7aa6 Implement fromBase64/loadFromBase64 for non-HTML5 targets 2018-09-25 12:24:41 -07:00
Joshua Granick
91426f2267 Workaround 'operator' as forbidden variable name in Haxe 4 dev 2018-09-24 15:49:55 -07:00
miltoncandelero
14f12a41da Updated Howler to enable sound position (#1243)
Updated Howler to version 2.0.15

For what we use, we could use the "stereo()" function but as we already generated the coordinates, I settled for the "pos()" function.

My knowledge of sound isn't enough to understand where the "w" variable of the position goes (as "pos()" uses only x, y and z). My guess is that "pannerAttr()" might have the access to what we are looking for, but again I don't fully understand sound.
2018-09-24 10:04:02 -07:00
Pete Shand
7bbc7077fa HTML5Window readPixels issue (#1240)
* Fix HTML5Window readPixels canvas name conflict which was resulting in empty pixels being read
2018-09-18 18:11:44 -07:00
shohei909
3f2b1c09d3 calculate AssetsMacro.cacheVersion at compile time 2018-09-17 10:44:18 -07:00
Joshua Granick
e1ef7a9876 Minor compile fix 2018-09-14 02:20:46 -07:00