Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for infinite layout loop #237

Merged
merged 3 commits into from
Aug 7, 2024
Merged

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    d156863 View commit details
    Browse the repository at this point in the history
  2. 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.
    rodarima committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    b298347 View commit details
    Browse the repository at this point in the history
  3. Disable CSS messages for now

    Long CSS stylesheets may fill the console output hiding important
    messages. For now let's disable them, until we improve the mechanism to
    select which messages should be enabled at runtime.
    rodarima committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    32e6700 View commit details
    Browse the repository at this point in the history