Commit Graph

1405 Commits

Author SHA1 Message Date
MrCdK
f588dcdf09 Dunno why round isn't working, so second another workaround 2015-04-28 02:54:01 +02:00
MrCdK
8439a6898a Add math.h for round 2015-04-28 02:29:51 +02:00
MrCdK
a7bfb9936b Implemented the cpp part 2015-04-28 01:34:25 +02:00
MrCdK
538371c7c6 Merge branch 'master' of https://github.com/openfl/lime into fix_openfl_635 2015-04-28 01:21:27 +02:00
MrCdK
2f902dd072 Fix haxe part of issue https://github.com/openfl/openfl/issues/635 2015-04-28 00:51:49 +02:00
Joshua Granick
d7ee3f4de4 Merge pull request #422 from mrcdk/fix__openfl_631
Let's make a float division and not an integer one
2015-04-27 15:01:07 -07:00
MrCdK
2d3576743d Let's make a float division and not an integer one 2015-04-27 21:17:35 +02:00
Joshua Granick
803538e4da Merge pull request #418 from bendmorris/font-embedding-fix
Font embedding file not found fix.
2015-04-25 10:23:23 -07:00
Ben Morris
ba97f1e1c5 Font embedding file not found fix. 2015-04-24 23:13:22 -07:00
Joshua Granick
ca89748dc9 Minor tweak 2015-04-24 09:29:05 -07:00
Joshua Granick
632f0e695d Add window enter and leave events (mouse focus) 2015-04-24 02:18:30 -07:00
Joshua Granick
aefc15ee20 Merge pull request #416 from mrcdk/fix_openfl_618
Fixes copyPixels mergeAlpha
2015-04-23 17:25:44 -07:00
MrCdK
7703a8e2c0 Fix windows imageBuffer transparent value 2015-04-24 00:33:19 +02:00
MrCdK
02916119ca Fixes copyPixels mergeAlpha
Fixes issue https://github.com/openfl/openfl/issues/618
2015-04-23 23:35:26 +02:00
Joshua Granick
be0012948d Ubuntu setup fix 2015-04-23 09:29:21 -07:00
Joshua Granick
89c3c382d7 Tweak style a little 2015-04-22 13:42:03 -07:00
Joshua Granick
40b2470618 Compile fix 2015-04-22 13:41:58 -07:00
Joshua Granick
c6ec535ee8 Image improvements 2015-04-22 13:36:27 -07:00
Joshua Granick
d35a66e281 Merge pull request #415 from larsiusprime/origin_master
ColorBounds Rect flash compile fix
2015-04-22 13:19:46 -07:00
Lars A. Doucet
c3bd93681d Merge branch 'master' of https://github.com/openfl/lime into origin_master 2015-04-22 14:48:27 -05:00
Lars A. Doucet
72b906cea6 Image.hx: compile fix for flash 2015-04-22 14:46:45 -05:00
Joshua Granick
c23920c990 Merge pull request #414 from larsiusprime/origin_master
BitmapData: added getColorBoundsRect implementation for next
2015-04-22 12:43:44 -07:00
Lars A. Doucet
594d1e30a1 BitmapData: added getColorBoundsRect implementation for next 2015-04-22 14:37:57 -05:00
Joshua Granick
414fdf16de Merge pull request #413 from vroad/nodejs-fix2
Fix compilation on nodejs
2015-04-22 07:43:59 -07:00
vroad
fc74f1c4ed Fix compilation on nodejs 2015-04-22 16:04:54 +09:00
Joshua Granick
8338e1a758 Merge pull request #412 from larsiusprime/origin_master
CopyPixels bounds check fix
2015-04-21 15:08:10 -07:00
Lars A. Doucet
0b658e30c6 Merge branch 'master' of https://github.com/openfl/lime into origin_master 2015-04-21 16:56:47 -05:00
Lars A. Doucet
c445feecd0 Image.hx copyPixels: more robust bounds checks prior to system-specific calls, this trims the rects to known legal values to prevent both buffer overflows and underflows 2015-04-21 16:56:00 -05:00
Lars A. Doucet
02c545a8f1 null checks on lime/graphics/Image.hx 2015-04-21 16:20:45 -05:00
Joshua Granick
7c0023d622 Update CHANGELOG 2.3.3 2015-04-21 14:15:20 -07:00
Joshua Granick
3e2291fb54 Return immediately if ov_open fails 2015-04-21 14:00:56 -07:00
Joshua Granick
5ff82be019 Close a few more handles 2015-04-21 13:42:50 -07:00
Joshua Granick
e3c4c0d57b Minor fix 2015-04-21 13:38:48 -07:00
Joshua Granick
7e9f71c1c0 Better cleanup in WAV code 2015-04-21 13:35:46 -07:00
Joshua Granick
d7ade5b2f8 Better OGG cleanup 2015-04-21 13:31:38 -07:00
Joshua Granick
f3030bb9c4 Update CHANGELOG 2015-04-21 12:42:00 -07:00
Joshua Granick
8bd5bb91a3 Update to 2.3.3 2015-04-21 12:41:52 -07:00
Joshua Granick
4160ac31c7 Improve handling of progress numbers in URLLoader 2015-04-21 11:12:09 -07:00
Joshua Granick
a095d00004 Merge pull request #411 from larsiusprime/origin_master
Image.hx: fix buffer overflow vulnerability in copyPixels() by setting a...
2015-04-20 16:57:44 -07:00
Joshua Granick
3245938a96 Capitalize drive letter on Windows when standardizing paths 2015-04-20 15:58:57 -07:00
Lars A. Doucet
67dd654d60 Image.hx: fix buffer overflow vulnerability in copyPixels() by setting an explicit width/height bounds check on destPoint+sourceRect in addition to sourceRect itself 2015-04-20 15:38:20 -05:00
Joshua Granick
eb2b293a28 Embed fix 2015-04-17 14:48:34 -07:00
Joshua Granick
81933743bd Compile fix 2015-04-17 13:25:51 -07:00
Joshua Granick
005b385be2 Add source.offset, source.length and rename the timeOffset value -> currentTime. Looping will occur between the start offset and end length values. OpenFL can use this to do a 'loop back to start offset' play, while the standard use-case in Lime will loop the whole sound (but optionally support both start and end constraints) 2015-04-17 12:49:18 -07:00
Joshua Granick
9ccaef026e Improvements to AudioSource 2015-04-17 09:47:20 -07:00
Joshua Granick
24133aab8f Merge pull request #410 from larsiusprime/audio
Audio: SOUND_COMPLETE events, looping, pause/resume
2015-04-17 09:29:17 -07:00
Lars A. Doucet
e7cfefe907 Audio: compile fix: remove errant import 2015-04-17 11:05:54 -05:00
Lars A. Doucet
c64160bc93 Audio: style fix 2015-04-17 10:24:04 -05:00
Lars A. Doucet
0ac3cc18b8 Audio: pausing/resuming works now 2015-04-17 10:21:15 -05:00
Joshua Granick
f59583ed34 Handle hardware anti-aliasing flags with SDL2 2015-04-16 16:50:53 -07:00