fast_excel 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +3 -1
- data/Rakefile +4 -1
- data/fast_excel.gemspec +1 -1
- data/lib/fast_excel/binding/workbook.rb +9 -0
- data/lib/fast_excel/binding/worksheet.rb +2 -2
- data/lib/fast_excel/binding.rb +16 -13
- data/libxlsxwriter/.cirrus.yml +9 -0
- data/libxlsxwriter/.github/workflows/cmake_actions.yml +10 -6
- data/libxlsxwriter/.github/workflows/code_style.yml +2 -0
- data/libxlsxwriter/.github/workflows/make_32_actions.yml +43 -0
- data/libxlsxwriter/.github/workflows/windows_build.yml +7 -6
- data/libxlsxwriter/.github/workflows/zig_build.yml +1 -3
- data/libxlsxwriter/.gitignore +9 -7
- data/libxlsxwriter/.indent.pro +6 -0
- data/libxlsxwriter/CMakeLists.txt +377 -238
- data/libxlsxwriter/Changes.txt +189 -0
- data/libxlsxwriter/LICENSE.txt +1 -1
- data/libxlsxwriter/Makefile +36 -4
- data/libxlsxwriter/Readme.md +1 -1
- data/libxlsxwriter/build.zig +181 -92
- data/libxlsxwriter/build.zig.zon +15 -4
- data/libxlsxwriter/cocoapods/libxlsxwriter-umbrella.h +4 -0
- data/libxlsxwriter/include/xlsxwriter/app.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/chart.h +134 -1
- data/libxlsxwriter/include/xlsxwriter/chartsheet.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/comment.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/common.h +12 -8
- data/libxlsxwriter/include/xlsxwriter/content_types.h +3 -1
- data/libxlsxwriter/include/xlsxwriter/core.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/custom.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/drawing.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/format.h +34 -3
- data/libxlsxwriter/include/xlsxwriter/hash_table.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/metadata.h +5 -1
- data/libxlsxwriter/include/xlsxwriter/packager.h +6 -1
- data/libxlsxwriter/include/xlsxwriter/relationships.h +3 -1
- data/libxlsxwriter/include/xlsxwriter/rich_value.h +51 -0
- data/libxlsxwriter/include/xlsxwriter/rich_value_rel.h +50 -0
- data/libxlsxwriter/include/xlsxwriter/rich_value_structure.h +53 -0
- data/libxlsxwriter/include/xlsxwriter/rich_value_types.h +49 -0
- data/libxlsxwriter/include/xlsxwriter/shared_strings.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/styles.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/table.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/theme.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/third_party/ioapi.h +4 -4
- data/libxlsxwriter/include/xlsxwriter/third_party/zip.h +3 -3
- data/libxlsxwriter/include/xlsxwriter/utility.h +58 -7
- data/libxlsxwriter/include/xlsxwriter/vml.h +2 -1
- data/libxlsxwriter/include/xlsxwriter/workbook.h +59 -2
- data/libxlsxwriter/include/xlsxwriter/worksheet.h +159 -13
- data/libxlsxwriter/include/xlsxwriter/xmlwriter.h +11 -10
- data/libxlsxwriter/include/xlsxwriter.h +5 -4
- data/libxlsxwriter/libxlsxwriter.podspec +6 -6
- data/libxlsxwriter/src/Makefile +2 -1
- data/libxlsxwriter/src/app.c +2 -1
- data/libxlsxwriter/src/chart.c +360 -63
- data/libxlsxwriter/src/chartsheet.c +2 -1
- data/libxlsxwriter/src/comment.c +2 -1
- data/libxlsxwriter/src/content_types.c +22 -1
- data/libxlsxwriter/src/core.c +2 -1
- data/libxlsxwriter/src/custom.c +2 -1
- data/libxlsxwriter/src/drawing.c +7 -3
- data/libxlsxwriter/src/format.c +21 -1
- data/libxlsxwriter/src/hash_table.c +2 -1
- data/libxlsxwriter/src/metadata.c +176 -20
- data/libxlsxwriter/src/packager.c +306 -6
- data/libxlsxwriter/src/relationships.c +25 -1
- data/libxlsxwriter/src/rich_value.c +191 -0
- data/libxlsxwriter/src/rich_value_rel.c +142 -0
- data/libxlsxwriter/src/rich_value_structure.c +162 -0
- data/libxlsxwriter/src/rich_value_types.c +199 -0
- data/libxlsxwriter/src/shared_strings.c +2 -1
- data/libxlsxwriter/src/styles.c +31 -7
- data/libxlsxwriter/src/table.c +2 -1
- data/libxlsxwriter/src/theme.c +2 -1
- data/libxlsxwriter/src/utility.c +136 -46
- data/libxlsxwriter/src/vml.c +2 -1
- data/libxlsxwriter/src/workbook.c +191 -10
- data/libxlsxwriter/src/worksheet.c +514 -34
- data/libxlsxwriter/src/xmlwriter.c +17 -22
- data/libxlsxwriter/third_party/minizip/Makefile.orig +1 -1
- data/libxlsxwriter/third_party/minizip/configure.ac +1 -1
- data/libxlsxwriter/third_party/minizip/ioapi.h +6 -6
- data/libxlsxwriter/third_party/minizip/miniunz.c +16 -2
- data/libxlsxwriter/third_party/minizip/unzip.c +4 -4
- data/libxlsxwriter/third_party/minizip/unzip.h +1 -1
- data/libxlsxwriter/third_party/minizip/zip.c +5 -5
- data/libxlsxwriter/third_party/minizip/zip.h +3 -3
- data/libxlsxwriter/version.txt +1 -1
- data/test/validations_test.rb +3 -3
- data/test/worksheet_test.rb +10 -2
- metadata +11 -4
- data/libxlsxwriter/cmake/FindMINIZIP.cmake +0 -121
- data/libxlsxwriter/cmake/FindPackage.cmake +0 -183
- data/libxlsxwriter/cmake/i686-toolchain.cmake +0 -7
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* libxlsxwriter
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* SPDX-License-Identifier: BSD-2-Clause
|
|
5
|
+
* Copyright 2014-2026, John McNamara, jmcnamara@cpan.org.
|
|
5
6
|
*
|
|
6
7
|
* xmlwriter - A libxlsxwriter library for creating Excel XLSX
|
|
7
8
|
* XML files.
|
|
@@ -55,7 +56,7 @@ STAILQ_HEAD(xml_attribute_list, xml_attribute);
|
|
|
55
56
|
/* Create a new attribute struct to add to a xml_attribute_list. */
|
|
56
57
|
struct xml_attribute *lxw_new_attribute_str(const char *key,
|
|
57
58
|
const char *value);
|
|
58
|
-
struct xml_attribute *lxw_new_attribute_int(const char *key,
|
|
59
|
+
struct xml_attribute *lxw_new_attribute_int(const char *key, int32_t value);
|
|
59
60
|
struct xml_attribute *lxw_new_attribute_dbl(const char *key, double value);
|
|
60
61
|
|
|
61
62
|
/* Macro to initialize the xml_attribute_list pointers. */
|
|
@@ -98,7 +99,7 @@ struct xml_attribute *lxw_new_attribute_dbl(const char *key, double value);
|
|
|
98
99
|
*
|
|
99
100
|
* @param xmlfile A FILE pointer to the output XML file.
|
|
100
101
|
*/
|
|
101
|
-
void lxw_xml_declaration(FILE *
|
|
102
|
+
void lxw_xml_declaration(FILE *xmlfile);
|
|
102
103
|
|
|
103
104
|
/**
|
|
104
105
|
* Write an XML start tag with optional attributes.
|
|
@@ -107,7 +108,7 @@ void lxw_xml_declaration(FILE * xmlfile);
|
|
|
107
108
|
* @param tag The XML tag to write.
|
|
108
109
|
* @param attributes An optional list of attributes to add to the tag.
|
|
109
110
|
*/
|
|
110
|
-
void lxw_xml_start_tag(FILE *
|
|
111
|
+
void lxw_xml_start_tag(FILE *xmlfile,
|
|
111
112
|
const char *tag,
|
|
112
113
|
struct xml_attribute_list *attributes);
|
|
113
114
|
|
|
@@ -119,7 +120,7 @@ void lxw_xml_start_tag(FILE * xmlfile,
|
|
|
119
120
|
* @param tag The XML tag to write.
|
|
120
121
|
* @param attributes An optional list of attributes to add to the tag.
|
|
121
122
|
*/
|
|
122
|
-
void lxw_xml_start_tag_unencoded(FILE *
|
|
123
|
+
void lxw_xml_start_tag_unencoded(FILE *xmlfile,
|
|
123
124
|
const char *tag,
|
|
124
125
|
struct xml_attribute_list *attributes);
|
|
125
126
|
|
|
@@ -129,7 +130,7 @@ void lxw_xml_start_tag_unencoded(FILE * xmlfile,
|
|
|
129
130
|
* @param xmlfile A FILE pointer to the output XML file.
|
|
130
131
|
* @param tag The XML tag to write.
|
|
131
132
|
*/
|
|
132
|
-
void lxw_xml_end_tag(FILE *
|
|
133
|
+
void lxw_xml_end_tag(FILE *xmlfile, const char *tag);
|
|
133
134
|
|
|
134
135
|
/**
|
|
135
136
|
* Write an XML empty tag with optional attributes.
|
|
@@ -138,7 +139,7 @@ void lxw_xml_end_tag(FILE * xmlfile, const char *tag);
|
|
|
138
139
|
* @param tag The XML tag to write.
|
|
139
140
|
* @param attributes An optional list of attributes to add to the tag.
|
|
140
141
|
*/
|
|
141
|
-
void lxw_xml_empty_tag(FILE *
|
|
142
|
+
void lxw_xml_empty_tag(FILE *xmlfile,
|
|
142
143
|
const char *tag,
|
|
143
144
|
struct xml_attribute_list *attributes);
|
|
144
145
|
|
|
@@ -150,7 +151,7 @@ void lxw_xml_empty_tag(FILE * xmlfile,
|
|
|
150
151
|
* @param tag The XML tag to write.
|
|
151
152
|
* @param attributes An optional list of attributes to add to the tag.
|
|
152
153
|
*/
|
|
153
|
-
void lxw_xml_empty_tag_unencoded(FILE *
|
|
154
|
+
void lxw_xml_empty_tag_unencoded(FILE *xmlfile,
|
|
154
155
|
const char *tag,
|
|
155
156
|
struct xml_attribute_list *attributes);
|
|
156
157
|
|
|
@@ -162,12 +163,12 @@ void lxw_xml_empty_tag_unencoded(FILE * xmlfile,
|
|
|
162
163
|
* @param data The data section of the XML element.
|
|
163
164
|
* @param attributes An optional list of attributes to add to the tag.
|
|
164
165
|
*/
|
|
165
|
-
void lxw_xml_data_element(FILE *
|
|
166
|
+
void lxw_xml_data_element(FILE *xmlfile,
|
|
166
167
|
const char *tag,
|
|
167
168
|
const char *data,
|
|
168
169
|
struct xml_attribute_list *attributes);
|
|
169
170
|
|
|
170
|
-
void lxw_xml_rich_si_element(FILE *
|
|
171
|
+
void lxw_xml_rich_si_element(FILE *xmlfile, const char *string);
|
|
171
172
|
|
|
172
173
|
uint8_t lxw_has_control_characters(const char *string);
|
|
173
174
|
char *lxw_escape_control_characters(const char *string);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* libxlsxwriter
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* SPDX-License-Identifier: BSD-2-Clause
|
|
5
|
+
* Copyright 2014-2026, John McNamara, jmcnamara@cpan.org.
|
|
5
6
|
*/
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -18,8 +19,8 @@
|
|
|
18
19
|
#include "xlsxwriter/format.h"
|
|
19
20
|
#include "xlsxwriter/utility.h"
|
|
20
21
|
|
|
21
|
-
#define LXW_VERSION "1.
|
|
22
|
-
#define LXW_VERSION_ID
|
|
23
|
-
#define LXW_SOVERSION "
|
|
22
|
+
#define LXW_VERSION "1.2.4"
|
|
23
|
+
#define LXW_VERSION_ID 124
|
|
24
|
+
#define LXW_SOVERSION "11"
|
|
24
25
|
|
|
25
26
|
#endif /* __LXW_XLSXWRITER_H__ */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = "libxlsxwriter"
|
|
3
|
-
s.version = "1.
|
|
3
|
+
s.version = "1.2.4"
|
|
4
4
|
s.summary = "Libxlsxwriter: A C library for creating Excel XLSX files."
|
|
5
|
-
s.ios.deployment_target = "
|
|
6
|
-
s.osx.deployment_target = "
|
|
5
|
+
s.ios.deployment_target = "26.1"
|
|
6
|
+
s.osx.deployment_target = "26.2"
|
|
7
7
|
|
|
8
8
|
s.description = <<-DESC
|
|
9
9
|
Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.
|
|
@@ -16,12 +16,12 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
* Defined names.
|
|
17
17
|
* Autofilters.
|
|
18
18
|
* Charts.
|
|
19
|
-
* Data validation and
|
|
19
|
+
* Data validation and dropdown lists.
|
|
20
20
|
* Conditional formatting.
|
|
21
21
|
* Worksheet PNG/JPEG/GIF images.
|
|
22
22
|
* Cell comments.
|
|
23
23
|
* Support for adding Macros.
|
|
24
|
-
* Memory
|
|
24
|
+
* Memory optimization mode for writing large files.
|
|
25
25
|
* Source code available on [GitHub](https://github.com/jmcnamara/libxlsxwriter).
|
|
26
26
|
* FreeBSD license.
|
|
27
27
|
* ANSI C.
|
|
@@ -37,7 +37,7 @@ Pod::Spec.new do |s|
|
|
|
37
37
|
s.license = "FreeBSD"
|
|
38
38
|
s.author = { "John McNamara" => "jmcnamara@cpan.org" }
|
|
39
39
|
|
|
40
|
-
s.source = { :git => "https://github.com/jmcnamara/libxlsxwriter.git", :tag => "
|
|
40
|
+
s.source = { :git => "https://github.com/jmcnamara/libxlsxwriter.git", :tag => "v" + s.version.to_s }
|
|
41
41
|
s.source_files = "src/*.c", "third_party/**/{zip.c,ioapi.c,tmpfileplus.c,md5.c}", "include/**/*.h"
|
|
42
42
|
s.preserve_paths = [ 'third_party/**/*.h' ]
|
|
43
43
|
s.header_dir = "xlsxwriter"
|
data/libxlsxwriter/src/Makefile
CHANGED
data/libxlsxwriter/src/app.c
CHANGED