Thomas Fussell
04ebd7ef9d
fix warnings, bump copyright, fix typo, update npm libs
2021-08-22 08:23:18 -04:00
Thomas Fussell
70eb0d4e66
undef min and max, fixes #545
2021-02-21 08:00:10 -04:00
Thomas Fussell
e53ef68469
fix compiler warnings and some valgrind problems
2021-01-03 12:20:46 -05:00
Thomas Fussell
0039eab40d
fix gcc 4.8.2 build problems
2021-01-03 09:33:43 -05:00
Thomas Fussell
ca2abc9ddc
Merge branch 'master' into worksheet_empty
2021-01-02 15:07:08 -05:00
Thomas Fussell
c31b2aa51d
Merge branch 'master' into issue-494-shared-string
2021-01-02 15:01:41 -05:00
Emmanuel Pescosta
9df7c83ca6
worksheet: Add method to check if the worksheet is empty
...
A worksheet is considered empty if it doesn't have any cells.
2020-12-02 10:59:29 +01:00
胡剑波
e8dd38d0d6
Fix throwing exception when duplicate shared strings occur.
2020-08-25 15:08:20 +08:00
胡剑波
dafdfa3ebb
Add the function of getting table hidden attributes.
2020-08-25 13:32:21 +08:00
JCrawfy
9d9d5de511
add missing include
2020-04-26 15:27:51 +12:00
JCrawfy
d30e705f83
fix most (all?) the places where string<->double conversions are performed
...
strod / stod / to_string and all related friends are dependant on current locale for how they format a number
2020-04-25 14:00:58 +12:00
Joel Bodenmann
4e0333ac91
Remove superfluous semicolon
2020-03-25 13:16:02 +01:00
JCrawfy
f4d00acb9f
resolve warnings
2020-03-02 13:32:39 +13:00
JCrawfy
e8cb8d9bc6
fix compiler error
2020-03-01 23:23:20 +13:00
JCrawfy
932fc4596f
remove declarations of copy/assignment operators that only do default work
...
user defined copy operators suppress compiler creation of move operations, and not having all of copy/move/dtor
defined (rule of 0/5) is suspicious. Also happens to be very slightly slower
2020-03-01 23:16:57 +13:00
JCrawfy
ee593c2673
bug fixes, move the faster serialisation into the numeric header
...
serialisation ends up roughly 2x improvement going from sstream to snprintf
Run on (4 X 3500 MHz CPU s)
CPU Caches:
L1 Data 32K (x4)
L1 Instruction 32K (x4)
L2 Unified 262K (x4)
L3 Unified 6291K (x1)
-------------------------------------------------------------------------------------------------------------
Benchmark Time CPU Iterations
-------------------------------------------------------------------------------------------------------------
RandFloatStrs/double_from_string_sstream 968 ns 977 ns 640000
RandFloatStrs/double_from_string_strtod 272 ns 270 ns 2488889
RandFloatStrs/double_from_string_strtod_fixed 272 ns 270 ns 2488889
RandFloatStrs/double_from_string_strtod_fixed_const_ref 273 ns 270 ns 2488889
RandFloatStrs/double_from_string_std_from_chars 193 ns 195 ns 3446154
RandFloatCommaStrs/double_from_string_strtod_fixed_comma_ref 272 ns 273 ns 2635294
RandFloatCommaStrs/double_from_string_strtod_fixed_comma_const_ref 276 ns 273 ns 2635294
RandFloats/string_from_double_sstream 1311 ns 1318 ns 497778
RandFloats/string_from_double_sstream_cached 1076 ns 1050 ns 640000
RandFloats/string_from_double_snprintf 601 ns 600 ns 1120000
RandFloats/string_from_double_snprintf_fixed 600 ns 600 ns 1120000
RandFloats/string_from_double_std_to_chars 117 ns 117 ns 5600000
RandFloatsComma/string_from_double_snprintf_fixed_comma 600 ns 600 ns 1120000
2020-03-01 22:01:14 +13:00
Thomas Fussell
e8ee585897
bump copyright year to 2020
2020-02-08 12:12:59 -05:00
Thomas Fussell
a560756b35
use clang-format, fix some small warnings
2019-12-26 12:03:12 -05:00
JCrawfy
613d7b6086
add missing include
2019-11-18 21:39:33 +13:00
JCrawfy
7621b2807a
fix wrong iterator bug
2019-11-18 20:43:58 +13:00
JCrawfy
d69a5dea75
scan and replace '.' with ',' when decimal separator is comma
2019-11-18 19:55:13 +13:00
JCrawfy
2eb88c23d6
move numeric utils into the public headers
...
resolves #398
2019-11-18 19:25:02 +13:00
JCrawfy
c26a59f32e
fix compile error due to reference to r-value that MSVC silently lifetime extended
2019-11-16 12:49:26 +13:00
Thomas Fussell
b22153180a
default pane_corner to fix unahdled_switch_case due to uninitialized memory
2019-09-15 11:27:31 -04:00
Thomas Fussell
90b672cf6b
Merge branch 'Issue#318_fp-equality' of https://github.com/Crzyrndm/xlnt into Crzyrndm-Issue#318_fp-equality
2019-07-06 14:20:53 -04:00
Thomas Fussell
40baecdf02
Merge branch 'images' of https://github.com/kostasdizas/xlnt into kostasdizas-images
2019-07-06 14:02:24 -04:00
Thomas Fussell
1c22e9781e
Merge pull request #364 from kostasdizas/phonetics
...
Added support for phonetic fields
2019-06-22 10:53:09 -04:00
Thomas Fussell
b6455ff6d1
Merge pull request #356 from kostasdizas/issue353
...
Fixed block calculation in xlsx_producer
2019-06-22 10:52:14 -04:00
Thomas Fussell
f54a150589
Merge branch 'dev' into phonetics
2019-06-22 10:51:30 -04:00
Kostas Dizas
e9c23c3fc7
Add phonetic runs and properties to rich text
2018-11-21 13:43:31 +00:00
Kostas Dizas
48a865cd66
Added phonetics field visibility option on cells
2018-11-21 13:03:02 +00:00
Kostas Dizas
3ab49c8af6
Importing row spans in the row_properties object
2018-10-19 20:48:54 +01:00
Kostas Dizas
698b40c54c
Added basic support for embedded images
2018-10-12 13:52:30 +01:00
Kostas Dizas
c804b4c569
Added new feature to insert and delete rows and columns
2018-09-11 09:44:43 +01:00
Crzyrndm
61e46c934a
resolve float-equals warnings
2018-08-18 18:12:46 +12:00
Crzyrndm
b2a514fdbf
Include without relying on include directories
2018-08-18 17:55:32 +12:00
Crzyrndm
6aa10131a2
Fixing compile errors
2018-08-18 16:51:53 +12:00
Crzyrndm
19aad52500
fuzzy floating point comparison with optional
2018-08-18 16:31:56 +12:00
Crzyrndm
4487b988e7
Define fp equality function
...
-- Based on checks and defaults used by various testing frameworks (primarily GTest and Catch)
-- Moved the header into detail where it should have been to start with (oops)
2018-08-14 22:48:28 +12:00
Crzyrndm
10c5781e6d
Merge pull request #323 from Crzyrndm/build_system_improvements
...
Build system improvements + stylesheet optimisations
2018-08-05 14:15:09 +12:00
Crzyrndm
94fd22f492
Merge pull request #321 from Crzyrndm/Issue#282
...
Don't set comment size on explicit comment overload
2018-08-05 13:05:54 +12:00
Crzyrndm
ca8c93c696
Merge pull request #324 from Crzyrndm/iterator-default-ctors
...
Default ctors for iterators
2018-08-05 13:04:09 +12:00
Crzyrndm
4124dd78e0
Add tests, fix compile error (missing include)
2018-07-29 14:27:49 +12:00
Crzyrndm
9aff73747d
range_iterator default ctor
2018-07-29 14:22:35 +12:00
Crzyrndm
475f9f35d0
default ctor for cell iterator
2018-07-29 14:20:29 +12:00
Crzyrndm
6fb90ecf57
default ctor for workbook iterator
2018-07-29 14:12:47 +12:00
Crzyrndm
dd6f338419
Remove memory growth based on row count
...
- Nested unordered_map was the cause of a significant memory/cell spike.
- added cell_reference hash, lookup by cell_reference to make memory usage proportional to cell count only
2018-07-29 11:43:23 +12:00
Crzyrndm
ade8cf3b6c
Ensure <color tint=...> is correctly serialised as an optional double
2018-07-28 14:44:49 +12:00
Crzyrndm
e1daff535c
Better idea, set the defaults
2018-07-28 14:04:22 +12:00
Thomas Fussell
94faf01b72
Merge pull request #320 from sukoi26/SheetFormatPr
...
SheetformatPr issue #287
2018-07-24 23:42:51 -04:00