Commit Graph
2026 Commits
Author SHA1 Message Date
J. Nick Koston 6530bb62f8 Stat-aware local walk, atomic flag+env application, guard degenerate basedir and -include- flags 2026-08-26 13:14:03 -05:00
J. Nick Koston 3730f7bbae Distinguish stat failure from absence, fail closed on unmodelable flags and unreadable local headers 2026-08-26 11:58:20 -05:00
J. Nick Koston d0263b0bef Mirror the joined -include fold, harden the probe, fail closed on unreadable closure headers 2026-08-26 10:44:17 -05:00
J. Nick Koston 410a3868ea Gate the ccache sloppiness on the pch actually being emitted 2026-08-26 10:00:59 -05:00
J. Nick Koston a69f2c8f66 Fold the joined src force-include spelling, export ccache settings after the flags land 2026-08-26 09:57:44 -05:00
J. Nick Koston 397ae10c55 Demote invalid-pch on PlatformIO too, pin the compile locale, document the .sum invariant 2026-08-26 09:07:38 -05:00
J. Nick Koston 7417dcdd7b Demote invalid-pch under user -Werror, catch the joined -include spelling, treat resource exhaustion as transient 2026-08-26 08:39:27 -05:00
J. Nick Koston f5593deb38 Warn and skip the pch when a user -include precedes it, walk angle includes, read sidecars defensively 2026-08-26 00:46:14 -05:00
J. Nick Koston c2767c096c Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 23:42:30 -05:00
J. Nick Koston c9044bb860 Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 23:42:30 -05:00
J. Nick Koston c86b038dc1 Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 23:42:30 -05:00
J. Nick Koston 79a72efee7 Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 23:42:30 -05:00
J. Nick Koston 21fd74b201 Tighten the review-round edges
Only IncompatiblePlatform counts as a knowing skip; other malformed
manifest data stays out of the satisfied set so the reconciliation can
still flag a broken promise. Backend-provided names are recorded before
the manifest-name evidence so the overlap warns once, in the backend's
own suppression loop. ar runs rcs/qs so the symbol index is explicit,
and the copy shim prints and returns 1 like its siblings instead of
re-raising.
2026-08-25 23:42:13 -05:00
J. Nick Koston 55f1122eba Merge remote-tracking branch 'origin/esp8266-native-pch' into esp8266-native-pch 2026-08-25 23:16:52 -05:00
J. Nick Koston fb640bdc47 Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 23:16:32 -05:00
J. Nick Koston 7aa90fc4c4 Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 23:16:32 -05:00
J. Nick Koston a75d6768ab Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 23:16:32 -05:00
J. Nick Koston 20e5b23b86 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 23:16:32 -05:00
J. Nick Koston b957fb0712 Keep the missing-manifest diagnostic at debug
The legacy manifest-less layout is legal and the 3.1.2 core ships one
such library (FSTools), so the warning would be unactionable noise; a
test now pins the level.
2026-08-25 23:16:18 -05:00
J. Nick Koston 10204c6bd9 Surrogateescape the digest extras, keep absolute force-includes consumer-only 2026-08-25 23:02:43 -05:00
J. Nick Koston 5a1f3a382d Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 22:53:02 -05:00
J. Nick Koston 813008200c Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 22:53:02 -05:00
J. Nick Koston f217ab18d2 Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 22:53:02 -05:00
J. Nick Koston ce909f68b3 Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 22:53:02 -05:00
J. Nick Koston 3fa4d478e5 Fail by name on a corrupt bundled manifest; name the recording side effect
A truncated bundled library.json now raises the module's named error
with the clean-all hint instead of a raw JSONDecodeError. The renamed
_reconcile_versionless_skips advertises that it records into
backend.provided_requests. Two real-converter tests gain the
registry-guard patch their siblings use so a regression fails offline.
2026-08-25 22:52:39 -05:00
J. Nick Koston df8fb0fb49 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 22:39:45 -05:00
J. Nick Koston 1895bef123 Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 22:39:44 -05:00
J. Nick Koston e18e8deded Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 22:39:44 -05:00
J. Nick Koston de1bb32262 Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 22:39:44 -05:00
J. Nick Koston 2497e1aa94 Simplify the library backend after review
Rely on normalize_dependencies' guarantee of a non-empty string name
instead of re-checking it, collect sources in a single pass that
re-roots on the resolved directory rather than calling realpath per
file, probe library.properties once, hoist the invariant log-level
choice out of the warning loop, and record provided_requests as a set
since order was never used.
2026-08-25 22:39:40 -05:00
J. Nick Koston fc654c4c63 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 22:23:07 -05:00
J. Nick Koston 204cec24a1 Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 22:23:07 -05:00
J. Nick Koston d87e666f02 Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 22:23:07 -05:00
J. Nick Koston 2c67bb965a Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 22:23:06 -05:00
J. Nick Koston 6cdc34178d Reconcile provides() promises against the final manifests only
The walk records across re-resolutions, so a dependency a re-resolved
manifest no longer declares would have failed the build by name. The
reconciliation now intersects the recordings with the dependency names
of the manifests actually emitted, keeping the raise for real broken
promises. The manifest-name warning also gains the treeless-backend
gate its sibling got, since those backends cannot act on it either.
2026-08-25 22:22:48 -05:00
J. Nick Koston 3e9b6b0355 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 22:04:06 -05:00
J. Nick Koston 5b2670ea4f Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 22:04:05 -05:00
J. Nick Koston 706e3a1a39 Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 22:04:05 -05:00
J. Nick Koston 853abc20ad Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 22:04:05 -05:00
J. Nick Koston bdbdaa7ddc Reconcile version-less provides() skips and quiet the drop warning for treeless backends
A version-less dependency the walk skips on the backend's promise is now
recorded like the versioned path, and a bundled candidate the backend
knowingly skips through the platform filter counts as satisfied, so the
post-emit reconciliation covers both paths without raising on legitimate
builds. The manifest-name warning deduplicates like its sibling, the
final drop warning stays at debug for backends without provides() since
they can never supply a bundled name, and a bundled library missing both
manifests leaves a debug trace instead of silently building on defaults.
2026-08-25 22:03:47 -05:00
J. Nick Koston 5a8e6761cb Fold only src-resolvable force-includes, surrogateescape the digest names, harden flag lexing and failure reporting 2026-08-25 21:44:52 -05:00
J. Nick Koston 06556ceac5 Merge branch 'esp8266-native-ninja-emission' into esp8266-arduino-toolchain 2026-08-25 21:33:56 -05:00
J. Nick Koston 9db1835c40 Merge branch 'esp8266-arduino-toolchain' into esp8266-native-pch 2026-08-25 21:33:56 -05:00
J. Nick Koston fc23fe5229 Merge branch 'esp8266-native-build-spec' into esp8266-native-ninja-emission 2026-08-25 21:33:55 -05:00
J. Nick Koston 2e95fcf037 Merge branch 'esp8266-native-library-backend' into esp8266-native-build-spec 2026-08-25 21:33:55 -05:00
J. Nick Koston d1845fcded Route extra-script link flags and fail loudly on an unfulfilled provides() promise
Extra-script LINKFLAGS travel outside build.flags by design; the backend
now drains them into the library's link flags, matching the ESP-IDF
backend, instead of dropping a link-stage input silently. An unfulfilled
provides() promise raises by name (deduplicated) like the module's other
can-never-link checks, the vacuous end-to-end silence test is replaced
by a link-flags test that can fail, and a version-less dependency
assumed satisfied by manifest name alone warns like its backend twin
since the match is name-only evidence.
2026-08-25 21:33:38 -05:00
J. Nick Koston 73cc3af130 Union sloppiness tokens on the PlatformIO path too, survive non-UTF-8 include names 2026-08-25 20:56:00 -05:00
J. Nick Koston c419fc4bbc Skip the pch when a header identity is unknown, union missing sloppiness tokens, report projenv import failures 2026-08-25 19:59:25 -05:00
J. Nick Koston 9636717b32 Warn on unresolvable force-includes and pch_defines-less sloppiness, vary the unreadable marker 2026-08-25 19:08:21 -05:00
J. Nick Koston aee60fa48a Merge remote-tracking branch 'origin/esp8266-native-pch' into esp8266-native-pch 2026-08-25 18:19:26 -05:00