Commit Graph

43 Commits

Author SHA1 Message Date
a9dd61f62e detect C++23 standard 2024-10-03 07:38:44 -04:00
0f792b0434 cast return value to void to indicate that we want to ignore the result 2024-08-13 12:36:43 -04:00
1d7fa4f1a8 register build number for Windows 11 24H2 2024-05-30 19:41:28 -04:00
45fbe73f2b Simplify output of windows version. If unknown build number just output "Windows Build #####" 2024-03-25 22:48:01 -04:00
4d6e70600e some more small changes for portability and clarity 2023-12-14 15:03:13 -05:00
eb4c85566e fix up port of platform::disk_free() to Windows 2023-12-14 13:06:20 -05:00
727c3c9572 move call to determine free disk space to platform namespace 2023-12-14 11:15:11 -05:00
351fc63f27 use const reference instead of copy 2023-11-24 01:20:10 -05:00
9c19495392 detect newer OpenMP standard versions 2023-11-23 00:37:26 -05:00
18f48a5e7c Recognize Windows 11 23H2 2023-09-27 18:00:19 -04:00
01a54723d7 more iwyu updates 2022-12-11 23:40:31 -05:00
a66f411edc add support to detect the BuildID of Windows 10 22H2 2022-10-27 12:43:14 -04:00
2132b1d904 update developer reference text 2022-10-24 11:08:26 -04:00
cccf3f6f78 change email for contacting LAMMPS developers, add to homepage checker 2022-10-20 20:36:03 -04:00
90730f0d3c update windows version history 2022-05-29 02:01:21 -04:00
b407b2f239 apply clang-format 2022-05-21 23:35:47 -04:00
93692ce308 Improved Windows and Visual Studio version detection
This now uses the CurrentBuild key to detect the Windows version and only falls back to product name, if that fails.
This is needed because Windows 11 reports itself as Windows 10 in the product name key.
2022-05-21 23:33:13 -04:00
d4ea5ca49e more clang-tidy fixes after re-running it with added settings 2022-05-14 07:18:05 -04:00
69d9c5187e refactor group access, enable and apply clang-format 2022-04-15 15:29:43 -04:00
39b316729b use auto type when assigning from cast or using new 2022-04-10 18:16:36 -04:00
9dfb099197 change platform::mkdir() to create entire path like "mkdir -p"
update the documentation of the shell command to current state
and specifically explain the difference between built-in and
external commands and correct where built in commands were described
as calling external commands.
2022-03-17 11:34:50 -04:00
adbbad0c2d silence compiler warnings 2022-02-18 12:13:26 -05:00
3bc91386a0 apply include statement updates suggested by running IWYU 2022-02-13 19:39:15 -05:00
50f39cd752 implement and use a platform neutral abstraction of unsetenv(3) 2021-11-03 10:53:45 -04:00
da3115be2c Merge branch 'develop' into more-clang-tidy-refactoring
# Conflicts:
#	src/MANIFOLD/manifold_thylakoid.cpp
2021-10-27 15:23:57 -04:00
1247f4d67b add function to print information about available compressions tools 2021-10-26 20:00:55 -04:00
85433e8bd1 use true/false instead of 1/0 detected and changed by clang-tidy 2021-10-20 12:41:02 -04:00
e56cc9be00 use initializer list instead of explicit constructor 2021-10-14 01:12:44 -04:00
83bc70bf05 workaround for classic intel compiler on windows 2021-10-08 15:11:16 -04:00
fb137b26bf silence compiler warnings 2021-10-08 13:59:17 -04:00
6a9bb577cf rename "zip" functions to "compress" functions. update related docs 2021-10-07 12:38:11 -04:00
c8ff66e07f correct file extension for Zstd compressed files 2021-10-07 06:49:49 -04:00
50d997526c a few more MSVC++ tweaks for improved compatibility and fewer warnings 2021-10-06 16:18:21 -04:00
10a8a1b325 add dlerror() call wrapper 2021-10-06 08:59:51 -04:00
087c1b3a65 revive skipped code to detect OS revisions 2021-10-05 22:30:45 -04:00
b2c4f08bbc use C++11 functionality to determine wall time 2021-10-05 21:52:52 -04:00
fcdabe0002 implement a platform neutral usleep() using C++11 2021-10-05 17:58:27 -04:00
af070aa351 add support for seeking to the end of a file 2021-10-05 15:44:58 -04:00
0bdc6d47e0 port molfile plugin reader to platform namespace 2021-10-04 22:56:23 -04:00
a6aa3fd3ee apply clang-format 2021-10-02 18:26:46 -04:00
c6bdab8b4c disable optimization of cputime function for MSVC++ to avoid bogus 0s reports 2021-10-02 17:29:05 -04:00
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
15b3e875d5 import files for platform namespace from standalone project w/o updating LAMMPS 2021-09-29 16:29:25 -04:00