Commit Graph

2390 Commits

Author SHA1 Message Date
Valentin Lemière
44f3ae8e18 Updating android ndk version (#723) 2016-06-06 14:54:36 +02:00
Valentin Lemière
88a9d414da Embed unsupported flash assets as binary (including ogg), Fixes #672 2016-06-06 14:51:09 +02:00
Joshua Granick
a6c93ea050 Update Cairo 2016-06-03 08:05:11 -07:00
Joshua Granick
0bcd8d46ee Memory workaround 2016-06-03 06:31:15 -07:00
Joshua Granick
965d854baa Synchronize changes to typed arrays 2016-06-01 08:41:21 -07:00
Joshua Granick
52572d3f05 Prefer ArrayBuffer over Array<T> in typed array constructors 2016-06-01 07:31:34 -07:00
Joshua Granick
1cb99147c1 Merge pull request #752 from fbricker/develop
Add NSAppTransportSecurity section to info.plist with NSAllowsArbitraryLoads enabled
2016-05-31 08:54:38 -07:00
Federico Bricker
15875bce73 Merge commit 'd48e7dbc2d1072fec69998fd163ea099702b1684' into develop
* commit 'd48e7dbc2d1072fec69998fd163ea099702b1684':
  Allow to include TBD dependencies in XML for tvOS
2016-05-31 12:52:00 -03:00
Federico Bricker
fc93259125 Add NSAppTransportSecurity section to info.plist with NSAllowsArbitraryLoads enabled 2016-05-31 12:47:44 -03:00
Joshua Granick
a8a4b83464 Merge pull request #750 from fbricker/patch-1
Allow to include TBD dependencies in XML
2016-05-31 07:52:58 -07:00
Federico Bricker
d48e7dbc2d Allow to include TBD dependencies in XML for tvOS
This allows lime extensions to add things like:
This is the only missing extension, since dylib packages are deprecated and replaced by TBD on xcode 7+
2016-05-31 11:51:17 -03:00
Federico Bricker
48f4a3aa2f Allow to include TBD dependencies in XML
This allows lime extensions to add things like:
<dependency name="libz.tbd" />

This is the only missing extension, since dylib packages are deprecated and replaced by TBD on xcode 7+
2016-05-31 11:47:42 -03:00
Joshua Granick
d196806c21 Merge pull request #717 from Leander1P/html5-handleresize-int
HTML5Window.handleResize: various "prefer exact integers" fixes...
2016-05-29 17:22:06 -07:00
Joshua Granick
39f16cda89 Merge pull request #726 from mrcdk/copyPixels_fix
Fix Image.copyPixels() with negative dest
2016-05-29 17:18:37 -07:00
Joshua Granick
7fb5ce0f78 Merge pull request #732 from bmfs/fix_html5_png_encode
Fix png encoding in the html5 target
2016-05-29 17:18:00 -07:00
Joshua Granick
3e74286800 Merge pull request #747 from vroad/virtual-destructor-fix
Implement virtual destructors in some C++ classes
2016-05-25 20:11:02 -07:00
vroad
9d5839bc73 Fix spaces 2016-05-26 11:41:19 +09:00
vroad
bb9d3327ec Implement virtual destructor in Application 2016-05-26 11:40:34 +09:00
vroad
166808d706 Implement virtual destructors in some C++ classes 2016-05-26 11:13:01 +09:00
Joshua Granick
15a0c0fae7 Merge pull request #746 from vroad/imageBuffer-init-premultiplied
Initialize premultiplied in ImageBuffer's constructor
2016-05-25 08:44:08 -07:00
vroad
6c35e54c8d Initialize premultiplied in ImageBuffer's constructor 2016-05-26 00:13:10 +09:00
Joshua Granick
1f4d08cddd Update LICENSE.md 2016-05-24 23:55:55 -07:00
Joshua Granick
e6f5f23180 Update CI script 2016-05-24 11:31:57 -07:00
Joshua Granick
fe913e7a76 Compile fix 2016-05-24 11:24:30 -07:00
Joshua Granick
332b75b725 Compile fix 2016-05-24 11:10:08 -07:00
Joshua Granick
e2fcae4c9b Handle garbage collection for OpenGL API 2016-05-24 03:09:11 -07:00
James Gray
f7422f59bb console: implement AudioSource.gain 2016-05-24 03:58:30 -05:00
James Gray
278fec8e45 tools: remove default window dimensions for console targets 2016-05-21 00:09:50 -05:00
Joshua Granick
61692223a4 Update include.xml 2016-05-19 00:10:21 -07:00
Joshua Granick
8a13cd95c7 Merge pull request #737 from mauvecow/neko-openal-fix
OpenALBindings: Converted val_array references to be neko compatible.
2016-05-18 23:40:33 -07:00
mauve
174025e7a4 OpenALBindings: Converted val_array references to be neko compatible. 2016-05-18 23:37:58 -07:00
Joshua Granick
c73b84291e Remove legacy reference 2016-05-18 22:19:48 -07:00
Joshua Granick
cf1d25d950 Remove Lime legacy/hybrid mode 2016-05-18 22:17:06 -07:00
Joshua Granick
6b83072519 Fix application.preloader reference 2016-05-17 12:12:14 -07:00
Joshua Granick
94c4833b54 Merge pull request #734 from tanis2000/develop
Fixes for tvOS.
2016-05-17 09:06:14 -07:00
Valerio Santinelli
1062d4d9eb Fixes for tvOS.
Forces the architecture to be 64 bit only when using the simulator.
Also fixes an issue where it was being set the wrong define thus not allowing to build for the simulator as expected.
2016-05-17 15:48:32 +02:00
Bruno Santos
0b4d325749 Fix png encoding in the html5 target 2016-05-16 14:04:57 +01:00
Joshua Granick
51099df564 Shorten macro (thanks @player-03) 2016-05-14 11:27:02 -07:00
Joshua Granick
e26906f065 Update window close behavior 2016-05-14 11:24:03 -07:00
Joshua Granick
22549c557b Fix cache-break value to be once-per-compile 2016-05-14 11:03:23 -07:00
Joshua Granick
951addec2a Improve behavior of onPreloadComplete 2016-05-14 10:48:09 -07:00
Joshua Granick
d530ec8451 HTML5 Image fixes 2016-05-13 15:38:40 -07:00
Joshua Granick
7009358d25 Progress on better WebGL support in Image 2016-05-12 23:15:24 -07:00
Joshua Granick
dda6f6a2db Add Cairo showGlyphs 2016-05-12 09:40:18 -07:00
Joshua Granick
d8b077d319 Try a module system that's resilient to added events 2016-05-11 00:41:24 -07:00
MrCdK
0ffb52fcac Fix Image.copyPixels() with negative dest
It was setting the source rect x and y to the dest x and y and not subtracting it.
2016-05-05 18:45:50 +02:00
Leander Hasty
ca2a5cba9a HTML5Window.handleResize: various "prefer exact integers" fixes for the non-stretch case:
Avoid dividing by zero if we somehow come in with setWidth or setHeight 0 (taking a hint from recent handleTouchEvent changes -- we never witnessed this but it seemed worth a bit of paranoia while we were making changes).

Prefer meeting either element.clientWidth or element.clientHeight exactly if scaleX or scaleY are smaller, respectively.  This avoids introducing float inaccuracies in some cases by recomputing style.width or style.height later.

When multiplying the other dimension, round down. Similarly, when computing margins, round down.  This avoids a half-pixel offset (possible performance implications?) in cases where the difference between the computed dimension is different from the client dimension by an odd amount (could e.g. see "marginLeft: -0.5px" here due to this and the aforementioned recompute).

Also dedupes a bit of code between the "we have a canvas" vs "we have a div" branches.

Reviewed locally by Jon Meschino.
2016-04-22 15:26:16 -04:00
James Gray
9d95964f2f console: add setPixelShaderConstantF method 2016-04-20 02:51:57 -05:00
James Gray
80590ab317 console: add debugReadFrameBuffer method 2016-04-20 02:51:46 -05:00
James Gray
fe30467393 console: make ConsoleRenderContext an extern class
Finally made ConsoleRenderContext an extern class, thanks to a workaround to
default args not working. @:overload is used in combination with the actual
default args specified in the C++ headers.

See https://github.com/HaxeFoundation/haxe/issues/3955.
2016-04-20 02:51:19 -05:00