Jarryd Beck
c8c932f891
Add CHANGELOG for #398
2023-06-15 07:35:14 +10:00
Alexander Galanin
ddc695ebac
Don't split by list delimiter in positional lists ( #398 )
2023-06-15 07:34:26 +10:00
Jarryd Beck
bf1b5a96e0
Update changelog
2023-06-15 07:18:53 +10:00
Jarryd Beck
90b318105f
Fix unannoted fallthrough
...
Fixes #402 .
2023-06-15 07:18:30 +10:00
Maximilian Knespel
a526762eb8
[fix] Avoid std::regex initialization during dlopen ( #406 )
2023-05-31 07:26:34 +10:00
Jarryd Beck
beda973ec6
Remove incorrect todo.
...
Fixes #404 .
2023-05-22 17:31:17 +10:00
Julien Voisin
714a105fe6
Bump rules_fuzzing to the latest available version ( #403 )
2023-05-01 06:45:55 +10:00
Nigel Stewart
16cc254919
Output same exception messages for both Linux and Windows ( #395 )
...
Co-authored-by: Nigel Stewart <nigel.stewart@emesent.io>
2023-04-03 17:15:01 +10:00
Jarryd Beck
120205ac5a
Fix cast warning in Unicode function
...
Fixes #339 . Fixes a sign conversion warning in a function compiled by
-DCXXOPTS_USE_UNICODE_HELP=1.
2023-03-15 07:09:09 +11:00
Jarryd Beck
89a9d334f2
Add note about exceptions in Changelog
2023-03-13 07:52:48 +11:00
Nathaniel Brough
44739d3023
feat(fuzz): Adds trigger for fuzzing in the CI ( #392 )
2023-02-22 07:03:38 +11:00
Demian Hespe
134f60f973
Fix noexcept warning ( #391 )
2023-02-20 07:25:13 +11:00
Jarryd Beck
eb787304d6
Fix version number
2023-02-16 07:02:16 +11:00
Jarryd Beck
c12ce65503
Update CHANGELOG for 3.1 release
2023-02-13 07:31:30 +11:00
Jarryd Beck
b80bdfddf0
Added missing CHANGELOG entry
2023-02-13 07:31:30 +11:00
Martijn Courteaux
799ee0e3e8
Add <locale> to be spec-compliant for std::isalnum (didn't work on MSVC). ( #385 )
2023-02-11 15:47:48 +11:00
Nathaniel Brough
58daccc945
feat(fuzzer): Adds fuzz tests ( #386 )
2023-02-06 07:30:51 +11:00
Jarryd Beck
e1f8c16702
Fix diagnostics pop error
2023-02-02 07:25:12 +11:00
Jarryd Beck
4a3d4dbfe0
Fixes #362 .
...
Fix comparing iterators from a different container.
2023-02-01 06:56:03 +11:00
Jarryd Beck
1bd4786c16
Fix broken example
2023-01-19 07:09:39 +11:00
Jarryd Beck
32afbc6526
Fix default bool values
...
Fixes #382 . Keep boolean values when parsing into a reference.
2022-12-15 07:08:03 +11:00
jarro2783
e9d20c2c07
Remove deprecated iterator type ( #381 )
...
Fixes #379 . `iterator` is deprecated in C++17.
2022-12-05 07:40:46 +11:00
Sourabh Mehta
1dcb44e79a
Fix an additional space in help generated ( #377 )
2022-11-10 07:24:19 +11:00
chrisps
f087dc8fcd
Code size reduction on msvc via selectany ( #373 )
2022-11-01 18:52:46 +11:00
Ryan Leary
2e3c6991d3
add . as valid char in option names ( #358 )
2022-09-29 07:11:32 +10:00
jarro2783
2123115f71
Improve positional help description.
...
Minor change to the positional option description in README.
2022-09-26 06:59:38 +10:00
Stefan Hillmich
d046fe0ad6
Extend CI and small fixes ( #370 )
...
* Extend CI to support Windows and MacOS.
* Minor fixes to types.
2022-09-26 06:57:05 +10:00
Stefan Hillmich
82ac083886
Added missing #include ( #368 )
2022-09-12 07:02:26 +10:00
66maer
f7cf84bd56
Fix std::isblank assertion error in Visual Studio Chinese Debug ( #365 )
2022-09-08 07:33:31 +10:00
Jarryd Beck
ab1dc0f684
Update copyright notice
...
Fixes #361
2022-08-22 07:35:58 +10:00
jarro2783
a10bd5233b
Fix values attached to short options ( #360 )
...
Fixes #357 .
2022-08-13 07:51:41 +10:00
Jarryd Beck
17b2c91049
Fix iostream for no exceptions
...
Fixes #356 .
2022-08-08 07:07:59 +10:00
Jarryd Beck
96e72f7d15
Fix crash with short only option
2022-08-03 07:00:34 +10:00
Yassir Najmaoui
2abdd4af4d
Add option to display usage ( #355 )
...
Make the usage displaying optional
2022-07-28 06:50:13 +10:00
Jarryd Beck
01798ee7a0
GCC 4.8 fixes
2022-07-25 07:21:22 +10:00
Jarryd Beck
a6bfe2d457
Further ifdef fixes.
...
Related to #339 .
2022-07-20 20:57:27 +10:00
Jarryd Beck
83aecd628e
Fix pragmas
2022-07-20 17:37:37 +10:00
Jarryd Beck
6c8a41a229
Remove unused header
2022-07-20 07:51:04 +10:00
Jarryd Beck
292750d27a
Replace pragmas with macros
...
Fixes ##339
2022-07-20 07:49:59 +10:00
Jarryd Beck
8849551398
Fix #353 .
...
Move nodiscard before inline.
2022-07-18 21:16:04 +10:00
Eyal Rozenberg
e976f964c3
Fix issue #240 : Multiple long option names / aliases ( #349 )
...
* Fixes #240 : Multiple long option names / aliases
* We now use a vector of long option names instead of a single name
* When specifying an option, you can provide multiple names separated by commas, at most one of which may have a length of 1 (not necessarily the first specified name). The length-1 name is the single-hyphen switch (the "short name").
* Hashing uses the first long name
* Option help currently only uses the first long name.
2022-07-14 16:42:18 +10:00
Jarryd Beck
43ebb49475
Add changelog entry
2022-07-13 07:22:01 +10:00
Eyal Rozenberg
9cd015ac37
Regards #340 , #345 : Removed unnecessary indentation of exceptions namespace + added end-of-namespace comment ( #351 )
2022-07-13 06:49:04 +10:00
Eyal Rozenberg
628dc9202b
Fixes #345 , fixes #346 : Exception code tweaks ( #347 )
...
* Fixes #345 , fixes #346 , regards #340 : Put exceptions in a sub-namespace and renamed them accordingly.
* Also fixed some "loose ends" regarding namespace indentation which were missing in PR #350 .
* Dropped `required_option_missing` as it is unused.
2022-07-12 19:45:58 +10:00
Jarryd Beck
548d6196f5
Add clang format to changelog
2022-07-11 20:46:01 +10:00
Jarryd Beck
30d97369f2
Fixes #341 . Add a clang-format file
2022-07-11 20:40:51 +10:00
Jarryd Beck
fbd79df66b
Fixes #336
...
Memory leak was caused by `exit`.
2022-07-11 17:02:22 +10:00
Jarryd Beck
6bb1e82b61
Add Vim modeline
2022-07-11 07:17:53 +10:00
Eyal Rozenberg
513afbc6dc
Fixes #340 : namespace indentation unification ( #350 )
...
* Namespace no longer induce indentation
* Namespace opening brace now on same line as namespace name
* Namespace closing brace now has an empty line before it unless the namespace contents were short and with no empty lines
* Namespace closing brace now always followed by a comment with the closed namespace' name
2022-07-11 07:00:50 +10:00
Eyal Rozenberg
8d18c3ed0b
Expanded .gitignore
coverage. ( #344 )
2022-07-10 19:03:25 +10:00