Commit Graph

4359 Commits

Author SHA1 Message Date
Frank
47a1b62fce tiny optimization
small flash optimization by re-using string constants (string merging)
2025-11-30 14:10:33 +01:00
Frank
520bc8fcb5 Merge branch 'mdev' into pr/286 2025-11-30 01:38:44 +01:00
Frank
15451c16f9 reduce debug noise on serial
downgraded a few USER_PRINT to DEBUG_PRINT
2025-11-30 01:22:34 +01:00
Frank
963b4075b8 chip revision style: v<major>.<minor> 2025-11-30 01:09:51 +01:00
Will Tatam
49bd6300b8 fix loading version-info to use older edit api 2025-11-29 22:11:22 +01:00
Frank
aff7bbfefe tpram => tpsram
small update for code readability
2025-11-29 21:27:09 +01:00
Frank
23ce580a28 post-merge
* reduce memory footprint by removing all unneeded functions in ota_update.cpp
* don't compile ota_update.cpp when WLED_DISABLE_OTA is defined
2025-11-29 21:26:24 +01:00
Will Tatam
00e026ce08 Merge pull request #5126 from wled/copilot/backport-version-reporting-0-15-x
Backport version reporting (PR #5093 and #5111) to 0.15.x
2025-11-29 19:17:29 +01:00
Frank
f423710e78 Merge branch 'mdev' into pr/286 2025-11-29 00:48:07 +01:00
Frank
6ae4507531 avoid #define in generateDeviceFingerprint() 2025-11-29 00:47:45 +01:00
Copilot
260f26dadb Fix stale UI after firmware updates (#5120)
Add WEB_BUILD_TIME to html_ui.h and use it for ETag generation

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: DedeHai <6280424+DedeHai@users.noreply.github.com>
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com>
2025-11-29 00:26:46 +01:00
Frank
1125a0003b build number 2511281 2025-11-28 23:10:56 +01:00
Frank
a9670435cf update message: report total PSRAM, instead of unused PSRAM space 2025-11-28 22:59:54 +01:00
Frank
23864c70fd update dialog: align data with upstream 2025-11-28 22:59:05 +01:00
Frank
d2dab32f10 WLED-MM branding for update message box 2025-11-28 22:58:15 +01:00
Frank
d473263661 Merge branch 'mdev' into pr/286 2025-11-28 22:16:05 +01:00
Frank
9097dff8f6 show full chip revision in info
shows "rev3.1" instead of "rev3" on V4 builds
2025-11-28 22:06:47 +01:00
Frank
b9ba15a61f older framework support - chip_info.full_revision
this field was added to chip_info in esp-idf 4.4.4 => use "revision" for older frameworks  versions
2025-11-27 20:57:53 +01:00
Frank
e75073c429 re-enable deviceId 2025-11-27 20:42:51 +01:00
Will Tatam
0ac6ca4285 Merge pull request #5111 from DedeHai/safe_UID_generation
Safe uid generation
2025-11-27 20:41:14 +01:00
Frank
1b3823510c update default AP channel to 6, possible fix for "AP does not show"
backport from upstream
2025-11-27 11:14:59 +01:00
Frank
04c466cd6f improved and very fast map()
added map0() that should be used when the input value range is starting at 0. fast and very accurate, much better than map() or map2().
2025-11-26 19:41:13 +01:00
Frank
d26c751281 Disable unicode support in ArduinoJson
Disabled unicode hex string support, to save flash memory.
2025-11-25 21:33:21 +01:00
Frank
384cbec86e desperate attempt for 8266 survival
* bring back UREAL_MATH (inaccuate, but smaller flash)
* typing to tune feature sets so they fit into small 8266 models
2025-11-24 15:50:04 +01:00
Frank
36d7b569bd Update Help URL in LED preferences
... another outdated link
2025-11-24 00:55:14 +01:00
Frank
ffdd186dfd bugfix 2025-11-23 21:24:39 +01:00
Frank
77f44555f0 finishing touches 2025-11-23 21:17:19 +01:00
Frank
202eb76dd6 webserver integration, and fallback for WLEDMM_SAVE_FLASH 2025-11-23 21:00:51 +01:00
Frank
ce596038e3 visual restyling for better readability 2025-11-23 20:59:41 +01:00
Frank
01cecb237a the page that exists in the place where no page should exist 2025-11-23 18:15:30 +01:00
Frank
d74a2af0c7 404 => 404mini 2025-11-23 17:36:30 +01:00
Frank
e0c7d254bb fix outdated URLs
Aircoookie Wiki => mm.kno.wled.ge
MoonModules/WLED => MoonModules/WLED-MM
Aircoookie/WLED => wled/WLED
2024 => 2025
2025-11-23 17:18:10 +01:00
Frank
424416d51a hotfix: Disable deviceId retrieval to avoid crashes
Temporarily disable deviceID retrieval to prevent crashes on some ESP32 boards. This prevents the DeviceID from being added to /json/info, until we find a solution that does not crash my esp32.
2025-11-23 02:28:47 +01:00
Frank
ec97f4903f don't include any font when building with WLED_DISABLE_2D
saves up to 12Kb program space in flash
2025-11-22 16:30:16 +01:00
Will Tatam
2c0510b5b9 Merge pull request #284 from netmindz/deviceId-MM
Add deviceId
2025-11-22 12:31:16 +00:00
Will Tatam
6aaab571b3 Upgrade reporting 2025-11-22 12:18:36 +00:00
Frank
e38c2b32c8 finishing touches
* replace strlen with strnlen
* avoid static variable in getFontInfo
* remove legacy code in drawCharacter (new code works well)

it works for me, let's ship it ;-)
2025-11-21 17:26:04 +01:00
Frank
e6676372d8 refactor / cleanup font selection logic
* centralize font selection logic into  getFontInfo()
* removed unneeded parameter "numberOfChars" from drawText()
* new file: wled_fonts.hpp to centralize font management logic (inline)
* only compile wchar16ToCodepage437 when WLED_ENABLE_FULL_FONTS
* minor cleanup
2025-11-21 17:04:08 +01:00
Frank
213cd185b5 explanations for CP437 translations, some cleanups, bugfix for drawString
* explanation for CP437 glyph groups
* translation for MonnModules symbol
* "smiley" replacement for 4-bytes and overlong unicode codes
* always compile unicodetool.cpp (codepage translation still depends on WLED_ENABLE_UNICODE)
* bugfix: DrawString now skips over glyphs that would be rejected by DrawCharacter
* minor cleanup
2025-11-21 13:48:38 +01:00
Will Tatam
d047ee0984 Add deviceId 2025-11-21 08:39:50 +00:00
Frank
527acefdea improvement for UTF-8 safe string trucation of segment name
did I mention already that this is complicated stuff? oh yes, it is.
2025-11-21 02:52:01 +01:00
Frank
aea83a352f bugfix: incomplete time/date in full font mode
maxLen = numberOfChars
2025-11-21 00:55:03 +01:00
Frank
053551d61d scrolling text blur moved to where it should be
accidentally put it into the "full font" ifdef
2025-11-21 00:36:09 +01:00
Frank
c36e493b47 Fix strlcpy destination size parameters 2025-11-21 00:16:25 +01:00
Frank
415aadc6e0 removing dead code 2025-11-21 00:10:33 +01:00
Frank
7ef94bc6c7 use strlcpy instead of strcpy 2025-11-21 00:08:15 +01:00
Frank
c3dce1353c fix font shadow code
stupid mistake ... it must still be "i>0" because its about the scanline, not the character code
2025-11-21 00:01:13 +01:00
Frank
e63dc7e71e longer segment names
* introducing WLED_MAX_SEGNAME_LEN from upstream
* default: max name length = 48
* hopefully found all places where the segment name length was hardcoded (32, 33, 34)
* some comments still refer to "32" but wtf
2025-11-20 23:49:26 +01:00
Frank
dcdc05b592 unicode-related robustness improvements
* enable ARDUINOJSON_DECODE_UNICODE (otherwise unicode needs 6(!) bytes for encoding)
* robustness: increase a few tiny string buffers for some extra margin
* Web UI: allow entering up to 64 chars as segment name
2025-11-20 22:36:46 +01:00
Frank
2f48f03e44 truncate long segment name, instead of discarding
UX improvement: when segment names are too long (esp. with unicode), truncate it instead of deleting the name completely
2025-11-20 22:33:42 +01:00