Commit Graph

619 Commits

Author SHA1 Message Date
Giuppe
34d997d316 fix getShaderInfoLog null result check on HashLink target 2021-04-16 03:54:28 +02:00
Justin Espedal
f110d52e5a Allow hyphen for launchStoryboard template property typing
When parsing the attributes attached to a launchStoryboard element, in addition to the colon character (`:`), allow the hyphen character (`-`) to be used as the separator between a template property's name and its type.

Although colon is familiar to Haxe developers as the variable type specifier (e.g. `var i:Int = 0;`), the colon character's expected usage within xml is to separate the local name from the namespace. So usage of colon here could be unexpected, and also causes trouble in formalizing the specification as an xsd.

Retain the ability to parse `:` for backward compatibility.
2021-04-15 00:34:53 +09:00
player-03
caa7feff1c Reword comment for clarity
(Also for grammar and consistent line length.)
2021-04-10 20:40:51 -07:00
player-03
a4aa3f2dd8 Simplify native_audio_buffers implementation
The previous version was backwards - `native_audio_buffers` would be ignored if defined, and used if not defined. Worse, with all the `!` operators, it was hard to tell.

This implementation tries to fix the error in a way that is easier for a human to check.
2021-04-10 20:40:51 -07:00
m0rkeulv
feae6af85a Making NativeAudio buffers configurable & playback behaving like other sources. 2021-04-10 20:40:51 -07:00
player-03
c743fe10c4 Merge pull request #1445 from player-03/workingDirectory
Use existing "workingDirectory" value instead of re-calculating.
2021-03-29 05:07:46 -04:00
Joshua Granick
8c9808b038 Run formatter 2021-03-10 13:22:39 -08:00
Joshua Granick
2c563b7809 Fix abstract casts on Haxe 4.2 2021-03-10 13:21:31 -08:00
player-03
99649ef487 Remove trailing tab 2021-03-03 18:03:32 -05:00
player-03
f9a1f645d5 Standardize formatting 2021-03-02 23:45:49 -05:00
m0rkeulv
0c032c7a2a using primitives 2021-02-18 21:42:34 +01:00
m0rkeulv
eb60e5581e Fix incorrect type in init statement 2021-02-15 21:29:53 +01:00
m0rkeulv
56d0bd1089 remove changes that where committed by mistake. 2021-02-14 11:33:42 +01:00
m0rkeulv
0e47fd399d remove @:generic on abstracts 2021-02-14 00:06:48 +01:00
m0rkeulv
ef14ba3faa making tools build 2021-02-13 23:19:21 +01:00
m0rkeulv
59ddb9636b Add @:transitive to abstracts were needed to build with haxe 4.2 2021-02-13 23:04:17 +01:00
Kostas Chatzikokolakis
d2fcc5547d PackedAssetLibrary: use Path.join for rootPath 2021-01-27 13:37:02 +02:00
Joseph Cloutier
8416759e33 Use existing value instead of re-calculating.
Now that `project.workingDirectory` exists, we may as well use it.

I considered adding "${workingDirectory}" as a valid value, to match
"`project.workingDirectory`", but decided to keep changes to a minimum.
2021-01-06 14:50:44 -05:00
Joshua Granick
a22d55762a Do not fail if major performance caveat and WebGL was requested 2020-12-17 12:37:37 -08:00
Joshua Granick
c43be68eab Revert "add failIfMajorPerformanceCaveat setting"
This reverts commit aa77fcbdd7.
2020-12-17 12:37:37 -08:00
loudoweb
6ac395a706 remove garbage from bytes when saving a file on html5, see : https://community.openfl.org/t/problem-with-filereference-save-xml/12776/2 2020-12-01 15:57:11 -08:00
rainyt
8e7ab67745 Fix IEM Input text
Fix IEM Input text
2020-11-10 10:32:53 -08:00
Joshua Granick
c6c24b4dfd Speed up AIR application boot time 2020-11-10 10:28:51 -08:00
Justin Espedal
f75bfa2700 Hashlink vorbis bindings 2020-10-21 10:36:17 -07:00
Александр Хохлов
aa77fcbdd7 add failIfMajorPerformanceCaveat setting 2020-10-14 09:23:52 +04:00
Joshua Granick
d918341db0 Set focus/activate on HTML5 windows using visibilitychanged event as well (close #1401) 2020-09-24 10:58:02 -07:00
Zanzlanz
283176fa5e Fix audio stutter on HTML5
Patches an issue causing audio to play twice if force_html_audio is enabled. This appears to be an oversight with Howl.
2020-09-01 20:38:49 -07:00
Jens Fischer
eac0c93b2c Fix Std.is() deprecation warnings with Haxe 4.2 (#1412) 2020-07-18 09:24:01 +02:00
loudoweb
f6251e4452 add removeAll feature for lime event 2020-07-07 23:05:15 +02:00
Joshua Granick
a3829085e8 Fix #1398 ES6 init 2020-06-22 09:16:01 -07:00
Joshua Granick
fbe94170c9 Change __js__ for js.Syntax.code on Haxe 4 (resolve #1397) 2020-05-20 08:58:44 -07:00
Joshua Granick
84dba98700 Revert "Restore previous focus after setting HTML5 clipboard"
This reverts commit 8ca1927844.
2020-03-18 13:56:38 -07:00
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