Commit Graph

42 Commits

Author SHA1 Message Date
d5e57ac02d reimplement using C++11 2024-07-30 00:33:44 -04:00
9c937113fd use strtoll() and strtod() instead of atoi(), atol(), atoll() and atof() 2024-07-29 14:45:43 -04:00
6fd962e132 spelling 2024-07-05 16:44:08 -04:00
8fcde04097 add a "matches()" method to the Tokenizer and ValueTokenizer classes using utils::strmatch() 2024-07-05 15:45:49 -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
32612d3f5b enable and apply clang-format 2022-03-18 00:06:28 -04:00
2106075320 use call-by-value with std::move() function 2021-10-14 01:30:18 -04:00
2fba6b44e4 use '= default' when default functions should be used 2021-10-13 23:59:05 -04:00
6f2076a9b8 update docs 2021-10-05 22:11:19 -04:00
9d96e10048 silence compiler warning 2021-10-04 07:32:25 -04:00
09c19a936b update URLs in source code and manual 2021-05-24 14:18:20 -04:00
d1941392d3 disable clang-format for all existing .cpp files (for now) 2021-05-05 23:53:38 -04:00
462f27d661 Use copy-and-swap in Tokenizers
Ensures that the classes behave consistently when copied, moved, copy assigned,
and move assigned.
2021-04-26 14:28:13 -04:00
fab571cf6b IWYU reported header updates 2021-04-13 00:47:49 -04:00
9707771f1c apply UTF-8 character replacement before creating tokens 2021-03-19 16:10:37 -04:00
6503a7c3ba skip explicit temporaries 2021-03-19 15:52:27 -04:00
a33a04a392 Remove redundant has_next() check in Tokenizer 2021-03-19 14:12:09 -04:00
ca102e4920 remove dead code 2021-03-19 11:20:32 -04:00
14abdade03 ValueTokenizer will throw a "Not enough tokens" exception, if trying to get the next value without one present 2021-03-14 10:44:27 -04:00
89216ce1ed add UTF-8 handling to ValueTokenizer class 2021-01-25 23:26:54 -05:00
51a20175c9 more code formatting consistency changes for loops and conditionals 2020-12-30 09:47:45 -05:00
382ade15fe more consistent formatting of for/while loops and if statements 2020-12-30 09:09:08 -05:00
adf74b3a22 use https://lammps.sandia.gov based URLs consistently 2020-10-21 16:45:30 -04:00
29a7d598ac update formatting style to be more consistent 2020-09-21 02:04:58 -04:00
9a6dfbc0ee add some cross referencing 2020-09-18 13:45:33 -04:00
2e0af2fdce some more second pass cleanup 2020-09-04 00:46:23 -04:00
9925122cea more IWYU updates 2020-09-03 00:22:09 -04:00
c84033677c add documentation for potential file reader 2020-08-31 07:31:28 -04:00
33f2cbc713 add docs for TextFileReader class to developer guide 2020-08-31 06:57:16 -04:00
f3ed1dea4d minor tweaks 2020-08-30 14:28:19 -04:00
4b0999e167 complete documentation of tokenizer classes 2020-08-30 14:12:21 -04:00
c9dc5d90d2 Merge remote-tracking branch 'origin/master' into refactor-reading 2020-07-17 23:08:26 -04:00
43d3133583 Whitespace 2020-06-11 14:00:13 -04:00
81d937ee97 Performance optimization of Tokenizer
Reduces string allocations and removes std::vector from Tokenizer
Most processing now happens on-demand.
2020-06-11 00:22:04 -04:00
c1f6c004ca Add contains method to ValueTokenizer 2020-06-09 12:11:53 -04:00
6c41c2f69d Make Tokenizers movable 2020-06-04 16:23:46 -04:00
f5be01e4f1 sync with header 2020-05-31 10:05:39 -04:00
74249380ec Add count method to ValueTokenizer 2020-05-26 16:30:46 -04:00
7ac0f869ef Add ValueTokenizer 2020-05-20 15:53:50 -04:00
9e3759d0fc Add missing newlines 2020-05-20 15:53:29 -04:00
d41927b056 Add Tokenizer class 2020-05-20 15:49:02 -04:00