Commit Graph

1229 Commits

Author SHA1 Message Date
Joshua Granick
93b20b38c0 Improve system for Font rendering, need to improve charCode -> glyphIndex mapping though 2015-03-12 21:26:18 -07:00
Joshua Granick
347b25b41d Allow Assets.exists on Flash when type == null 2015-03-10 09:36:08 -07:00
Joshua Granick
c9f182018b Allow Assets.getBytes for Flash IMAGE type 2015-03-10 09:33:42 -07:00
Joshua Granick
ca05d8994c More work on Font API 2015-03-10 01:14:39 -07:00
Joshua Granick
13564d0ffa Compile fix 2015-03-09 08:55:28 -07:00
Joshua Granick
8f139a8fce Fix for some compilers 2015-03-09 08:37:41 -07:00
Joshua Granick
b460dfc93c Fill in GlyphMetrics type 2015-03-09 08:26:23 -07:00
Joshua Granick
60ab9305fe Fix support for newer Haxe Options.txt format (TODO: Fix iOS target) 2015-03-09 08:21:41 -07:00
Joshua Granick
0f6f022dab Add Font.getTextMetrics, rename TextLayout->TextEngine 2015-03-09 08:09:09 -07:00
Joshua Granick
a406401848 Add more Font details, fix @:font embedding 2015-03-09 04:57:13 -07:00
jgranick
9804f1970a Compile fix 2015-03-07 21:27:12 -08:00
Joshua Granick
e6eaec22f7 Investigate cleanup a little bit later 2015-03-07 21:18:26 -08:00
Joshua Granick
76676965f2 Use 'iojs' for Node target (closes #366) 2015-03-07 21:07:17 -08:00
Joshua Granick
3d63ba9174 Add extra imports 2015-03-07 21:05:47 -08:00
Joshua Granick
7b5130f6d9 Progress on text support 2015-03-07 21:02:27 -08:00
Joshua Granick
f88a35f890 Merge pull request #363 from restorer/patch-2
Fix ByteArray resizing for js target
2015-03-04 14:52:16 -08:00
Joshua Granick
d6f1c9894b Improve support for Lime modules 2015-03-04 14:41:28 -08:00
Joshua Granick
3811e90acb Move hooks from Application into Module class 2015-03-04 13:07:06 -08:00
Joshua Granick
cbf2386b8c Move samples 2015-03-04 13:00:28 -08:00
srevid
fc6cd177d6 isLocal always true with Sound [Flash]
Fix isLocal function always true with test Sound on Flash.
When embed sound is set on false, isLocal can't by pass exist test.
2015-03-04 11:18:26 -05:00
Viachaslau Tratsiak
7926f05581 Fix ByteArray resizing for js target
Originally, I encountered this problem with I was playing with luxeengine - https://github.com/underscorediscovery/snow/pull/68
Since ByteArray in show was based on ByteArray from lime, I checked lime's version, and found the same bug.
I don't know exact lime roadmap (will lime still use it own implementation of ByteArray or will use typedarrays like snow), but maybe this pull-request will be useful.
2015-03-04 15:02:09 +03:00
Joshua Granick
f52de39fb1 Merge pull request #362 from vroad/PR/fix-2
Node.js-related fixes
2015-03-04 02:22:34 -08:00
vroad
d130196b71 Fix ImageBuffer to store typed array directly on Node.js (since node-ndll currently cannot get buffer from ArrayBuffer) 2015-03-04 19:21:47 +09:00
vroad
c756e589a6 Fix ByteArray resize and type-check on Node.js 2015-03-04 19:21:47 +09:00
vroad
fcd5bc295e Fix #if for Node.js/HTML5 2015-03-04 19:21:38 +09:00
vroad
1b47fc33a2 Always use setImmediate on Node.js 2015-03-04 18:12:22 +09:00
vroad
35caf81a8d Define sys for Node.js target 2015-03-04 17:56:00 +09:00
vroad
bc0eb77cc6 Fix OpenGL bindings on Node.js 2015-03-04 17:55:59 +09:00
Joshua Granick
c751703510 Improve message when a haxelib is not found 2015-03-03 15:54:13 -08:00
Joshua Granick
c846cb397c Haxe 3.2 fixes 2015-03-03 14:18:57 -08:00
Joshua Granick
bc2402ee7d Update CHANGELOG 2.1.3 2015-03-02 13:15:06 -08:00
Joshua Granick
0e47cc70f6 Update to 2.1.3 2015-03-02 13:14:59 -08:00
Joshua Granick
776a48dc71 Merge pull request #359 from srevid/patch-1
Update DefaultAssetLibrary.hx
2015-03-02 12:47:31 -08:00
srevid
2412d6aceb Update DefaultAssetLibrary.hx 2015-03-02 15:30:00 -05:00
Joshua Granick
0c56683ff5 Update README.md 2015-02-27 11:23:46 -08:00
Joshua Granick
78ce9f9363 Update README.md 2015-02-27 11:19:44 -08:00
Joshua Granick
c3179141ee Update README.md 2015-02-27 11:18:09 -08:00
Joshua Granick
798d702214 Update README.md 2015-02-27 11:15:52 -08:00
Joshua Granick
e511c0d2a5 Update README.md 2015-02-27 11:00:58 -08:00
AKIYAMA Kouhei
6e319d4986 Fix direction of mouse wheel deltaY on HTML5
When mouse wheel moved up 1 notch, deltaY is:
  - HTML5
    - Chrome : -100 (deltaMode=0) (Chrome40.0.2214.115m, Windows7)
    - Chrome : -33.333 (deltaMode=0) (Chrome40.0.2214.115m, Windows8.1, laptop touchpad)
    - Firefox : -3 (deltaMode=1) (Firefox36, Windows7)
    - Firefox : -1 (deltaMode=1) (Firefox35, Windows8.1, laptop mouse)
    - Firefox : -0.2 (deltaMode=1) (Firefox36, Windows8.1, laptop touchpad)
    - Firefox : -0.75 (deltaMode=1) (Firefox35, Windows7, notchless wheel)
  - Flash : 3
  - Windows : 1
2015-02-26 14:12:11 +09:00
Joshua Granick
27d767cfc8 Add hook for getSoftKeyboardHeight on Android (legacy) 2015-02-25 14:38:27 -08:00
Joshua Granick
e977b5c551 Use a unique ID when creating new projects, based on the name, to help reduce conflicts when installed on mobile devices 2015-02-25 14:20:14 -08:00
Joshua Granick
e51871c372 Hack to support added 'lib' prefix on HXCPP 3.2+ iOS target 2015-02-25 12:25:57 -08:00
Joshua Granick
45f3bd06f4 Fix spaces in macro flags (fixes #346) 2015-02-24 11:07:32 -08:00
Joshua Granick
594248aa56 Merge pull request #350 from vroad/PR/fix-1
Fix null check in lime_alc_open_device
2015-02-24 09:33:39 -08:00
vroad
04db9f09cf Fix null check in lime_alc_open_device 2015-02-25 01:07:34 +09:00
Joshua Granick
f0ca86f362 Fix quote escaping in macro call (closes #346) 2015-02-23 23:37:55 -08:00
Joshua Granick
48cc59dc97 Fix KeyModifier 2015-02-23 17:36:25 -08:00
Joshua Granick
df735ef734 Use SDL_WINDOW_FULLSCREEN_DESKTOP instead of SDL_WINDOW_FULLSCREEN to behave better on OS X (until we have an official display mode switch API for regular fullscreen) (closes #235) 2015-02-23 15:47:00 -08:00
Joshua Granick
139293adf5 Add key modifier support to Flash key events and use KeyCode/KeyModifier instead of Int (can still override using Int) 2015-02-23 14:58:28 -08:00