Commit Graph

475 Commits

Author SHA1 Message Date
Joshua Granick
970aaa979c Fix HTML5 output template on debug 2019-03-29 17:06:43 -07:00
Joshua Granick
914e94f9e5 Fix line numbers for HTML5 source maps 2019-03-29 15:58:03 -07:00
Joshua Granick
9689957288 Fix security warning 2019-03-28 12:46:43 -07:00
Joshua Granick
533dcf82a4 Fix HL on Mac 2019-03-14 08:58:17 -07:00
Joshua Granick
8d72e71357 HL update 2019-03-13 11:13:19 -07:00
Joshua Granick
d55762569d Add template for HL Windows 2019-03-12 15:57:09 -07:00
Carlos Madrazo
54a52c9b81 Add define NATIVE_TOOLKIT_SDL_ANGLE, seems to fix winrt release 2019-03-11 08:56:45 -07:00
Carlos Madrazo
3a075cc247 Enable cairo for winrt
DisplayingABitmap works when compiling with

lime rebuild winrt -static -Dcairo -debug -m64

openfl test project.xml winrt -static -Dcairo -debug

And adding a Sys.sleep(1); in openfl/assets/templates/haxe/ApplicationMain.hx, before var result = app.exec ();
2019-03-11 08:56:45 -07:00
Carlos Madrazo
125840589f Initial CPP winrt -static
Runs but no bitmap is displayed when testing with DisplayingABitmap. You can attach VS2017 debugger (Debug Installed App Package).

lime rebuild tools
lime rebuild winrt -static
in DisplayingABitmap:
openfl test project.xml winrt -static
2019-03-04 06:56:40 -08:00
Joshua Granick
dfe3d27f57 Update Haxe formatter, run again 2019-02-14 09:40:22 -08:00
Joshua Granick
5eb13042d9 Template fix 2019-02-14 09:09:39 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -08:00
Joshua Granick
cac82509da Add support for embedded JS dependencies (embed Lime dependencies by default) 2019-02-12 13:30:07 -08:00
Joshua Granick
3e9f875eaf Process JS using template, add support for unique statics in repeat lime.embed calls 2019-02-12 13:14:40 -08:00
Jens Fischer
ee0c4a88c9 Hide __ASSET__ classes with @:noCompletion 2019-02-05 20:39:12 -08:00
Thomas Byrne
e7ec14795e NPM package.json name property can't have non-URL safe characters, so it's more suited to using the 'packageName' than the 'title'.
This also helps when using tools like electron-packager, which use the package name as a folder name.

Spec:
https://docs.npmjs.com/files/package.json
2019-01-17 00:12:09 -08:00
Joshua Granick
4bd853dfb1 Static build fix (resolve #1278) 2019-01-11 20:41:12 -08:00
Joshua Granick
f32311e2fd Update to SDL 2.0.9 2019-01-11 16:07:35 -08:00
Joshua Granick
e4d7ae8cf4 Template fix 2018-12-12 16:30:59 -08:00
Joshua Granick
eb0b2df706 Console font fixes 2018-12-10 21:20:01 -08:00
70/V9
992f7b70d1 Use electron.main.App.commandLine type
`electron.main.App.commandLine` is now defined in electron externs, no need for untyped workaround anymore.
2018-11-24 12:53:04 -08:00
P.J.Shand
5bbfd42f59 --autoplay-policy, no-user-gesture-required flags to allow video and audio to play without user input 2018-11-12 11:42:12 -08:00
Joshua Granick
734ed288ab Make DIV transparent when no window background is set 2018-11-12 11:03:59 -08:00
Joshua Granick
df0827f4a6 First pass at WinRT app builds 2018-11-01 17:33:42 -07:00
Thomas Byrne
e2cf19e14c Added compiler flag to prevent auto-opening of DevTools (-D suppress_devtools). 2018-11-01 16:50:29 -07:00
Thomas Byrne
49d472c278 Electron HXML was not including 'html', 'html5' & '-debug' flags for main application (only for ElectronSetup.hx) 2018-11-01 16:50:29 -07:00
Joshua Granick
1b8df4203b Hide AIR windows by default when running munit 2018-11-01 16:29:52 -07:00
Joshua Granick
bf109b3f29 Template fix 2018-09-04 09:56:11 -07:00
Joshua Granick
81c633a64b Fix Windows static builds (resolve #1228) 2018-09-03 16:03:27 -07:00
Joshua Granick
691555fb56 Add app.meta.version to default template 2018-08-20 11:05:12 -07:00
Joshua Granick
381f18a791 Electron tweak 2018-08-08 11:36:39 -07:00
Joshua Granick
e68e705e58 Compile fix 2018-08-06 15:52:05 -07:00
Joshua Granick
9bbfd40f8b Force enable WebGL on Electron/Linux 2018-08-06 14:47:07 -07:00
Justin Espedal
4040e35ca8 Wrap entitlements path in quotes for app names with spaces 2018-08-02 19:40:43 -07:00
P.J.Shand
4aeb59f7f1 amend hxml templates
Rename Electron.hx to ElectronSetup.hx to make it more clear what it does
2018-07-31 08:54:44 -07:00
Joshua Granick
4a417c6091 Simplify static templates 2018-07-27 13:46:37 -07:00
Joshua Granick
536450620f Harfbuzz fix 2018-07-24 17:10:07 -07:00
Joshua Granick
6116bac6da Update AIR application template (merge #1203) 2018-07-19 22:20:48 -07:00
Joshua Granick
3495825a85 Electron fix (resolve #1198) 2018-07-19 19:02:00 -07:00
Joshua Granick
a29297f450 Minor tweak 2018-07-12 12:35:45 -07:00
Joshua Granick
8a6a0922eb Expose stage and element on Window (Flash and HTML5), restore AIR multi-window support 2018-07-12 12:20:08 -07:00
Joshua Granick
ead5cd8946 Flash fixes 2018-07-07 11:10:57 -07:00
Joshua Granick
6743c61405 Clean up error output 2018-07-07 10:06:03 -07:00
Joshua Granick
673d1cf014 Add support for languages field in iOS/Android/AIR templates 2018-07-07 06:48:51 -07:00
Joshua Granick
b076f95dc7 Refactor, make Preloader created by default, onUpdate on Application, app.createWindow, merge win/context attributes 2018-07-05 09:34:00 -07:00
Joshua Granick
59520c26cb Rough pass at refactoring app.Config into Window and new RenderContextAttributes and Meta 2018-07-05 09:34:00 -07:00
Joshua Granick
355aa29d56 Move update/frameRate to Window and flatten Application convenience callbacks to fire only from the primary window 2018-07-05 09:33:59 -07:00
Joshua Granick
9a0c65ed2e Refactor API for clarity and future changes 2018-07-05 09:33:58 -07:00
Joshua Granick
ce50286f0a Workaround change in behavior for Chrome window preventDefault 2018-06-25 11:28:55 -07:00
Joshua Granick
aa4c4b6a05 Merge initial Kha backend 2018-06-13 11:55:15 -07:00