summaryrefslogtreecommitdiffstats
path: root/modules/zip
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-276-12/+12
|
* Rebrand preambles to RedotDubhghlas McLaughlin2024-10-116-0/+12
| | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
|
* Cleanup of raw `nullptr` checks with `Ref`A Thousand Ships2024-08-312-2/+2
| | | | Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
* Fix ZIPReader.get_files() error on empty zip filesaaronp642024-04-081-1/+8
| | | | | | Added check for empty zip file before trying to look at first file Fixes #90388
* Fix ZIPPacker storing file permissions unexpectedlyHaoyu Qiu2024-01-091-1/+1
|
* Set language encoding flag when using ZIPPackerHaoyu Qiu2023-12-051-1/+18
| | | | | When non-ASCII filenames are used, this indicates that the encoding is UTF-8. Programs like ZIPReader can then parse the filename correctly.
* Use pass by reference in ZIPPacker & ZIPReader signaturesFlorian Kothmeier2023-09-104-12/+12
|
* Add function `ZIPReader::file_exists`A Thousand Ships2023-08-163-0/+26
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-062-2/+2
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-052-2/+2
| | | | Keep on waitin'
* Style: Harmonize header includes in modulesRémi Verschelde2023-06-151-1/+2
| | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes
* Fix buffer over-read and memory leaks when using long filepaths in a zip ↵Mack2023-05-315-41/+57
| | | | archive and improved robustness of long filepaths and reading files.
* Bump version to 4.1-devRémi Verschelde2023-03-012-2/+2
| | | | Can't stop, won't stop, they said, huh?
* One Copyright Update to rule them allRémi Verschelde2023-01-056-174/+174
| | | | | | | | | | | | | | | | | | | | 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".
* Merge pull request #68581 from oganm/oganm/masterRémi Verschelde2022-11-221-1/+1
|\ | | | | | | fix typo in ZIPReader doc
| * fix typo in zipreader docB. Ogan Mancarcı2022-11-121-1/+1
| |
* | Fix problem with ZIPPackerHolonProduction2022-11-131-6/+6
|/ | | | | | 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.)
* Remove `zf != NULL` check from `ZIPPacker::start_file`Ben Busby2022-11-011-1/+0
| | | | | | | 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`).
* Expose minizip API to allow creating zips using scriptsMarcelo Fernandez2022-10-1410-0/+597
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>