Commit Graph

65 Commits

Author SHA1 Message Date
Axel Kohlmeyer 3c4b0a0c04
expand homepage checker tool to check a few more folders and apply updates 2022-10-24 10:58:39 -04:00
Axel Kohlmeyer ab899861d5
apply clang-format 2022-09-10 03:21:28 -04:00
Axel Kohlmeyer 26e1b7c44d
add UTF-8 substitution and detection 2022-09-04 06:45:11 -04:00
Axel Kohlmeyer ca6222c12b
implement utils::is_type() convenience function 2022-09-03 23:18:44 -04:00
Axel Kohlmeyer 574818c3e9
add unit test for utils::join_words() 2022-07-05 00:27:28 -04:00
Axel Kohlmeyer fef6c37ea7
Merge pull request #3240 from akohlmey/ave-yaml-file-colname
Add support for custom column names and YAML format output to fix ave/time
2022-05-02 11:45:50 -04:00
Axel Kohlmeyer ba02d90bf1
add test for new errorurl() utility function 2022-04-26 09:29:57 -04:00
Axel Kohlmeyer a649fa3a79
detect yaml file output by file name 2022-04-26 06:20:00 -04:00
Axel Kohlmeyer 3ba7b8c24c
add star_subst() utility function that replaces a '*' in a string with a number 2022-03-28 22:47:20 -04:00
Axel Kohlmeyer 7ee7d0c570
apply clang-format 2022-01-30 17:18:40 -05:00
Axel Kohlmeyer 059f450f1b
add uppercase string utility function (for symmetry) 2021-10-07 00:00:33 -04:00
Axel Kohlmeyer a9bccee7b2
add utility to convert a string to lowercase 2021-10-06 17:43:41 -04:00
Axel Kohlmeyer 37bfe3d0ce
integrate platform sub-namespace into source code and documentation
this updates function calls to functions that have been moved from
the utils namepsace or the Info class to platform::
2021-10-02 16:55:11 -04:00
Axel Kohlmeyer db76edbade
implement utils::current_date() convenience function to reduce replicated code 2021-09-18 09:05:35 -04:00
Axel Kohlmeyer 9cdb83a24d
support utils::guesspath() also on Windows 2021-09-08 18:17:14 -04:00
Axel Kohlmeyer cfa94dfbaf
add support for utils::guesspath() on macos 2021-09-08 15:14:06 -04:00
Axel Kohlmeyer 898f8086db
consolidate binary() member functions of Comm and Balance into utils::binary_search() 2021-09-06 16:58:14 -04:00
Axel Kohlmeyer 6bc8da05b9
reformat unittest tree with clang-format 2021-08-23 17:06:30 -04:00
Axel Kohlmeyer 300fee0437
add some more checks for typical string matches for references to fixes and alike 2021-08-18 12:59:56 -04:00
Axel Kohlmeyer 7068f3e77b
add a few more test cases for testing utils::split_words() 2021-08-04 12:02:55 -04:00
Axel Kohlmeyer 2e6a0112d3
update URLs in some more files 2021-05-24 16:19:37 -04:00
Axel Kohlmeyer a858c07e8a
add unit tests for empty id, invalid timespecs, and merge sort 2021-04-04 21:51:48 -04:00
Axel Kohlmeyer 3668ce1374
Merge branch 'master' into more-unittests
# Conflicts:
#	unittest/testing/core.h
2021-04-01 11:11:18 -04:00
Richard Berger b15502ddc8
Add utils::split_lines 2021-03-24 15:53:00 -04:00
Axel Kohlmeyer 487c55edf0
simplify and apply clang-format 2021-03-24 11:24:55 -04:00
Axel Kohlmeyer 5d795130db
more strict checking of valid input in utils::bounds() with new tests 2021-03-14 17:59:00 -04:00
Axel Kohlmeyer ca8b268ad5
new convencience function for checking valid IDs (includes unit tests) 2021-03-02 11:02:09 -05:00
Axel Kohlmeyer cfc86f7a2d
add unit tests for new utils::strfind() function 2021-02-25 23:05:48 -05:00
Axel Kohlmeyer 0f07215a2b
add utils::strdup() convenience function 2021-02-04 17:00:02 -05:00
Axel Kohlmeyer 72168d6780
add utility functions to detect UTF-8 characters and substitute with ASCII equivalents 2021-01-25 01:41:38 -05:00
Axel Kohlmeyer 569a000e6b
reformat unittest sources with clang-format 2020-11-25 16:51:41 -05:00
Axel Kohlmeyer b931501711
add utils::path_dirname() to complement utils::path_basename() 2020-10-23 20:40:18 -04:00
Axel Kohlmeyer adf74b3a22
use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
Axel Kohlmeyer e23774ed56
include "pointers.h" to avoid include file name conflicts when compiling with USER-VTK enabled 2020-10-13 15:26:38 -04:00
Axel Kohlmeyer ceed9284c1
Merge branch 'master' into collected-small-changes 2020-09-04 13:32:47 -04:00
Axel Kohlmeyer f19ce32bf5
a few more small tweaks 2020-09-04 09:42:11 -04:00
Axel Kohlmeyer ce78be864a
move date2num() convernience function from Universe class to utils namespace 2020-09-03 17:47:45 -04:00
Axel Kohlmeyer 7fca3b7a65
revert accidental change 2020-08-31 12:46:22 -04:00
Axel Kohlmeyer 0c7b9a7c63
update utils tester for API change in bound()/boundsbig() 2020-08-31 11:43:25 -04:00
Axel Kohlmeyer 8601e608ca
add unit tests for utils::bounds() and utils::boundsbig() 2020-08-29 22:00:07 -04:00
Richard Berger 4126ba24c1
Move timespec2seconds to utils 2020-08-03 16:54:53 -04:00
Axel Kohlmeyer 4b91ab0d23
add utils::trim() function to remove leading and trailing whitespace from string 2020-07-30 23:39:37 -04:00
Axel Kohlmeyer 0748b12472
when processing quoted strings, the quotes need to be removed 2020-07-17 13:58:15 -04:00
Axel Kohlmeyer e6a8f3c8c0
use parenthesis to correct precedence 2020-07-11 13:10:37 -04:00
Axel Kohlmeyer 2c64809cd8
enlarge buffer for guessed file name 2020-07-02 23:35:25 -04:00
Axel Kohlmeyer a524eaf424
add a few more tests 2020-07-02 10:27:35 -04:00
Axel Kohlmeyer c3fe0e77c2
expose guesspath function and add unit test 2020-07-02 09:13:57 -04:00
Axel Kohlmeyer 22d8d0d0b0
add tests for potential file reader and untils functions 2020-06-25 08:00:04 -04:00
Axel Kohlmeyer ee5be42026
avoid having to use external test runner script by parsing environment variables directly 2020-06-24 09:32:59 -04:00
Axel Kohlmeyer 14c22a004a
Merge branch 'master' into use-clang-format-demo
# Conflicts:
#	unittest/force-styles/pair_style.cpp
#	unittest/utils/test_utils.cpp
2020-06-15 16:14:13 -04:00