Merge branch 'barry/2026-02-14/remove-last-of-source-horizontal-lines' into 'main'Remove the last of the use of horizontal lines --- as seperators. With modern...See merge request petsc/petsc!9039
Fix the inconsistent usage of #if [!]defined XXX compared to defined(XXX)Thanks-to: Pierre JolivetAn LLM Claude detected the incosnsitency it was not used to remove the inconsistency
Remove the last of the use of horizontal lines --- as seperators. With modern code development systems they are not needed and just an eye-sore
style adjustments (mainly removal of leading white space)
Remove more unneeded parentheses
checkbadSource: enforce proper style in makefiles
Run fprettify
Minor style fixesSee discussion at https://github.com/llvm/llvm-project/issues/139376
Fixes suggested by Fortitude to Fortran code (minor)
use integer and real kinds from ISO_C_bindingThe kinds in this module are guaranteed to be compatible with thecorresponding C types.Requires to include the ISO_C_binding module in interfaces and
use integer and real kinds from ISO_C_bindingThe kinds in this module are guaranteed to be compatible with thecorresponding C types.Requires to include the ISO_C_binding module in interfaces and strayfunctions
show more ...
Minor cleanup of Fortran binding stuff to simplify future maintainanceThere is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90
Minor cleanup of Fortran binding stuff to simplify future maintainanceThere is no distinction between F90 and non-F90 code so combine ftn-custom and f90-custom directories and fortranimpl.h and f90impl.h files. Also move uses of f90 to ftn when simple
CI: update checkclangformat to use clang-format-19.1.0
Use NULL or nullptr instead of casted 0
Fixes for clang-tidy
Add support for MPI 4 long messages to MPI-Uni
Add basic MPI_Win and MPI_Info support to MPI Uni
Fortran: remove unneeded return
CI: update to clang-format-18
Remove some unneeded parentheses
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
LIBBASE is no longer used in make so remove it
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Remove first and last empty lines
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
123456