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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +1 -1
  3. data/CHANGELOG.md +3 -1
  4. data/Rakefile +4 -1
  5. data/fast_excel.gemspec +1 -1
  6. data/lib/fast_excel/binding/workbook.rb +9 -0
  7. data/lib/fast_excel/binding/worksheet.rb +2 -2
  8. data/lib/fast_excel/binding.rb +16 -13
  9. data/libxlsxwriter/.cirrus.yml +9 -0
  10. data/libxlsxwriter/.github/workflows/cmake_actions.yml +10 -6
  11. data/libxlsxwriter/.github/workflows/code_style.yml +2 -0
  12. data/libxlsxwriter/.github/workflows/make_32_actions.yml +43 -0
  13. data/libxlsxwriter/.github/workflows/windows_build.yml +7 -6
  14. data/libxlsxwriter/.github/workflows/zig_build.yml +1 -3
  15. data/libxlsxwriter/.gitignore +9 -7
  16. data/libxlsxwriter/.indent.pro +6 -0
  17. data/libxlsxwriter/CMakeLists.txt +377 -238
  18. data/libxlsxwriter/Changes.txt +189 -0
  19. data/libxlsxwriter/LICENSE.txt +1 -1
  20. data/libxlsxwriter/Makefile +36 -4
  21. data/libxlsxwriter/Readme.md +1 -1
  22. data/libxlsxwriter/build.zig +181 -92
  23. data/libxlsxwriter/build.zig.zon +15 -4
  24. data/libxlsxwriter/cocoapods/libxlsxwriter-umbrella.h +4 -0
  25. data/libxlsxwriter/include/xlsxwriter/app.h +2 -1
  26. data/libxlsxwriter/include/xlsxwriter/chart.h +134 -1
  27. data/libxlsxwriter/include/xlsxwriter/chartsheet.h +2 -1
  28. data/libxlsxwriter/include/xlsxwriter/comment.h +2 -1
  29. data/libxlsxwriter/include/xlsxwriter/common.h +12 -8
  30. data/libxlsxwriter/include/xlsxwriter/content_types.h +3 -1
  31. data/libxlsxwriter/include/xlsxwriter/core.h +2 -1
  32. data/libxlsxwriter/include/xlsxwriter/custom.h +2 -1
  33. data/libxlsxwriter/include/xlsxwriter/drawing.h +2 -1
  34. data/libxlsxwriter/include/xlsxwriter/format.h +34 -3
  35. data/libxlsxwriter/include/xlsxwriter/hash_table.h +2 -1
  36. data/libxlsxwriter/include/xlsxwriter/metadata.h +5 -1
  37. data/libxlsxwriter/include/xlsxwriter/packager.h +6 -1
  38. data/libxlsxwriter/include/xlsxwriter/relationships.h +3 -1
  39. data/libxlsxwriter/include/xlsxwriter/rich_value.h +51 -0
  40. data/libxlsxwriter/include/xlsxwriter/rich_value_rel.h +50 -0
  41. data/libxlsxwriter/include/xlsxwriter/rich_value_structure.h +53 -0
  42. data/libxlsxwriter/include/xlsxwriter/rich_value_types.h +49 -0
  43. data/libxlsxwriter/include/xlsxwriter/shared_strings.h +2 -1
  44. data/libxlsxwriter/include/xlsxwriter/styles.h +2 -1
  45. data/libxlsxwriter/include/xlsxwriter/table.h +2 -1
  46. data/libxlsxwriter/include/xlsxwriter/theme.h +2 -1
  47. data/libxlsxwriter/include/xlsxwriter/third_party/ioapi.h +4 -4
  48. data/libxlsxwriter/include/xlsxwriter/third_party/zip.h +3 -3
  49. data/libxlsxwriter/include/xlsxwriter/utility.h +58 -7
  50. data/libxlsxwriter/include/xlsxwriter/vml.h +2 -1
  51. data/libxlsxwriter/include/xlsxwriter/workbook.h +59 -2
  52. data/libxlsxwriter/include/xlsxwriter/worksheet.h +159 -13
  53. data/libxlsxwriter/include/xlsxwriter/xmlwriter.h +11 -10
  54. data/libxlsxwriter/include/xlsxwriter.h +5 -4
  55. data/libxlsxwriter/libxlsxwriter.podspec +6 -6
  56. data/libxlsxwriter/src/Makefile +2 -1
  57. data/libxlsxwriter/src/app.c +2 -1
  58. data/libxlsxwriter/src/chart.c +360 -63
  59. data/libxlsxwriter/src/chartsheet.c +2 -1
  60. data/libxlsxwriter/src/comment.c +2 -1
  61. data/libxlsxwriter/src/content_types.c +22 -1
  62. data/libxlsxwriter/src/core.c +2 -1
  63. data/libxlsxwriter/src/custom.c +2 -1
  64. data/libxlsxwriter/src/drawing.c +7 -3
  65. data/libxlsxwriter/src/format.c +21 -1
  66. data/libxlsxwriter/src/hash_table.c +2 -1
  67. data/libxlsxwriter/src/metadata.c +176 -20
  68. data/libxlsxwriter/src/packager.c +306 -6
  69. data/libxlsxwriter/src/relationships.c +25 -1
  70. data/libxlsxwriter/src/rich_value.c +191 -0
  71. data/libxlsxwriter/src/rich_value_rel.c +142 -0
  72. data/libxlsxwriter/src/rich_value_structure.c +162 -0
  73. data/libxlsxwriter/src/rich_value_types.c +199 -0
  74. data/libxlsxwriter/src/shared_strings.c +2 -1
  75. data/libxlsxwriter/src/styles.c +31 -7
  76. data/libxlsxwriter/src/table.c +2 -1
  77. data/libxlsxwriter/src/theme.c +2 -1
  78. data/libxlsxwriter/src/utility.c +136 -46
  79. data/libxlsxwriter/src/vml.c +2 -1
  80. data/libxlsxwriter/src/workbook.c +191 -10
  81. data/libxlsxwriter/src/worksheet.c +514 -34
  82. data/libxlsxwriter/src/xmlwriter.c +17 -22
  83. data/libxlsxwriter/third_party/minizip/Makefile.orig +1 -1
  84. data/libxlsxwriter/third_party/minizip/configure.ac +1 -1
  85. data/libxlsxwriter/third_party/minizip/ioapi.h +6 -6
  86. data/libxlsxwriter/third_party/minizip/miniunz.c +16 -2
  87. data/libxlsxwriter/third_party/minizip/unzip.c +4 -4
  88. data/libxlsxwriter/third_party/minizip/unzip.h +1 -1
  89. data/libxlsxwriter/third_party/minizip/zip.c +5 -5
  90. data/libxlsxwriter/third_party/minizip/zip.h +3 -3
  91. data/libxlsxwriter/version.txt +1 -1
  92. data/test/validations_test.rb +3 -3
  93. data/test/worksheet_test.rb +10 -2
  94. metadata +11 -4
  95. data/libxlsxwriter/cmake/FindMINIZIP.cmake +0 -121
  96. data/libxlsxwriter/cmake/FindPackage.cmake +0 -183
  97. data/libxlsxwriter/cmake/i686-toolchain.cmake +0 -7
