mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
[PR #382] [MERGED] Add buffer support #476
Labels
No labels
awaiting user feedback
bug
cmake
cmake
docs
feature request
in progress
long term
medium term
medium term
pull-request
question
question
ready to close
short term
under investigation
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/libxlsxwriter#476
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jmcnamara/libxlsxwriter/pull/382
Author: @mohd-akram
Created: 11/9/2022
Status: ✅ Merged
Merged: 11/10/2022
Merged by: @jmcnamara
Base:
main← Head:buf-support📝 Commits (3)
c48468cAvoid using temporary files when possible024bac2Add support for writing to a buffera5ec4baAddress review comments📊 Changes
31 files changed (+329 additions, -72 deletions)
View changed files
📝
.github/workflows/cmake_actions.yml(+1 -1)📝
.github/workflows/make_actions.yml(+1 -1)📝
CMakeLists.txt(+2 -2)📝
docs/src/getting_started.dox(+18 -21)📝
examples/constant_memory.c(+3 -1)➕
examples/output_buffer.c(+39 -0)📝
include/xlsxwriter/packager.h(+2 -0)📝
include/xlsxwriter/utility.h(+1 -0)📝
include/xlsxwriter/workbook.h(+15 -1)📝
include/xlsxwriter/worksheet.h(+1 -0)📝
src/Makefile(+5 -1)📝
src/packager.c(+134 -28)📝
src/utility.c(+23 -0)📝
src/workbook.c(+7 -0)📝
src/worksheet.c(+9 -2)📝
test/functional/src/test_optimize01.c(+1 -1)📝
test/functional/src/test_optimize02.c(+1 -1)📝
test/functional/src/test_optimize04.c(+1 -1)📝
test/functional/src/test_optimize05.c(+1 -1)📝
test/functional/src/test_optimize06.c(+1 -1)...and 11 more files
📄 Description
This extends the realm of
USE_FMEMOPENto all temporary files, which is accomplished by usingopen_memstream. It also adds two new workbook options,output_bufferandoutput_buffer_size, to allow outputting to a buffer when filename isNULL. This allows the library to be used without writing to the filesystem.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.