Thomas Fussell
c1364199ee
improve manifest
2016-07-22 22:24:45 -04:00
Thomas Fussell
d3486bb986
improve constants
2016-07-22 20:26:02 -04:00
Thomas Fussell
f3caa31ccc
remove include
2016-07-21 23:32:05 -04:00
Thomas Fussell
3376741996
work on docs
2016-07-21 23:25:24 -04:00
Thomas Fussell
c009278c60
clean up exceptions
2016-07-21 23:04:36 -04:00
Thomas Fussell
1859761775
improve workbook interface
2016-07-21 22:14:00 -04:00
Thomas Fussell
ffeb1b1046
remove unneeded number formats and finish testing number format
2016-07-21 20:15:53 -04:00
Thomas Fussell
dec6aaa49a
test some stuff, rename some other stuff
2016-07-20 19:04:44 -04:00
Thomas Fussell
026058d111
test workbook some
2016-07-17 14:59:11 -04:00
Thomas Fussell
101ba5e49f
remove some unneccessary encoding stuff
2016-07-17 13:49:59 -04:00
Thomas Fussell
0502e1e2d4
test test test
2016-07-16 19:40:20 -04:00
Thomas Fussell
f406f657c4
test some skipped branches
2016-07-16 15:57:50 -04:00
Thomas Fussell
32707dde3b
dll export pattern_fill and gradient_fill
2016-07-14 22:15:51 -04:00
Thomas Fussell
25b995bc78
improve fill and style serialization test coverage
2016-07-14 22:09:57 -04:00
Thomas Fussell
8970bfaffb
improve style writing coverage. i think that's enough for today
2016-07-09 15:12:53 -04:00
Thomas Fussell
24b966cf86
export column_t friend functions, attempt to exclude test headers from coveralls
2016-07-09 14:21:10 -04:00
Thomas Fussell
60372fb145
cover alignment.cpp
2016-07-09 10:13:56 -04:00
Thomas Fussell
c99d14792f
Merge branch 'master' of github.com:tfussell/xlnt
2016-07-05 21:27:47 -04:00
Thomas Fussell
9f1ac60d20
start implementing complex number formats, test builtin formats
2016-07-05 21:27:35 -04:00
Xpol Wan
4976f54145
Fixes static build for msvc.
2016-07-05 13:03:00 +08:00
Thomas Fussell
9ae506c1ea
move serialization classes to detail, recouple with pugixml (no reason to abstract)
2016-07-03 19:22:08 -04:00
Thomas Fussell
bdc770d23a
improve number_format test coverage
2016-06-24 10:43:51 +01:00
Thomas Fussell
c7bc216026
improve worksheet test coverage
2016-06-23 09:33:10 +01:00
Thomas Fussell
7b6b5517d9
finish testing fill
2016-06-19 21:30:15 +01:00
Thomas Fussell
27cb3a089d
work on cell.cpp test coverage
2016-06-19 19:43:41 +01:00
Thomas Fussell
e8c2dd37c3
Merge pull request #53 from xpol/fixes-reference-type-for-iterators
...
Fixes type for all iterator::reference.
2016-06-15 08:24:20 -04:00
Thomas Fussell
fbbd984779
Merge pull request #51 from xpol/refactor-index-types
...
Refactor index types
2016-06-15 08:23:35 -04:00
Thomas Fussell
f521974edc
Merge pull request #52 from xpol/fix-linkage-for-utf8string
...
Add XLNT_CLASS to utf8string to fixes the linking error.
2016-06-15 08:22:56 -04:00
Thomas Fussell
5d2c75014b
improve range iterators and their tests
2016-06-15 12:45:05 +01:00
Xpol Wan
5f7a76f6bd
Its std::ptrdiff_t in <cstddef>.
2016-06-15 12:18:06 +08:00
Xpol Wan
a0b8b8f5e2
Fixes type for all iterator::reference.
...
1. we have overloaded operator*() for all iterators, returning a value type T (not a reference).
2. we use the std::reverse_iterator, its operator*() returns a reference type, by default the reference type is T&.
follow implement std::reverse_iterator::operator*() const are taken form VS2015:
```C++
// in class reverse_iterator
reference operator*() const
{ // return designated value
_RanIt _Tmp = current;
return (*--_Tmp);
}
```
The `_RanIt` is our base non reverse iterators, the type of `(*--_Tmp)` is `T`. and the `reference` is `T&`. This cause
> warning C4172: returning address of local variable or temporary
And it is bug.
This commit specifies explicitly the 5th template argument for all our iterators base class like `std::iterator<tag,T, ptrdiff_t, T*, T>`.
It make the `reference` to be actually `T` (the value type) and fixes the issue.
2016-06-15 12:05:16 +08:00
Xpol Wan
86002b5338
Add XLNT_CLASS to utf8string to fixes the linking error.
2016-06-15 11:30:51 +08:00
Xpol Wan
211cd7a363
make binary arithmetic operators for column_t non-member.
2016-06-14 17:20:49 +08:00
Thomas Fussell
23f65602de
revert coverage calculation and work on coverage
2016-06-13 23:36:26 -04:00
Thomas Fussell
3d29186d6a
improve enum serialization, closes #50
2016-06-12 19:59:59 -04:00
Thomas Fussell
7dafd2f3a3
clean up xlnt.hpp, closes #39
2016-06-11 15:50:03 -04:00
Thomas Fussell
8361bcad74
clean up xlnt_config.hpp and fix visual studio warnings
2016-06-12 01:07:07 +08:00
Thomas Fussell
85e1b4a333
refactor styles... again
2016-06-10 13:40:50 -04:00
Thomas Fussell
4e9c48eba9
add missing header to main include file
2016-05-16 20:59:45 -04:00
Thomas Fussell
40b0f9908a
remove misplaced text and text_run sources
2016-05-16 19:33:32 -04:00
Thomas Fussell
135af6e6c9
fix styles -- Excel wanted to repair saved workbooks
2016-05-15 15:03:02 -04:00
Thomas Fussell
365e2f93fc
fix round-tripping of text runs with formatting
2016-05-15 11:51:32 -04:00
Thomas Fussell
3d4941e61d
wire up text and text run serialization
2016-05-14 15:19:08 -04:00
Thomas Fussell
74cc503215
clarify naming of styles and formats
2016-05-14 13:57:07 -04:00
Thomas Fussell
916883e427
fix last few tests
2016-05-14 12:42:34 -04:00
Thomas Fussell
d2d53dfc6d
only a few failing tests remain
2016-05-13 14:40:17 -04:00
Thomas Fussell
739be9d850
merge changes from other computer
2016-05-13 12:32:44 -04:00
Thomas Fussell
31b546b1d5
general API improvements
2016-05-11 19:24:53 -04:00
Thomas Fussell
713bd1ea12
almost done finally. still need to figure out the interaction between styles and named styles, maybe improve naming
2016-05-03 15:37:34 -04:00
Thomas Fussell
198483c88e
the library compiles now. tests don't
2016-05-01 11:08:56 -04:00