Thomas Fussell
ccc3995709
start correctly implementing opc
2016-08-03 00:12:18 -04:00
Thomas Fussell
4234a62b8b
clean up api and do more testing
2016-08-01 18:33:43 -04:00
Thomas Fussell
3a9fda8bfe
improve relationships<=>worksheets handling, fixes #59
2016-07-26 20:13:09 -04:00
Thomas Fussell
51db47e2a8
test workbook and fix mising template specialization
2016-07-23 19:43:24 -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
026058d111
test workbook some
2016-07-17 14:59:11 -04: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
27cb3a089d
work on cell.cpp test coverage
2016-06-19 19:43:41 +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
Thomas Fussell
23f65602de
revert coverage calculation and work on coverage
2016-06-13 23:36:26 -04:00
Thomas Fussell
85e1b4a333
refactor styles... again
2016-06-10 13:40:50 -04:00
Thomas Fussell
135af6e6c9
fix styles -- Excel wanted to repair saved workbooks
2016-05-15 15:03:02 -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
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
Thomas Fussell
9bd6e92297
not done yet. I can't beleive how complicated this is
2016-04-30 16:19:45 -04:00
Thomas Fussell
720edc143f
allow duplicate shared strings (why excel?). eventually we should do a garbage collection step that deduplicates shared strings after the workbook is loaded
2016-04-26 13:09:17 -04:00
Thomas Fussell
1e045d7e95
implement more cell formatting
2016-03-14 11:46:01 +08:00
Thomas Fussell
5a9c18834d
work on round-tripping of a workbook with complex formatting
2016-03-10 17:12:51 +08:00
Thomas Fussell
0c3a167f7c
implement app properties reading/writing, case-insenstive border enum->string conversions for some style enums
2016-03-09 11:32:32 +08:00
Thomas Fussell
ca6dea8cbc
update workbook tests
2016-03-06 10:39:50 +08:00
Thomas Fussell
74bfdb6f7d
clean up iterators
2016-01-24 11:15:49 -05:00
Thomas Fussell
34aa24bdd6
fix formatting
2016-01-17 22:23:31 -08:00
Thomas Fussell
d62ad6731d
update copyright year
2015-12-24 17:10:02 -05:00
Thomas Fussell
537b76dd3f
clean up styles and hashing, add license boilerplate to all files, update readme, finish moving implementations to source files
2015-12-24 15:51:11 -05:00
Thomas Fussell
b2b9732a09
work on tests
2015-11-22 12:41:27 -05:00
Thomas Fussell
acfb5c642b
keep cleaning up iterators, documenting classes, and moving implementations to source files
2015-11-20 20:41:32 -05:00
Thomas Fussell
47b81a83de
start moving all implementations to source files
2015-11-19 22:54:54 -05:00
Thomas Fussell
1e746ad587
fix windows configuration
2015-11-10 20:47:07 -05:00
Thomas Fussell
990c2a926f
fix minor issues and configure script
2015-11-10 19:47:31 -05:00
Thomas Fussell
40fc54f55e
revert to 3bb988c422
reluctantly
2015-11-10 18:58:54 -05:00
Thomas Fussell
6aaf380c26
fix windows build for dll and static lib
2015-11-07 20:00:54 -05:00
Thomas Fussell
7b5246f9dd
finish up custom string class implementation
2015-11-07 18:37:23 -05:00
Thomas Fussell
4919e7ea00
fix some failing tests
2015-11-04 22:03:18 -05:00
Thomas Fussell
665f8fbebc
made a new string class for dll exports
2015-11-04 18:45:03 -05:00
Thomas Fussell
3bb988c422
add macro to classes and functions for dll export/import
2015-11-04 00:36:14 -05:00
Thomas Fussell
a2919dfed8
add missing runtime_error include and improperly located headers
2015-11-03 08:46:40 -05:00
Thomas Fussell
2c8ccdfcda
restructure source and clean up cmake scripts
2015-11-03 08:38:09 -05:00
Thomas Fussell
90d8d545ed
fix windows build and warnings
2015-11-02 17:25:10 -05:00
Thomas Fussell
9c05e04f70
fix -Wall -Wextra -pedantic warnings
2015-11-02 16:45:05 -05:00
Thomas Fussell
451abd1de6
clean up includes
2015-11-02 01:07:43 -05:00
Thomas Fussell
7f840bb904
clang-format all files, update .clang-format, fix minor compilation errors
2015-11-01 09:43:01 -05:00
Thomas Fussell
872d6ae16d
update docs
2015-10-31 06:21:21 -04:00
Thomas Fussell
9dce7b8f0c
almost done. phew...
2015-10-30 18:54:04 -04:00