From b298347fdcaee0d44b7b0b39f9764fba4cf7415c Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Wed, 7 Aug 2024 03:28:12 +0200 Subject: Stop the layouting loop after 1000 iterations Prevents Dillo from hoarding the CPU due to an infinite loop in the layouting. We also return the control to FLTK to update the screen and process events each 100 iterations, to keep the window responsive. It doesn't fix the root cause of the github-infinite-loop test, but it does allow the rendering to finish with no differences with the reference test. --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 462157a4..fe1e5c78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,8 @@ dillo-3.2.0 [Not released yet] - Add line number anchors in HTML source view. - Make Dillo strictly C99, C++11 and POSIX-2001 compliant, without depending on GNU extensions. + - Perform an emergency stop of the layout engine loop after 1000 iterations to + prevent a hang. Patches: Rodrigo Arias Mallo +- Add primitive support for SVG using the nanosvg.h library. Patches: dogma, Rodrigo Arias Mallo -- cgit v1.2.3