@markw65/monkeyc-optimizer 1.0.39 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/build/api.cjs +296 -66
- package/build/optimizer.cjs +118 -54
- package/build/sdk-util.cjs +3 -2
- package/build/src/api.d.ts +10 -2
- package/build/src/inliner.d.ts +2 -2
- package/build/src/jungles.d.ts +1 -1
- package/build/src/launch.d.ts +1 -1
- package/build/src/optimizer-types.d.ts +16 -2
- package/build/src/projects.d.ts +2 -0
- package/build/src/visitor.d.ts +1 -1
- package/build/src/xml-util.d.ts +2 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -462,3 +462,31 @@ Bug Fixes
|
|
|
462
462
|
- Handle relative jungle paths correctly.
|
|
463
463
|
- Add more tests for strange monkeyc behavior, pre and post compiler2
|
|
464
464
|
- Better identification of compilers that support compiler2
|
|
465
|
+
|
|
466
|
+
### 1.0.40
|
|
467
|
+
|
|
468
|
+
- Improvements
|
|
469
|
+
|
|
470
|
+
- Upgrade to [@markw65/prettier-plugin-monkeyc@1.0.37](https://github.com/markw65/prettier-plugin-monkeyc#1037).
|
|
471
|
+
- Report locations of errors in manifest.xml (rather than just reporting an error somewhere in the file)
|
|
472
|
+
- Minor improvements to Goto References etc
|
|
473
|
+
- Keep a cache of parsed resource files, and update errors/warnings relating to resources as you type, rather than when the resource file is saved.
|
|
474
|
+
- Add diagnostics for known issues in sdk-4.1.6
|
|
475
|
+
- Add diagnostics for changes in behavior between compiler1 and compiler2
|
|
476
|
+
- Fix lookups to be aware of compiler1 vs compiler2. Add an option to always use compiler1 rules, or always use compiler2 rules.
|
|
477
|
+
- Fix lookups in static methods, under a new option that defaults to true.
|
|
478
|
+
|
|
479
|
+
- Testing
|
|
480
|
+
|
|
481
|
+
- Fix pragma checker to sort the diagnostics properly
|
|
482
|
+
- Allow specifying which test to run on the command line
|
|
483
|
+
- Update all tests to work with 4.1.6 and 4.1.7
|
|
484
|
+
|
|
485
|
+
- Bug fixes
|
|
486
|
+
- Fix optimization of `and` and `or` (alternate names for `&&` and `||`)
|
|
487
|
+
- Fix a bug that could sometimes prevent the `has` optimization from kicking in.
|
|
488
|
+
|
|
489
|
+
### 1.0.41
|
|
490
|
+
|
|
491
|
+
- Bug fixes
|
|
492
|
+
- The fix to avoid visiting definitions from visitReferences was incomplete
|