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

Three potential issues with version 7.0 #575

Closed
zoziha opened this issue Oct 17, 2023 · 4 comments · Fixed by #576
Closed

Three potential issues with version 7.0 #575

zoziha opened this issue Oct 17, 2023 · 4 comments · Fixed by #576

Comments

@zoziha
Copy link

zoziha commented Oct 17, 2023

It's good to see that FORD has released version 7.0, I did my first try and found three issues:

  1. Page Code blocks do not have a background color, making it difficult to distinguish between the code block and the body.
    image

  2. When the Page code block is too wide, the style changes: the overall style appears to be shifted down.
    image
    Ford-0.6 style:
    image

  3. Count the source file 1 time repeatedly.
    image

Examples of specific projects can be found at repo: ford-bugs.

@ZedThree
Copy link
Member

Thanks for the bug report with a nice clear reproducer @zoziha, it's very much appreciated!

Oddly, I don't see the repeated source files, but instead the Source Files tab doesn't work at all ☹️

@ZedThree
Copy link
Member

I can't reproduce the repeated source file. Please could you check that you don't have something like a temporary file that's getting picked up?

@zoziha
Copy link
Author

zoziha commented Oct 17, 2023

@ZedThree Maybe it has something to do with the fact that I'm using Windows OS, I'm getting 2x source file counts with Ford-v7.0 on both Windows computers, and there are people in Fortran Discourse who have had similar experiences.
The ford-bugs repository is all the files, there should be no extra temp files?

@ZedThree
Copy link
Member

Ah, I think this is because Windows filesystems are (by default) case insensitive, so when we get a list of files, the upper/lower case extensions (with/without preprocessor for gfortran on Linux) match the same files. I think it should be sufficient to change a list to a set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants