Merge branch 'barry/2023-06-15/add-fortran-file-viewer' into 'main'Allow one to attach a PETSCVIEWERASCII to a Fortran file unitSee merge request petsc/petsc!6607
HAVE_FORTRAN should be USE_FORTRAN_BINDINGS since it is about generating the Fortran bindings, not about if the Fortran compiler exists
PetscOptionsBool() does not accept NULL for flg, rectify this in viewer_binary_mpiio
Allow creating MPIAIJ matrices with a larger number of nonzeros than can fit in a count of a 32 bit integer, so long as each brank has a small enough number
Merge remote-tracking branch 'origin/release'
Fix trivial typos etc in some manual pagesAlso remove manual page for SNESNGSFunction since it does not exist
Fix manual pages in viewers subdirectory of sys
Format the ftn-custom files with clang-format. Apparently no particular reason we did not format them initially
Use strerror() to print the cause of system errors to help users debug problems related to IOCommit-type: usabilityBranch-name: barry/2023-03-30/use-strerror-for-sys-errorsBranch-root: mainBran
Use strerror() to print the cause of system errors to help users debug problems related to IOCommit-type: usabilityBranch-name: barry/2023-03-30/use-strerror-for-sys-errorsBranch-root: mainBranch-purpose: Use strerror() to print the cause of system errors to help users debug problems related to IO
show more ...
More manual page fixes
non-test and tutorial makefiles only need rules.doc not the full rulesCommit-type: documentation
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
Remove now unneeded SOURCE* variables from makefilesCommit-type: configure, housekeeping
Clean up PETSc str ops to use more secure implementations where possible. These include:- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()- Use PetscArraycpy() over
Clean up PETSc str ops to use more secure implementations where possible. These include:- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()- Use PetscArraycpy() over PetscMemcpy() as appropriate for string buffer copying- Use built in string from name over hardcoding- Use sizeof over hardcoded length- Replace some Strlcat with Strncpy when offset is known
Remove empty preprocessor variables
Fix up viewer manual pagesCommit-type: documentation
Merge branch 'barry/2023-02-22/rm-locdir' into 'main'Remove need for hardwired LOCDIR in all makefilesSee merge request petsc/petsc!6113
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Double spaces, wrong backticks, or unneeded braces
Inline all of the PetscStr* functions that map to basic str functions so __builtin_ variants can be used by compiler
Make PetscErrorCode a non-discardable enum
Copyediting and cleanup of later sections of user manual; add links to manual from PetscLog and PetscView manual pagesCommit-type: documentation/spend 8h
Fix a variety of missing tick and related issues in manual pages noticed during MR
123456789