diff options
| author | Craig Jennings <c@cjennings.net> | 2026-01-27 08:18:43 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-01-27 08:18:43 -0600 |
| commit | cc9fd1ac27456e885a6b5ff850eae5a2869a22ef (patch) | |
| tree | 9767d0eb1ab58766d296a8cfdf85dcc2c04741cf /tests | |
| parent | ace58aa7cdfcb4dec250b71bf9de22089c629c1b (diff) | |
| download | dotemacs-cc9fd1ac27456e885a6b5ff850eae5a2869a22ef.tar.gz dotemacs-cc9fd1ac27456e885a6b5ff850eae5a2869a22ef.zip | |
fix(calendar-sync): resolve freeze on DST transitions and large ICS files
Two bugs caused Emacs to freeze during calendar sync:
1. split-events used catastrophic regex (\(.\|\n\)*?) on multi-MB ICS
data. Replaced with buffer-based search-forward (0.011s for 4.5MB).
2. add-days used midnight for date arithmetic. On DST fall-back days,
adding 86400s to midnight CDT yields 11pm CST (same date), creating
an infinite loop. Fixed by using noon so ±1h DST shift stays correct.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
