Commit Graph

69 Commits

Author SHA1 Message Date
player-03
6a23b6eee3 Merge pull request #1790 from player-03/stale_assets
Automatically delete stale assets and dependency files.
2024-06-04 13:42:31 -04:00
Joseph Cloutier
224c0a0e93 Delete stale dependencies in addition to stale assets. 2024-05-29 20:55:09 -04:00
Joseph Cloutier
657ad24682 Merge branch 'develop' into 8.2.0-Dev 2024-04-13 03:09:20 -04:00
Josh Tynjala
045920596c WindowsPlatform: fix Visual Studio path discovery for uwp target
It was hardcoding VS 2017, but now uses vswhere.exe to find newer Visual Studio versions too.

Newer versions of VS don't actually support UWP JavaScript, though. However, if users have UWP installed in VS, the error message will be clearer about that lack of support.
2024-02-12 10:46:48 -08:00
Josh Tynjala
c3170a0577 Merge branch '8.2.0-Dev' into feature/hlc 2024-01-30 09:16:34 -08:00
Joseph Cloutier
8b07a83991 Remove unnecessary casts. 2024-01-13 16:15:57 -05:00
player-03
24bc9b2495 Merge pull request #1661 from tobil4sk/mingw-fixes-develop
Allow cross compiling Windows projects with MinGW
2024-01-12 13:56:37 -05:00
Josh Tynjala
b021dbeae7 lime display: if the project file is newer than an existing debug/release/final.hxml file, don't consider the .hxml file valid anymore
Code intelligence should always use the newest hxml content, so the fallback mode where the hxml content is generated, instead of loaded from an existing .hxml file, should be used when the project file is newer.

For instance, if the user changes any file/dir paths in their project file, continuing to use the existing .hxml file could lead to confusing error messages that still reference the old/cached file paths. It should always use the latest paths or other values from the project file. It should be considered a bug to use the old cached paths.

Previously, as a workaround, the user would need to clean or build their project again to get updated .hxml files. It might also require restarting their editor/IDE too. Bad developer experience when we can detect this case automatically.
2024-01-05 13:54:36 -08:00
Josh Tynjala
6dc0c4c785 tools: allow -hlc on windows/mac/linux without -hl 2023-11-22 11:46:33 -08:00
Josh Tynjala
5ce9c5c218 WindowsPlatform: set up Visual Studio environment before running cl.exe for HashLink/C 2023-11-18 14:57:58 -08:00
Josh Tynjala
0a83f5c61f WindowsPlatform: Visual Studio HashLink/C build
Currently required to run in Visual Studio Developer command prompt
2023-11-17 15:15:21 -08:00
Josh Tynjala
6e17c056dd WindowsPlatform: hl mingw sets windows subsystem so that console is not displayed 2023-11-02 14:48:56 -07:00
Josh Tynjala
beb8948983 HL/C on Windows with mingw 2023-11-02 14:17:35 -07:00
tobil4sk
940eb2083d Copy mingw libraries after build 2023-04-12 23:17:07 +01:00
tobil4sk
7f5dcb4e9f Respect -mingw flag for cross compiling to windows 2023-04-12 23:17:07 +01:00
Apprentice-Alchemist
ad70700a14 Try to fix Windows mess a bit.
Default to 64 bit on windows too.
2022-05-19 20:46:08 +02:00
Apprentice-Alchemist
b2546aac9f Try fixing macOS and support no_console Windows subsystem. 2022-05-18 08:11:44 +02:00
Apprentice-Alchemist
1471d8a60d Try to fix CI. 2022-04-28 19:42:52 +02:00
Apprentice-Alchemist
668b3f7ba7 Fix the HashlinkHelper 2022-04-28 19:42:51 +02:00
Apprentice-Alchemist
cb3b0240de Implement lime setup hl in a hopefully better way. 2022-04-28 19:42:46 +02:00
Apprentice-Alchemist
a44fe3669a Put hashlink binaries in templates/bin again.
Add setup script for macOS codesigning.
2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
a288feca96 Add hashlink as a submodule. 2022-04-28 19:42:41 +02:00
Joshua Granick
1c92c707cc Run Haxe formatter 2022-03-23 14:02:39 -07:00
Joshua Granick
362be074f4 Merge HXProject defaults and exclude architectures at end 2022-03-23 14:00:32 -07:00
Joshua Granick
8c9808b038 Run formatter 2021-03-10 13:22:39 -08:00
Josh Tynjala
4271854980 WindowsPlatform: warn instead of error if HL_PATH is not defined 2021-03-05 11:35:43 -08:00
Joshua Granick
ccd9dca6e1 Add explicit toString() call for HXML display 2020-12-21 17:24:44 -08:00
Joshua Granick
79e21c8312 Fix watch command (resolves haxelime/hxp#23) 2020-12-21 12:50:14 -08:00
Joshua Granick
12b83bd590 Improve error message on HL/Windows 2020-10-29 14:55:53 -07:00
loudoweb
391f2ae151 add ssl.hdll into hl builds 2020-07-16 11:12:18 +02:00
Joshua Granick
ea57f2211c Run formatter 2019-12-24 10:19:56 -08:00
Joshua Granick
a48bf57c01 Copy 64-bit binaries on Neko when using Haxe 4 on Windows 2019-09-10 14:16:27 -07:00
Joshua Granick
1188b3aa42 Run formatter 2019-07-12 12:08:09 -07:00
Joshua Granick
290b86fb87 Progress on CPPIA support 2019-05-14 12:02:52 -07:00
Carlos Madrazo
bfa93bf920 [winrt] Fix bin directory for newer Windows 10 SDKs
Get the Windows SDK bin directory automatically from the latest sdk installed version, when making an -appx
2019-05-07 11:25:59 -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
b795534773 Add initial support for '--output-file' option on 'display' command 2019-03-18 12:01:37 -07:00
Joshua Granick
299ed974c7 Fixes for HL 2019-03-12 15:57:19 -07:00
Carlos Madrazo
d1cd3be686 tools fix 2019-03-04 06:56:40 -08: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
00e3c85b58 Add entry class to non-template displalay command 2019-02-28 11:58:38 -08:00
Joshua Granick
44bf137f9b Improve 'lime display' when templates have not been processed 2019-02-26 14:01:45 -08:00
Joshua Granick
dfe3d27f57 Update Haxe formatter, run again 2019-02-14 09:40:22 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -08:00
Joshua Granick
465aa7418d Add WinRT 64-bit support to tools 2018-11-27 12:24:23 -08:00
Joshua Granick
d8ab14f08f Fix -rebuild flag when using Neko target on windows 2018-11-21 12:17:24 -08:00
Joshua Granick
df0827f4a6 First pass at WinRT app builds 2018-11-01 17:33:42 -07:00
Joshua Granick
6ea961ed05 Patch to fix debugging on Windows x64 2018-09-12 11:22:20 -07:00
Joshua Granick
223c9bb8f5 Update WindowsPlatform.hx 2018-08-22 14:59:02 -07:00
Joshua Granick
ccf8c48923 Remove forced -Ddisplay on 'lime display' output 2018-08-14 09:08:50 -07:00