Martchus
e3e7f731bf
Apply change of `global.h` template
2024-04-02 11:12:34 +02:00
Martchus
acdc1d80ba
Allow compilation of tests when doing unity builds
...
Ensure all formatting overloads are always included before CppUnit's
headers
2024-02-04 20:58:45 +01:00
Martchus
3cb0812c62
Bump patch version
2024-02-04 20:42:27 +01:00
Martchus
17f6d4cfe5
Update `global.h` via updated template in c++utilities
2024-02-04 20:41:25 +01:00
Martchus
fd5c19dd9f
Update copyright date
2024-02-04 20:38:44 +01:00
Martchus
2e1d9a700b
Apply clang-format
2023-11-21 22:10:44 +01:00
Martchus
9f134725c7
Fix handling of non-ASCII characters when resizing file
2023-11-07 23:33:46 +01:00
Martchus
3da25a39a4
Improve documentation of save/write
...
* Mention std::filesystem::filesystem_error explicitly
* Mention std::runtime_error last as it is the most generic exception type
* Use fully qualified class names
2023-11-07 23:00:33 +01:00
Martchus
7d8d837cb1
Increment patch version
2023-11-07 22:57:28 +01:00
Martchus
1f42f5fffb
Truncate file if it became smaller in all cases
2023-11-07 16:18:41 +01:00
Martchus
962054a3fe
Increment patch version
2023-11-07 16:17:42 +01:00
Martchus
282c819ea2
Avoid CMake deprecation warning by bumping version
2023-07-23 21:06:28 +02:00
Martchus
92d8324cdc
Improve condition for use of `pubsetbuf`
...
Using this function like this seems only be possible with `libstdc++`. The
standard lib of MSVC does not support it as well. So use it only with
`libstdc++`.
2023-02-28 21:01:23 +01:00
Martchus
7bb9134fd3
Avoid unqualified calls to `std::move`
2023-02-18 19:03:29 +01:00
Martchus
9f8deafd5a
Update copyright notice
2023-01-17 18:36:48 +01:00
Martchus
2e2c3ba4fc
Avoid using deprecated OpenSSL functions
2022-11-03 22:29:08 +01:00
Martchus
facfc879b5
Add stalebot config
2022-04-12 01:08:06 +02:00
Martchus
52a3ac32f7
Add copyright notice
2022-04-05 20:18:35 +02:00
Martchus
a725550d17
Increment patch version
2022-03-15 21:40:17 +01:00
Martchus
a367edc81f
Clarify that license is "GPL-2-or-later"
2022-03-15 21:39:33 +01:00
Martchus
98a11787c1
Use constant for additional buffer size used to decrypt/encrypt
2021-12-11 23:51:52 +01:00
Martchus
ff7dc8d772
Fix comment
2021-12-11 23:49:29 +01:00
Martchus
5ca417069a
Fix compilation of AES implementation, document that is is not actually used
2021-08-22 00:17:04 +02:00
Martchus
d1b7187085
Fix shadowing warning
2021-08-22 00:02:29 +02:00
Martchus
9b4fcdc2b3
Fix typos found via `codespell --skip .git -w`
2021-07-03 19:42:20 +02:00
Martchus
5935ea0691
Fix warnings
2021-03-20 21:55:40 +01:00
Martchus
f7c6db0132
Use NativeFileStream and actually throw exceptions in export
2020-02-14 17:37:04 +01:00
Marius Kittler
b1a55def8b
Use consistent order for visibility attribute
2020-01-29 18:31:23 +01:00
Martchus
334a2093f6
Mention that CBC and OpenSSL is used
2020-01-02 20:17:02 +01:00
Martchus
463c1f871f
Reformat CMake scripts against cmake-format 0.6.3
2019-12-15 19:45:47 +01:00
Martchus
fb8c99b2d4
Don't suppress IO errors when writing files
...
* Close or flush streams explicitely so writing is not
deferred
* to catch errors in the right place
* to avoid suppressing errors completely when writing
would be deferred to the destructor invocation
* Improve comments
2019-12-15 19:43:31 +01:00
Marius Kittler
3afa954ebd
Fix old namespaces being mentioned in the documentation
2019-09-04 18:47:45 +02:00
Martchus
a3d104cf8b
Reduce code for flag enum classes
2019-08-14 01:22:33 +02:00
Martchus
d89c7b7bf1
Set project() on top-level
...
See https://github.com/Martchus/cpp-utilities/pull/15
2019-07-20 18:10:36 +02:00
Martchus
a1b694a50b
Allow creating a new file in PasswordFile::save()
...
to ease saving a file under a different location
2019-07-03 23:59:07 +02:00
Marius Kittler
b6ad06faa2
Do not close file if not opened in PasswordFile::save()
2019-06-25 11:36:47 +02:00
Martchus
a2772506a3
Adapt to changes in c++utilities
2019-06-12 21:02:09 +02:00
Martchus
b323460dbb
Adapt to changes in c++utilities
2019-06-10 22:44:29 +02:00
Marius Kittler
0754760b19
Adapt to c++utilities v5
2019-05-04 22:25:14 +02:00
Martchus
986ceaf567
Bump version
2019-02-17 17:07:11 +01:00
Marius Kittler
4642f56d0d
Apply cmake-format
2019-02-06 18:02:40 +01:00
Marius Kittler
1d06d52f18
Add override to ~ParsingException()
2019-02-06 18:02:14 +01:00
Martchus
2828061193
Let CMake generate code for test application
2019-01-13 22:30:54 +01:00
Martchus
e29457dfd0
Improve const correctness
2018-12-23 18:57:03 +01:00
Martchus
a25282b3d1
Make exception c'tors/d'tors non-inline again
...
Otherwise it is not possible to throw/catch it accross
library boundaries under Android.
2018-12-22 02:47:33 +01:00
Martchus
42f37a1852
Fix warning about implicit conversion
2018-12-22 02:46:55 +01:00
Martchus
4412c62433
Add remark regarding PasswordFile::isEncryptionUsed()
2018-12-22 02:46:24 +01:00
Marius Kittler
292a8668bf
Extend tests
2018-12-21 17:52:15 +01:00
Marius Kittler
35b09d73b2
Allow inlining simple PasswordFile methods
2018-12-21 17:33:05 +01:00
Marius Kittler
70f62bf94a
Set open options
...
Not used yet but maybe useful later
2018-12-21 17:32:31 +01:00