Victor Zverovich
43b389f358
Update README.rst
2014-10-02 06:44:34 -07:00
Victor Zverovich
fae3ae67b9
Fix util-test
2014-10-01 09:32:31 -07:00
Victor Zverovich
ae413ebf7a
Add a section on custom allocators
2014-10-01 08:49:20 -07:00
Victor Zverovich
04d38a8b14
Update docs
2014-10-01 08:32:01 -07:00
Victor Zverovich
03f7f99f4c
Fix build on pre-C++11 compilers
2014-10-01 08:24:47 -07:00
Victor Zverovich
8b9a6e03f6
Test buffer
2014-10-01 08:12:10 -07:00
Victor Zverovich
74dc571ba0
Support signed char and unsigned char strings
2014-09-30 08:15:56 -07:00
Victor Zverovich
98a25ec7cb
Test Buffer
2014-09-30 07:30:27 -07:00
Victor Zverovich
313b259891
Use type_traits to test if copyable/assignable
...
Replace compile tests that check if types are copy constructible and copy assignable with normal tests that use type_traits (if available).
2014-09-30 07:30:05 -07:00
Victor Zverovich
d00f689c40
Fix type_traits check
2014-09-29 11:03:18 -07:00
Victor Zverovich
b79d06a5da
Escape quotes
2014-09-29 10:44:48 -07:00
Victor Zverovich
2846a9eb38
Check if is_copy_assignable is working
...
is_copy_assignable is broken in MSVC.
2014-09-29 10:42:16 -07:00
Victor Zverovich
810f42c0c7
Fix util-test on Windows, take 2
2014-09-29 09:59:49 -07:00
Victor Zverovich
55a16eaec7
Fix util-test on Windows
2014-09-29 09:37:33 -07:00
Victor Zverovich
a309c4bbed
Fix posix-test on Windows
2014-09-29 09:28:44 -07:00
Victor Zverovich
e1c046c984
Fix open check
2014-09-29 09:27:32 -07:00
Victor Zverovich
8c4db5081b
Fix Windows build
2014-09-29 09:17:02 -07:00
Victor Zverovich
dd90129066
Check if type_traits actually work.
2014-09-29 09:15:41 -07:00
Victor Zverovich
d1ded569ff
Separate memory management and formatting
...
Array is split into an abstract Buffer class and a concrete MemoryBuffer class. BasicWriter now does all memory allocation through a Buffer object. Subclasses of BasicWriter may use different buffer types. The new BasicMemoryBuffer class uses the default MemoryBuffer.
2014-09-29 08:48:16 -07:00
Victor Zverovich
5ca3d00e26
Mind the lifetime
2014-09-25 12:15:16 -07:00
Victor Zverovich
a9da3d3852
Fix ArgList::operator[]
2014-09-25 09:31:36 -07:00
Victor Zverovich
b2bd63d2d9
Test ArgList
2014-09-25 09:11:51 -07:00
Victor Zverovich
65cb43a484
Store type info in uint64_t instead of ULongLong
2014-09-25 07:42:29 -07:00
Victor Zverovich
c2f02df2f5
Fix warning in clang
2014-09-25 07:38:16 -07:00
Victor Zverovich
f43caef311
Fix linkage
2014-09-25 07:21:48 -07:00
Victor Zverovich
098a8fdef8
Simplify make_type
2014-09-25 07:14:08 -07:00
Victor Zverovich
75a2ea03a7
Reduce code bloat
...
Special case C strings because there is no need to handle size for them. Add support for pre-C++11 compilers to make_type.
2014-09-25 07:10:44 -07:00
Victor Zverovich
163178eee1
Make print non-inline
2014-09-25 07:08:25 -07:00
Victor Zverovich
ae8bc36e57
MakeArg -> MakeValue
2014-09-24 08:07:50 -07:00
Victor Zverovich
93b314d3ab
Comments
2014-09-24 07:59:23 -07:00
Victor Zverovich
ec1aea34e6
Refactor type processing
2014-09-24 07:48:45 -07:00
Victor Zverovich
ab6e759291
pointer_value -> pointer
2014-09-23 08:21:58 -07:00
Victor Zverovich
d2973766ea
ArgBase -> Value
2014-09-23 08:11:03 -07:00
Victor Zverovich
beb00edf73
Store types in ArgList instead of Arg
2014-09-23 07:59:43 -07:00
Victor Zverovich
49222dc0c7
Improve allocator test
2014-09-23 07:58:23 -07:00
Victor Zverovich
13bbb0db7a
Update docs
2014-09-21 14:12:21 -07:00
Victor Zverovich
eac25ad1c7
Update readme
2014-09-21 08:13:35 -07:00
Victor Zverovich
1d4640415d
Pass ArgList by value
...
This improve bloat test results:
Old stripped size: 67680 (optimized)
New stripped size: 59488 (optimized)
2014-09-21 08:08:52 -07:00
Victor Zverovich
14f2577569
Fix linkage
2014-09-19 08:45:05 -07:00
Victor Zverovich
b9a568b1dd
Add support for custom memory allocator to BasicWriter
2014-09-19 07:51:42 -07:00
Victor Zverovich
70205edd6e
Fix build with ancient CMake
2014-09-18 09:29:51 -07:00
Victor Zverovich
a734f67978
Check if variadic templates are working
2014-09-18 09:18:18 -07:00
Victor Zverovich
6a98f42336
Add support for custom allocators
2014-09-18 09:07:40 -07:00
Victor Zverovich
a4998accf6
Fix travis build
2014-09-17 08:26:07 -07:00
Victor Zverovich
c76b22405d
Replace GTest with GMock (includes GTest)
2014-09-17 08:01:42 -07:00
Victor Zverovich
2938a92d64
Add KBEngine to projects that use cppformat
2014-09-13 08:44:49 -07:00
Victor Zverovich
b54d6e7124
Fix posix-test, take 3.
2014-09-12 18:22:45 -07:00
Victor Zverovich
94daf27c9d
Fix posix-test, take 2.
2014-09-12 17:41:04 -07:00
Victor Zverovich
886ad20a9d
Remove unused size argument from Array's ctor.
2014-09-12 17:20:36 -07:00
Victor Zverovich
434e83a192
Fix posix-test.
2014-09-12 17:16:22 -07:00