Commit Graph

499 Commits

Author SHA1 Message Date
Lewis Sobotkiewicz
e2ae97d6cc Don't use the hxelectron library when building ApplicationMain. That sets the 'nodejs' compiler flag, which emits improper JavaScript when running in the Electron window. 2019-09-20 21:10:48 -07:00
Joshua Granick
4eaf5fe290 Update lime.exe template file 2019-09-05 09:16:54 -07:00
Joshua Granick
aeff90d3b0 Update lime.exe to work with Neko 64-bit installed 2019-09-05 08:01:05 -07:00
Joshua Granick
80867b3f62 Android root path changes (fix #1346) 2019-08-22 08:00:55 -07:00
Joshua Granick
e9a790a4ea Update SDL to 2.10 2019-08-20 12:59:31 -07:00
Joshua Granick
d215e9c344 Update HL Mac binary to 0.10 2019-08-20 07:41:43 -07:00
jgranick
9359e1ed37 Update HL Linux/Windows binaries to 1.10 2019-08-19 14:37:35 -07:00
Joshua Granick
1caf9d92f8 Revert "Update ManifestResources.hx"
This reverts commit dfdb576e37.
2019-08-13 10:57:51 -07:00
Joshua Granick
dfdb576e37 Update ManifestResources.hx 2019-08-13 10:38:41 -07:00
Joshua Granick
d0f15395a5 Asset manifest fix 2019-08-12 14:48:55 -07:00
Joshua Granick
7bc1d06634 Update SDL 2019-07-03 13:18:39 -07:00
Justin Espedal
0fdbb6b2ed Fix asset loading on Windows 2019-06-24 12:39:20 -07:00
Joshua Granick
ef154d2916 Revert "Move native DLL directory to 'lib'"
This reverts commit 20f626dab8.
2019-06-24 10:37:22 -07:00
Joshua Granick
f637bdd8ef Fixes for bundle loading 2019-06-21 15:07:08 -07:00
Joshua Granick
7c4110fbef Initial support for libraries using asset bundles 2019-06-21 12:15:58 -07:00
Kostas Chatzikokolakis
d969c7fa30 output.js: add AMD compatibility
If the code is loaded via AMD/requirejs:
- we call define() instead of exporting 'lime' globally
- we disable AMD while the embedded libraries are loading, so that they
  register themselves in the global scope.
2019-06-12 11:51:36 -07:00
Joshua Granick
290b86fb87 Progress on CPPIA support 2019-05-14 12:02:52 -07:00
Joshua Granick
fa91dd6039 Update SDL to HG revision 24883e864f7e 2019-05-08 14:26:45 -07:00
Joshua Granick
f702c8958b Apply SDL patch https://hg.libsdl.org/SDL/rev/3b1f484500f0 2019-05-07 12:17:18 -07:00
Joshua Granick
44133fe2d4 Add -npm option for HTML5 2019-04-15 13:59:18 -07:00
Joshua Granick
20f626dab8 Move native DLL directory to 'lib' 2019-04-11 12:09:26 -07:00
Carlos Madrazo
7b50cb39ff Update name 2019-04-10 10:21:25 -07:00
Carlos Madrazo
e1a0f3a473 Initial Winrt -appx
Outputs Appx file, needs 2 manual steps:
Modify sdkVersion variable in WindowsPlatform.hx to the one you want to use for bin tools in C:\Program Files (x86)\Windows Kits\10\\bin\ and do openfl rebuild tools

For creating the certificate, Powershell command fails but the command lets you know which command you need to execute (copy and past in the cmd prompt)
2019-04-10 10:21:25 -07:00
Joshua Granick
42649d1b9a Improve output HTML5 script wrapper for better Haxe 3.2 support 2019-04-03 11:31:49 -07:00
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