@@ -1,7 +1,8 @@
1
1
  /*
2
2
  * libxlsxwriter
3
3
  *
4
- * Copyright 2014-2022, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
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, uint64_t value);
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 * xmlfile);
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 * xmlfile,
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 * xmlfile,
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 * xmlfile, const char *tag);
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 * xmlfile,
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 * xmlfile,
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 * xmlfile,
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 * xmlfile, const char *string);
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
- * Copyright 2014-2022, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
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.1.5"
22
- #define LXW_VERSION_ID 115
23
- #define LXW_SOVERSION "5"
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.1.5"
3
+ s.version = "1.2.4"
4
4
  s.summary = "Libxlsxwriter: A C library for creating Excel XLSX files."
5
- s.ios.deployment_target = "8.0"
6
- s.osx.deployment_target = "10.8"
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 drop down lists.
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 optimisation mode for writing large files.
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 => "RELEASE_" + s.version.to_s }
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"
@@ -2,7 +2,8 @@
2
2
  #
3
3
  # Makefile for libxlsxwriter library.
4
4
  #
5
- # Copyright 2014-2022, John McNamara, jmcnamara@cpan.org
5
+ # SPDX-License-Identifier: BSD-2-Clause
6
+ # Copyright 2014-2026, John McNamara, jmcnamara@cpan.org.
6
7
  #
7
8
 
8
9
  # Keep the output quiet by default.
@@ -3,7 +3,8 @@
3
3
  *
4
4
  * Used in conjunction with the libxlsxwriter library.
5
5
  *
6
- * Copyright 2014-2022, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
6
+ * SPDX-License-Identifier: BSD-2-Clause
7
+ * Copyright 2014-2026, John McNamara, jmcnamara@cpan.org.
7
8
  *
8
9
  */
9
10