Commit Graph

487 Commits

Author SHA1 Message Date
Joshua Granick
c0c061c866 Revert window maximize/restore workaround on Windows (causing maximize to become disabled) 2020-03-18 13:16:33 -07:00
Joshua Granick
8ca1927844 Restore previous focus after setting HTML5 clipboard 2020-03-16 21:23:32 -07:00
Joshua Granick
5a99ef3175 Remove setTextInputEnabled workaround on Android 2020-03-03 12:34:18 -08:00
dpomier
62ed5c2cb9 fix some implicit casts 2020-02-05 17:15:14 -08:00
PlutoniumBytes
72dd60f1c8 Update default iphone simulator
Iphone 6 silmulator is no longer supported, updated to iphone 11
2020-01-31 13:01:18 -08:00
PlutoniumBytes
ccaab1fbed Add case for RenderBufferBinding to getParameter
This fixes a crash in Neko, where getParameter returned an int, which caused a crash in __getObjectID
2020-01-29 19:42:50 -08:00
Joshua Granick
46f282eda2 Fix Electron build 2020-01-27 11:57:38 -08:00
Joshua Granick
e5bc493375 Fix window orientation auto in AIR template (resolve #1365) 2019-12-26 10:48:42 -08:00
Joshua Granick
ea57f2211c Run formatter 2019-12-24 10:19:56 -08:00
Andrew Sevenson
db8279e928 Reorder the logic for the copy / past in HTML5
Added a focus() fix for copy/paste operations in Chrome.
2019-12-02 16:41:43 -08:00
vincent-schirmann
19db3fe05b ios simulator is not launched 2019-11-25 15:58:51 -08:00
Joshua Granick
a6d90bfe95 Fix HTML5 clipboard 2019-11-25 15:10:45 -08:00
Joshua Granick
bb688b596c Allow Assets.unloadLibrary() for default library 2019-11-25 13:39:47 -08:00
Joshua Granick
4b059c4cbf Implement missing ArrayBuffer methods/properties 2019-11-11 14:08:08 -08:00
Justin Espedal
d5e80fa5c1 Allow use of launch storyboard instead of launch images on iOS 2019-11-06 12:27:48 -08:00
Zaphod
45e38dfca2 add failIfMajorPerformanceCaveat option
See https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2.1 :
If the value is true, context creation will fail if the implementation determines that the performance of the created WebGL context would be dramatically lower than that of a native application making equivalent OpenGL calls. This could happen for a number of reasons, including:
* An implementation might switch to a software rasterizer if the user's GPU driver is known to be unstable.
* An implementation might require reading back the framebuffer from GPU memory to system memory before compositing it with the rest of the page, significantly reducing performance. 

Applications that don't require high performance should leave this parameter at its default value of false. Applications that require high performance may set this parameter to true, and if context creation fails then the application may prefer to use a fallback rendering path such as a 2D canvas context. Alternatively the application can retry WebGL context creation with this parameter set to false, with the knowledge that a reduced-fidelity rendering mode should be used to improve performance.
2019-11-01 13:17:36 -07:00
Joshua Granick
8b441e30c5 Remove Howler.js end listener on stop() 2019-10-21 12:03:28 -07:00
Joshua Granick
3ecca19ec4 Remove debug message 2019-10-09 15:55:08 -07:00
Joshua Granick
274ae5fe3b Fix double root path 2019-10-08 13:13:10 -07:00
Joshua Granick
4edb4b413a Add NVX_gpu_memory_info extension support and return 'getParameter' as an int if an unknown param ID 2019-10-04 14:23:06 -07:00
Joshua Granick
e5a9744d4b Set buffer.transparent in Image.fromBitmapData' 2019-09-23 11:37:13 -07:00
Joshua Granick
50921faae6 Workaround to fix minimize/maximize on windows when not resizable 2019-09-19 11:44:57 -07:00
Joshua Granick
baeb5901e6 Update CURL.hx 2019-09-10 08:47:55 -07:00
m0rkeulv
76ae1aa7d7 removed unnecessary variable 2019-09-10 08:47:55 -07:00
m0rkeulv
0374c62691 Tweaks to make HTTP requests work with HashLink 2019-09-10 08:47:55 -07:00
Kaspars
cc717fd47a adds support for array type query and post parameters 2019-08-27 14:41:15 -07:00
Joshua Granick
b5f7634e4a Don't set root path if manifest embedded 2019-08-26 13:44:54 -07:00
Joshua Granick
0ab93e0337 HL clipboard fix (fix #1344) 2019-08-22 08:41:30 -07:00
Joshua Granick
80867b3f62 Android root path changes (fix #1346) 2019-08-22 08:00:55 -07:00
Kevin Stoker
4d83712aa7 Fix issue where http paths were changing to relative paths when loading assets. 2019-07-31 10:24:58 -07:00
Joshua Granick
8b76f769fc Allow copyPixels using canvas if no alpha image 2019-07-29 14:42:19 -07:00
Joshua Granick
ac44102aaf Native image.copyPixels + alphaImage fix 2019-07-29 11:38:05 -07:00
Joshua Granick
c8120c20d5 image.copyPixels fixes 2019-07-26 15:39:52 -07:00
Joshua Granick
44e111528c Add objectPool.remove 2019-07-26 11:01:17 -07:00
Joshua Granick
1188b3aa42 Run formatter 2019-07-12 12:08:09 -07:00
Joshua Granick
66344c8523 Speed up Image loadFromBytes (thanks D-MAN) 2019-07-11 09:19:31 -07:00
Joshua Granick
3de9f59091 Target API 28 and ARM64 on Android (per Google Play submission requirements) 2019-07-10 15:35:21 -07:00
Joshua Granick
8624394ca4 Asset manifest fix on Android 2019-07-10 15:17:54 -07:00
Alex Frost
555395235f Update HTML5Window.hx 2019-07-10 15:14:53 -07:00
Joshua Granick
7e12a64c34 Compile fix 2019-07-09 13:15:53 -07:00
Joshua Granick
04ffcc158d Add internal Base64 type 2019-07-09 13:12:26 -07:00
Joshua Granick
fcd8c19f83 Speed up same origin check for data URIs 2019-07-09 12:15:46 -07:00
Joshua Granick
a2e62f16a1 Add internal Base64 type 2019-07-09 12:12:29 -07:00
Joshua Granick
af8634d3af Try using UnicodeString for UTF8String on Haxe 4 2019-07-09 10:44:34 -07:00
Jens Fischer
ad0e8bb9ca Fix HTML5 compilation with latest Haxe dev
This is needed to compile with HaxeFoundation/haxe#8422 because abstract implicit casts are not transitive.
2019-06-24 12:40:12 -07:00
Joshua Granick
ef154d2916 Revert "Move native DLL directory to 'lib'"
This reverts commit 20f626dab8.
2019-06-24 10:37:22 -07:00
Joshua Granick
f637bdd8ef Fixes for bundle loading 2019-06-21 15:07:08 -07:00
Joshua Granick
7c4110fbef Initial support for libraries using asset bundles 2019-06-21 12:15:58 -07:00
Joshua Granick
f50904e1d4 AssetBundle improvements 2019-06-20 21:46:17 -07:00
Joshua Granick
e9bc17ef42 Initial work on AssetBundle 2019-06-17 11:53:32 -07:00