Commit Graph

34 Commits

Author SHA1 Message Date
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
Joseph Cloutier
9a9b89ae06 Merge branch 'develop' into 8.2.0-Dev 2023-08-17 21:07:12 -04:00
Josh Tynjala
6cff64018a Add -npx flag for lime test electron to run the npx electron command instead of just electron.
This will prompt the user to install electron, if required. Saves a separate `npm install -g electron` command before testing.
2023-07-25 08:43:39 -07:00
Joseph Cloutier
67e4044abc Merge branch 'develop' into single_threaded_async 2022-06-05 22:42:29 -04: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
Joseph Cloutier
630aa1a62f Fix web worker errors.
It took a lot of work to get web workers to work, but web workers finally work!

`transferList` doesn't seem to work, though. It makes the object
inaccessible as expected, but it doesn't seem to affect performance.
2022-02-28 19:15:19 -05:00
Joshua Granick
8c9808b038 Run formatter 2021-03-10 13:22:39 -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
18c7b93717 Fix absolute path for NPM builds on generated source directories 2019-08-20 10:54:35 -07:00
Joshua Granick
482a39ad2f HTML5 asset optimization 2019-08-19 10:27:41 -07:00
Joshua Granick
1188b3aa42 Run formatter 2019-07-12 12:08:09 -07:00
Joshua Granick
44133fe2d4 Add -npm option for HTML5 2019-04-15 13:59:18 -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
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
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
Joshua Granick
ccf8c48923 Remove forced -Ddisplay on 'lime display' output 2018-08-14 09:08:50 -07:00
Joshua Granick
430820cdb4 Name lime.tools.Project back to HXProject 2018-08-06 11:03:42 -07:00
Joshua Granick
bd9abc4c2a Update for HXP API change 2018-08-04 18:09:44 -07:00
Joshua Granick
4ec83c3638 Add lime.tools.* and keep Project-based tool code 2018-08-03 16:38:50 -07:00
Joshua Granick
6d9f3c4bd8 Fixes for dev HXP 2018-08-02 21:25:55 -07:00
Joshua Granick
534c6cd7ce Eval, HXP, asset library fixes 2018-07-25 20:27:05 -07:00
Joshua Granick
7ffd8f1bcf Compile fix 2018-07-24 16:24:23 -07:00
Joshua Granick
c0b3692402 Sync tool platform changes from HXP 2018-07-24 16:18:49 -07:00
Joshua Granick
ecd7876c4b Add external platform code for use with HXP 2018-06-21 16:33:33 -07:00
Joshua Granick
ef86c425b1 Migrating components of the Lime tools into the public Lime namespace 2015-02-11 12:02:28 -08:00
Joshua Granick
25286bcdc4 Update Google Closure compiler version, run minify by default on -final HTML5 builds 2015-01-22 11:02:03 -08:00
Joshua Granick
287b94e6dd Use a standardized 'targetDirectory' value in the target handlers, and pass this onto the library processors for use with caching 2014-12-25 21:20:32 -08:00
Joshua Granick
540aa48c39 Merge Aether tools 2014-09-30 17:41:57 -07:00