summaryrefslogtreecommitdiff
path: root/modules/zip/zip_packer.cpp
AgeCommit message (Collapse)Author
2023-01-05One Copyright Update to rule them allRĂ©mi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-11-13Fix problem with ZIPPackerHolonProduction
The Zipfile Reference should be set to `NULL` when the `ZIPPacker` is closed not when a file in it is closed. When calling `ZIPPacker.close` without this nothing happens because `zf` is `NULL`. (7zip could still extract the file but warned about unexpected end of file.)
2022-11-01Remove `zf != NULL` check from `ZIPPacker::start_file`Ben Busby
This check was removed because it introduces a bug which prevents ZIPPacker from actually adding any files, since it must be opened before adding any files (and therefore shouldn't be NULL at the start of `start_file`).
2022-10-14Expose minizip API to allow creating zips using scriptsMarcelo Fernandez
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com> Co-authored-by: James Westman <flyingpimonster@gmail.commail> Co-authored-by: MisterMX <mbxd12@web.de> Signed-off-by: MisterMX <mbxd12@web.de>