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
Joshua Granick
a4dda159f1
Fix mozImageSmoothingEnabled warning
2018-09-13 21:28:18 -07:00
Joshua Granick
58f7749d65
Resolve #1232 , improve native HTTPRequest support
2018-09-12 11:23:00 -07:00
Joshua Granick
ed773ae74e
Revert "Help resolve support for multiple running cURL handles ( resolve #1225 )"
...
This reverts commit 56e37aa886 .
2018-09-12 10:53:19 -07:00
Joshua Granick
4547718b4e
Fixed for 'zip' library type
2018-09-11 10:52:56 -07:00
MrCdK
c384eb26d4
Use Unifill.uLength() in UTF8String get_length()
...
If the String isn't a valid UTF8 string haxe.Utf8.length() will throw a cryptic "Invalid UTF8" error while Unifill.uLength() will return 0
2018-09-10 13:56:18 -07:00
George Corney
98d8296c06
js.html.compat is being removed in haxe 4
...
See https://github.com/HaxeFoundation/haxe/issues/7091
2018-09-10 13:54:05 -07:00
Joshua Granick
adb0766199
Set 'window.parameters' if 'attributes.parameters' is set during Window creation
2018-09-10 10:41:23 -07:00
Joshua Granick
4adb7d638d
Fix BMP format encode
2018-09-07 13:18:17 -07:00
Joshua Granick
083be8a3af
Add 'undefine' project.xml tag
2018-09-07 12:36:12 -07:00
Patrick Gutlich
c2103d151f
window title can be set as parameter in project.xml
2018-09-05 10:41:41 -07:00
George Corney
563246630e
Functions marked as :Void shouldn't return
...
A number of functions are annotated as `: Void` but return the result of call, in recent versions of the HTMLMediaElement specification `play()` returns a promise. To avoid errors when the externs are updated I've removed the `return`
2018-09-05 10:40:37 -07:00
Joshua Granick
accfc369eb
Initial font metrics to 0, allow modification at runtime
2018-09-04 11:06:00 -07:00
Joshua Granick
0be5bb1b99
Change 'import x in y' to 'import x as y'
2018-08-30 13:23:13 -07:00
Joshua Granick
e488e20153
Minor pointer fix
2018-08-29 13:23:58 -07:00
Joshua Granick
56e37aa886
Help resolve support for multiple running cURL handles ( resolve #1225 )
2018-08-29 12:19:30 -07:00
Joshua Granick
a5d22e0a84
Update Harfbuzz to 1.8.8
2018-08-28 18:36:38 -07:00
Joshua Granick
872aba046d
Improvement to path overrides
2018-08-22 18:22:13 -07:00
Joshua Granick
ac68dc7c78
Fix compilation of JS ArrayBuffer when generating documentation
2018-08-21 12:20:04 -07:00
Joshua Granick
cb8c7aafd9
Fix support of WebGL2 in default HTML5 window
2018-08-15 13:39:18 -07:00
Joshua Granick
77dedf6941
Compile fix
2018-08-14 12:22:09 -07:00
Joshua Granick
d10a092ed6
Force disable CFFI build macro except rare case
2018-08-14 12:18:11 -07:00
andrew-git
8aec4d7080
Html5 mp3 detection update
...
Looks like MP3 could have FF FX bits (https://www.garykessler.net/library/file_sigs.html ),
but in my sample for mp3 22k second bit was 243 and after change normally plays in Firefox and Chrome.
Need test and maybe update algo to take into account all second bits started with F
2018-08-13 11:15:37 -07:00
Joshua Granick
6ec3275c77
Compile fix
2018-08-09 12:06:51 -07:00
Joshua Granick
b86aea2893
Minor improvement to AssetLibrary projgress events
2018-08-09 12:02:19 -07:00
Joshua Granick
2222e81767
Make HowlerJS define consistent
2018-08-09 12:02:05 -07:00
Joshua Granick
91872a282e
Minor documentation tweak
2018-08-09 12:01:40 -07:00
Joshua Granick
8d8ee345b5
Minor HTML5 window init fix
2018-08-09 10:51:41 -07:00
Joshua Granick
e93c2fa4ae
HTML5 audio context fix
2018-08-08 21:11:35 -07:00