Commit Graph

4755 Commits

Author SHA1 Message Date
Victor Zverovich
112755cf91 Remove FMT_SAFEBUFFERS (#1966) 2020-10-29 17:42:45 -07:00
Victor Zverovich
4081b2fe94 Fix ABI compatibility (#1961) 2020-10-29 11:29:47 -07:00
Tobias Hammer
2d9311e860
Remove accidental parenthesis (#1968)
fails only when FMT_BUILTIN_CTZLL is not defined
2020-10-29 07:08:06 -07:00
Jonathan Gopel
b3a4f28ad1
Fix implicit signedness conversion warning (#1963)
Problem:
- On Apple clang 11.0.3 (clang-1103.0.32.62), pedantic mode compilation
  generates the following error:

    test/std-format-test.cc:114:22: error: implicit conversion changes
          signedness: 'int' to 'size_t' (aka 'unsigned long')
          [-Werror,-Wsign-conversion]
        width_arg_id = c - '0';
                     ~ ~~^~~~~

Solution:
- Use a `to_unsigned` to make the conversion explicit. This is
  guaranteed to be safe due to the check before the ASCII-to-int
  conversion.
2020-10-29 06:26:18 -07:00
Vladislav Shchapov
97c8873214
Allocator::max_size support in basic_memory_buffer (#1960) 2020-10-29 06:17:00 -07:00
OptoCloud
bb68f6089b Removed [-Wsign-conversion] warning in GCC 2020-10-28 06:02:17 -07:00
kitegi
f4ca065cfb Range support 2020-10-28 05:35:37 -07:00
Victor Zverovich
cb224ecaa3 Instantiate to_decimal to make gcc lto happy (#1955) 2020-10-27 07:46:40 -07:00
Victor Zverovich
7977c2b4d0 Cleanup 2020-10-27 07:19:28 -07:00
Владислав Щапов
e54eb67639 Workaround bugs in gcc 8 2020-10-27 06:11:31 -07:00
Victor Zverovich
4fe0b11195 Update version 2020-10-25 10:44:22 -07:00
Victor Zverovich
df4bd60f42 Bump version 2020-10-25 10:43:03 -07:00
Victor Zverovich
764fb35e1f Always install the required version of breathe 2020-10-25 10:34:47 -07:00
Victor Zverovich
e1bdc0ecaf Use the correct version of sphinx 2020-10-25 09:52:21 -07:00
Victor Zverovich
39bde329bd Tweak markup 2020-10-25 09:19:38 -07:00
Victor Zverovich
204d299abb Tweak markup 2020-10-25 09:12:22 -07:00
Victor Zverovich
e0995b1c14 Update readme 2020-10-25 09:04:39 -07:00
Victor Zverovich
4af178bdfe Remove outdated build config 2020-10-25 09:01:44 -07:00
Victor Zverovich
aa41dc02b1 Remove unused script 2020-10-25 09:00:25 -07:00
Victor Zverovich
6a77ea3c93 Tweak markup 2020-10-25 08:59:36 -07:00
Victor Zverovich
62c72059d9 Update changelog 2020-10-25 08:56:46 -07:00
Victor Zverovich
c10e3f7f4f Update changelog 2020-10-25 07:29:24 -07:00
Victor Zverovich
e542e6953e Update changelog 2020-10-25 06:46:45 -07:00
Victor Zverovich
530cf316b8 Point to the release, not dev documentation 2020-10-24 12:02:12 -07:00
Victor Zverovich
740385d636 Update changelog 2020-10-24 11:18:33 -07:00
Victor Zverovich
cd4651116e Update changelog 2020-10-24 09:24:47 -07:00
Victor Zverovich
46291be348 Update changelog 2020-10-23 07:38:01 -07:00
Victor Zverovich
90071c1df0
Update ChangeLog.rst 2020-10-22 09:30:27 -07:00
Victor Zverovich
25293d7ac6
Update ChangeLog.rst 2020-10-22 09:28:23 -07:00
Victor Zverovich
5024742f8a
Update ChangeLog.rst 2020-10-22 09:27:49 -07:00
Victor Zverovich
0452a4e71f Update changelog 2020-10-22 09:08:30 -07:00
Victor Zverovich
8de96817ce Woraround bugs in gcc 8 2020-10-22 07:33:32 -07:00
Victor Zverovich
47e167679a Simplify arg formatter 2020-10-21 19:04:02 -07:00
Victor Zverovich
f0a42346a4 Move parsing optimization one level up 2020-10-21 18:18:53 -07:00
Victor Zverovich
86287b8d56 Optimize common case in parse_format_specs 2020-10-21 17:16:58 -07:00
Victor Zverovich
8924211f3b
Update README.rst 2020-10-21 14:02:55 -07:00
Victor Zverovich
525e7649cf
Update CONTRIBUTING.md 2020-10-21 14:02:33 -07:00
Victor Zverovich
0ecb3d1829 Optimize alignment parsing 2020-10-21 12:45:11 -07:00
Victor Zverovich
9755307842 Optimize format_uint 2020-10-21 08:19:21 -07:00
Victor Zverovich
7446818f98 Simplify vformat_to 2020-10-21 07:15:11 -07:00
darklukee
280b5612c0 Add option to force usage of inline namespaces
Detection of inline namespaces is imperfect as some compilers
don't provide __has_feature

This option allows to override it if needed.
2020-10-21 06:38:59 -07:00
Victor Zverovich
e57ec7d563 Merge vformat_to overloads 2020-10-20 17:39:50 -07:00
Victor Zverovich
2a3f4de3f4 Remove iterator_category 2020-10-20 16:44:49 -07:00
Victor Zverovich
27fdb4ead2 Unshadow floaty 2020-10-20 15:05:00 -07:00
Victor Zverovich
297e0bad8c Apply clang-format 2020-10-20 14:10:28 -07:00
Victor Zverovich
e3b4c22ec9 Simplify is_output_iterator 2020-10-20 14:09:57 -07:00
Victor Zverovich
da8278e1e3 Update changelog and bump version 2020-10-19 14:37:14 -07:00
Adnan
17fba753c4
added position independent documentation (#1939)
* added position independent documentation

* suggested fixes to usage

* linebreaks

Co-authored-by: Adnan Yunus <adnan@opus.ai>
2020-10-19 14:20:54 -07:00
Victor Zverovich
71e705a273
Update README.rst 2020-10-19 08:54:55 -07:00
darklukee
74654c8cbb
Fix compilation for systems without fcntl.h (#1942)
Co-authored-by: darklukee <no-reply@hidden>
2020-10-19 07:43:06 -07:00