27 Commits

Author SHA1 Message Date
mandreyel
2e048e5a25 Add entire file mapping overload to factory methods 2018-10-25 09:22:46 +02:00
mandreyel
99db68866c Update README.md and example.cpp 2018-10-25 09:15:15 +02:00
mandreyel
1157537c98 Update docs, example.cpp and README.md 2018-10-22 18:46:07 +02:00
mandreyel
5ac44ecb00 Create invalid_handle value and update unmapped shared_mmap handle methods to return it 2018-10-22 13:30:35 +02:00
mandreyel
365a80c9ac Fix char* being an invalid path type 2018-10-18 19:30:41 +02:00
Greg Beard
77125df199 Fixes missing test file
For an earlier PR (#16), I introduced a new test file for testing
unicode support on Windows. The project's `.gitignore` file excludes the
entire test directory, so it was missed out. Turns out that this test
file wasn't actually needed, but the CMake config still uses it. This
commit just changes this back to the original `test.cpp` file.
2018-10-18 17:09:19 +01:00
Greg Beard
5655910e73 Removes superfluous compile flags 2018-10-18 13:17:47 +01:00
Greg Beard
0082811090 Changes Windows version to directly use CreateFileA
`CreateFile` is `#define`d as `CreateFileW` in unicode builds (when `/D
UNICODE` is defined). This is probably more likely to be a issue when
integrating into GUI projects.

This commit allows compilation to succeed when `UNICODE` has been
defined and adds a note to the README, explicitly stating that mio
doesn't support wide char string types as parameters.
2018-10-18 13:01:55 +01:00
Austin McCartney
d5f411e304 Added missing CMake file and added exception to .gitignore 2018-10-16 17:31:36 -06:00
mandreyel
dde5edb18a Fix erroneous comment in example code 2018-09-29 22:15:13 +02:00
mandreyel
f2cf5f3c91 Update readme and example with file existence precondition 2018-09-25 08:33:30 +02:00
mandreyel
a53f63b58b Update code style in README and test.cpp 2018-09-07 15:59:45 +02:00
Wunkolo
90fbf407f3 Add Header-Only cmake project structure 2018-07-27 18:01:09 -07:00
mandreyel
7dfc49b197 Update example include and minor style change 2018-07-12 21:31:53 +02:00
mandreyel
742469621a Update example 2018-03-02 12:28:23 +01:00
mandreyel
dcfce4d0ca Fix shared_mmap API 2017-10-30 10:25:04 +01:00
mandreyel
61470daa08 updated example, removed multi-byte support, bugfix 2017-10-08 23:14:43 +02:00
mandreyel
0d94b74491 added shared_mmap, slight API changes 2017-10-06 12:57:31 +02:00
mandreyel
c52e35b2e8 removed CharTraits 2017-10-06 00:03:15 +02:00
mandreyel
4084e55430 fixed comments, typedefs 2017-10-05 16:37:30 +02:00
mandreyel
5c9c2e83ad extracted mmap_{source,sink} into one class 2017-10-05 16:29:18 +02:00
mandreyel
c5149286c6 deleted misleading comment in test.cpp 2017-10-02 10:54:24 +02:00
mandreyel
2525a2e28b further API changes and bugfixes 2017-09-29 12:42:14 +02:00
mandreyel
3a8722c27e API changes, windows support, bugfixes 2017-09-28 12:56:27 +02:00
mandreyel
cede64f865 minor changes 2017-09-20 13:12:17 +02:00
mandreyel
cc46c17e8f added a few Container ops 2017-09-05 16:23:39 +02:00
mandreyel
4583a6529e first commit 2017-09-04 18:24:40 +02:00