Commit Graph

43 Commits

Author SHA1 Message Date
Martchus 3cb0812c62 Bump patch version 2024-02-04 20:42:27 +01:00
Martchus 9f134725c7 Fix handling of non-ASCII characters when resizing file 2023-11-07 23:33:46 +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 a725550d17 Increment patch version 2022-03-15 21:40:17 +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 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 d89c7b7bf1 Set project() on top-level
See https://github.com/Martchus/cpp-utilities/pull/15
2019-07-20 18:10:36 +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
Martchus 2828061193 Let CMake generate code for test application 2019-01-13 22:30:54 +01:00
Martchus 448c5b1a37 Improve reading/writing overall file
* Allow to hash password N times using SHA-256
* Use flags instead of bool parameter
* Expose extended header
* Fix bugs when reading/writing extended headers
* Store password as std::string

Reading files written with previous versions is still
possible. If new features are not used it is also possible
to read new files with previous versions.
2018-12-18 23:17:19 +01:00
Martchus ff76846e8b Don't use pubsetbuf() when using libc++
Otherwise the eof bit is set on attempt to read
2018-12-03 00:28:24 +01:00
Martchus 537c326510 Test Field 2018-06-09 22:24:03 +02:00
Martchus 76e5eec85b Add tests for entry classes 2018-06-09 21:44:43 +02:00
Martchus 5eec94baac Make OpenSslRandomDevice usable with uniform_int_distribution 2018-06-09 19:47:50 +02:00
Martchus fa38238f96 Fix compiling tests under 32-bit arch 2017-05-31 00:41:44 +02:00
Martchus cf04af93a4 Don't load OpenSSL config
* Doesn't seem to be required for just doing some AES
* OPENSSL_config(NULL) is deprecated anyways
2017-04-27 22:31:10 +02:00
Martchus 94bddabd36 Declare public dependencies 2016-11-08 20:02:31 +01:00
Martchus a628f0383a Fix detecting static 3rd party libs 2016-08-19 16:17:26 +02:00
Martchus 78b4f9f286 Generate config header in extra module 2016-07-27 21:40:22 +02:00
Martchus dffcb742f9 Find 3rd party libs using new module 2016-07-22 01:36:23 +02:00
Martchus dcfadcc5d8 Add API doc 2016-06-10 23:25:21 +02:00
Martchus c6f12b31f9 added version constraints 2016-04-25 22:24:44 +02:00
Martchus d20cf3b5b1 reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 00:51:17 +02:00
Martchus 22619af7fb added tests 2016-02-28 01:07:58 +01:00
Martchus 3128d31536 mingw-w64: build both, shared and static libs 2016-02-27 01:32:27 +01:00
Martchus 6879de884f ensure custom install targets don't conflict
(required when building as subdirectory)
2016-01-21 16:36:52 +01:00
Martchus 9450d6c8c2 removed creation of Windows icon 2016-01-05 17:15:47 +01:00
Martchus cadd3e6c59 updated version 2015-12-27 21:38:03 +01:00
Martchus b1076a81fe disable new ABI (can't catch ios_base::failure with new ABI) 2015-12-13 20:44:29 +01:00
Martchus 840ecfb61e improved project files 2015-12-08 08:36:00 +01:00
Martchus 9e49cdfdaa added simple CMake project file 2015-12-05 22:50:00 +01:00