Commit Graph
32 Commits
Author SHA1 Message Date
Brent Simmons eac971b275 Create aspectFitRect (used in the app for small thumbnails, but possibly useful other places). 2026-11-05 20:33:47 -08:00
Brent Simmons 03d7367772 Rasterize SVG icons once in background on Mac, so views can draw bitmap (fast) instead of the vector. 2026-11-03 16:18:49 -08:00
Brent Simmons 69a5fb834a Scale image from the full image, not a JPEG embedded EXIF thumbnail. 2026-11-03 14:13:16 -08:00
Brent Simmons 3b368771be Remove unused JPEG format support. 2026-10-30 21:31:55 -07:00
Brent Simmons a7c7754861 Support JPEG target type in RSImage. 2026-10-25 14:37:20 -07:00
Brent Simmons d795983c9f Render plain text in the article view when that’s all we have. 2026-10-23 10:00:56 -07:00
Brent Simmons 858b65931d Drop illegal XML characters in escapingSpecialXMLCharacters. 2026-09-02 15:52:07 -07:00
Brent Simmons dbea20974c Don't re-encode already-encoded mailto links — the subject line showed literal %20. Fixes #3719. Fixes #4380. 2026-07-27 09:59:33 -07:00
Brent Simmons d44b3b9213 Fix bug stripping HTML with angle bracket characters in literals. Fixes #5339. 2026-07-04 10:47:47 -07:00
Brent Simmons 089b73ebc2 Add tests for calculateLuminanceType. 2026-06-26 21:09:10 -07:00
Brent Simmons 4479322913 Switch both text-field sizers from fittingSize to cellSize for faster timeline text measurement. Add tests. 2026-06-21 17:17:15 -07:00
Brent Simmons fdf8325b55 Use CryptoKit instead of CommonCrypto with SHA1. Add tests. 2026-04-24 10:34:34 -07:00
Brent Simmons 3b9347ce05 Make RSParser depend on RSCore and use a single md5String implementation (in RSCore). Make Swift Testing work with RSCore. 2026-04-24 10:23:34 -07:00
Brent Simmons a3296249f1 Remove unneeded comment. 2026-04-23 08:23:57 -07:00
Brent Simmons 24311778a7 Make String.collapsingWhiteSpace much faster. Add tests. 2026-04-21 21:01:31 -07:00
Brent Simmons eafa6a808a Add additional strip-html tests. Move performance tests to a separate file. 2026-04-21 08:53:30 -07:00
Brent Simmons d318ec9e12 Port striphtml from C to Swift. 2026-04-21 08:23:24 -07:00
Brent Simmons 5aacdab85e Remove comment. 2026-04-20 13:20:04 -07:00
Brent Simmons 0900f1dcbe Fix various SwiftLint warnings. 2026-01-02 19:47:03 -08:00
Brent Simmons fb1b901efe Fix various SwiftLint warnings. 2026-01-02 11:42:12 -08:00
Brent Simmons e96b92a4c3 Fix various SwiftLint warnings. 2026-01-02 10:45:46 -08:00
Brent Simmons 50140acac2 Fix various SwiftLint warnings. 2026-01-01 17:25:02 -08:00
Brent Simmons 8cb1be9917 Delete unused RSCoreTests. 2025-11-11 21:16:36 -08:00
Brent Simmons b2875736b3 Simplify MainThreadOperation and MainThreadOperationQueue. Make MainThreadOperation a class instead of a protocol. (The extremely rare case where subclasses are a good idea.) 2025-11-11 19:09:33 -08:00
Brent Simmons 9efde554d4 Clean whitespace-only lines. 2025-11-05 11:22:10 -08:00
Brent Simmons 17725d6ab2 Clean up StripHTMLTests. 2025-10-21 10:29:43 -07:00
Brent Simmons c3fd92dd99 Add RSCoreTests scheme. Stop running legacy strip HTML function in tests (but leave code in place in case needed later for performance comparison testing). 2025-10-21 09:38:27 -07:00
Brent Simmons 768a28a732 Add a faster implementation of strippingHTML written in C. Tests show that it’s 5x to 75x faster (varies based on input) than original version. This will help scrolling a ton — stripping HTML was the biggest chunk of work when scrolling. 2025-10-20 16:27:13 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Dimitris Apostolou ec21816ac1 Fix typos 2025-08-27 14:37:19 +03:00
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons adb6c51a96 Move modules to Modules folder. 2025-04-23 17:13:24 -07:00