forked from fortran-lang/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Update with latest devs from main #6
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
Open
loiseaujc
wants to merge
63
commits into
symtridiag
Choose a base branch
from
master
base: symtridiag
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
08e489a
promote ascii pure functions to elemental
wassup05 bb48f09
remove unused procedure in the test
wassup05 32b7bf3
refactor ascii validation test
perazz 7e44eea
add ascii_table to the tests
wassup05 c580881
Update test/ascii/test_ascii.f90
perazz 4bc022d
refactor test
jalvesz ddab1fb
add ascii constants docs
wassup05 11dd81e
add ascii procedure docs
wassup05 657b312
added interfaces and necessary build stuff
wassup05 f41dee4
implemented interfaces
wassup05 572ad46
example
wassup05 8a10f26
tests added
wassup05 1bd58b7
added specs
wassup05 ea71960
an edge case handled
wassup05 c561108
separated examples according to OS and functions
wassup05 272eb67
further split examples and fix some autodoc links issues due to wrong…
jalvesz 5147094
misslocation of source file
jalvesz 9e64094
fix example program names
jalvesz ca867f8
fix example_path_join.f90
wassup05 62bef00
Consistent naming
wassup05 1c87df9
windows test case for path with spaces
wassup05 8d00eea
added functions and relevant wrappers
wassup05 c9345c1
added tests
wassup05 d94d7fb
added specs
wassup05 e1f68d8
added examples
wassup05 c3db3a6
cleanup
wassup05 3832d5e
Revert "refactor test"
wassup05 8012ac8
improve test flow a bit
wassup05 45824b5
remove pre-processor parameters
wassup05 3501bc9
Merge branch 'master' of github.com:wassup05/stdlib into path
wassup05 e7a3a1f
added functions
wassup05 e182803
added tests
wassup05 5197a0c
update test
wassup05 ee40f44
typos and grammar
wassup05 e6add70
added new procedures to the interfaces
wassup05 616040d
implemented the new procedures
wassup05 812b5ed
modified the docs to add `type(string_type)` arguments
wassup05 a21a48b
`assignment(=)` => `move`
wassup05 2c47354
snake case names
wassup05 a932653
intel compiler hack
wassup05 96eed56
added specs
wassup05 4d1e6d0
added example
wassup05 03c76c9
capitalize functions + some doc changes
wassup05 4564868
Make script executable
wassup05 a0d9e22
`stdlib_system`: essential path functionality (#999)
perazz 873bb75
Merge branch 'master' into fs_error
perazz a2fadac
filesystem: `FS_ERROR` helper functions (#1015)
perazz f02c2e2
Merge branch 'master' of https://github.com/fortran-lang/stdlib into …
wassup05 9d6325e
remove `mode` argument, some minor changes
wassup05 3c82625
add make_directory_all
wassup05 85b522b
add test
wassup05 f6829c8
add docs
wassup05 81339e7
add example
wassup05 1c4e5f7
windows specific path for tests
wassup05 2552c36
fix: complex dot_product formulation (#1017)
jalvesz ab27ae0
a little efficient
wassup05 880c7a5
Make collaboration script executable (#1018)
perazz e16f192
minor comments + doc changes
wassup05 95e76be
cleanup path make_directory_all + typo
wassup05 9d9f4bc
Promote other ascii functions to elemental (#977)
perazz b13edf5
add in-code comments
wassup05 60f5308
feat: creating and removing empty directories (#1011)
perazz 38bb2bb
Merge branch 'symtridiag' into master
loiseaujc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
! Illustrate the usage of `make_directory`, `make_directory_all` | ||
program example_make_directory | ||
use stdlib_system, only: make_directory, make_directory_all | ||
use stdlib_error, only: state_type | ||
implicit none | ||
|
||
type(state_type) :: err | ||
|
||
call make_directory("temp_dir", err) | ||
|
||
if (err%error()) then | ||
print *, err%print() | ||
else | ||
print *, "directory created sucessfully" | ||
end if | ||
|
||
call make_directory_all("d1/d2/d3/d4", err) | ||
|
||
if (err%error()) then | ||
print *, err%print() | ||
else | ||
print *, "nested directories created sucessfully" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [misspell] reported by reviewdog 🐶 |
||
end if | ||
|
||
end program example_make_directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
! Illustrate the usage of `remove_directory` | ||
program example_remove_directory | ||
use stdlib_system, only: remove_directory | ||
use stdlib_error, only: state_type | ||
implicit none | ||
|
||
type(state_type) :: err | ||
|
||
call remove_directory("directory_to_be_removed", err) | ||
|
||
if (err%error()) then | ||
print *, err%print() | ||
else | ||
print *, "directory removed successfully" | ||
end if | ||
|
||
end program example_remove_directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[misspell] reported by reviewdog 🐶
"sucessfully" is a misspelling of "successfully"