diff -Nru libquazip-0.7.3/CONTRIBUTING.md libquazip-0.7.6/CONTRIBUTING.md --- libquazip-0.7.3/CONTRIBUTING.md 1970-01-01 00:00:00.000000000 +0000 +++ libquazip-0.7.6/CONTRIBUTING.md 2018-06-13 15:51:21.000000000 +0000 @@ -0,0 +1,343 @@ +Fixed a bug? Implemented a new feature? Want to have it included in QuaZIP? +Here's what you need to do. + +0. If you don't have a GitHub account, create one. It's ridiculously easy. + +1. First, open an [issue](https://github.com/stachenov/quazip/issues). +Even if you have already fixed it. It helps to track things because +instead of a commit saying “fixed this and that” you have a reference +to a full issue description. + +2. Next, send a pull request. This is sort of counter-intuitive, so if +you never did it, read on. + +**Contribution guidelines** + +To avoid spending time on something that may never be accepted, here are +some guidelines. + +1. Changes should be backwards-compatible. Don't just change method names +and their signatures randomly. Don't just remove deprecated features—some +of them are there to keep compatibility with old Qt versions. Currently +supported are versions since 4.6. + +2. If your changes aren't limited to a small fix or a convenience method, +discussing them in the issue you just opened (if you didn't, do!) could +help to achieve some agreement on what exactly is a good idea in your case. + +3. Whether you're fixing a bug or adding a new feature, it's an awesome idea +to add a new test in the `qztest` subproject. This way you make sure the +bug stays fixed and the feature keeps working. + +4. It would be nice if you also update NEWS.txt with whatever changes +you propose. Just add another line on top. + +5. QuaZIP policies on PR commits are these. Don't squash your commits until +the discussion on the PR is over and it's approved. *Do* squash them, +however, once it's approved, unless asked otherwise. And finally: rebase, +don't merge. QuaZIP keeps mostly linear history. If you have no idea what +it's all about, read on. + +**How to submit a pull request** + +**What is a PR anyway?** + +There are numerous sources that describe this already. Ideally, you should +familiarize yourself with both GitHub and Git. But you could lack time. +Or maybe you don't use Git in your daily work. Or something else. +In either case, here are some basics to get you started without +spending too much time researching something you might never need again. + +Pull requests (PRs) are GitHub's way of sending patches to people. Except that +instead of sending a patch, you send a full-fledged version control branch +that is much easier to integrate than a regular patch. + +The overall process is that you have a full copy of the repository both at your +GitHub account and on your computer. You create a new branch on your computer, +make some changes, commit to that branch and finally send these commits to your +account. Then, GitHub takes over and offers you to create something like a +specialized forum topic with your changes attached to it much like a patch +would be attached to an e-mail message. Except that it's actually alive—whatever +changes you make later on will cause the patch to be automatically updated +with all your changes combined. + +**Setting up for a PR submission** + +Here are the steps you need to follow if you're sending your *first* PR to QuaZIP. +You don't need to repeat these each time. + +0. If you haven't installed Git yet, do so. In Windows, choose the recommended +setting for line endings. +1. Go to https://github.com/stachenov/quazip. +2. Click “Fork” in the top-right corner and wait until forking is complete. +3. You should now have a full copy of QuaZIP in your own GitHub account. +This may sound like a huge overkill to just send a small patch, but it's +actually very convenient once you get used to it. +4. Clone QuaZIP to your computer. Use your own account's repo URL as a source, +NOT https://github.com/stachenov/quazip! To do it, run +``` +git clone https://github.com/your-user-name-goes-here/quazip +``` +This command will create a new `quazip` directory and clone into it. +Now you have two QuaZIP repos. One in your GitHub account, accessible to +you only via GitHub itself, and another one in the directory that has +just been created. Let's call the repo on your PC the local repo. +It is rooted at the directory that was created by Git when you +ran the above command. Most Git commands from now on should +be issued from within this directory unless specified otherwise. + +5. Go into the local repo and run +``` +git remote add upstream https://github.com/stachenov/quazip +``` +This commands tells Git that there is another copy of the same project. +Now that copy will be accessible by the name “upstream”. You could +use any name here, but “upstream” is a common name for such a typical case. +Another typical name is “origin”, which was already added by Git when +you ran the “clone” command. Now run +``` +git remote -v +``` +This command lists the configured remotes: +``` +origin https://github.com/your-user-name/quazip (fetch) +origin https://github.com/your-user-name/quazip (push) +upstream https://github.com/stachenov/quazip (fetch) +upstream https://github.com/stachenov/quazip (push) +``` + +Every remote is listed twice because there are two operations: you can +send (push) commits to a remote repo, or you can receive (fetch/pull) +commits from one. Of course, you can't commit to the upstream because +you have no write permissions for it, but Git doesn't know about it, so +it added both lines for the upstream. Just ignore the push one. + +Now your local repo knows how to exchange commits with your GitHub +account and with the main QuaZIP repo. +You're all set for submitting your first PR. + +If you ever wish to submit another PR, no need to do all this again. +Except that if you delete your local repo, you'll have to redo steps 4 and 5. +But you may need to update your master branch before you start working +on another feature for another PR. See +“Reintegrating the latest upstream changes” below. + +**Making changes and submitting a PR** + +Submitting a PR is easy, but can be confusing first time if you're +not familiar with Git. + +1. Create a new branch in your local repo. This is very important! +Most Git repos, including QuaZIP, have the main branch called “master”. +By creating a new branch you tell Git where your changes begin and end. +This way GitHub can automatically create a patch containing only your +changes. To create a branch, run from your local repo: +``` +git checkout -b new-branch-name +``` +Name the branch whatever you want, it's totally unimportant as it will +be deleted later. If you already have some changes in your working +dir, but have not added/committed them, it's still not too late to create +a new branch, your changes will be kept. + +2. Make whatever changes you want. + +3. Run `git diff` to review the changes. + +4. Run `git add` with all changed/added files as arguments. `git status` +will remind you what files you have changed or added. After you're done, +`git status` should show all your files as “changes to be committed”. +Note that if you change a file, add it, then change it again, +you need to re-run `git add` or you end up committing your file +as it was when you first added it (Git remembers its contents at that time). + +5. Run `git commit`. Enter a meaningful commit message. See Git docs +for examples and recommendations. + +6. Run `git log -p`. It shows what changes you made. It's especially +useful on Windows where `git diff` might have shown that everything is +fine, but `git log -p` mysteriously shows that you have changed every +single line of a file. It means you have screwed up line endings. Don't +worry, you can overwrite your last commit. + +Another useful thing to look for is to look for branch names here. +Your last commit should have something like `HEAD -> my-feature`, +whereas the previous one should have `origin/master`. This is +exactly the kind of information that will be used by GitHub. Everything +that goes after the `origin/master` commit will be included in the patch +you're about to submit. + +6. Run +``` +git push -u origin your-branch-name +``` +This weird command sends your committed changes to your GitHub account. +The `-u` option tells Git to remember that your branch goes to your +account under the same name so you don't have to type it again. + +7. Go to your account's page and open quazip there. You should see a message +informing you about the new branch and offering to create a PR. Just do it. +Don't be afraid to mess something up as your changes aren't going anywhere yet. +If there's something wrong with them, I'll just tell you what and how to fix. + +**How to fix mistakes** + +If you have committed your changes, but not yet pushed it, you can always +replace the last commit. Just fix your mistakes, `git add` modified files +again and then run +``` +git commit --amend +``` +It will look like a regular commit procedure, except that you're not adding +yet another commit to your repo—you're replacing the last one. + +If you have already pushed the last commit, it's no big deal either. Except +that you need to re-push your amended commit to GitHub, and Git by default +will not let you do so. Easy to override, though: +``` +git push --force-with-lease +``` + +**Squashing commits** + +You may end up with a pretty messy history with lots of commits. Before +submitting a PR, you may wish to tidy up your history a bit. It's beyond +this short tutorial to explain how to rewrite history in Git, but the +simplest change you can do is to squash all commits into a single one. +Or perhaps squash some of them. Run +``` +git rebase -i master +``` +This command assumes you never touched the master branch, and all work +was done within your own branch. It will then open up an editor with +something like +``` +pick f564b4c feature +pick 0ea95aa oops +pick 0cbd876 Fixed, finally +``` +The messages and SHA hashes will be different, but you get the list of +your changes since your branch diverged from the master. To join +all the commits into one, edit like this: +``` +pick f564b4c feature +s 0ea95aa oops +s 0cbd876 Fixed, finally +``` +Here, `s` means “squash”, that is, combine with the previous commit. +Next, an editor with combined commit message pops up. Edit it into a +single coherent message and save. Viola! Now you have just one commit. +Note that since this is a kind of history rewrite, just like `--amend`, +you'll have to use `--force-with-lease` to push this history again to +GitHub. + +**Making changes after submitting a PR** + +You can amend commits and squash them after submitting a PR. The PR +will be automatically updated by GitHub. Whatever you do, the PR +will always display the difference between the master branch and +the latest commit on your feature branch. + +**Discussing and closing the PR** + +A PR is sort of a patch attached to a specialized forum topic. +It can be discussed, various pieces of code can be reviewed, +and it ends either by merging the PR, including your changes +in the QuaZIP repo, or closing it without merging if your +changes are rejected for whatever reason. + +If the PR is successfully merged, you can safely delete your +branch. Locally, it is done with +``` +git checkout master +git branch -D your-branch-name +git branch -dr origin/your-branch-name +``` +The first command switches to the master branch +(because it would be weird to delete a branch you're currently on), +the second one deletes the branch itself, the third +one deletes the reference to the remote counterpart in +your GitHub account. Note that only the *reference* +is deleted here, the branch itself stays alive and well +in your account. To delete it, simply go to the PR +and there will be a message saying that the PR is merged +with the “delete branch” button right next to it. + +**Reintegrating the latest upstream changes** + +Suppose some changes were introduced into the master branch while +you were working on your feature. With the traditional +send-patch-by-email approach, whoever applies that patch must +handle all conflicts (rejected hunks) that arise. With Git, +you have a way to fix it before even sending the patch +(submitting the PR). + +Another situation when you need to pull in the changes from +the upstream repo is when you need to submit your next PR, perhaps +years later. You still have your old clone (fork) in your GitHub +account, and perhaps even a local one on your computer. However, +they are probably terribly outdated by now so you need to update +them first. + +Update procedures are similar in both cases. + +1. In either case, you need to make sure you're on the master branch. If +it's an old clone, you're probably are, unless you forgot to clean up. +If you're working on a feature, you're probably on your feature branch. +Make sure your changes are committed before you continue. Then, run +``` +git checkout master +``` +It will bring you back to the master branch. + +2. You need to pull in the changes from the upstream repo. The least +destructive way to do it is to fetch these changes first: +``` +git fetch upstream +``` +This command just fetches data from the upstream repo, but doesn't +touch your working files yet. + +3. Next, you better make sure you have no changes with `git status`. +You probably don't if you remembered not to touch the master branch. + +4. Pull in the latest commits from the upstream: +``` +git merge upstream/master +``` +This will make your master branch identical the one from the upstream. + +5. Push these changes to your GitHub account: +``` +git push origin master +``` +The absence of `-u` means that Git won't remember that the master branch +is connected with `origin`. That's a good thing because there are two +different remote repos for the master branch, and it's much easier to +explicitly specify each time where you want to push it to or pull it +from rather than remembering which one of the remotes it's associated with. + +6. If you were just updating your outdated repo, the procedure ends here. +However, if you were already working on a branch that split off from +the master before this update, now you need to somehow merge your changes +into the new upstream version. There are two ways to do it: merge and rebase. +The QuaZIP way is rebase, so rebase you should do. But first, switch to your branch: +``` +git checkout your-feature-branch +``` + +7. To merge your changes into the new version, run +``` +git rebase master +``` +This basically says: take the current branch, detach it from where it split from +the master, then reattach it to the tip of the new master branch and replay +all the changes that were made, making new commits. This leads you to a linear +history, where you branch just continues on from the master, instead of splitting +from some old version. + +If there are merge conflicts, you have to solve them by editing conflicting files, +then running `git add` on them (which in this case just says you're done with +conflict solving) and finally running `git rebase --continue`. There are much +more advanced conflict solving techniques which are, again, beyond the scope of this +note. diff -Nru libquazip-0.7.3/debian/changelog libquazip-0.7.6/debian/changelog --- libquazip-0.7.3/debian/changelog 2019-11-28 19:06:38.000000000 +0000 +++ libquazip-0.7.6/debian/changelog 2020-09-11 19:39:27.000000000 +0000 @@ -1,23 +1,60 @@ -libquazip (0.7.3-5ubuntu1~16.04.sav2) xenial; urgency=medium +libquazip (0.7.6-2~16.04.sav1) xenial; urgency=medium - * debian/rules: Comment out mv and rm from override_dh_installdocs-indep as - docs are apparently already in correct location with compat level 10 + * Rebuild for ppa:savoury1/qt-xenial + * Update symbols from build logs - -- Rob Savoury Thu, 28 Nov 2019 11:06:38 -0800 + -- Rob Savoury Fri, 11 Sep 2020 12:39:27 -0700 -libquazip (0.7.3-5ubuntu1~16.04.sav1) xenial; urgency=medium +libquazip (0.7.6-2~16.04.sav0) xenial; urgency=medium * Backport to Xenial - * debian/compat: Set compat level to 10 - * Update libquazip1 and libquazip5-1 symbols from build logs + * Update symbols from build logs + * debian/compat: Set compat level to 10 (Launchpad sbuild highest for Xenial) + * debian/rules: Remove mv/rm commands from override_dh_installdocs-indep as + docs are already in correct location with compat level 10 - -- Rob Savoury Thu, 28 Nov 2019 10:41:19 -0800 + -- Rob Savoury Thu, 10 Sep 2020 21:31:07 -0700 -libquazip (0.7.3-5ubuntu1) bionic; urgency=medium +libquazip (0.7.6-2) unstable; urgency=medium - * Adjust symbols file for the -O3 case (Ubuntu/ppc64el). + * Versioned Breaks: libquazip-qt5-1 (<= 0.7-2) + Closes: #898957 + * Standards-Version: 4.2.1 + * Secure URI in copyright format + * Remove trailing whitespace in debian/rules - -- Steve Langasek Thu, 22 Mar 2018 09:27:30 -0700 + -- Andreas Tille Thu, 20 Dec 2018 14:53:30 +0100 + +libquazip (0.7.6-1) unstable; urgency=medium + + * Project moved to Github + * New upstream version + Closes: #902786 + * Build-Depends: doxygen, graphviz + * Some optional symbols were removed + * Switch to d-shlibs + + -- Andreas Tille Sun, 01 Jul 2018 20:26:59 +0200 + +libquazip (0.7.3-7) unstable; urgency=medium + + [ Alf Gaida ] + * Marked some symbols optional and described them as gcc8 + Closes: #897794 + + [ Andreas Tille ] + * Point Vcs fields to salsa.debian.org + * Standards-Version: 4.1.4 + + -- Andreas Tille Sun, 06 May 2018 15:55:07 +0200 + +libquazip (0.7.3-6) unstable; urgency=medium + + [ Steve Langasek ] + * symbols adjustments to support build with -O3 + Closes: #893808 + + -- Andreas Tille Thu, 29 Mar 2018 12:16:05 +0200 libquazip (0.7.3-5) unstable; urgency=medium diff -Nru libquazip-0.7.3/debian/control libquazip-0.7.6/debian/control --- libquazip-0.7.3/debian/control 2018-03-22 16:27:30.000000000 +0000 +++ libquazip-0.7.6/debian/control 2018-12-20 13:53:30.000000000 +0000 @@ -1,26 +1,29 @@ Source: libquazip -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debian Med Packaging Team +Maintainer: Debian Med Packaging Team Uploaders: Eric Maeker , Andreas Tille , Stefan Ahlers Section: libs Priority: optional Build-Depends: debhelper (>= 11~), + d-shlibs, libqt4-dev, cmake, qtbase5-dev, qtchooser, libxext-dev, - zlib1g-dev -Standards-Version: 4.1.3 -Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libquazip.git -Vcs-Git: https://anonscm.debian.org/git/debian-med/libquazip.git -Homepage: https://sourceforge.net/projects/quazip/ + zlib1g-dev, + doxygen, + graphviz +Standards-Version: 4.2.1 +Vcs-Browser: https://salsa.debian.org/med-team/libquazip +Vcs-Git: https://salsa.debian.org/med-team/libquazip.git +Homepage: https://github.com/stachenov/quazip Package: libquazip1 Architecture: any Multi-Arch: same +Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libquazip-doc @@ -70,12 +73,12 @@ Package: libquazip5-1 Architecture: any Multi-Arch: same +Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libquazip-doc Pre-Depends: ${misc:Pre-Depends} -Breaks: libquazip1-qt5, - libquazip-qt5-1 +Breaks: libquazip1-qt5 Provides: libquazip1-qt5, libquazip-qt5-1 Replaces: libquazip1-qt5, @@ -101,8 +104,8 @@ libquazip5-headers (= ${binary:Version}), ${misc:Depends}, zlib1g-dev -Conflicts: libquazip-qt5-1-dev, - libquazip-qt5-dev +Breaks: libquazip-qt5-1-dev (<= 0.7-2), + libquazip-qt5-dev Replaces: libquazip-qt5-1-dev, libquazip-qt5-dev Description: C++ wrapper for ZIP/UNZIP (development files, Qt5 build) diff -Nru libquazip-0.7.3/debian/copyright libquazip-0.7.6/debian/copyright --- libquazip-0.7.3/debian/copyright 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/copyright 2018-12-20 13:53:30.000000000 +0000 @@ -1,6 +1,6 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: quazip -Source: https://sourceforge.net/projects/quazip/ +Source: https://github.com/stachenov/quazip/releases Files: * Copyright: 2005-2016 Sergey A. Tachenov @@ -23,7 +23,7 @@ Remark: Here we are using LGPL to be able to link against a BSD licensed program -Files: quazip/crypt.h quazip/unzip.* quazip/z* +Files: quazip/unzip.* quazip/z* Copyright: 1998-2005 Gilles Vollant, Jean-loup Gailly and Mark Adler License: Info-ZIP Permission is granted to anyone to use this software for any purpose, diff -Nru libquazip-0.7.3/debian/libquazip1.install libquazip-0.7.6/debian/libquazip1.install --- libquazip-0.7.3/debian/libquazip1.install 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip1.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/lib/*/libquazip.so.* diff -Nru libquazip-0.7.3/debian/libquazip1.symbols libquazip-0.7.6/debian/libquazip1.symbols --- libquazip-0.7.3/debian/libquazip1.symbols 2019-11-28 18:31:22.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip1.symbols 2020-09-11 19:33:44.000000000 +0000 @@ -72,6 +72,8 @@ _ZN10QuaZipFileD0Ev@Base 0.7.3 _ZN10QuaZipFileD1Ev@Base 0.7.3 _ZN10QuaZipFileD2Ev@Base 0.7.3 + (optional=gcc8)_ZN11QStringListC1ERK7QString@Base 0.7.3 + (optional=gcc8)_ZN11QStringListC2ERK7QString@Base 0.7.3 _ZN11QuaGzipFile11qt_metacallEN11QMetaObject4CallEiPPv@Base 0.7.3 _ZN11QuaGzipFile11qt_metacastEPKc@Base 0.7.3 _ZN11QuaGzipFile11setFileNameERK7QString@Base 0.7.3 @@ -129,7 +131,7 @@ _ZN16QuaZipFileInfo64D2Ev@Base 0.7.3 _ZN18QAlgorithmsPrivate11qSortHelperIN5QListI16QuaZipFileInfo64E8iteratorES2_19QuaZipDirComparatorEEvT_S6_RKT0_T1_@Base 0.7.3 _ZN18QSharedDataPointerI16QuaZipDirPrivateE13detach_helperEv@Base 0.7.3 - _ZN18QSharedDataPointerI16QuaZipDirPrivateE6detachEv@Base 0.7.3 + _ZN18QSharedDataPointerI16QuaZipDirPrivateE6detachEv@Base 0.7.6 _ZN18QSharedDataPointerI16QuaZipDirPrivateED1Ev@Base 0.7.3 _ZN18QSharedDataPointerI16QuaZipDirPrivateED2Ev@Base 0.7.3 _ZN18QuaGzipFilePrivate4openERK7QStringPKc@Base 0.7.3 @@ -149,7 +151,7 @@ _ZN5QHashI7QString15QHashDummyValueE11deleteNode2EPN9QHashData4NodeE@Base 0.7.3 _ZN5QHashI7QString15QHashDummyValueE13duplicateNodeEPN9QHashData4NodeEPv@Base 0.7.3 _ZN5QHashI7QString16unz64_file_pos_sE11deleteNode2EPN9QHashData4NodeE@Base 0.7.3 - _ZN5QHashI7QString16unz64_file_pos_sE13detach_helperEv@Base 0.7.3 + _ZN5QHashI7QString16unz64_file_pos_sE13detach_helperEv@Base 0.7.6 _ZN5QHashI7QString16unz64_file_pos_sE13duplicateNodeEPN9QHashData4NodeEPv@Base 0.7.3 _ZN5QListI14QuaZipFileInfoE13detach_helperEi@Base 0.7.3 (optional)_ZN5QListI14QuaZipFileInfoE18detach_helper_growEii@Base 0.7.3 @@ -157,14 +159,13 @@ _ZN5QListI14QuaZipFileInfoE6appendERKS0_@Base 0.7.3 _ZN5QListI16QuaZipFileInfo64E13detach_helperEi@Base 0.7.3 (optional)_ZN5QListI16QuaZipFileInfo64E18detach_helper_growEii@Base 0.7.3 - _ZN5QListI16QuaZipFileInfo64E5clearEv@Base 0.7.3 + _ZN5QListI16QuaZipFileInfo64E5clearEv@Base 0.7.6 _ZN5QListI16QuaZipFileInfo64E6appendERKS0_@Base 0.7.3 _ZN5QListI7QStringE13detach_helperEi@Base 0.7.3 _ZN5QListI7QStringE18detach_helper_growEii@Base 0.7.3 - _ZN5QListI7QStringE4freeEPN9QListData4DataE@Base 0.7.3 + _ZN5QListI7QStringE4freeEPN9QListData4DataE@Base 0.7.6 (optional)_ZN5QListI7QStringE5clearEv@Base 0.7.3 _ZN5QListI7QStringE6appendERKS0_@Base 0.7.3 - _ZN5QListI9QFileInfoE13detach_helperEi@Base 0.7.3 _ZN6QuaZip10getUnzFileEv@Base 0.7.3 _ZN6QuaZip10getZipFileEv@Base 0.7.3 _ZN6QuaZip10setCommentERK7QString@Base 0.7.3 @@ -307,7 +308,7 @@ _ZTV11QuaGzipFile@Base 0.7.3 _ZTV12QuaZIODevice@Base 0.7.3 _ZTV8QuaCrc32@Base 0.7.3 - _ZplRK7QStringPKc@Base 0.7.3 + _ZplRK7QStringPKc@Base 0.7.6 call_zopen64@Base 0.7.3 call_zseek64@Base 0.7.3 call_ztell64@Base 0.7.3 diff -Nru libquazip-0.7.3/debian/libquazip5-1.install libquazip-0.7.6/debian/libquazip5-1.install --- libquazip-0.7.3/debian/libquazip5-1.install 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip5-1.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -usr/lib/*/libquazip5.so.* diff -Nru libquazip-0.7.3/debian/libquazip5-1.symbols libquazip-0.7.6/debian/libquazip5-1.symbols --- libquazip-0.7.3/debian/libquazip5-1.symbols 2019-11-28 18:31:26.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip5-1.symbols 2020-09-11 19:39:27.000000000 +0000 @@ -74,6 +74,8 @@ _ZN10QuaZipFileD0Ev@Base 0.7.3 _ZN10QuaZipFileD1Ev@Base 0.7.3 _ZN10QuaZipFileD2Ev@Base 0.7.3 + (optional=gcc8)_ZN11QStringListC1ERK7QString@Base 0.7.3 + (optional=gcc8)_ZN11QStringListC2ERK7QString@Base 0.7.3 _ZN11QuaGzipFile11qt_metacallEN11QMetaObject4CallEiPPv@Base 0.7.3 _ZN11QuaGzipFile11qt_metacastEPKc@Base 0.7.3 _ZN11QuaGzipFile11setFileNameERK7QString@Base 0.7.3 @@ -172,8 +174,6 @@ _ZN5QListI7QStringEC2ERKS1_@Base 0.7.3 _ZN5QListI7QStringED1Ev@Base 0.7.3 _ZN5QListI7QStringED2Ev@Base 0.7.3 - _ZN5QListI9QFileInfoEC1ERKS1_@Base 0.7.3 - _ZN5QListI9QFileInfoEC2ERKS1_@Base 0.7.3 _ZN5QListI9QFileInfoED1Ev@Base 0.7.3 _ZN5QListI9QFileInfoED2Ev@Base 0.7.3 _ZN6QuaZip10getUnzFileEv@Base 0.7.3 diff -Nru libquazip-0.7.3/debian/libquazip5-dev.install libquazip-0.7.6/debian/libquazip5-dev.install --- libquazip-0.7.3/debian/libquazip5-dev.install 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip5-dev.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -usr/lib/*/libquazip5.so -usr/lib/*/libquazip5.a -usr/share/cmake-*/Modules/FindQuaZip5.cmake /usr/share/quazip diff -Nru libquazip-0.7.3/debian/libquazip-dev.install libquazip-0.7.6/debian/libquazip-dev.install --- libquazip-0.7.3/debian/libquazip-dev.install 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip-dev.install 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -usr/lib/*/libquazip.so -usr/lib/*/libquazip.a -usr/share/cmake-*/Modules/FindQuaZip.cmake usr/share/quazip/ diff -Nru libquazip-0.7.3/debian/libquazip-doc.docs libquazip-0.7.6/debian/libquazip-doc.docs --- libquazip-0.7.3/debian/libquazip-doc.docs 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/libquazip-doc.docs 2018-12-20 13:53:30.000000000 +0000 @@ -1,4 +1,4 @@ NEWS -README.txt +README.* doc/html diff -Nru libquazip-0.7.3/debian/patches/logo-breach.patch libquazip-0.7.6/debian/patches/logo-breach.patch --- libquazip-0.7.3/debian/patches/logo-breach.patch 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/patches/logo-breach.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -Author: Eric Maeker -Description: Remove sourceforge logo (privacy-breach-logo) - privacy-breach-logo reported by `lintian -i` -Last-Update: 2014-07-14 -Forwarded: no - ---- a/doc/html/index.html -+++ b/doc/html/index.html -@@ -42,7 +42,7 @@ - -
-
--Powered by SourceForge.net -+SourceForge.net -

- Overview

-

QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit.

diff -Nru libquazip-0.7.3/debian/patches/series libquazip-0.7.6/debian/patches/series --- libquazip-0.7.3/debian/patches/series 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -logo-breach.patch diff -Nru libquazip-0.7.3/debian/rules libquazip-0.7.6/debian/rules --- libquazip-0.7.3/debian/rules 2019-11-28 19:06:38.000000000 +0000 +++ libquazip-0.7.6/debian/rules 2020-09-11 04:29:53.000000000 +0000 @@ -43,17 +43,32 @@ # Qt5 builds - make (dynamic and static) QT_SELECT=qt5 dh_auto_build -B$(QT5_PATH) + # build doc + doxygen + override_dh_auto_clean: dh_auto_clean -B$(QT4_PATH) dh_auto_clean -B$(QT5_PATH) rm -Rf NEWS override_dh_auto_install: - # Install Qt4 packages - dh_auto_install -B$(QT4_PATH) - + dh_auto_install -B$(QT4_PATH) + dh_auto_install -B$(QT5_PATH) # Install Qt5 packages - dh_auto_install -B$(QT5_PATH) + d-shlibmove --commit \ + --multiarch \ + --devunversioned \ + --exclude-la \ + --movedev debian/tmp/usr/share/cmake*/Modules/FindQuaZip5.cmake usr/share/quazip/ \ + debian/tmp/usr/lib/*/libquazip5.so + # Install Qt4 packages + cp -a FindQuaZip.cmake /tmp + d-shlibmove --commit \ + --multiarch \ + --devunversioned \ + --exclude-la \ + --movedev debian/tmp/usr/share/cmake*/Modules/FindQuaZip.cmake usr/share/quazip/ \ + debian/tmp/usr/lib/*/libquazip.so override_dh_installchangelogs: dh_installchangelogs -k NEWS @@ -62,8 +77,8 @@ dh_installdocs -i find debian -name "*.md5" -delete # somehow the docs are installed to libquazip-dev which is not good since there are two -dev packages - #mv debian/*-doc/usr/share/doc/*-dev/html debian/*-doc/usr/share/doc/*-doc - #rm -rf debian/*-doc/usr/share/doc/*-dev +# mv debian/*-doc/usr/share/doc/*-dev/html debian/*-doc/usr/share/doc/*-doc +# rm -rf debian/*-doc/usr/share/doc/*-dev override_dh_missing: dh_missing --fail-missing diff -Nru libquazip-0.7.3/debian/watch libquazip-0.7.6/debian/watch --- libquazip-0.7.3/debian/watch 2018-03-04 20:02:42.000000000 +0000 +++ libquazip-0.7.6/debian/watch 2018-12-20 13:53:30.000000000 +0000 @@ -1,3 +1,3 @@ -version=3 -http://sf.net/quazip/quazip-(.+)\.(?:tar\.gz) -# http://sourceforge.net/projects/quazip/files/quazip/0.4.4/quazip-0.4.4.tar.gz/download +version=4 + +https://github.com/stachenov/quazip/releases .*/archive/@ANY_VERSION@@ARCHIVE_EXT@ diff -Nru libquazip-0.7.3/doc/html/annotated.html libquazip-0.7.6/doc/html/annotated.html --- libquazip-0.7.3/doc/html/annotated.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/annotated.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - -QuaZIP: Class List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
Class List
-
-
-
Here are the classes, structs, unions and interfaces with brief descriptions:
- - - - - - - - - - - - - - - -
oCJlCompressUtility class for typical operations
oCQuaAdler32Adler32 checksum
oCQuaChecksum32Checksum interface
oCQuaCrc32CRC32 checksum
oCQuaGzipFileGZIP file
oCQuaZIODeviceA class to compress/decompress QIODevice
oCQuaZipZIP archive
oCQuaZipDirProvides ZIP archive navigation
oCQuaZipFileA file inside ZIP archive
oCQuaZipFileInfoInformation about a file inside archive
oCQuaZipFileInfo64Information about a file inside archive (with zip64 support)
oCQuaZipFilePrivateThe implementation class for QuaZip
oCQuaZipNewInfoInformation about a file to be created
\CQuaZipPrivateAll the internal stuff for the QuaZip class
-
-
- - - - Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/bc_s.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/bc_s.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/bdwn.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/bdwn.png differ diff -Nru libquazip-0.7.3/doc/html/classes.html libquazip-0.7.6/doc/html/classes.html --- libquazip-0.7.3/doc/html/classes.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classes.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,72 +0,0 @@ - - - - - - -QuaZIP: Class Index - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
Class Index
-
-
-
J | Q
- - - - - - - - -
  J  
-
QuaChecksum32   QuaZip   QuaZipFileInfo64   
QuaCrc32   QuaZipDir   QuaZipFilePrivate   
JlCompress   QuaGzipFile   QuaZipFile   QuaZipNewInfo   
  Q  
-
QuaZIODevice   QuaZipFileInfo   QuaZipPrivate   
QuaAdler32   
-
J | Q
-
- - - - diff -Nru libquazip-0.7.3/doc/html/classJlCompress.html libquazip-0.7.6/doc/html/classJlCompress.html --- libquazip-0.7.3/doc/html/classJlCompress.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classJlCompress.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,666 +0,0 @@ - - - - - - -QuaZIP: JlCompress Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
JlCompress Class Reference
-
-
- -

Utility class for typical operations. - More...

- -

#include <JlCompress.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Static Public Member Functions

static bool compressFile (QString fileCompressed, QString file)
 Compress a single file. More...
 
static bool compressFiles (QString fileCompressed, QStringList files)
 Compress a list of files. More...
 
static bool compressDir (QString fileCompressed, QString dir=QString(), bool recursive=true)
 Compress a whole directory. More...
 
static bool compressDir (QString fileCompressed, QString dir, bool recursive, QDir::Filters filters)
 Compress a whole directory. More...
 
static QString extractFile (QString fileCompressed, QString fileName, QString fileDest=QString())
 Extract a single file. More...
 
static QStringList extractFiles (QString fileCompressed, QStringList files, QString dir=QString())
 Extract a list of files. More...
 
static QStringList extractDir (QString fileCompressed, QString dir=QString())
 Extract a whole archive. More...
 
static QStringList getFileList (QString fileCompressed)
 Get the file list. More...
 
static QString extractFile (QIODevice *ioDevice, QString fileName, QString fileDest=QString())
 Extract a single file. More...
 
static QStringList extractFiles (QIODevice *ioDevice, QStringList files, QString dir=QString())
 Extract a list of files. More...
 
static QStringList extractDir (QIODevice *ioDevice, QString dir=QString())
 Extract a whole archive. More...
 
static QStringList getFileList (QIODevice *ioDevice)
 Get the file list. More...
 
-

Detailed Description

-

Utility class for typical operations.

-

This class contains a number of useful static functions to perform simple operations, such as mass ZIP packing or extraction.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool JlCompress::compressFile (QString fileCompressed,
QString file 
)
-
-static
-
- -

Compress a single file.

-
Parameters
- - - -
fileCompressedThe name of the archive.
fileThe file to compress.
-
-
-
Returns
true if success, false otherwise.
- -

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdCreate, and QuaZip::open().

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool JlCompress::compressFiles (QString fileCompressed,
QStringList files 
)
-
-static
-
- -

Compress a list of files.

-
Parameters
- - - -
fileCompressedThe name of the archive.
filesThe file list to compress.
-
-
-
Returns
true if success, false otherwise.
- -

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdCreate, and QuaZip::open().

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
bool JlCompress::compressDir (QString fileCompressed,
QString dir = QString(),
bool recursive = true 
)
-
-static
-
- -

Compress a whole directory.

-

Does not compress hidden files. See compressDir(QString, QString, bool, QDir::Filters).

-
Parameters
- - - - -
fileCompressedThe name of the archive.
dirThe directory to compress.
recursiveWhether to pack the subdirectories as well, or just regular files.
-
-
-
Returns
true if success, false otherwise.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool JlCompress::compressDir (QString fileCompressed,
QString dir,
bool recursive,
QDir::Filters filters 
)
-
-static
-
- -

Compress a whole directory.

-

Unless filters are specified explicitly, packs only regular non-hidden files (and subdirs, if recursive is true). If filters are specified, they are OR-combined with QDir::AllDirs|QDir::NoDotAndDotDot when searching for dirs and with QDir::Files when searching for files.

-
Parameters
- - - - - -
fileCompressedpath to the resulting archive
dirpath to the directory being compressed
recursiveif true, then the subdirectories are packed as well
filterswhat to pack, filters are applied both when searching for subdirs (if packing recursively) and when looking for files to pack
-
-
-
Returns
true on success, false otherwise
- -

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdCreate, and QuaZip::open().

- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
QString JlCompress::extractFile (QString fileCompressed,
QString fileName,
QString fileDest = QString() 
)
-
-static
-
- -

Extract a single file.

-
Parameters
- - - - -
fileCompressedThe name of the archive.
fileNameThe file to extract.
fileDestThe destination file, assumed to be identical to file if left empty.
-
-
-
Returns
The list of the full paths of the files extracted, empty on failure.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
QStringList JlCompress::extractFiles (QString fileCompressed,
QStringList files,
QString dir = QString() 
)
-
-static
-
- -

Extract a list of files.

-
Parameters
- - - - -
fileCompressedThe name of the archive.
filesThe file list to extract.
dirThe directory to put the files to, the current directory if left empty.
-
-
-
Returns
The list of the full paths of the files extracted, empty on failure.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
QStringList JlCompress::extractDir (QString fileCompressed,
QString dir = QString() 
)
-
-static
-
- -

Extract a whole archive.

-
Parameters
- - - -
fileCompressedThe name of the archive.
dirThe directory to extract to, the current directory if left empty.
-
-
-
Returns
The list of the full paths of the files extracted, empty on failure.
- -
-
- -
-
- - - - - -
- - - - - - - - -
QStringList JlCompress::getFileList (QString fileCompressed)
-
-static
-
- -

Get the file list.

-
Returns
The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
QString JlCompress::extractFile (QIODevice * ioDevice,
QString fileName,
QString fileDest = QString() 
)
-
-static
-
- -

Extract a single file.

-
Parameters
- - - - -
ioDevicepointer to device with compressed data.
fileNameThe file to extract.
fileDestThe destination file, assumed to be identical to file if left empty.
-
-
-
Returns
The list of the full paths of the files extracted, empty on failure.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - -
QStringList JlCompress::extractFiles (QIODevice * ioDevice,
QStringList files,
QString dir = QString() 
)
-
-static
-
- -

Extract a list of files.

-
Parameters
- - - - -
ioDevicepointer to device with compressed data.
filesThe file list to extract.
dirThe directory to put the files to, the current directory if left empty.
-
-
-
Returns
The list of the full paths of the files extracted, empty on failure.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
QStringList JlCompress::extractDir (QIODevice * ioDevice,
QString dir = QString() 
)
-
-static
-
- -

Extract a whole archive.

-
Parameters
- - - -
ioDevicepointer to device with compressed data.
dirThe directory to extract to, the current directory if left empty.
-
-
-
Returns
The list of the full paths of the files extracted, empty on failure.
- -
-
- -
-
- - - - - -
- - - - - - - - -
QStringList JlCompress::getFileList (QIODevice * ioDevice)
-
-static
-
- -

Get the file list.

-
Returns
The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately.
- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classJlCompress-members.html libquazip-0.7.6/doc/html/classJlCompress-members.html --- libquazip-0.7.3/doc/html/classJlCompress-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classJlCompress-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
JlCompress Member List
-
-
- -

This is the complete list of members for JlCompress, including all inherited members.

- - - - - - - - - - - - - -
compressDir(QString fileCompressed, QString dir=QString(), bool recursive=true)JlCompressstatic
compressDir(QString fileCompressed, QString dir, bool recursive, QDir::Filters filters)JlCompressstatic
compressFile(QString fileCompressed, QString file)JlCompressstatic
compressFiles(QString fileCompressed, QStringList files)JlCompressstatic
extractDir(QString fileCompressed, QString dir=QString())JlCompressstatic
extractDir(QIODevice *ioDevice, QString dir=QString())JlCompressstatic
extractFile(QString fileCompressed, QString fileName, QString fileDest=QString())JlCompressstatic
extractFile(QIODevice *ioDevice, QString fileName, QString fileDest=QString())JlCompressstatic
extractFiles(QString fileCompressed, QStringList files, QString dir=QString())JlCompressstatic
extractFiles(QIODevice *ioDevice, QStringList files, QString dir=QString())JlCompressstatic
getFileList(QString fileCompressed)JlCompressstatic
getFileList(QIODevice *ioDevice)JlCompressstatic
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaAdler32__coll__graph.map libquazip-0.7.6/doc/html/classQuaAdler32__coll__graph.map --- libquazip-0.7.3/doc/html/classQuaAdler32__coll__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaAdler32__coll__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/classQuaAdler32__coll__graph.md5 libquazip-0.7.6/doc/html/classQuaAdler32__coll__graph.md5 --- libquazip-0.7.3/doc/html/classQuaAdler32__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaAdler32__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -795e0a3b4a0bae2411933397a89b71a1 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaAdler32__coll__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaAdler32__coll__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaAdler32.html libquazip-0.7.6/doc/html/classQuaAdler32.html --- libquazip-0.7.3/doc/html/classQuaAdler32.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaAdler32.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,194 +0,0 @@ - - - - - - -QuaZIP: QuaAdler32 Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaAdler32 Class Reference
-
-
- -

Adler32 checksum. - More...

- -

#include <quazip/quaadler32.h>

-
-Inheritance diagram for QuaAdler32:
-
-
Inheritance graph
- - -
[legend]
-
-Collaboration diagram for QuaAdler32:
-
-
Collaboration graph
- - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

quint32 calculate (const QByteArray &data)
 Calculates the checksum for data. More...
 
-void reset ()
 Resets the calculation on a checksun for a stream.
 
void update (const QByteArray &buf)
 Updates the calculated checksum for the stream. More...
 
quint32 value ()
 Value of the checksum calculated for the stream passed throw update(). More...
 
-

Detailed Description

-

Adler32 checksum.

-

This class wrappers the adler32 function with the QuaChecksum32 interface. See QuaChecksum32 for more info.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
quint32 QuaAdler32::calculate (const QByteArray & data)
-
-virtual
-
- -

Calculates the checksum for data.

-

data source data

-
Returns
data checksum
-

This function has no efect on the value returned by value().

- -

Implements QuaChecksum32.

- -
-
- -
-
- - - - - -
- - - - - - - - -
void QuaAdler32::update (const QByteArray & buf)
-
-virtual
-
- -

Updates the calculated checksum for the stream.

-

buf next portion of data from the stream

- -

Implements QuaChecksum32.

- -
-
- -
-
- - - - - -
- - - - - - - -
quint32 QuaAdler32::value ()
-
-virtual
-
- -

Value of the checksum calculated for the stream passed throw update().

-
Returns
checksum
- -

Implements QuaChecksum32.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaAdler32__inherit__graph.map libquazip-0.7.6/doc/html/classQuaAdler32__inherit__graph.map --- libquazip-0.7.3/doc/html/classQuaAdler32__inherit__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaAdler32__inherit__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/classQuaAdler32__inherit__graph.md5 libquazip-0.7.6/doc/html/classQuaAdler32__inherit__graph.md5 --- libquazip-0.7.3/doc/html/classQuaAdler32__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaAdler32__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -795e0a3b4a0bae2411933397a89b71a1 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaAdler32__inherit__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaAdler32__inherit__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaAdler32-members.html libquazip-0.7.6/doc/html/classQuaAdler32-members.html --- libquazip-0.7.3/doc/html/classQuaAdler32-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaAdler32-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaAdler32 Member List
-
-
- -

This is the complete list of members for QuaAdler32, including all inherited members.

- - - - - - -
calculate(const QByteArray &data)QuaAdler32virtual
QuaAdler32() (defined in QuaAdler32)QuaAdler32
reset()QuaAdler32virtual
update(const QByteArray &buf)QuaAdler32virtual
value()QuaAdler32virtual
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaChecksum32.html libquazip-0.7.6/doc/html/classQuaChecksum32.html --- libquazip-0.7.3/doc/html/classQuaChecksum32.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaChecksum32.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,197 +0,0 @@ - - - - - - -QuaZIP: QuaChecksum32 Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaChecksum32 Class Referenceabstract
-
-
- -

Checksum interface. - More...

- -

#include <quazip/quachecksum32.h>

-
-Inheritance diagram for QuaChecksum32:
-
-
Inheritance graph
- - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

virtual quint32 calculate (const QByteArray &data)=0
 Calculates the checksum for data. More...
 
-virtual void reset ()=0
 Resets the calculation on a checksun for a stream.
 
virtual void update (const QByteArray &buf)=0
 Updates the calculated checksum for the stream. More...
 
virtual quint32 value ()=0
 Value of the checksum calculated for the stream passed throw update(). More...
 
-

Detailed Description

-

Checksum interface.

-

This is an interface for 32 bit checksums. Classes implementing this interface can calcunate a certin checksum in a single step:

-
QChecksum32 *crc32 = new QuaCrc32();
-
rasoult = crc32->calculate(data);
-

or by streaming the data:

-
QChecksum32 *crc32 = new QuaCrc32();
-
while(!fileA.atEnd())
-
crc32->update(fileA.read(bufSize));
-
resoultA = crc32->value();
-
crc32->reset();
-
while(!fileB.atEnd())
-
crc32->update(fileB.read(bufSize));
-
resoultB = crc32->value();
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
virtual quint32 QuaChecksum32::calculate (const QByteArray & data)
-
-pure virtual
-
- -

Calculates the checksum for data.

-

data source data

-
Returns
data checksum
-

This function has no efect on the value returned by value().

- -

Implemented in QuaAdler32, and QuaCrc32.

- -
-
- -
-
- - - - - -
- - - - - - - - -
virtual void QuaChecksum32::update (const QByteArray & buf)
-
-pure virtual
-
- -

Updates the calculated checksum for the stream.

-

buf next portion of data from the stream

- -

Implemented in QuaAdler32, and QuaCrc32.

- -
-
- -
-
- - - - - -
- - - - - - - -
virtual quint32 QuaChecksum32::value ()
-
-pure virtual
-
- -

Value of the checksum calculated for the stream passed throw update().

-
Returns
checksum
- -

Implemented in QuaAdler32, and QuaCrc32.

- -
-
-
The documentation for this class was generated from the following file: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaChecksum32__inherit__graph.map libquazip-0.7.6/doc/html/classQuaChecksum32__inherit__graph.map --- libquazip-0.7.3/doc/html/classQuaChecksum32__inherit__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaChecksum32__inherit__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ - - - - diff -Nru libquazip-0.7.3/doc/html/classQuaChecksum32__inherit__graph.md5 libquazip-0.7.6/doc/html/classQuaChecksum32__inherit__graph.md5 --- libquazip-0.7.3/doc/html/classQuaChecksum32__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaChecksum32__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -5b48ecc144d4d5efcb34bba2670a3897 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaChecksum32__inherit__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaChecksum32__inherit__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaChecksum32-members.html libquazip-0.7.6/doc/html/classQuaChecksum32-members.html --- libquazip-0.7.3/doc/html/classQuaChecksum32-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaChecksum32-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,66 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaChecksum32 Member List
-
-
- -

This is the complete list of members for QuaChecksum32, including all inherited members.

- - - - - -
calculate(const QByteArray &data)=0QuaChecksum32pure virtual
reset()=0QuaChecksum32pure virtual
update(const QByteArray &buf)=0QuaChecksum32pure virtual
value()=0QuaChecksum32pure virtual
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaCrc32__coll__graph.map libquazip-0.7.6/doc/html/classQuaCrc32__coll__graph.map --- libquazip-0.7.3/doc/html/classQuaCrc32__coll__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaCrc32__coll__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/classQuaCrc32__coll__graph.md5 libquazip-0.7.6/doc/html/classQuaCrc32__coll__graph.md5 --- libquazip-0.7.3/doc/html/classQuaCrc32__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaCrc32__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -5b4a33bc446c21199b866ccdd40d2554 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaCrc32__coll__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaCrc32__coll__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaCrc32.html libquazip-0.7.6/doc/html/classQuaCrc32.html --- libquazip-0.7.3/doc/html/classQuaCrc32.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaCrc32.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,194 +0,0 @@ - - - - - - -QuaZIP: QuaCrc32 Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaCrc32 Class Reference
-
-
- -

CRC32 checksum. - More...

- -

#include <quazip/quacrc32.h>

-
-Inheritance diagram for QuaCrc32:
-
-
Inheritance graph
- - -
[legend]
-
-Collaboration diagram for QuaCrc32:
-
-
Collaboration graph
- - -
[legend]
- - - - - - - - - - - - - - -

-Public Member Functions

quint32 calculate (const QByteArray &data)
 Calculates the checksum for data. More...
 
-void reset ()
 Resets the calculation on a checksun for a stream.
 
void update (const QByteArray &buf)
 Updates the calculated checksum for the stream. More...
 
quint32 value ()
 Value of the checksum calculated for the stream passed throw update(). More...
 
-

Detailed Description

-

CRC32 checksum.

-

This class wrappers the crc32 function with the QuaChecksum32 interface. See QuaChecksum32 for more info.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
quint32 QuaCrc32::calculate (const QByteArray & data)
-
-virtual
-
- -

Calculates the checksum for data.

-

data source data

-
Returns
data checksum
-

This function has no efect on the value returned by value().

- -

Implements QuaChecksum32.

- -
-
- -
-
- - - - - -
- - - - - - - - -
void QuaCrc32::update (const QByteArray & buf)
-
-virtual
-
- -

Updates the calculated checksum for the stream.

-

buf next portion of data from the stream

- -

Implements QuaChecksum32.

- -
-
- -
-
- - - - - -
- - - - - - - -
quint32 QuaCrc32::value ()
-
-virtual
-
- -

Value of the checksum calculated for the stream passed throw update().

-
Returns
checksum
- -

Implements QuaChecksum32.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaCrc32__inherit__graph.map libquazip-0.7.6/doc/html/classQuaCrc32__inherit__graph.map --- libquazip-0.7.3/doc/html/classQuaCrc32__inherit__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaCrc32__inherit__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/classQuaCrc32__inherit__graph.md5 libquazip-0.7.6/doc/html/classQuaCrc32__inherit__graph.md5 --- libquazip-0.7.3/doc/html/classQuaCrc32__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaCrc32__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -5b4a33bc446c21199b866ccdd40d2554 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaCrc32__inherit__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaCrc32__inherit__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaCrc32-members.html libquazip-0.7.6/doc/html/classQuaCrc32-members.html --- libquazip-0.7.3/doc/html/classQuaCrc32-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaCrc32-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,67 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaCrc32 Member List
-
-
- -

This is the complete list of members for QuaCrc32, including all inherited members.

- - - - - - -
calculate(const QByteArray &data)QuaCrc32virtual
QuaCrc32() (defined in QuaCrc32)QuaCrc32
reset()QuaCrc32virtual
update(const QByteArray &buf)QuaCrc32virtual
value()QuaCrc32virtual
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaGzipFile__coll__graph.map libquazip-0.7.6/doc/html/classQuaGzipFile__coll__graph.map --- libquazip-0.7.3/doc/html/classQuaGzipFile__coll__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaGzipFile__coll__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ - - diff -Nru libquazip-0.7.3/doc/html/classQuaGzipFile__coll__graph.md5 libquazip-0.7.6/doc/html/classQuaGzipFile__coll__graph.md5 --- libquazip-0.7.3/doc/html/classQuaGzipFile__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaGzipFile__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -e0277ee552f5a008221020ca6b772194 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaGzipFile__coll__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaGzipFile__coll__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaGzipFile.html libquazip-0.7.6/doc/html/classQuaGzipFile.html --- libquazip-0.7.3/doc/html/classQuaGzipFile.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaGzipFile.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,349 +0,0 @@ - - - - - - -QuaZIP: QuaGzipFile Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
- -
- -

GZIP file. - More...

- -

#include <quagzipfile.h>

-
-Inheritance diagram for QuaGzipFile:
-
-
Inheritance graph
- - -
[legend]
-
-Collaboration diagram for QuaGzipFile:
-
-
Collaboration graph
- - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 QuaGzipFile ()
 Empty constructor. More...
 
 QuaGzipFile (QObject *parent)
 Empty constructor with a parent. More...
 
 QuaGzipFile (const QString &fileName, QObject *parent=NULL)
 Constructor. More...
 
-virtual ~QuaGzipFile ()
 Destructor.
 
-void setFileName (const QString &fileName)
 Sets the name of the GZIP file to be opened.
 
-QString getFileName () const
 Returns the name of the GZIP file.
 
virtual bool isSequential () const
 Returns true. More...
 
virtual bool open (QIODevice::OpenMode mode)
 Opens the file. More...
 
virtual bool open (int fd, QIODevice::OpenMode mode)
 Opens the file. More...
 
virtual bool flush ()
 Flushes data to file. More...
 
-virtual void close ()
 Closes the file.
 
- - - - - - - -

-Protected Member Functions

-virtual qint64 readData (char *data, qint64 maxSize)
 Implementation of QIODevice::readData().
 
-virtual qint64 writeData (const char *data, qint64 maxSize)
 Implementation of QIODevice::writeData().
 
-

Detailed Description

-

GZIP file.

-

This class is a wrapper around GZIP file access functions in zlib. Unlike QuaZip classes, it doesn't allow reading from a GZIP file opened as QIODevice, for example, if your GZIP file is in QBuffer. It only provides QIODevice access to a GZIP file contents, but the GZIP file itself must be identified by its name on disk or by descriptor id.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - -
QuaGzipFile::QuaGzipFile ()
-
- -

Empty constructor.

-

Must call setFileName() before trying to open.

- -
-
- -
-
- - - - - - - - -
QuaGzipFile::QuaGzipFile (QObject * parent)
-
- -

Empty constructor with a parent.

-

Must call setFileName() before trying to open.

-
Parameters
- - -
parentThe parent object, as per QObject logic.
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QuaGzipFile::QuaGzipFile (const QString & fileName,
QObject * parent = NULL 
)
-
- -

Constructor.

-
Parameters
- - - -
fileNameThe name of the GZIP file.
parentThe parent object, as per QObject logic.
-
-
- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
bool QuaGzipFile::isSequential () const
-
-virtual
-
- -

Returns true.

-

Strictly speaking, zlib supports seeking for GZIP files, but it is poorly implemented, because there is no way to implement it properly. For reading, seeking backwards is very slow, and for writing, it is downright impossible. Therefore, QuaGzipFile does not support seeking at all.

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool QuaGzipFile::open (QIODevice::OpenMode mode)
-
-virtual
-
- -

Opens the file.

-
Parameters
- - -
modeCan be either QIODevice::Write or QIODevice::Read. ReadWrite and Append aren't supported.
-
-
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool QuaGzipFile::open (int fd,
QIODevice::OpenMode mode 
)
-
-virtual
-
- -

Opens the file.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-
Parameters
- - - -
fdThe file descriptor to read/write the GZIP file from/to.
modeCan be either QIODevice::Write or QIODevice::Read. ReadWrite and Append aren't supported.
-
-
- -
-
- -
-
- - - - - -
- - - - - - - -
bool QuaGzipFile::flush ()
-
-virtual
-
- -

Flushes data to file.

-

The data is written using Z_SYNC_FLUSH mode. Doesn't make any sense when reading.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaGzipFile__inherit__graph.map libquazip-0.7.6/doc/html/classQuaGzipFile__inherit__graph.map --- libquazip-0.7.3/doc/html/classQuaGzipFile__inherit__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaGzipFile__inherit__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ - - diff -Nru libquazip-0.7.3/doc/html/classQuaGzipFile__inherit__graph.md5 libquazip-0.7.6/doc/html/classQuaGzipFile__inherit__graph.md5 --- libquazip-0.7.3/doc/html/classQuaGzipFile__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaGzipFile__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -e0277ee552f5a008221020ca6b772194 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaGzipFile__inherit__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaGzipFile__inherit__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaGzipFile-members.html libquazip-0.7.6/doc/html/classQuaGzipFile-members.html --- libquazip-0.7.3/doc/html/classQuaGzipFile-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaGzipFile-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,75 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaGzipFile Member List
-
-
- -

This is the complete list of members for QuaGzipFile, including all inherited members.

- - - - - - - - - - - - - - -
close()QuaGzipFilevirtual
flush()QuaGzipFilevirtual
getFileName() const QuaGzipFile
isSequential() const QuaGzipFilevirtual
open(QIODevice::OpenMode mode)QuaGzipFilevirtual
open(int fd, QIODevice::OpenMode mode)QuaGzipFilevirtual
QuaGzipFile()QuaGzipFile
QuaGzipFile(QObject *parent)QuaGzipFile
QuaGzipFile(const QString &fileName, QObject *parent=NULL)QuaGzipFile
readData(char *data, qint64 maxSize)QuaGzipFileprotectedvirtual
setFileName(const QString &fileName)QuaGzipFile
writeData(const char *data, qint64 maxSize)QuaGzipFileprotectedvirtual
~QuaGzipFile()QuaGzipFilevirtual
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZIODevice__coll__graph.map libquazip-0.7.6/doc/html/classQuaZIODevice__coll__graph.map --- libquazip-0.7.3/doc/html/classQuaZIODevice__coll__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZIODevice__coll__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ - - diff -Nru libquazip-0.7.3/doc/html/classQuaZIODevice__coll__graph.md5 libquazip-0.7.6/doc/html/classQuaZIODevice__coll__graph.md5 --- libquazip-0.7.3/doc/html/classQuaZIODevice__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZIODevice__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -bee37f07c3561c0975a5aed194b73e95 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaZIODevice__coll__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaZIODevice__coll__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaZIODevice.html libquazip-0.7.6/doc/html/classQuaZIODevice.html --- libquazip-0.7.3/doc/html/classQuaZIODevice.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZIODevice.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,269 +0,0 @@ - - - - - - -QuaZIP: QuaZIODevice Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZIODevice Class Reference
-
-
- -

A class to compress/decompress QIODevice. - More...

- -

#include <quaziodevice.h>

-
-Inheritance diagram for QuaZIODevice:
-
-
Inheritance graph
- - -
[legend]
-
-Collaboration diagram for QuaZIODevice:
-
-
Collaboration graph
- - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 QuaZIODevice (QIODevice *io, QObject *parent=NULL)
 Constructor. More...
 
~QuaZIODevice ()
 Destructor.
 
virtual bool flush ()
 Flushes data waiting to be written. More...
 
virtual bool open (QIODevice::OpenMode mode)
 Opens the device. More...
 
virtual void close ()
 Closes this device, but not the underlying one. More...
 
-QIODevice * getIoDevice () const
 Returns the underlying device.
 
-virtual bool isSequential () const
 Returns true.
 
-virtual bool atEnd () const
 Returns true iff the end of the compressed stream is reached.
 
-virtual qint64 bytesAvailable () const
 Returns the number of the bytes buffered.
 
- - - - - - - -

-Protected Member Functions

-virtual qint64 readData (char *data, qint64 maxSize)
 Implementation of QIODevice::readData().
 
-virtual qint64 writeData (const char *data, qint64 maxSize)
 Implementation of QIODevice::writeData().
 
-

Detailed Description

-

A class to compress/decompress QIODevice.

-

This class can be used to compress any data written to QIODevice or decompress it back. Compressing data sent over a QTcpSocket is a good example.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
QuaZIODevice::QuaZIODevice (QIODevice * io,
QObject * parent = NULL 
)
-
- -

Constructor.

-
Parameters
- - - -
ioThe QIODevice to read/write.
parentThe parent object, as per QObject logic.
-
-
- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
bool QuaZIODevice::flush ()
-
-virtual
-
- -

Flushes data waiting to be written.

-

Unfortunately, as QIODevice doesn't support flush() by itself, the only thing this method does is write the compressed data into the device using Z_SYNC_FLUSH mode. If you need the compressed data to actually be flushed from the buffer of the underlying QIODevice, you need to call its flush() method as well, providing it supports it (like QTcpSocket does). Example:

-
QuaZIODevice dev(&sock);
-
dev.open(QIODevice::Write);
-
dev.write(yourDataGoesHere);
-
dev.flush();
-
sock->flush(); // this actually sends data to network
-

This may change in the future versions of QuaZIP by implementing an ugly hack: trying to cast the QIODevice using qobject_cast to known flush()-supporting subclasses, and calling flush if the resulting pointer is not zero.

- -

Referenced by close().

- -
-
- -
-
- - - - - -
- - - - - - - - -
bool QuaZIODevice::open (QIODevice::OpenMode mode)
-
-virtual
-
- -

Opens the device.

-
Parameters
- - -
modeNeither QIODevice::ReadWrite nor QIODevice::Append are not supported.
-
-
- -
-
- -
-
- - - - - -
- - - - - - - -
void QuaZIODevice::close ()
-
-virtual
-
- -

Closes this device, but not the underlying one.

-

The underlying QIODevice is not closed in case you want to write something else to it.

- -

References flush().

- -

Referenced by ~QuaZIODevice().

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZIODevice__inherit__graph.map libquazip-0.7.6/doc/html/classQuaZIODevice__inherit__graph.map --- libquazip-0.7.3/doc/html/classQuaZIODevice__inherit__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZIODevice__inherit__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ - - diff -Nru libquazip-0.7.3/doc/html/classQuaZIODevice__inherit__graph.md5 libquazip-0.7.6/doc/html/classQuaZIODevice__inherit__graph.md5 --- libquazip-0.7.3/doc/html/classQuaZIODevice__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZIODevice__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -bee37f07c3561c0975a5aed194b73e95 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaZIODevice__inherit__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaZIODevice__inherit__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaZIODevice-members.html libquazip-0.7.6/doc/html/classQuaZIODevice-members.html --- libquazip-0.7.3/doc/html/classQuaZIODevice-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZIODevice-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,73 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZIODevice Member List
-
-
- -

This is the complete list of members for QuaZIODevice, including all inherited members.

- - - - - - - - - - - - -
atEnd() const QuaZIODevicevirtual
bytesAvailable() const QuaZIODevicevirtual
close()QuaZIODevicevirtual
flush()QuaZIODevicevirtual
getIoDevice() const QuaZIODevice
isSequential() const QuaZIODevicevirtual
open(QIODevice::OpenMode mode)QuaZIODevicevirtual
QuaZIODevice(QIODevice *io, QObject *parent=NULL)QuaZIODevice
readData(char *data, qint64 maxSize)QuaZIODeviceprotectedvirtual
writeData(const char *data, qint64 maxSize)QuaZIODeviceprotectedvirtual
~QuaZIODevice()QuaZIODevice
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipDir.html libquazip-0.7.6/doc/html/classQuaZipDir.html --- libquazip-0.7.3/doc/html/classQuaZipDir.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipDir.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,669 +0,0 @@ - - - - - - -QuaZIP: QuaZipDir Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZipDir Class Reference
-
-
- -

Provides ZIP archive navigation. - More...

- -

#include <quazipdir.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

QuaZipDir (const QuaZipDir &that)
 The copy constructor.
 
 QuaZipDir (QuaZip *zip, const QString &dir=QString())
 Constructs a QuaZipDir instance pointing to the specified directory. More...
 
~QuaZipDir ()
 Destructor.
 
-bool operator== (const QuaZipDir &that)
 The assignment operator.
 
bool operator!= (const QuaZipDir &that)
 operator!= More...
 
QuaZipDiroperator= (const QuaZipDir &that)
 operator== More...
 
-QString operator[] (int pos) const
 Returns the name of the entry at the specified position.
 
-QuaZip::CaseSensitivity caseSensitivity () const
 Returns the current case sensitivity mode.
 
bool cd (const QString &dirName)
 Changes the 'current' directory. More...
 
-bool cdUp ()
 Goes up.
 
-uint count () const
 Returns the number of entries in the directory.
 
QString dirName () const
 Returns the current directory name. More...
 
QList< QuaZipFileInfoentryInfoList (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory. More...
 
QList< QuaZipFileInfoentryInfoList (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory. More...
 
QList< QuaZipFileInfo64entryInfoList64 (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory with zip64 support. More...
 
QList< QuaZipFileInfo64entryInfoList64 (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory with zip64 support. More...
 
QStringList entryList (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entry names in the directory. More...
 
QStringList entryList (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entry names in the directory. More...
 
bool exists (const QString &fileName) const
 Returns true if the entry with the specified name exists. More...
 
-bool exists () const
 Return true if the directory pointed by this QuaZipDir exists.
 
QString filePath (const QString &fileName) const
 Returns the full path to the specified file. More...
 
-QDir::Filters filter ()
 Returns the default filter.
 
bool isRoot () const
 Returns if the QuaZipDir points to the root of the archive. More...
 
-QStringList nameFilters () const
 Return the default name filter.
 
QString path () const
 Returns the path to the current dir. More...
 
QString relativeFilePath (const QString &fileName) const
 Returns the path to the specified file relative to the current dir. More...
 
-void setCaseSensitivity (QuaZip::CaseSensitivity caseSensitivity)
 Sets the default case sensitivity mode.
 
-void setFilter (QDir::Filters filters)
 Sets the default filter.
 
-void setNameFilters (const QStringList &nameFilters)
 Sets the default name filter.
 
void setPath (const QString &path)
 Goes to the specified path. More...
 
-void setSorting (QDir::SortFlags sort)
 Sets the default sorting mode.
 
-QDir::SortFlags sorting () const
 Returns the default sorting mode.
 
-

Detailed Description

-

Provides ZIP archive navigation.

-

This class is modelled after QDir, and is designed to provide similar features for ZIP archives.

-

The only significant difference from QDir is that the root path is not '/', but an empty string since that's how the file paths are stored in the archive. However, QuaZipDir understands the paths starting with '/'. It is important in a few places:

-
    -
  • In the cd() function.
  • -
  • In the constructor.
  • -
  • In the exists() function.
  • -
  • In the relativePath() function.
  • -
-

Note that since ZIP uses '/' on all platforms, the '\' separator is not supported.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
QuaZipDir::QuaZipDir (QuaZipzip,
const QString & dir = QString() 
)
-
- -

Constructs a QuaZipDir instance pointing to the specified directory.

-

If dir is not specified, points to the root of the archive. The same happens if the dir is "/".

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
bool QuaZipDir::operator!= (const QuaZipDirthat)
-
-inline
-
- -

operator!=

-
Returns
true if either this and that use different QuaZip instances or if they point to different directories.
- -
-
- -
-
- - - - - - - - -
QuaZipDir & QuaZipDir::operator= (const QuaZipDirthat)
-
- -

operator==

-
Returns
true if both this and that use the same QuaZip instance and point to the same directory.
- -
-
- -
-
- - - - - - - - -
bool QuaZipDir::cd (const QString & dirName)
-
- -

Changes the 'current' directory.

-

If the path starts with '/', it is interpreted as an absolute path from the root of the archive. Otherwise, it is interpreted as a path relative to the current directory as was set by the previous cd() or the constructor.

-

Note that the subsequent path() call will not return a path starting with '/' in all cases.

- -

References cd(), dirName(), exists(), isRoot(), and path().

- -

Referenced by cd(), and cdUp().

- -
-
- -
-
- - - - - - - -
QString QuaZipDir::dirName () const
-
- -

Returns the current directory name.

-

The name doesn't include the path.

- -

Referenced by cd().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
QList< QuaZipFileInfo > QuaZipDir::entryInfoList (const QStringList & nameFilters,
QDir::Filters filters = QDir::NoFilter,
QDir::SortFlags sort = QDir::NoSort 
) const
-
- -

Returns the list of the entries in the directory.

-
Parameters
- - - - -
nameFiltersThe list of file patterns to list, uses the same syntax as QDir.
filtersThe entry type filters, only Files and Dirs are accepted.
sortSorting mode.
-
-
- -

Referenced by entryInfoList().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QList< QuaZipFileInfo > QuaZipDir::entryInfoList (QDir::Filters filters = QDir::NoFilter,
QDir::SortFlags sort = QDir::NoSort 
) const
-
- -

Returns the list of the entries in the directory.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-

The same as entryInfoList(QStringList(), filters, sort).

- -

References entryInfoList().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
QList< QuaZipFileInfo64 > QuaZipDir::entryInfoList64 (const QStringList & nameFilters,
QDir::Filters filters = QDir::NoFilter,
QDir::SortFlags sort = QDir::NoSort 
) const
-
- -

Returns the list of the entries in the directory with zip64 support.

-
Parameters
- - - - -
nameFiltersThe list of file patterns to list, uses the same syntax as QDir.
filtersThe entry type filters, only Files and Dirs are accepted.
sortSorting mode.
-
-
- -

Referenced by entryInfoList64().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QList< QuaZipFileInfo64 > QuaZipDir::entryInfoList64 (QDir::Filters filters = QDir::NoFilter,
QDir::SortFlags sort = QDir::NoSort 
) const
-
- -

Returns the list of the entries in the directory with zip64 support.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-

The same as entryInfoList64(QStringList(), filters, sort).

- -

References entryInfoList64().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
QStringList QuaZipDir::entryList (const QStringList & nameFilters,
QDir::Filters filters = QDir::NoFilter,
QDir::SortFlags sort = QDir::NoSort 
) const
-
- -

Returns the list of the entry names in the directory.

-

The same as entryInfoList(nameFilters, filters, sort), but only returns entry names.

- -

Referenced by count(), entryList(), exists(), and operator[]().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QStringList QuaZipDir::entryList (QDir::Filters filters = QDir::NoFilter,
QDir::SortFlags sort = QDir::NoSort 
) const
-
- -

Returns the list of the entry names in the directory.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-

The same as entryList(QStringList(), filters, sort).

- -

References entryList().

- -
-
- -
-
- - - - - - - - -
bool QuaZipDir::exists (const QString & fileName) const
-
- -

Returns true if the entry with the specified name exists.

-

The ".." is considered to exist if the current directory is not root. The "." and "/" are considered to always exist. Paths starting with "/" are relative to the archive root, other paths are relative to the current dir.

- -

References QuaZip::convertCaseSensitivity(), entryList(), filePath(), and isRoot().

- -
-
- -
-
- - - - - - - - -
QString QuaZipDir::filePath (const QString & fileName) const
-
- -

Returns the full path to the specified file.

-

Doesn't check if the file actually exists.

- -

Referenced by exists().

- -
-
- -
-
- - - - - - - -
bool QuaZipDir::isRoot () const
-
- -

Returns if the QuaZipDir points to the root of the archive.

-

Not that the root path is the empty string, not '/'.

- -

Referenced by cd(), and exists().

- -
-
- -
-
- - - - - - - -
QString QuaZipDir::path () const
-
- -

Returns the path to the current dir.

-

The path never starts with '/', and the root path is an empty string.

- -

Referenced by cd(), and setPath().

- -
-
- -
-
- - - - - - - - -
QString QuaZipDir::relativeFilePath (const QString & fileName) const
-
- -

Returns the path to the specified file relative to the current dir.

-

This function is mostly useless, provided only for the sake of completeness.

-
Parameters
- - -
fileNameThe path to the file, should start with "/" if relative to the archive root.
-
-
-
Returns
Path relative to the current dir.
- -
-
- -
-
- - - - - - - - -
void QuaZipDir::setPath (const QString & path)
-
- -

Goes to the specified path.

-

The difference from cd() is that this function never checks if the path actually exists and doesn't use relative paths, so it's possible to go to the root directory with setPath("").

-

Note that this function still chops the trailing and/or leading '/' and treats a single '/' as the root path (path() will still return an empty string).

- -

References path().

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipDir-members.html libquazip-0.7.6/doc/html/classQuaZipDir-members.html --- libquazip-0.7.3/doc/html/classQuaZipDir-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipDir-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,94 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipDir Member List
-
-
- -

This is the complete list of members for QuaZipDir, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
caseSensitivity() const QuaZipDir
cd(const QString &dirName)QuaZipDir
cdUp()QuaZipDir
count() const QuaZipDir
dirName() const QuaZipDir
entryInfoList(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryInfoList(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryInfoList64(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryInfoList64(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryList(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryList(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
exists(const QString &fileName) const QuaZipDir
exists() const QuaZipDir
filePath(const QString &fileName) const QuaZipDir
filter()QuaZipDir
isRoot() const QuaZipDir
nameFilters() const QuaZipDir
operator!=(const QuaZipDir &that)QuaZipDirinline
operator=(const QuaZipDir &that)QuaZipDir
operator==(const QuaZipDir &that)QuaZipDir
operator[](int pos) const QuaZipDir
path() const QuaZipDir
QuaZipDir(const QuaZipDir &that)QuaZipDir
QuaZipDir(QuaZip *zip, const QString &dir=QString())QuaZipDir
relativeFilePath(const QString &fileName) const QuaZipDir
setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity)QuaZipDir
setFilter(QDir::Filters filters)QuaZipDir
setNameFilters(const QStringList &nameFilters)QuaZipDir
setPath(const QString &path)QuaZipDir
setSorting(QDir::SortFlags sort)QuaZipDir
sorting() const QuaZipDir
~QuaZipDir()QuaZipDir
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipFile__coll__graph.map libquazip-0.7.6/doc/html/classQuaZipFile__coll__graph.map --- libquazip-0.7.3/doc/html/classQuaZipFile__coll__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFile__coll__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipFile__coll__graph.md5 libquazip-0.7.6/doc/html/classQuaZipFile__coll__graph.md5 --- libquazip-0.7.3/doc/html/classQuaZipFile__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFile__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -0f27cd2f62b73e752c173777f208a383 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaZipFile__coll__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaZipFile__coll__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaZipFile.html libquazip-0.7.6/doc/html/classQuaZipFile.html --- libquazip-0.7.3/doc/html/classQuaZipFile.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFile.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1034 +0,0 @@ - - - - - - -QuaZIP: QuaZipFile Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
- -
- -

A file inside ZIP archive. - More...

- -

#include <quazip/quazipfile.h>

-
-Inheritance diagram for QuaZipFile:
-
-
Inheritance graph
- - -
[legend]
-
-Collaboration diagram for QuaZipFile:
-
-
Collaboration graph
- - -
[legend]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 QuaZipFile ()
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (QObject *parent)
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (const QString &zipName, QObject *parent=NULL)
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (const QString &zipName, const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault, QObject *parent=NULL)
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (QuaZip *zip, QObject *parent=NULL)
 Constructs a QuaZipFile instance. More...
 
virtual ~QuaZipFile ()
 Destroys a QuaZipFile instance. More...
 
QString getZipName () const
 Returns the ZIP archive file name. More...
 
QuaZipgetZip () const
 Returns a pointer to the associated QuaZip object. More...
 
QString getFileName () const
 Returns file name. More...
 
QuaZip::CaseSensitivity getCaseSensitivity () const
 Returns case sensitivity of the file name. More...
 
QString getActualFileName () const
 Returns the actual file name in the archive. More...
 
void setZipName (const QString &zipName)
 Sets the ZIP archive file name. More...
 
bool isRaw () const
 Returns true if the file was opened in raw mode. More...
 
void setZip (QuaZip *zip)
 Binds to the existing QuaZip instance. More...
 
void setFileName (const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault)
 Sets the file name. More...
 
virtual bool open (OpenMode mode)
 Opens a file for reading. More...
 
bool open (OpenMode mode, const char *password)
 Opens a file for reading. More...
 
bool open (OpenMode mode, int *method, int *level, bool raw, const char *password=NULL)
 Opens a file for reading. More...
 
bool open (OpenMode mode, const QuaZipNewInfo &info, const char *password=NULL, quint32 crc=0, int method=Z_DEFLATED, int level=Z_DEFAULT_COMPRESSION, bool raw=false, int windowBits=-MAX_WBITS, int memLevel=DEF_MEM_LEVEL, int strategy=Z_DEFAULT_STRATEGY)
 Opens a file for writing. More...
 
-virtual bool isSequential () const
 Returns true, but beware!
 
virtual qint64 pos () const
 Returns current position in the file. More...
 
virtual bool atEnd () const
 Returns true if the end of file was reached. More...
 
virtual qint64 size () const
 Returns file size. More...
 
qint64 csize () const
 Returns compressed file size. More...
 
qint64 usize () const
 Returns uncompressed file size. More...
 
bool getFileInfo (QuaZipFileInfo *info)
 Gets information about current file. More...
 
bool getFileInfo (QuaZipFileInfo64 *info)
 Gets information about current file with zip64 support. More...
 
virtual void close ()
 Closes the file. More...
 
-int getZipError () const
 Returns the error code returned by the last ZIP/UNZIP API call.
 
-virtual qint64 bytesAvailable () const
 Returns the number of bytes available for reading.
 
- - - - - - - -

-Protected Member Functions

-qint64 readData (char *data, qint64 maxSize)
 Implementation of the QIODevice::readData().
 
-qint64 writeData (const char *data, qint64 maxSize)
 Implementation of the QIODevice::writeData().
 
- - - -

-Friends

-class QuaZipFilePrivate
 
-

Detailed Description

-

A file inside ZIP archive.

-

This is the most interesting class. Not only it provides C++ interface to the ZIP/UNZIP package, but also integrates it with Qt by subclassing QIODevice. This makes possible to access files inside ZIP archive using QTextStream or QDataStream, for example. Actually, this is the main purpose of the whole QuaZIP library.

-

You can either use existing QuaZip instance to create instance of this class or pass ZIP archive file name to this class, in which case it will create internal QuaZip object. See constructors' descriptions for details. Writing is only possible with the existing instance.

-

Note that due to the underlying library's limitation it is not possible to use multiple QuaZipFile instances to open several files in the same archive at the same time. If you need to write to multiple files in parallel, then you should write to temporary files first, then pack them all at once when you have finished writing. If you need to read multiple files inside the same archive in parallel, you should extract them all into a temporary directory first.

-

-Sequential or random-access?

-

At the first thought, QuaZipFile has fixed size, the start and the end and should be therefore considered random-access device. But there is one major obstacle to making it random-access: ZIP/UNZIP API does not support seek() operation and the only way to implement it is through reopening the file and re-reading to the required position, but this is prohibitively slow.

-

Therefore, QuaZipFile is considered to be a sequential device. This has advantage of availability of the ungetChar() operation (QIODevice does not implement it properly for non-sequential devices unless they support seek()). Disadvantage is a somewhat strange behaviour of the size() and pos() functions. This should be kept in mind while using this class.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - -
QuaZipFile::QuaZipFile ()
-
- -

Constructs a QuaZipFile instance.

-

You should use setZipName() and setFileName() or setZip() before trying to call open() on the constructed object.

- -
-
- -
-
- - - - - - - - -
QuaZipFile::QuaZipFile (QObject * parent)
-
- -

Constructs a QuaZipFile instance.

-

parent argument specifies this object's parent object.

-

You should use setZipName() and setFileName() or setZip() before trying to call open() on the constructed object.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QuaZipFile::QuaZipFile (const QString & zipName,
QObject * parent = NULL 
)
-
- -

Constructs a QuaZipFile instance.

-

parent argument specifies this object's parent object and zipName specifies ZIP archive file name.

-

You should use setFileName() before trying to call open() on the constructed object.

-

QuaZipFile constructed by this constructor can be used for read only access. Use QuaZipFile(QuaZip*,QObject*) for writing.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
QuaZipFile::QuaZipFile (const QString & zipName,
const QString & fileName,
QuaZip::CaseSensitivity cs = QuaZip::csDefault,
QObject * parent = NULL 
)
-
- -

Constructs a QuaZipFile instance.

-

parent argument specifies this object's parent object, zipName specifies ZIP archive file name and fileName and cs specify a name of the file to open inside archive.

-

QuaZipFile constructed by this constructor can be used for read only access. Use QuaZipFile(QuaZip*,QObject*) for writing.

-
See Also
QuaZip::setCurrentFile()
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QuaZipFile::QuaZipFile (QuaZipzip,
QObject * parent = NULL 
)
-
- -

Constructs a QuaZipFile instance.

-

parent argument specifies this object's parent object.

-

zip is the pointer to the existing QuaZip object. This QuaZipFile object then can be used to read current file in the zip or to write to the file inside it.

-
Warning
Using this constructor for reading current file can be tricky. Let's take the following example:
QuaZip zip("archive.zip");
-
zip.open(QuaZip::mdUnzip);
-
zip.setCurrentFile("file-in-archive");
-
QuaZipFile file(&zip);
-
file.open(QIODevice::ReadOnly);
-
// ok, now we can read from the file
-
file.read(somewhere, some);
-
zip.setCurrentFile("another-file-in-archive"); // oops...
-
QuaZipFile anotherFile(&zip);
-
anotherFile.open(QIODevice::ReadOnly);
-
anotherFile.read(somewhere, some); // this is still ok...
-
file.read(somewhere, some); // and this is NOT
-
So, what exactly happens here? When we change current file in the zip archive, file that references it becomes invalid (actually, as far as I understand ZIP/UNZIP sources, it becomes closed, but QuaZipFile has no means to detect it).
-

Summary: do not close zip object or change its current file as long as QuaZipFile is open. Even better - use another constructors which create internal QuaZip instances, one per object, and therefore do not cause unnecessary trouble. This constructor may be useful, though, if you already have a QuaZip instance and do not want to access several files at once. Good example:

-
QuaZip zip("archive.zip");
-
zip.open(QuaZip::mdUnzip);
-
// first, we need some information about archive itself
-
QByteArray comment=zip.getComment();
-
// and now we are going to access files inside it
-
QuaZipFile file(&zip);
-
for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) {
-
file.open(QIODevice::ReadOnly);
-
// do something cool with file here
-
file.close(); // do not forget to close!
-
}
-
zip.close();
-
-
-
- -
-
- - - - - -
- - - - - - - -
QuaZipFile::~QuaZipFile ()
-
-virtual
-
- -

Destroys a QuaZipFile instance.

-

Closes file if open, destructs internal QuaZip object (if it exists and is internal, of course).

- -

References close().

- -
-
-

Member Function Documentation

- -
-
- - - - - - - -
QString QuaZipFile::getZipName () const
-
- -

Returns the ZIP archive file name.

-

If this object was created by passing QuaZip pointer to the constructor, this function will return that QuaZip's file name (or null string if that object does not have file name yet).

-

Otherwise, returns associated ZIP archive file name or null string if there are no name set yet.

-
See Also
setZipName() getFileName()
- -

References QuaZip::getZipName().

- -
-
- -
-
- - - - - - - -
QuaZip * QuaZipFile::getZip () const
-
- -

Returns a pointer to the associated QuaZip object.

-

Returns NULL if there is no associated QuaZip or it is internal (so you will not mess with it).

- -
-
- -
-
- - - - - - - -
QString QuaZipFile::getFileName () const
-
- -

Returns file name.

-

This function returns file name you passed to this object either by using QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*) or by calling setFileName(). Real name of the file may differ in case if you used case-insensitivity.

-

Returns null string if there is no file name set yet. This is the case when this QuaZipFile operates on the existing QuaZip object (constructor QuaZipFile(QuaZip*,QObject*) or setZip() was used).

-
See Also
getActualFileName
- -
-
- -
-
- - - - - - - -
QuaZip::CaseSensitivity QuaZipFile::getCaseSensitivity () const
-
- -

Returns case sensitivity of the file name.

-

This function returns case sensitivity argument you passed to this object either by using QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*) or by calling setFileName().

-

Returns unpredictable value if getFileName() returns null string (this is the case when you did not used setFileName() or constructor above).

-
See Also
getFileName
- -
-
- -
-
- - - - - - - -
QString QuaZipFile::getActualFileName () const
-
- -

Returns the actual file name in the archive.

-

This is not a ZIP archive file name, but a name of file inside archive. It is not necessary the same name that you have passed to the QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*), setFileName() or QuaZip::setCurrentFile() - this is the real file name inside archive, so it may differ in case if the file name search was case-insensitive.

-

Equivalent to calling getCurrentFileName() on the associated QuaZip object. Returns null string if there is no associated QuaZip object or if it does not have a current file yet. And this is the case if you called setFileName() but did not open the file yet. So this is perfectly fine:

-
QuaZipFile file("somezip.zip");
-
file.setFileName("somefile");
-
QString name=file.getName(); // name=="somefile"
-
QString actual=file.getActualFileName(); // actual is null string
-
file.open(QIODevice::ReadOnly);
-
QString actual=file.getActualFileName(); // actual can be "SoMeFiLe" on Windows
-
See Also
getZipName(), getFileName(), QuaZip::CaseSensitivity
- -

References QuaZip::getCurrentFileName(), and QuaZip::getZipError().

- -
-
- -
-
- - - - - - - - -
void QuaZipFile::setZipName (const QString & zipName)
-
- -

Sets the ZIP archive file name.

-

Automatically creates internal QuaZip object and destroys previously created internal QuaZip object, if any.

-

Will do nothing if this file is already open. You must close() it first.

- -
-
- -
-
- - - - - - - -
bool QuaZipFile::isRaw () const
-
- -

Returns true if the file was opened in raw mode.

-

If the file is not open, the returned value is undefined.

-
See Also
open(OpenMode,int*,int*,bool,const char*)
- -

Referenced by close().

- -
-
- -
-
- - - - - - - - -
void QuaZipFile::setZip (QuaZipzip)
-
- -

Binds to the existing QuaZip instance.

-

This function destroys internal QuaZip object, if any, and makes this QuaZipFile to use current file in the zip object for any further operations. See QuaZipFile(QuaZip*,QObject*) for the possible pitfalls.

-

Will do nothing if the file is currently open. You must close() it first.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void QuaZipFile::setFileName (const QString & fileName,
QuaZip::CaseSensitivity cs = QuaZip::csDefault 
)
-
- -

Sets the file name.

-

Will do nothing if at least one of the following conditions is met:

-
    -
  • ZIP name has not been set yet (getZipName() returns null string).
  • -
  • This QuaZipFile is associated with external QuaZip. In this case you should call that QuaZip's setCurrentFile() function instead!
  • -
  • File is already open so setting the name is meaningless.
  • -
-
See Also
QuaZip::setCurrentFile
- -
-
- -
-
- - - - - -
- - - - - - - - -
bool QuaZipFile::open (OpenMode mode)
-
-virtual
-
- -

Opens a file for reading.

-

Returns true on success, false otherwise. Call getZipError() to get error code.

-
Note
Since ZIP/UNZIP API provides buffered reading only, QuaZipFile does not support unbuffered reading. So do not pass QIODevice::Unbuffered flag in mode, or open will fail.
- -
-
- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
bool QuaZipFile::open (OpenMode mode,
const char * password 
)
-
-inline
-
- -

Opens a file for reading.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument password specifies a password to decrypt the file. If it is NULL then this function behaves just like open(OpenMode).

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool QuaZipFile::open (OpenMode mode,
int * method,
int * level,
bool raw,
const char * password = NULL 
)
-
- -

Opens a file for reading.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument password specifies a password to decrypt the file.

-

An integers pointed by method and level will receive codes of the compression method and level used. See unzip.h.

-

If raw is true then no decompression is performed.

-

method should not be NULL. level can be NULL if you don't want to know the compression level.

- -

References QuaZip::close(), QuaZip::getMode(), QuaZip::getUnzFile(), QuaZip::getZipError(), QuaZip::hasCurrentFile(), QuaZip::mdUnzip, QuaZip::open(), and QuaZip::setCurrentFile().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool QuaZipFile::open (OpenMode mode,
const QuaZipNewInfoinfo,
const char * password = NULL,
quint32 crc = 0,
int method = Z_DEFLATED,
int level = Z_DEFAULT_COMPRESSION,
bool raw = false,
int windowBits = -MAX_WBITS,
int memLevel = DEF_MEM_LEVEL,
int strategy = Z_DEFAULT_STRATEGY 
)
-
- -

Opens a file for writing.

-

info argument specifies information about file. It should at least specify a correct file name. Also, it is a good idea to specify correct timestamp (by default, current time will be used). See QuaZipNewInfo.

-

The password argument specifies the password for crypting. Pass NULL if you don't need any crypting. The crc argument was supposed to be used for crypting too, but then it turned out that it's false information, so you need to set it to 0 unless you want to use the raw mode (see below).

-

Arguments method and level specify compression method and level. The only method supported is Z_DEFLATED, but you may also specify 0 for no compression. If all of the files in the archive use both method 0 and either level 0 is explicitly specified or data descriptor writing is disabled with QuaZip::setDataDescriptorWritingEnabled(), then the resulting archive is supposed to be compatible with the 1.0 ZIP format version, should you need that. Except for this, level has no other effects with method 0.

-

If raw is true, no compression is performed. In this case, crc and uncompressedSize field of the info are required.

-

Arguments windowBits, memLevel, strategy provide zlib algorithms tuning. See deflateInit2() in zlib.

- -

References QuaZipNewInfo::comment, QuaZipNewInfo::dateTime, QuaZipNewInfo::externalAttr, QuaZipNewInfo::extraGlobal, QuaZipNewInfo::extraLocal, QuaZip::getCommentCodec(), QuaZip::getFileNameCodec(), QuaZip::getMode(), QuaZip::getZipFile(), QuaZipNewInfo::internalAttr, QuaZip::isDataDescriptorWritingEnabled(), QuaZip::isZip64Enabled(), QuaZip::mdAdd, QuaZip::mdAppend, QuaZip::mdCreate, QuaZipNewInfo::name, and QuaZipNewInfo::uncompressedSize.

- -
-
- -
-
- - - - - -
- - - - - - - -
qint64 QuaZipFile::pos () const
-
-virtual
-
- -

Returns current position in the file.

-

Implementation of the QIODevice::pos(). When reading, this function is a wrapper to the ZIP/UNZIP unztell(), therefore it is unable to keep track of the ungetChar() calls (which is non-virtual and therefore is dangerous to reimplement). So if you are using ungetChar() feature of the QIODevice, this function reports incorrect value until you get back characters which you ungot.

-

When writing, pos() returns number of bytes already written (uncompressed unless you use raw mode).

-
Note
Although QuaZipFile is a sequential device and therefore pos() should always return zero, it does not, because it would be misguiding. Keep this in mind.
-

This function returns -1 if the file or archive is not open.

-

Error code returned by getZipError() is not affected by this function call.

- -

References QuaZip::getUnzFile().

- -

Referenced by bytesAvailable().

- -
-
- -
-
- - - - - -
- - - - - - - -
bool QuaZipFile::atEnd () const
-
-virtual
-
- -

Returns true if the end of file was reached.

-

This function returns false in the case of error. This means that you called this function on either not open file, or a file in the not open archive or even on a QuaZipFile instance that does not even have QuaZip instance associated. Do not do that because there is no means to determine whether false is returned because of error or because end of file was reached. Well, on the other side you may interpret false return value as "there is no file open to check for end of file and there is -no end of file therefore".

-

When writing, this function always returns true (because you are always writing to the end of file).

-

Error code returned by getZipError() is not affected by this function call.

- -

References QuaZip::getUnzFile().

- -
-
- -
-
- - - - - -
- - - - - - - -
qint64 QuaZipFile::size () const
-
-virtual
-
- -

Returns file size.

-

This function returns csize() if the file is open for reading in raw mode, usize() if it is open for reading in normal mode and pos() if it is open for writing.

-

Returns -1 on error, call getZipError() to get error code.

-
Note
This function returns file size despite that QuaZipFile is considered to be sequential device, for which size() should return bytesAvailable() instead. But its name would be very misguiding otherwise, so just keep in mind this inconsistence.
- -

References csize(), and usize().

- -

Referenced by bytesAvailable().

- -
-
- -
-
- - - - - - - -
qint64 QuaZipFile::csize () const
-
- -

Returns compressed file size.

-

Equivalent to calling getFileInfo() and then getting compressedSize field, but more convenient and faster.

-

File must be open for reading before calling this function.

-

Returns -1 on error, call getZipError() to get error code.

- -

References QuaZip::getMode(), QuaZip::getUnzFile(), and QuaZip::mdUnzip.

- -

Referenced by size().

- -
-
- -
-
- - - - - - - -
qint64 QuaZipFile::usize () const
-
- -

Returns uncompressed file size.

-

Equivalent to calling getFileInfo() and then getting uncompressedSize field, but more convenient and faster. See getFileInfo() for a warning.

-

File must be open for reading before calling this function.

-

Returns -1 on error, call getZipError() to get error code.

- -

References QuaZip::getMode(), QuaZip::getUnzFile(), and QuaZip::mdUnzip.

- -

Referenced by size().

- -
-
- -
-
- - - - - - - - -
bool QuaZipFile::getFileInfo (QuaZipFileInfoinfo)
-
- -

Gets information about current file.

-

This function does the same thing as calling QuaZip::getCurrentFileInfo() on the associated QuaZip object, but you can not call getCurrentFileInfo() if the associated QuaZip is internal (because you do not have access to it), while you still can call this function in that case.

-

File must be open for reading before calling this function.

-
Returns
false in the case of an error.
-

This function doesn't support zip64, but will still work fine on zip64 archives if file sizes are below 4 GB, otherwise the values will be set as if converted using QuaZipFileInfo64::toQuaZipFileInfo().

-
See Also
getFileInfo(QuaZipFileInfo64*)
- -

References QuaZipFileInfo64::toQuaZipFileInfo().

- -
-
- -
-
- - - - - - - - -
bool QuaZipFile::getFileInfo (QuaZipFileInfo64info)
-
- -

Gets information about current file with zip64 support.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-
See Also
getFileInfo(QuaZipFileInfo*)
- -

References QuaZip::getCurrentFileInfo(), QuaZip::getMode(), QuaZip::getZipError(), and QuaZip::mdUnzip.

- -
-
- -
-
- - - - - -
- - - - - - - -
void QuaZipFile::close ()
-
-virtual
-
- -

Closes the file.

-

Call getZipError() to determine if the close was successful.

- -

References QuaZip::close(), QuaZip::getUnzFile(), QuaZip::getZipError(), QuaZip::getZipFile(), QuaZip::isOpen(), and isRaw().

- -

Referenced by ~QuaZipFile().

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipFile__inherit__graph.map libquazip-0.7.6/doc/html/classQuaZipFile__inherit__graph.map --- libquazip-0.7.3/doc/html/classQuaZipFile__inherit__graph.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFile__inherit__graph.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipFile__inherit__graph.md5 libquazip-0.7.6/doc/html/classQuaZipFile__inherit__graph.md5 --- libquazip-0.7.3/doc/html/classQuaZipFile__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFile__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -0f27cd2f62b73e752c173777f208a383 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/classQuaZipFile__inherit__graph.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/classQuaZipFile__inherit__graph.png differ diff -Nru libquazip-0.7.3/doc/html/classQuaZipFile-members.html libquazip-0.7.6/doc/html/classQuaZipFile-members.html --- libquazip-0.7.3/doc/html/classQuaZipFile-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFile-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,95 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipFile Member List
-
-
- -

This is the complete list of members for QuaZipFile, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
atEnd() const QuaZipFilevirtual
bytesAvailable() const QuaZipFilevirtual
close()QuaZipFilevirtual
csize() const QuaZipFile
getActualFileName() const QuaZipFile
getCaseSensitivity() const QuaZipFile
getFileInfo(QuaZipFileInfo *info)QuaZipFile
getFileInfo(QuaZipFileInfo64 *info)QuaZipFile
getFileName() const QuaZipFile
getZip() const QuaZipFile
getZipError() const QuaZipFile
getZipName() const QuaZipFile
isRaw() const QuaZipFile
isSequential() const QuaZipFilevirtual
open(OpenMode mode)QuaZipFilevirtual
open(OpenMode mode, const char *password)QuaZipFileinline
open(OpenMode mode, int *method, int *level, bool raw, const char *password=NULL)QuaZipFile
open(OpenMode mode, const QuaZipNewInfo &info, const char *password=NULL, quint32 crc=0, int method=Z_DEFLATED, int level=Z_DEFAULT_COMPRESSION, bool raw=false, int windowBits=-MAX_WBITS, int memLevel=DEF_MEM_LEVEL, int strategy=Z_DEFAULT_STRATEGY)QuaZipFile
pos() const QuaZipFilevirtual
QuaZipFile()QuaZipFile
QuaZipFile(QObject *parent)QuaZipFile
QuaZipFile(const QString &zipName, QObject *parent=NULL)QuaZipFile
QuaZipFile(const QString &zipName, const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault, QObject *parent=NULL)QuaZipFile
QuaZipFile(QuaZip *zip, QObject *parent=NULL)QuaZipFile
QuaZipFilePrivate (defined in QuaZipFile)QuaZipFilefriend
readData(char *data, qint64 maxSize)QuaZipFileprotected
setFileName(const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault)QuaZipFile
setZip(QuaZip *zip)QuaZipFile
setZipName(const QString &zipName)QuaZipFile
size() const QuaZipFilevirtual
usize() const QuaZipFile
writeData(const char *data, qint64 maxSize)QuaZipFileprotected
~QuaZipFile()QuaZipFilevirtual
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipFilePrivate.html libquazip-0.7.6/doc/html/classQuaZipFilePrivate.html --- libquazip-0.7.3/doc/html/classQuaZipFilePrivate.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFilePrivate.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - -QuaZIP: QuaZipFilePrivate Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZipFilePrivate Class Reference
-
-
- -

The implementation class for QuaZip. - More...

- - - - -

-Friends

-class QuaZipFile
 
-

Detailed Description

-

The implementation class for QuaZip.

-

The documentation for this class was generated from the following file:
    -
  • quazip/quazipfile.cpp
  • -
-
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipFilePrivate-members.html libquazip-0.7.6/doc/html/classQuaZipFilePrivate-members.html --- libquazip-0.7.3/doc/html/classQuaZipFilePrivate-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipFilePrivate-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,63 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipFilePrivate Member List
-
-
- -

This is the complete list of members for QuaZipFilePrivate, including all inherited members.

- - -
QuaZipFile (defined in QuaZipFilePrivate)QuaZipFilePrivatefriend
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZip.html libquazip-0.7.6/doc/html/classQuaZip.html --- libquazip-0.7.3/doc/html/classQuaZip.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZip.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,1201 +0,0 @@ - - - - - - -QuaZIP: QuaZip Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
- -
- -

ZIP archive. - More...

- -

#include <quazip/quazip.h>

- - - - - - - - - - - -

-Public Types

enum  Constants { MAX_FILE_NAME_LENGTH =256 - }
 Useful constants. More...
 
enum  Mode {
-  mdNotOpen, -mdUnzip, -mdCreate, -mdAppend, -
-  mdAdd -
- }
 Open mode of the ZIP file. More...
 
enum  CaseSensitivity { csDefault =0, -csSensitive =1, -csInsensitive =2 - }
 Case sensitivity for the file names. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 QuaZip ()
 Constructs QuaZip object. More...
 
QuaZip (const QString &zipName)
 Constructs QuaZip object associated with ZIP file zipName.
 
 QuaZip (QIODevice *ioDevice)
 Constructs QuaZip object associated with ZIP file represented by ioDevice. More...
 
 ~QuaZip ()
 Destroys QuaZip object. More...
 
bool open (Mode mode, zlib_filefunc_def *ioApi=NULL)
 Opens ZIP file. More...
 
void close ()
 Closes ZIP file. More...
 
void setFileNameCodec (QTextCodec *fileNameCodec)
 Sets the codec used to encode/decode file names inside archive. More...
 
void setFileNameCodec (const char *fileNameCodecName)
 Sets the codec used to encode/decode file names inside archive. More...
 
-QTextCodec * getFileNameCodec () const
 Returns the codec used to encode/decode comments inside archive.
 
void setCommentCodec (QTextCodec *commentCodec)
 Sets the codec used to encode/decode comments inside archive. More...
 
void setCommentCodec (const char *commentCodecName)
 Sets the codec used to encode/decode comments inside archive. More...
 
-QTextCodec * getCommentCodec () const
 Returns the codec used to encode/decode comments inside archive.
 
QString getZipName () const
 Returns the name of the ZIP file. More...
 
void setZipName (const QString &zipName)
 Sets the name of the ZIP file. More...
 
QIODevice * getIoDevice () const
 Returns the device representing this ZIP file. More...
 
void setIoDevice (QIODevice *ioDevice)
 Sets the device representing the ZIP file. More...
 
-Mode getMode () const
 Returns the mode in which ZIP file was opened.
 
-bool isOpen () const
 Returns true if ZIP file is open, false otherwise.
 
int getZipError () const
 Returns the error code of the last operation. More...
 
int getEntriesCount () const
 Returns number of the entries in the ZIP central directory. More...
 
-QString getComment () const
 Returns global comment in the ZIP file.
 
void setComment (const QString &comment)
 Sets the global comment in the ZIP file. More...
 
bool goToFirstFile ()
 Sets the current file to the first file in the archive. More...
 
bool goToNextFile ()
 Sets the current file to the next file in the archive. More...
 
bool setCurrentFile (const QString &fileName, CaseSensitivity cs=csDefault)
 Sets current file by its name. More...
 
-bool hasCurrentFile () const
 Returns true if the current file has been set.
 
bool getCurrentFileInfo (QuaZipFileInfo *info) const
 Retrieves information about the current file. More...
 
bool getCurrentFileInfo (QuaZipFileInfo64 *info) const
 Retrieves information about the current file. More...
 
QString getCurrentFileName () const
 Returns the current file name. More...
 
unzFile getUnzFile ()
 Returns unzFile handle. More...
 
zipFile getZipFile ()
 Returns zipFile handle. More...
 
void setDataDescriptorWritingEnabled (bool enabled)
 Changes the data descriptor writing mode. More...
 
bool isDataDescriptorWritingEnabled () const
 Returns the data descriptor default writing mode. More...
 
QStringList getFileNameList () const
 Returns a list of files inside the archive. More...
 
QList< QuaZipFileInfogetFileInfoList () const
 Returns information list about all files inside the archive. More...
 
QList< QuaZipFileInfo64getFileInfoList64 () const
 Returns information list about all files inside the archive. More...
 
void setZip64Enabled (bool zip64)
 Enables the zip64 mode. More...
 
bool isZip64Enabled () const
 Returns whether the zip64 mode is enabled. More...
 
bool isAutoClose () const
 Returns the auto-close flag. More...
 
void setAutoClose (bool autoClose) const
 Sets or unsets the auto-close flag. More...
 
- - - - - - - - - -

-Static Public Member Functions

static Qt::CaseSensitivity convertCaseSensitivity (CaseSensitivity cs)
 Returns the actual case sensitivity for the specified QuaZIP one. More...
 
static void setDefaultFileNameCodec (QTextCodec *codec)
 Sets the default file name codec to use. More...
 
static void setDefaultFileNameCodec (const char *codecName)
 
- - - -

-Friends

-class QuaZipPrivate
 
-

Detailed Description

-

ZIP archive.

-

This class implements basic interface to the ZIP archive. It can be used to read table contents of the ZIP archive and retreiving information about the files inside it.

-

You can also use this class to open files inside archive by passing pointer to the instance of this class to the constructor of the QuaZipFile class. But see QuaZipFile::QuaZipFile(QuaZip*, QObject*) for the possible pitfalls.

-

This class is indended to provide interface to the ZIP subpackage of the ZIP/UNZIP package as well as to the UNZIP subpackage. But currently it supports only UNZIP.

-

The use of this class is simple - just create instance using constructor, then set ZIP archive file name using setFile() function (if you did not passed the name to the constructor), then open() and then use different functions to work with it! Well, if you are paranoid, you may also wish to call close before destructing the instance, to check for errors on close.

-

You may also use getUnzFile() and getZipFile() functions to get the ZIP archive handle and use it with ZIP/UNZIP package API directly.

-

This class supports localized file names inside ZIP archive, but you have to set up proper codec with setCodec() function. By default, locale codec will be used, which is probably ok for UNIX systems, but will almost certainly fail with ZIP archives created in Windows. This is because Windows ZIP programs have strange habit of using DOS encoding for file names in ZIP archives. For example, ZIP archive with cyrillic names created in Windows will have file names in IBM866 encoding instead of WINDOWS-1251. I think that calling one function is not much trouble, but for true platform independency it would be nice to have some mechanism for file name encoding auto detection using locale information. Does anyone know a good way to do it?

-

Member Enumeration Documentation

- -
-
- - - - -
enum QuaZip::Constants
-
- -

Useful constants.

- - -
Enumerator
MAX_FILE_NAME_LENGTH  -

Maximum file name length. Taken from UNZ_MAXFILENAMEINZIP constant in unzip.c.

-
- -
-
- -
-
- - - - -
enum QuaZip::Mode
-
- -

Open mode of the ZIP file.

- - - - - - -
Enumerator
mdNotOpen  -

ZIP file is not open. This is the initial mode.

-
mdUnzip  -

ZIP file is open for reading files inside it.

-
mdCreate  -

ZIP file was created with open() call.

-
mdAppend  -

ZIP file was opened in append mode. This refers to APPEND_STATUS_CREATEAFTER mode in ZIP/UNZIP package and means that zip is appended to some existing file what is useful when that file contains self-extractor code. This is obviously not what you whant to use to add files to the existing ZIP archive.

-
mdAdd  -

ZIP file was opened for adding files in the archive.

-
- -
-
- -
-
- - - - -
enum QuaZip::CaseSensitivity
-
- -

Case sensitivity for the file names.

-

This is what you specify when accessing files in the archive. Works perfectly fine with any characters thanks to Qt's great unicode support. This is different from ZIP/UNZIP API, where only US-ASCII characters was supported.

- - - - -
Enumerator
csDefault  -

Default for platform. Case sensitive for UNIX, not for Windows.

-
csSensitive  -

Case sensitive.

-
csInsensitive  -

Case insensitive.

-
- -
-
-

Constructor & Destructor Documentation

- -
-
- - - - - - - -
QuaZip::QuaZip ()
-
- -

Constructs QuaZip object.

-

Call setName() before opening constructed object.

- -
-
- -
-
- - - - - - - - -
QuaZip::QuaZip (QIODevice * ioDevice)
-
- -

Constructs QuaZip object associated with ZIP file represented by ioDevice.

-

The IO device must be seekable, otherwise an error will occur when opening.

- -
-
- -
-
- - - - - - - -
QuaZip::~QuaZip ()
-
- -

Destroys QuaZip object.

-

Calls close() if necessary.

- -

References close(), and isOpen().

- -
-
-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - - -
Qt::CaseSensitivity QuaZip::convertCaseSensitivity (QuaZip::CaseSensitivity cs)
-
-static
-
- -

Returns the actual case sensitivity for the specified QuaZIP one.

-
Parameters
- - -
csThe value to convert.
-
-
-
Returns
If CaseSensitivity::csDefault, then returns the default file name case sensitivity for the platform. Otherwise, just returns the appropriate value from the Qt::CaseSensitivity enum.
- -

References csDefault, and csSensitive.

- -

Referenced by QuaZipDir::exists(), and setCurrentFile().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool QuaZip::open (Mode mode,
zlib_filefunc_def * ioApi = NULL 
)
-
- -

Opens ZIP file.

-

Argument mode specifies open mode of the ZIP archive. See Mode for details. Note that there is zipOpen2() function in the ZIP/UNZIP API which accepts globalcomment argument, but it does not use it anywhere, so this open() function does not have this argument. See setComment() if you need to set global comment.

-

If the ZIP file is accessed via explicitly set QIODevice, then this device is opened in the necessary mode. If the device was already opened by some other means, then QuaZIP checks if the open mode is compatible to the mode needed for the requested operation. If necessary, seeking is performed to position the device properly.

-
Returns
true if successful, false otherwise.
-
Note
ZIP/UNZIP API open calls do not return error code - they just return NULL indicating an error. But to make things easier, quazip.h header defines additional error code UNZ_ERROROPEN and getZipError() will return it if the open call of the ZIP/UNZIP API returns NULL.
-

Argument ioApi specifies IO function set for ZIP/UNZIP package to use. See unzip.h, zip.h and ioapi.h for details. Note that IO API for QuaZip is different from the original package. The file path argument was changed to be of type voidpf, and QuaZip passes a QIODevice pointer there. This QIODevice is either set explicitly via setIoDevice() or the QuaZip(QIODevice*) constructor, or it is created internally when opening the archive by its file name. The default API (qioapi.cpp) just delegates everything to the QIODevice API. Not only this allows to use a QIODevice instead of file name, but also has a nice side effect of raising the file size limit from 2G to 4G (in non-zip64 archives).

-
Note
If the zip64 support is needed, the ioApi argument must be NULL because due to the backwards compatibility issues it can be used to provide a 32-bit API only.
-
-If the no-auto-close feature is used, then the ioApi argument should be NULL because the old API doesn't support the 'fake close' operation, causing slight memory leaks and other possible troubles (like closing the output device in case when an error occurs during opening).
-

In short: just forget about the ioApi argument and you'll be fine.

- -

References isOpen(), mdAdd, mdAppend, mdCreate, mdUnzip, QuaZipPrivate::unzFile_f, and QuaZipPrivate::zipFile_f.

- -

Referenced by JlCompress::compressDir(), JlCompress::compressFile(), JlCompress::compressFiles(), and QuaZipFile::open().

- -
-
- -
-
- - - - - - - -
void QuaZip::close ()
-
- -

Closes ZIP file.

-

Call getZipError() to determine if the close was successful.

-

If the file was opened by name, then the underlying QIODevice is closed and deleted.

-

If the underlying QIODevice was set explicitly using setIoDevice() or the appropriate constructor, then it is closed if the auto-close flag is set (which it is by default). Call setAutoClose() to clear the auto-close flag if this behavior is undesirable.

-

Since Qt 5.1, the QSaveFile was introduced. It breaks the QIODevice API by making close() private and crashing the application if it is called from the base class where it is public. It is an excellent example of poor design that illustrates why you should never ever break an is-a relationship between the base class and a subclass. QuaZIP works around this bug by checking if the QIODevice is an instance of QSaveFile, using qobject_cast<>, and if it is, calls QSaveFile::commit() instead of close(). It is a really ugly hack, but at least it makes your programs work instead of crashing. Note that if the auto-close flag is cleared, then this is a non-issue, and commit() isn't called.

- -

References mdAdd, mdAppend, mdCreate, mdNotOpen, mdUnzip, QuaZipPrivate::unzFile_f, and QuaZipPrivate::zipFile_f.

- -

Referenced by QuaZipFile::close(), JlCompress::compressDir(), JlCompress::compressFile(), JlCompress::compressFiles(), QuaZipFile::open(), and ~QuaZip().

- -
-
- -
-
- - - - - - - - -
void QuaZip::setFileNameCodec (QTextCodec * fileNameCodec)
-
- -

Sets the codec used to encode/decode file names inside archive.

-

This is necessary to access files in the ZIP archive created under Windows with non-latin characters in file names. For example, file names with cyrillic letters will be in IBM866 encoding.

- -
-
- -
-
- - - - - - - - -
void QuaZip::setFileNameCodec (const char * fileNameCodecName)
-
- -

Sets the codec used to encode/decode file names inside archive.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling setFileNameCodec(QTextCodec::codecForName(codecName));

- -
-
- -
-
- - - - - - - - -
void QuaZip::setCommentCodec (QTextCodec * commentCodec)
-
- -

Sets the codec used to encode/decode comments inside archive.

-

This codec defaults to locale codec, which is probably ok.

- -
-
- -
-
- - - - - - - - -
void QuaZip::setCommentCodec (const char * commentCodecName)
-
- -

Sets the codec used to encode/decode comments inside archive.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling setCommentCodec(QTextCodec::codecForName(codecName));

- -
-
- -
-
- - - - - - - -
QString QuaZip::getZipName () const
-
- -

Returns the name of the ZIP file.

-

Returns null string if no ZIP file name has been set, for example when the QuaZip instance is set up to use a QIODevice instead.

-
See Also
setZipName(), setIoDevice(), getIoDevice()
- -

Referenced by QuaZipFile::getZipName().

- -
-
- -
-
- - - - - - - - -
void QuaZip::setZipName (const QString & zipName)
-
- -

Sets the name of the ZIP file.

-

Does nothing if the ZIP file is open.

-

Does not reset error code returned by getZipError().

-
See Also
setIoDevice(), getIoDevice(), getZipName()
- -

References isOpen().

- -
-
- -
-
- - - - - - - -
QIODevice * QuaZip::getIoDevice () const
-
- -

Returns the device representing this ZIP file.

-

Returns null string if no device has been set explicitly, for example when opening a ZIP file by name.

-
See Also
setIoDevice(), getZipName(), setZipName()
- -
-
- -
-
- - - - - - - - -
void QuaZip::setIoDevice (QIODevice * ioDevice)
-
- -

Sets the device representing the ZIP file.

-

Does nothing if the ZIP file is open.

-

Does not reset error code returned by getZipError().

-
See Also
getIoDevice(), getZipName(), setZipName()
- -

References isOpen().

- -
-
- -
-
- - - - - - - -
int QuaZip::getZipError () const
-
- -

Returns the error code of the last operation.

-

Returns UNZ_OK if the last operation was successful.

-

Error code resets to UNZ_OK every time you call any function that accesses something inside ZIP archive, even if it is const (like getEntriesCount()). open() and close() calls reset error code too. See documentation for the specific functions for details on error detection.

- -

Referenced by QuaZipFile::close(), JlCompress::compressDir(), JlCompress::compressFile(), JlCompress::compressFiles(), QuaZipFile::getActualFileName(), QuaZipFile::getFileInfo(), and QuaZipFile::open().

- -
-
- -
-
- - - - - - - -
int QuaZip::getEntriesCount () const
-
- -

Returns number of the entries in the ZIP central directory.

-

Returns negative error code in the case of error. The same error code will be returned by subsequent getZipError() call.

- -

References mdUnzip, and QuaZipPrivate::unzFile_f.

- -
-
- -
-
- - - - - - - - -
void QuaZip::setComment (const QString & comment)
-
- -

Sets the global comment in the ZIP file.

-

The comment will be written to the archive on close operation. QuaZip makes a distinction between a null QByteArray() comment and an empty "" comment in the QuaZip::mdAdd mode. A null comment is the default and it means "don't change the comment". An empty comment removes the original comment.

-
See Also
open()
- -
-
- -
-
- - - - - - - -
bool QuaZip::goToFirstFile ()
-
- -

Sets the current file to the first file in the archive.

-

Returns true on success, false otherwise. Call getZipError() to get the error code.

- -

References mdUnzip, and QuaZipPrivate::unzFile_f.

- -
-
- -
-
- - - - - - - -
bool QuaZip::goToNextFile ()
-
- -

Sets the current file to the next file in the archive.

-

Returns true on success, false otherwise. Call getZipError() to determine if there was an error.

-

Should be used only in QuaZip::mdUnzip mode.

-
Note
If the end of file was reached, getZipError() will return UNZ_OK instead of UNZ_END_OF_LIST_OF_FILE. This is to make things like this easier:
for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) {
-
// do something
-
}
-
if(zip.getZipError()==UNZ_OK) {
-
// ok, there was no error
-
}
-
- -

References mdUnzip, and QuaZipPrivate::unzFile_f.

- -

Referenced by setCurrentFile().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
bool QuaZip::setCurrentFile (const QString & fileName,
CaseSensitivity cs = csDefault 
)
-
- -

Sets current file by its name.

-

Returns true if successful, false otherwise. Argument cs specifies case sensitivity of the file name. Call getZipError() in the case of a failure to get error code.

-

This is not a wrapper to unzLocateFile() function. That is because I had to implement locale-specific case-insensitive comparison.

-

Here are the differences from the original implementation:

-
    -
  • If the file was not found, error code is UNZ_OK, not UNZ_END_OF_LIST_OF_FILE (see also goToNextFile()).
  • -
  • If this function fails, it unsets the current file rather than resetting it back to what it was before the call.
  • -
-

If fileName is null string then this function unsets the current file and return true. Note that you should close the file first if it is open! See QuaZipFile::QuaZipFile(QuaZip*,QObject*) for the details.

-

Should be used only in QuaZip::mdUnzip mode.

-
See Also
setFileNameCodec(), CaseSensitivity
- -

References convertCaseSensitivity(), getCurrentFileName(), goToNextFile(), MAX_FILE_NAME_LENGTH, mdUnzip, and QuaZipPrivate::unzFile_f.

- -

Referenced by QuaZipFile::open().

- -
-
- -
-
- - - - - - - - -
bool QuaZip::getCurrentFileInfo (QuaZipFileInfoinfo) const
-
- -

Retrieves information about the current file.

-

Fills the structure pointed by info. Returns true on success, false otherwise. In the latter case structure pointed by info remains untouched. If there was an error, getZipError() returns error code.

-

Should be used only in QuaZip::mdUnzip mode.

-

Does nothing and returns false in any of the following cases.

-
    -
  • ZIP is not open;
  • -
  • ZIP does not have current file.
  • -
-

In both cases getZipError() returns UNZ_OK since there is no ZIP/UNZIP API call.

-

This overload doesn't support zip64, but will work OK on zip64 archives except that if one of the sizes (compressed or uncompressed) is greater than 0xFFFFFFFFu, it will be set to exactly 0xFFFFFFFFu.

-
See Also
getCurrentFileInfo(QuaZipFileInfo64* info)const
-
-QuaZipFileInfo64::toQuaZipFileInfo(QuaZipFileInfo&)const
- -

References QuaZipFileInfo64::toQuaZipFileInfo().

- -

Referenced by QuaZipFile::getFileInfo().

- -
-
- -
-
- - - - - - - - -
bool QuaZip::getCurrentFileInfo (QuaZipFileInfo64info) const
-
- -

Retrieves information about the current file.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-

This function supports zip64. If the archive doesn't use zip64, it is completely equivalent to getCurrentFileInfo(QuaZipFileInfo* info) except for the argument type.

-
See Also
- -

References QuaZipFileInfo64::comment, QuaZipFileInfo64::compressedSize, QuaZipFileInfo64::crc, QuaZipFileInfo64::dateTime, QuaZipFileInfo64::diskNumberStart, QuaZipFileInfo64::externalAttr, QuaZipFileInfo64::extra, QuaZipFileInfo64::flags, hasCurrentFile(), QuaZipFileInfo64::internalAttr, isOpen(), mdUnzip, QuaZipFileInfo64::method, QuaZipFileInfo64::name, QuaZipFileInfo64::uncompressedSize, QuaZipPrivate::unzFile_f, QuaZipFileInfo64::versionCreated, and QuaZipFileInfo64::versionNeeded.

- -
-
- -
-
- - - - - - - -
QString QuaZip::getCurrentFileName () const
-
- -

Returns the current file name.

-

Equivalent to calling getCurrentFileInfo() and then getting name field of the QuaZipFileInfo structure, but faster and more convenient.

-

Should be used only in QuaZip::mdUnzip mode.

- -

References hasCurrentFile(), isOpen(), MAX_FILE_NAME_LENGTH, mdUnzip, and QuaZipPrivate::unzFile_f.

- -

Referenced by QuaZipFile::getActualFileName(), and setCurrentFile().

- -
-
- -
-
- - - - - - - -
unzFile QuaZip::getUnzFile ()
-
- -

Returns unzFile handle.

-

You can use this handle to directly call UNZIP part of the ZIP/UNZIP package functions (see unzip.h).

-
Warning
When using the handle returned by this function, please keep in mind that QuaZip class is unable to detect any changes you make in the ZIP file state (e. g. changing current file, or closing the handle). So please do not do anything with this handle that is possible to do with the functions of this class. Or at least return the handle in the original state before calling some another function of this class (including implicit destructor calls and calls from the QuaZipFile objects that refer to this QuaZip instance!). So if you have changed the current file in the ZIP archive - then change it back or you may experience some strange behavior or even crashes.
- -

References QuaZipPrivate::unzFile_f.

- -

Referenced by QuaZipFile::atEnd(), QuaZipFile::close(), QuaZipFile::csize(), QuaZipFile::open(), QuaZipFile::pos(), QuaZipFile::readData(), and QuaZipFile::usize().

- -
-
- -
-
- - - - - - - -
zipFile QuaZip::getZipFile ()
-
- -

Returns zipFile handle.

-

You can use this handle to directly call ZIP part of the ZIP/UNZIP package functions (see zip.h). Warnings about the getUnzFile() function also apply to this function.

- -

References QuaZipPrivate::zipFile_f.

- -

Referenced by QuaZipFile::close(), QuaZipFile::open(), and QuaZipFile::writeData().

- -
-
- -
-
- - - - - - - - -
void QuaZip::setDataDescriptorWritingEnabled (bool enabled)
-
- -

Changes the data descriptor writing mode.

-

According to the ZIP format specification, a file inside archive may have a data descriptor immediately following the file data. This is reflected by a special flag in the local file header and in the central directory. By default, QuaZIP sets this flag and writes the data descriptor unless both method and level were set to 0, in which case it operates in 1.0-compatible mode and never writes data descriptors.

-

By setting this flag to false, it is possible to disable data descriptor writing, thus increasing compatibility with archive readers that don't understand this feature of the ZIP file format.

-

Setting this flag affects all the QuaZipFile instances that are opened after this flag is set.

-

The data descriptor writing mode is enabled by default.

-

Note that if the ZIP archive is written into a QIODevice for which QIODevice::isSequential() returns true, then the data descriptor is mandatory and will be written even if this flag is set to false.

-
Parameters
- - -
enabledIf true, enable local descriptor writing, disable it otherwise.
-
-
-
See Also
QuaZipFile::isDataDescriptorWritingEnabled()
- -
-
- -
-
- - - - - - - -
bool QuaZip::isDataDescriptorWritingEnabled () const
-
- -

Returns the data descriptor default writing mode.

-
See Also
setDataDescriptorWritingEnabled()
- -

Referenced by QuaZipFile::open().

- -
-
- -
-
- - - - - - - -
QStringList QuaZip::getFileNameList () const
-
- -

Returns a list of files inside the archive.

-
Returns
A list of file names or an empty list if there was an error or if the archive is empty (call getZipError() to figure out which).
-
See Also
getFileInfoList()
- -
-
- -
-
- - - - - - - -
QList< QuaZipFileInfo > QuaZip::getFileInfoList () const
-
- -

Returns information list about all files inside the archive.

-
Returns
A list of QuaZipFileInfo objects or an empty list if there was an error or if the archive is empty (call getZipError() to figure out which).
-

This function doesn't support zip64, but will still work with zip64 archives, converting results using QuaZipFileInfo64::toQuaZipFileInfo(). If all file sizes are below 4 GB, it will work just fine.

-
See Also
getFileNameList()
-
-getFileInfoList64()
- -
-
- -
-
- - - - - - - -
QList< QuaZipFileInfo64 > QuaZip::getFileInfoList64 () const
-
- -

Returns information list about all files inside the archive.

-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

-

This function supports zip64.

-
See Also
getFileNameList()
-
-getFileInfoList()
- -
-
- -
-
- - - - - - - - -
void QuaZip::setZip64Enabled (bool zip64)
-
- -

Enables the zip64 mode.

-
Parameters
- - -
zip64If true, the zip64 mode is enabled, disabled otherwise.
-
-
-

Once this is enabled, all new files (until the mode is disabled again) will be created in the zip64 mode, thus enabling the ability to write files larger than 4 GB. By default, the zip64 mode is off due to compatibility reasons.

-

Note that this does not affect the ability to read zip64 archives in any way.

-
See Also
isZip64Enabled()
- -
-
- -
-
- - - - - - - -
bool QuaZip::isZip64Enabled () const
-
- -

Returns whether the zip64 mode is enabled.

-
Returns
true if and only if the zip64 mode is enabled.
-
See Also
setZip64Enabled()
- -

Referenced by QuaZipFile::open().

- -
-
- -
-
- - - - - - - -
bool QuaZip::isAutoClose () const
-
- -

Returns the auto-close flag.

-
See Also
setAutoClose()
- -
-
- -
-
- - - - - - - - -
void QuaZip::setAutoClose (bool autoClose) const
-
- -

Sets or unsets the auto-close flag.

-

By default, QuaZIP opens the underlying QIODevice when open() is called, and closes it when close() is called. In some cases, when the device is set explicitly using setIoDevice(), it may be desirable to leave the device open. If the auto-close flag is unset using this method, then the device isn't closed automatically if it was set explicitly.

-

If it is needed to clear this flag, it is recommended to do so before opening the archive because otherwise QuaZIP may close the device during the open() call if an error is encountered after the device is opened.

-

If the device was not set explicitly, but rather the setZipName() or the appropriate constructor was used to set the ZIP file name instead, then the auto-close flag has no effect, and the internal device is closed nevertheless because there is no other way to close it.

-
See Also
isAutoClose()
-
-setIoDevice()
- -
-
- -
-
- - - - - -
- - - - - - - - -
void QuaZip::setDefaultFileNameCodec (QTextCodec * codec)
-
-static
-
- -

Sets the default file name codec to use.

-

The default codec is used by the constructors, so calling this function won't affect the QuaZip instances already created at that moment.

-

The codec specified here can be overriden by calling setFileNameCodec(). If neither function is called, QTextCodec::codecForLocale() will be used to decode or encode file names. Use this function with caution if the application uses other libraries that depend on QuaZIP. Those libraries can either call this function by themselves, thus overriding your setting or can rely on the default encoding, thus failing mysteriously if you change it. For these reasons, it isn't recommended to use this function if you are developing a library, not an application. Instead, ask your library users to call it in case they need specific encoding.

-

In most cases, using setFileNameCodec() instead is the right choice. However, if you depend on third-party code that uses QuaZIP, then the reasons stated above can actually become a reason to use this function in case the third-party code in question fails because it doesn't understand the encoding you need and doesn't provide a way to specify it. This applies to the JlCompress class as well, as it was contributed and doesn't support explicit encoding parameters.

-

In short: use setFileNameCodec() when you can, resort to setDefaultFileNameCodec() when you don't have access to the QuaZip instance.

-
Parameters
- - -
codecThe codec to use by default. If NULL, resets to default.
-
-
- -

Referenced by setDefaultFileNameCodec().

- -
-
- -
-
- - - - - -
- - - - - - - - -
void QuaZip::setDefaultFileNameCodec (const char * codecName)
-
-static
-
-

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling setDefltFileNameCodec(QTextCodec::codecForName(codecName)).

- -

References setDefaultFileNameCodec().

- -
-
-
The documentation for this class was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZip-members.html libquazip-0.7.6/doc/html/classQuaZip-members.html --- libquazip-0.7.3/doc/html/classQuaZip-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZip-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,118 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZip Member List
-
-
- -

This is the complete list of members for QuaZip, including all inherited members.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CaseSensitivity enum nameQuaZip
close()QuaZip
Constants enum nameQuaZip
convertCaseSensitivity(CaseSensitivity cs)QuaZipstatic
csDefault enum valueQuaZip
csInsensitive enum valueQuaZip
csSensitive enum valueQuaZip
getComment() const QuaZip
getCommentCodec() const QuaZip
getCurrentFileInfo(QuaZipFileInfo *info) const QuaZip
getCurrentFileInfo(QuaZipFileInfo64 *info) const QuaZip
getCurrentFileName() const QuaZip
getEntriesCount() const QuaZip
getFileInfoList() const QuaZip
getFileInfoList64() const QuaZip
getFileNameCodec() const QuaZip
getFileNameList() const QuaZip
getIoDevice() const QuaZip
getMode() const QuaZip
getUnzFile()QuaZip
getZipError() const QuaZip
getZipFile()QuaZip
getZipName() const QuaZip
goToFirstFile()QuaZip
goToNextFile()QuaZip
hasCurrentFile() const QuaZip
isAutoClose() const QuaZip
isDataDescriptorWritingEnabled() const QuaZip
isOpen() const QuaZip
isZip64Enabled() const QuaZip
MAX_FILE_NAME_LENGTH enum valueQuaZip
mdAdd enum valueQuaZip
mdAppend enum valueQuaZip
mdCreate enum valueQuaZip
mdNotOpen enum valueQuaZip
mdUnzip enum valueQuaZip
Mode enum nameQuaZip
open(Mode mode, zlib_filefunc_def *ioApi=NULL)QuaZip
QuaZip()QuaZip
QuaZip(const QString &zipName)QuaZip
QuaZip(QIODevice *ioDevice)QuaZip
QuaZipPrivate (defined in QuaZip)QuaZipfriend
setAutoClose(bool autoClose) const QuaZip
setComment(const QString &comment)QuaZip
setCommentCodec(QTextCodec *commentCodec)QuaZip
setCommentCodec(const char *commentCodecName)QuaZip
setCurrentFile(const QString &fileName, CaseSensitivity cs=csDefault)QuaZip
setDataDescriptorWritingEnabled(bool enabled)QuaZip
setDefaultFileNameCodec(QTextCodec *codec)QuaZipstatic
setDefaultFileNameCodec(const char *codecName)QuaZipstatic
setFileNameCodec(QTextCodec *fileNameCodec)QuaZip
setFileNameCodec(const char *fileNameCodecName)QuaZip
setIoDevice(QIODevice *ioDevice)QuaZip
setZip64Enabled(bool zip64)QuaZip
setZipName(const QString &zipName)QuaZip
~QuaZip()QuaZip
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipPrivate.html libquazip-0.7.6/doc/html/classQuaZipPrivate.html --- libquazip-0.7.3/doc/html/classQuaZipPrivate.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipPrivate.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - -QuaZIP: QuaZipPrivate Class Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZipPrivate Class Reference
-
-
- -

All the internal stuff for the QuaZip class. - More...

- - - - -

-Friends

-class QuaZip
 
-

Detailed Description

-

All the internal stuff for the QuaZip class.

-

The documentation for this class was generated from the following file:
    -
  • quazip/quazip.cpp
  • -
-
- - - - diff -Nru libquazip-0.7.3/doc/html/classQuaZipPrivate-members.html libquazip-0.7.6/doc/html/classQuaZipPrivate-members.html --- libquazip-0.7.3/doc/html/classQuaZipPrivate-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/classQuaZipPrivate-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipPrivate Member List
-
-
- -

This is the complete list of members for QuaZipPrivate, including all inherited members.

- - - - -
QuaZip (defined in QuaZipPrivate)QuaZipPrivatefriend
unzFile_fQuaZipPrivate
zipFile_fQuaZipPrivate
- - - - Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/closed.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/closed.png differ diff -Nru libquazip-0.7.3/doc/html/deprecated.html libquazip-0.7.6/doc/html/deprecated.html --- libquazip-0.7.3/doc/html/deprecated.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/deprecated.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,56 +0,0 @@ - - - - - - -QuaZIP: Deprecated List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - -
-
-
-
Deprecated List
-
-
-
-
Class QuaZipFileInfo
-
Use QuaZipFileInfo64 instead. Not only it supports large files, but also more convenience methods as well.
-
-
- - - - diff -Nru libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map --- libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 --- libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -b521f3e7499357b3270e414f244f2eff \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.png differ diff -Nru libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html --- libquazip-0.7.3/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ - - - - - - -QuaZIP: quazip Directory Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
quazip Directory Reference
-
-
-
-Directory dependency graph for quazip:
-
-
quazip
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  JlCompress.cpp
 
file  JlCompress.h [code]
 
file  qioapi.cpp
 
file  quaadler32.cpp
 
file  quaadler32.h [code]
 
file  quachecksum32.h [code]
 
file  quacrc32.cpp
 
file  quacrc32.h [code]
 
file  quagzipfile.cpp
 
file  quagzipfile.h [code]
 
file  quaziodevice.cpp
 
file  quaziodevice.h [code]
 
file  quazip.cpp
 
file  quazip.h [code]
 
file  quazip_global.h [code]
 
file  quazipdir.cpp
 
file  quazipdir.h [code]
 
file  quazipfile.cpp
 
file  quazipfile.h [code]
 
file  quazipfileinfo.cpp
 
file  quazipfileinfo.h [code]
 
file  quazipnewinfo.cpp
 
file  quazipnewinfo.h [code]
 
-
- - - - diff -Nru libquazip-0.7.3/doc/html/doxygen.css libquazip-0.7.6/doc/html/doxygen.css --- libquazip-0.7.3/doc/html/doxygen.css 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/doxygen.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,1366 +0,0 @@ -/* The standard CSS for doxygen 1.8.6 */ - -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; -} - -/* @group Heading Levels */ - -h1.groupheader { - font-size: 150%; -} - -.title { - font: 400 14px/28px Roboto,sans-serif; - font-size: 150%; - font-weight: bold; - margin: 10px 2px; -} - -h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; - font-size: 150%; - font-weight: normal; - margin-top: 1.75em; - padding-top: 8px; - padding-bottom: 4px; - width: 100%; -} - -h3.groupheader { - font-size: 100%; -} - -h1, h2, h3, h4, h5, h6 { - -webkit-transition: text-shadow 0.5s linear; - -moz-transition: text-shadow 0.5s linear; - -ms-transition: text-shadow 0.5s linear; - -o-transition: text-shadow 0.5s linear; - transition: text-shadow 0.5s linear; - margin-right: 15px; -} - -h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; -} - -dt { - font-weight: bold; -} - -div.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; -} - -p.startli, p.startdd { - margin-top: 2px; -} - -p.starttd { - margin-top: 0px; -} - -p.endli { - margin-bottom: 0px; -} - -p.enddd { - margin-bottom: 4px; -} - -p.endtd { - margin-bottom: 2px; -} - -/* @end */ - -caption { - font-weight: bold; -} - -span.legend { - font-size: 70%; - text-align: center; -} - -h3.version { - font-size: 90%; - text-align: center; -} - -div.qindex, div.navtab{ - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; -} - -div.qindex, div.navpath { - width: 100%; - line-height: 140%; -} - -div.navtab { - margin-right: 15px; -} - -/* @group Link Styling */ - -a { - color: #3D578C; - font-weight: normal; - text-decoration: none; -} - -.contents a:visited { - color: #4665A2; -} - -a:hover { - text-decoration: underline; -} - -a.qindex { - font-weight: bold; -} - -a.qindexHL { - font-weight: bold; - background-color: #9CAFD4; - color: #ffffff; - border: 1px double #869DCA; -} - -.contents a.qindexHL:visited { - color: #ffffff; -} - -a.el { - font-weight: bold; -} - -a.elRef { -} - -a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; -} - -a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; -} - -/* @end */ - -dl.el { - margin-left: -1cm; -} - -pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; - padding: 4px 6px; - margin: 4px 8px 4px 2px; - overflow: auto; - word-wrap: break-word; - font-size: 9pt; - line-height: 125%; - font-family: monospace, fixed; - font-size: 105%; -} - -div.fragment { - padding: 4px 6px; - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; -} - -div.line { - font-family: monospace, fixed; - font-size: 13px; - min-height: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; -} - - -span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; - white-space: pre; -} -span.lineno a { - background-color: #D8D8D8; -} - -span.lineno a:hover { - background-color: #C8C8C8; -} - -div.ah { - background-color: black; - font-weight: bold; - color: #ffffff; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); -} - -div.groupHeader { - margin-left: 16px; - margin-top: 12px; - font-weight: bold; -} - -div.groupText { - margin-left: 16px; - font-style: italic; -} - -body { - background-color: white; - color: black; - margin: 0; -} - -div.contents { - margin-top: 10px; - margin-left: 12px; - margin-right: 8px; -} - -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - -p.formulaDsp { - text-align: center; -} - -img.formulaDsp { - -} - -img.formulaInl { - vertical-align: middle; -} - -div.center { - text-align: center; - margin-top: 0px; - margin-bottom: 0px; - padding: 0px; -} - -div.center img { - border: 0px; -} - -address.footer { - text-align: right; - padding-right: 12px; -} - -img.footer { - border: 0px; - vertical-align: middle; -} - -/* @group Code Colorization */ - -span.keyword { - color: #008000 -} - -span.keywordtype { - color: #604020 -} - -span.keywordflow { - color: #e08000 -} - -span.comment { - color: #800000 -} - -span.preprocessor { - color: #806020 -} - -span.stringliteral { - color: #002080 -} - -span.charliteral { - color: #008080 -} - -span.vhdldigit { - color: #ff00ff -} - -span.vhdlchar { - color: #000000 -} - -span.vhdlkeyword { - color: #700070 -} - -span.vhdllogic { - color: #ff0000 -} - -blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; - margin: 0 24px 0 4px; - padding: 0 12px 0 16px; -} - -/* @end */ - -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - -td.tiny { - font-size: 75%; -} - -.dirtab { - padding: 4px; - border-collapse: collapse; - border: 1px solid #A3B4D7; -} - -th.dirtab { - background: #EBEFF6; - font-weight: bold; -} - -hr { - height: 0px; - border: none; - border-top: 1px solid #4A6AAA; -} - -hr.footer { - height: 1px; -} - -/* @group Member Descriptions */ - -table.memberdecls { - border-spacing: 0px; - padding: 0px; -} - -.memberdecls td, .fieldtable tr { - -webkit-transition-property: background-color, box-shadow; - -webkit-transition-duration: 0.5s; - -moz-transition-property: background-color, box-shadow; - -moz-transition-duration: 0.5s; - -ms-transition-property: background-color, box-shadow; - -ms-transition-duration: 0.5s; - -o-transition-property: background-color, box-shadow; - -o-transition-duration: 0.5s; - transition-property: background-color, box-shadow; - transition-duration: 0.5s; -} - -.memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; -} - -.mdescLeft, .mdescRight, -.memItemLeft, .memItemRight, -.memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; - border: none; - margin: 4px; - padding: 1px 0 0 8px; -} - -.mdescLeft, .mdescRight { - padding: 0px 8px 4px 8px; - color: #555; -} - -.memSeparator { - border-bottom: 1px solid #DEE4F0; - line-height: 1px; - margin: 0px; - padding: 0px; -} - -.memItemLeft, .memTemplItemLeft { - white-space: nowrap; -} - -.memItemRight { - width: 100%; -} - -.memTemplParams { - color: #4665A2; - white-space: nowrap; - font-size: 80%; -} - -/* @end */ - -/* @group Member Details */ - -/* Styles for detailed member documentation */ - -.memtemplate { - font-size: 80%; - color: #4665A2; - font-weight: normal; - margin-left: 9px; -} - -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - -.mempage { - width: 100%; -} - -.memitem { - padding: 0; - margin-bottom: 10px; - margin-right: 5px; - -webkit-transition: box-shadow 0.5s linear; - -moz-transition: box-shadow 0.5s linear; - -ms-transition: box-shadow 0.5s linear; - -o-transition: box-shadow 0.5s linear; - transition: box-shadow 0.5s linear; - display: table !important; - width: 100%; -} - -.memitem.glow { - box-shadow: 0 0 15px cyan; -} - -.memname { - font-weight: bold; - margin-left: 6px; -} - -.memname td { - vertical-align: bottom; -} - -.memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 0px 6px 0px; - color: #253555; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - /* opera specific markup */ - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - border-top-right-radius: 4px; - border-top-left-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - -moz-border-radius-topleft: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -} - -.memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; - padding: 6px 10px 2px 10px; - background-color: #FBFCFD; - border-top-width: 0; - background-image:url('nav_g.png'); - background-repeat:repeat-x; - background-color: #FFFFFF; - /* opera specific markup */ - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - /* firefox specific markup */ - -moz-border-radius-bottomleft: 4px; - -moz-border-radius-bottomright: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - /* webkit specific markup */ - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -dl.reflist dt { - padding: 5px; -} - -dl.reflist dd { - margin: 0px 0px 10px 0px; - padding: 5px; -} - -.paramkey { - text-align: right; -} - -.paramtype { - white-space: nowrap; -} - -.paramname { - color: #602020; - white-space: nowrap; -} -.paramname em { - font-style: normal; -} -.paramname code { - line-height: 14px; -} - -.params, .retval, .exception, .tparams { - margin-left: 0px; - padding-left: 0px; -} - -.params .paramname, .retval .paramname { - font-weight: bold; - vertical-align: top; -} - -.params .paramtype { - font-style: italic; - vertical-align: top; -} - -.params .paramdir { - font-family: "courier new",courier,monospace; - vertical-align: top; -} - -table.mlabels { - border-spacing: 0px; -} - -td.mlabels-left { - width: 100%; - padding: 0px; -} - -td.mlabels-right { - vertical-align: bottom; - padding: 0px; - white-space: nowrap; -} - -span.mlabels { - margin-left: 8px; -} - -span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; - text-shadow: none; - color: white; - margin-right: 4px; - padding: 2px 3px; - border-radius: 3px; - font-size: 7pt; - white-space: nowrap; - vertical-align: middle; -} - - - -/* @end */ - -/* these are for tree view when not used as main index */ - -div.directory { - margin: 10px 0px; - border-top: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - width: 100%; -} - -.directory table { - border-collapse:collapse; -} - -.directory td { - margin: 0px; - padding: 0px; - vertical-align: top; -} - -.directory td.entry { - white-space: nowrap; - padding-right: 6px; - padding-top: 3px; -} - -.directory td.entry a { - outline:none; -} - -.directory td.entry a img { - border: none; -} - -.directory td.desc { - width: 100%; - padding-left: 6px; - padding-right: 6px; - padding-top: 3px; - border-left: 1px solid rgba(0,0,0,0.05); -} - -.directory tr.even { - padding-left: 6px; - background-color: #F7F8FB; -} - -.directory img { - vertical-align: -30%; -} - -.directory .levels { - white-space: nowrap; - width: 100%; - text-align: right; - font-size: 9pt; -} - -.directory .levels span { - cursor: pointer; - padding-left: 2px; - padding-right: 2px; - color: #3D578C; -} - -div.dynheader { - margin-top: 8px; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -address { - font-style: normal; - color: #2A3D61; -} - -table.doxtable { - border-collapse:collapse; - margin-top: 4px; - margin-bottom: 4px; -} - -table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; - padding: 3px 7px 2px; -} - -table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; - font-size: 110%; - padding-bottom: 4px; - padding-top: 5px; -} - -table.fieldtable { - /*width: 100%;*/ - margin-bottom: 10px; - border: 1px solid #A8B8D9; - border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); - box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); -} - -.fieldtable td, .fieldtable th { - padding: 3px 7px 2px; -} - -.fieldtable td.fieldtype, .fieldtable td.fieldname { - white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; - vertical-align: top; -} - -.fieldtable td.fieldname { - padding-top: 3px; -} - -.fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ -} - -.fieldtable td.fielddoc p:first-child { - margin-top: 0px; -} - -.fieldtable td.fielddoc p:last-child { - margin-bottom: 2px; -} - -.fieldtable tr:last-child td { - border-bottom: none; -} - -.fieldtable th { - background-image:url('nav_f.png'); - background-repeat:repeat-x; - background-color: #E2E8F2; - font-size: 90%; - color: #253555; - padding-bottom: 4px; - padding-top: 5px; - text-align:left; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; -} - - -.tabsearch { - top: 0px; - left: 10px; - height: 36px; - background-image: url('tab_b.png'); - z-index: 101; - overflow: hidden; - font-size: 13px; -} - -.navpath ul -{ - font-size: 11px; - background-image:url('tab_b.png'); - background-repeat:repeat-x; - background-position: 0 -5px; - height:30px; - line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; - overflow:hidden; - margin:0px; - padding:0px; -} - -.navpath li -{ - list-style-type:none; - float:left; - padding-left:10px; - padding-right:15px; - background-image:url('bc_s.png'); - background-repeat:no-repeat; - background-position:right; - color:#364D7C; -} - -.navpath li.navelem a -{ - height:32px; - display:block; - text-decoration: none; - outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; -} - -.navpath li.navelem a:hover -{ - color:#6884BD; -} - -.navpath li.footer -{ - list-style-type:none; - float:right; - padding-left:10px; - padding-right:15px; - background-image:none; - background-repeat:no-repeat; - background-position:right; - color:#364D7C; - font-size: 8pt; -} - - -div.summary -{ - float: right; - font-size: 8pt; - padding-right: 5px; - width: 50%; - text-align: right; -} - -div.summary a -{ - white-space: nowrap; -} - -div.ingroups -{ - font-size: 8pt; - width: 50%; - text-align: left; -} - -div.ingroups a -{ - white-space: nowrap; -} - -div.header -{ - background-image:url('nav_h.png'); - background-repeat:repeat-x; - background-color: #F9FAFC; - margin: 0px; - border-bottom: 1px solid #C4CFE5; -} - -div.headertitle -{ - padding: 5px 5px 5px 10px; -} - -dl -{ - padding: 0 0 0 10px; -} - -/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ -dl.section -{ - margin-left: 0px; - padding-left: 0px; -} - -dl.note -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #D0C000; -} - -dl.warning, dl.attention -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #FF0000; -} - -dl.pre, dl.post, dl.invariant -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00D000; -} - -dl.deprecated -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #505050; -} - -dl.todo -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #00C0E0; -} - -dl.test -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #3030E0; -} - -dl.bug -{ - margin-left:-7px; - padding-left: 3px; - border-left:4px solid; - border-color: #C08050; -} - -dl.section dd { - margin-bottom: 6px; -} - - -#projectlogo -{ - text-align: center; - vertical-align: bottom; - border-collapse: separate; -} - -#projectlogo img -{ - border: 0px none; -} - -#projectname -{ - font: 300% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 2px 0px; -} - -#projectbrief -{ - font: 120% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#projectnumber -{ - font: 50% Tahoma, Arial,sans-serif; - margin: 0px; - padding: 0px; -} - -#titlearea -{ - padding: 0px; - margin: 0px; - width: 100%; - border-bottom: 1px solid #5373B4; -} - -.image -{ - text-align: center; -} - -.dotgraph -{ - text-align: center; -} - -.mscgraph -{ - text-align: center; -} - -.diagraph -{ - text-align: center; -} - -.caption -{ - font-weight: bold; -} - -div.zoom -{ - border: 1px solid #90A5CE; -} - -dl.citelist { - margin-bottom:50px; -} - -dl.citelist dt { - color:#334975; - float:left; - font-weight:bold; - margin-right:10px; - padding:5px; -} - -dl.citelist dd { - margin:2px 0; - padding:5px 0; -} - -div.toc { - padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; - border-radius: 7px 7px 7px 7px; - float: right; - height: auto; - margin: 0 20px 10px 10px; - width: 200px; -} - -div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; - margin-top: 5px; - padding-left: 10px; - padding-top: 2px; -} - -div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; - border-bottom: 0 none; - margin: 0; -} - -div.toc ul { - list-style: none outside none; - border: medium none; - padding: 0px; -} - -div.toc li.level1 { - margin-left: 0px; -} - -div.toc li.level2 { - margin-left: 15px; -} - -div.toc li.level3 { - margin-left: 30px; -} - -div.toc li.level4 { - margin-left: 45px; -} - -.inherit_header { - font-weight: bold; - color: gray; - cursor: pointer; - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.inherit_header td { - padding: 6px 0px 2px 5px; -} - -.inherit { - display: none; -} - -tr.heading h2 { - margin-top: 12px; - margin-bottom: 4px; -} - -/* tooltip related style info */ - -.ttc { - position: absolute; - display: none; -} - -#powerTip { - cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; - border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; - display: none; - font-size: smaller; - max-width: 80%; - opacity: 0.9; - padding: 1ex 1em 1em; - position: absolute; - z-index: 2147483647; -} - -#powerTip div.ttdoc { - color: grey; - font-style: italic; -} - -#powerTip div.ttname a { - font-weight: bold; -} - -#powerTip div.ttname { - font-weight: bold; -} - -#powerTip div.ttdeci { - color: #006318; -} - -#powerTip div { - margin: 0px; - padding: 0px; - font: 12px/16px Roboto,sans-serif; -} - -#powerTip:before, #powerTip:after { - content: ""; - position: absolute; - margin: 0px; -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.s:after, #powerTip.s:before, -#powerTip.w:after, #powerTip.w:before, -#powerTip.e:after, #powerTip.e:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.nw:after, #powerTip.nw:before, -#powerTip.sw:after, #powerTip.sw:before { - border: solid transparent; - content: " "; - height: 0; - width: 0; - position: absolute; -} - -#powerTip.n:after, #powerTip.s:after, -#powerTip.w:after, #powerTip.e:after, -#powerTip.nw:after, #powerTip.ne:after, -#powerTip.sw:after, #powerTip.se:after { - border-color: rgba(255, 255, 255, 0); -} - -#powerTip.n:before, #powerTip.s:before, -#powerTip.w:before, #powerTip.e:before, -#powerTip.nw:before, #powerTip.ne:before, -#powerTip.sw:before, #powerTip.se:before { - border-color: rgba(128, 128, 128, 0); -} - -#powerTip.n:after, #powerTip.n:before, -#powerTip.ne:after, #powerTip.ne:before, -#powerTip.nw:after, #powerTip.nw:before { - top: 100%; -} - -#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} -#powerTip.n:before { - border-top-color: #808080; - border-width: 11px; - margin: 0px -11px; -} -#powerTip.n:after, #powerTip.n:before { - left: 50%; -} - -#powerTip.nw:after, #powerTip.nw:before { - right: 14px; -} - -#powerTip.ne:after, #powerTip.ne:before { - left: 14px; -} - -#powerTip.s:after, #powerTip.s:before, -#powerTip.se:after, #powerTip.se:before, -#powerTip.sw:after, #powerTip.sw:before { - bottom: 100%; -} - -#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #ffffff; - border-width: 10px; - margin: 0px -10px; -} - -#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; - border-width: 11px; - margin: 0px -11px; -} - -#powerTip.s:after, #powerTip.s:before { - left: 50%; -} - -#powerTip.sw:after, #powerTip.sw:before { - right: 14px; -} - -#powerTip.se:after, #powerTip.se:before { - left: 14px; -} - -#powerTip.e:after, #powerTip.e:before { - left: 100%; -} -#powerTip.e:after { - border-left-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.e:before { - border-left-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -#powerTip.w:after, #powerTip.w:before { - right: 100%; -} -#powerTip.w:after { - border-right-color: #ffffff; - border-width: 10px; - top: 50%; - margin-top: -10px; -} -#powerTip.w:before { - border-right-color: #808080; - border-width: 11px; - top: 50%; - margin-top: -11px; -} - -@media print -{ - #top { display: none; } - #side-nav { display: none; } - #nav-path { display: none; } - body { overflow:visible; } - h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } - .summary { display: none; } - .memitem { page-break-inside: avoid; } - #doc-content - { - margin-left:0 !important; - height:auto !important; - width:auto !important; - overflow:inherit; - display:inline; - } -} - Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/doxygen.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/doxygen.png differ diff -Nru libquazip-0.7.3/doc/html/dynsections.js libquazip-0.7.6/doc/html/dynsections.js --- libquazip-0.7.3/doc/html/dynsections.js 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/dynsections.js 1970-01-01 00:00:00.000000000 +0000 @@ -1,97 +0,0 @@ -function toggleVisibility(linkObj) -{ - var base = $(linkObj).attr('id'); - var summary = $('#'+base+'-summary'); - var content = $('#'+base+'-content'); - var trigger = $('#'+base+'-trigger'); - var src=$(trigger).attr('src'); - if (content.is(':visible')===true) { - content.hide(); - summary.show(); - $(linkObj).addClass('closed').removeClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); - } else { - content.show(); - summary.hide(); - $(linkObj).removeClass('closed').addClass('opened'); - $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } - return false; -} - -function updateStripes() -{ - $('table.directory tr'). - removeClass('even').filter(':visible:even').addClass('even'); -} -function toggleLevel(level) -{ - $('table.directory tr').each(function(){ - var l = this.id.split('_').length-1; - var i = $('#img'+this.id.substring(3)); - var a = $('#arr'+this.id.substring(3)); - if (l - - - - - -QuaZIP: QuaZip FAQ - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - -
-
-
-
QuaZip FAQ
-
-
-

Q. Is there any way to use QuaZipFile in Qt where you are supposed to use normal (non-zipped) file, but not through QIODevice API?

-

A. Usually not. For example, if you are passing file name to some database driver (like SQLite), Qt usually just passes this name down to the 3rd-party library, which is usually does not know anything about QIODevice and therefore there is no way to pass QuaZipFile as normal file. However, if we are talking about some place where you pass file name, and then indirectly use QFile to open it, then it is a good idea to make overloaded method, which accepts a QIODevice pointer. Then you would be able to pass QuaZipFile as well as many other nice things such as QBuffer or QProcess.

-

Q. Can QuaZIP handle files larger than 4GB? What about zip64 standard?

-

A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64 support which should handle large files perfectly. The zip64 support in Minizip looks like it's not 100% conforming to the standard, but 3rd party tools seem to have no problem with the resulting archives.

-

Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket?

-

A. Not yet. It is not supported by vanilla Minizip (the back-end QuaZIP uses), although theoretically possible according to the ZIP standard. It would require some Minizip modifications that would allow it to detect non-seekable I/O and produce necessary output structures. QuaZIP already writes data descriptor which is necessary for non-seekable I/O. The only thing that is apparently left is to make Minizip fill local headers with correct values and forget about seeking after closing the file.

-
- - - - diff -Nru libquazip-0.7.3/doc/html/files.html libquazip-0.7.6/doc/html/files.html --- libquazip-0.7.3/doc/html/files.html 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/files.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ - - - - - - -QuaZIP: File List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
File List
-
-
-
Here is a list of all documented files with brief descriptions:
-
[detail level 12]
- - - - - - - - - - - - - -
\-quazip
 o*JlCompress.h
 o*quaadler32.h
 o*quachecksum32.h
 o*quacrc32.h
 o*quagzipfile.h
 o*quaziodevice.h
 o*quazip.h
 o*quazip_global.h
 o*quazipdir.h
 o*quazipfile.h
 o*quazipfileinfo.h
 \*quazipnewinfo.h
-
-
- - - - Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2blank.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2blank.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2cl.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2cl.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2doc.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2doc.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2folderclosed.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2folderclosed.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2folderopen.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2folderopen.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2lastnode.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2lastnode.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2link.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2link.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2mlastnode.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2mlastnode.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2mnode.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2mnode.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2mo.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2mo.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2node.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2node.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2ns.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2ns.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2plastnode.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2plastnode.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2pnode.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2pnode.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2splitbar.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2splitbar.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/ftv2vertline.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/ftv2vertline.png differ diff -Nru libquazip-0.7.3/doc/html/functions_b.html libquazip-0.7.6/doc/html/functions_b.html --- libquazip-0.7.3/doc/html/functions_b.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_b.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,98 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- b -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_c.html libquazip-0.7.6/doc/html/functions_c.html --- libquazip-0.7.3/doc/html/functions_c.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_c.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,160 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- c -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_d.html libquazip-0.7.6/doc/html/functions_d.html --- libquazip-0.7.3/doc/html/functions_d.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_d.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,106 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- d -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_e.html libquazip-0.7.6/doc/html/functions_e.html --- libquazip-0.7.3/doc/html/functions_e.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_e.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,130 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- e -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_enum.html libquazip-0.7.6/doc/html/functions_enum.html --- libquazip-0.7.3/doc/html/functions_enum.html 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_enum.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,75 +0,0 @@ - - - - - - -QuaZIP: Class Members - Enumerations - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_eval.html libquazip-0.7.6/doc/html/functions_eval.html --- libquazip-0.7.3/doc/html/functions_eval.html 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_eval.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,93 +0,0 @@ - - - - - - -QuaZIP: Class Members - Enumerator - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_f.html libquazip-0.7.6/doc/html/functions_f.html --- libquazip-0.7.3/doc/html/functions_f.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_f.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,108 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- f -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_func.html libquazip-0.7.6/doc/html/functions_func.html --- libquazip-0.7.3/doc/html/functions_func.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_func.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,537 +0,0 @@ - - - - - - -QuaZIP: Class Members - Functions - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-  - -

- a -

- - -

- b -

- - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- g -

- - -

- h -

    -
  • hasCurrentFile() -: QuaZip -
  • -
- - -

- i -

- - -

- n -

- - -

- o -

- - -

- p -

- - -

- q -

- - -

- r -

- - -

- s -

- - -

- t -

- - -

- u -

- - -

- v -

- - -

- w -

- - -

- ~ -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_g.html libquazip-0.7.6/doc/html/functions_g.html --- libquazip-0.7.3/doc/html/functions_g.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_g.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,180 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- g -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_h.html libquazip-0.7.6/doc/html/functions_h.html --- libquazip-0.7.3/doc/html/functions_h.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_h.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,97 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- h -

    -
  • hasCurrentFile() -: QuaZip -
  • -
-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_~.html libquazip-0.7.6/doc/html/functions_~.html --- libquazip-0.7.3/doc/html/functions_~.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_~.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,109 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- ~ -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions.html libquazip-0.7.6/doc/html/functions.html --- libquazip-0.7.3/doc/html/functions.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,98 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- a -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_i.html libquazip-0.7.6/doc/html/functions_i.html --- libquazip-0.7.3/doc/html/functions_i.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_i.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,125 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- i -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_m.html libquazip-0.7.6/doc/html/functions_m.html --- libquazip-0.7.3/doc/html/functions_m.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_m.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,119 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- m -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_n.html libquazip-0.7.6/doc/html/functions_n.html --- libquazip-0.7.3/doc/html/functions_n.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_n.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,102 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- n -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_o.html libquazip-0.7.6/doc/html/functions_o.html --- libquazip-0.7.3/doc/html/functions_o.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_o.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,112 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- o -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_p.html libquazip-0.7.6/doc/html/functions_p.html --- libquazip-0.7.3/doc/html/functions_p.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_p.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,100 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- p -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_q.html libquazip-0.7.6/doc/html/functions_q.html --- libquazip-0.7.3/doc/html/functions_q.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_q.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,112 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- q -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_r.html libquazip-0.7.6/doc/html/functions_r.html --- libquazip-0.7.3/doc/html/functions_r.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_r.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,107 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- r -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_s.html libquazip-0.7.6/doc/html/functions_s.html --- libquazip-0.7.3/doc/html/functions_s.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_s.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,174 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- s -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_t.html libquazip-0.7.6/doc/html/functions_t.html --- libquazip-0.7.3/doc/html/functions_t.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_t.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,97 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- t -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_u.html libquazip-0.7.6/doc/html/functions_u.html --- libquazip-0.7.3/doc/html/functions_u.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_u.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,110 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- u -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_vars.html libquazip-0.7.6/doc/html/functions_vars.html --- libquazip-0.7.3/doc/html/functions_vars.html 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_vars.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,192 +0,0 @@ - - - - - - -QuaZIP: Class Members - Variables - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-  - -

- c -

- - -

- d -

- - -

- e -

- - -

- f -

- - -

- i -

- - -

- m -

- - -

- n -

- - -

- u -

- - -

- v -

- - -

- z -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_v.html libquazip-0.7.6/doc/html/functions_v.html --- libquazip-0.7.3/doc/html/functions_v.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_v.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,107 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- v -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_w.html libquazip-0.7.6/doc/html/functions_w.html --- libquazip-0.7.3/doc/html/functions_w.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_w.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,99 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- w -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/functions_z.html libquazip-0.7.6/doc/html/functions_z.html --- libquazip-0.7.3/doc/html/functions_z.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/functions_z.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,97 +0,0 @@ - - - - - - -QuaZIP: Class Members - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - - -
-
-
Here is a list of all documented class members with links to the class documentation for each member:
- -

- z -

-
- - - - diff -Nru libquazip-0.7.3/doc/html/graph_legend.html libquazip-0.7.6/doc/html/graph_legend.html --- libquazip-0.7.3/doc/html/graph_legend.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/graph_legend.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,116 +0,0 @@ - - - - - - -QuaZIP: Graph Legend - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - -
-
-
-
Graph Legend
-
-
-

This page explains how to interpret the graphs that are generated by doxygen.

-

Consider the following example:

-
/*! Invisible class because of truncation */
-
class Invisible { };
-
-
/*! Truncated class, inheritance relation is hidden */
-
class Truncated : public Invisible { };
-
-
/* Class not documented with doxygen comments */
-
class Undocumented { };
-
-
/*! Class that is inherited using public inheritance */
-
class PublicBase : public Truncated { };
-
-
/*! A template class */
-
template<class T> class Templ { };
-
-
/*! Class that is inherited using protected inheritance */
-
class ProtectedBase { };
-
-
/*! Class that is inherited using private inheritance */
-
class PrivateBase { };
-
-
/*! Class that is used by the Inherited class */
-
class Used { };
-
-
/*! Super class that inherits a number of other classes */
-
class Inherited : public PublicBase,
-
protected ProtectedBase,
-
private PrivateBase,
-
public Undocumented,
-
public Templ<int>
-
{
-
private:
-
Used *m_usedClass;
-
};
-

This will result in the following graph:

-
- -
-

The boxes in the above graph have the following meaning:

-
    -
  • -A filled gray box represents the struct or class for which the graph is generated.
  • -
  • -A box with a black border denotes a documented struct or class.
  • -
  • -A box with a grey border denotes an undocumented struct or class.
  • -
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • -
-

The arrows have the following meaning:

-
    -
  • -A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • -
  • -A dark green arrow is used for protected inheritance.
  • -
  • -A dark red arrow is used for private inheritance.
  • -
  • -A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • -
  • -A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
  • -
-
- - - - diff -Nru libquazip-0.7.3/doc/html/graph_legend.md5 libquazip-0.7.6/doc/html/graph_legend.md5 --- libquazip-0.7.3/doc/html/graph_legend.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/graph_legend.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -387ff8eb65306fa251338d3c9bd7bfff \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/graph_legend.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/graph_legend.png differ diff -Nru libquazip-0.7.3/doc/html/hierarchy.html libquazip-0.7.6/doc/html/hierarchy.html --- libquazip-0.7.3/doc/html/hierarchy.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/hierarchy.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,80 +0,0 @@ - - - - - - -QuaZIP: Class Hierarchy - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
Class Hierarchy
-
-
-
-

Go to the graphical class hierarchy

-This inheritance list is sorted roughly, but not completely, alphabetically:
-
[detail level 12]
- - - - - - - - - - - - - - - -
oCJlCompressUtility class for typical operations
oCQIODevice
|oCQuaGzipFileGZIP file
|oCQuaZIODeviceA class to compress/decompress QIODevice
|\CQuaZipFileA file inside ZIP archive
oCQuaChecksum32Checksum interface
|oCQuaAdler32Adler32 checksum
|\CQuaCrc32CRC32 checksum
oCQuaZipZIP archive
oCQuaZipDirProvides ZIP archive navigation
oCQuaZipFileInfoInformation about a file inside archive
oCQuaZipFileInfo64Information about a file inside archive (with zip64 support)
oCQuaZipFilePrivateThe implementation class for QuaZip
oCQuaZipNewInfoInformation about a file to be created
\CQuaZipPrivateAll the internal stuff for the QuaZip class
-
-
- - - - diff -Nru libquazip-0.7.3/doc/html/index.html libquazip-0.7.6/doc/html/index.html --- libquazip-0.7.3/doc/html/index.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/index.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,130 +0,0 @@ - - - - - - -QuaZIP: QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - -
-
-
-
QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package
-
-
-
-Powered by SourceForge.net -

-Overview

-

QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit.

-

If you do not know what Qt is, you have two options:

- -

The choice is yours, but if you are really interested in cross-platform (Windows/Linux/BSD/UNIX/Mac/Others) software development, I would definitely recommend you the latter ^_^

-

QuaZIP allows you to access files inside ZIP archives using QIODevice API, and - yes! - that means that you can also use QTextStream, QDataStream or whatever you would like to use on your zipped files.

-

QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both reading from and writing to ZIP archives.

-

-Download QuaZIP

-

Downloads are available from QuaZIP project's page at SourceForge.net.

-

-Platforms supported

-

QuaZIP has been currently tested on the following platforms:

-
    -
  • linux-g++ (Ubuntu 11.10, Qt 4.7.4)
  • -
  • freebsd-g++ (Qt 4.0.0
  • -
  • hpux-acc (HP-UX 11.11)
  • -
  • hpux-g++ (HP-UX 11.11)
  • -
  • win32-g++ (MinGW)
  • -
  • win32-msvc2010 (MS VS 2010 Express, Qt 4.8.4)
  • -
  • win32-msvc2010 (Qt Creator, Qt 5.0.1)
  • -
  • win32-msvc2012 (Qt Creator, Qt 5.2.0)
  • -
  • some Symbian version, reportedly
  • -
-

No testing has been officially done on other systems. Of course, patches to make it work on any platform that it currently does not work on are always welcome!

-

-What is new in this version of QuaZIP?

-

See the NEWS.txt file supplied with the distribution.

-

-Requirements

-

Just zlib and Qt 4/5. Well, Qt 4 depends on zlib anyway, but you will need zlib headers to compile QuaZIP. With Qt5 sometimes you need the zlib library as well (on Windows, for example).

-

-Building, testing and installing

-
Note
Instructions given in this section assume that you are using some UNIX dialect, but the build process should be very similar on win32-g++ platform too. On other platforms it's essentially the same process, maybe with some qmake adjustments not specific to QuaZIP itself.
-

To build the library, run:

-
$ cd /wherever/quazip/source/is/quazip-x.y.z/quazip
-$ qmake [PREFIX=where-to-install]
-$ make
-

Make sure that you have Qt 4/5 installed with all required headers and utilities (that is, including the 'dev' or 'devel' package on Linux) and that you run qmake utility of the Qt 4, not some other version you may have already installed (you may need to type full path to qmake like /usr/local/qt4/bin/qmake).

-

To reconfigure (with another PREFIX, for example), just run qmake with appropriate arguments again.

-

If you need to specify additional include path or libraries, use qmake features (see qmake reference in the Qt documentation). For example:

-
$ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include
-

(note abscence of "-I" before the include path and the presence of "-L" before the lib path)

-

Also note that you may or may not need to define ZLIB_WINAPI (qmake DEFINES+=ZLIB_WINAPI) when linking to zlib on Windows, depending on how zlib was built (generally, if using zlibwapi.dll, this define is needed).

-

To install compiled library:

-
$ make install
-

By default, QuaZIP compiles as a DLL/SO, but you have other options:

-
    -
  • Just copy appropriate source files to your project and use them, but you need to define QUAZIP_STATIC before including any QuaZIP headers (best done as a compiler option). This will save you from possible side effects of importing/exporting QuaZIP symbols.
  • -
  • Compile it as a static library using CONFIG += staticlib qmake option. QUAZIP_STATIC is defined automatically by qmake in this case.
  • -
-

Binary compatibility is guaranteed between minor releases starting with version 0.5, thanks to the Pimpl idiom. That is, the next binary incompatible version will be 1.x.

-

-Testing

-

To check if QuaZIP's basic features work OK on your platform, you may wish to compile the test suite provided in test directory:

-
$ cd /wherever/quazip/source/is/quazip-x.y.z/qztest
-$ qmake
-$ make
-$ ./qztest
-

Note that the test suite looks for the quazip library in the "quazip" folder of the project ("../quazip"), but you may wish to use LIBS for some systems (Windows often puts the library in the separate "debug" or "release" directory). If you wish to use the quazip version that's already installed, provide the appropriate path.

-

On some systems you may need to set PATH, LD_LIBRARY_PATH or SHLIB_PATH to get "qztest" to actually run.

-

If everything went fine, the test suite should report a lot of PASS messages. If something goes wrong, it will provide details and a warning that some tests failed.

-

-Using

-

See usage page.

-

-Authors and contacts

-

This wrapper has been written by Sergey A. Tachenov, AKA Alqualos. This is my first open source project, so it may suck, but I did not find anything like that, so I just had no other choice but to write it.

-

If you have anything to say to me about QuaZIP library, feel free to do so (read the QuaZip FAQ first, though). I can not promise, though, that I fix all the bugs you report in, add any features you want, or respond to your critics, or respond to your feedback at all. I may be busy, I may be tired of working on QuaZIP, I may be even dead already (you never know...).

-

To report bugs or to post ideas about what should be done, use SourceForge.net's trackers. If you want to send me a private message, use my e-mail address stach.nosp@m.enov.nosp@m.@gmai.nosp@m.l.co.nosp@m.m.

-

Do not use e-mail to report bugs, please. Reporting bugs and problems with the SourceForge.net's bug report system has that advantage that it is visible to public, and I can always search for open tickets that were created long ago. It is highly unlikely that I will search my mail for that kind of stuff, so if a bug reported by mail isn't fixed immediately, it will likely be forgotten forever.

-

Copyright (C) 2005-2014 Sergey A. Tachenov and contributors

-
- - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_0.map libquazip-0.7.6/doc/html/inherit_graph_0.map --- libquazip-0.7.3/doc/html/inherit_graph_0.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_0.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_0.md5 libquazip-0.7.6/doc/html/inherit_graph_0.md5 --- libquazip-0.7.3/doc/html/inherit_graph_0.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_0.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -604c34fe4053b4b0723fa2c0961b67a6 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_0.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_0.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_1.map libquazip-0.7.6/doc/html/inherit_graph_1.map --- libquazip-0.7.3/doc/html/inherit_graph_1.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_1.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ - - - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_1.md5 libquazip-0.7.6/doc/html/inherit_graph_1.md5 --- libquazip-0.7.3/doc/html/inherit_graph_1.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_1.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -523da2d6452a986d0a5cf8de4e711f1e \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_1.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_1.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_2.map libquazip-0.7.6/doc/html/inherit_graph_2.map --- libquazip-0.7.3/doc/html/inherit_graph_2.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_2.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ - - - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_2.md5 libquazip-0.7.6/doc/html/inherit_graph_2.md5 --- libquazip-0.7.3/doc/html/inherit_graph_2.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_2.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -5af371c9d0a20651df64f2334a568f18 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_2.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_2.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_3.map libquazip-0.7.6/doc/html/inherit_graph_3.map --- libquazip-0.7.3/doc/html/inherit_graph_3.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_3.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_3.md5 libquazip-0.7.6/doc/html/inherit_graph_3.md5 --- libquazip-0.7.3/doc/html/inherit_graph_3.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_3.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -13b45b42efd00a37b69aa1f1d8f765b2 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_3.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_3.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_4.map libquazip-0.7.6/doc/html/inherit_graph_4.map --- libquazip-0.7.3/doc/html/inherit_graph_4.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_4.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_4.md5 libquazip-0.7.6/doc/html/inherit_graph_4.md5 --- libquazip-0.7.3/doc/html/inherit_graph_4.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_4.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -86e1c51cca39eddf06726d40685e328a \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_4.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_4.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_5.map libquazip-0.7.6/doc/html/inherit_graph_5.map --- libquazip-0.7.3/doc/html/inherit_graph_5.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_5.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_5.md5 libquazip-0.7.6/doc/html/inherit_graph_5.md5 --- libquazip-0.7.3/doc/html/inherit_graph_5.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_5.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -e549a1a7ad10ce59ae8a49ce2b78b075 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_5.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_5.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_6.map libquazip-0.7.6/doc/html/inherit_graph_6.map --- libquazip-0.7.3/doc/html/inherit_graph_6.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_6.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_6.md5 libquazip-0.7.6/doc/html/inherit_graph_6.md5 --- libquazip-0.7.3/doc/html/inherit_graph_6.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_6.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -68ee3638ad52bd74efb9f115337756e9 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_6.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_6.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_7.map libquazip-0.7.6/doc/html/inherit_graph_7.map --- libquazip-0.7.3/doc/html/inherit_graph_7.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_7.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_7.md5 libquazip-0.7.6/doc/html/inherit_graph_7.md5 --- libquazip-0.7.3/doc/html/inherit_graph_7.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_7.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -02515861175708d2c0f029465604a2a2 \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_7.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_7.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_8.map libquazip-0.7.6/doc/html/inherit_graph_8.map --- libquazip-0.7.3/doc/html/inherit_graph_8.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_8.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_8.md5 libquazip-0.7.6/doc/html/inherit_graph_8.md5 --- libquazip-0.7.3/doc/html/inherit_graph_8.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_8.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -055970acedfd4e5fb689663f28ac64ee \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_8.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_8.png differ diff -Nru libquazip-0.7.3/doc/html/inherit_graph_9.map libquazip-0.7.6/doc/html/inherit_graph_9.map --- libquazip-0.7.3/doc/html/inherit_graph_9.map 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_9.map 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ - - - diff -Nru libquazip-0.7.3/doc/html/inherit_graph_9.md5 libquazip-0.7.6/doc/html/inherit_graph_9.md5 --- libquazip-0.7.3/doc/html/inherit_graph_9.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherit_graph_9.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -d889f16826d333fc4daa5af88fc833cf \ No newline at end of file Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/inherit_graph_9.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/inherit_graph_9.png differ diff -Nru libquazip-0.7.3/doc/html/inherits.html libquazip-0.7.6/doc/html/inherits.html --- libquazip-0.7.3/doc/html/inherits.html 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/html/inherits.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,103 +0,0 @@ - - - - - - -QuaZIP: Class Hierarchy - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
Class Hierarchy
-
-
- - - - - - - - - - - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
- - -
-
- - - - diff -Nru libquazip-0.7.3/doc/html/JlCompress_8h_source.html libquazip-0.7.6/doc/html/JlCompress_8h_source.html --- libquazip-0.7.3/doc/html/JlCompress_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/JlCompress_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,146 +0,0 @@ - - - - - - -QuaZIP: quazip/JlCompress.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
JlCompress.h
-
-
-
1 #ifndef JLCOMPRESSFOLDER_H_
-
2 #define JLCOMPRESSFOLDER_H_
-
3 
-
4 /*
-
5 Copyright (C) 2010 Roberto Pompermaier
-
6 Copyright (C) 2005-2016 Sergey A. Tachenov
-
7 
-
8 This file is part of QuaZIP.
-
9 
-
10 QuaZIP is free software: you can redistribute it and/or modify
-
11 it under the terms of the GNU Lesser General Public License as published by
-
12 the Free Software Foundation, either version 2.1 of the License, or
-
13 (at your option) any later version.
-
14 
-
15 QuaZIP is distributed in the hope that it will be useful,
-
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
18 GNU Lesser General Public License for more details.
-
19 
-
20 You should have received a copy of the GNU Lesser General Public License
-
21 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
22 
-
23 See COPYING file for the full LGPL text.
-
24 
-
25 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
26 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
27 */
-
28 
-
29 #include "quazip.h"
-
30 #include "quazipfile.h"
-
31 #include "quazipfileinfo.h"
-
32 #include <QString>
-
33 #include <QDir>
-
34 #include <QFileInfo>
-
35 #include <QFile>
-
36 
-
38 
-
42 class QUAZIP_EXPORT JlCompress {
-
43 private:
-
44  static QStringList extractDir(QuaZip &zip, const QString &dir);
-
45  static QStringList getFileList(QuaZip *zip);
-
46  static QString extractFile(QuaZip &zip, QString fileName, QString fileDest);
-
47  static QStringList extractFiles(QuaZip &zip, const QStringList &files, const QString &dir);
-
49 
-
55  static bool compressFile(QuaZip* zip, QString fileName, QString fileDest);
-
57 
-
66  static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive,
-
67  QDir::Filters filters);
-
69 
-
75  static bool extractFile(QuaZip* zip, QString fileName, QString fileDest);
-
77 
-
81  static bool removeFile(QStringList listFile);
-
82 
-
83 public:
-
85 
-
90  static bool compressFile(QString fileCompressed, QString file);
-
92 
-
97  static bool compressFiles(QString fileCompressed, QStringList files);
-
99 
-
108  static bool compressDir(QString fileCompressed, QString dir = QString(), bool recursive = true);
-
125  static bool compressDir(QString fileCompressed, QString dir,
-
126  bool recursive, QDir::Filters filters);
-
127 
-
128 public:
-
130 
-
137  static QString extractFile(QString fileCompressed, QString fileName, QString fileDest = QString());
-
139 
-
146  static QStringList extractFiles(QString fileCompressed, QStringList files, QString dir = QString());
-
148 
-
154  static QStringList extractDir(QString fileCompressed, QString dir = QString());
-
156 
-
161  static QStringList getFileList(QString fileCompressed);
-
163 
-
170  static QString extractFile(QIODevice *ioDevice, QString fileName, QString fileDest = QString());
-
172 
-
179  static QStringList extractFiles(QIODevice *ioDevice, QStringList files, QString dir = QString());
-
181 
-
187  static QStringList extractDir(QIODevice *ioDevice, QString dir = QString());
-
189 
-
194  static QStringList getFileList(QIODevice *ioDevice);
-
195 };
-
196 
-
197 #endif /* JLCOMPRESSFOLDER_H_ */
-
ZIP archive.
Definition: quazip.h:84
-
Utility class for typical operations.
Definition: JlCompress.h:42
-
- - - - Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/nav_f.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/nav_f.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/nav_g.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/nav_g.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/nav_h.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/nav_h.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/open.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/open.png differ diff -Nru libquazip-0.7.3/doc/html/pages.html libquazip-0.7.6/doc/html/pages.html --- libquazip-0.7.3/doc/html/pages.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/pages.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ - - - - - - -QuaZIP: Related Pages - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - -
-
-
-
Related Pages
-
-
-
Here is a list of all related documentation pages:
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quaadler32_8h_source.html libquazip-0.7.6/doc/html/quaadler32_8h_source.html --- libquazip-0.7.3/doc/html/quaadler32_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quaadler32_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,117 +0,0 @@ - - - - - - -QuaZIP: quazip/quaadler32.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quaadler32.h
-
-
-
1 #ifndef QUAADLER32_H
-
2 #define QUAADLER32_H
-
3 
-
4 /*
-
5 Copyright (C) 2010 Adam Walczak
-
6 Copyright (C) 2005-2014 Sergey A. Tachenov
-
7 
-
8 This file is part of QuaZIP.
-
9 
-
10 QuaZIP is free software: you can redistribute it and/or modify
-
11 it under the terms of the GNU Lesser General Public License as published by
-
12 the Free Software Foundation, either version 2.1 of the License, or
-
13 (at your option) any later version.
-
14 
-
15 QuaZIP is distributed in the hope that it will be useful,
-
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
18 GNU Lesser General Public License for more details.
-
19 
-
20 You should have received a copy of the GNU Lesser General Public License
-
21 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
22 
-
23 See COPYING file for the full LGPL text.
-
24 
-
25 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
26 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
27 */
-
28 
-
29 #include <QByteArray>
-
30 
-
31 #include "quachecksum32.h"
-
32 
-
34 
-
38 class QUAZIP_EXPORT QuaAdler32 : public QuaChecksum32
-
39 {
-
40 
-
41 public:
-
42  QuaAdler32();
-
43 
-
44  quint32 calculate(const QByteArray &data);
-
45 
-
46  void reset();
-
47  void update(const QByteArray &buf);
-
48  quint32 value();
-
49 
-
50 private:
-
51  quint32 checksum;
-
52 };
-
53 
-
54 #endif //QUAADLER32_H
-
Adler32 checksum.
Definition: quaadler32.h:38
-
virtual quint32 calculate(const QByteArray &data)=0
Calculates the checksum for data.
-
virtual quint32 value()=0
Value of the checksum calculated for the stream passed throw update().
-
Checksum interface.
Definition: quachecksum32.h:52
-
virtual void update(const QByteArray &buf)=0
Updates the calculated checksum for the stream.
-
virtual void reset()=0
Resets the calculation on a checksun for a stream.
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quachecksum32_8h_source.html libquazip-0.7.6/doc/html/quachecksum32_8h_source.html --- libquazip-0.7.3/doc/html/quachecksum32_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quachecksum32_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,110 +0,0 @@ - - - - - - -QuaZIP: quazip/quachecksum32.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quachecksum32.h
-
-
-
1 #ifndef QUACHECKSUM32_H
-
2 #define QUACHECKSUM32_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 #include <QByteArray>
-
29 #include "quazip_global.h"
-
30 
-
32 
-
52 class QUAZIP_EXPORT QuaChecksum32
-
53 {
-
54 
-
55 public:
-
57 
-
62  virtual quint32 calculate(const QByteArray &data) = 0;
-
63 
-
65  virtual void reset() = 0;
-
66 
-
68 
-
70  virtual void update(const QByteArray &buf) = 0;
-
71 
-
73 
-
75  virtual quint32 value() = 0;
-
76 };
-
77 
-
78 #endif //QUACHECKSUM32_H
-
Checksum interface.
Definition: quachecksum32.h:52
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quacrc32_8h_source.html libquazip-0.7.6/doc/html/quacrc32_8h_source.html --- libquazip-0.7.3/doc/html/quacrc32_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quacrc32_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ - - - - - - -QuaZIP: quazip/quacrc32.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quacrc32.h
-
-
-
1 #ifndef QUACRC32_H
-
2 #define QUACRC32_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 #include "quachecksum32.h"
-
29 
-
31 
-
35 class QUAZIP_EXPORT QuaCrc32 : public QuaChecksum32 {
-
36 
-
37 public:
-
38  QuaCrc32();
-
39 
-
40  quint32 calculate(const QByteArray &data);
-
41 
-
42  void reset();
-
43  void update(const QByteArray &buf);
-
44  quint32 value();
-
45 
-
46 private:
-
47  quint32 checksum;
-
48 };
-
49 
-
50 #endif //QUACRC32_H
-
virtual quint32 calculate(const QByteArray &data)=0
Calculates the checksum for data.
-
virtual quint32 value()=0
Value of the checksum calculated for the stream passed throw update().
-
Checksum interface.
Definition: quachecksum32.h:52
-
virtual void update(const QByteArray &buf)=0
Updates the calculated checksum for the stream.
-
CRC32 checksum.
Definition: quacrc32.h:35
-
virtual void reset()=0
Resets the calculation on a checksun for a stream.
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quagzipfile_8h_source.html libquazip-0.7.6/doc/html/quagzipfile_8h_source.html --- libquazip-0.7.3/doc/html/quagzipfile_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quagzipfile_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,129 +0,0 @@ - - - - - - -QuaZIP: quazip/quagzipfile.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quagzipfile.h
-
-
-
1 #ifndef QUAZIP_QUAGZIPFILE_H
-
2 #define QUAZIP_QUAGZIPFILE_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 #include <QIODevice>
-
29 #include "quazip_global.h"
-
30 
-
31 #include <zlib.h>
-
32 
-
33 class QuaGzipFilePrivate;
-
34 
-
36 
-
39 class QUAZIP_EXPORT QuaGzipFile: public QIODevice {
-
40  Q_OBJECT
-
41 public:
-
43 
-
46  QuaGzipFile();
-
48 
-
52  QuaGzipFile(QObject *parent);
-
54 
-
58  QuaGzipFile(const QString &fileName, QObject *parent = NULL);
-
60  virtual ~QuaGzipFile();
-
62  void setFileName(const QString& fileName);
-
64  QString getFileName() const;
-
66 
-
73  virtual bool isSequential() const;
-
75 
-
79  virtual bool open(QIODevice::OpenMode mode);
-
81 
-
87  virtual bool open(int fd, QIODevice::OpenMode mode);
-
89 
-
93  virtual bool flush();
-
95  virtual void close();
-
96 protected:
-
98  virtual qint64 readData(char *data, qint64 maxSize);
-
100  virtual qint64 writeData(const char *data, qint64 maxSize);
-
101 private:
-
102  // not implemented by design to disable copy
-
103  QuaGzipFile(const QuaGzipFile &that);
-
104  QuaGzipFile& operator=(const QuaGzipFile &that);
-
105  QuaGzipFilePrivate *d;
-
106 };
-
107 
-
108 #endif // QUAZIP_QUAGZIPFILE_H
-
GZIP file.
Definition: quagzipfile.h:39
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quaziodevice_8h_source.html libquazip-0.7.6/doc/html/quaziodevice_8h_source.html --- libquazip-0.7.3/doc/html/quaziodevice_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quaziodevice_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,120 +0,0 @@ - - - - - - -QuaZIP: quazip/quaziodevice.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quaziodevice.h
-
-
-
1 #ifndef QUAZIP_QUAZIODEVICE_H
-
2 #define QUAZIP_QUAZIODEVICE_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 #include <QIODevice>
-
29 #include "quazip_global.h"
-
30 
-
31 #include <zlib.h>
-
32 
-
33 class QuaZIODevicePrivate;
-
34 
-
36 
-
41 class QUAZIP_EXPORT QuaZIODevice: public QIODevice {
-
42  Q_OBJECT
-
43 public:
-
45 
-
49  QuaZIODevice(QIODevice *io, QObject *parent = NULL);
-
51  ~QuaZIODevice();
-
53 
-
73  virtual bool flush();
-
75 
-
79  virtual bool open(QIODevice::OpenMode mode);
-
81 
-
85  virtual void close();
-
87  QIODevice *getIoDevice() const;
-
89  virtual bool isSequential() const;
-
91  virtual bool atEnd() const;
-
93  virtual qint64 bytesAvailable() const;
-
94 protected:
-
96  virtual qint64 readData(char *data, qint64 maxSize);
-
98  virtual qint64 writeData(const char *data, qint64 maxSize);
-
99 private:
-
100  QuaZIODevicePrivate *d;
-
101 };
-
102 #endif // QUAZIP_QUAZIODEVICE_H
-
A class to compress/decompress QIODevice.
Definition: quaziodevice.h:41
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quazip_8h_source.html libquazip-0.7.6/doc/html/quazip_8h_source.html --- libquazip-0.7.3/doc/html/quazip_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quazip_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,225 +0,0 @@ - - - - - - -QuaZIP: quazip/quazip.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quazip.h
-
-
-
1 #ifndef QUA_ZIP_H
-
2 #define QUA_ZIP_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant, see
-
25 quazip/(un)zip.h files for details, basically it's zlib license.
-
26  **/
-
27 
-
28 #include <QString>
-
29 #include <QStringList>
-
30 #include <QTextCodec>
-
31 
-
32 #include "zip.h"
-
33 #include "unzip.h"
-
34 
-
35 #include "quazip_global.h"
-
36 #include "quazipfileinfo.h"
-
37 
-
38 // just in case it will be defined in the later versions of the ZIP/UNZIP
-
39 #ifndef UNZ_OPENERROR
-
40 // define additional error code
-
41 #define UNZ_OPENERROR -1000
-
42 #endif
-
43 
-
44 class QuaZipPrivate;
-
45 
-
47 
-
84 class QUAZIP_EXPORT QuaZip {
-
85  friend class QuaZipPrivate;
-
86  public:
-
88  enum Constants {
-
89  MAX_FILE_NAME_LENGTH=256
-
92  };
-
94  enum Mode {
- - - -
98  mdAppend,
-
106  mdAdd
-
107  };
-
109 
- -
115  csDefault=0,
-
116  csSensitive=1,
-
117  csInsensitive=2
-
118  };
-
120 
-
126  static Qt::CaseSensitivity convertCaseSensitivity(
-
127  CaseSensitivity cs);
-
128  private:
-
129  QuaZipPrivate *p;
-
130  // not (and will not be) implemented
-
131  QuaZip(const QuaZip& that);
-
132  // not (and will not be) implemented
-
133  QuaZip& operator=(const QuaZip& that);
-
134  public:
-
136 
-
137  QuaZip();
-
139  QuaZip(const QString& zipName);
-
141 
-
142  QuaZip(QIODevice *ioDevice);
-
144 
-
145  ~QuaZip();
-
147 
-
193  bool open(Mode mode, zlib_filefunc_def *ioApi =NULL);
-
195 
-
217  void close();
-
219 
-
224  void setFileNameCodec(QTextCodec *fileNameCodec);
-
226 
-
229  void setFileNameCodec(const char *fileNameCodecName);
-
231  QTextCodec* getFileNameCodec() const;
-
233 
-
235  void setCommentCodec(QTextCodec *commentCodec);
-
237 
-
240  void setCommentCodec(const char *commentCodecName);
-
242  QTextCodec* getCommentCodec() const;
-
244 
-
249  QString getZipName() const;
-
251 
-
256  void setZipName(const QString& zipName);
-
258 
-
262  QIODevice *getIoDevice() const;
-
264 
-
269  void setIoDevice(QIODevice *ioDevice);
-
271  Mode getMode() const;
-
273  bool isOpen() const;
-
275 
-
283  int getZipError() const;
-
285 
-
288  int getEntriesCount() const;
-
290  QString getComment() const;
-
292 
-
300  void setComment(const QString& comment);
-
302 
-
305  bool goToFirstFile();
-
307 
-
324  bool goToNextFile();
-
326 
-
350  bool setCurrentFile(const QString& fileName, CaseSensitivity cs =csDefault);
-
352  bool hasCurrentFile() const;
-
354 
-
375  bool getCurrentFileInfo(QuaZipFileInfo* info)const;
-
377 
-
385  bool getCurrentFileInfo(QuaZipFileInfo64* info)const;
-
387 
-
393  QString getCurrentFileName()const;
-
395 
-
410  unzFile getUnzFile();
-
412 
-
416  zipFile getZipFile();
-
418 
-
445  void setDataDescriptorWritingEnabled(bool enabled);
-
447 
-
450  bool isDataDescriptorWritingEnabled() const;
-
452 
-
458  QStringList getFileNameList() const;
-
460 
-
472  QList<QuaZipFileInfo> getFileInfoList() const;
-
474 
-
482  QList<QuaZipFileInfo64> getFileInfoList64() const;
-
484 
-
497  void setZip64Enabled(bool zip64);
-
499 
-
504  bool isZip64Enabled() const;
-
506 
-
509  bool isAutoClose() const;
-
511 
-
531  void setAutoClose(bool autoClose) const;
-
533 
-
562  static void setDefaultFileNameCodec(QTextCodec *codec);
-
568  static void setDefaultFileNameCodec(const char *codecName);
-
569 };
-
570 
-
571 #endif
-
Constants
Useful constants.
Definition: quazip.h:88
-
ZIP file is not open. This is the initial mode.
Definition: quazip.h:95
-
ZIP file was created with open() call.
Definition: quazip.h:97
-
Information about a file inside archive.
Definition: quazipfileinfo.h:41
-
Mode
Open mode of the ZIP file.
Definition: quazip.h:94
-
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:81
-
ZIP file is open for reading files inside it.
Definition: quazip.h:96
-
ZIP archive.
Definition: quazip.h:84
-
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
-
All the internal stuff for the QuaZip class.
Definition: quazip.cpp:39
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quazipdir_8h_source.html libquazip-0.7.6/doc/html/quazipdir_8h_source.html --- libquazip-0.7.3/doc/html/quazipdir_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quazipdir_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,166 +0,0 @@ - - - - - - -QuaZIP: quazip/quazipdir.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quazipdir.h
-
-
-
1 #ifndef QUAZIP_QUAZIPDIR_H
-
2 #define QUAZIP_QUAZIPDIR_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 class QuaZipDirPrivate;
-
29 
-
30 #include "quazip.h"
-
31 #include "quazipfileinfo.h"
-
32 #include <QDir>
-
33 #include <QList>
-
34 #include <QSharedDataPointer>
-
35 
-
37 
-
54 class QUAZIP_EXPORT QuaZipDir {
-
55 private:
-
56  QSharedDataPointer<QuaZipDirPrivate> d;
-
57 public:
-
59  QuaZipDir(const QuaZipDir &that);
-
61 
-
65  QuaZipDir(QuaZip *zip, const QString &dir = QString());
-
67  ~QuaZipDir();
-
69  bool operator==(const QuaZipDir &that);
-
71 
-
75  inline bool operator!=(const QuaZipDir &that) {return !operator==(that);}
-
77 
-
81  QuaZipDir& operator=(const QuaZipDir &that);
-
83  QString operator[](int pos) const;
-
85  QuaZip::CaseSensitivity caseSensitivity() const;
-
87 
-
96  bool cd(const QString &dirName);
-
98  bool cdUp();
-
100  uint count() const;
-
102 
-
105  QString dirName() const;
-
107 
-
114  QList<QuaZipFileInfo> entryInfoList(const QStringList &nameFilters,
-
115  QDir::Filters filters = QDir::NoFilter,
-
116  QDir::SortFlags sort = QDir::NoSort) const;
-
118 
-
123  QList<QuaZipFileInfo> entryInfoList(QDir::Filters filters = QDir::NoFilter,
-
124  QDir::SortFlags sort = QDir::NoSort) const;
-
126 
-
133  QList<QuaZipFileInfo64> entryInfoList64(const QStringList &nameFilters,
-
134  QDir::Filters filters = QDir::NoFilter,
-
135  QDir::SortFlags sort = QDir::NoSort) const;
-
137 
-
142  QList<QuaZipFileInfo64> entryInfoList64(QDir::Filters filters = QDir::NoFilter,
-
143  QDir::SortFlags sort = QDir::NoSort) const;
-
145 
-
149  QStringList entryList(const QStringList &nameFilters,
-
150  QDir::Filters filters = QDir::NoFilter,
-
151  QDir::SortFlags sort = QDir::NoSort) const;
-
153 
-
158  QStringList entryList(QDir::Filters filters = QDir::NoFilter,
-
159  QDir::SortFlags sort = QDir::NoSort) const;
-
161 
-
167  bool exists(const QString &fileName) const;
-
169  bool exists() const;
-
171 
-
174  QString filePath(const QString &fileName) const;
-
176  QDir::Filters filter();
-
178 
-
181  bool isRoot() const;
-
183  QStringList nameFilters() const;
-
185 
-
189  QString path() const;
-
191 
-
199  QString relativeFilePath(const QString &fileName) const;
-
201  void setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity);
-
203  void setFilter(QDir::Filters filters);
-
205  void setNameFilters(const QStringList &nameFilters);
-
207 
-
216  void setPath(const QString &path);
-
218  void setSorting(QDir::SortFlags sort);
-
220  QDir::SortFlags sorting() const;
-
221 };
-
222 
-
223 #endif // QUAZIP_QUAZIPDIR_H
-
bool operator!=(const QuaZipDir &that)
operator!=
Definition: quazipdir.h:75
-
ZIP archive.
Definition: quazip.h:84
-
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
-
Provides ZIP archive navigation.
Definition: quazipdir.h:54
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quazipfile_8h_source.html libquazip-0.7.6/doc/html/quazipfile_8h_source.html --- libquazip-0.7.3/doc/html/quazipfile_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quazipfile_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,183 +0,0 @@ - - - - - - -QuaZIP: quazip/quazipfile.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quazipfile.h
-
-
-
1 #ifndef QUA_ZIPFILE_H
-
2 #define QUA_ZIPFILE_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant, see
-
25 quazip/(un)zip.h files for details, basically it's zlib license.
-
26  **/
-
27 
-
28 #include <QIODevice>
-
29 
-
30 #include "quazip_global.h"
-
31 #include "quazip.h"
-
32 #include "quazipnewinfo.h"
-
33 
-
34 class QuaZipFilePrivate;
-
35 
-
37 
-
74 class QUAZIP_EXPORT QuaZipFile: public QIODevice {
-
75  friend class QuaZipFilePrivate;
-
76  Q_OBJECT
-
77  private:
- -
79  // these are not supported nor implemented
-
80  QuaZipFile(const QuaZipFile& that);
-
81  QuaZipFile& operator=(const QuaZipFile& that);
-
82  protected:
-
84  qint64 readData(char *data, qint64 maxSize);
-
86  qint64 writeData(const char *data, qint64 maxSize);
-
87  public:
-
89 
-
92  QuaZipFile();
-
94 
-
99  QuaZipFile(QObject *parent);
-
101 
-
110  QuaZipFile(const QString& zipName, QObject *parent =NULL);
-
112 
-
121  QuaZipFile(const QString& zipName, const QString& fileName,
-
122  QuaZip::CaseSensitivity cs =QuaZip::csDefault, QObject *parent =NULL);
-
124 
-
172  QuaZipFile(QuaZip *zip, QObject *parent =NULL);
-
174 
-
177  virtual ~QuaZipFile();
-
179 
-
188  QString getZipName()const;
-
190 
-
193  QuaZip* getZip()const;
-
195 
-
207  QString getFileName() const;
-
209 
-
220  QuaZip::CaseSensitivity getCaseSensitivity() const;
-
222 
-
246  QString getActualFileName()const;
-
248 
-
254  void setZipName(const QString& zipName);
-
256 
-
260  bool isRaw() const;
-
262 
-
270  void setZip(QuaZip *zip);
-
272 
-
283  void setFileName(const QString& fileName, QuaZip::CaseSensitivity cs =QuaZip::csDefault);
-
285 
-
292  virtual bool open(OpenMode mode);
-
294 
-
298  inline bool open(OpenMode mode, const char *password)
-
299  {return open(mode, NULL, NULL, false, password);}
-
301 
-
312  bool open(OpenMode mode, int *method, int *level, bool raw, const char *password =NULL);
-
314 
-
341  bool open(OpenMode mode, const QuaZipNewInfo& info,
-
342  const char *password =NULL, quint32 crc =0,
-
343  int method =Z_DEFLATED, int level =Z_DEFAULT_COMPRESSION, bool raw =false,
-
344  int windowBits =-MAX_WBITS, int memLevel =DEF_MEM_LEVEL, int strategy =Z_DEFAULT_STRATEGY);
-
346  virtual bool isSequential()const;
-
348 
-
369  virtual qint64 pos()const;
-
371 
-
387  virtual bool atEnd()const;
-
389 
-
401  virtual qint64 size()const;
-
403 
-
410  qint64 csize()const;
-
412 
-
420  qint64 usize()const;
-
422 
-
438  bool getFileInfo(QuaZipFileInfo *info);
-
440 
-
445  bool getFileInfo(QuaZipFileInfo64 *info);
-
447 
-
449  virtual void close();
-
451  int getZipError() const;
-
453  virtual qint64 bytesAvailable() const;
-
454 };
-
455 
-
456 #endif
-
Information about a file to be created.
Definition: quazipnewinfo.h:50
-
Information about a file inside archive.
Definition: quazipfileinfo.h:41
-
bool open(OpenMode mode, const char *password)
Opens a file for reading.
Definition: quazipfile.h:298
-
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:81
-
ZIP archive.
Definition: quazip.h:84
-
A file inside ZIP archive.
Definition: quazipfile.h:74
-
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
-
The implementation class for QuaZip.
Definition: quazipfile.cpp:37
-
Default for platform. Case sensitive for UNIX, not for Windows.
Definition: quazip.h:115
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quazipfileinfo_8h_source.html libquazip-0.7.6/doc/html/quazipfileinfo_8h_source.html --- libquazip-0.7.3/doc/html/quazipfileinfo_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quazipfileinfo_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,176 +0,0 @@ - - - - - - -QuaZIP: quazip/quazipfileinfo.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quazipfileinfo.h
-
-
-
1 #ifndef QUA_ZIPFILEINFO_H
-
2 #define QUA_ZIPFILEINFO_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 #include <QByteArray>
-
29 #include <QDateTime>
-
30 #include <QFile>
-
31 
-
32 #include "quazip_global.h"
-
33 
-
35 
-
41 struct QUAZIP_EXPORT QuaZipFileInfo {
-
43  QString name;
-
45  quint16 versionCreated;
-
47  quint16 versionNeeded;
-
49  quint16 flags;
-
51  quint16 method;
-
53  QDateTime dateTime;
-
55  quint32 crc;
-
57  quint32 compressedSize;
- -
61  quint16 diskNumberStart;
-
63  quint16 internalAttr;
-
65  quint32 externalAttr;
-
67  QString comment;
-
69  QByteArray extra;
-
71 
-
75  QFile::Permissions getPermissions() const;
-
76 };
-
77 
-
79 
-
81 struct QUAZIP_EXPORT QuaZipFileInfo64 {
-
83  QString name;
-
85  quint16 versionCreated;
-
87  quint16 versionNeeded;
-
89  quint16 flags;
-
91  quint16 method;
-
93 
-
100  QDateTime dateTime;
-
102  quint32 crc;
-
104  quint64 compressedSize;
- - -
110  quint16 internalAttr;
-
112  quint32 externalAttr;
-
114  QString comment;
-
116  QByteArray extra;
-
118 
-
122  QFile::Permissions getPermissions() const;
-
124 
-
134  bool toQuaZipFileInfo(QuaZipFileInfo &info) const;
-
136 
-
147  QDateTime getNTFSmTime(int *fineTicks = NULL) const;
-
149 
-
160  QDateTime getNTFSaTime(int *fineTicks = NULL) const;
-
162 
-
173  QDateTime getNTFScTime(int *fineTicks = NULL) const;
-
175  bool isEncrypted() const {return (flags & 1) != 0;}
-
176 };
-
177 
-
178 #endif
-
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:108
-
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:116
-
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:85
-
QString comment
Comment.
Definition: quazipfileinfo.h:114
-
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:112
-
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:87
-
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:69
-
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:49
-
QString name
File name.
Definition: quazipfileinfo.h:43
-
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:45
-
QString comment
Comment.
Definition: quazipfileinfo.h:67
-
quint32 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:57
-
Information about a file inside archive.
Definition: quazipfileinfo.h:41
-
quint32 crc
CRC.
Definition: quazipfileinfo.h:102
-
quint64 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:104
-
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:47
-
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:63
-
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:81
-
quint16 method
Compression method.
Definition: quazipfileinfo.h:91
-
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:53
-
quint64 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:106
-
quint32 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:59
-
quint32 crc
CRC.
Definition: quazipfileinfo.h:55
-
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:100
-
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:89
-
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:61
-
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:65
-
bool isEncrypted() const
Checks whether the file is encrypted.
Definition: quazipfileinfo.h:175
-
quint16 method
Compression method.
Definition: quazipfileinfo.h:51
-
QString name
File name.
Definition: quazipfileinfo.h:83
-
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:110
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quazip__global_8h_source.html libquazip-0.7.6/doc/html/quazip__global_8h_source.html --- libquazip-0.7.3/doc/html/quazip__global_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quazip__global_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,111 +0,0 @@ - - - - - - -QuaZIP: quazip/quazip_global.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quazip_global.h
-
-
-
1 #ifndef QUAZIP_GLOBAL_H
-
2 #define QUAZIP_GLOBAL_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
-
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
-
26 */
-
27 
-
28 #include <QtCore/qglobal.h>
-
29 
-
36 #ifdef QUAZIP_STATIC
-
37 #define QUAZIP_EXPORT
-
38 #else
-
39 
-
43 #if defined(QUAZIP_BUILD)
-
44  #define QUAZIP_EXPORT Q_DECL_EXPORT
-
45 #else
-
46  #define QUAZIP_EXPORT Q_DECL_IMPORT
-
47 #endif
-
48 #endif // QUAZIP_STATIC
-
49 
-
50 #ifdef __GNUC__
-
51 #define UNUSED __attribute__((__unused__))
-
52 #else
-
53 #define UNUSED
-
54 #endif
-
55 
-
56 #define QUAZIP_EXTRA_NTFS_MAGIC 0x000Au
-
57 #define QUAZIP_EXTRA_NTFS_TIME_MAGIC 0x0001u
-
58 
-
59 #endif // QUAZIP_GLOBAL_H
-
- - - - diff -Nru libquazip-0.7.3/doc/html/quazipnewinfo_8h_source.html libquazip-0.7.6/doc/html/quazipnewinfo_8h_source.html --- libquazip-0.7.3/doc/html/quazipnewinfo_8h_source.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/quazipnewinfo_8h_source.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,147 +0,0 @@ - - - - - - -QuaZIP: quazip/quazipnewinfo.h Source File - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - - -
-
-
-
quazipnewinfo.h
-
-
-
1 #ifndef QUA_ZIPNEWINFO_H
-
2 #define QUA_ZIPNEWINFO_H
-
3 
-
4 /*
-
5 Copyright (C) 2005-2014 Sergey A. Tachenov
-
6 
-
7 This file is part of QuaZIP.
-
8 
-
9 QuaZIP is free software: you can redistribute it and/or modify
-
10 it under the terms of the GNU Lesser General Public License as published by
-
11 the Free Software Foundation, either version 2.1 of the License, or
-
12 (at your option) any later version.
-
13 
-
14 QuaZIP is distributed in the hope that it will be useful,
-
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
-
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-
17 GNU Lesser General Public License for more details.
-
18 
-
19 You should have received a copy of the GNU Lesser General Public License
-
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
-
21 
-
22 See COPYING file for the full LGPL text.
-
23 
-
24 Original ZIP package is copyrighted by Gilles Vollant, see
-
25 quazip/(un)zip.h files for details, basically it's zlib license.
-
26  **/
-
27 
-
28 #include <QDateTime>
-
29 #include <QFile>
-
30 #include <QString>
-
31 
-
32 #include "quazip_global.h"
-
33 
-
34 #include "quazipfileinfo.h"
-
35 
-
37 
-
50 struct QUAZIP_EXPORT QuaZipNewInfo {
-
52 
-
55  QString name;
-
57 
-
62  QDateTime dateTime;
-
64  quint16 internalAttr;
-
66 
-
71  quint32 externalAttr;
-
73 
-
75  QString comment;
-
77  QByteArray extraLocal;
-
79  QByteArray extraGlobal;
-
81 
- -
86 
-
90  QuaZipNewInfo(const QString& name);
-
92 
-
100  QuaZipNewInfo(const QString& name, const QString& file);
-
102 
-
108  QuaZipNewInfo(const QuaZipFileInfo &existing);
-
110 
-
116  QuaZipNewInfo(const QuaZipFileInfo64 &existing);
-
118 
-
132  void setFileDateTime(const QString& file);
-
134 
-
139  void setFilePermissions(const QString &file);
-
141 
-
146  void setPermissions(QFile::Permissions permissions);
-
148 
-
162  void setFileNTFSTimes(const QString &fileName);
-
164 
-
176  void setFileNTFSmTime(const QDateTime &mTime, int fineTicks = 0);
-
178 
-
190  void setFileNTFSaTime(const QDateTime &aTime, int fineTicks = 0);
-
192 
-
204  void setFileNTFScTime(const QDateTime &cTime, int fineTicks = 0);
-
205 };
-
206 
-
207 #endif
-
Information about a file to be created.
Definition: quazipnewinfo.h:50
-
quint16 internalAttr
File internal attributes.
Definition: quazipnewinfo.h:64
-
QByteArray extraLocal
File local extra field.
Definition: quazipnewinfo.h:77
-
ulong uncompressedSize
Uncompressed file size.
Definition: quazipnewinfo.h:84
-
QString comment
File comment.
Definition: quazipnewinfo.h:75
-
Information about a file inside archive.
Definition: quazipfileinfo.h:41
-
QDateTime dateTime
File timestamp.
Definition: quazipnewinfo.h:62
-
QByteArray extraGlobal
File global extra field.
Definition: quazipnewinfo.h:79
-
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:81
-
quint32 externalAttr
File external attributes.
Definition: quazipnewinfo.h:71
-
QString name
File name.
Definition: quazipnewinfo.h:55
-
- - - - diff -Nru libquazip-0.7.3/doc/html/structQuaZipFileInfo64.html libquazip-0.7.6/doc/html/structQuaZipFileInfo64.html --- libquazip-0.7.3/doc/html/structQuaZipFileInfo64.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/structQuaZipFileInfo64.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,310 +0,0 @@ - - - - - - -QuaZIP: QuaZipFileInfo64 Struct Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZipFileInfo64 Struct Reference
-
-
- -

Information about a file inside archive (with zip64 support). - More...

- -

#include <quazipfileinfo.h>

- - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

QFile::Permissions getPermissions () const
 Get the file permissions. More...
 
bool toQuaZipFileInfo (QuaZipFileInfo &info) const
 Converts to QuaZipFileInfo. More...
 
QDateTime getNTFSmTime (int *fineTicks=NULL) const
 Returns the NTFS modification time. More...
 
QDateTime getNTFSaTime (int *fineTicks=NULL) const
 Returns the NTFS access time. More...
 
QDateTime getNTFScTime (int *fineTicks=NULL) const
 Returns the NTFS creation time. More...
 
-bool isEncrypted () const
 Checks whether the file is encrypted.
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

-QString name
 File name.
 
-quint16 versionCreated
 Version created by.
 
-quint16 versionNeeded
 Version needed to extract.
 
-quint16 flags
 General purpose flags.
 
-quint16 method
 Compression method.
 
QDateTime dateTime
 Last modification date and time. More...
 
-quint32 crc
 CRC.
 
-quint64 compressedSize
 Compressed file size.
 
-quint64 uncompressedSize
 Uncompressed file size.
 
-quint16 diskNumberStart
 Disk number start.
 
-quint16 internalAttr
 Internal file attributes.
 
-quint32 externalAttr
 External file attributes.
 
-QString comment
 Comment.
 
-QByteArray extra
 Extra field.
 
-

Detailed Description

-

Information about a file inside archive (with zip64 support).

-

Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to fill this structure.

-

Member Function Documentation

- -
-
- - - - - - - -
QFile::Permissions QuaZipFileInfo64::getPermissions () const
-
- -

Get the file permissions.

-

Returns the high 16 bits of external attributes converted to QFile::Permissions.

- -
-
- -
-
- - - - - - - - -
bool QuaZipFileInfo64::toQuaZipFileInfo (QuaZipFileInfoinfo) const
-
- -

Converts to QuaZipFileInfo.

-

If any of the fields are greater than 0xFFFFFFFFu, they are set to 0xFFFFFFFFu exactly, not just truncated. This function should be mainly used for compatibility with the old code expecting QuaZipFileInfo, in the cases when it's impossible or otherwise unadvisable (due to ABI compatibility reasons, for example) to modify that old code to use QuaZipFileInfo64.

-
Returns
true if all fields converted correctly, false if an overflow occured.
- -

References QuaZipFileInfo::comment, comment, QuaZipFileInfo::compressedSize, compressedSize, QuaZipFileInfo::crc, crc, QuaZipFileInfo::dateTime, dateTime, QuaZipFileInfo::diskNumberStart, diskNumberStart, QuaZipFileInfo::externalAttr, externalAttr, QuaZipFileInfo::extra, extra, QuaZipFileInfo::flags, flags, QuaZipFileInfo::internalAttr, internalAttr, QuaZipFileInfo::method, method, QuaZipFileInfo::name, name, QuaZipFileInfo::uncompressedSize, uncompressedSize, QuaZipFileInfo::versionCreated, versionCreated, QuaZipFileInfo::versionNeeded, and versionNeeded.

- -

Referenced by QuaZip::getCurrentFileInfo(), and QuaZipFile::getFileInfo().

- -
-
- -
-
- - - - - - - - -
QDateTime QuaZipFileInfo64::getNTFSmTime (int * fineTicks = NULL) const
-
- -

Returns the NTFS modification time.

-

The getNTFS*Time() functions only work if there is an NTFS extra field present. Otherwise, they all return invalid null timestamps.

-
Parameters
- - -
fineTicksIf not NULL, the fractional part of milliseconds returned there, measured in 100-nanosecond ticks. Will be set to zero if there is no NTFS extra field.
-
-
-
See Also
dateTime
-
-getNTFSaTime()
-
-getNTFScTime()
-
Returns
The NTFS modification time, UTC
- -
-
- -
-
- - - - - - - - -
QDateTime QuaZipFileInfo64::getNTFSaTime (int * fineTicks = NULL) const
-
- -

Returns the NTFS access time.

-

The getNTFS*Time() functions only work if there is an NTFS extra field present. Otherwise, they all return invalid null timestamps.

-
Parameters
- - -
fineTicksIf not NULL, the fractional part of milliseconds returned there, measured in 100-nanosecond ticks. Will be set to zero if there is no NTFS extra field.
-
-
-
See Also
dateTime
-
-getNTFSmTime()
-
-getNTFScTime()
-
Returns
The NTFS access time, UTC
- -
-
- -
-
- - - - - - - - -
QDateTime QuaZipFileInfo64::getNTFScTime (int * fineTicks = NULL) const
-
- -

Returns the NTFS creation time.

-

The getNTFS*Time() functions only work if there is an NTFS extra field present. Otherwise, they all return invalid null timestamps.

-
Parameters
- - -
fineTicksIf not NULL, the fractional part of milliseconds returned there, measured in 100-nanosecond ticks. Will be set to zero if there is no NTFS extra field.
-
-
-
See Also
dateTime
-
-getNTFSmTime()
-
-getNTFSaTime()
-
Returns
The NTFS creation time, UTC
- -
-
-

Member Data Documentation

- -
-
- - - - -
QDateTime QuaZipFileInfo64::dateTime
-
- -

Last modification date and time.

-

This is the time stored in the standard ZIP header. This format only allows to store time with 2-second precision, so the seconds will always be even and the milliseconds will always be zero. If you need more precise date and time, you can try to call the getNTFSmTime() function or its siblings, provided that the archive itself contains these NTFS times.

- -

Referenced by QuaZip::getCurrentFileInfo(), and toQuaZipFileInfo().

- -
-
-
The documentation for this struct was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/structQuaZipFileInfo64-members.html libquazip-0.7.6/doc/html/structQuaZipFileInfo64-members.html --- libquazip-0.7.3/doc/html/structQuaZipFileInfo64-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/structQuaZipFileInfo64-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,82 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipFileInfo64 Member List
-
- - - - - diff -Nru libquazip-0.7.3/doc/html/structQuaZipFileInfo.html libquazip-0.7.6/doc/html/structQuaZipFileInfo.html --- libquazip-0.7.3/doc/html/structQuaZipFileInfo.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/structQuaZipFileInfo.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,161 +0,0 @@ - - - - - - -QuaZIP: QuaZipFileInfo Struct Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZipFileInfo Struct Reference
-
-
- -

Information about a file inside archive. - More...

- -

#include <quazipfileinfo.h>

- - - - - -

-Public Member Functions

QFile::Permissions getPermissions () const
 Get the file permissions. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

-QString name
 File name.
 
-quint16 versionCreated
 Version created by.
 
-quint16 versionNeeded
 Version needed to extract.
 
-quint16 flags
 General purpose flags.
 
-quint16 method
 Compression method.
 
-QDateTime dateTime
 Last modification date and time.
 
-quint32 crc
 CRC.
 
-quint32 compressedSize
 Compressed file size.
 
-quint32 uncompressedSize
 Uncompressed file size.
 
-quint16 diskNumberStart
 Disk number start.
 
-quint16 internalAttr
 Internal file attributes.
 
-quint32 externalAttr
 External file attributes.
 
-QString comment
 Comment.
 
-QByteArray extra
 Extra field.
 
-

Detailed Description

-

Information about a file inside archive.

-
Deprecated:
Use QuaZipFileInfo64 instead. Not only it supports large files, but also more convenience methods as well.
-

Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to fill this structure.

-

Member Function Documentation

- -
-
- - - - - - - -
QFile::Permissions QuaZipFileInfo::getPermissions () const
-
- -

Get the file permissions.

-

Returns the high 16 bits of external attributes converted to QFile::Permissions.

- -
-
-
The documentation for this struct was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/structQuaZipFileInfo-members.html libquazip-0.7.6/doc/html/structQuaZipFileInfo-members.html --- libquazip-0.7.3/doc/html/structQuaZipFileInfo-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/structQuaZipFileInfo-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,77 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipFileInfo Member List
-
- - - - - diff -Nru libquazip-0.7.3/doc/html/structQuaZipNewInfo.html libquazip-0.7.6/doc/html/structQuaZipNewInfo.html --- libquazip-0.7.3/doc/html/structQuaZipNewInfo.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/structQuaZipNewInfo.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,551 +0,0 @@ - - - - - - -QuaZIP: QuaZipNewInfo Struct Reference - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
- -
-
QuaZipNewInfo Struct Reference
-
-
- -

Information about a file to be created. - More...

- -

#include <quazipnewinfo.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

 QuaZipNewInfo (const QString &name)
 Constructs QuaZipNewInfo instance. More...
 
 QuaZipNewInfo (const QString &name, const QString &file)
 Constructs QuaZipNewInfo instance. More...
 
 QuaZipNewInfo (const QuaZipFileInfo &existing)
 Initializes the new instance from existing file info. More...
 
 QuaZipNewInfo (const QuaZipFileInfo64 &existing)
 Initializes the new instance from existing file info. More...
 
void setFileDateTime (const QString &file)
 Sets the file timestamp from the existing file. More...
 
void setFilePermissions (const QString &file)
 Sets the file permissions from the existing file. More...
 
void setPermissions (QFile::Permissions permissions)
 Sets the file permissions. More...
 
void setFileNTFSTimes (const QString &fileName)
 Sets the NTFS times from an existing file. More...
 
void setFileNTFSmTime (const QDateTime &mTime, int fineTicks=0)
 Sets the NTFS modification time. More...
 
void setFileNTFSaTime (const QDateTime &aTime, int fineTicks=0)
 Sets the NTFS access time. More...
 
void setFileNTFScTime (const QDateTime &cTime, int fineTicks=0)
 Sets the NTFS creation time. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Attributes

QString name
 File name. More...
 
QDateTime dateTime
 File timestamp. More...
 
-quint16 internalAttr
 File internal attributes.
 
quint32 externalAttr
 File external attributes. More...
 
QString comment
 File comment. More...
 
-QByteArray extraLocal
 File local extra field.
 
-QByteArray extraGlobal
 File global extra field.
 
ulong uncompressedSize
 Uncompressed file size. More...
 
-

Detailed Description

-

Information about a file to be created.

-

This structure holds information about a file to be created inside ZIP archive. At least name should be set to something correct before passing this structure to QuaZipFile::open(OpenMode,const QuaZipNewInfo&,int,int,bool).

-

Zip64 support of this structure is slightly limited: in the raw mode (when a pre-compressed file is written into a ZIP file as-is), it is necessary to specify the uncompressed file size and the appropriate field is 32 bit. Since the raw mode is used extremely rare, there is no real need to have a separate QuaZipNewInfo64 structure like QuaZipFileInfo64. It may be added in the future though, if there is a demand for the raw mode with zip64 archives.

-

Constructor & Destructor Documentation

- -
-
- - - - - - - - -
QuaZipNewInfo::QuaZipNewInfo (const QString & name)
-
- -

Constructs QuaZipNewInfo instance.

-

Initializes name with name, dateTime with current date and time. Attributes are initialized with zeros, comment and extra field with null values.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
QuaZipNewInfo::QuaZipNewInfo (const QString & name,
const QString & file 
)
-
- -

Constructs QuaZipNewInfo instance.

-

Initializes name with name. Timestamp and permissions are taken from the specified file. If the file does not exists or its timestamp is inaccessible (e. g. you do not have read permission for the directory file in), uses current time and zero permissions. Other attributes are initialized with zeros, comment and extra field with null values.

-
See Also
setFileDateTime()
- -

References dateTime.

- -
-
- -
-
- - - - - - - - -
QuaZipNewInfo::QuaZipNewInfo (const QuaZipFileInfoexisting)
-
- -

Initializes the new instance from existing file info.

-

Mainly used when copying files between archives.

-

Both extra fields are initialized to existing.extra. QuaZipNewInfo

-
Parameters
- - -
existing
-
-
- -
-
- -
-
- - - - - - - - -
QuaZipNewInfo::QuaZipNewInfo (const QuaZipFileInfo64existing)
-
- -

Initializes the new instance from existing file info.

-

Mainly used when copying files between archives.

-

Both extra fields are initialized to existing.extra. QuaZipNewInfo

-
Parameters
- - -
existing
-
-
- -
-
-

Member Function Documentation

- -
-
- - - - - - - - -
void QuaZipNewInfo::setFileDateTime (const QString & file)
-
- -

Sets the file timestamp from the existing file.

-

Use this function to set the file timestamp from the existing file. Use it like this:

-
QuaZipFile zipFile(&zip);
-
QFile file("file-to-add");
-
file.open(QIODevice::ReadOnly);
-
QuaZipNewInfo info("file-name-in-archive");
-
info.setFileDateTime("file-to-add"); // take the timestamp from file
-
zipFile.open(QIODevice::WriteOnly, info);
-

This function does not change dateTime if some error occured (e. g. file is inaccessible).

- -

References dateTime.

- -
-
- -
-
- - - - - - - - -
void QuaZipNewInfo::setFilePermissions (const QString & file)
-
- -

Sets the file permissions from the existing file.

-

Takes permissions from the file and sets the high 16 bits of external attributes. Uses QFileInfo to get permissions on all platforms.

- -
-
- -
-
- - - - - - - - -
void QuaZipNewInfo::setPermissions (QFile::Permissions permissions)
-
- -

Sets the file permissions.

-

Modifies the highest 16 bits of external attributes. The type part is set to dir if the name ends with a slash, and to regular file otherwise.

- -

References name.

- -
-
- -
-
- - - - - - - - -
void QuaZipNewInfo::setFileNTFSTimes (const QString & fileName)
-
- -

Sets the NTFS times from an existing file.

-

If the file doesn't exist, a warning is printed to the stderr and nothing is done. Otherwise, all three times, as reported by QFileInfo::lastModified(), QFileInfo::lastRead() and QFileInfo::created(), are written to the NTFS extra field record.

-

The NTFS record is written to both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field.

-

The microseconds will be zero, as they aren't reported by QFileInfo.

-
Parameters
- - -
fileName
-
-
- -

References setFileNTFSaTime(), setFileNTFScTime(), and setFileNTFSmTime().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void QuaZipNewInfo::setFileNTFSmTime (const QDateTime & mTime,
int fineTicks = 0 
)
-
- -

Sets the NTFS modification time.

-

The time is written into the NTFS record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact.

-
Parameters
- - - -
mTimeThe new modification time.
fineTicksThe fractional part of milliseconds, in 100-nanosecond ticks (i. e. 9999 ticks = 999.9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged.
-
-
- -

References extraGlobal, and extraLocal.

- -

Referenced by setFileNTFSTimes().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void QuaZipNewInfo::setFileNTFSaTime (const QDateTime & aTime,
int fineTicks = 0 
)
-
- -

Sets the NTFS access time.

-

The time is written into the NTFS record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact.

-
Parameters
- - - -
aTimeThe new access time.
fineTicksThe fractional part of milliseconds, in 100-nanosecond ticks (i. e. 9999 ticks = 999.9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged.
-
-
- -

References extraGlobal, and extraLocal.

- -

Referenced by setFileNTFSTimes().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
void QuaZipNewInfo::setFileNTFScTime (const QDateTime & cTime,
int fineTicks = 0 
)
-
- -

Sets the NTFS creation time.

-

The time is written into the NTFS record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact.

-
Parameters
- - - -
cTimeThe new creation time.
fineTicksThe fractional part of milliseconds, in 100-nanosecond ticks (i. e. 9999 ticks = 999.9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged.
-
-
- -

References extraGlobal, and extraLocal.

- -

Referenced by setFileNTFSTimes().

- -
-
-

Member Data Documentation

- -
-
- - - - -
QString QuaZipNewInfo::name
-
- -

File name.

-

This field holds file name inside archive, including path relative to archive root.

- -

Referenced by QuaZipFile::open(), and setPermissions().

- -
-
- -
-
- - - - -
QDateTime QuaZipNewInfo::dateTime
-
- -

File timestamp.

-

This is the last file modification date and time. Will be stored in the archive central directory. It is a good practice to set it to the source file timestamp instead of archive creating time. Use setFileDateTime() or QuaZipNewInfo(const QString&, const QString&).

- -

Referenced by QuaZipFile::open(), QuaZipNewInfo(), and setFileDateTime().

- -
-
- -
-
- - - - -
quint32 QuaZipNewInfo::externalAttr
-
- -

File external attributes.

-

The highest 16 bits contain Unix file permissions and type (dir or file). The constructor QuaZipNewInfo(const QString&, const QString&) takes permissions from the provided file.

- -

Referenced by QuaZipFile::open().

- -
-
- -
-
- - - - -
QString QuaZipNewInfo::comment
-
- -

File comment.

-

Will be encoded using QuaZip::getCommentCodec().

- -

Referenced by QuaZipFile::open().

- -
-
- -
-
- - - - -
ulong QuaZipNewInfo::uncompressedSize
-
- -

Uncompressed file size.

-

This is only needed if you are using raw file zipping mode, i. e. adding precompressed file in the zip archive.

- -

Referenced by QuaZipFile::open().

- -
-
-
The documentation for this struct was generated from the following files: -
- - - - diff -Nru libquazip-0.7.3/doc/html/structQuaZipNewInfo-members.html libquazip-0.7.6/doc/html/structQuaZipNewInfo-members.html --- libquazip-0.7.3/doc/html/structQuaZipNewInfo-members.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/structQuaZipNewInfo-members.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,81 +0,0 @@ - - - - - - -QuaZIP: Member List - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - - -
-
-
-
QuaZipNewInfo Member List
-
-
- -

This is the complete list of members for QuaZipNewInfo, including all inherited members.

- - - - - - - - - - - - - - - - - - - - -
commentQuaZipNewInfo
dateTimeQuaZipNewInfo
externalAttrQuaZipNewInfo
extraGlobalQuaZipNewInfo
extraLocalQuaZipNewInfo
internalAttrQuaZipNewInfo
nameQuaZipNewInfo
QuaZipNewInfo(const QString &name)QuaZipNewInfo
QuaZipNewInfo(const QString &name, const QString &file)QuaZipNewInfo
QuaZipNewInfo(const QuaZipFileInfo &existing)QuaZipNewInfo
QuaZipNewInfo(const QuaZipFileInfo64 &existing)QuaZipNewInfo
setFileDateTime(const QString &file)QuaZipNewInfo
setFileNTFSaTime(const QDateTime &aTime, int fineTicks=0)QuaZipNewInfo
setFileNTFScTime(const QDateTime &cTime, int fineTicks=0)QuaZipNewInfo
setFileNTFSmTime(const QDateTime &mTime, int fineTicks=0)QuaZipNewInfo
setFileNTFSTimes(const QString &fileName)QuaZipNewInfo
setFilePermissions(const QString &file)QuaZipNewInfo
setPermissions(QFile::Permissions permissions)QuaZipNewInfo
uncompressedSizeQuaZipNewInfo
- - - - Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/sync_off.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/sync_off.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/sync_on.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/sync_on.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/tab_a.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/tab_a.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/tab_b.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/tab_b.png differ Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/tab_h.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/tab_h.png differ diff -Nru libquazip-0.7.3/doc/html/tabs.css libquazip-0.7.6/doc/html/tabs.css --- libquazip-0.7.3/doc/html/tabs.css 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/tabs.css 1970-01-01 00:00:00.000000000 +0000 @@ -1,60 +0,0 @@ -.tabs, .tabs2, .tabs3 { - background-image: url('tab_b.png'); - width: 100%; - z-index: 101; - font-size: 13px; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; -} - -.tabs2 { - font-size: 10px; -} -.tabs3 { - font-size: 9px; -} - -.tablist { - margin: 0; - padding: 0; - display: table; -} - -.tablist li { - float: left; - display: table-cell; - background-image: url('tab_b.png'); - line-height: 36px; - list-style: none; -} - -.tablist a { - display: block; - padding: 0 20px; - font-weight: bold; - background-image:url('tab_s.png'); - background-repeat:no-repeat; - background-position:right; - color: #283A5D; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; - outline: none; -} - -.tabs3 .tablist a { - padding: 0 10px; -} - -.tablist a:hover { - background-image: url('tab_h.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); - text-decoration: none; -} - -.tablist li.current a { - background-image: url('tab_a.png'); - background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); -} Binary files /tmp/tmpJc3I1F/EtMHWD6C7z/libquazip-0.7.3/doc/html/tab_s.png and /tmp/tmpJc3I1F/7YoJLPJzHf/libquazip-0.7.6/doc/html/tab_s.png differ diff -Nru libquazip-0.7.3/doc/html/usage.html libquazip-0.7.6/doc/html/usage.html --- libquazip-0.7.3/doc/html/usage.html 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/html/usage.html 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ - - - - - - -QuaZIP: Usage - - - - - - -
-
- - - - - - -
-
QuaZIP -  quazip-0-7-3 -
-
-
- - - -
-
-
-
Usage
-
-
-

This page provides general information on QuaZIP usage. See classes QuaZip and QuaZipFile for the detailed documentation on what can QuaZIP do and what it can not. Also, reading comments in the zip.h and unzip.h files (taken from the original ZIP/UNZIP package) is always a good idea too. After all, QuaZIP is just a wrapper with a few convenience extensions and reimplementations.

-

QuaZip is a class representing ZIP archive, QuaZipFile represents a file inside archive and subclasses QIODevice as well. One limitation is that there can be only one instance of QuaZipFile per QuaZip instance, which kind of makes it confusing why there are two classes instead of one. This is actually no more than an API design mistake.

-

-Terminology

-

"QuaZIP" means whole this library, while "QuaZip" (note the lower case) is just one class in it.

-

"ZIP/UNZIP API" or "minizip" means the original API of the Gilles Vollant's ZIP/UNZIP package. It was slightly modified to better integrate with Qt. These modifications are not source or binary compatible with the official minizip release, which means you can't just drop the newer minizip version into QuaZIP sources and make it work.

-

"ZIP", "ZIP archive" or "ZIP file" means any ZIP archive. Typically this is a plain file with ".zip" (or ".ZIP") file name suffix, but it can also be any seekable QIODevice (say, QBuffer, but not QTcpSocket).

-

"A file inside archive", "a file inside ZIP" or something like that means file either being read or written from/to some ZIP archive.

-

-Error handling

-

Almost any call to ZIP/UNZIP API return some error code. Most of the original API's error checking could be done in this wrapper as well, but it would cause unnecessary code bloating without any benefit. So, QuaZIP only checks for situations that ZIP/UNZIP API can not check for. For example, ZIP/UNZIP API has no "ZIP open mode" concept because read and write modes are completely separated. On the other hand, to avoid creating classes like "QuaZipReader", "QuaZipWriter" or something like that, QuaZIP introduces "ZIP open mode" concept instead, thus making it possible to use one class (QuaZip) for both reading and writing. But this leads to additional open mode checks which are not done in ZIP/UNZIP package.

-

Therefore, error checking is two-level (QuaZIP's level and ZIP/UNZIP API level), which sometimes can be confusing, so here are some advices on how the error checking should be properly done:

-
    -
  • Both QuaZip and QuaZipFile have getZipError() function, which return error code of the last ZIP/UNZIP API call. Most function calls reset error code to UNZ_OK on success and set error code on failure. Some functions do not reset error code. Most of them are const and do not access ZIP archive in any way. Some, on the other hand, do access ZIP archive, but do not reset or set error code. For example, QuaZipFile::pos() function. Such functions are explicitly marked in the documentation.
  • -
  • Most functions have their own way to report errors, by returning a null string, negative value or false. If such a function returns error value, call getZipError() to get more information about error. See "zip.h" and "unzip.h" of the ZIP/UNZIP package for error codes.
  • -
  • If the function returns error-stating value (like false), but getZipError() returns UNZ_OK, it means that you did something obviously wrong. For example, tried to write in the archive open for reading or not open at all. You better just not do that! Most functions also issue a warning using qWarning() function in such cases. See documentation for a specific function for details on when it should not be called.
  • -
-

I know that this is somewhat messy, but I could not find a better way to do all the error handling.

-
- - - - diff -Nru libquazip-0.7.3/doc/latex/annotated.tex libquazip-0.7.6/doc/latex/annotated.tex --- libquazip-0.7.3/doc/latex/annotated.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/annotated.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -\section{Class List} -Here are the classes, structs, unions and interfaces with brief descriptions\-:\begin{DoxyCompactList} -\item\contentsline{section}{{\bf Jl\-Compress} \\*Utility class for typical operations }{\pageref{classJlCompress}}{} -\item\contentsline{section}{{\bf Qua\-Adler32} \\*Adler32 checksum }{\pageref{classQuaAdler32}}{} -\item\contentsline{section}{{\bf Qua\-Checksum32} \\*Checksum interface }{\pageref{classQuaChecksum32}}{} -\item\contentsline{section}{{\bf Qua\-Crc32} \\*C\-R\-C32 checksum }{\pageref{classQuaCrc32}}{} -\item\contentsline{section}{{\bf Qua\-Gzip\-File} \\*G\-Z\-I\-P file }{\pageref{classQuaGzipFile}}{} -\item\contentsline{section}{{\bf Qua\-Z\-I\-O\-Device} \\*A class to compress/decompress Q\-I\-O\-Device }{\pageref{classQuaZIODevice}}{} -\item\contentsline{section}{{\bf Qua\-Zip} \\*Z\-I\-P archive }{\pageref{classQuaZip}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-Dir} \\*Provides Z\-I\-P archive navigation }{\pageref{classQuaZipDir}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-File} \\*A file inside Z\-I\-P archive }{\pageref{classQuaZipFile}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-File\-Info} \\*Information about a file inside archive }{\pageref{structQuaZipFileInfo}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-File\-Info64} \\*Information about a file inside archive (with zip64 support) }{\pageref{structQuaZipFileInfo64}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-File\-Private} \\*The implementation class for \doxyref{Qua\-Zip}{p.}{classQuaZip} }{\pageref{classQuaZipFilePrivate}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-New\-Info} \\*Information about a file to be created }{\pageref{structQuaZipNewInfo}}{} -\item\contentsline{section}{{\bf Qua\-Zip\-Private} \\*All the internal stuff for the \doxyref{Qua\-Zip}{p.}{classQuaZip} class }{\pageref{classQuaZipPrivate}}{} -\end{DoxyCompactList} diff -Nru libquazip-0.7.3/doc/latex/classJlCompress.tex libquazip-0.7.6/doc/latex/classJlCompress.tex --- libquazip-0.7.3/doc/latex/classJlCompress.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classJlCompress.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,337 +0,0 @@ -\section{Jl\-Compress Class Reference} -\label{classJlCompress}\index{Jl\-Compress@{Jl\-Compress}} - - -Utility class for typical operations. - - - - -{\ttfamily \#include $<$Jl\-Compress.\-h$>$} - -\subsection*{Static Public Member Functions} -\begin{DoxyCompactItemize} -\item -static bool {\bf compress\-File} (Q\-String file\-Compressed, Q\-String file) -\begin{DoxyCompactList}\small\item\em Compress a single file. \end{DoxyCompactList}\item -static bool {\bf compress\-Files} (Q\-String file\-Compressed, Q\-String\-List files) -\begin{DoxyCompactList}\small\item\em Compress a list of files. \end{DoxyCompactList}\item -static bool {\bf compress\-Dir} (Q\-String file\-Compressed, Q\-String dir=Q\-String(), bool recursive=true) -\begin{DoxyCompactList}\small\item\em Compress a whole directory. \end{DoxyCompactList}\item -static bool {\bf compress\-Dir} (Q\-String file\-Compressed, Q\-String dir, bool recursive, Q\-Dir\-::\-Filters filters) -\begin{DoxyCompactList}\small\item\em Compress a whole directory. \end{DoxyCompactList}\item -static Q\-String {\bf extract\-File} (Q\-String file\-Compressed, Q\-String file\-Name, Q\-String file\-Dest=Q\-String()) -\begin{DoxyCompactList}\small\item\em Extract a single file. \end{DoxyCompactList}\item -static Q\-String\-List {\bf extract\-Files} (Q\-String file\-Compressed, Q\-String\-List files, Q\-String dir=Q\-String()) -\begin{DoxyCompactList}\small\item\em Extract a list of files. \end{DoxyCompactList}\item -static Q\-String\-List {\bf extract\-Dir} (Q\-String file\-Compressed, Q\-String dir=Q\-String()) -\begin{DoxyCompactList}\small\item\em Extract a whole archive. \end{DoxyCompactList}\item -static Q\-String\-List {\bf get\-File\-List} (Q\-String file\-Compressed) -\begin{DoxyCompactList}\small\item\em Get the file list. \end{DoxyCompactList}\item -static Q\-String {\bf extract\-File} (Q\-I\-O\-Device $\ast$io\-Device, Q\-String file\-Name, Q\-String file\-Dest=Q\-String()) -\begin{DoxyCompactList}\small\item\em Extract a single file. \end{DoxyCompactList}\item -static Q\-String\-List {\bf extract\-Files} (Q\-I\-O\-Device $\ast$io\-Device, Q\-String\-List files, Q\-String dir=Q\-String()) -\begin{DoxyCompactList}\small\item\em Extract a list of files. \end{DoxyCompactList}\item -static Q\-String\-List {\bf extract\-Dir} (Q\-I\-O\-Device $\ast$io\-Device, Q\-String dir=Q\-String()) -\begin{DoxyCompactList}\small\item\em Extract a whole archive. \end{DoxyCompactList}\item -static Q\-String\-List {\bf get\-File\-List} (Q\-I\-O\-Device $\ast$io\-Device) -\begin{DoxyCompactList}\small\item\em Get the file list. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Utility class for typical operations. - -This class contains a number of useful static functions to perform simple operations, such as mass Z\-I\-P packing or extraction. - -\subsection{Member Function Documentation} -\index{Jl\-Compress@{Jl\-Compress}!compress\-File@{compress\-File}} -\index{compress\-File@{compress\-File}!JlCompress@{Jl\-Compress}} -\subsubsection[{compress\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-File ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String}]{file} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a4a4de9c62ecf161bb658d4d80495ea97} - - -Compress a single file. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & The name of the archive. \\ -\hline -{\em file} & The file to compress. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -true if success, false otherwise. -\end{DoxyReturn} - - -References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Create, and Qua\-Zip\-::open(). - -\index{Jl\-Compress@{Jl\-Compress}!compress\-Files@{compress\-Files}} -\index{compress\-Files@{compress\-Files}!JlCompress@{Jl\-Compress}} -\subsubsection[{compress\-Files}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-Files ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String\-List}]{files} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a9cdb92d29a94c6b13a718a3249685846} - - -Compress a list of files. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & The name of the archive. \\ -\hline -{\em files} & The file list to compress. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -true if success, false otherwise. -\end{DoxyReturn} - - -References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Create, and Qua\-Zip\-::open(). - -\index{Jl\-Compress@{Jl\-Compress}!compress\-Dir@{compress\-Dir}} -\index{compress\-Dir@{compress\-Dir}!JlCompress@{Jl\-Compress}} -\subsubsection[{compress\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-Dir ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String}]{dir = {\ttfamily QString()}, } -\item[{bool}]{recursive = {\ttfamily true}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a8708eafcadc5c192a1d492e784cfc98f} - - -Compress a whole directory. - -Does not compress hidden files. See \doxyref{compress\-Dir(\-Q\-String, Q\-String, bool, Q\-Dir\-::\-Filters)}{p.}{classJlCompress_ada7511686a24c014e9db25735be148a7}. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & The name of the archive. \\ -\hline -{\em dir} & The directory to compress. \\ -\hline -{\em recursive} & Whether to pack the subdirectories as well, or just regular files. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -true if success, false otherwise. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!compress\-Dir@{compress\-Dir}} -\index{compress\-Dir@{compress\-Dir}!JlCompress@{Jl\-Compress}} -\subsubsection[{compress\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-Dir ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String}]{dir, } -\item[{bool}]{recursive, } -\item[{Q\-Dir\-::\-Filters}]{filters} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_ada7511686a24c014e9db25735be148a7} - - -Compress a whole directory. - -Unless filters are specified explicitly, packs only regular non-\/hidden files (and subdirs, if {\ttfamily recursive} is true). If filters are specified, they are O\-R-\/combined with {\ttfamily Q\-Dir\-::\-All\-Dirs$\vert$Q\-Dir\-::\-No\-Dot\-And\-Dot\-Dot} when searching for dirs and with {\ttfamily Q\-Dir\-::\-Files} when searching for files. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & path to the resulting archive \\ -\hline -{\em dir} & path to the directory being compressed \\ -\hline -{\em recursive} & if true, then the subdirectories are packed as well \\ -\hline -{\em filters} & what to pack, filters are applied both when searching for subdirs (if packing recursively) and when looking for files to pack \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -true on success, false otherwise -\end{DoxyReturn} - - -References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Create, and Qua\-Zip\-::open(). - -\index{Jl\-Compress@{Jl\-Compress}!extract\-File@{extract\-File}} -\index{extract\-File@{extract\-File}!JlCompress@{Jl\-Compress}} -\subsubsection[{extract\-File}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Jl\-Compress\-::extract\-File ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String}]{file\-Name, } -\item[{Q\-String}]{file\-Dest = {\ttfamily QString()}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a38c0d58bfe3bbbcb3cf4e98d126633a3} - - -Extract a single file. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & The name of the archive. \\ -\hline -{\em file\-Name} & The file to extract. \\ -\hline -{\em file\-Dest} & The destination file, assumed to be identical to {\itshape file} if left empty. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The list of the full paths of the files extracted, empty on failure. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!extract\-Files@{extract\-Files}} -\index{extract\-Files@{extract\-Files}!JlCompress@{Jl\-Compress}} -\subsubsection[{extract\-Files}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::extract\-Files ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String\-List}]{files, } -\item[{Q\-String}]{dir = {\ttfamily QString()}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a309e9ee366719a4d8aa28f837fab73ae} - - -Extract a list of files. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & The name of the archive. \\ -\hline -{\em files} & The file list to extract. \\ -\hline -{\em dir} & The directory to put the files to, the current directory if left empty. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The list of the full paths of the files extracted, empty on failure. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!extract\-Dir@{extract\-Dir}} -\index{extract\-Dir@{extract\-Dir}!JlCompress@{Jl\-Compress}} -\subsubsection[{extract\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::extract\-Dir ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed, } -\item[{Q\-String}]{dir = {\ttfamily QString()}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a365a153baa4c11812d93cbca60b6a293} - - -Extract a whole archive. - - -\begin{DoxyParams}{Parameters} -{\em file\-Compressed} & The name of the archive. \\ -\hline -{\em dir} & The directory to extract to, the current directory if left empty. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The list of the full paths of the files extracted, empty on failure. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!get\-File\-List@{get\-File\-List}} -\index{get\-File\-List@{get\-File\-List}!JlCompress@{Jl\-Compress}} -\subsubsection[{get\-File\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::get\-File\-List ( -\begin{DoxyParamCaption} -\item[{Q\-String}]{file\-Compressed} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_ab42422be913f817d7e04c1b1cd5d0156} - - -Get the file list. - -\begin{DoxyReturn}{Returns} -The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!extract\-File@{extract\-File}} -\index{extract\-File@{extract\-File}!JlCompress@{Jl\-Compress}} -\subsubsection[{extract\-File}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Jl\-Compress\-::extract\-File ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io\-Device, } -\item[{Q\-String}]{file\-Name, } -\item[{Q\-String}]{file\-Dest = {\ttfamily QString()}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_ae789e7e744129a0429dc976fdcd33eac} - - -Extract a single file. - - -\begin{DoxyParams}{Parameters} -{\em io\-Device} & pointer to device with compressed data. \\ -\hline -{\em file\-Name} & The file to extract. \\ -\hline -{\em file\-Dest} & The destination file, assumed to be identical to {\itshape file} if left empty. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The list of the full paths of the files extracted, empty on failure. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!extract\-Files@{extract\-Files}} -\index{extract\-Files@{extract\-Files}!JlCompress@{Jl\-Compress}} -\subsubsection[{extract\-Files}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::extract\-Files ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io\-Device, } -\item[{Q\-String\-List}]{files, } -\item[{Q\-String}]{dir = {\ttfamily QString()}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a741646b1e2a922b3c48c2627fdc35f5b} - - -Extract a list of files. - - -\begin{DoxyParams}{Parameters} -{\em io\-Device} & pointer to device with compressed data. \\ -\hline -{\em files} & The file list to extract. \\ -\hline -{\em dir} & The directory to put the files to, the current directory if left empty. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The list of the full paths of the files extracted, empty on failure. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!extract\-Dir@{extract\-Dir}} -\index{extract\-Dir@{extract\-Dir}!JlCompress@{Jl\-Compress}} -\subsubsection[{extract\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::extract\-Dir ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io\-Device, } -\item[{Q\-String}]{dir = {\ttfamily QString()}} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_ac7877bcdf951d634cc2e1e6afe52e908} - - -Extract a whole archive. - - -\begin{DoxyParams}{Parameters} -{\em io\-Device} & pointer to device with compressed data. \\ -\hline -{\em dir} & The directory to extract to, the current directory if left empty. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -The list of the full paths of the files extracted, empty on failure. -\end{DoxyReturn} -\index{Jl\-Compress@{Jl\-Compress}!get\-File\-List@{get\-File\-List}} -\index{get\-File\-List@{get\-File\-List}!JlCompress@{Jl\-Compress}} -\subsubsection[{get\-File\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::get\-File\-List ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io\-Device} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a4ae5501a229d15f228cc034fc97cf78d} - - -Get the file list. - -\begin{DoxyReturn}{Returns} -The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately. -\end{DoxyReturn} - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/Jl\-Compress.\-h\item -quazip/Jl\-Compress.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaAdler32__coll__graph.eps libquazip-0.7.6/doc/latex/classQuaAdler32__coll__graph.eps --- libquazip-0.7.3/doc/latex/classQuaAdler32__coll__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaAdler32__coll__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,264 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaAdler32 -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 136 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 100 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 12 .5 moveto -12 19.5 lineto -80 19.5 lineto -80 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 12 .5 moveto -12 19.5 lineto -80 19.5 lineto -80 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -20 7.5 moveto 52 (QuaAdler32) alignedtext -grestore -% Node2 -gsave -[ /Rect [ 0 56 92 76 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> - /Subtype /Link -/ANN pdfmark -0 0 1 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 63.5 moveto 76 (QuaChecksum32) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 46 45.8 moveto -46 36.91 46 26.78 46 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 136 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaAdler32__coll__graph.md5 libquazip-0.7.6/doc/latex/classQuaAdler32__coll__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaAdler32__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaAdler32__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -1da76ae022494627ad649d8af035c80a \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaAdler32__inherit__graph.eps libquazip-0.7.6/doc/latex/classQuaAdler32__inherit__graph.eps --- libquazip-0.7.3/doc/latex/classQuaAdler32__inherit__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaAdler32__inherit__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,264 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaAdler32 -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 136 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 100 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 12 .5 moveto -12 19.5 lineto -80 19.5 lineto -80 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 12 .5 moveto -12 19.5 lineto -80 19.5 lineto -80 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -20 7.5 moveto 52 (QuaAdler32) alignedtext -grestore -% Node2 -gsave -[ /Rect [ 0 56 92 76 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> - /Subtype /Link -/ANN pdfmark -0 0 1 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 63.5 moveto 76 (QuaChecksum32) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 46 45.8 moveto -46 36.91 46 26.78 46 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 136 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaAdler32__inherit__graph.md5 libquazip-0.7.6/doc/latex/classQuaAdler32__inherit__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaAdler32__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaAdler32__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -1da76ae022494627ad649d8af035c80a \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaAdler32.tex libquazip-0.7.6/doc/latex/classQuaAdler32.tex --- libquazip-0.7.3/doc/latex/classQuaAdler32.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaAdler32.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,108 +0,0 @@ -\section{Qua\-Adler32 Class Reference} -\label{classQuaAdler32}\index{Qua\-Adler32@{Qua\-Adler32}} - - -Adler32 checksum. - - - - -{\ttfamily \#include $<$quazip/quaadler32.\-h$>$} - - - -Inheritance diagram for Qua\-Adler32\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=136pt]{classQuaAdler32__inherit__graph} -\end{center} -\end{figure} - - -Collaboration diagram for Qua\-Adler32\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=136pt]{classQuaAdler32__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -quint32 {\bf calculate} (const Q\-Byte\-Array \&data) -\begin{DoxyCompactList}\small\item\em Calculates the checksum for data. \end{DoxyCompactList}\item -void {\bf reset} ()\label{classQuaAdler32_a2fe6ac9eb289bafda6a9fd20e6472ab5} - -\begin{DoxyCompactList}\small\item\em Resets the calculation on a checksun for a stream. \end{DoxyCompactList}\item -void {\bf update} (const Q\-Byte\-Array \&buf) -\begin{DoxyCompactList}\small\item\em Updates the calculated checksum for the stream. \end{DoxyCompactList}\item -quint32 {\bf value} () -\begin{DoxyCompactList}\small\item\em Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653}. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Adler32 checksum. - -This class wrappers the adler32 function with the \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} interface. See \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} for more info. - -\subsection{Member Function Documentation} -\index{Qua\-Adler32@{Qua\-Adler32}!calculate@{calculate}} -\index{calculate@{calculate}!QuaAdler32@{Qua\-Adler32}} -\subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Adler32\-::calculate ( -\begin{DoxyParamCaption} -\item[{const Q\-Byte\-Array \&}]{data} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaAdler32_a350e84fd000ebfa3c33503336a7b21bb} - - -Calculates the checksum for data. - -{\itshape data} source data \begin{DoxyReturn}{Returns} -data checksum -\end{DoxyReturn} -This function has no efect on the value returned by \doxyref{value()}{p.}{classQuaAdler32_a2022e1db95c23cef220b335e44d74fb1}. - -Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a14d800fcfd55b2ae11ef07d3924fe0b1}. - -\index{Qua\-Adler32@{Qua\-Adler32}!update@{update}} -\index{update@{update}!QuaAdler32@{Qua\-Adler32}} -\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Adler32\-::update ( -\begin{DoxyParamCaption} -\item[{const Q\-Byte\-Array \&}]{buf} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653} - - -Updates the calculated checksum for the stream. - -{\itshape buf} next portion of data from the stream - -Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. - -\index{Qua\-Adler32@{Qua\-Adler32}!value@{value}} -\index{value@{value}!QuaAdler32@{Qua\-Adler32}} -\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Adler32\-::value ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaAdler32_a2022e1db95c23cef220b335e44d74fb1} - - -Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653}. - -\begin{DoxyReturn}{Returns} -checksum -\end{DoxyReturn} - - -Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_afd836e7534194fce08356be6a8336da7}. - - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quaadler32.\-h\item -quazip/quaadler32.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaChecksum32__inherit__graph.eps libquazip-0.7.6/doc/latex/classQuaChecksum32__inherit__graph.eps --- libquazip-0.7.3/doc/latex/classQuaChecksum32__inherit__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaChecksum32__inherit__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,310 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaChecksum32 -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 191 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 155 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 29 56.5 moveto -29 75.5 lineto -121 75.5 lineto -121 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 29 56.5 moveto -29 75.5 lineto -121 75.5 lineto -121 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -37 63.5 moveto 76 (QuaChecksum32) alignedtext -grestore -% Node2 -gsave -[ /Rect [ 0 0 68 20 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI ($classQuaAdler32.html) >> - /Subtype /Link -/ANN pdfmark -0 0 1 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -68 19.5 lineto -68 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -68 19.5 lineto -68 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 7.5 moveto 52 (QuaAdler32) alignedtext -grestore -% Node1->Node2 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 61.98 47.86 moveto -54.88 38.5 46.4 27.33 40.64 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 59.39 50.24 moveto -68.23 56.08 lineto -64.97 46 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 59.39 50.24 moveto -68.23 56.08 lineto -64.97 46 lineto -closepath stroke -grestore -% Node3 -gsave -[ /Rect [ 86.5 0 147 20 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI ($classQuaCrc32.html) >> - /Subtype /Link -/ANN pdfmark -0 0 1 nodecolor -newpath 86.5 .5 moveto -86.5 19.5 lineto -147.5 19.5 lineto -147.5 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 86.5 .5 moveto -86.5 19.5 lineto -147.5 19.5 lineto -147.5 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -94.5 7.5 moveto 45 (QuaCrc32) alignedtext -grestore -% Node1->Node3 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 88.11 48.14 moveto -95.43 38.74 104.24 27.4 110.19 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 85.31 46.04 moveto -81.94 56.08 lineto -90.84 50.34 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 85.31 46.04 moveto -81.94 56.08 lineto -90.84 50.34 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 191 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaChecksum32__inherit__graph.md5 libquazip-0.7.6/doc/latex/classQuaChecksum32__inherit__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaChecksum32__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaChecksum32__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -3650c77c47645e50e4f8afff14cdd718 \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaChecksum32.tex libquazip-0.7.6/doc/latex/classQuaChecksum32.tex --- libquazip-0.7.3/doc/latex/classQuaChecksum32.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaChecksum32.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ -\section{Qua\-Checksum32 Class Reference} -\label{classQuaChecksum32}\index{Qua\-Checksum32@{Qua\-Checksum32}} - - -Checksum interface. - - - - -{\ttfamily \#include $<$quazip/quachecksum32.\-h$>$} - - - -Inheritance diagram for Qua\-Checksum32\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=191pt]{classQuaChecksum32__inherit__graph} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -virtual quint32 {\bf calculate} (const Q\-Byte\-Array \&data)=0 -\begin{DoxyCompactList}\small\item\em Calculates the checksum for data. \end{DoxyCompactList}\item -virtual void {\bf reset} ()=0\label{classQuaChecksum32_ad3f5db3c76b00069db9bda333cb49d57} - -\begin{DoxyCompactList}\small\item\em Resets the calculation on a checksun for a stream. \end{DoxyCompactList}\item -virtual void {\bf update} (const Q\-Byte\-Array \&buf)=0 -\begin{DoxyCompactList}\small\item\em Updates the calculated checksum for the stream. \end{DoxyCompactList}\item -virtual quint32 {\bf value} ()=0 -\begin{DoxyCompactList}\small\item\em Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Checksum interface. - -This is an interface for 32 bit checksums. Classes implementing this interface can calcunate a certin checksum in a single step\-: -\begin{DoxyCode} -QChecksum32 *crc32 = \textcolor{keyword}{new} QuaCrc32(); -rasoult = crc32->calculate(data); -\end{DoxyCode} - or by streaming the data\-: -\begin{DoxyCode} -QChecksum32 *crc32 = \textcolor{keyword}{new} QuaCrc32(); -\textcolor{keywordflow}{while}(!fileA.atEnd()) - crc32->update(fileA.read(bufSize)); -resoultA = crc32->value(); -crc32->reset(); -\textcolor{keywordflow}{while}(!fileB.atEnd()) - crc32->update(fileB.read(bufSize)); -resoultB = crc32->value(); -\end{DoxyCode} - - -\subsection{Member Function Documentation} -\index{Qua\-Checksum32@{Qua\-Checksum32}!calculate@{calculate}} -\index{calculate@{calculate}!QuaChecksum32@{Qua\-Checksum32}} -\subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}virtual quint32 Qua\-Checksum32\-::calculate ( -\begin{DoxyParamCaption} -\item[{const Q\-Byte\-Array \&}]{data} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classQuaChecksum32_a14d800fcfd55b2ae11ef07d3924fe0b1} - - -Calculates the checksum for data. - -{\itshape data} source data \begin{DoxyReturn}{Returns} -data checksum -\end{DoxyReturn} -This function has no efect on the value returned by \doxyref{value()}{p.}{classQuaChecksum32_afd836e7534194fce08356be6a8336da7}. - -Implemented in {\bf Qua\-Adler32} \doxyref{}{p.}{classQuaAdler32_a350e84fd000ebfa3c33503336a7b21bb}, and {\bf Qua\-Crc32} \doxyref{}{p.}{classQuaCrc32_aaf6fdf6e36e55c97bf9eab6ec65ecb9e}. - -\index{Qua\-Checksum32@{Qua\-Checksum32}!update@{update}} -\index{update@{update}!QuaChecksum32@{Qua\-Checksum32}} -\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Qua\-Checksum32\-::update ( -\begin{DoxyParamCaption} -\item[{const Q\-Byte\-Array \&}]{buf} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e} - - -Updates the calculated checksum for the stream. - -{\itshape buf} next portion of data from the stream - -Implemented in {\bf Qua\-Adler32} \doxyref{}{p.}{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653}, and {\bf Qua\-Crc32} \doxyref{}{p.}{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e}. - -\index{Qua\-Checksum32@{Qua\-Checksum32}!value@{value}} -\index{value@{value}!QuaChecksum32@{Qua\-Checksum32}} -\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}virtual quint32 Qua\-Checksum32\-::value ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classQuaChecksum32_afd836e7534194fce08356be6a8336da7} - - -Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. - -\begin{DoxyReturn}{Returns} -checksum -\end{DoxyReturn} - - -Implemented in {\bf Qua\-Adler32} \doxyref{}{p.}{classQuaAdler32_a2022e1db95c23cef220b335e44d74fb1}, and {\bf Qua\-Crc32} \doxyref{}{p.}{classQuaCrc32_a957ce46a53862f75c89d6a3ac4f73389}. - - - -The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} -\item -quazip/quachecksum32.\-h\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaCrc32__coll__graph.eps libquazip-0.7.6/doc/latex/classQuaCrc32__coll__graph.eps --- libquazip-0.7.3/doc/latex/classQuaCrc32__coll__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaCrc32__coll__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,264 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaCrc32 -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 136 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 100 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 15.5 .5 moveto -15.5 19.5 lineto -76.5 19.5 lineto -76.5 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 15.5 .5 moveto -15.5 19.5 lineto -76.5 19.5 lineto -76.5 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -23.5 7.5 moveto 45 (QuaCrc32) alignedtext -grestore -% Node2 -gsave -[ /Rect [ 0 56 92 76 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> - /Subtype /Link -/ANN pdfmark -0 0 1 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 63.5 moveto 76 (QuaChecksum32) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 46 45.8 moveto -46 36.91 46 26.78 46 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 136 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaCrc32__coll__graph.md5 libquazip-0.7.6/doc/latex/classQuaCrc32__coll__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaCrc32__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaCrc32__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -c03aa82ea7ceacd262ffb2c652464541 \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaCrc32__inherit__graph.eps libquazip-0.7.6/doc/latex/classQuaCrc32__inherit__graph.eps --- libquazip-0.7.3/doc/latex/classQuaCrc32__inherit__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaCrc32__inherit__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,264 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaCrc32 -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 136 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 100 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 15.5 .5 moveto -15.5 19.5 lineto -76.5 19.5 lineto -76.5 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 15.5 .5 moveto -15.5 19.5 lineto -76.5 19.5 lineto -76.5 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -23.5 7.5 moveto 45 (QuaCrc32) alignedtext -grestore -% Node2 -gsave -[ /Rect [ 0 56 92 76 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> - /Subtype /Link -/ANN pdfmark -0 0 1 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 56.5 moveto -0 75.5 lineto -92 75.5 lineto -92 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 63.5 moveto 76 (QuaChecksum32) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 46 45.8 moveto -46 36.91 46 26.78 46 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 42.5 46.08 moveto -46 56.08 lineto -49.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 136 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaCrc32__inherit__graph.md5 libquazip-0.7.6/doc/latex/classQuaCrc32__inherit__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaCrc32__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaCrc32__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -c03aa82ea7ceacd262ffb2c652464541 \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaCrc32.tex libquazip-0.7.6/doc/latex/classQuaCrc32.tex --- libquazip-0.7.3/doc/latex/classQuaCrc32.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaCrc32.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,108 +0,0 @@ -\section{Qua\-Crc32 Class Reference} -\label{classQuaCrc32}\index{Qua\-Crc32@{Qua\-Crc32}} - - -C\-R\-C32 checksum. - - - - -{\ttfamily \#include $<$quazip/quacrc32.\-h$>$} - - - -Inheritance diagram for Qua\-Crc32\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=136pt]{classQuaCrc32__inherit__graph} -\end{center} -\end{figure} - - -Collaboration diagram for Qua\-Crc32\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=136pt]{classQuaCrc32__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -quint32 {\bf calculate} (const Q\-Byte\-Array \&data) -\begin{DoxyCompactList}\small\item\em Calculates the checksum for data. \end{DoxyCompactList}\item -void {\bf reset} ()\label{classQuaCrc32_a3fe7ce6cb73512c963ffaabfbbc66363} - -\begin{DoxyCompactList}\small\item\em Resets the calculation on a checksun for a stream. \end{DoxyCompactList}\item -void {\bf update} (const Q\-Byte\-Array \&buf) -\begin{DoxyCompactList}\small\item\em Updates the calculated checksum for the stream. \end{DoxyCompactList}\item -quint32 {\bf value} () -\begin{DoxyCompactList}\small\item\em Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e}. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -C\-R\-C32 checksum. - -This class wrappers the crc32 function with the \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} interface. See \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} for more info. - -\subsection{Member Function Documentation} -\index{Qua\-Crc32@{Qua\-Crc32}!calculate@{calculate}} -\index{calculate@{calculate}!QuaCrc32@{Qua\-Crc32}} -\subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Crc32\-::calculate ( -\begin{DoxyParamCaption} -\item[{const Q\-Byte\-Array \&}]{data} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaCrc32_aaf6fdf6e36e55c97bf9eab6ec65ecb9e} - - -Calculates the checksum for data. - -{\itshape data} source data \begin{DoxyReturn}{Returns} -data checksum -\end{DoxyReturn} -This function has no efect on the value returned by \doxyref{value()}{p.}{classQuaCrc32_a957ce46a53862f75c89d6a3ac4f73389}. - -Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a14d800fcfd55b2ae11ef07d3924fe0b1}. - -\index{Qua\-Crc32@{Qua\-Crc32}!update@{update}} -\index{update@{update}!QuaCrc32@{Qua\-Crc32}} -\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Crc32\-::update ( -\begin{DoxyParamCaption} -\item[{const Q\-Byte\-Array \&}]{buf} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e} - - -Updates the calculated checksum for the stream. - -{\itshape buf} next portion of data from the stream - -Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. - -\index{Qua\-Crc32@{Qua\-Crc32}!value@{value}} -\index{value@{value}!QuaCrc32@{Qua\-Crc32}} -\subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Crc32\-::value ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaCrc32_a957ce46a53862f75c89d6a3ac4f73389} - - -Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e}. - -\begin{DoxyReturn}{Returns} -checksum -\end{DoxyReturn} - - -Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_afd836e7534194fce08356be6a8336da7}. - - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quacrc32.\-h\item -quazip/quacrc32.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaGzipFile__coll__graph.eps libquazip-0.7.6/doc/latex/classQuaGzipFile__coll__graph.eps --- libquazip-0.7.3/doc/latex/classQuaGzipFile__coll__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaGzipFile__coll__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,259 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaGzipFile -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 114 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 78 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath -.5 .5 moveto --.5 19.5 lineto -70.5 19.5 lineto -70.5 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath -.5 .5 moveto --.5 19.5 lineto -70.5 19.5 lineto -70.5 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -7.5 7.5 moveto 55 (QuaGzipFile) alignedtext -grestore -% Node2 -gsave -0 0 1 nodecolor -newpath 2.5 56.5 moveto -2.5 75.5 lineto -67.5 75.5 lineto -67.5 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0.74902 nodecolor -newpath 2.5 56.5 moveto -2.5 75.5 lineto -67.5 75.5 lineto -67.5 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -10.5 63.5 moveto 49 (QIODevice) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 35 45.8 moveto -35 36.91 35 26.78 35 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 31.5 46.08 moveto -35 56.08 lineto -38.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 31.5 46.08 moveto -35 56.08 lineto -38.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 114 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaGzipFile__coll__graph.md5 libquazip-0.7.6/doc/latex/classQuaGzipFile__coll__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaGzipFile__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaGzipFile__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -b596b42a2d881ca771acc3ccdbbc37df \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaGzipFile__inherit__graph.eps libquazip-0.7.6/doc/latex/classQuaGzipFile__inherit__graph.eps --- libquazip-0.7.3/doc/latex/classQuaGzipFile__inherit__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaGzipFile__inherit__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,259 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaGzipFile -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 114 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 78 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath -.5 .5 moveto --.5 19.5 lineto -70.5 19.5 lineto -70.5 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath -.5 .5 moveto --.5 19.5 lineto -70.5 19.5 lineto -70.5 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -7.5 7.5 moveto 55 (QuaGzipFile) alignedtext -grestore -% Node2 -gsave -0 0 1 nodecolor -newpath 2.5 56.5 moveto -2.5 75.5 lineto -67.5 75.5 lineto -67.5 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0.74902 nodecolor -newpath 2.5 56.5 moveto -2.5 75.5 lineto -67.5 75.5 lineto -67.5 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -10.5 63.5 moveto 49 (QIODevice) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 35 45.8 moveto -35 36.91 35 26.78 35 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 31.5 46.08 moveto -35 56.08 lineto -38.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 31.5 46.08 moveto -35 56.08 lineto -38.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 114 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaGzipFile__inherit__graph.md5 libquazip-0.7.6/doc/latex/classQuaGzipFile__inherit__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaGzipFile__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaGzipFile__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -b596b42a2d881ca771acc3ccdbbc37df \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaGzipFile.tex libquazip-0.7.6/doc/latex/classQuaGzipFile.tex --- libquazip-0.7.3/doc/latex/classQuaGzipFile.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaGzipFile.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,189 +0,0 @@ -\section{Qua\-Gzip\-File Class Reference} -\label{classQuaGzipFile}\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}} - - -G\-Z\-I\-P file. - - - - -{\ttfamily \#include $<$quagzipfile.\-h$>$} - - - -Inheritance diagram for Qua\-Gzip\-File\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=114pt]{classQuaGzipFile__inherit__graph} -\end{center} -\end{figure} - - -Collaboration diagram for Qua\-Gzip\-File\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=114pt]{classQuaGzipFile__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -{\bf Qua\-Gzip\-File} () -\begin{DoxyCompactList}\small\item\em Empty constructor. \end{DoxyCompactList}\item -{\bf Qua\-Gzip\-File} (Q\-Object $\ast$parent) -\begin{DoxyCompactList}\small\item\em Empty constructor with a parent. \end{DoxyCompactList}\item -{\bf Qua\-Gzip\-File} (const Q\-String \&file\-Name, Q\-Object $\ast$parent=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item -virtual {\bf $\sim$\-Qua\-Gzip\-File} ()\label{classQuaGzipFile_a1200bc76f36bb2e1991e1e0467befbf2} - -\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item -void {\bf set\-File\-Name} (const Q\-String \&file\-Name)\label{classQuaGzipFile_a253fbaf410a3d4ae0a719505c5525149} - -\begin{DoxyCompactList}\small\item\em Sets the name of the G\-Z\-I\-P file to be opened. \end{DoxyCompactList}\item -Q\-String {\bf get\-File\-Name} () const \label{classQuaGzipFile_a9a0954a1db1fcf2aeba0530239bce71c} - -\begin{DoxyCompactList}\small\item\em Returns the name of the G\-Z\-I\-P file. \end{DoxyCompactList}\item -virtual bool {\bf is\-Sequential} () const -\begin{DoxyCompactList}\small\item\em Returns true. \end{DoxyCompactList}\item -virtual bool {\bf open} (Q\-I\-O\-Device\-::\-Open\-Mode mode) -\begin{DoxyCompactList}\small\item\em Opens the file. \end{DoxyCompactList}\item -virtual bool {\bf open} (int fd, Q\-I\-O\-Device\-::\-Open\-Mode mode) -\begin{DoxyCompactList}\small\item\em Opens the file. \end{DoxyCompactList}\item -virtual bool {\bf flush} () -\begin{DoxyCompactList}\small\item\em Flushes data to file. \end{DoxyCompactList}\item -virtual void {\bf close} ()\label{classQuaGzipFile_a273205350b1235a242a1eb5cbf586434} - -\begin{DoxyCompactList}\small\item\em Closes the file. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Protected Member Functions} -\begin{DoxyCompactItemize} -\item -virtual qint64 {\bf read\-Data} (char $\ast$data, qint64 max\-Size)\label{classQuaGzipFile_a9eab41b46367e63e0c269c42ca883d82} - -\begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::read\-Data(). \end{DoxyCompactList}\item -virtual qint64 {\bf write\-Data} (const char $\ast$data, qint64 max\-Size)\label{classQuaGzipFile_a6dd09d41d8a51c96b0f2134eff37f676} - -\begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::write\-Data(). \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -G\-Z\-I\-P file. - -This class is a wrapper around G\-Z\-I\-P file access functions in zlib. Unlike \doxyref{Qua\-Zip}{p.}{classQuaZip} classes, it doesn't allow reading from a G\-Z\-I\-P file opened as Q\-I\-O\-Device, for example, if your G\-Z\-I\-P file is in Q\-Buffer. It only provides Q\-I\-O\-Device access to a G\-Z\-I\-P file contents, but the G\-Z\-I\-P file itself must be identified by its name on disk or by descriptor id. - -\subsection{Constructor \& Destructor Documentation} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!Qua\-Gzip\-File@{Qua\-Gzip\-File}} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{Qua\-Gzip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Gzip\-File\-::\-Qua\-Gzip\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaGzipFile_a709608207b41ca81d5beed2b34982809} - - -Empty constructor. - -Must call \doxyref{set\-File\-Name()}{p.}{classQuaGzipFile_a253fbaf410a3d4ae0a719505c5525149} before trying to open. \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!Qua\-Gzip\-File@{Qua\-Gzip\-File}} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{Qua\-Gzip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Gzip\-File\-::\-Qua\-Gzip\-File ( -\begin{DoxyParamCaption} -\item[{Q\-Object $\ast$}]{parent} -\end{DoxyParamCaption} -)}\label{classQuaGzipFile_a13996f5db660c4a29645f8d208b9ca6b} - - -Empty constructor with a parent. - -Must call \doxyref{set\-File\-Name()}{p.}{classQuaGzipFile_a253fbaf410a3d4ae0a719505c5525149} before trying to open. -\begin{DoxyParams}{Parameters} -{\em parent} & The parent object, as per Q\-Object logic. \\ -\hline -\end{DoxyParams} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!Qua\-Gzip\-File@{Qua\-Gzip\-File}} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{Qua\-Gzip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Gzip\-File\-::\-Qua\-Gzip\-File ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name, } -\item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaGzipFile_ac7f7703bda9c6169c001aa15641bb2ea} - - -Constructor. - - -\begin{DoxyParams}{Parameters} -{\em file\-Name} & The name of the G\-Z\-I\-P file. \\ -\hline -{\em parent} & The parent object, as per Q\-Object logic. \\ -\hline -\end{DoxyParams} - - -\subsection{Member Function Documentation} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!is\-Sequential@{is\-Sequential}} -\index{is\-Sequential@{is\-Sequential}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{is\-Sequential}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::is\-Sequential ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_ae97f4e15d86c965c156df33d00318176} - - -Returns true. - -Strictly speaking, zlib supports seeking for G\-Z\-I\-P files, but it is poorly implemented, because there is no way to implement it properly. For reading, seeking backwards is very slow, and for writing, it is downright impossible. Therefore, \doxyref{Qua\-Gzip\-File}{p.}{classQuaGzipFile} does not support seeking at all. \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!open@{open}} -\index{open@{open}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::open ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device\-::\-Open\-Mode}]{mode} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_a1d560babdfff3a3441d704099a5bc1e4} - - -Opens the file. - - -\begin{DoxyParams}{Parameters} -{\em mode} & Can be either Q\-I\-O\-Device\-::\-Write or Q\-I\-O\-Device\-::\-Read. Read\-Write and Append aren't supported. \\ -\hline -\end{DoxyParams} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!open@{open}} -\index{open@{open}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::open ( -\begin{DoxyParamCaption} -\item[{int}]{fd, } -\item[{Q\-I\-O\-Device\-::\-Open\-Mode}]{mode} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_adf5a954bb9bfda2d33cd336a213e2549} - - -Opens the file. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. -\begin{DoxyParams}{Parameters} -{\em fd} & The file descriptor to read/write the G\-Z\-I\-P file from/to. \\ -\hline -{\em mode} & Can be either Q\-I\-O\-Device\-::\-Write or Q\-I\-O\-Device\-::\-Read. Read\-Write and Append aren't supported. \\ -\hline -\end{DoxyParams} -\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!flush@{flush}} -\index{flush@{flush}!QuaGzipFile@{Qua\-Gzip\-File}} -\subsubsection[{flush}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::flush ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_ab745f345b727c81abbc3eb5af4dca844} - - -Flushes data to file. - -The data is written using Z\-\_\-\-S\-Y\-N\-C\-\_\-\-F\-L\-U\-S\-H mode. Doesn't make any sense when reading. - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quagzipfile.\-h\item -quazip/quagzipfile.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaZIODevice__coll__graph.eps libquazip-0.7.6/doc/latex/classQuaZIODevice__coll__graph.eps --- libquazip-0.7.3/doc/latex/classQuaZIODevice__coll__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZIODevice__coll__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,259 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaZIODevice -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 126 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 90 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -82 19.5 lineto -82 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -82 19.5 lineto -82 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 7.5 moveto 66 (QuaZIODevice) alignedtext -grestore -% Node2 -gsave -0 0 1 nodecolor -newpath 8.5 56.5 moveto -8.5 75.5 lineto -73.5 75.5 lineto -73.5 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0.74902 nodecolor -newpath 8.5 56.5 moveto -8.5 75.5 lineto -73.5 75.5 lineto -73.5 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -16.5 63.5 moveto 49 (QIODevice) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 41 45.8 moveto -41 36.91 41 26.78 41 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 37.5 46.08 moveto -41 56.08 lineto -44.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 37.5 46.08 moveto -41 56.08 lineto -44.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 126 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaZIODevice__coll__graph.md5 libquazip-0.7.6/doc/latex/classQuaZIODevice__coll__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaZIODevice__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZIODevice__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -f1b807d1cee861a25fe9ec62b50a04e0 \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaZIODevice__inherit__graph.eps libquazip-0.7.6/doc/latex/classQuaZIODevice__inherit__graph.eps --- libquazip-0.7.3/doc/latex/classQuaZIODevice__inherit__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZIODevice__inherit__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,259 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaZIODevice -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 126 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 90 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -82 19.5 lineto -82 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -82 19.5 lineto -82 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 7.5 moveto 66 (QuaZIODevice) alignedtext -grestore -% Node2 -gsave -0 0 1 nodecolor -newpath 8.5 56.5 moveto -8.5 75.5 lineto -73.5 75.5 lineto -73.5 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0.74902 nodecolor -newpath 8.5 56.5 moveto -8.5 75.5 lineto -73.5 75.5 lineto -73.5 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -16.5 63.5 moveto 49 (QIODevice) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 41 45.8 moveto -41 36.91 41 26.78 41 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 37.5 46.08 moveto -41 56.08 lineto -44.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 37.5 46.08 moveto -41 56.08 lineto -44.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 126 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaZIODevice__inherit__graph.md5 libquazip-0.7.6/doc/latex/classQuaZIODevice__inherit__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaZIODevice__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZIODevice__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -f1b807d1cee861a25fe9ec62b50a04e0 \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaZIODevice.tex libquazip-0.7.6/doc/latex/classQuaZIODevice.tex --- libquazip-0.7.3/doc/latex/classQuaZIODevice.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZIODevice.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,162 +0,0 @@ -\section{Qua\-Z\-I\-O\-Device Class Reference} -\label{classQuaZIODevice}\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}} - - -A class to compress/decompress Q\-I\-O\-Device. - - - - -{\ttfamily \#include $<$quaziodevice.\-h$>$} - - - -Inheritance diagram for Qua\-Z\-I\-O\-Device\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=126pt]{classQuaZIODevice__inherit__graph} -\end{center} -\end{figure} - - -Collaboration diagram for Qua\-Z\-I\-O\-Device\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=126pt]{classQuaZIODevice__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -{\bf Qua\-Z\-I\-O\-Device} (Q\-I\-O\-Device $\ast$io, Q\-Object $\ast$parent=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item -{\bf $\sim$\-Qua\-Z\-I\-O\-Device} ()\label{classQuaZIODevice_ab3524cef44c240c21e6b7680ee5f42de} - -\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item -virtual bool {\bf flush} () -\begin{DoxyCompactList}\small\item\em Flushes data waiting to be written. \end{DoxyCompactList}\item -virtual bool {\bf open} (Q\-I\-O\-Device\-::\-Open\-Mode mode) -\begin{DoxyCompactList}\small\item\em Opens the device. \end{DoxyCompactList}\item -virtual void {\bf close} () -\begin{DoxyCompactList}\small\item\em Closes this device, but not the underlying one. \end{DoxyCompactList}\item -Q\-I\-O\-Device $\ast$ {\bf get\-Io\-Device} () const \label{classQuaZIODevice_ad63e7f1717c7d91b3c2c5ace908c98b7} - -\begin{DoxyCompactList}\small\item\em Returns the underlying device. \end{DoxyCompactList}\item -virtual bool {\bf is\-Sequential} () const \label{classQuaZIODevice_af2697f58c228741d3715801bf48a9a8b} - -\begin{DoxyCompactList}\small\item\em Returns true. \end{DoxyCompactList}\item -virtual bool {\bf at\-End} () const \label{classQuaZIODevice_ae727c48089ca1b161323ec8423a653ab} - -\begin{DoxyCompactList}\small\item\em Returns true iff the end of the compressed stream is reached. \end{DoxyCompactList}\item -virtual qint64 {\bf bytes\-Available} () const \label{classQuaZIODevice_ac18b45c3d7009c8d231b13fe994ebcb9} - -\begin{DoxyCompactList}\small\item\em Returns the number of the bytes buffered. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Protected Member Functions} -\begin{DoxyCompactItemize} -\item -virtual qint64 {\bf read\-Data} (char $\ast$data, qint64 max\-Size)\label{classQuaZIODevice_aa12b8bc9c923e543eda9ae22dbd1ecbb} - -\begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::read\-Data(). \end{DoxyCompactList}\item -virtual qint64 {\bf write\-Data} (const char $\ast$data, qint64 max\-Size)\label{classQuaZIODevice_aab23b6badbc3548eb71ca86bf6211902} - -\begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::write\-Data(). \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A class to compress/decompress Q\-I\-O\-Device. - -This class can be used to compress any data written to Q\-I\-O\-Device or decompress it back. Compressing data sent over a Q\-Tcp\-Socket is a good example. - -\subsection{Constructor \& Destructor Documentation} -\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}} -\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} -\subsubsection[{Qua\-Z\-I\-O\-Device}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Z\-I\-O\-Device\-::\-Qua\-Z\-I\-O\-Device ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io, } -\item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaZIODevice_a8321ed35ee9b57cf9b1104912e236361} - - -Constructor. - - -\begin{DoxyParams}{Parameters} -{\em io} & The Q\-I\-O\-Device to read/write. \\ -\hline -{\em parent} & The parent object, as per Q\-Object logic. \\ -\hline -\end{DoxyParams} - - -\subsection{Member Function Documentation} -\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!flush@{flush}} -\index{flush@{flush}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} -\subsubsection[{flush}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Z\-I\-O\-Device\-::flush ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080} - - -Flushes data waiting to be written. - -Unfortunately, as Q\-I\-O\-Device doesn't support \doxyref{flush()}{p.}{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080} by itself, the only thing this method does is write the compressed data into the device using Z\-\_\-\-S\-Y\-N\-C\-\_\-\-F\-L\-U\-S\-H mode. If you need the compressed data to actually be flushed from the buffer of the underlying Q\-I\-O\-Device, you need to call its \doxyref{flush()}{p.}{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080} method as well, providing it supports it (like Q\-Tcp\-Socket does). Example\-: -\begin{DoxyCode} -QuaZIODevice dev(&sock); -dev.open(QIODevice::Write); -dev.write(yourDataGoesHere); -dev.flush(); -sock->flush(); \textcolor{comment}{// this actually sends data to network} -\end{DoxyCode} - - -This may change in the future versions of Qua\-Z\-I\-P by implementing an ugly hack\-: trying to cast the Q\-I\-O\-Device using qobject\-\_\-cast to known \doxyref{flush()}{p.}{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080}-\/supporting subclasses, and calling flush if the resulting pointer is not zero. - -Referenced by close(). - -\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!open@{open}} -\index{open@{open}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Z\-I\-O\-Device\-::open ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device\-::\-Open\-Mode}]{mode} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZIODevice_a175446c18eb20c9aff6faf23f09cc67a} - - -Opens the device. - - -\begin{DoxyParams}{Parameters} -{\em mode} & Neither Q\-I\-O\-Device\-::\-Read\-Write nor Q\-I\-O\-Device\-::\-Append are not supported. \\ -\hline -\end{DoxyParams} -\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!close@{close}} -\index{close@{close}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} -\subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Z\-I\-O\-Device\-::close ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZIODevice_ad27e447544d57f897316ee6f44535895} - - -Closes this device, but not the underlying one. - -The underlying Q\-I\-O\-Device is not closed in case you want to write something else to it. - -References flush(). - - - -Referenced by $\sim$\-Qua\-Z\-I\-O\-Device(). - - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quaziodevice.\-h\item -quazip/quaziodevice.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaZipDir.tex libquazip-0.7.6/doc/latex/classQuaZipDir.tex --- libquazip-0.7.3/doc/latex/classQuaZipDir.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipDir.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,419 +0,0 @@ -\section{Qua\-Zip\-Dir Class Reference} -\label{classQuaZipDir}\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}} - - -Provides Z\-I\-P archive navigation. - - - - -{\ttfamily \#include $<$quazipdir.\-h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -{\bf Qua\-Zip\-Dir} (const {\bf Qua\-Zip\-Dir} \&that)\label{classQuaZipDir_a6c9cc8b74c52d3fe997b753370566690} - -\begin{DoxyCompactList}\small\item\em The copy constructor. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-Dir} ({\bf Qua\-Zip} $\ast$zip, const Q\-String \&dir=Q\-String()) -\begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} instance pointing to the specified directory. \end{DoxyCompactList}\item -{\bf $\sim$\-Qua\-Zip\-Dir} ()\label{classQuaZipDir_ae95d60e2c23e611723371bf8fff2b095} - -\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item -bool {\bf operator==} (const {\bf Qua\-Zip\-Dir} \&that)\label{classQuaZipDir_a4a2e07484c7159a3f469922ba2383547} - -\begin{DoxyCompactList}\small\item\em The assignment operator. \end{DoxyCompactList}\item -bool {\bf operator!=} (const {\bf Qua\-Zip\-Dir} \&that) -\begin{DoxyCompactList}\small\item\em operator!= \end{DoxyCompactList}\item -{\bf Qua\-Zip\-Dir} \& {\bf operator=} (const {\bf Qua\-Zip\-Dir} \&that) -\begin{DoxyCompactList}\small\item\em operator== \end{DoxyCompactList}\item -Q\-String {\bf operator[$\,$]} (int pos) const \label{classQuaZipDir_a9e37ef5318c44a4575c58d66110e535a} - -\begin{DoxyCompactList}\small\item\em Returns the name of the entry at the specified position. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-::\-Case\-Sensitivity} {\bf case\-Sensitivity} () const \label{classQuaZipDir_ad7ab403a8d36a3b6149da86ea37178f8} - -\begin{DoxyCompactList}\small\item\em Returns the current case sensitivity mode. \end{DoxyCompactList}\item -bool {\bf cd} (const Q\-String \&{\bf dir\-Name}) -\begin{DoxyCompactList}\small\item\em Changes the 'current' directory. \end{DoxyCompactList}\item -bool {\bf cd\-Up} ()\label{classQuaZipDir_a62306db3f4c0866930fa35c7348b84b3} - -\begin{DoxyCompactList}\small\item\em Goes up. \end{DoxyCompactList}\item -uint {\bf count} () const \label{classQuaZipDir_aa3f14665e3991351f4ef94ab8e0ab29d} - -\begin{DoxyCompactList}\small\item\em Returns the number of entries in the directory. \end{DoxyCompactList}\item -Q\-String {\bf dir\-Name} () const -\begin{DoxyCompactList}\small\item\em Returns the current directory name. \end{DoxyCompactList}\item -Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ {\bf entry\-Info\-List} (const Q\-String\-List \&{\bf name\-Filters}, Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const -\begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory. \end{DoxyCompactList}\item -Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ {\bf entry\-Info\-List} (Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const -\begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory. \end{DoxyCompactList}\item -Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ {\bf entry\-Info\-List64} (const Q\-String\-List \&{\bf name\-Filters}, Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const -\begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory with zip64 support. \end{DoxyCompactList}\item -Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ {\bf entry\-Info\-List64} (Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const -\begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory with zip64 support. \end{DoxyCompactList}\item -Q\-String\-List {\bf entry\-List} (const Q\-String\-List \&{\bf name\-Filters}, Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const -\begin{DoxyCompactList}\small\item\em Returns the list of the entry names in the directory. \end{DoxyCompactList}\item -Q\-String\-List {\bf entry\-List} (Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const -\begin{DoxyCompactList}\small\item\em Returns the list of the entry names in the directory. \end{DoxyCompactList}\item -bool {\bf exists} (const Q\-String \&file\-Name) const -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the entry with the specified name exists. \end{DoxyCompactList}\item -bool {\bf exists} () const \label{classQuaZipDir_a22c8f63ce874f5c0e958ae5f42e6d004} - -\begin{DoxyCompactList}\small\item\em Return {\ttfamily true} if the directory pointed by this \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} exists. \end{DoxyCompactList}\item -Q\-String {\bf file\-Path} (const Q\-String \&file\-Name) const -\begin{DoxyCompactList}\small\item\em Returns the full path to the specified file. \end{DoxyCompactList}\item -Q\-Dir\-::\-Filters {\bf filter} ()\label{classQuaZipDir_abeee1810c7c1c1af93364081dbf70d38} - -\begin{DoxyCompactList}\small\item\em Returns the default filter. \end{DoxyCompactList}\item -bool {\bf is\-Root} () const -\begin{DoxyCompactList}\small\item\em Returns if the \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} points to the root of the archive. \end{DoxyCompactList}\item -Q\-String\-List {\bf name\-Filters} () const \label{classQuaZipDir_a00f18e23abb8cac04f975e7f31553f2e} - -\begin{DoxyCompactList}\small\item\em Return the default name filter. \end{DoxyCompactList}\item -Q\-String {\bf path} () const -\begin{DoxyCompactList}\small\item\em Returns the path to the current dir. \end{DoxyCompactList}\item -Q\-String {\bf relative\-File\-Path} (const Q\-String \&file\-Name) const -\begin{DoxyCompactList}\small\item\em Returns the path to the specified file relative to the current dir. \end{DoxyCompactList}\item -void {\bf set\-Case\-Sensitivity} ({\bf Qua\-Zip\-::\-Case\-Sensitivity} {\bf case\-Sensitivity})\label{classQuaZipDir_ad53c720975bb0c49a823355f7d518793} - -\begin{DoxyCompactList}\small\item\em Sets the default case sensitivity mode. \end{DoxyCompactList}\item -void {\bf set\-Filter} (Q\-Dir\-::\-Filters filters)\label{classQuaZipDir_a779a43641f0f3802678e39c9acd1fddb} - -\begin{DoxyCompactList}\small\item\em Sets the default filter. \end{DoxyCompactList}\item -void {\bf set\-Name\-Filters} (const Q\-String\-List \&{\bf name\-Filters})\label{classQuaZipDir_abcf208bfd6136e14f36725ae79dce2be} - -\begin{DoxyCompactList}\small\item\em Sets the default name filter. \end{DoxyCompactList}\item -void {\bf set\-Path} (const Q\-String \&{\bf path}) -\begin{DoxyCompactList}\small\item\em Goes to the specified path. \end{DoxyCompactList}\item -void {\bf set\-Sorting} (Q\-Dir\-::\-Sort\-Flags sort)\label{classQuaZipDir_ae43e9d717e3c4b1c0d4790cf558e7451} - -\begin{DoxyCompactList}\small\item\em Sets the default sorting mode. \end{DoxyCompactList}\item -Q\-Dir\-::\-Sort\-Flags {\bf sorting} () const \label{classQuaZipDir_a4000523c961ab9e0cad08641ff10e3fa} - -\begin{DoxyCompactList}\small\item\em Returns the default sorting mode. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Provides Z\-I\-P archive navigation. - -This class is modelled after Q\-Dir, and is designed to provide similar features for Z\-I\-P archives. - -The only significant difference from Q\-Dir is that the root path is not '/', but an empty string since that's how the file paths are stored in the archive. However, \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} understands the paths starting with '/'. It is important in a few places\-: - - -\begin{DoxyItemize} -\item In the \doxyref{cd()}{p.}{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} function. -\item In the constructor. -\item In the \doxyref{exists()}{p.}{classQuaZipDir_aacb488fec6e951ac80e5d473534fee97} function. -\item In the relative\-Path() function. -\end{DoxyItemize} - -Note that since Z\-I\-P uses '/' on all platforms, the '\textbackslash{}' separator is not supported. - -\subsection{Constructor \& Destructor Documentation} -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!Qua\-Zip\-Dir@{Qua\-Zip\-Dir}} -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{Qua\-Zip\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-Dir\-::\-Qua\-Zip\-Dir ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip} $\ast$}]{zip, } -\item[{const Q\-String \&}]{dir = {\ttfamily QString()}} -\end{DoxyParamCaption} -)}\label{classQuaZipDir_a19e5e3a54f322ce03e7f7606a87a2ba1} - - -Constructs a \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} instance pointing to the specified directory. - -If {\itshape dir} is not specified, points to the root of the archive. The same happens if the {\itshape dir} is "/". - -\subsection{Member Function Documentation} -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!operator!=@{operator!=}} -\index{operator!=@{operator!=}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::operator!= ( -\begin{DoxyParamCaption} -\item[{const {\bf Qua\-Zip\-Dir} \&}]{that} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}\label{classQuaZipDir_a6e60d858d05774c958215ee7741eceed} - - -operator!= - -\begin{DoxyReturn}{Returns} -{\ttfamily true} if either this and {\itshape that} use different \doxyref{Qua\-Zip}{p.}{classQuaZip} instances or if they point to different directories. -\end{DoxyReturn} -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!operator=@{operator=}} -\index{operator=@{operator=}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Qua\-Zip\-Dir} \& Qua\-Zip\-Dir\-::operator= ( -\begin{DoxyParamCaption} -\item[{const {\bf Qua\-Zip\-Dir} \&}]{that} -\end{DoxyParamCaption} -)}\label{classQuaZipDir_aa603c69be0c1597add5951b19f8bc961} - - -operator== - -\begin{DoxyReturn}{Returns} -{\ttfamily true} if both this and {\itshape that} use the same \doxyref{Qua\-Zip}{p.}{classQuaZip} instance and point to the same directory. -\end{DoxyReturn} -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!cd@{cd}} -\index{cd@{cd}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{cd}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::cd ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{dir\-Name} -\end{DoxyParamCaption} -)}\label{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} - - -Changes the 'current' directory. - -If the path starts with '/', it is interpreted as an absolute path from the root of the archive. Otherwise, it is interpreted as a path relative to the current directory as was set by the previous \doxyref{cd()}{p.}{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} or the constructor. - -Note that the subsequent \doxyref{path()}{p.}{classQuaZipDir_a68ac82ad605c0b10f9ee1a2d6d474f52} call will not return a path starting with '/' in all cases. - -References cd(), dir\-Name(), exists(), is\-Root(), and path(). - - - -Referenced by cd(), and cd\-Up(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!dir\-Name@{dir\-Name}} -\index{dir\-Name@{dir\-Name}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{dir\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::dir\-Name ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_afd2f76410f7728a7166b7598926fbf96} - - -Returns the current directory name. - -The name doesn't include the path. - -Referenced by cd(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List@{entry\-Info\-List}} -\index{entry\-Info\-List@{entry\-Info\-List}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{entry\-Info\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List ( -\begin{DoxyParamCaption} -\item[{const Q\-String\-List \&}]{name\-Filters, } -\item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } -\item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_aef966735a146fc10c9527c236aa89261} - - -Returns the list of the entries in the directory. - - -\begin{DoxyParams}{Parameters} -{\em name\-Filters} & The list of file patterns to list, uses the same syntax as Q\-Dir. \\ -\hline -{\em filters} & The entry type filters, only Files and Dirs are accepted. \\ -\hline -{\em sort} & Sorting mode. \\ -\hline -\end{DoxyParams} - - -Referenced by entry\-Info\-List(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List@{entry\-Info\-List}} -\index{entry\-Info\-List@{entry\-Info\-List}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{entry\-Info\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List ( -\begin{DoxyParamCaption} -\item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } -\item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_abec530f15597ddf8c8d1f340a333f7aa} - - -Returns the list of the entries in the directory. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. - -The same as entry\-Info\-List(\-Q\-String\-List(), filters, sort). - -References entry\-Info\-List(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List64@{entry\-Info\-List64}} -\index{entry\-Info\-List64@{entry\-Info\-List64}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{entry\-Info\-List64}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List64 ( -\begin{DoxyParamCaption} -\item[{const Q\-String\-List \&}]{name\-Filters, } -\item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } -\item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_ae2b5a4b251db7aeb165c6656da0e3431} - - -Returns the list of the entries in the directory with zip64 support. - - -\begin{DoxyParams}{Parameters} -{\em name\-Filters} & The list of file patterns to list, uses the same syntax as Q\-Dir. \\ -\hline -{\em filters} & The entry type filters, only Files and Dirs are accepted. \\ -\hline -{\em sort} & Sorting mode. \\ -\hline -\end{DoxyParams} - - -Referenced by entry\-Info\-List64(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List64@{entry\-Info\-List64}} -\index{entry\-Info\-List64@{entry\-Info\-List64}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{entry\-Info\-List64}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List64 ( -\begin{DoxyParamCaption} -\item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } -\item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_a8c38ec214c300049685cbf71486636d5} - - -Returns the list of the entries in the directory with zip64 support. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. - -The same as entry\-Info\-List64(\-Q\-String\-List(), filters, sort). - -References entry\-Info\-List64(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-List@{entry\-List}} -\index{entry\-List@{entry\-List}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{entry\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Qua\-Zip\-Dir\-::entry\-List ( -\begin{DoxyParamCaption} -\item[{const Q\-String\-List \&}]{name\-Filters, } -\item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } -\item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_a4a32faa77c4120cd3c6db4b683fa16d9} - - -Returns the list of the entry names in the directory. - -The same as entry\-Info\-List(name\-Filters, filters, sort), but only returns entry names. - -Referenced by count(), entry\-List(), exists(), and operator[$\,$](). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-List@{entry\-List}} -\index{entry\-List@{entry\-List}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{entry\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Qua\-Zip\-Dir\-::entry\-List ( -\begin{DoxyParamCaption} -\item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } -\item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_ab20e9d3de675b74fcacc98accbc1d766} - - -Returns the list of the entry names in the directory. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. - -The same as entry\-List(\-Q\-String\-List(), filters, sort). - -References entry\-List(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!exists@{exists}} -\index{exists@{exists}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{exists}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::exists ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_aacb488fec6e951ac80e5d473534fee97} - - -Returns {\ttfamily true} if the entry with the specified name exists. - -The ".." is considered to exist if the current directory is not root. The "." and "/" are considered to always exist. Paths starting with "/" are relative to the archive root, other paths are relative to the current dir. - -References Qua\-Zip\-::convert\-Case\-Sensitivity(), entry\-List(), file\-Path(), and is\-Root(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!file\-Path@{file\-Path}} -\index{file\-Path@{file\-Path}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{file\-Path}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::file\-Path ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_ae8b576a150f8d62c902067603cbc97ae} - - -Returns the full path to the specified file. - -Doesn't check if the file actually exists. - -Referenced by exists(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!is\-Root@{is\-Root}} -\index{is\-Root@{is\-Root}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{is\-Root}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::is\-Root ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_a598fdf23f1b37e1876476e5969040a32} - - -Returns if the \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} points to the root of the archive. - -Not that the root path is the empty string, not '/'. - -Referenced by cd(), and exists(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!path@{path}} -\index{path@{path}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{path}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::path ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_a68ac82ad605c0b10f9ee1a2d6d474f52} - - -Returns the path to the current dir. - -The path never starts with '/', and the root path is an empty string. - -Referenced by cd(), and set\-Path(). - -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!relative\-File\-Path@{relative\-File\-Path}} -\index{relative\-File\-Path@{relative\-File\-Path}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{relative\-File\-Path}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::relative\-File\-Path ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name} -\end{DoxyParamCaption} -) const}\label{classQuaZipDir_a2ae89c2b85786a0168656fc7a3faaf01} - - -Returns the path to the specified file relative to the current dir. - -This function is mostly useless, provided only for the sake of completeness. - - -\begin{DoxyParams}{Parameters} -{\em file\-Name} & The path to the file, should start with "/" if relative to the archive root. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -Path relative to the current dir. -\end{DoxyReturn} -\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!set\-Path@{set\-Path}} -\index{set\-Path@{set\-Path}!QuaZipDir@{Qua\-Zip\-Dir}} -\subsubsection[{set\-Path}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-Dir\-::set\-Path ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{path} -\end{DoxyParamCaption} -)}\label{classQuaZipDir_ae82d06e43856414c30583205d337c111} - - -Goes to the specified path. - -The difference from \doxyref{cd()}{p.}{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} is that this function never checks if the path actually exists and doesn't use relative paths, so it's possible to go to the root directory with set\-Path(""). - -Note that this function still chops the trailing and/or leading '/' and treats a single '/' as the root path (\doxyref{path()}{p.}{classQuaZipDir_a68ac82ad605c0b10f9ee1a2d6d474f52} will still return an empty string). - -References path(). - - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quazipdir.\-h\item -quazip/quazipdir.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaZipFile__coll__graph.eps libquazip-0.7.6/doc/latex/classQuaZipFile__coll__graph.eps --- libquazip-0.7.3/doc/latex/classQuaZipFile__coll__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipFile__coll__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,259 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaZipFile -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 108 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 72 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -64 19.5 lineto -64 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -64 19.5 lineto -64 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 7.5 moveto 48 (QuaZipFile) alignedtext -grestore -% Node2 -gsave -0 0 1 nodecolor -newpath -.5 56.5 moveto --.5 75.5 lineto -64.5 75.5 lineto -64.5 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0.74902 nodecolor -newpath -.5 56.5 moveto --.5 75.5 lineto -64.5 75.5 lineto -64.5 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -7.5 63.5 moveto 49 (QIODevice) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 32 45.8 moveto -32 36.91 32 26.78 32 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 28.5 46.08 moveto -32 56.08 lineto -35.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 28.5 46.08 moveto -32 56.08 lineto -35.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 108 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaZipFile__coll__graph.md5 libquazip-0.7.6/doc/latex/classQuaZipFile__coll__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaZipFile__coll__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipFile__coll__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -28f5281397b620e43711ce86747f921d \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaZipFile__inherit__graph.eps libquazip-0.7.6/doc/latex/classQuaZipFile__inherit__graph.eps --- libquazip-0.7.3/doc/latex/classQuaZipFile__inherit__graph.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipFile__inherit__graph.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,259 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: QuaZipFile -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 108 120 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 72 84 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% Node1 -gsave -0 0 0.74902 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -64 19.5 lineto -64 .5 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 0 .5 moveto -0 19.5 lineto -64 19.5 lineto -64 .5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -8 7.5 moveto 48 (QuaZipFile) alignedtext -grestore -% Node2 -gsave -0 0 1 nodecolor -newpath -.5 56.5 moveto --.5 75.5 lineto -64.5 75.5 lineto -64.5 56.5 lineto -closepath fill -1 setlinewidth -filled -0 0 0.74902 nodecolor -newpath -.5 56.5 moveto --.5 75.5 lineto -64.5 75.5 lineto -64.5 56.5 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -7.5 63.5 moveto 49 (QIODevice) alignedtext -grestore -% Node2->Node1 -gsave -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 32 45.8 moveto -32 36.91 32 26.78 32 19.75 curveto -stroke -0.66667 0.77647 0.43922 edgecolor -newpath 28.5 46.08 moveto -32 56.08 lineto -35.5 46.08 lineto -closepath fill -1 setlinewidth -solid -0.66667 0.77647 0.43922 edgecolor -newpath 28.5 46.08 moveto -32 56.08 lineto -35.5 46.08 lineto -closepath stroke -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 108 120 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/classQuaZipFile__inherit__graph.md5 libquazip-0.7.6/doc/latex/classQuaZipFile__inherit__graph.md5 --- libquazip-0.7.3/doc/latex/classQuaZipFile__inherit__graph.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipFile__inherit__graph.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -28f5281397b620e43711ce86747f921d \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/classQuaZipFilePrivate.tex libquazip-0.7.6/doc/latex/classQuaZipFilePrivate.tex --- libquazip-0.7.3/doc/latex/classQuaZipFilePrivate.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipFilePrivate.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -\section{Qua\-Zip\-File\-Private Class Reference} -\label{classQuaZipFilePrivate}\index{Qua\-Zip\-File\-Private@{Qua\-Zip\-File\-Private}} - - -The implementation class for \doxyref{Qua\-Zip}{p.}{classQuaZip}. - - -\subsection*{Friends} -\begin{DoxyCompactItemize} -\item -class {\bfseries Qua\-Zip\-File}\label{classQuaZipFilePrivate_a40bd4ccb6d2d00726e1de81329ebaa7a} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -The implementation class for \doxyref{Qua\-Zip}{p.}{classQuaZip}. - -The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} -\item -quazip/quazipfile.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaZipFile.tex libquazip-0.7.6/doc/latex/classQuaZipFile.tex --- libquazip-0.7.3/doc/latex/classQuaZipFile.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipFile.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,700 +0,0 @@ -\section{Qua\-Zip\-File Class Reference} -\label{classQuaZipFile}\index{Qua\-Zip\-File@{Qua\-Zip\-File}} - - -A file inside Z\-I\-P archive. - - - - -{\ttfamily \#include $<$quazip/quazipfile.\-h$>$} - - - -Inheritance diagram for Qua\-Zip\-File\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=108pt]{classQuaZipFile__inherit__graph} -\end{center} -\end{figure} - - -Collaboration diagram for Qua\-Zip\-File\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=108pt]{classQuaZipFile__coll__graph} -\end{center} -\end{figure} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -{\bf Qua\-Zip\-File} () -\begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-File} (Q\-Object $\ast$parent) -\begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-File} (const Q\-String \&zip\-Name, Q\-Object $\ast$parent=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-File} (const Q\-String \&zip\-Name, const Q\-String \&file\-Name, {\bf Qua\-Zip\-::\-Case\-Sensitivity} cs={\bf Qua\-Zip\-::cs\-Default}, Q\-Object $\ast$parent=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-File} ({\bf Qua\-Zip} $\ast$zip, Q\-Object $\ast$parent=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item -virtual {\bf $\sim$\-Qua\-Zip\-File} () -\begin{DoxyCompactList}\small\item\em Destroys a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item -Q\-String {\bf get\-Zip\-Name} () const -\begin{DoxyCompactList}\small\item\em Returns the Z\-I\-P archive file name. \end{DoxyCompactList}\item -{\bf Qua\-Zip} $\ast$ {\bf get\-Zip} () const -\begin{DoxyCompactList}\small\item\em Returns a pointer to the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object. \end{DoxyCompactList}\item -Q\-String {\bf get\-File\-Name} () const -\begin{DoxyCompactList}\small\item\em Returns file name. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-::\-Case\-Sensitivity} {\bf get\-Case\-Sensitivity} () const -\begin{DoxyCompactList}\small\item\em Returns case sensitivity of the file name. \end{DoxyCompactList}\item -Q\-String {\bf get\-Actual\-File\-Name} () const -\begin{DoxyCompactList}\small\item\em Returns the actual file name in the archive. \end{DoxyCompactList}\item -void {\bf set\-Zip\-Name} (const Q\-String \&zip\-Name) -\begin{DoxyCompactList}\small\item\em Sets the Z\-I\-P archive file name. \end{DoxyCompactList}\item -bool {\bf is\-Raw} () const -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the file was opened in raw mode. \end{DoxyCompactList}\item -void {\bf set\-Zip} ({\bf Qua\-Zip} $\ast$zip) -\begin{DoxyCompactList}\small\item\em Binds to the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} instance. \end{DoxyCompactList}\item -void {\bf set\-File\-Name} (const Q\-String \&file\-Name, {\bf Qua\-Zip\-::\-Case\-Sensitivity} cs={\bf Qua\-Zip\-::cs\-Default}) -\begin{DoxyCompactList}\small\item\em Sets the file name. \end{DoxyCompactList}\item -virtual bool {\bf open} (Open\-Mode mode) -\begin{DoxyCompactList}\small\item\em Opens a file for reading. \end{DoxyCompactList}\item -bool {\bf open} (Open\-Mode mode, const char $\ast$password) -\begin{DoxyCompactList}\small\item\em Opens a file for reading. \end{DoxyCompactList}\item -bool {\bf open} (Open\-Mode mode, int $\ast$method, int $\ast$level, bool raw, const char $\ast$password=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Opens a file for reading. \end{DoxyCompactList}\item -bool {\bf open} (Open\-Mode mode, const {\bf Qua\-Zip\-New\-Info} \&info, const char $\ast$password=N\-U\-L\-L, quint32 crc=0, int method=Z\-\_\-\-D\-E\-F\-L\-A\-T\-E\-D, int level=Z\-\_\-\-D\-E\-F\-A\-U\-L\-T\-\_\-\-C\-O\-M\-P\-R\-E\-S\-S\-I\-O\-N, bool raw=false, int window\-Bits=-\/M\-A\-X\-\_\-\-W\-B\-I\-T\-S, int mem\-Level=D\-E\-F\-\_\-\-M\-E\-M\-\_\-\-L\-E\-V\-E\-L, int strategy=Z\-\_\-\-D\-E\-F\-A\-U\-L\-T\-\_\-\-S\-T\-R\-A\-T\-E\-G\-Y) -\begin{DoxyCompactList}\small\item\em Opens a file for writing. \end{DoxyCompactList}\item -virtual bool {\bf is\-Sequential} () const \label{classQuaZipFile_a64430ec50820c8096f963a7e5f53001f} - -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily true}, but \doxyref{beware}{p.}{classQuaZipFile_quazipfile-sequential}! \end{DoxyCompactList}\item -virtual qint64 {\bf pos} () const -\begin{DoxyCompactList}\small\item\em Returns current position in the file. \end{DoxyCompactList}\item -virtual bool {\bf at\-End} () const -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the end of file was reached. \end{DoxyCompactList}\item -virtual qint64 {\bf size} () const -\begin{DoxyCompactList}\small\item\em Returns file size. \end{DoxyCompactList}\item -qint64 {\bf csize} () const -\begin{DoxyCompactList}\small\item\em Returns compressed file size. \end{DoxyCompactList}\item -qint64 {\bf usize} () const -\begin{DoxyCompactList}\small\item\em Returns uncompressed file size. \end{DoxyCompactList}\item -bool {\bf get\-File\-Info} ({\bf Qua\-Zip\-File\-Info} $\ast$info) -\begin{DoxyCompactList}\small\item\em Gets information about current file. \end{DoxyCompactList}\item -bool {\bf get\-File\-Info} ({\bf Qua\-Zip\-File\-Info64} $\ast$info) -\begin{DoxyCompactList}\small\item\em Gets information about current file with zip64 support. \end{DoxyCompactList}\item -virtual void {\bf close} () -\begin{DoxyCompactList}\small\item\em Closes the file. \end{DoxyCompactList}\item -int {\bf get\-Zip\-Error} () const \label{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} - -\begin{DoxyCompactList}\small\item\em Returns the error code returned by the last Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I call. \end{DoxyCompactList}\item -virtual qint64 {\bf bytes\-Available} () const \label{classQuaZipFile_a29fbfb34677f69394ae7c986ffd3a0c1} - -\begin{DoxyCompactList}\small\item\em Returns the number of bytes available for reading. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Protected Member Functions} -\begin{DoxyCompactItemize} -\item -qint64 {\bf read\-Data} (char $\ast$data, qint64 max\-Size)\label{classQuaZipFile_aa1f2274e1579327855a17d67a9046ec2} - -\begin{DoxyCompactList}\small\item\em Implementation of the Q\-I\-O\-Device\-::read\-Data(). \end{DoxyCompactList}\item -qint64 {\bf write\-Data} (const char $\ast$data, qint64 max\-Size)\label{classQuaZipFile_abd07949a6fcc2ef094d2be5398bc8e7c} - -\begin{DoxyCompactList}\small\item\em Implementation of the Q\-I\-O\-Device\-::write\-Data(). \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Friends} -\begin{DoxyCompactItemize} -\item -class {\bfseries Qua\-Zip\-File\-Private}\label{classQuaZipFile_abeded291f2788ca39fe2256d78f95266} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -A file inside Z\-I\-P archive. - -This is the most interesting class. Not only it provides C++ interface to the Z\-I\-P/\-U\-N\-Z\-I\-P package, but also integrates it with Qt by subclassing Q\-I\-O\-Device. This makes possible to access files inside Z\-I\-P archive using Q\-Text\-Stream or Q\-Data\-Stream, for example. Actually, this is the main purpose of the whole Qua\-Z\-I\-P library. - -You can either use existing \doxyref{Qua\-Zip}{p.}{classQuaZip} instance to create instance of this class or pass Z\-I\-P archive file name to this class, in which case it will create internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object. See constructors' descriptions for details. Writing is only possible with the existing instance. - -Note that due to the underlying library's limitation it is not possible to use multiple \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instances to open several files in the same archive at the same time. If you need to write to multiple files in parallel, then you should write to temporary files first, then pack them all at once when you have finished writing. If you need to read multiple files inside the same archive in parallel, you should extract them all into a temporary directory first.\subsection{Sequential or random-\/access?}\label{classQuaZipFile_quazipfile-sequential} -At the first thought, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} has fixed size, the start and the end and should be therefore considered random-\/access device. But there is one major obstacle to making it random-\/access\-: Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I does not support seek() operation and the only way to implement it is through reopening the file and re-\/reading to the required position, but this is prohibitively slow. - -Therefore, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} is considered to be a sequential device. This has advantage of availability of the unget\-Char() operation (Q\-I\-O\-Device does not implement it properly for non-\/sequential devices unless they support seek()). Disadvantage is a somewhat strange behaviour of the \doxyref{size()}{p.}{classQuaZipFile_ad1a17cc690a01c3edfb82984c3a4c8f0} and \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} functions. This should be kept in mind while using this class. - -\subsection{Constructor \& Destructor Documentation} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_ad31592e0e8a9eaa009c6c0e2040a2158} - - -Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. - -You should use \doxyref{set\-Zip\-Name()}{p.}{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} and \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or \doxyref{set\-Zip()}{p.}{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} before trying to call \doxyref{open()}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} on the constructed object. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( -\begin{DoxyParamCaption} -\item[{Q\-Object $\ast$}]{parent} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_a1349ad27f1947bc3e346d83dbf9586c4} - - -Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. - -{\itshape parent} argument specifies this object's parent object. - -You should use \doxyref{set\-Zip\-Name()}{p.}{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} and \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or \doxyref{set\-Zip()}{p.}{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} before trying to call \doxyref{open()}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} on the constructed object. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{zip\-Name, } -\item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_ae614495d6b2404a6c59d7cfca5c3f6fd} - - -Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. - -{\itshape parent} argument specifies this object's parent object and {\itshape zip\-Name} specifies Z\-I\-P archive file name. - -You should use \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} before trying to call \doxyref{open()}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} on the constructed object. - -\doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} constructed by this constructor can be used for read only access. Use \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for writing. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{zip\-Name, } -\item[{const Q\-String \&}]{file\-Name, } -\item[{{\bf Qua\-Zip\-::\-Case\-Sensitivity}}]{cs = {\ttfamily {\bf Qua\-Zip\-::cs\-Default}}, } -\item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220} - - -Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. - -{\itshape parent} argument specifies this object's parent object, {\itshape zip\-Name} specifies Z\-I\-P archive file name and {\itshape file\-Name} and {\itshape cs} specify a name of the file to open inside archive. - -\doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} constructed by this constructor can be used for read only access. Use \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for writing. - -\begin{DoxySeeAlso}{See Also} -\doxyref{Qua\-Zip\-::set\-Current\-File()}{p.}{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} -\end{DoxySeeAlso} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip} $\ast$}]{zip, } -\item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} - - -Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. - -{\itshape parent} argument specifies this object's parent object. - -{\itshape zip} is the pointer to the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} object. This \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} object then can be used to read current file in the {\itshape zip} or to write to the file inside it. - -\begin{DoxyWarning}{Warning} -Using this constructor for reading current file can be tricky. Let's take the following example\-: -\begin{DoxyCode} -QuaZip zip(\textcolor{stringliteral}{"archive.zip"}); -zip.open(QuaZip::mdUnzip); -zip.setCurrentFile(\textcolor{stringliteral}{"file-in-archive"}); -QuaZipFile file(&zip); -file.open(QIODevice::ReadOnly); -\textcolor{comment}{// ok, now we can read from the file} -file.read(somewhere, some); -zip.setCurrentFile(\textcolor{stringliteral}{"another-file-in-archive"}); \textcolor{comment}{// oops...} -QuaZipFile anotherFile(&zip); -anotherFile.open(QIODevice::ReadOnly); -anotherFile.read(somewhere, some); \textcolor{comment}{// this is still ok...} -file.read(somewhere, some); \textcolor{comment}{// and this is NOT} -\end{DoxyCode} - So, what exactly happens here? When we change current file in the {\ttfamily zip} archive, {\ttfamily file} that references it becomes invalid (actually, as far as I understand Z\-I\-P/\-U\-N\-Z\-I\-P sources, it becomes closed, but \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} has no means to detect it). -\end{DoxyWarning} -Summary\-: do not close {\ttfamily zip} object or change its current file as long as \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} is open. Even better -\/ use another constructors which create internal \doxyref{Qua\-Zip}{p.}{classQuaZip} instances, one per object, and therefore do not cause unnecessary trouble. This constructor may be useful, though, if you already have a \doxyref{Qua\-Zip}{p.}{classQuaZip} instance and do not want to access several files at once. Good example\-: -\begin{DoxyCode} -QuaZip zip(\textcolor{stringliteral}{"archive.zip"}); -zip.open(QuaZip::mdUnzip); -\textcolor{comment}{// first, we need some information about archive itself} -QByteArray comment=zip.getComment(); -\textcolor{comment}{// and now we are going to access files inside it} -QuaZipFile file(&zip); -\textcolor{keywordflow}{for}(\textcolor{keywordtype}{bool} more=zip.goToFirstFile(); more; more=zip.goToNextFile()) \{ - file.open(QIODevice::ReadOnly); - \textcolor{comment}{// do something cool with file here} - file.close(); \textcolor{comment}{// do not forget to close!} -\} -zip.close(); -\end{DoxyCode} - \index{Qua\-Zip\-File@{Qua\-Zip\-File}!$\sim$\-Qua\-Zip\-File@{$\sim$\-Qua\-Zip\-File}} -\index{$\sim$\-Qua\-Zip\-File@{$\sim$\-Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{$\sim$\-Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::$\sim$\-Qua\-Zip\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_aa1e5a0cf491bafae6cc73e649caa97fc} - - -Destroys a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. - -Closes file if open, destructs internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object (if it exists and {\itshape is} internal, of course). - -References close(). - - - -\subsection{Member Function Documentation} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Zip\-Name@{get\-Zip\-Name}} -\index{get\-Zip\-Name@{get\-Zip\-Name}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-File\-::get\-Zip\-Name ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a6f034a714aa94631367590de3f8f4e22} - - -Returns the Z\-I\-P archive file name. - -If this object was created by passing \doxyref{Qua\-Zip}{p.}{classQuaZip} pointer to the constructor, this function will return that \doxyref{Qua\-Zip}{p.}{classQuaZip}'s file name (or null string if that object does not have file name yet). - -Otherwise, returns associated Z\-I\-P archive file name or null string if there are no name set yet. - -\begin{DoxySeeAlso}{See Also} -\doxyref{set\-Zip\-Name()}{p.}{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} \doxyref{get\-File\-Name()}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} -\end{DoxySeeAlso} - - -References Qua\-Zip\-::get\-Zip\-Name(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Zip@{get\-Zip}} -\index{get\-Zip@{get\-Zip}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Qua\-Zip} $\ast$ Qua\-Zip\-File\-::get\-Zip ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a72daf8a9da14907a801a783603003205} - - -Returns a pointer to the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object. - -Returns {\ttfamily N\-U\-L\-L} if there is no associated \doxyref{Qua\-Zip}{p.}{classQuaZip} or it is internal (so you will not mess with it). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-File\-Name@{get\-File\-Name}} -\index{get\-File\-Name@{get\-File\-Name}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-File\-::get\-File\-Name ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} - - -Returns file name. - -This function returns file name you passed to this object either by using \doxyref{Qua\-Zip\-File(const Q\-String\&,const Q\-String\&,\-Qua\-Zip\-::\-Case\-Sensitivity,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220} or by calling \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95}. Real name of the file may differ in case if you used case-\/insensitivity. - -Returns null string if there is no file name set yet. This is the case when this \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} operates on the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} object (constructor \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} or \doxyref{set\-Zip()}{p.}{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} was used). - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-Actual\-File\-Name}{p.}{classQuaZipFile_a7b8e3c39026855cd98661a1b2815c220} -\end{DoxySeeAlso} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Case\-Sensitivity@{get\-Case\-Sensitivity}} -\index{get\-Case\-Sensitivity@{get\-Case\-Sensitivity}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-Case\-Sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Qua\-Zip\-::\-Case\-Sensitivity} Qua\-Zip\-File\-::get\-Case\-Sensitivity ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a25dbfddc589bf6b69b39905f3c3bcc73} - - -Returns case sensitivity of the file name. - -This function returns case sensitivity argument you passed to this object either by using \doxyref{Qua\-Zip\-File(const Q\-String\&,const Q\-String\&,\-Qua\-Zip\-::\-Case\-Sensitivity,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220} or by calling \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95}. - -Returns unpredictable value if \doxyref{get\-File\-Name()}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} returns null string (this is the case when you did not used \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or constructor above). - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-File\-Name}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} -\end{DoxySeeAlso} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Actual\-File\-Name@{get\-Actual\-File\-Name}} -\index{get\-Actual\-File\-Name@{get\-Actual\-File\-Name}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-Actual\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-File\-::get\-Actual\-File\-Name ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a7b8e3c39026855cd98661a1b2815c220} - - -Returns the actual file name in the archive. - -This is {\itshape not} a Z\-I\-P archive file name, but a name of file inside archive. It is not necessary the same name that you have passed to the \doxyref{Qua\-Zip\-File(const Q\-String\&,const Q\-String\&,\-Qua\-Zip\-::\-Case\-Sensitivity,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220}, \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or \doxyref{Qua\-Zip\-::set\-Current\-File()}{p.}{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} -\/ this is the real file name inside archive, so it may differ in case if the file name search was case-\/insensitive. - -Equivalent to calling get\-Current\-File\-Name() on the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object. Returns null string if there is no associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object or if it does not have a current file yet. And this is the case if you called \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} but did not open the file yet. So this is perfectly fine\-: -\begin{DoxyCode} -QuaZipFile file(\textcolor{stringliteral}{"somezip.zip"}); -file.setFileName(\textcolor{stringliteral}{"somefile"}); -QString name=file.getName(); \textcolor{comment}{// name=="somefile"} -QString actual=file.getActualFileName(); \textcolor{comment}{// actual is null string} -file.open(QIODevice::ReadOnly); -QString actual=file.getActualFileName(); \textcolor{comment}{// actual can be "SoMeFiLe" on Windows} -\end{DoxyCode} - - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-Zip\-Name()}{p.}{classQuaZipFile_a6f034a714aa94631367590de3f8f4e22}, \doxyref{get\-File\-Name()}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9}, \doxyref{Qua\-Zip\-::\-Case\-Sensitivity}{p.}{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbe} -\end{DoxySeeAlso} - - -References Qua\-Zip\-::get\-Current\-File\-Name(), and Qua\-Zip\-::get\-Zip\-Error(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!set\-Zip\-Name@{set\-Zip\-Name}} -\index{set\-Zip\-Name@{set\-Zip\-Name}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{set\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::set\-Zip\-Name ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{zip\-Name} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} - - -Sets the Z\-I\-P archive file name. - -Automatically creates internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object and destroys previously created internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object, if any. - -Will do nothing if this file is already open. You must \doxyref{close()}{p.}{classQuaZipFile_a42a39b12619bccd3d419ee60bbb3fcf6} it first. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!is\-Raw@{is\-Raw}} -\index{is\-Raw@{is\-Raw}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{is\-Raw}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::is\-Raw ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a0df3db94c2a34c8d17ddaa0f54fc32c1} - - -Returns {\ttfamily true} if the file was opened in raw mode. - -If the file is not open, the returned value is undefined. - -\begin{DoxySeeAlso}{See Also} -\doxyref{open(\-Open\-Mode,int$\ast$,int$\ast$,bool,const char$\ast$)}{p.}{classQuaZipFile_aed75bace51f2bb4c3e4f656ab4493aac} -\end{DoxySeeAlso} - - -Referenced by close(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!set\-Zip@{set\-Zip}} -\index{set\-Zip@{set\-Zip}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{set\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::set\-Zip ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip} $\ast$}]{zip} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} - - -Binds to the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} instance. - -This function destroys internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object, if any, and makes this \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} to use current file in the {\itshape zip} object for any further operations. See \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for the possible pitfalls. - -Will do nothing if the file is currently open. You must \doxyref{close()}{p.}{classQuaZipFile_a42a39b12619bccd3d419ee60bbb3fcf6} it first. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!set\-File\-Name@{set\-File\-Name}} -\index{set\-File\-Name@{set\-File\-Name}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{set\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::set\-File\-Name ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name, } -\item[{{\bf Qua\-Zip\-::\-Case\-Sensitivity}}]{cs = {\ttfamily {\bf Qua\-Zip\-::cs\-Default}}} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} - - -Sets the file name. - -Will do nothing if at least one of the following conditions is met\-: -\begin{DoxyItemize} -\item Z\-I\-P name has not been set yet (\doxyref{get\-Zip\-Name()}{p.}{classQuaZipFile_a6f034a714aa94631367590de3f8f4e22} returns null string). -\item This \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} is associated with external \doxyref{Qua\-Zip}{p.}{classQuaZip}. In this case you should call that \doxyref{Qua\-Zip}{p.}{classQuaZip}'s set\-Current\-File() function instead! -\item File is already open so setting the name is meaningless. -\end{DoxyItemize} - -\begin{DoxySeeAlso}{See Also} -\doxyref{Qua\-Zip\-::set\-Current\-File}{p.}{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} -\end{DoxySeeAlso} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} -\index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( -\begin{DoxyParamCaption} -\item[{Open\-Mode}]{mode} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} - - -Opens a file for reading. - -Returns {\ttfamily true} on success, {\ttfamily false} otherwise. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. - -\begin{DoxyNote}{Note} -Since Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I provides buffered reading only, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} does not support unbuffered reading. So do not pass Q\-I\-O\-Device\-::\-Unbuffered flag in {\itshape mode}, or open will fail. -\end{DoxyNote} -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} -\index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( -\begin{DoxyParamCaption} -\item[{Open\-Mode}]{mode, } -\item[{const char $\ast$}]{password} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [inline]}}\label{classQuaZipFile_a0bff0d15bbcd70306dc4a553a55776b9} - - -Opens a file for reading. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument {\itshape password} specifies a password to decrypt the file. If it is N\-U\-L\-L then this function behaves just like \doxyref{open(\-Open\-Mode)}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384}. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} -\index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( -\begin{DoxyParamCaption} -\item[{Open\-Mode}]{mode, } -\item[{int $\ast$}]{method, } -\item[{int $\ast$}]{level, } -\item[{bool}]{raw, } -\item[{const char $\ast$}]{password = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_aed75bace51f2bb4c3e4f656ab4493aac} - - -Opens a file for reading. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument {\itshape password} specifies a password to decrypt the file. - -An integers pointed by {\itshape method} and {\itshape level} will receive codes of the compression method and level used. See unzip.\-h. - -If raw is {\ttfamily true} then no decompression is performed. - -{\itshape method} should not be {\ttfamily N\-U\-L\-L}. {\itshape level} can be {\ttfamily N\-U\-L\-L} if you don't want to know the compression level. - -References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Unz\-File(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::has\-Current\-File(), Qua\-Zip\-::md\-Unzip, Qua\-Zip\-::open(), and Qua\-Zip\-::set\-Current\-File(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} -\index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( -\begin{DoxyParamCaption} -\item[{Open\-Mode}]{mode, } -\item[{const {\bf Qua\-Zip\-New\-Info} \&}]{info, } -\item[{const char $\ast$}]{password = {\ttfamily NULL}, } -\item[{quint32}]{crc = {\ttfamily 0}, } -\item[{int}]{method = {\ttfamily Z\-\_\-DEFLATED}, } -\item[{int}]{level = {\ttfamily Z\-\_\-DEFAULT\-\_\-COMPRESSION}, } -\item[{bool}]{raw = {\ttfamily false}, } -\item[{int}]{window\-Bits = {\ttfamily -\/MAX\-\_\-WBITS}, } -\item[{int}]{mem\-Level = {\ttfamily DEF\-\_\-MEM\-\_\-LEVEL}, } -\item[{int}]{strategy = {\ttfamily Z\-\_\-DEFAULT\-\_\-STRATEGY}} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_a2429ea59c77371d7af56d739db130b18} - - -Opens a file for writing. - -{\itshape info} argument specifies information about file. It should at least specify a correct file name. Also, it is a good idea to specify correct timestamp (by default, current time will be used). See \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo}. - -The {\itshape password} argument specifies the password for crypting. Pass N\-U\-L\-L if you don't need any crypting. The {\itshape crc} argument was supposed to be used for crypting too, but then it turned out that it's false information, so you need to set it to 0 unless you want to use the raw mode (see below). - -Arguments {\itshape method} and {\itshape level} specify compression method and level. The only method supported is Z\-\_\-\-D\-E\-F\-L\-A\-T\-E\-D, but you may also specify 0 for no compression. If all of the files in the archive use both method 0 and either level 0 is explicitly specified or data descriptor writing is disabled with \doxyref{Qua\-Zip\-::set\-Data\-Descriptor\-Writing\-Enabled()}{p.}{classQuaZip_a6c23a12af88f7ea5edd4f9c0a24b9453}, then the resulting archive is supposed to be compatible with the 1.\-0 Z\-I\-P format version, should you need that. Except for this, {\itshape level} has no other effects with method 0. - -If {\itshape raw} is {\ttfamily true}, no compression is performed. In this case, {\itshape crc} and uncompressed\-Size field of the {\itshape info} are required. - -Arguments {\itshape window\-Bits}, {\itshape mem\-Level}, {\itshape strategy} provide zlib algorithms tuning. See deflate\-Init2() in zlib. - -References Qua\-Zip\-New\-Info\-::comment, Qua\-Zip\-New\-Info\-::date\-Time, Qua\-Zip\-New\-Info\-::external\-Attr, Qua\-Zip\-New\-Info\-::extra\-Global, Qua\-Zip\-New\-Info\-::extra\-Local, Qua\-Zip\-::get\-Comment\-Codec(), Qua\-Zip\-::get\-File\-Name\-Codec(), Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Zip\-File(), Qua\-Zip\-New\-Info\-::internal\-Attr, Qua\-Zip\-::is\-Data\-Descriptor\-Writing\-Enabled(), Qua\-Zip\-::is\-Zip64\-Enabled(), Qua\-Zip\-::md\-Add, Qua\-Zip\-::md\-Append, Qua\-Zip\-::md\-Create, Qua\-Zip\-New\-Info\-::name, and Qua\-Zip\-New\-Info\-::uncompressed\-Size. - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!pos@{pos}} -\index{pos@{pos}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::pos ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} - - -Returns current position in the file. - -Implementation of the Q\-I\-O\-Device\-::pos(). When reading, this function is a wrapper to the Z\-I\-P/\-U\-N\-Z\-I\-P unztell(), therefore it is unable to keep track of the unget\-Char() calls (which is non-\/virtual and therefore is dangerous to reimplement). So if you are using unget\-Char() feature of the Q\-I\-O\-Device, this function reports incorrect value until you get back characters which you ungot. - -When writing, \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} returns number of bytes already written (uncompressed unless you use raw mode). - -\begin{DoxyNote}{Note} -Although \doxyref{Qua\-Zip\-File is a sequential device}{p.}{classQuaZipFile_quazipfile-sequential} and therefore \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} should always return zero, it does not, because it would be misguiding. Keep this in mind. -\end{DoxyNote} -This function returns -\/1 if the file or archive is not open. - -Error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} is not affected by this function call. - -References Qua\-Zip\-::get\-Unz\-File(). - - - -Referenced by bytes\-Available(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!at\-End@{at\-End}} -\index{at\-End@{at\-End}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{at\-End}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::at\-End ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a1e3f4c3c075da98af426fc167440cfc3} - - -Returns {\ttfamily true} if the end of file was reached. - -This function returns {\ttfamily false} in the case of error. This means that you called this function on either not open file, or a file in the not open archive or even on a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance that does not even have \doxyref{Qua\-Zip}{p.}{classQuaZip} instance associated. Do not do that because there is no means to determine whether {\ttfamily false} is returned because of error or because end of file was reached. Well, on the other side you may interpret {\ttfamily false} return value as \char`\"{}there is no file open to check for end of file and there is -no end of file therefore\char`\"{}. - -When writing, this function always returns {\ttfamily true} (because you are always writing to the end of file). - -Error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} is not affected by this function call. - -References Qua\-Zip\-::get\-Unz\-File(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!size@{size}} -\index{size@{size}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::size ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_ad1a17cc690a01c3edfb82984c3a4c8f0} - - -Returns file size. - -This function returns \doxyref{csize()}{p.}{classQuaZipFile_ac4da08e5cdec368a2a686775f7dc5639} if the file is open for reading in raw mode, \doxyref{usize()}{p.}{classQuaZipFile_a4814b5e6e39fb254737b81ea10964f50} if it is open for reading in normal mode and \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} if it is open for writing. - -Returns -\/1 on error, call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. - -\begin{DoxyNote}{Note} -This function returns file size despite that \doxyref{Qua\-Zip\-File is considered to be sequential device}{p.}{classQuaZipFile_quazipfile-sequential}, for which \doxyref{size()}{p.}{classQuaZipFile_ad1a17cc690a01c3edfb82984c3a4c8f0} should return \doxyref{bytes\-Available()}{p.}{classQuaZipFile_a29fbfb34677f69394ae7c986ffd3a0c1} instead. But its name would be very misguiding otherwise, so just keep in mind this inconsistence. -\end{DoxyNote} - - -References csize(), and usize(). - - - -Referenced by bytes\-Available(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!csize@{csize}} -\index{csize@{csize}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{csize}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::csize ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_ac4da08e5cdec368a2a686775f7dc5639} - - -Returns compressed file size. - -Equivalent to calling \doxyref{get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} and then getting compressed\-Size field, but more convenient and faster. - -File must be open for reading before calling this function. - -Returns -\/1 on error, call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. - -References Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Unz\-File(), and Qua\-Zip\-::md\-Unzip. - - - -Referenced by size(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!usize@{usize}} -\index{usize@{usize}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{usize}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::usize ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZipFile_a4814b5e6e39fb254737b81ea10964f50} - - -Returns uncompressed file size. - -Equivalent to calling \doxyref{get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} and then getting uncompressed\-Size field, but more convenient and faster. See \doxyref{get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} for a warning. - -File must be open for reading before calling this function. - -Returns -\/1 on error, call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. - -References Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Unz\-File(), and Qua\-Zip\-::md\-Unzip. - - - -Referenced by size(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-File\-Info@{get\-File\-Info}} -\index{get\-File\-Info@{get\-File\-Info}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::get\-File\-Info ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip\-File\-Info} $\ast$}]{info} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} - - -Gets information about current file. - -This function does the same thing as calling \doxyref{Qua\-Zip\-::get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} on the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object, but you can not call get\-Current\-File\-Info() if the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} is internal (because you do not have access to it), while you still can call this function in that case. - -File must be open for reading before calling this function. - -\begin{DoxyReturn}{Returns} -{\ttfamily false} in the case of an error. -\end{DoxyReturn} -This function doesn't support zip64, but will still work fine on zip64 archives if file sizes are below 4 G\-B, otherwise the values will be set as if converted using \doxyref{Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info()}{p.}{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade}. - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-File\-Info(\-Qua\-Zip\-File\-Info64$\ast$)}{p.}{classQuaZipFile_af35876a5ac6e9c35234275a9e503110d} -\end{DoxySeeAlso} - - -References Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info(). - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-File\-Info@{get\-File\-Info}} -\index{get\-File\-Info@{get\-File\-Info}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{get\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::get\-File\-Info ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip\-File\-Info64} $\ast$}]{info} -\end{DoxyParamCaption} -)}\label{classQuaZipFile_af35876a5ac6e9c35234275a9e503110d} - - -Gets information about current file with zip64 support. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-File\-Info(\-Qua\-Zip\-File\-Info$\ast$)}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} -\end{DoxySeeAlso} - - -References Qua\-Zip\-::get\-Current\-File\-Info(), Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Zip\-Error(), and Qua\-Zip\-::md\-Unzip. - -\index{Qua\-Zip\-File@{Qua\-Zip\-File}!close@{close}} -\index{close@{close}!QuaZipFile@{Qua\-Zip\-File}} -\subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::close ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a42a39b12619bccd3d419ee60bbb3fcf6} - - -Closes the file. - -Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to determine if the close was successful. - -References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Unz\-File(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::get\-Zip\-File(), Qua\-Zip\-::is\-Open(), and is\-Raw(). - - - -Referenced by $\sim$\-Qua\-Zip\-File(). - - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quazipfile.\-h\item -quazip/quazipfile.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaZipPrivate.tex libquazip-0.7.6/doc/latex/classQuaZipPrivate.tex --- libquazip-0.7.3/doc/latex/classQuaZipPrivate.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZipPrivate.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -\section{Qua\-Zip\-Private Class Reference} -\label{classQuaZipPrivate}\index{Qua\-Zip\-Private@{Qua\-Zip\-Private}} - - -All the internal stuff for the \doxyref{Qua\-Zip}{p.}{classQuaZip} class. - - -\subsection*{Friends} -\begin{DoxyCompactItemize} -\item -class {\bfseries Qua\-Zip}\label{classQuaZipPrivate_a913fb7bbd3527119ebb8052d57132af2} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -All the internal stuff for the \doxyref{Qua\-Zip}{p.}{classQuaZip} class. - -The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} -\item -quazip/quazip.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/classQuaZip.tex libquazip-0.7.6/doc/latex/classQuaZip.tex --- libquazip-0.7.3/doc/latex/classQuaZip.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/classQuaZip.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,947 +0,0 @@ -\section{Qua\-Zip Class Reference} -\label{classQuaZip}\index{Qua\-Zip@{Qua\-Zip}} - - -Z\-I\-P archive. - - - - -{\ttfamily \#include $<$quazip/quazip.\-h$>$} - -\subsection*{Public Types} -\begin{DoxyCompactItemize} -\item -enum {\bf Constants} \{ {\bf M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H} =256 - \} -\begin{DoxyCompactList}\small\item\em Useful constants. \end{DoxyCompactList}\item -enum {\bf Mode} \{ \\* -{\bf md\-Not\-Open}, -{\bf md\-Unzip}, -{\bf md\-Create}, -{\bf md\-Append}, -\\* -{\bf md\-Add} - \} -\begin{DoxyCompactList}\small\item\em Open mode of the Z\-I\-P file. \end{DoxyCompactList}\item -enum {\bf Case\-Sensitivity} \{ {\bf cs\-Default} =0, -{\bf cs\-Sensitive} =1, -{\bf cs\-Insensitive} =2 - \} -\begin{DoxyCompactList}\small\item\em Case sensitivity for the file names. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -{\bf Qua\-Zip} () -\begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object. \end{DoxyCompactList}\item -{\bf Qua\-Zip} (const Q\-String \&zip\-Name)\label{classQuaZip_aaea7294b02abd22379cc3a9fccb754b7} - -\begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object associated with Z\-I\-P file {\itshape zip\-Name}. \end{DoxyCompactList}\item -{\bf Qua\-Zip} (Q\-I\-O\-Device $\ast$io\-Device) -\begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object associated with Z\-I\-P file represented by {\itshape io\-Device}. \end{DoxyCompactList}\item -{\bf $\sim$\-Qua\-Zip} () -\begin{DoxyCompactList}\small\item\em Destroys \doxyref{Qua\-Zip}{p.}{classQuaZip} object. \end{DoxyCompactList}\item -bool {\bf open} ({\bf Mode} mode, zlib\-\_\-filefunc\-\_\-def $\ast$io\-Api=N\-U\-L\-L) -\begin{DoxyCompactList}\small\item\em Opens Z\-I\-P file. \end{DoxyCompactList}\item -void {\bf close} () -\begin{DoxyCompactList}\small\item\em Closes Z\-I\-P file. \end{DoxyCompactList}\item -void {\bf set\-File\-Name\-Codec} (Q\-Text\-Codec $\ast$file\-Name\-Codec) -\begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode file names inside archive. \end{DoxyCompactList}\item -void {\bf set\-File\-Name\-Codec} (const char $\ast$file\-Name\-Codec\-Name) -\begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode file names inside archive. \end{DoxyCompactList}\item -Q\-Text\-Codec $\ast$ {\bf get\-File\-Name\-Codec} () const \label{classQuaZip_a27b866aa2c75ea6f9c438cbb6e32b43c} - -\begin{DoxyCompactList}\small\item\em Returns the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item -void {\bf set\-Comment\-Codec} (Q\-Text\-Codec $\ast$comment\-Codec) -\begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item -void {\bf set\-Comment\-Codec} (const char $\ast$comment\-Codec\-Name) -\begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item -Q\-Text\-Codec $\ast$ {\bf get\-Comment\-Codec} () const \label{classQuaZip_a008260161781d8b5d2a0a28493fddaf4} - -\begin{DoxyCompactList}\small\item\em Returns the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item -Q\-String {\bf get\-Zip\-Name} () const -\begin{DoxyCompactList}\small\item\em Returns the name of the Z\-I\-P file. \end{DoxyCompactList}\item -void {\bf set\-Zip\-Name} (const Q\-String \&zip\-Name) -\begin{DoxyCompactList}\small\item\em Sets the name of the Z\-I\-P file. \end{DoxyCompactList}\item -Q\-I\-O\-Device $\ast$ {\bf get\-Io\-Device} () const -\begin{DoxyCompactList}\small\item\em Returns the device representing this Z\-I\-P file. \end{DoxyCompactList}\item -void {\bf set\-Io\-Device} (Q\-I\-O\-Device $\ast$io\-Device) -\begin{DoxyCompactList}\small\item\em Sets the device representing the Z\-I\-P file. \end{DoxyCompactList}\item -{\bf Mode} {\bf get\-Mode} () const \label{classQuaZip_a129ceff04d28fb00531f7bf7f9329664} - -\begin{DoxyCompactList}\small\item\em Returns the mode in which Z\-I\-P file was opened. \end{DoxyCompactList}\item -bool {\bf is\-Open} () const \label{classQuaZip_a5b869a9c0d4f49955b759592fec08888} - -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if Z\-I\-P file is open, {\ttfamily false} otherwise. \end{DoxyCompactList}\item -int {\bf get\-Zip\-Error} () const -\begin{DoxyCompactList}\small\item\em Returns the error code of the last operation. \end{DoxyCompactList}\item -int {\bf get\-Entries\-Count} () const -\begin{DoxyCompactList}\small\item\em Returns number of the entries in the Z\-I\-P central directory. \end{DoxyCompactList}\item -Q\-String {\bf get\-Comment} () const \label{classQuaZip_ae55cfbf2296132df808c557b62433051} - -\begin{DoxyCompactList}\small\item\em Returns global comment in the Z\-I\-P file. \end{DoxyCompactList}\item -void {\bf set\-Comment} (const Q\-String \&comment) -\begin{DoxyCompactList}\small\item\em Sets the global comment in the Z\-I\-P file. \end{DoxyCompactList}\item -bool {\bf go\-To\-First\-File} () -\begin{DoxyCompactList}\small\item\em Sets the current file to the first file in the archive. \end{DoxyCompactList}\item -bool {\bf go\-To\-Next\-File} () -\begin{DoxyCompactList}\small\item\em Sets the current file to the next file in the archive. \end{DoxyCompactList}\item -bool {\bf set\-Current\-File} (const Q\-String \&file\-Name, {\bf Case\-Sensitivity} cs={\bf cs\-Default}) -\begin{DoxyCompactList}\small\item\em Sets current file by its name. \end{DoxyCompactList}\item -bool {\bf has\-Current\-File} () const \label{classQuaZip_a00b237d926648f45da86db25e7cfb697} - -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the current file has been set. \end{DoxyCompactList}\item -bool {\bf get\-Current\-File\-Info} ({\bf Qua\-Zip\-File\-Info} $\ast$info) const -\begin{DoxyCompactList}\small\item\em Retrieves information about the current file. \end{DoxyCompactList}\item -bool {\bf get\-Current\-File\-Info} ({\bf Qua\-Zip\-File\-Info64} $\ast$info) const -\begin{DoxyCompactList}\small\item\em Retrieves information about the current file. \end{DoxyCompactList}\item -Q\-String {\bf get\-Current\-File\-Name} () const -\begin{DoxyCompactList}\small\item\em Returns the current file name. \end{DoxyCompactList}\item -unz\-File {\bf get\-Unz\-File} () -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily unz\-File} handle. \end{DoxyCompactList}\item -zip\-File {\bf get\-Zip\-File} () -\begin{DoxyCompactList}\small\item\em Returns {\ttfamily zip\-File} handle. \end{DoxyCompactList}\item -void {\bf set\-Data\-Descriptor\-Writing\-Enabled} (bool enabled) -\begin{DoxyCompactList}\small\item\em Changes the data descriptor writing mode. \end{DoxyCompactList}\item -bool {\bf is\-Data\-Descriptor\-Writing\-Enabled} () const -\begin{DoxyCompactList}\small\item\em Returns the data descriptor default writing mode. \end{DoxyCompactList}\item -Q\-String\-List {\bf get\-File\-Name\-List} () const -\begin{DoxyCompactList}\small\item\em Returns a list of files inside the archive. \end{DoxyCompactList}\item -Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ {\bf get\-File\-Info\-List} () const -\begin{DoxyCompactList}\small\item\em Returns information list about all files inside the archive. \end{DoxyCompactList}\item -Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ {\bf get\-File\-Info\-List64} () const -\begin{DoxyCompactList}\small\item\em Returns information list about all files inside the archive. \end{DoxyCompactList}\item -void {\bf set\-Zip64\-Enabled} (bool zip64) -\begin{DoxyCompactList}\small\item\em Enables the zip64 mode. \end{DoxyCompactList}\item -bool {\bf is\-Zip64\-Enabled} () const -\begin{DoxyCompactList}\small\item\em Returns whether the zip64 mode is enabled. \end{DoxyCompactList}\item -bool {\bf is\-Auto\-Close} () const -\begin{DoxyCompactList}\small\item\em Returns the auto-\/close flag. \end{DoxyCompactList}\item -void {\bf set\-Auto\-Close} (bool auto\-Close) const -\begin{DoxyCompactList}\small\item\em Sets or unsets the auto-\/close flag. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Static Public Member Functions} -\begin{DoxyCompactItemize} -\item -static Qt\-::\-Case\-Sensitivity {\bf convert\-Case\-Sensitivity} ({\bf Case\-Sensitivity} cs) -\begin{DoxyCompactList}\small\item\em Returns the actual case sensitivity for the specified Qua\-Z\-I\-P one. \end{DoxyCompactList}\item -static void {\bf set\-Default\-File\-Name\-Codec} (Q\-Text\-Codec $\ast$codec) -\begin{DoxyCompactList}\small\item\em Sets the default file name codec to use. \end{DoxyCompactList}\item -static void {\bf set\-Default\-File\-Name\-Codec} (const char $\ast$codec\-Name) -\end{DoxyCompactItemize} -\subsection*{Friends} -\begin{DoxyCompactItemize} -\item -class {\bfseries Qua\-Zip\-Private}\label{classQuaZip_a5d400b33a69412e9d419a484aaf476cd} - -\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Z\-I\-P archive. - -This class implements basic interface to the Z\-I\-P archive. It can be used to read table contents of the Z\-I\-P archive and retreiving information about the files inside it. - -You can also use this class to open files inside archive by passing pointer to the instance of this class to the constructor of the \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} class. But see \doxyref{Qua\-Zip\-File\-::\-Qua\-Zip\-File(\-Qua\-Zip$\ast$, Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for the possible pitfalls. - -This class is indended to provide interface to the Z\-I\-P subpackage of the Z\-I\-P/\-U\-N\-Z\-I\-P package as well as to the U\-N\-Z\-I\-P subpackage. But currently it supports only U\-N\-Z\-I\-P. - -The use of this class is simple -\/ just create instance using constructor, then set Z\-I\-P archive file name using set\-File() function (if you did not passed the name to the constructor), then \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} and then use different functions to work with it! Well, if you are paranoid, you may also wish to call close before destructing the instance, to check for errors on close. - -You may also use \doxyref{get\-Unz\-File()}{p.}{classQuaZip_a3b78a652f296ff4a678a791e8294e642} and \doxyref{get\-Zip\-File()}{p.}{classQuaZip_a425043a4d7cc31e2fe2bba73d954f15c} functions to get the Z\-I\-P archive handle and use it with Z\-I\-P/\-U\-N\-Z\-I\-P package A\-P\-I directly. - -This class supports localized file names inside Z\-I\-P archive, but you have to set up proper codec with set\-Codec() function. By default, locale codec will be used, which is probably ok for U\-N\-I\-X systems, but will almost certainly fail with Z\-I\-P archives created in Windows. This is because Windows Z\-I\-P programs have strange habit of using D\-O\-S encoding for file names in Z\-I\-P archives. For example, Z\-I\-P archive with cyrillic names created in Windows will have file names in {\ttfamily I\-B\-M866} encoding instead of {\ttfamily W\-I\-N\-D\-O\-W\-S-\/1251}. I think that calling one function is not much trouble, but for true platform independency it would be nice to have some mechanism for file name encoding auto detection using locale information. Does anyone know a good way to do it? - -\subsection{Member Enumeration Documentation} -\index{Qua\-Zip@{Qua\-Zip}!Constants@{Constants}} -\index{Constants@{Constants}!QuaZip@{Qua\-Zip}} -\subsubsection[{Constants}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Qua\-Zip\-::\-Constants}}\label{classQuaZip_adce46b942c341dbb5c851eadead65459} - - -Useful constants. - -\begin{Desc} -\item[Enumerator]\par -\begin{description} -\index{M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H@{M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H@{M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H}}\item[{\em -M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H\label{classQuaZip_adce46b942c341dbb5c851eadead65459ab26ce1a9c9e94f901dc2cf90fa5baa4b} -}]Maximum file name length. Taken from {\ttfamily U\-N\-Z\-\_\-\-M\-A\-X\-F\-I\-L\-E\-N\-A\-M\-E\-I\-N\-Z\-I\-P} constant in unzip.\-c. \end{description} -\end{Desc} -\index{Qua\-Zip@{Qua\-Zip}!Mode@{Mode}} -\index{Mode@{Mode}!QuaZip@{Qua\-Zip}} -\subsubsection[{Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Qua\-Zip\-::\-Mode}}\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4} - - -Open mode of the Z\-I\-P file. - -\begin{Desc} -\item[Enumerator]\par -\begin{description} -\index{md\-Not\-Open@{md\-Not\-Open}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Not\-Open@{md\-Not\-Open}}\item[{\em -md\-Not\-Open\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4ac87ddb1e901e1ec700c16ee0d4d398ce} -}]Z\-I\-P file is not open. This is the initial mode. \index{md\-Unzip@{md\-Unzip}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Unzip@{md\-Unzip}}\item[{\em -md\-Unzip\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} -}]Z\-I\-P file is open for reading files inside it. \index{md\-Create@{md\-Create}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Create@{md\-Create}}\item[{\em -md\-Create\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a25ae05b12590540af8c66ae8298b928e} -}]Z\-I\-P file was created with \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} call. \index{md\-Append@{md\-Append}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Append@{md\-Append}}\item[{\em -md\-Append\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4ab807f0c65653a16d77b365801fd25582} -}]Z\-I\-P file was opened in append mode. This refers to {\ttfamily A\-P\-P\-E\-N\-D\-\_\-\-S\-T\-A\-T\-U\-S\-\_\-\-C\-R\-E\-A\-T\-E\-A\-F\-T\-E\-R} mode in Z\-I\-P/\-U\-N\-Z\-I\-P package and means that zip is appended to some existing file what is useful when that file contains self-\/extractor code. This is obviously {\itshape not} what you whant to use to add files to the existing Z\-I\-P archive. \index{md\-Add@{md\-Add}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Add@{md\-Add}}\item[{\em -md\-Add\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a22c745f349f06add449af523254fdaec} -}]Z\-I\-P file was opened for adding files in the archive. \end{description} -\end{Desc} -\index{Qua\-Zip@{Qua\-Zip}!Case\-Sensitivity@{Case\-Sensitivity}} -\index{Case\-Sensitivity@{Case\-Sensitivity}!QuaZip@{Qua\-Zip}} -\subsubsection[{Case\-Sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Qua\-Zip\-::\-Case\-Sensitivity}}\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbe} - - -Case sensitivity for the file names. - -This is what you specify when accessing files in the archive. Works perfectly fine with any characters thanks to Qt's great unicode support. This is different from Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I, where only U\-S-\/\-A\-S\-C\-I\-I characters was supported. \begin{Desc} -\item[Enumerator]\par -\begin{description} -\index{cs\-Default@{cs\-Default}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!cs\-Default@{cs\-Default}}\item[{\em -cs\-Default\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbeac3cca8c0b976cf6397a28a5c84e75253} -}]Default for platform. Case sensitive for U\-N\-I\-X, not for Windows. \index{cs\-Sensitive@{cs\-Sensitive}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!cs\-Sensitive@{cs\-Sensitive}}\item[{\em -cs\-Sensitive\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbead8d86b0c34203336cad09348cfa5356e} -}]Case sensitive. \index{cs\-Insensitive@{cs\-Insensitive}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!cs\-Insensitive@{cs\-Insensitive}}\item[{\em -cs\-Insensitive\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbea3e492bcc3f64f41a74906cecc45fb366} -}]Case insensitive. \end{description} -\end{Desc} - - -\subsection{Constructor \& Destructor Documentation} -\index{Qua\-Zip@{Qua\-Zip}!Qua\-Zip@{Qua\-Zip}} -\index{Qua\-Zip@{Qua\-Zip}!QuaZip@{Qua\-Zip}} -\subsubsection[{Qua\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-::\-Qua\-Zip ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_a970e0f401c7cfd7a78e78572f758eec4} - - -Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object. - -Call set\-Name() before opening constructed object. \index{Qua\-Zip@{Qua\-Zip}!Qua\-Zip@{Qua\-Zip}} -\index{Qua\-Zip@{Qua\-Zip}!QuaZip@{Qua\-Zip}} -\subsubsection[{Qua\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-::\-Qua\-Zip ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io\-Device} -\end{DoxyParamCaption} -)}\label{classQuaZip_ae52ebadd5ce64cdb49d7e198904b0b8c} - - -Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object associated with Z\-I\-P file represented by {\itshape io\-Device}. - -The I\-O device must be seekable, otherwise an error will occur when opening. \index{Qua\-Zip@{Qua\-Zip}!$\sim$\-Qua\-Zip@{$\sim$\-Qua\-Zip}} -\index{$\sim$\-Qua\-Zip@{$\sim$\-Qua\-Zip}!QuaZip@{Qua\-Zip}} -\subsubsection[{$\sim$\-Qua\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-::$\sim$\-Qua\-Zip ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_af60a2d3930b90f3b25a3148baecad81e} - - -Destroys \doxyref{Qua\-Zip}{p.}{classQuaZip} object. - -Calls \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} if necessary. - -References close(), and is\-Open(). - - - -\subsection{Member Function Documentation} -\index{Qua\-Zip@{Qua\-Zip}!convert\-Case\-Sensitivity@{convert\-Case\-Sensitivity}} -\index{convert\-Case\-Sensitivity@{convert\-Case\-Sensitivity}!QuaZip@{Qua\-Zip}} -\subsubsection[{convert\-Case\-Sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}Qt\-::\-Case\-Sensitivity Qua\-Zip\-::convert\-Case\-Sensitivity ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip\-::\-Case\-Sensitivity}}]{cs} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classQuaZip_a1d3fbd445a8e9d3449ded7371931c6b3} - - -Returns the actual case sensitivity for the specified Qua\-Z\-I\-P one. - - -\begin{DoxyParams}{Parameters} -{\em cs} & The value to convert. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -If Case\-Sensitivity\-::cs\-Default, then returns the default file name case sensitivity for the platform. Otherwise, just returns the appropriate value from the Qt\-::\-Case\-Sensitivity enum. -\end{DoxyReturn} - - -References cs\-Default, and cs\-Sensitive. - - - -Referenced by Qua\-Zip\-Dir\-::exists(), and set\-Current\-File(). - -\index{Qua\-Zip@{Qua\-Zip}!open@{open}} -\index{open@{open}!QuaZip@{Qua\-Zip}} -\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::open ( -\begin{DoxyParamCaption} -\item[{{\bf Mode}}]{mode, } -\item[{zlib\-\_\-filefunc\-\_\-def $\ast$}]{io\-Api = {\ttfamily NULL}} -\end{DoxyParamCaption} -)}\label{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} - - -Opens Z\-I\-P file. - -Argument {\itshape mode} specifies open mode of the Z\-I\-P archive. See Mode for details. Note that there is zip\-Open2() function in the Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I which accepts {\itshape globalcomment} argument, but it does not use it anywhere, so this \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} function does not have this argument. See \doxyref{set\-Comment()}{p.}{classQuaZip_a1b5d936a203859340574d5908ffa2222} if you need to set global comment. - -If the Z\-I\-P file is accessed via explicitly set Q\-I\-O\-Device, then this device is opened in the necessary mode. If the device was already opened by some other means, then Qua\-Z\-I\-P checks if the open mode is compatible to the mode needed for the requested operation. If necessary, seeking is performed to position the device properly. - -\begin{DoxyReturn}{Returns} -{\ttfamily true} if successful, {\ttfamily false} otherwise. -\end{DoxyReturn} -\begin{DoxyNote}{Note} -Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I open calls do not return error code -\/ they just return {\ttfamily N\-U\-L\-L} indicating an error. But to make things easier, \doxyref{quazip.\-h}{p.}{quazip_8h_source} header defines additional error code {\ttfamily U\-N\-Z\-\_\-\-E\-R\-R\-O\-R\-O\-P\-E\-N} and \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} will return it if the open call of the Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I returns {\ttfamily N\-U\-L\-L}. -\end{DoxyNote} -Argument {\itshape io\-Api} specifies I\-O function set for Z\-I\-P/\-U\-N\-Z\-I\-P package to use. See unzip.\-h, zip.\-h and ioapi.\-h for details. Note that I\-O A\-P\-I for \doxyref{Qua\-Zip}{p.}{classQuaZip} is different from the original package. The file path argument was changed to be of type {\ttfamily voidpf}, and \doxyref{Qua\-Zip}{p.}{classQuaZip} passes a Q\-I\-O\-Device pointer there. This Q\-I\-O\-Device is either set explicitly via \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6} or the \doxyref{Qua\-Zip(\-Q\-I\-O\-Device$\ast$)}{p.}{classQuaZip_ae52ebadd5ce64cdb49d7e198904b0b8c} constructor, or it is created internally when opening the archive by its file name. The default A\-P\-I (qioapi.\-cpp) just delegates everything to the Q\-I\-O\-Device A\-P\-I. Not only this allows to use a Q\-I\-O\-Device instead of file name, but also has a nice side effect of raising the file size limit from 2\-G to 4\-G (in non-\/zip64 archives). - -\begin{DoxyNote}{Note} -If the zip64 support is needed, the io\-Api argument {\itshape must} be N\-U\-L\-L because due to the backwards compatibility issues it can be used to provide a 32-\/bit A\-P\-I only. - -If the \doxyref{no-\/auto-\/close}{p.}{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} feature is used, then the {\itshape io\-Api} argument {\itshape should} be N\-U\-L\-L because the old A\-P\-I doesn't support the 'fake close' operation, causing slight memory leaks and other possible troubles (like closing the output device in case when an error occurs during opening). -\end{DoxyNote} -In short\-: just forget about the {\itshape io\-Api} argument and you'll be fine. - -References is\-Open(), md\-Add, md\-Append, md\-Create, md\-Unzip, Qua\-Zip\-Private\-::unz\-File\-\_\-f, and Qua\-Zip\-Private\-::zip\-File\-\_\-f. - - - -Referenced by Jl\-Compress\-::compress\-Dir(), Jl\-Compress\-::compress\-File(), Jl\-Compress\-::compress\-Files(), and Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip@{Qua\-Zip}!close@{close}} -\index{close@{close}!QuaZip@{Qua\-Zip}} -\subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::close ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} - - -Closes Z\-I\-P file. - -Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to determine if the close was successful. - -If the file was opened by name, then the underlying Q\-I\-O\-Device is closed and deleted. - -If the underlying Q\-I\-O\-Device was set explicitly using \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6} or the appropriate constructor, then it is closed if the auto-\/close flag is set (which it is by default). Call \doxyref{set\-Auto\-Close()}{p.}{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} to clear the auto-\/close flag if this behavior is undesirable. - -Since Qt 5.\-1, the Q\-Save\-File was introduced. It breaks the Q\-I\-O\-Device A\-P\-I by making \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} private and crashing the application if it is called from the base class where it is public. It is an excellent example of poor design that illustrates why you should never ever break an is-\/a relationship between the base class and a subclass. Qua\-Z\-I\-P works around this bug by checking if the Q\-I\-O\-Device is an instance of Q\-Save\-File, using qobject\-\_\-cast$<$$>$, and if it is, calls Q\-Save\-File\-::commit() instead of \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f}. It is a really ugly hack, but at least it makes your programs work instead of crashing. Note that if the auto-\/close flag is cleared, then this is a non-\/issue, and commit() isn't called. - -References md\-Add, md\-Append, md\-Create, md\-Not\-Open, md\-Unzip, Qua\-Zip\-Private\-::unz\-File\-\_\-f, and Qua\-Zip\-Private\-::zip\-File\-\_\-f. - - - -Referenced by Qua\-Zip\-File\-::close(), Jl\-Compress\-::compress\-Dir(), Jl\-Compress\-::compress\-File(), Jl\-Compress\-::compress\-Files(), Qua\-Zip\-File\-::open(), and $\sim$\-Qua\-Zip(). - -\index{Qua\-Zip@{Qua\-Zip}!set\-File\-Name\-Codec@{set\-File\-Name\-Codec}} -\index{set\-File\-Name\-Codec@{set\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-File\-Name\-Codec ( -\begin{DoxyParamCaption} -\item[{Q\-Text\-Codec $\ast$}]{file\-Name\-Codec} -\end{DoxyParamCaption} -)}\label{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb} - - -Sets the codec used to encode/decode file names inside archive. - -This is necessary to access files in the Z\-I\-P archive created under Windows with non-\/latin characters in file names. For example, file names with cyrillic letters will be in {\ttfamily I\-B\-M866} encoding. \index{Qua\-Zip@{Qua\-Zip}!set\-File\-Name\-Codec@{set\-File\-Name\-Codec}} -\index{set\-File\-Name\-Codec@{set\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-File\-Name\-Codec ( -\begin{DoxyParamCaption} -\item[{const char $\ast$}]{file\-Name\-Codec\-Name} -\end{DoxyParamCaption} -)}\label{classQuaZip_a8f283519a195aa1d9076bbbb01ea0497} - - -Sets the codec used to encode/decode file names inside archive. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling set\-File\-Name\-Codec(\-Q\-Text\-Codec\-::codec\-For\-Name(codec\-Name)); \index{Qua\-Zip@{Qua\-Zip}!set\-Comment\-Codec@{set\-Comment\-Codec}} -\index{set\-Comment\-Codec@{set\-Comment\-Codec}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Comment\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Comment\-Codec ( -\begin{DoxyParamCaption} -\item[{Q\-Text\-Codec $\ast$}]{comment\-Codec} -\end{DoxyParamCaption} -)}\label{classQuaZip_a1c81fca7215a4374f6f03872ade4885b} - - -Sets the codec used to encode/decode comments inside archive. - -This codec defaults to locale codec, which is probably ok. \index{Qua\-Zip@{Qua\-Zip}!set\-Comment\-Codec@{set\-Comment\-Codec}} -\index{set\-Comment\-Codec@{set\-Comment\-Codec}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Comment\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Comment\-Codec ( -\begin{DoxyParamCaption} -\item[{const char $\ast$}]{comment\-Codec\-Name} -\end{DoxyParamCaption} -)}\label{classQuaZip_a413f3c56b54a9a47258d53802cb606e7} - - -Sets the codec used to encode/decode comments inside archive. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling set\-Comment\-Codec(\-Q\-Text\-Codec\-::codec\-For\-Name(codec\-Name)); \index{Qua\-Zip@{Qua\-Zip}!get\-Zip\-Name@{get\-Zip\-Name}} -\index{get\-Zip\-Name@{get\-Zip\-Name}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-::get\-Zip\-Name ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2} - - -Returns the name of the Z\-I\-P file. - -Returns null string if no Z\-I\-P file name has been set, for example when the \doxyref{Qua\-Zip}{p.}{classQuaZip} instance is set up to use a Q\-I\-O\-Device instead. \begin{DoxySeeAlso}{See Also} -\doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc}, \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, \doxyref{get\-Io\-Device()}{p.}{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29} -\end{DoxySeeAlso} - - -Referenced by Qua\-Zip\-File\-::get\-Zip\-Name(). - -\index{Qua\-Zip@{Qua\-Zip}!set\-Zip\-Name@{set\-Zip\-Name}} -\index{set\-Zip\-Name@{set\-Zip\-Name}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Zip\-Name ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{zip\-Name} -\end{DoxyParamCaption} -)}\label{classQuaZip_aa80b661de1262af905d1677dbcb008cc} - - -Sets the name of the Z\-I\-P file. - -Does nothing if the Z\-I\-P file is open. - -Does not reset error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4}. \begin{DoxySeeAlso}{See Also} -\doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, \doxyref{get\-Io\-Device()}{p.}{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29}, \doxyref{get\-Zip\-Name()}{p.}{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2} -\end{DoxySeeAlso} - - -References is\-Open(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Io\-Device@{get\-Io\-Device}} -\index{get\-Io\-Device@{get\-Io\-Device}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Io\-Device}]{\setlength{\rightskip}{0pt plus 5cm}Q\-I\-O\-Device $\ast$ Qua\-Zip\-::get\-Io\-Device ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29} - - -Returns the device representing this Z\-I\-P file. - -Returns null string if no device has been set explicitly, for example when opening a Z\-I\-P file by name. \begin{DoxySeeAlso}{See Also} -\doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, \doxyref{get\-Zip\-Name()}{p.}{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2}, \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!set\-Io\-Device@{set\-Io\-Device}} -\index{set\-Io\-Device@{set\-Io\-Device}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Io\-Device}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Io\-Device ( -\begin{DoxyParamCaption} -\item[{Q\-I\-O\-Device $\ast$}]{io\-Device} -\end{DoxyParamCaption} -)}\label{classQuaZip_a64642948b6531ee54f5522f29e388cc6} - - -Sets the device representing the Z\-I\-P file. - -Does nothing if the Z\-I\-P file is open. - -Does not reset error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4}. \begin{DoxySeeAlso}{See Also} -\doxyref{get\-Io\-Device()}{p.}{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29}, \doxyref{get\-Zip\-Name()}{p.}{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2}, \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc} -\end{DoxySeeAlso} - - -References is\-Open(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Zip\-Error@{get\-Zip\-Error}} -\index{get\-Zip\-Error@{get\-Zip\-Error}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Zip\-Error}]{\setlength{\rightskip}{0pt plus 5cm}int Qua\-Zip\-::get\-Zip\-Error ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} - - -Returns the error code of the last operation. - -Returns {\ttfamily U\-N\-Z\-\_\-\-O\-K} if the last operation was successful. - -Error code resets to {\ttfamily U\-N\-Z\-\_\-\-O\-K} every time you call any function that accesses something inside Z\-I\-P archive, even if it is {\ttfamily const} (like \doxyref{get\-Entries\-Count()}{p.}{classQuaZip_a2ea4bd1fca948637c35c2d2752bb5a80}). \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} and \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} calls reset error code too. See documentation for the specific functions for details on error detection. - -Referenced by Qua\-Zip\-File\-::close(), Jl\-Compress\-::compress\-Dir(), Jl\-Compress\-::compress\-File(), Jl\-Compress\-::compress\-Files(), Qua\-Zip\-File\-::get\-Actual\-File\-Name(), Qua\-Zip\-File\-::get\-File\-Info(), and Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Entries\-Count@{get\-Entries\-Count}} -\index{get\-Entries\-Count@{get\-Entries\-Count}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Entries\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int Qua\-Zip\-::get\-Entries\-Count ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a2ea4bd1fca948637c35c2d2752bb5a80} - - -Returns number of the entries in the Z\-I\-P central directory. - -Returns negative error code in the case of error. The same error code will be returned by subsequent \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} call. - -References md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. - -\index{Qua\-Zip@{Qua\-Zip}!set\-Comment@{set\-Comment}} -\index{set\-Comment@{set\-Comment}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Comment}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Comment ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{comment} -\end{DoxyParamCaption} -)}\label{classQuaZip_a1b5d936a203859340574d5908ffa2222} - - -Sets the global comment in the Z\-I\-P file. - -The comment will be written to the archive on close operation. \doxyref{Qua\-Zip}{p.}{classQuaZip} makes a distinction between a null Q\-Byte\-Array() comment and an empty "" comment in the \doxyref{Qua\-Zip\-::md\-Add}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a22c745f349f06add449af523254fdaec} mode. A null comment is the default and it means "don't change the comment". An empty comment removes the original comment. - -\begin{DoxySeeAlso}{See Also} -\doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!go\-To\-First\-File@{go\-To\-First\-File}} -\index{go\-To\-First\-File@{go\-To\-First\-File}!QuaZip@{Qua\-Zip}} -\subsubsection[{go\-To\-First\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::go\-To\-First\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_a745488f9177bcec3cdb858587584e033} - - -Sets the current file to the first file in the archive. - -Returns {\ttfamily true} on success, {\ttfamily false} otherwise. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to get the error code. - -References md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. - -\index{Qua\-Zip@{Qua\-Zip}!go\-To\-Next\-File@{go\-To\-Next\-File}} -\index{go\-To\-Next\-File@{go\-To\-Next\-File}!QuaZip@{Qua\-Zip}} -\subsubsection[{go\-To\-Next\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::go\-To\-Next\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_aee6779b6cd338420c2e8c5655fa8ba97} - - -Sets the current file to the next file in the archive. - -Returns {\ttfamily true} on success, {\ttfamily false} otherwise. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to determine if there was an error. - -Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. - -\begin{DoxyNote}{Note} -If the end of file was reached, \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} will return {\ttfamily U\-N\-Z\-\_\-\-O\-K} instead of {\ttfamily U\-N\-Z\-\_\-\-E\-N\-D\-\_\-\-O\-F\-\_\-\-L\-I\-S\-T\-\_\-\-O\-F\-\_\-\-F\-I\-L\-E}. This is to make things like this easier\-: -\begin{DoxyCode} -\textcolor{keywordflow}{for}(\textcolor{keywordtype}{bool} more=zip.goToFirstFile(); more; more=zip.goToNextFile()) \{ - \textcolor{comment}{// do something} -\} -\textcolor{keywordflow}{if}(zip.getZipError()==UNZ\_OK) \{ - \textcolor{comment}{// ok, there was no error} -\} -\end{DoxyCode} - -\end{DoxyNote} - - -References md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. - - - -Referenced by set\-Current\-File(). - -\index{Qua\-Zip@{Qua\-Zip}!set\-Current\-File@{set\-Current\-File}} -\index{set\-Current\-File@{set\-Current\-File}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Current\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::set\-Current\-File ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name, } -\item[{{\bf Case\-Sensitivity}}]{cs = {\ttfamily {\bf cs\-Default}}} -\end{DoxyParamCaption} -)}\label{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} - - -Sets current file by its name. - -Returns {\ttfamily true} if successful, {\ttfamily false} otherwise. Argument {\itshape cs} specifies case sensitivity of the file name. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} in the case of a failure to get error code. - -This is not a wrapper to unz\-Locate\-File() function. That is because I had to implement locale-\/specific case-\/insensitive comparison. - -Here are the differences from the original implementation\-: - - -\begin{DoxyItemize} -\item If the file was not found, error code is {\ttfamily U\-N\-Z\-\_\-\-O\-K}, not {\ttfamily U\-N\-Z\-\_\-\-E\-N\-D\-\_\-\-O\-F\-\_\-\-L\-I\-S\-T\-\_\-\-O\-F\-\_\-\-F\-I\-L\-E} (see also \doxyref{go\-To\-Next\-File()}{p.}{classQuaZip_aee6779b6cd338420c2e8c5655fa8ba97}). -\item If this function fails, it unsets the current file rather than resetting it back to what it was before the call. -\end{DoxyItemize} - -If {\itshape file\-Name} is null string then this function unsets the current file and return {\ttfamily true}. Note that you should close the file first if it is open! See \doxyref{Qua\-Zip\-File\-::\-Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for the details. - -Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. - -\begin{DoxySeeAlso}{See Also} -\doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb}, \doxyref{Case\-Sensitivity}{p.}{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbe} -\end{DoxySeeAlso} - - -References convert\-Case\-Sensitivity(), get\-Current\-File\-Name(), go\-To\-Next\-File(), M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H, md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. - - - -Referenced by Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Current\-File\-Info@{get\-Current\-File\-Info}} -\index{get\-Current\-File\-Info@{get\-Current\-File\-Info}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Current\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::get\-Current\-File\-Info ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip\-File\-Info} $\ast$}]{info} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} - - -Retrieves information about the current file. - -Fills the structure pointed by {\itshape info}. Returns {\ttfamily true} on success, {\ttfamily false} otherwise. In the latter case structure pointed by {\itshape info} remains untouched. If there was an error, \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} returns error code. - -Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. - -Does nothing and returns {\ttfamily false} in any of the following cases. -\begin{DoxyItemize} -\item Z\-I\-P is not open; -\item Z\-I\-P does not have current file. -\end{DoxyItemize} - -In both cases \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} returns {\ttfamily U\-N\-Z\-\_\-\-O\-K} since there is no Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I call. - -This overload doesn't support zip64, but will work O\-K on zip64 archives except that if one of the sizes (compressed or uncompressed) is greater than 0x\-F\-F\-F\-F\-F\-F\-F\-Fu, it will be set to exactly 0x\-F\-F\-F\-F\-F\-F\-F\-Fu. - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-Current\-File\-Info(\-Qua\-Zip\-File\-Info64$\ast$ info)const}{p.}{classQuaZip_a7ba6daf39263c308c683e7f72f74e0ae} - -\doxyref{Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info(\-Qua\-Zip\-File\-Info\&)const}{p.}{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade} -\end{DoxySeeAlso} - - -References Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info(). - - - -Referenced by Qua\-Zip\-File\-::get\-File\-Info(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Current\-File\-Info@{get\-Current\-File\-Info}} -\index{get\-Current\-File\-Info@{get\-Current\-File\-Info}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Current\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::get\-Current\-File\-Info ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip\-File\-Info64} $\ast$}]{info} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a7ba6daf39263c308c683e7f72f74e0ae} - - -Retrieves information about the current file. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. - -This function supports zip64. If the archive doesn't use zip64, it is completely equivalent to get\-Current\-File\-Info(\-Qua\-Zip\-File\-Info$\ast$ info) except for the argument type. - -\begin{DoxySeeAlso}{See Also} - -\end{DoxySeeAlso} - - -References Qua\-Zip\-File\-Info64\-::comment, Qua\-Zip\-File\-Info64\-::compressed\-Size, Qua\-Zip\-File\-Info64\-::crc, Qua\-Zip\-File\-Info64\-::date\-Time, Qua\-Zip\-File\-Info64\-::disk\-Number\-Start, Qua\-Zip\-File\-Info64\-::external\-Attr, Qua\-Zip\-File\-Info64\-::extra, Qua\-Zip\-File\-Info64\-::flags, has\-Current\-File(), Qua\-Zip\-File\-Info64\-::internal\-Attr, is\-Open(), md\-Unzip, Qua\-Zip\-File\-Info64\-::method, Qua\-Zip\-File\-Info64\-::name, Qua\-Zip\-File\-Info64\-::uncompressed\-Size, Qua\-Zip\-Private\-::unz\-File\-\_\-f, Qua\-Zip\-File\-Info64\-::version\-Created, and Qua\-Zip\-File\-Info64\-::version\-Needed. - -\index{Qua\-Zip@{Qua\-Zip}!get\-Current\-File\-Name@{get\-Current\-File\-Name}} -\index{get\-Current\-File\-Name@{get\-Current\-File\-Name}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Current\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-::get\-Current\-File\-Name ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a9783f8b4f39cd55e71e975aea78fd54a} - - -Returns the current file name. - -Equivalent to calling \doxyref{get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} and then getting {\ttfamily name} field of the \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo} structure, but faster and more convenient. - -Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. - -References has\-Current\-File(), is\-Open(), M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H, md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. - - - -Referenced by Qua\-Zip\-File\-::get\-Actual\-File\-Name(), and set\-Current\-File(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Unz\-File@{get\-Unz\-File}} -\index{get\-Unz\-File@{get\-Unz\-File}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Unz\-File}]{\setlength{\rightskip}{0pt plus 5cm}unz\-File Qua\-Zip\-::get\-Unz\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_a3b78a652f296ff4a678a791e8294e642} - - -Returns {\ttfamily unz\-File} handle. - -You can use this handle to directly call U\-N\-Z\-I\-P part of the Z\-I\-P/\-U\-N\-Z\-I\-P package functions (see unzip.\-h). - -\begin{DoxyWarning}{Warning} -When using the handle returned by this function, please keep in mind that \doxyref{Qua\-Zip}{p.}{classQuaZip} class is unable to detect any changes you make in the Z\-I\-P file state (e. g. changing current file, or closing the handle). So please do not do anything with this handle that is possible to do with the functions of this class. Or at least return the handle in the original state before calling some another function of this class (including implicit destructor calls and calls from the \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} objects that refer to this \doxyref{Qua\-Zip}{p.}{classQuaZip} instance!). So if you have changed the current file in the Z\-I\-P archive -\/ then change it back or you may experience some strange behavior or even crashes. -\end{DoxyWarning} - - -References Qua\-Zip\-Private\-::unz\-File\-\_\-f. - - - -Referenced by Qua\-Zip\-File\-::at\-End(), Qua\-Zip\-File\-::close(), Qua\-Zip\-File\-::csize(), Qua\-Zip\-File\-::open(), Qua\-Zip\-File\-::pos(), Qua\-Zip\-File\-::read\-Data(), and Qua\-Zip\-File\-::usize(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-Zip\-File@{get\-Zip\-File}} -\index{get\-Zip\-File@{get\-Zip\-File}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}zip\-File Qua\-Zip\-::get\-Zip\-File ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -)}\label{classQuaZip_a425043a4d7cc31e2fe2bba73d954f15c} - - -Returns {\ttfamily zip\-File} handle. - -You can use this handle to directly call Z\-I\-P part of the Z\-I\-P/\-U\-N\-Z\-I\-P package functions (see zip.\-h). Warnings about the \doxyref{get\-Unz\-File()}{p.}{classQuaZip_a3b78a652f296ff4a678a791e8294e642} function also apply to this function. - -References Qua\-Zip\-Private\-::zip\-File\-\_\-f. - - - -Referenced by Qua\-Zip\-File\-::close(), Qua\-Zip\-File\-::open(), and Qua\-Zip\-File\-::write\-Data(). - -\index{Qua\-Zip@{Qua\-Zip}!set\-Data\-Descriptor\-Writing\-Enabled@{set\-Data\-Descriptor\-Writing\-Enabled}} -\index{set\-Data\-Descriptor\-Writing\-Enabled@{set\-Data\-Descriptor\-Writing\-Enabled}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Data\-Descriptor\-Writing\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Data\-Descriptor\-Writing\-Enabled ( -\begin{DoxyParamCaption} -\item[{bool}]{enabled} -\end{DoxyParamCaption} -)}\label{classQuaZip_a6c23a12af88f7ea5edd4f9c0a24b9453} - - -Changes the data descriptor writing mode. - -According to the Z\-I\-P format specification, a file inside archive may have a data descriptor immediately following the file data. This is reflected by a special flag in the local file header and in the central directory. By default, Qua\-Z\-I\-P sets this flag and writes the data descriptor unless both method and level were set to 0, in which case it operates in 1.\-0-\/compatible mode and never writes data descriptors. - -By setting this flag to false, it is possible to disable data descriptor writing, thus increasing compatibility with archive readers that don't understand this feature of the Z\-I\-P file format. - -Setting this flag affects all the \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instances that are opened after this flag is set. - -The data descriptor writing mode is enabled by default. - -Note that if the Z\-I\-P archive is written into a Q\-I\-O\-Device for which Q\-I\-O\-Device\-::is\-Sequential() returns {\ttfamily true}, then the data descriptor is mandatory and will be written even if this flag is set to false. - - -\begin{DoxyParams}{Parameters} -{\em enabled} & If {\ttfamily true}, enable local descriptor writing, disable it otherwise.\\ -\hline -\end{DoxyParams} -\begin{DoxySeeAlso}{See Also} -Qua\-Zip\-File\-::is\-Data\-Descriptor\-Writing\-Enabled() -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!is\-Data\-Descriptor\-Writing\-Enabled@{is\-Data\-Descriptor\-Writing\-Enabled}} -\index{is\-Data\-Descriptor\-Writing\-Enabled@{is\-Data\-Descriptor\-Writing\-Enabled}!QuaZip@{Qua\-Zip}} -\subsubsection[{is\-Data\-Descriptor\-Writing\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::is\-Data\-Descriptor\-Writing\-Enabled ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_ae5c665a59447c2d30e63e9c6df48ebb7} - - -Returns the data descriptor default writing mode. - -\begin{DoxySeeAlso}{See Also} -\doxyref{set\-Data\-Descriptor\-Writing\-Enabled()}{p.}{classQuaZip_a6c23a12af88f7ea5edd4f9c0a24b9453} -\end{DoxySeeAlso} - - -Referenced by Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip@{Qua\-Zip}!get\-File\-Name\-List@{get\-File\-Name\-List}} -\index{get\-File\-Name\-List@{get\-File\-Name\-List}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-File\-Name\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Qua\-Zip\-::get\-File\-Name\-List ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_abb38d8b4c9c4ae0728b48caae9dd82de} - - -Returns a list of files inside the archive. - -\begin{DoxyReturn}{Returns} -A list of file names or an empty list if there was an error or if the archive is empty (call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to figure out which). -\end{DoxyReturn} -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-File\-Info\-List()}{p.}{classQuaZip_a7486af66bede8e131db0cd2e81881387} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!get\-File\-Info\-List@{get\-File\-Info\-List}} -\index{get\-File\-Info\-List@{get\-File\-Info\-List}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-File\-Info\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ Qua\-Zip\-::get\-File\-Info\-List ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a7486af66bede8e131db0cd2e81881387} - - -Returns information list about all files inside the archive. - -\begin{DoxyReturn}{Returns} -A list of \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo} objects or an empty list if there was an error or if the archive is empty (call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to figure out which). -\end{DoxyReturn} -This function doesn't support zip64, but will still work with zip64 archives, converting results using \doxyref{Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info()}{p.}{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade}. If all file sizes are below 4 G\-B, it will work just fine. - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-File\-Name\-List()}{p.}{classQuaZip_abb38d8b4c9c4ae0728b48caae9dd82de} - -\doxyref{get\-File\-Info\-List64()}{p.}{classQuaZip_a474e66b1b696a9e00edcc067484c36ad} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!get\-File\-Info\-List64@{get\-File\-Info\-List64}} -\index{get\-File\-Info\-List64@{get\-File\-Info\-List64}!QuaZip@{Qua\-Zip}} -\subsubsection[{get\-File\-Info\-List64}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ Qua\-Zip\-::get\-File\-Info\-List64 ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a474e66b1b696a9e00edcc067484c36ad} - - -Returns information list about all files inside the archive. - -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. - -This function supports zip64. - -\begin{DoxySeeAlso}{See Also} -\doxyref{get\-File\-Name\-List()}{p.}{classQuaZip_abb38d8b4c9c4ae0728b48caae9dd82de} - -\doxyref{get\-File\-Info\-List()}{p.}{classQuaZip_a7486af66bede8e131db0cd2e81881387} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!set\-Zip64\-Enabled@{set\-Zip64\-Enabled}} -\index{set\-Zip64\-Enabled@{set\-Zip64\-Enabled}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Zip64\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Zip64\-Enabled ( -\begin{DoxyParamCaption} -\item[{bool}]{zip64} -\end{DoxyParamCaption} -)}\label{classQuaZip_ab99a22efae02ebb4b5c9cd8eedc1c0b0} - - -Enables the zip64 mode. - - -\begin{DoxyParams}{Parameters} -{\em zip64} & If {\ttfamily true}, the zip64 mode is enabled, disabled otherwise.\\ -\hline -\end{DoxyParams} -Once this is enabled, all new files (until the mode is disabled again) will be created in the zip64 mode, thus enabling the ability to write files larger than 4 G\-B. By default, the zip64 mode is off due to compatibility reasons. - -Note that this does not affect the ability to read zip64 archives in any way. - -\begin{DoxySeeAlso}{See Also} -\doxyref{is\-Zip64\-Enabled()}{p.}{classQuaZip_a1b638566390d7599ba5982e844b151f4} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!is\-Zip64\-Enabled@{is\-Zip64\-Enabled}} -\index{is\-Zip64\-Enabled@{is\-Zip64\-Enabled}!QuaZip@{Qua\-Zip}} -\subsubsection[{is\-Zip64\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::is\-Zip64\-Enabled ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a1b638566390d7599ba5982e844b151f4} - - -Returns whether the zip64 mode is enabled. - -\begin{DoxyReturn}{Returns} -{\ttfamily true} if and only if the zip64 mode is enabled. -\end{DoxyReturn} -\begin{DoxySeeAlso}{See Also} -\doxyref{set\-Zip64\-Enabled()}{p.}{classQuaZip_ab99a22efae02ebb4b5c9cd8eedc1c0b0} -\end{DoxySeeAlso} - - -Referenced by Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip@{Qua\-Zip}!is\-Auto\-Close@{is\-Auto\-Close}} -\index{is\-Auto\-Close@{is\-Auto\-Close}!QuaZip@{Qua\-Zip}} -\subsubsection[{is\-Auto\-Close}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::is\-Auto\-Close ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{classQuaZip_adc2cc762ab5744720ae4d33290b5f5bf} - - -Returns the auto-\/close flag. - -\begin{DoxySeeAlso}{See Also} -\doxyref{set\-Auto\-Close()}{p.}{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!set\-Auto\-Close@{set\-Auto\-Close}} -\index{set\-Auto\-Close@{set\-Auto\-Close}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Auto\-Close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Auto\-Close ( -\begin{DoxyParamCaption} -\item[{bool}]{auto\-Close} -\end{DoxyParamCaption} -) const}\label{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} - - -Sets or unsets the auto-\/close flag. - -By default, Qua\-Z\-I\-P opens the underlying Q\-I\-O\-Device when \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} is called, and closes it when \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} is called. In some cases, when the device is set explicitly using \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, it may be desirable to leave the device open. If the auto-\/close flag is unset using this method, then the device isn't closed automatically if it was set explicitly. - -If it is needed to clear this flag, it is recommended to do so before opening the archive because otherwise Qua\-Z\-I\-P may close the device during the \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} call if an error is encountered after the device is opened. - -If the device was not set explicitly, but rather the \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc} or the appropriate constructor was used to set the Z\-I\-P file name instead, then the auto-\/close flag has no effect, and the internal device is closed nevertheless because there is no other way to close it. - -\begin{DoxySeeAlso}{See Also} -\doxyref{is\-Auto\-Close()}{p.}{classQuaZip_adc2cc762ab5744720ae4d33290b5f5bf} - -\doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6} -\end{DoxySeeAlso} -\index{Qua\-Zip@{Qua\-Zip}!set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}} -\index{set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Default\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Default\-File\-Name\-Codec ( -\begin{DoxyParamCaption} -\item[{Q\-Text\-Codec $\ast$}]{codec} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classQuaZip_a317f5db89d84a80417338a3ab89770da} - - -Sets the default file name codec to use. - -The default codec is used by the constructors, so calling this function won't affect the \doxyref{Qua\-Zip}{p.}{classQuaZip} instances already created at that moment. - -The codec specified here can be overriden by calling \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb}. If neither function is called, Q\-Text\-Codec\-::codec\-For\-Locale() will be used to decode or encode file names. Use this function with caution if the application uses other libraries that depend on Qua\-Z\-I\-P. Those libraries can either call this function by themselves, thus overriding your setting or can rely on the default encoding, thus failing mysteriously if you change it. For these reasons, it isn't recommended to use this function if you are developing a library, not an application. Instead, ask your library users to call it in case they need specific encoding. - -In most cases, using \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb} instead is the right choice. However, if you depend on third-\/party code that uses Qua\-Z\-I\-P, then the reasons stated above can actually become a reason to use this function in case the third-\/party code in question fails because it doesn't understand the encoding you need and doesn't provide a way to specify it. This applies to the \doxyref{Jl\-Compress}{p.}{classJlCompress} class as well, as it was contributed and doesn't support explicit encoding parameters. - -In short\-: use \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb} when you can, resort to \doxyref{set\-Default\-File\-Name\-Codec()}{p.}{classQuaZip_a317f5db89d84a80417338a3ab89770da} when you don't have access to the \doxyref{Qua\-Zip}{p.}{classQuaZip} instance. - - -\begin{DoxyParams}{Parameters} -{\em codec} & The codec to use by default. If N\-U\-L\-L, resets to default. \\ -\hline -\end{DoxyParams} - - -Referenced by set\-Default\-File\-Name\-Codec(). - -\index{Qua\-Zip@{Qua\-Zip}!set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}} -\index{set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} -\subsubsection[{set\-Default\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Default\-File\-Name\-Codec ( -\begin{DoxyParamCaption} -\item[{const char $\ast$}]{codec\-Name} -\end{DoxyParamCaption} -)\hspace{0.3cm}{\ttfamily [static]}}\label{classQuaZip_a694af3c0ab076fab7bf619952f6fbfea} -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling set\-Deflt\-File\-Name\-Codec(\-Q\-Text\-Codec\-::codec\-For\-Name(codec\-Name)). - -References set\-Default\-File\-Name\-Codec(). - - - -The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quazip.\-h\item -quazip/quazip.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/deprecated.tex libquazip-0.7.6/doc/latex/deprecated.tex --- libquazip-0.7.3/doc/latex/deprecated.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/deprecated.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ - -\begin{DoxyRefList} -\item[\label{deprecated__deprecated000001}% -Class \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo} ]Use \doxyref{Qua\-Zip\-File\-Info64}{p.}{structQuaZipFileInfo64} instead. Not only it supports large files, but also more convenience methods as well. -\end{DoxyRefList} \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps libquazip-0.7.6/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps --- libquazip-0.7.3/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps 2017-02-05 06:19:39.000000000 +0000 +++ libquazip-0.7.6/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps 1970-01-01 00:00:00.000000000 +0000 @@ -1,223 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: graphviz version 2.36.0 (20140111.2315) -%%Title: quazip -%%Pages: (atend) -%%BoundingBox: (atend) -%%EndComments -save -%%BeginProlog -/DotDict 200 dict def -DotDict begin - -/setupLatin1 { -mark -/EncodingVector 256 array def - EncodingVector 0 - -ISOLatin1Encoding 0 255 getinterval putinterval -EncodingVector 45 /hyphen put - -% Set up ISO Latin 1 character encoding -/starnetISO { - dup dup findfont dup length dict begin - { 1 index /FID ne { def }{ pop pop } ifelse - } forall - /Encoding EncodingVector def - currentdict end definefont -} def -/Times-Roman starnetISO def -/Times-Italic starnetISO def -/Times-Bold starnetISO def -/Times-BoldItalic starnetISO def -/Helvetica starnetISO def -/Helvetica-Oblique starnetISO def -/Helvetica-Bold starnetISO def -/Helvetica-BoldOblique starnetISO def -/Courier starnetISO def -/Courier-Oblique starnetISO def -/Courier-Bold starnetISO def -/Courier-BoldOblique starnetISO def -cleartomark -} bind def - -%%BeginResource: procset graphviz 0 0 -/coord-font-family /Times-Roman def -/default-font-family /Times-Roman def -/coordfont coord-font-family findfont 8 scalefont def - -/InvScaleFactor 1.0 def -/set_scale { - dup 1 exch div /InvScaleFactor exch def - scale -} bind def - -% styles -/solid { [] 0 setdash } bind def -/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def -/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def -/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def -/bold { 2 setlinewidth } bind def -/filled { } bind def -/unfilled { } bind def -/rounded { } bind def -/diagonals { } bind def -/tapered { } bind def - -% hooks for setting color -/nodecolor { sethsbcolor } bind def -/edgecolor { sethsbcolor } bind def -/graphcolor { sethsbcolor } bind def -/nopcolor {pop pop pop} bind def - -/beginpage { % i j npages - /npages exch def - /j exch def - /i exch def - /str 10 string def - npages 1 gt { - gsave - coordfont setfont - 0 0 moveto - (\() show i str cvs show (,) show j str cvs show (\)) show - grestore - } if -} bind def - -/set_font { - findfont exch - scalefont setfont -} def - -% draw text fitted to its expected width -/alignedtext { % width text - /text exch def - /width exch def - gsave - width 0 gt { - [] 0 setdash - text stringwidth pop width exch sub text length div 0 text ashow - } if - grestore -} def - -/boxprim { % xcorner ycorner xsize ysize - 4 2 roll - moveto - 2 copy - exch 0 rlineto - 0 exch rlineto - pop neg 0 rlineto - closepath -} bind def - -/ellipse_path { - /ry exch def - /rx exch def - /y exch def - /x exch def - matrix currentmatrix - newpath - x y translate - rx ry scale - 0 0 1 0 360 arc - setmatrix -} bind def - -/endpage { showpage } bind def -/showpage { } def - -/layercolorseq - [ % layer color sequence - darkest to lightest - [0 0 0] - [.2 .8 .8] - [.4 .8 .8] - [.6 .8 .8] - [.8 .8 .8] - ] -def - -/layerlen layercolorseq length def - -/setlayer {/maxlayer exch def /curlayer exch def - layercolorseq curlayer 1 sub layerlen mod get - aload pop sethsbcolor - /nodecolor {nopcolor} def - /edgecolor {nopcolor} def - /graphcolor {nopcolor} def -} bind def - -/onlayer { curlayer ne {invis} if } def - -/onlayers { - /myupper exch def - /mylower exch def - curlayer mylower lt - curlayer myupper gt - or - {invis} if -} def - -/curlayer 0 def - -%%EndResource -%%EndProlog -%%BeginSetup -14 default-font-family set_font -1 setmiterlimit -% /arrowlength 10 def -% /arrowwidth 5 def - -% make sure pdfmark is harmless for PS-interpreters other than Distiller -/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse -% make '<<' and '>>' safe on PS Level 1 devices -/languagelevel where {pop languagelevel}{1} ifelse -2 lt { - userdict (<<) cvn ([) cvn load put - userdict (>>) cvn ([) cvn load put -} if - -%%EndSetup -setupLatin1 -%%Page: 1 1 -%%PageBoundingBox: 36 36 98 80 -%%PageOrientation: Portrait -0 0 1 beginpage -gsave -36 36 62 44 boxprim clip newpath -1 1 set_scale 0 rotate 40 40 translate -% dir_94f3fdea1a650ed21d35813cdb37a339 -gsave -[ /Rect [ 0 0 54 36 ] - /Border [ 0 0 0 ] - /Action << /Subtype /URI /URI (dir_94f3fdea1a650ed21d35813cdb37a339.html) >> - /Subtype /Link -/ANN pdfmark -0.66667 0.066667 1 nodecolor -newpath 54 36 moveto -0 36 lineto -0 0 lineto -54 0 lineto -closepath fill -1 setlinewidth -filled -0 0 0 nodecolor -newpath 54 36 moveto -0 36 lineto -0 0 lineto -54 0 lineto -closepath stroke -0 0 0 nodecolor -10 /Helvetica set_font -12.5 15.5 moveto 29 (quazip) alignedtext -grestore -endpage -showpage -grestore -%%PageTrailer -%%EndPage: 1 -%%Trailer -%%Pages: 1 -%%BoundingBox: 36 36 98 80 -end -restore -%%EOF diff -Nru libquazip-0.7.3/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 libquazip-0.7.6/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 --- libquazip-0.7.3/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -b521f3e7499357b3270e414f244f2eff \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex libquazip-0.7.6/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex --- libquazip-0.7.3/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex 2017-02-05 06:19:40.000000000 +0000 +++ libquazip-0.7.6/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -\section{quazip Directory Reference} -\label{dir_94f3fdea1a650ed21d35813cdb37a339}\index{quazip Directory Reference@{quazip Directory Reference}} -Directory dependency graph for quazip\-: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=98pt]{dir_94f3fdea1a650ed21d35813cdb37a339_dep} -\end{center} -\end{figure} -\subsection*{Files} -\begin{DoxyCompactItemize} -\item -file {\bfseries Jl\-Compress.\-cpp} -\item -file {\bfseries Jl\-Compress.\-h} -\item -file {\bfseries qioapi.\-cpp} -\item -file {\bfseries quaadler32.\-cpp} -\item -file {\bfseries quaadler32.\-h} -\item -file {\bfseries quachecksum32.\-h} -\item -file {\bfseries quacrc32.\-cpp} -\item -file {\bfseries quacrc32.\-h} -\item -file {\bfseries quagzipfile.\-cpp} -\item -file {\bfseries quagzipfile.\-h} -\item -file {\bfseries quaziodevice.\-cpp} -\item -file {\bfseries quaziodevice.\-h} -\item -file {\bfseries quazip.\-cpp} -\item -file {\bfseries quazip.\-h} -\item -file {\bfseries quazip\-\_\-global.\-h} -\item -file {\bfseries quazipdir.\-cpp} -\item -file {\bfseries quazipdir.\-h} -\item -file {\bfseries quazipfile.\-cpp} -\item -file {\bfseries quazipfile.\-h} -\item -file {\bfseries quazipfileinfo.\-cpp} -\item -file {\bfseries quazipfileinfo.\-h} -\item -file {\bfseries quazipnewinfo.\-cpp} -\item -file {\bfseries quazipnewinfo.\-h} -\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/doxygen.sty libquazip-0.7.6/doc/latex/doxygen.sty --- libquazip-0.7.3/doc/latex/doxygen.sty 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/doxygen.sty 1970-01-01 00:00:00.000000000 +0000 @@ -1,464 +0,0 @@ -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{doxygen} - -% Packages used by this style file -\RequirePackage{alltt} -\RequirePackage{array} -\RequirePackage{calc} -\RequirePackage{float} -\RequirePackage{ifthen} -\RequirePackage{verbatim} -\RequirePackage[table]{xcolor} -\RequirePackage{xtab} - -%---------- Internal commands used in this style file ---------------- - -\newcommand{\ensurespace}[1]{% - \begingroup% - \setlength{\dimen@}{#1}% - \vskip\z@\@plus\dimen@% - \penalty -100\vskip\z@\@plus -\dimen@% - \vskip\dimen@% - \penalty 9999% - \vskip -\dimen@% - \vskip\z@skip% hide the previous |\vskip| from |\addvspace| - \endgroup% -} - -\newcommand{\DoxyLabelFont}{} -\newcommand{\entrylabel}[1]{% - {% - \parbox[b]{\labelwidth-4pt}{% - \makebox[0pt][l]{\DoxyLabelFont#1}% - \vspace{1.5\baselineskip}% - }% - }% -} - -\newenvironment{DoxyDesc}[1]{% - \ensurespace{4\baselineskip}% - \begin{list}{}{% - \settowidth{\labelwidth}{20pt}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{0pt}% - \setlength{\leftmargin}{\labelwidth+\labelsep}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -\newsavebox{\xrefbox} -\newlength{\xreflength} -\newcommand{\xreflabel}[1]{% - \sbox{\xrefbox}{#1}% - \setlength{\xreflength}{\wd\xrefbox}% - \ifthenelse{\xreflength>\labelwidth}{% - \begin{minipage}{\textwidth}% - \setlength{\parindent}{0pt}% - \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% - \end{minipage}% - }{% - \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% - }% -} - -%---------- Commands used by doxygen LaTeX output generator ---------- - -% Used by
 ... 
-\newenvironment{DoxyPre}{% - \small% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @code ... @endcode -\newenvironment{DoxyCode}{% - \par% - \scriptsize% - \begin{alltt}% -}{% - \end{alltt}% - \normalsize% -} - -% Used by @example, @include, @includelineno and @dontinclude -\newenvironment{DoxyCodeInclude}{% - \DoxyCode% -}{% - \endDoxyCode% -} - -% Used by @verbatim ... @endverbatim -\newenvironment{DoxyVerb}{% - \footnotesize% - \verbatim% -}{% - \endverbatim% - \normalsize% -} - -% Used by @verbinclude -\newenvironment{DoxyVerbInclude}{% - \DoxyVerb% -}{% - \endDoxyVerb% -} - -% Used by numbered lists (using '-#' or
    ...
) -\newenvironment{DoxyEnumerate}{% - \enumerate% -}{% - \endenumerate% -} - -% Used by bullet lists (using '-', @li, @arg, or
    ...
) -\newenvironment{DoxyItemize}{% - \itemize% -}{% - \enditemize% -} - -% Used by description lists (using
...
) -\newenvironment{DoxyDescription}{% - \description% -}{% - \enddescription% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if caption is specified) -\newenvironment{DoxyImage}{% - \begin{figure}[H]% - \begin{center}% -}{% - \end{center}% - \end{figure}% -} - -% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc -% (only if no caption is specified) -\newenvironment{DoxyImageNoCaption}{% -}{% -} - -% Used by @attention -\newenvironment{DoxyAttention}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @author and @authors -\newenvironment{DoxyAuthor}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @date -\newenvironment{DoxyDate}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @invariant -\newenvironment{DoxyInvariant}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @note -\newenvironment{DoxyNote}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @post -\newenvironment{DoxyPostcond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @pre -\newenvironment{DoxyPrecond}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @copyright -\newenvironment{DoxyCopyright}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @remark -\newenvironment{DoxyRemark}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @return and @returns -\newenvironment{DoxyReturn}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @since -\newenvironment{DoxySince}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @see -\newenvironment{DoxySeeAlso}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @version -\newenvironment{DoxyVersion}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @warning -\newenvironment{DoxyWarning}[1]{% - \begin{DoxyDesc}{#1}% -}{% - \end{DoxyDesc}% -} - -% Used by @internal -\newenvironment{DoxyInternal}[1]{% - \paragraph*{#1}% -}{% -} - -% Used by @par and @paragraph -\newenvironment{DoxyParagraph}[1]{% - \begin{list}{}{% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - }% - \item[#1]% -}{% - \end{list}% -} - -% Used by parameter lists -\newenvironment{DoxyParams}[2][]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablefirsthead{}% - \tablehead{}% - \ifthenelse{\equal{#1}{}}% - {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.805\textwidth}|}}% - {\ifthenelse{\equal{#1}{1}}% - {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% - \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.678\textwidth}|}}% - {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% - \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% - >{\centering\hspace{0pt}}p{0.15\textwidth}|% - >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.501\textwidth}|}}% - }\hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used for fields of simple structs -\newenvironment{DoxyFields}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% - p{0.15\textwidth}|% - p{0.63\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used for parameters within a detailed function description -\newenvironment{DoxyParamCaption}{% - \renewcommand{\item}[2][]{##1 {\em ##2}}% -}{% -} - -% Used by return value lists -\newenvironment{DoxyRetVals}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used by exception lists -\newenvironment{DoxyExceptions}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used by template parameter lists -\newenvironment{DoxyTemplParams}[1]{% - \par% - \tabletail{\hline}% - \tablelasttail{\hline}% - \tablehead{}% - \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% - \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% - p{0.705\textwidth}|}% - \hline% -}{% - \end{xtabular}% - \tablefirsthead{}% - \vspace{6pt}% -} - -% Used for member lists -\newenvironment{DoxyCompactItemize}{% - \begin{itemize}% - \setlength{\itemsep}{-3pt}% - \setlength{\parsep}{0pt}% - \setlength{\topsep}{0pt}% - \setlength{\partopsep}{0pt}% -}{% - \end{itemize}% -} - -% Used for member descriptions -\newenvironment{DoxyCompactList}{% - \begin{list}{}{% - \setlength{\leftmargin}{0.5cm}% - \setlength{\itemsep}{0pt}% - \setlength{\parsep}{0pt}% - \setlength{\topsep}{0pt}% - \renewcommand{\makelabel}{\hfill}% - }% -}{% - \end{list}% -} - -% Used for reference lists (@bug, @deprecated, @todo, etc.) -\newenvironment{DoxyRefList}{% - \begin{list}{}{% - \setlength{\labelwidth}{10pt}% - \setlength{\leftmargin}{\labelwidth}% - \addtolength{\leftmargin}{\labelsep}% - \renewcommand{\makelabel}{\xreflabel}% - }% -}{% - \end{list}% -} - -% Used by @bug, @deprecated, @todo, etc. -\newenvironment{DoxyRefDesc}[1]{% - \begin{list}{}{% - \renewcommand\makelabel[1]{\textbf{##1}}% - \settowidth\labelwidth{\makelabel{#1}}% - \setlength\leftmargin{\labelwidth+\labelsep}% - }% -}{% - \end{list}% -} - -% Used by parameter lists and simple sections -\newenvironment{Desc} -{\begin{list}{}{% - \settowidth{\labelwidth}{40pt}% - \setlength{\leftmargin}{\labelwidth}% - \setlength{\parsep}{0pt}% - \setlength{\itemsep}{-4pt}% - \renewcommand{\makelabel}{\entrylabel}% - } -}{% - \end{list}% -} - -% Used by tables -\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}% -\newlength{\tmplength}% -\newenvironment{TabularC}[1]% -{% -\setlength{\tmplength}% - {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}% - \par\begin{xtabular*}{\linewidth}% - {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}% -}% -{\end{xtabular*}\par}% - -% Used for member group headers -\newenvironment{Indent}{% - \begin{list}{}{% - \setlength{\leftmargin}{0.5cm}% - }% - \item[]\ignorespaces% -}{% - \unskip% - \end{list}% -} - -% Used when hyperlinks are turned off -\newcommand{\doxyref}[3]{% - \textbf{#1} (\textnormal{#2}\,\pageref{#3})% -} - -% Used for syntax highlighting -\definecolor{comment}{rgb}{0.5,0.0,0.0} -\definecolor{keyword}{rgb}{0.0,0.5,0.0} -\definecolor{keywordtype}{rgb}{0.38,0.25,0.125} -\definecolor{keywordflow}{rgb}{0.88,0.5,0.0} -\definecolor{preprocessor}{rgb}{0.5,0.38,0.125} -\definecolor{stringliteral}{rgb}{0.0,0.125,0.25} -\definecolor{charliteral}{rgb}{0.0,0.5,0.5} -\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} -\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} -\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} -\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} diff -Nru libquazip-0.7.3/doc/latex/faq.tex libquazip-0.7.6/doc/latex/faq.tex --- libquazip-0.7.3/doc/latex/faq.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/faq.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -\label{faq_faq-non-QIODevice}% -Q. Is there any way to use \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} in Qt where you are supposed to use normal (non-\/zipped) file, but not through Q\-I\-O\-Device A\-P\-I? - -A. Usually not. For example, if you are passing file name to some database driver (like S\-Q\-Lite), Qt usually just passes this name down to the 3rd-\/party library, which is usually does not know anything about Q\-I\-O\-Device and therefore there is no way to pass \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} as normal file. However, if we are talking about some place where you pass file name, and then indirectly use Q\-File to open it, then it is a good idea to make overloaded method, which accepts a Q\-I\-O\-Device pointer. Then you would be able to pass \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} as well as many other nice things such as Q\-Buffer or Q\-Process. - -\label{faq_faq-zip64}% -Q. Can Qua\-Z\-I\-P handle files larger than 4\-G\-B? What about zip64 standard? - -A. Starting with version 0.\-6, Qua\-Z\-I\-P uses Minizip 1.\-1 with zip64 support which should handle large files perfectly. The zip64 support in Minizip looks like it's not 100\% conforming to the standard, but 3rd party tools seem to have no problem with the resulting archives. - -\label{faq_faq-seekable}% -Q. Can Qua\-Z\-I\-P write archives to a sequential Q\-I\-O\-Device like Q\-Tcp\-Socket? - -A. Not yet. It is not supported by vanilla Minizip (the back-\/end Qua\-Z\-I\-P uses), although theoretically possible according to the Z\-I\-P standard. It would require some Minizip modifications that would allow it to detect non-\/seekable I/\-O and produce necessary output structures. Qua\-Z\-I\-P already writes data descriptor which is necessary for non-\/seekable I/\-O. The only thing that is apparently left is to make Minizip fill local headers with correct values and forget about seeking after closing the file. \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/hierarchy.tex libquazip-0.7.6/doc/latex/hierarchy.tex --- libquazip-0.7.3/doc/latex/hierarchy.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/hierarchy.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -\section{Class Hierarchy} -This inheritance list is sorted roughly, but not completely, alphabetically\-:\begin{DoxyCompactList} -\item \contentsline{section}{Jl\-Compress}{\pageref{classJlCompress}}{} -\item Q\-I\-O\-Device\begin{DoxyCompactList} -\item \contentsline{section}{Qua\-Gzip\-File}{\pageref{classQuaGzipFile}}{} -\item \contentsline{section}{Qua\-Z\-I\-O\-Device}{\pageref{classQuaZIODevice}}{} -\item \contentsline{section}{Qua\-Zip\-File}{\pageref{classQuaZipFile}}{} -\end{DoxyCompactList} -\item \contentsline{section}{Qua\-Checksum32}{\pageref{classQuaChecksum32}}{} -\begin{DoxyCompactList} -\item \contentsline{section}{Qua\-Adler32}{\pageref{classQuaAdler32}}{} -\item \contentsline{section}{Qua\-Crc32}{\pageref{classQuaCrc32}}{} -\end{DoxyCompactList} -\item \contentsline{section}{Qua\-Zip}{\pageref{classQuaZip}}{} -\item \contentsline{section}{Qua\-Zip\-Dir}{\pageref{classQuaZipDir}}{} -\item \contentsline{section}{Qua\-Zip\-File\-Info}{\pageref{structQuaZipFileInfo}}{} -\item \contentsline{section}{Qua\-Zip\-File\-Info64}{\pageref{structQuaZipFileInfo64}}{} -\item \contentsline{section}{Qua\-Zip\-File\-Private}{\pageref{classQuaZipFilePrivate}}{} -\item \contentsline{section}{Qua\-Zip\-New\-Info}{\pageref{structQuaZipNewInfo}}{} -\item \contentsline{section}{Qua\-Zip\-Private}{\pageref{classQuaZipPrivate}}{} -\end{DoxyCompactList} diff -Nru libquazip-0.7.3/doc/latex/index.tex libquazip-0.7.6/doc/latex/index.tex --- libquazip-0.7.3/doc/latex/index.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/index.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,85 +0,0 @@ - \section{Overview}\label{index_overview} -Qua\-Z\-I\-P is a simple C++ wrapper over {\tt Gilles Vollant's Z\-I\-P/\-U\-N\-Z\-I\-P package} that can be used to access Z\-I\-P archives. It uses {\tt the Qt toolkit}. - -If you do not know what Qt is, you have two options\-: -\begin{DoxyItemize} -\item Just forget about Qua\-Z\-I\-P. -\item Learn more about Qt by downloading it and/or reading the excellent {\tt official Qt documentation} -\end{DoxyItemize} - -The choice is yours, but if you are really interested in cross-\/platform (Windows/\-Linux/\-B\-S\-D/\-U\-N\-I\-X/\-Mac/\-Others) software development, I would definitely recommend you the latter $^\wedge$\-\_\-$^\wedge$ - -Qua\-Z\-I\-P allows you to access files inside Z\-I\-P archives using Q\-I\-O\-Device A\-P\-I, and -\/ yes! -\/ that means that you can also use Q\-Text\-Stream, Q\-Data\-Stream or whatever you would like to use on your zipped files. - -Qua\-Z\-I\-P provides complete abstraction of the Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I, for both reading from and writing to Z\-I\-P archives.\section{Download Qua\-Z\-I\-P}\label{index_download} -Downloads are available from {\tt Qua\-Z\-I\-P project's page at Source\-Forge.\-net}.\section{Platforms supported}\label{index_platforms} -Qua\-Z\-I\-P has been currently tested on the following platforms\-: -\begin{DoxyItemize} -\item linux-\/g++ (Ubuntu 11.\-10, Qt 4.\-7.\-4) -\item freebsd-\/g++ (Qt 4.\-0.\-0 -\item hpux-\/acc (H\-P-\/\-U\-X 11.\-11) -\item hpux-\/g++ (H\-P-\/\-U\-X 11.\-11) -\item win32-\/g++ (Min\-G\-W) -\item win32-\/msvc2010 (M\-S V\-S 2010 Express, Qt 4.\-8.\-4) -\item win32-\/msvc2010 (Qt Creator, Qt 5.\-0.\-1) -\item win32-\/msvc2012 (Qt Creator, Qt 5.\-2.\-0) -\item some Symbian version, reportedly -\end{DoxyItemize} - -No testing has been officially done on other systems. Of course, patches to make it work on any platform that it currently does not work on are always welcome!\section{What is new in this version of Qua\-Z\-I\-P?}\label{index_whats-new} -See the N\-E\-W\-S.\-txt file supplied with the distribution.\section{Requirements}\label{index_Requirements} -Just {\tt zlib} and Qt 4/5. Well, Qt 4 depends on zlib anyway, but you will need zlib headers to compile Qua\-Z\-I\-P. With Qt5 sometimes you need the zlib library as well (on Windows, for example).\section{Building, testing and installing}\label{index_building} -\begin{DoxyNote}{Note} -Instructions given in this section assume that you are using some U\-N\-I\-X dialect, but the build process should be very similar on win32-\/g++ platform too. On other platforms it's essentially the same process, maybe with some qmake adjustments not specific to Qua\-Z\-I\-P itself. -\end{DoxyNote} -To build the library, run\-: \begin{DoxyVerb}$ cd /wherever/quazip/source/is/quazip-x.y.z/quazip -$ qmake [PREFIX=where-to-install] -$ make -\end{DoxyVerb} - - -Make sure that you have Qt 4/5 installed with all required headers and utilities (that is, including the 'dev' or 'devel' package on Linux) and that you run qmake utility of the Qt 4, not some other version you may have already installed (you may need to type full path to qmake like /usr/local/qt4/bin/qmake). - -To reconfigure (with another P\-R\-E\-F\-I\-X, for example), just run qmake with appropriate arguments again. - -If you need to specify additional include path or libraries, use qmake features (see qmake reference in the Qt documentation). For example\-: - -\begin{DoxyVerb}$ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include -\end{DoxyVerb} - (note abscence of \char`\"{}-\/\-I\char`\"{} before the include path and the presence of \char`\"{}-\/\-L\char`\"{} before the lib path) - -Also note that you may or may not need to define Z\-L\-I\-B\-\_\-\-W\-I\-N\-A\-P\-I (qmake D\-E\-F\-I\-N\-E\-S+=Z\-L\-I\-B\-\_\-\-W\-I\-N\-A\-P\-I) when linking to zlib on Windows, depending on how zlib was built (generally, if using zlibwapi.\-dll, this define is needed). - -To install compiled library\-: \begin{DoxyVerb}$ make install -\end{DoxyVerb} - - -By default, Qua\-Z\-I\-P compiles as a D\-L\-L/\-S\-O, but you have other options\-: -\begin{DoxyItemize} -\item Just copy appropriate source files to your project and use them, but you need to define Q\-U\-A\-Z\-I\-P\-\_\-\-S\-T\-A\-T\-I\-C before including any Qua\-Z\-I\-P headers (best done as a compiler option). This will save you from possible side effects of importing/exporting Qua\-Z\-I\-P symbols. -\item Compile it as a static library using C\-O\-N\-F\-I\-G += staticlib qmake option. Q\-U\-A\-Z\-I\-P\-\_\-\-S\-T\-A\-T\-I\-C is defined automatically by qmake in this case. -\end{DoxyItemize} - -Binary compatibility is guaranteed between minor releases starting with version 0.\-5, thanks to the Pimpl idiom. That is, the next binary incompatible version will be 1.\-x.\section{Testing}\label{index_test} -To check if Qua\-Z\-I\-P's basic features work O\-K on your platform, you may wish to compile the test suite provided in test directory\-: \begin{DoxyVerb}$ cd /wherever/quazip/source/is/quazip-x.y.z/qztest -$ qmake -$ make -$ ./qztest -\end{DoxyVerb} - - -Note that the test suite looks for the quazip library in the \char`\"{}quazip\char`\"{} folder of the project (\char`\"{}../quazip\char`\"{}), but you may wish to use L\-I\-B\-S for some systems (Windows often puts the library in the separate \char`\"{}debug\char`\"{} or \char`\"{}release\char`\"{} directory). If you wish to use the quazip version that's already installed, provide the appropriate path. - -On some systems you may need to set P\-A\-T\-H, L\-D\-\_\-\-L\-I\-B\-R\-A\-R\-Y\-\_\-\-P\-A\-T\-H or S\-H\-L\-I\-B\-\_\-\-P\-A\-T\-H to get \char`\"{}qztest\char`\"{} to actually run. - -If everything went fine, the test suite should report a lot of P\-A\-S\-S messages. If something goes wrong, it will provide details and a warning that some tests failed.\section{Using}\label{index_using} -See \doxyref{usage page}{p.}{usage}.\section{Authors and contacts}\label{index_contacts} -This wrapper has been written by Sergey A. Tachenov, A\-K\-A Alqualos. This is my first open source project, so it may suck, but I did not find anything like that, so I just had no other choice but to write it. - -If you have anything to say to me about Qua\-Z\-I\-P library, feel free to do so (read the \doxyref{Qua\-Zip F\-A\-Q}{p.}{faq} first, though). I can not promise, though, that I fix all the bugs you report in, add any features you want, or respond to your critics, or respond to your feedback at all. I may be busy, I may be tired of working on Qua\-Z\-I\-P, I may be even dead already (you never know...). - -To report bugs or to post ideas about what should be done, use Source\-Forge.\-net's {\tt trackers}. If you want to send me a private message, use my e-\/mail address {\tt stachenov@gmail.\-com}. - -Do not use e-\/mail to report bugs, please. Reporting bugs and problems with the Source\-Forge.\-net's bug report system has that advantage that it is visible to public, and I can always search for open tickets that were created long ago. It is highly unlikely that I will search my mail for that kind of stuff, so if a bug reported by mail isn't fixed immediately, it will likely be forgotten forever. - -Copyright (C) 2005-\/2014 Sergey A. Tachenov and contributors \ No newline at end of file diff -Nru libquazip-0.7.3/doc/latex/Makefile libquazip-0.7.6/doc/latex/Makefile --- libquazip-0.7.3/doc/latex/Makefile 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -all: refman.dvi - -ps: refman.ps - -pdf: refman.pdf - -ps_2on1: refman_2on1.ps - -pdf_2on1: refman_2on1.pdf - -refman.ps: refman.dvi - dvips -o refman.ps refman.dvi - -refman.pdf: refman.ps - ps2pdf refman.ps refman.pdf - -refman.dvi: clean refman.tex doxygen.sty - echo "Running latex..." - latex refman.tex - echo "Running makeindex..." - makeindex refman.idx - echo "Rerunning latex...." - latex refman.tex - latex_count=8 ; \ - while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\ - do \ - echo "Rerunning latex...." ;\ - latex refman.tex ;\ - latex_count=`expr $$latex_count - 1` ;\ - done - makeindex refman.idx - latex refman.tex - -refman_2on1.ps: refman.ps - psnup -2 refman.ps >refman_2on1.ps - -refman_2on1.pdf: refman_2on1.ps - ps2pdf refman_2on1.ps refman_2on1.pdf - -clean: - rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf diff -Nru libquazip-0.7.3/doc/latex/refman.tex libquazip-0.7.6/doc/latex/refman.tex --- libquazip-0.7.3/doc/latex/refman.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/refman.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,155 +0,0 @@ -\documentclass[twoside]{book} - -% Packages required by doxygen -\usepackage{calc} -\usepackage{doxygen} -\usepackage{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{makeidx} -\usepackage{multicol} -\usepackage{multirow} -\usepackage{textcomp} -\usepackage[table]{xcolor} - -% Font selection -\usepackage[T1]{fontenc} -\usepackage{mathptmx} -\usepackage[scaled=.90]{helvet} -\usepackage{courier} -\usepackage{amssymb} -\usepackage{sectsty} -\renewcommand{\familydefault}{\sfdefault} -\allsectionsfont{% - \fontseries{bc}\selectfont% - \color{darkgray}% -} -\renewcommand{\DoxyLabelFont}{% - \fontseries{bc}\selectfont% - \color{darkgray}% -} - -% Page & text layout -\usepackage{geometry} -\geometry{% - a4paper,% - top=2.5cm,% - bottom=2.5cm,% - left=2.5cm,% - right=2.5cm% -} -\tolerance=750 -\hfuzz=15pt -\hbadness=750 -\setlength{\emergencystretch}{15pt} -\setlength{\parindent}{0cm} -\setlength{\parskip}{0.2cm} -\makeatletter -\renewcommand{\paragraph}{% - \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% - \normalfont\normalsize\bfseries\SS@parafont% - }% -} -\renewcommand{\subparagraph}{% - \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% - \normalfont\normalsize\bfseries\SS@subparafont% - }% -} -\makeatother - -% Headers & footers -\usepackage{fancyhdr} -\pagestyle{fancyplain} -\fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} -\fancyhead[CE]{\fancyplain{}{}} -\fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} -\fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} -\fancyhead[CO]{\fancyplain{}{}} -\fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} -\fancyfoot[LE]{\fancyplain{}{}} -\fancyfoot[CE]{\fancyplain{}{}} -\fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Feb 4 2017 22\-:19\-:38 for Qua\-Z\-I\-P by Doxygen }} -\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Sat Feb 4 2017 22\-:19\-:38 for Qua\-Z\-I\-P by Doxygen }} -\fancyfoot[CO]{\fancyplain{}{}} -\fancyfoot[RO]{\fancyplain{}{}} -\renewcommand{\footrulewidth}{0.4pt} -\renewcommand{\chaptermark}[1]{% - \markboth{#1}{}% -} -\renewcommand{\sectionmark}[1]{% - \markright{\thesection\ #1}% -} - -% Indices & bibliography -\usepackage{natbib} -\usepackage[titles]{tocloft} -\setcounter{tocdepth}{3} -\setcounter{secnumdepth}{5} -\makeindex - -% Custom commands -\newcommand{\clearemptydoublepage}{% - \newpage{\pagestyle{empty}\cleardoublepage}% -} - - -%===== C O N T E N T S ===== - -\begin{document} - -% Titlepage & ToC -\pagenumbering{roman} -\begin{titlepage} -\vspace*{7cm} -\begin{center}% -{\Large Qua\-Z\-I\-P \\[1ex]\large quazip-\/0-\/7-\/3 }\\ -\vspace*{1cm} -{\large Generated by Doxygen 1.8.6}\\ -\vspace*{0.5cm} -{\small Sat Feb 4 2017 22:19:38}\\ -\end{center} -\end{titlepage} -\clearemptydoublepage -\tableofcontents -\clearemptydoublepage -\pagenumbering{arabic} - -%--- Begin generated contents --- -\chapter{Qua\-Z\-I\-P -\/ Qt/\-C++ wrapper for Z\-I\-P/\-U\-N\-Z\-I\-P package} -\label{index}\input{index} -\chapter{Qua\-Zip F\-A\-Q} -\label{faq} -\input{faq} -\chapter{Usage} -\label{usage} -\input{usage} -\chapter{Deprecated List} -\label{deprecated} -\input{deprecated} -\chapter{Hierarchical Index} -\input{hierarchy} -\chapter{Class Index} -\input{annotated} -\chapter{Class Documentation} -\input{classJlCompress} -\input{classQuaAdler32} -\input{classQuaChecksum32} -\input{classQuaCrc32} -\input{classQuaGzipFile} -\input{classQuaZIODevice} -\input{classQuaZip} -\input{classQuaZipDir} -\input{classQuaZipFile} -\input{structQuaZipFileInfo} -\input{structQuaZipFileInfo64} -\input{classQuaZipFilePrivate} -\input{structQuaZipNewInfo} -\input{classQuaZipPrivate} -%--- End generated contents --- - -% Index -\newpage -\phantomsection -\addcontentsline{toc}{chapter}{Index} -\printindex - -\end{document} diff -Nru libquazip-0.7.3/doc/latex/structQuaZipFileInfo64.tex libquazip-0.7.6/doc/latex/structQuaZipFileInfo64.tex --- libquazip-0.7.3/doc/latex/structQuaZipFileInfo64.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/structQuaZipFileInfo64.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,212 +0,0 @@ -\section{Qua\-Zip\-File\-Info64 Struct Reference} -\label{structQuaZipFileInfo64}\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}} - - -Information about a file inside archive (with zip64 support). - - - - -{\ttfamily \#include $<$quazipfileinfo.\-h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -Q\-File\-::\-Permissions {\bf get\-Permissions} () const -\begin{DoxyCompactList}\small\item\em Get the file permissions. \end{DoxyCompactList}\item -bool {\bf to\-Qua\-Zip\-File\-Info} ({\bf Qua\-Zip\-File\-Info} \&info) const -\begin{DoxyCompactList}\small\item\em Converts to \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo}. \end{DoxyCompactList}\item -Q\-Date\-Time {\bf get\-N\-T\-F\-Sm\-Time} (int $\ast$fine\-Ticks=N\-U\-L\-L) const -\begin{DoxyCompactList}\small\item\em Returns the N\-T\-F\-S modification time. \end{DoxyCompactList}\item -Q\-Date\-Time {\bf get\-N\-T\-F\-Sa\-Time} (int $\ast$fine\-Ticks=N\-U\-L\-L) const -\begin{DoxyCompactList}\small\item\em Returns the N\-T\-F\-S access time. \end{DoxyCompactList}\item -Q\-Date\-Time {\bf get\-N\-T\-F\-Sc\-Time} (int $\ast$fine\-Ticks=N\-U\-L\-L) const -\begin{DoxyCompactList}\small\item\em Returns the N\-T\-F\-S creation time. \end{DoxyCompactList}\item -bool {\bf is\-Encrypted} () const \label{structQuaZipFileInfo64_a8c93235e4a13ee5461023a5f3fe03e26} - -\begin{DoxyCompactList}\small\item\em Checks whether the file is encrypted. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -Q\-String {\bf name}\label{structQuaZipFileInfo64_a2cadad4cb9a765e90b5422dae2388762} - -\begin{DoxyCompactList}\small\item\em File name. \end{DoxyCompactList}\item -quint16 {\bf version\-Created}\label{structQuaZipFileInfo64_a95aeb06b080e483fde874ba2d06f203c} - -\begin{DoxyCompactList}\small\item\em Version created by. \end{DoxyCompactList}\item -quint16 {\bf version\-Needed}\label{structQuaZipFileInfo64_a27654f5ce3a75331e9c9a7900b407169} - -\begin{DoxyCompactList}\small\item\em Version needed to extract. \end{DoxyCompactList}\item -quint16 {\bf flags}\label{structQuaZipFileInfo64_a6aa533dd4e02f52459e1e1a0df31e992} - -\begin{DoxyCompactList}\small\item\em General purpose flags. \end{DoxyCompactList}\item -quint16 {\bf method}\label{structQuaZipFileInfo64_a445967ecbb5a3dd2a9d516db3e14a34a} - -\begin{DoxyCompactList}\small\item\em Compression method. \end{DoxyCompactList}\item -Q\-Date\-Time {\bf date\-Time} -\begin{DoxyCompactList}\small\item\em Last modification date and time. \end{DoxyCompactList}\item -quint32 {\bf crc}\label{structQuaZipFileInfo64_aeb7b2757a0efa814b196b5280d000a14} - -\begin{DoxyCompactList}\small\item\em C\-R\-C. \end{DoxyCompactList}\item -quint64 {\bf compressed\-Size}\label{structQuaZipFileInfo64_add8733946ea4af23aa32d85f10955b0f} - -\begin{DoxyCompactList}\small\item\em Compressed file size. \end{DoxyCompactList}\item -quint64 {\bf uncompressed\-Size}\label{structQuaZipFileInfo64_a571ca077fe282c908e57b0bc82528d49} - -\begin{DoxyCompactList}\small\item\em Uncompressed file size. \end{DoxyCompactList}\item -quint16 {\bf disk\-Number\-Start}\label{structQuaZipFileInfo64_ac8945cf1ff54d39d28e755685b91e941} - -\begin{DoxyCompactList}\small\item\em Disk number start. \end{DoxyCompactList}\item -quint16 {\bf internal\-Attr}\label{structQuaZipFileInfo64_aeb895613e76a4cc63f861b010c9e92c0} - -\begin{DoxyCompactList}\small\item\em Internal file attributes. \end{DoxyCompactList}\item -quint32 {\bf external\-Attr}\label{structQuaZipFileInfo64_a3a8bc40f1aa0cb0985c4e2f8a9678430} - -\begin{DoxyCompactList}\small\item\em External file attributes. \end{DoxyCompactList}\item -Q\-String {\bf comment}\label{structQuaZipFileInfo64_aba3f5b982087c3e0343bb61e8814c7d1} - -\begin{DoxyCompactList}\small\item\em Comment. \end{DoxyCompactList}\item -Q\-Byte\-Array {\bf extra}\label{structQuaZipFileInfo64_acf0b1b97f377208847c6912cd1bf1332} - -\begin{DoxyCompactList}\small\item\em Extra field. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Information about a file inside archive (with zip64 support). - -Call \doxyref{Qua\-Zip\-::get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} or \doxyref{Qua\-Zip\-File\-::get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} to fill this structure. - -\subsection{Member Function Documentation} -\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-Permissions@{get\-Permissions}} -\index{get\-Permissions@{get\-Permissions}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} -\subsubsection[{get\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}Q\-File\-::\-Permissions Qua\-Zip\-File\-Info64\-::get\-Permissions ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{structQuaZipFileInfo64_a099216bd8991a983168d91c06a689f61} - - -Get the file permissions. - -Returns the high 16 bits of external attributes converted to Q\-File\-::\-Permissions. \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!to\-Qua\-Zip\-File\-Info@{to\-Qua\-Zip\-File\-Info}} -\index{to\-Qua\-Zip\-File\-Info@{to\-Qua\-Zip\-File\-Info}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} -\subsubsection[{to\-Qua\-Zip\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info ( -\begin{DoxyParamCaption} -\item[{{\bf Qua\-Zip\-File\-Info} \&}]{info} -\end{DoxyParamCaption} -) const}\label{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade} - - -Converts to \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo}. - -If any of the fields are greater than 0x\-F\-F\-F\-F\-F\-F\-F\-Fu, they are set to 0x\-F\-F\-F\-F\-F\-F\-F\-Fu exactly, not just truncated. This function should be mainly used for compatibility with the old code expecting \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo}, in the cases when it's impossible or otherwise unadvisable (due to A\-B\-I compatibility reasons, for example) to modify that old code to use \doxyref{Qua\-Zip\-File\-Info64}{p.}{structQuaZipFileInfo64}. - -\begin{DoxyReturn}{Returns} -{\ttfamily true} if all fields converted correctly, {\ttfamily false} if an overflow occured. -\end{DoxyReturn} - - -References Qua\-Zip\-File\-Info\-::comment, comment, Qua\-Zip\-File\-Info\-::compressed\-Size, compressed\-Size, Qua\-Zip\-File\-Info\-::crc, crc, Qua\-Zip\-File\-Info\-::date\-Time, date\-Time, Qua\-Zip\-File\-Info\-::disk\-Number\-Start, disk\-Number\-Start, Qua\-Zip\-File\-Info\-::external\-Attr, external\-Attr, Qua\-Zip\-File\-Info\-::extra, extra, Qua\-Zip\-File\-Info\-::flags, flags, Qua\-Zip\-File\-Info\-::internal\-Attr, internal\-Attr, Qua\-Zip\-File\-Info\-::method, method, Qua\-Zip\-File\-Info\-::name, name, Qua\-Zip\-File\-Info\-::uncompressed\-Size, uncompressed\-Size, Qua\-Zip\-File\-Info\-::version\-Created, version\-Created, Qua\-Zip\-File\-Info\-::version\-Needed, and version\-Needed. - - - -Referenced by Qua\-Zip\-::get\-Current\-File\-Info(), and Qua\-Zip\-File\-::get\-File\-Info(). - -\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-N\-T\-F\-Sm\-Time@{get\-N\-T\-F\-Sm\-Time}} -\index{get\-N\-T\-F\-Sm\-Time@{get\-N\-T\-F\-Sm\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} -\subsubsection[{get\-N\-T\-F\-Sm\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::get\-N\-T\-F\-Sm\-Time ( -\begin{DoxyParamCaption} -\item[{int $\ast$}]{fine\-Ticks = {\ttfamily NULL}} -\end{DoxyParamCaption} -) const}\label{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} - - -Returns the N\-T\-F\-S modification time. - -The get\-N\-T\-F\-S$\ast$\-Time() functions only work if there is an N\-T\-F\-S extra field present. Otherwise, they all return invalid null timestamps. -\begin{DoxyParams}{Parameters} -{\em fine\-Ticks} & If not N\-U\-L\-L, the fractional part of milliseconds returned there, measured in 100-\/nanosecond ticks. Will be set to zero if there is no N\-T\-F\-S extra field. \\ -\hline -\end{DoxyParams} -\begin{DoxySeeAlso}{See Also} -\doxyref{date\-Time}{p.}{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} - -\doxyref{get\-N\-T\-F\-Sa\-Time()}{p.}{structQuaZipFileInfo64_afe4c454de7d067a0095da0223f0cbec2} - -\doxyref{get\-N\-T\-F\-Sc\-Time()}{p.}{structQuaZipFileInfo64_a409dcbbe1ecd88dadb51be1aec48819d} -\end{DoxySeeAlso} -\begin{DoxyReturn}{Returns} -The N\-T\-F\-S modification time, U\-T\-C -\end{DoxyReturn} -\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-N\-T\-F\-Sa\-Time@{get\-N\-T\-F\-Sa\-Time}} -\index{get\-N\-T\-F\-Sa\-Time@{get\-N\-T\-F\-Sa\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} -\subsubsection[{get\-N\-T\-F\-Sa\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::get\-N\-T\-F\-Sa\-Time ( -\begin{DoxyParamCaption} -\item[{int $\ast$}]{fine\-Ticks = {\ttfamily NULL}} -\end{DoxyParamCaption} -) const}\label{structQuaZipFileInfo64_afe4c454de7d067a0095da0223f0cbec2} - - -Returns the N\-T\-F\-S access time. - -The get\-N\-T\-F\-S$\ast$\-Time() functions only work if there is an N\-T\-F\-S extra field present. Otherwise, they all return invalid null timestamps. -\begin{DoxyParams}{Parameters} -{\em fine\-Ticks} & If not N\-U\-L\-L, the fractional part of milliseconds returned there, measured in 100-\/nanosecond ticks. Will be set to zero if there is no N\-T\-F\-S extra field. \\ -\hline -\end{DoxyParams} -\begin{DoxySeeAlso}{See Also} -\doxyref{date\-Time}{p.}{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} - -\doxyref{get\-N\-T\-F\-Sm\-Time()}{p.}{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} - -\doxyref{get\-N\-T\-F\-Sc\-Time()}{p.}{structQuaZipFileInfo64_a409dcbbe1ecd88dadb51be1aec48819d} -\end{DoxySeeAlso} -\begin{DoxyReturn}{Returns} -The N\-T\-F\-S access time, U\-T\-C -\end{DoxyReturn} -\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-N\-T\-F\-Sc\-Time@{get\-N\-T\-F\-Sc\-Time}} -\index{get\-N\-T\-F\-Sc\-Time@{get\-N\-T\-F\-Sc\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} -\subsubsection[{get\-N\-T\-F\-Sc\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::get\-N\-T\-F\-Sc\-Time ( -\begin{DoxyParamCaption} -\item[{int $\ast$}]{fine\-Ticks = {\ttfamily NULL}} -\end{DoxyParamCaption} -) const}\label{structQuaZipFileInfo64_a409dcbbe1ecd88dadb51be1aec48819d} - - -Returns the N\-T\-F\-S creation time. - -The get\-N\-T\-F\-S$\ast$\-Time() functions only work if there is an N\-T\-F\-S extra field present. Otherwise, they all return invalid null timestamps. -\begin{DoxyParams}{Parameters} -{\em fine\-Ticks} & If not N\-U\-L\-L, the fractional part of milliseconds returned there, measured in 100-\/nanosecond ticks. Will be set to zero if there is no N\-T\-F\-S extra field. \\ -\hline -\end{DoxyParams} -\begin{DoxySeeAlso}{See Also} -\doxyref{date\-Time}{p.}{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} - -\doxyref{get\-N\-T\-F\-Sm\-Time()}{p.}{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} - -\doxyref{get\-N\-T\-F\-Sa\-Time()}{p.}{structQuaZipFileInfo64_afe4c454de7d067a0095da0223f0cbec2} -\end{DoxySeeAlso} -\begin{DoxyReturn}{Returns} -The N\-T\-F\-S creation time, U\-T\-C -\end{DoxyReturn} - - -\subsection{Member Data Documentation} -\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!date\-Time@{date\-Time}} -\index{date\-Time@{date\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} -\subsubsection[{date\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::date\-Time}\label{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} - - -Last modification date and time. - -This is the time stored in the standard Z\-I\-P header. This format only allows to store time with 2-\/second precision, so the seconds will always be even and the milliseconds will always be zero. If you need more precise date and time, you can try to call the \doxyref{get\-N\-T\-F\-Sm\-Time()}{p.}{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} function or its siblings, provided that the archive itself contains these N\-T\-F\-S times. - -Referenced by Qua\-Zip\-::get\-Current\-File\-Info(), and to\-Qua\-Zip\-File\-Info(). - - - -The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quazipfileinfo.\-h\item -quazip/quazipfileinfo.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/structQuaZipFileInfo.tex libquazip-0.7.6/doc/latex/structQuaZipFileInfo.tex --- libquazip-0.7.3/doc/latex/structQuaZipFileInfo.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/structQuaZipFileInfo.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,90 +0,0 @@ -\section{Qua\-Zip\-File\-Info Struct Reference} -\label{structQuaZipFileInfo}\index{Qua\-Zip\-File\-Info@{Qua\-Zip\-File\-Info}} - - -Information about a file inside archive. - - - - -{\ttfamily \#include $<$quazipfileinfo.\-h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -Q\-File\-::\-Permissions {\bf get\-Permissions} () const -\begin{DoxyCompactList}\small\item\em Get the file permissions. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -Q\-String {\bf name}\label{structQuaZipFileInfo_a16ac323965deccf0232bfae69d933a84} - -\begin{DoxyCompactList}\small\item\em File name. \end{DoxyCompactList}\item -quint16 {\bf version\-Created}\label{structQuaZipFileInfo_a52f3f1d960ebaa2acbc2a86458fa3e6e} - -\begin{DoxyCompactList}\small\item\em Version created by. \end{DoxyCompactList}\item -quint16 {\bf version\-Needed}\label{structQuaZipFileInfo_a8b73982808bded49e88e624a65e1a94f} - -\begin{DoxyCompactList}\small\item\em Version needed to extract. \end{DoxyCompactList}\item -quint16 {\bf flags}\label{structQuaZipFileInfo_a56d36f777e4fc892c71e22d080622e2c} - -\begin{DoxyCompactList}\small\item\em General purpose flags. \end{DoxyCompactList}\item -quint16 {\bf method}\label{structQuaZipFileInfo_af5c1bbda7f5dec2c358e7a543564de4c} - -\begin{DoxyCompactList}\small\item\em Compression method. \end{DoxyCompactList}\item -Q\-Date\-Time {\bf date\-Time}\label{structQuaZipFileInfo_ad6993d099436813a27fd31aebe42911a} - -\begin{DoxyCompactList}\small\item\em Last modification date and time. \end{DoxyCompactList}\item -quint32 {\bf crc}\label{structQuaZipFileInfo_aceee045c9ebce0b9724f40d342bc99ea} - -\begin{DoxyCompactList}\small\item\em C\-R\-C. \end{DoxyCompactList}\item -quint32 {\bf compressed\-Size}\label{structQuaZipFileInfo_af6116eaac1f36b2a4b3a6a39851a85cc} - -\begin{DoxyCompactList}\small\item\em Compressed file size. \end{DoxyCompactList}\item -quint32 {\bf uncompressed\-Size}\label{structQuaZipFileInfo_a0eb908e1b1ea637d1f1f4d6aa31db07f} - -\begin{DoxyCompactList}\small\item\em Uncompressed file size. \end{DoxyCompactList}\item -quint16 {\bf disk\-Number\-Start}\label{structQuaZipFileInfo_aa70157fdc2bd8de10405055b4233050b} - -\begin{DoxyCompactList}\small\item\em Disk number start. \end{DoxyCompactList}\item -quint16 {\bf internal\-Attr}\label{structQuaZipFileInfo_a36e681a93b041617addee78cb939c93d} - -\begin{DoxyCompactList}\small\item\em Internal file attributes. \end{DoxyCompactList}\item -quint32 {\bf external\-Attr}\label{structQuaZipFileInfo_afeb65ffdacc4fc0ba7848d4b37f62ecf} - -\begin{DoxyCompactList}\small\item\em External file attributes. \end{DoxyCompactList}\item -Q\-String {\bf comment}\label{structQuaZipFileInfo_adc2aad7bbd87ce3415e2a19851266bfc} - -\begin{DoxyCompactList}\small\item\em Comment. \end{DoxyCompactList}\item -Q\-Byte\-Array {\bf extra}\label{structQuaZipFileInfo_affc7b097de2c3c2ef5801c60f96adc72} - -\begin{DoxyCompactList}\small\item\em Extra field. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Information about a file inside archive. - -\begin{DoxyRefDesc}{Deprecated} -\item[{\bf Deprecated}]Use \doxyref{Qua\-Zip\-File\-Info64}{p.}{structQuaZipFileInfo64} instead. Not only it supports large files, but also more convenience methods as well.\end{DoxyRefDesc} - - -Call \doxyref{Qua\-Zip\-::get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} or \doxyref{Qua\-Zip\-File\-::get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} to fill this structure. - -\subsection{Member Function Documentation} -\index{Qua\-Zip\-File\-Info@{Qua\-Zip\-File\-Info}!get\-Permissions@{get\-Permissions}} -\index{get\-Permissions@{get\-Permissions}!QuaZipFileInfo@{Qua\-Zip\-File\-Info}} -\subsubsection[{get\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}Q\-File\-::\-Permissions Qua\-Zip\-File\-Info\-::get\-Permissions ( -\begin{DoxyParamCaption} -{} -\end{DoxyParamCaption} -) const}\label{structQuaZipFileInfo_af87f96a64d7c02b002622f81d13accdb} - - -Get the file permissions. - -Returns the high 16 bits of external attributes converted to Q\-File\-::\-Permissions. - -The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quazipfileinfo.\-h\item -quazip/quazipfileinfo.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/structQuaZipNewInfo.tex libquazip-0.7.6/doc/latex/structQuaZipNewInfo.tex --- libquazip-0.7.3/doc/latex/structQuaZipNewInfo.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/structQuaZipNewInfo.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,360 +0,0 @@ -\section{Qua\-Zip\-New\-Info Struct Reference} -\label{structQuaZipNewInfo}\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} - - -Information about a file to be created. - - - - -{\ttfamily \#include $<$quazipnewinfo.\-h$>$} - -\subsection*{Public Member Functions} -\begin{DoxyCompactItemize} -\item -{\bf Qua\-Zip\-New\-Info} (const Q\-String \&{\bf name}) -\begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-New\-Info} (const Q\-String \&{\bf name}, const Q\-String \&file) -\begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-New\-Info} (const {\bf Qua\-Zip\-File\-Info} \&existing) -\begin{DoxyCompactList}\small\item\em Initializes the new instance from existing file info. \end{DoxyCompactList}\item -{\bf Qua\-Zip\-New\-Info} (const {\bf Qua\-Zip\-File\-Info64} \&existing) -\begin{DoxyCompactList}\small\item\em Initializes the new instance from existing file info. \end{DoxyCompactList}\item -void {\bf set\-File\-Date\-Time} (const Q\-String \&file) -\begin{DoxyCompactList}\small\item\em Sets the file timestamp from the existing file. \end{DoxyCompactList}\item -void {\bf set\-File\-Permissions} (const Q\-String \&file) -\begin{DoxyCompactList}\small\item\em Sets the file permissions from the existing file. \end{DoxyCompactList}\item -void {\bf set\-Permissions} (Q\-File\-::\-Permissions permissions) -\begin{DoxyCompactList}\small\item\em Sets the file permissions. \end{DoxyCompactList}\item -void {\bf set\-File\-N\-T\-F\-S\-Times} (const Q\-String \&file\-Name) -\begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S times from an existing file. \end{DoxyCompactList}\item -void {\bf set\-File\-N\-T\-F\-Sm\-Time} (const Q\-Date\-Time \&m\-Time, int fine\-Ticks=0) -\begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S modification time. \end{DoxyCompactList}\item -void {\bf set\-File\-N\-T\-F\-Sa\-Time} (const Q\-Date\-Time \&a\-Time, int fine\-Ticks=0) -\begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S access time. \end{DoxyCompactList}\item -void {\bf set\-File\-N\-T\-F\-Sc\-Time} (const Q\-Date\-Time \&c\-Time, int fine\-Ticks=0) -\begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S creation time. \end{DoxyCompactList}\end{DoxyCompactItemize} -\subsection*{Public Attributes} -\begin{DoxyCompactItemize} -\item -Q\-String {\bf name} -\begin{DoxyCompactList}\small\item\em File name. \end{DoxyCompactList}\item -Q\-Date\-Time {\bf date\-Time} -\begin{DoxyCompactList}\small\item\em File timestamp. \end{DoxyCompactList}\item -quint16 {\bf internal\-Attr}\label{structQuaZipNewInfo_a59ce9776c2ac7547ade8cb4c404c77ab} - -\begin{DoxyCompactList}\small\item\em File internal attributes. \end{DoxyCompactList}\item -quint32 {\bf external\-Attr} -\begin{DoxyCompactList}\small\item\em File external attributes. \end{DoxyCompactList}\item -Q\-String {\bf comment} -\begin{DoxyCompactList}\small\item\em File comment. \end{DoxyCompactList}\item -Q\-Byte\-Array {\bf extra\-Local}\label{structQuaZipNewInfo_ab377a81c51cf495c7aeee4f19340a43f} - -\begin{DoxyCompactList}\small\item\em File local extra field. \end{DoxyCompactList}\item -Q\-Byte\-Array {\bf extra\-Global}\label{structQuaZipNewInfo_abda207eb3949db3a88761c1b06e6bd58} - -\begin{DoxyCompactList}\small\item\em File global extra field. \end{DoxyCompactList}\item -ulong {\bf uncompressed\-Size} -\begin{DoxyCompactList}\small\item\em Uncompressed file size. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\subsection{Detailed Description} -Information about a file to be created. - -This structure holds information about a file to be created inside Z\-I\-P archive. At least name should be set to something correct before passing this structure to Qua\-Zip\-File\-::open(\-Open\-Mode,const Qua\-Zip\-New\-Info\&,int,int,bool). - -Zip64 support of this structure is slightly limited\-: in the raw mode (when a pre-\/compressed file is written into a Z\-I\-P file as-\/is), it is necessary to specify the uncompressed file size and the appropriate field is 32 bit. Since the raw mode is used extremely rare, there is no real need to have a separate Qua\-Zip\-New\-Info64 structure like \doxyref{Qua\-Zip\-File\-Info64}{p.}{structQuaZipFileInfo64}. It may be added in the future though, if there is a demand for the raw mode with zip64 archives. - -\subsection{Constructor \& Destructor Documentation} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{name} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a46c0f551cf9e6b2131929beb39187aac} - - -Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. - -Initializes name with {\itshape name}, date\-Time with current date and time. Attributes are initialized with zeros, comment and extra field with null values. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{name, } -\item[{const Q\-String \&}]{file} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_ad47cf11f4277edcb09a8ba2b2963f2a9} - - -Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. - -Initializes name with {\itshape name}. Timestamp and permissions are taken from the specified file. If the {\itshape file} does not exists or its timestamp is inaccessible (e. g. you do not have read permission for the directory file in), uses current time and zero permissions. Other attributes are initialized with zeros, comment and extra field with null values. - -\begin{DoxySeeAlso}{See Also} -\doxyref{set\-File\-Date\-Time()}{p.}{structQuaZipNewInfo_a2b18b554d056877a2f33ffb9d241ed85} -\end{DoxySeeAlso} - - -References date\-Time. - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( -\begin{DoxyParamCaption} -\item[{const {\bf Qua\-Zip\-File\-Info} \&}]{existing} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a5f1a867f3b0d29d076f9014f70b59e5a} - - -Initializes the new instance from existing file info. - -Mainly used when copying files between archives. - -Both extra fields are initialized to existing.\-extra. \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} -\begin{DoxyParams}{Parameters} -{\em existing} & \\ -\hline -\end{DoxyParams} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( -\begin{DoxyParamCaption} -\item[{const {\bf Qua\-Zip\-File\-Info64} \&}]{existing} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a4afa2e8c282a801fc216f79026c2d062} - - -Initializes the new instance from existing file info. - -Mainly used when copying files between archives. - -Both extra fields are initialized to existing.\-extra. \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} -\begin{DoxyParams}{Parameters} -{\em existing} & \\ -\hline -\end{DoxyParams} - - -\subsection{Member Function Documentation} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-Date\-Time@{set\-File\-Date\-Time}} -\index{set\-File\-Date\-Time@{set\-File\-Date\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-File\-Date\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-Date\-Time ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a2b18b554d056877a2f33ffb9d241ed85} - - -Sets the file timestamp from the existing file. - -Use this function to set the file timestamp from the existing file. Use it like this\-: -\begin{DoxyCode} -QuaZipFile zipFile(&zip); -QFile file(\textcolor{stringliteral}{"file-to-add"}); -file.open(QIODevice::ReadOnly); -QuaZipNewInfo info(\textcolor{stringliteral}{"file-name-in-archive"}); -info.setFileDateTime(\textcolor{stringliteral}{"file-to-add"}); \textcolor{comment}{// take the timestamp from file} -zipFile.open(QIODevice::WriteOnly, info); -\end{DoxyCode} - - -This function does not change date\-Time if some error occured (e. g. file is inaccessible). - -References date\-Time. - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-Permissions@{set\-File\-Permissions}} -\index{set\-File\-Permissions@{set\-File\-Permissions}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-File\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-Permissions ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a08bee5211eb0b49da260c7a9e7a266b8} - - -Sets the file permissions from the existing file. - -Takes permissions from the file and sets the high 16 bits of external attributes. Uses Q\-File\-Info to get permissions on all platforms. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-Permissions@{set\-Permissions}} -\index{set\-Permissions@{set\-Permissions}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-Permissions ( -\begin{DoxyParamCaption} -\item[{Q\-File\-::\-Permissions}]{permissions} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_aed68dc20f7dc42b5056491cf3c1d2d20} - - -Sets the file permissions. - -Modifies the highest 16 bits of external attributes. The type part is set to dir if the name ends with a slash, and to regular file otherwise. - -References name. - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-S\-Times@{set\-File\-N\-T\-F\-S\-Times}} -\index{set\-File\-N\-T\-F\-S\-Times@{set\-File\-N\-T\-F\-S\-Times}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-File\-N\-T\-F\-S\-Times}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-S\-Times ( -\begin{DoxyParamCaption} -\item[{const Q\-String \&}]{file\-Name} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a663a37c5a7a2d18900ba8b0199617eff} - - -Sets the N\-T\-F\-S times from an existing file. - -If the file doesn't exist, a warning is printed to the stderr and nothing is done. Otherwise, all three times, as reported by Q\-File\-Info\-::last\-Modified(), Q\-File\-Info\-::last\-Read() and Q\-File\-Info\-::created(), are written to the N\-T\-F\-S extra field record. - -The N\-T\-F\-S record is written to both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. - -The microseconds will be zero, as they aren't reported by Q\-File\-Info. -\begin{DoxyParams}{Parameters} -{\em file\-Name} & \\ -\hline -\end{DoxyParams} - - -References set\-File\-N\-T\-F\-Sa\-Time(), set\-File\-N\-T\-F\-Sc\-Time(), and set\-File\-N\-T\-F\-Sm\-Time(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-Sm\-Time@{set\-File\-N\-T\-F\-Sm\-Time}} -\index{set\-File\-N\-T\-F\-Sm\-Time@{set\-File\-N\-T\-F\-Sm\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-File\-N\-T\-F\-Sm\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-Sm\-Time ( -\begin{DoxyParamCaption} -\item[{const Q\-Date\-Time \&}]{m\-Time, } -\item[{int}]{fine\-Ticks = {\ttfamily 0}} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a3af07365df1d67502ab1d0ca0d45df79} - - -Sets the N\-T\-F\-S modification time. - -The time is written into the N\-T\-F\-S record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact. -\begin{DoxyParams}{Parameters} -{\em m\-Time} & The new modification time. \\ -\hline -{\em fine\-Ticks} & The fractional part of milliseconds, in 100-\/nanosecond ticks (i. e. 9999 ticks = 999.\-9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged. \\ -\hline -\end{DoxyParams} - - -References extra\-Global, and extra\-Local. - - - -Referenced by set\-File\-N\-T\-F\-S\-Times(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-Sa\-Time@{set\-File\-N\-T\-F\-Sa\-Time}} -\index{set\-File\-N\-T\-F\-Sa\-Time@{set\-File\-N\-T\-F\-Sa\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-File\-N\-T\-F\-Sa\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-Sa\-Time ( -\begin{DoxyParamCaption} -\item[{const Q\-Date\-Time \&}]{a\-Time, } -\item[{int}]{fine\-Ticks = {\ttfamily 0}} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a1042ac3d55a9deed760eb357aaa8284c} - - -Sets the N\-T\-F\-S access time. - -The time is written into the N\-T\-F\-S record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact. -\begin{DoxyParams}{Parameters} -{\em a\-Time} & The new access time. \\ -\hline -{\em fine\-Ticks} & The fractional part of milliseconds, in 100-\/nanosecond ticks (i. e. 9999 ticks = 999.\-9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged. \\ -\hline -\end{DoxyParams} - - -References extra\-Global, and extra\-Local. - - - -Referenced by set\-File\-N\-T\-F\-S\-Times(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-Sc\-Time@{set\-File\-N\-T\-F\-Sc\-Time}} -\index{set\-File\-N\-T\-F\-Sc\-Time@{set\-File\-N\-T\-F\-Sc\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{set\-File\-N\-T\-F\-Sc\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-Sc\-Time ( -\begin{DoxyParamCaption} -\item[{const Q\-Date\-Time \&}]{c\-Time, } -\item[{int}]{fine\-Ticks = {\ttfamily 0}} -\end{DoxyParamCaption} -)}\label{structQuaZipNewInfo_a44675ac1e306eddefcaa35972c294d15} - - -Sets the N\-T\-F\-S creation time. - -The time is written into the N\-T\-F\-S record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact. -\begin{DoxyParams}{Parameters} -{\em c\-Time} & The new creation time. \\ -\hline -{\em fine\-Ticks} & The fractional part of milliseconds, in 100-\/nanosecond ticks (i. e. 9999 ticks = 999.\-9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged. \\ -\hline -\end{DoxyParams} - - -References extra\-Global, and extra\-Local. - - - -Referenced by set\-File\-N\-T\-F\-S\-Times(). - - - -\subsection{Member Data Documentation} -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!name@{name}} -\index{name@{name}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-New\-Info\-::name}\label{structQuaZipNewInfo_a2bdef01b6ac3326e48598e32bfa5fbe8} - - -File name. - -This field holds file name inside archive, including path relative to archive root. - -Referenced by Qua\-Zip\-File\-::open(), and set\-Permissions(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!date\-Time@{date\-Time}} -\index{date\-Time@{date\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{date\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-New\-Info\-::date\-Time}\label{structQuaZipNewInfo_aec7f3ac72c72a2e10b82ad64c2fa3453} - - -File timestamp. - -This is the last file modification date and time. Will be stored in the archive central directory. It is a good practice to set it to the source file timestamp instead of archive creating time. Use \doxyref{set\-File\-Date\-Time()}{p.}{structQuaZipNewInfo_a2b18b554d056877a2f33ffb9d241ed85} or \doxyref{Qua\-Zip\-New\-Info(const Q\-String\&, const Q\-String\&)}{p.}{structQuaZipNewInfo_ad47cf11f4277edcb09a8ba2b2963f2a9}. - -Referenced by Qua\-Zip\-File\-::open(), Qua\-Zip\-New\-Info(), and set\-File\-Date\-Time(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!external\-Attr@{external\-Attr}} -\index{external\-Attr@{external\-Attr}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{external\-Attr}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Zip\-New\-Info\-::external\-Attr}\label{structQuaZipNewInfo_affd1a9700d302e1395bd04f0864da7d0} - - -File external attributes. - -The highest 16 bits contain Unix file permissions and type (dir or file). The constructor \doxyref{Qua\-Zip\-New\-Info(const Q\-String\&, const Q\-String\&)}{p.}{structQuaZipNewInfo_ad47cf11f4277edcb09a8ba2b2963f2a9} takes permissions from the provided file. - -Referenced by Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!comment@{comment}} -\index{comment@{comment}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{comment}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-New\-Info\-::comment}\label{structQuaZipNewInfo_ae24b1d38c3550b4724862ffcf8f20924} - - -File comment. - -Will be encoded using \doxyref{Qua\-Zip\-::get\-Comment\-Codec()}{p.}{classQuaZip_a008260161781d8b5d2a0a28493fddaf4}. - -Referenced by Qua\-Zip\-File\-::open(). - -\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!uncompressed\-Size@{uncompressed\-Size}} -\index{uncompressed\-Size@{uncompressed\-Size}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} -\subsubsection[{uncompressed\-Size}]{\setlength{\rightskip}{0pt plus 5cm}ulong Qua\-Zip\-New\-Info\-::uncompressed\-Size}\label{structQuaZipNewInfo_a18c079b3f2f5ab6eecdd61d6dbe93be6} - - -Uncompressed file size. - -This is only needed if you are using raw file zipping mode, i. e. adding precompressed file in the zip archive. - -Referenced by Qua\-Zip\-File\-::open(). - - - -The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} -\item -quazip/quazipnewinfo.\-h\item -quazip/quazipnewinfo.\-cpp\end{DoxyCompactItemize} diff -Nru libquazip-0.7.3/doc/latex/usage.tex libquazip-0.7.6/doc/latex/usage.tex --- libquazip-0.7.3/doc/latex/usage.tex 2017-02-05 06:19:38.000000000 +0000 +++ libquazip-0.7.6/doc/latex/usage.tex 1970-01-01 00:00:00.000000000 +0000 @@ -1,22 +0,0 @@ -This page provides general information on Qua\-Z\-I\-P usage. See classes \doxyref{Qua\-Zip}{p.}{classQuaZip} and \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} for the detailed documentation on what can Qua\-Z\-I\-P do and what it can not. Also, reading comments in the zip.\-h and unzip.\-h files (taken from the original Z\-I\-P/\-U\-N\-Z\-I\-P package) is always a good idea too. After all, Qua\-Z\-I\-P is just a wrapper with a few convenience extensions and reimplementations. - -\doxyref{Qua\-Zip}{p.}{classQuaZip} is a class representing Z\-I\-P archive, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} represents a file inside archive and subclasses Q\-I\-O\-Device as well. One limitation is that there can be only one instance of \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} per \doxyref{Qua\-Zip}{p.}{classQuaZip} instance, which kind of makes it confusing why there are two classes instead of one. This is actually no more than an A\-P\-I design mistake.\section{Terminology}\label{usage_terminology} -\char`\"{}\-Qua\-Z\-I\-P\char`\"{} means whole this library, while \char`\"{}\-Qua\-Zip\char`\"{} (note the lower case) is just one class in it. - -\char`\"{}\-Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I\char`\"{} or \char`\"{}minizip\char`\"{} means the original A\-P\-I of the Gilles Vollant's Z\-I\-P/\-U\-N\-Z\-I\-P package. It was slightly modified to better integrate with Qt. These modifications are not source or binary compatible with the official minizip release, which means you can't just drop the newer minizip version into Qua\-Z\-I\-P sources and make it work. - -\char`\"{}\-Z\-I\-P\char`\"{}, \char`\"{}\-Z\-I\-P archive\char`\"{} or \char`\"{}\-Z\-I\-P file\char`\"{} means any Z\-I\-P archive. Typically this is a plain file with \char`\"{}.\-zip\char`\"{} (or \char`\"{}.\-Z\-I\-P\char`\"{}) file name suffix, but it can also be any seekable Q\-I\-O\-Device (say, Q\-Buffer, but not Q\-Tcp\-Socket). - -\char`\"{}\-A file inside archive\char`\"{}, \char`\"{}a file inside Z\-I\-P\char`\"{} or something like that means file either being read or written from/to some Z\-I\-P archive.\section{Error handling}\label{usage_error-handling} -Almost any call to Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I return some error code. Most of the original A\-P\-I's error checking could be done in this wrapper as well, but it would cause unnecessary code bloating without any benefit. So, Qua\-Z\-I\-P only checks for situations that Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I can not check for. For example, Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I has no \char`\"{}\-Z\-I\-P open mode\char`\"{} concept because read and write modes are completely separated. On the other hand, to avoid creating classes like \char`\"{}\-Qua\-Zip\-Reader\char`\"{}, \char`\"{}\-Qua\-Zip\-Writer\char`\"{} or something like that, Qua\-Z\-I\-P introduces \char`\"{}\-Z\-I\-P open mode\char`\"{} concept instead, thus making it possible to use one class (\doxyref{Qua\-Zip}{p.}{classQuaZip}) for both reading and writing. But this leads to additional open mode checks which are not done in Z\-I\-P/\-U\-N\-Z\-I\-P package. - -Therefore, error checking is two-\/level (Qua\-Z\-I\-P's level and Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I level), which sometimes can be confusing, so here are some advices on how the error checking should be properly done\-: - - -\begin{DoxyItemize} -\item Both \doxyref{Qua\-Zip}{p.}{classQuaZip} and \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} have get\-Zip\-Error() function, which return error code of the last Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I call. Most function calls reset error code to U\-N\-Z\-\_\-\-O\-K on success and set error code on failure. Some functions do not reset error code. Most of them are {\ttfamily const} and do not access Z\-I\-P archive in any way. Some, on the other hand, {\itshape do} access Z\-I\-P archive, but do not reset or set error code. For example, \doxyref{Qua\-Zip\-File\-::pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} function. Such functions are explicitly marked in the documentation. -\item Most functions have their own way to report errors, by returning a null string, negative value or {\ttfamily false}. If such a function returns error value, call get\-Zip\-Error() to get more information about error. See \char`\"{}zip.\-h\char`\"{} and \char`\"{}unzip.\-h\char`\"{} of the Z\-I\-P/\-U\-N\-Z\-I\-P package for error codes. -\item If the function returns error-\/stating value (like {\ttfamily false}), but get\-Zip\-Error() returns U\-N\-Z\-\_\-\-O\-K, it means that you did something obviously wrong. For example, tried to write in the archive open for reading or not open at all. You better just not do that! Most functions also issue a warning using q\-Warning() function in such cases. See documentation for a specific function for details on when it should not be called. -\end{DoxyItemize} - -I know that this is somewhat messy, but I could not find a better way to do all the error handling. \ No newline at end of file diff -Nru libquazip-0.7.3/Doxyfile libquazip-0.7.6/Doxyfile --- libquazip-0.7.3/Doxyfile 2017-02-05 05:56:52.000000000 +0000 +++ libquazip-0.7.6/Doxyfile 2018-06-13 15:51:21.000000000 +0000 @@ -31,7 +31,7 @@ # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = quazip-0-7-3 +PROJECT_NUMBER = quazip-0-7-6 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer @@ -645,7 +645,7 @@ EXCLUDE = quazip/unzip.h \ quazip/zip.h \ quazip/ioapi.h \ - quazip/crypt.h \ + quazip/minizip_crypt.h \ qztest/ # The EXCLUDE_SYMLINKS tag can be used select whether or not files or @@ -1491,7 +1491,7 @@ # If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. -TAGFILES = qtcore.tags=http://doc.qt.io/qt-5/ +TAGFILES = qtcore.tags=http://doc.qt.io/qt-5.9/ # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. diff -Nru libquazip-0.7.3/.gitignore libquazip-0.7.6/.gitignore --- libquazip-0.7.3/.gitignore 1970-01-01 00:00:00.000000000 +0000 +++ libquazip-0.7.6/.gitignore 2018-06-13 15:51:21.000000000 +0000 @@ -0,0 +1 @@ +/doc diff -Nru libquazip-0.7.3/NEWS.txt libquazip-0.7.6/NEWS.txt --- libquazip-0.7.3/NEWS.txt 2017-02-05 05:56:52.000000000 +0000 +++ libquazip-0.7.6/NEWS.txt 2018-06-13 15:51:21.000000000 +0000 @@ -1,5 +1,20 @@ QuaZIP changes +* 2018-06-13 0.7.6 + * Fixed the Zip Slip vulnerability in JlCompress + * Renamed crypt.h to minizip_crypt.h to avoid conflicts + +* 2018-05-20 0.7.5 + * Fixed target_link_libraries call in CMakeLists + * Worked around a Qt 4.6 bug (QTBUG-15421) screwing up hidden + files handling in JlCompress::compressDir() + * Removed Q_FOREACH uses to avoid conflicts (SF patch #32) + +* 2017-02-05 0.7.4 + * Static analysis patch from Intel Deutschland GmbH + * Replaced UNUSED with QUAZIP_UNUSED to avoid name clashes + * Minor bug fixes + * 2017-02-05 0.7.3 * Symlink handling * Static linking exception for LGPL diff -Nru libquazip-0.7.3/quazip/CMakeLists.txt libquazip-0.7.6/quazip/CMakeLists.txt --- libquazip-0.7.3/quazip/CMakeLists.txt 2016-01-03 06:01:40.000000000 +0000 +++ libquazip-0.7.6/quazip/CMakeLists.txt 2018-06-13 15:51:21.000000000 +0000 @@ -25,7 +25,8 @@ set_target_properties(${QUAZIP_LIB_TARGET_NAME} quazip_static PROPERTIES VERSION 1.0.0 SOVERSION 1 DEBUG_POSTFIX d) # Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty) -target_link_libraries(${QUAZIP_LIB_TARGET_NAME} quazip_static ${QT_QTMAIN_LIBRARY} ${QTCORE_LIBRARIES} ${ZLIB_LIBRARIES}) +target_link_libraries(${QUAZIP_LIB_TARGET_NAME} ${QT_QTMAIN_LIBRARY} ${QTCORE_LIBRARIES} ${ZLIB_LIBRARIES}) +target_link_libraries(quazip_static ${QT_QTMAIN_LIBRARY} ${QTCORE_LIBRARIES} ${ZLIB_LIBRARIES}) install(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip${QUAZIP_LIB_VERSION_SUFFIX}) install(TARGETS ${QUAZIP_LIB_TARGET_NAME} quazip_static LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION}) diff -Nru libquazip-0.7.3/quazip/crypt.h libquazip-0.7.6/quazip/crypt.h --- libquazip-0.7.3/quazip/crypt.h 2014-01-19 15:37:12.000000000 +0000 +++ libquazip-0.7.6/quazip/crypt.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,135 +0,0 @@ -/* crypt.h -- base code for crypt/uncrypt ZIPfile - - - Version 1.01e, February 12th, 2005 - - Copyright (C) 1998-2005 Gilles Vollant - - This code is a modified version of crypting code in Infozip distribution - - The encryption/decryption parts of this source code (as opposed to the - non-echoing password parts) were originally written in Europe. The - whole source package can be freely distributed, including from the USA. - (Prior to January 2000, re-export from the US was a violation of US law.) - - This encryption code is a direct transcription of the algorithm from - Roger Schlafly, described by Phil Katz in the file appnote.txt. This - file (appnote.txt) is distributed with the PKZIP program (even in the - version without encryption capabilities). - - If you don't need crypting in your application, just define symbols - NOCRYPT and NOUNCRYPT. - - This code support the "Traditional PKWARE Encryption". - - The new AES encryption added on Zip format by Winzip (see the page - http://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong - Encryption is not supported. -*/ - -#include "quazip_global.h" - -#define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) - -/*********************************************************************** - * Return the next byte in the pseudo-random sequence - */ -static int decrypt_byte(unsigned long* pkeys, const z_crc_t FAR * pcrc_32_tab UNUSED) -{ - //(void) pcrc_32_tab; /* avoid "unused parameter" warning */ - unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an - * unpredictable manner on 16-bit systems; not a problem - * with any known compiler so far, though */ - - temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; - return (int)(((temp * (temp ^ 1)) >> 8) & 0xff); -} - -/*********************************************************************** - * Update the encryption keys with the next byte of plain text - */ -static int update_keys(unsigned long* pkeys,const z_crc_t FAR * pcrc_32_tab,int c) -{ - (*(pkeys+0)) = CRC32((*(pkeys+0)), c); - (*(pkeys+1)) += (*(pkeys+0)) & 0xff; - (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; - { - register int keyshift = (int)((*(pkeys+1)) >> 24); - (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); - } - return c; -} - - -/*********************************************************************** - * Initialize the encryption keys and the random header according to - * the given password. - */ -static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t FAR * pcrc_32_tab) -{ - *(pkeys+0) = 305419896L; - *(pkeys+1) = 591751049L; - *(pkeys+2) = 878082192L; - while (*passwd != '\0') { - update_keys(pkeys,pcrc_32_tab,(int)*passwd); - passwd++; - } -} - -#define zdecode(pkeys,pcrc_32_tab,c) \ - (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) - -#define zencode(pkeys,pcrc_32_tab,c,t) \ - (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c)) - -#ifdef INCLUDECRYPTINGCODE_IFCRYPTALLOWED - -#define RAND_HEAD_LEN 12 - /* "last resort" source for second part of crypt seed pattern */ -# ifndef ZCR_SEED2 -# define ZCR_SEED2 3141592654UL /* use PI as default pattern */ -# endif - -static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting) - const char *passwd; /* password string */ - unsigned char *buf; /* where to write header */ - int bufSize; - unsigned long* pkeys; - const z_crc_t FAR * pcrc_32_tab; - unsigned long crcForCrypting; -{ - int n; /* index in random header */ - int t; /* temporary */ - int c; /* random byte */ - unsigned char header[RAND_HEAD_LEN-2]; /* random header */ - static unsigned calls = 0; /* ensure different random header each time */ - - if (bufSize> 7) & 0xff; - header[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, c, t); - } - /* Encrypt random header (last two bytes is high word of crc) */ - init_keys(passwd, pkeys, pcrc_32_tab); - for (n = 0; n < RAND_HEAD_LEN-2; n++) - { - buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t); - } - buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 16) & 0xff, t); - buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 24) & 0xff, t); - return n; -} - -#endif diff -Nru libquazip-0.7.3/quazip/doc/faq.dox libquazip-0.7.6/quazip/doc/faq.dox --- libquazip-0.7.3/quazip/doc/faq.dox 2014-01-22 17:14:02.000000000 +0000 +++ libquazip-0.7.6/quazip/doc/faq.dox 2018-06-13 15:51:21.000000000 +0000 @@ -1,45 +1,50 @@ /** - * \page faq QuaZip FAQ - * - * - * - * \anchor faq-non-QIODevice Q. Is there any way to use QuaZipFile in Qt - * where you are supposed to use normal (non-zipped) file, but not - * through QIODevice API? - * - * A. Usually not. For example, if you are passing file name to some - * database driver (like SQLite), Qt usually just passes this name down - * to the 3rd-party library, which is usually does not know anything - * about QIODevice and therefore there is no way to pass QuaZipFile as - * normal file. However, if we are talking about some place where you - * pass file name, and then indirectly use QFile to open it, then it is - * a good idea to make overloaded method, which accepts a QIODevice - * pointer. Then you would be able to pass QuaZipFile as well as many - * other nice things such as QBuffer or QProcess. - * - * \anchor faq-zip64 Q. Can QuaZIP handle files larger than 4GB? What - * about zip64 standard? - * - * A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64 - * support which should handle large files perfectly. The zip64 support - * in Minizip looks like it's not 100% conforming to the standard, but - * 3rd party tools seem to have no problem with the resulting archives. - * - * \anchor faq-seekable Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket? - * - * A. Not yet. It is not supported by vanilla Minizip (the back-end - * QuaZIP uses), although theoretically possible according to the ZIP - * standard. It would require some Minizip modifications that would - * allow it to detect non-seekable I/O and produce necessary output - * structures. QuaZIP already writes data descriptor which is necessary - * for non-seekable I/O. The only thing that is apparently left is to - * make Minizip fill local headers with correct values and forget about - * seeking after closing the file. - **/ +\page faq QuaZIP FAQ + + + +\anchor faq-non-QIODevice Q. Is there any way to use QuaZipFile in Qt +where you are supposed to use normal (non-zipped) file, but not +through QIODevice API? + +A. Usually not. For example, if you are passing file name to some +database driver (like SQLite), Qt usually just passes this name down +to the 3rd-party library, which is usually does not know anything +about QIODevice and therefore there is no way to pass QuaZipFile as +a normal file. However, if we are talking about some place where you +pass file name, and then internally use QFile to open it, then it is +a good idea to make an overloaded method, which accepts a QIODevice +pointer. Then you would be able to pass QuaZipFile as well as many +other nice things such as QBuffer or QProcess. Of course, that's only +possible if you have control over the sources of the particular class. + +\anchor faq-zip64 Q. Can QuaZIP handle files larger than 4GB? What +about zip64 standard? + +A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64 +support which should handle large files perfectly. The zip64 support +in Minizip looks like it's not 100% conforming to the standard, but +3rd party tools seem to have no problem with the resulting archives. + +\anchor faq-seekable Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket? + +A. Yes, it's possible since QuaZIP v0.7. It's only possible in +mdCreate mode, no mdAppend support. + +\anchor faq-Minizip-update Q. Can I use another version of Minizip in QuaZIP, not the bundled one? + +A. No, unfortunately not. To support reading/writing ZIP archives from/to QIODevice objects, +some modifications were needed to Minizip. Now that there is a Minizip fork on GitHub, it is +theoretically possible to backport these modifications into Minizip in a backward-compatible +manner to ensure seamless integration with QuaZIP, but it hasn't been done yet, and there +are no short-term plans, only a long-term goal. + +*/ diff -Nru libquazip-0.7.3/quazip/doc/index.dox libquazip-0.7.6/quazip/doc/index.dox --- libquazip-0.7.3/quazip/doc/index.dox 2014-01-22 17:14:02.000000000 +0000 +++ libquazip-0.7.6/quazip/doc/index.dox 2018-06-13 15:51:21.000000000 +0000 @@ -1,177 +1,195 @@ /** - * \mainpage QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package - * -\htmlonly -Powered by SourceForge.net -\endhtmlonly - * \section overview Overview - * - * QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP - * package that can be used to access ZIP archives. It uses the Qt toolkit. - * - * If you do not know what Qt is, you have two options: - * - Just forget about QuaZIP. - * - Learn more about Qt by downloading it and/or reading the excellent official Qt documentation - * - * The choice is yours, but if you are really interested in - * cross-platform (Windows/Linux/BSD/UNIX/Mac/Others) software - * development, I would definitely recommend you the latter ^_^ - * - * QuaZIP allows you to access files inside ZIP archives using QIODevice - * API, and - yes! - that means that you can also use QTextStream, - * QDataStream or whatever you would like to use on your zipped files. - * - * QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both - * reading from and writing to ZIP archives. - * - * \section download Download QuaZIP - * - * Downloads are available from QuaZIP project's page - * at SourceForge.net. - * - * \section platforms Platforms supported - * - * QuaZIP has been currently tested on the following platforms: - * - linux-g++ (Ubuntu 11.10, Qt 4.7.4) - * - freebsd-g++ (Qt 4.0.0 - * - hpux-acc (HP-UX 11.11) - * - hpux-g++ (HP-UX 11.11) - * - win32-g++ (MinGW) - * - win32-msvc2010 (MS VS 2010 Express, Qt 4.8.4) - * - win32-msvc2010 (Qt Creator, Qt 5.0.1) - * - win32-msvc2012 (Qt Creator, Qt 5.2.0) - * - some Symbian version, reportedly - * - * No testing has been officially done on other systems. Of course, patches to - * make it work on any platform that it currently does not work on are - * always welcome! - * - * \section whats-new What is new in this version of QuaZIP? - * - * See the NEWS.txt file supplied with the distribution. - * - * \section Requirements - * - * Just zlib and Qt 4/5. Well, Qt 4 - * depends on zlib anyway, but you will need zlib headers to compile - * QuaZIP. With Qt5 sometimes you need the zlib library as well (on - * Windows, for example). - * - * \section building Building, testing and installing - * - * \note Instructions given in this section assume that you are - * using some UNIX dialect, but the build process should be very similar - * on win32-g++ platform too. On other platforms it's essentially the - * same process, maybe with some qmake adjustments not specific to - * QuaZIP itself. - * - * To build the library, run: +\mainpage QuaZIP - Qt/C++ wrapper for Minizip + +\section overview Overview + +Minizip, or +Gilles Vollant's ZIP/UNZIP package is a simple C library +for creating, appending and reading ZIP archives. + +Qt is a very powerful cross-platform C++ +library with a lot of useful modules and classes. With %Qt, you can +create rich GUIs, perform networking activities, accessing databases +and much much more. If Java is “write once, run everywhere”, %Qt +is “write once, compile everywhere” which is not that bad either. + +One thing %Qt can't do out-of-the-box is write and read ZIP archives. +Of course, you can do it with Minizip, but Minizip has its own +interface which isn't exactly compatible with %Qt. Namely, in %Qt +there is an abstract class called QIODevice, which +is Qt-speak for “input/output stream”. There are a lot of classes +that accept QIODevice to write some useful things to it—you could +serialize XML to a QIODevice, for example. Therefore, wouldn't it +be useful if you could open a QIODevice that would write directly +to a file in a ZIP archive? Or read from one? That's exactly where +QuaZIP comes into the picture. + +Technically speaking, QuaZIP is a simple C++ wrapper around Minizip. +Or you could call it an implementation of the Adapter pattern. With +QuaZIP, both ZIP files and files inside ZIP archives can be accessed +with QIODevice API. You can even write ZIP files to a sequential devices +like TCP sockets, although some limitations apply in this case. + +\section download Download QuaZIP + +The latest downloads are available from the +GitHub page. +Downloads are in source format. The documentation you're reading +right now can be build with the “doxygen” tool if you have one +installed. Just run it from the project directory and it will +create the “doc” directory for you. If you don't have Doxygen +installed, you can still read offline docs in the “quazip/doc” +subdir and in the header files. Don't confuse those dirs: + +- “doc” in the project's root is where Doxygen \em output is. +- “quazip/doc” is where Doxygen \em input is, along with the header + files. + +Older downloads are available from +QuaZIP project's page at SourceForge.net. + +\section platforms Platforms supported + +QuaZIP is regularly tested on the following platforms: +- linux-g++ (Ubuntu 16.04 LTS, %Qt 5.5.1) +- linux-g++ (CentOS 6.9, %Qt 4.6.2) +- win32-msvc (MS VS/VC 2013 64-bit, %Qt 5.9.2) + +It should work fine on any platform supported by %Qt 4.6.2 or later. +In theory, older versions might work as well, but aren't guaranteed +to. + +\section whats-new What is new in this version of QuaZIP? + +See the NEWS.txt file supplied with the distribution. + +\section Dependencies + +Just zlib and %Qt 4/5. Sometimes +you can get away with using zlib library bundled into %Qt, but +usually you need at least its headers. + +\section building Building, testing and installing + +\note Instructions given in this section assume that you are +using some UNIX dialect, but the build process should be very similar +on win32-g++ platform too. On other platforms it's essentially the +same process, maybe with some qmake adjustments not specific to +QuaZIP itself. + +To build the library, run: \verbatim $ cd /wherever/quazip/source/is/quazip-x.y.z/quazip -$ qmake [PREFIX=where-to-install] +$ qmake [PREFIX=where-to-install] $ make \endverbatim - * - * Make sure that you have Qt 4/5 installed with all required headers and - * utilities (that is, including the 'dev' or 'devel' package on Linux) - * and that you run qmake utility of the Qt 4, not some other version - * you may have already installed (you may need to type full path to - * qmake like /usr/local/qt4/bin/qmake). - * - * To reconfigure (with another PREFIX, for example), just run qmake - * with appropriate arguments again. - * - * If you need to specify additional include path or libraries, use - * qmake features (see qmake reference in the Qt documentation). For - * example: - * + +Make sure that you have %Qt 4/5 installed with all required headers and +utilities (that is, including the 'dev' or 'devel' package on Linux) +and that you run qmake utility of the %Qt 4/5, not some other version +you may have already installed (you may need to type full path to +qmake like /usr/local/qt4/bin/qmake). + +To reconfigure (with another PREFIX, for example), just run +\verbatim +qmake distclean +\endverbatim +and then qmake with the appropriate arguments again. + +Usually, it is needed to specify additional include path or libraries +in qmake args (see qmake reference in the %Qt documentation). For +example: + \verbatim $ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include \endverbatim - * (note abscence of "-I" before the include path and the presence of "-L" - * before the lib path) - * - * Also note that you may or may not need to define ZLIB_WINAPI (qmake - * DEFINES+=ZLIB_WINAPI) when linking to zlib on Windows, depending on - * how zlib was built (generally, if using zlibwapi.dll, this define is - * needed). - * - * To install compiled library: +(note abscence of “-I” before the include path and the presence of “-L” +before the lib path) + +Also note that you may or may not need to define ZLIB_WINAPI (qmake +DEFINES+=ZLIB_WINAPI) when linking to zlib on Windows, depending on +how zlib was built (generally, if using zlibwapi.dll, this define is +needed). + +To install compiled library: \verbatim $ make install \endverbatim - * - * By default, QuaZIP compiles as a DLL/SO, but you have other - * options: - * - Just copy appropriate source files to your project and use them, - * but you need to define QUAZIP_STATIC before including any QuaZIP - * headers (best done as a compiler option). This will save you from - * possible side effects of importing/exporting QuaZIP symbols. - * - Compile it as a static library using CONFIG += staticlib qmake - * option. QUAZIP_STATIC is defined automatically by qmake in this case. - * - * Binary compatibility is guaranteed between minor releases starting - * with version 0.5, thanks to the Pimpl idiom. That is, the next binary - * incompatible version will be 1.x. - * - * \section test Testing - * - * To check if QuaZIP's basic features work OK on your platform, you may - * wish to compile the test suite provided in test directory: + +By default, QuaZIP compiles as a DLL/SO, but you have other +options: +- Just copy appropriate source files to your project and use them, +but you need to define QUAZIP_STATIC before including any QuaZIP +headers (best done as a compiler option). This will save you from +possible side effects of importing/exporting QuaZIP symbols. +- Compile it as a static library using CONFIG += staticlib qmake +option. QUAZIP_STATIC is defined automatically by qmake in this case. + +Binary compatibility is guaranteed between minor releases starting +with version 0.5, thanks to the Pimpl idiom. That is, the next binary +incompatible version will be 1.x in the worst case. + +\section test Testing + +To check if QuaZIP's basic features work OK on your platform, you may +wish to compile the test suite provided in test directory: \verbatim $ cd /wherever/quazip/source/is/quazip-x.y.z/qztest $ qmake $ make $ ./qztest \endverbatim - * - * Note that the test suite looks for the quazip library in the "quazip" - * folder of the project ("../quazip"), but you may wish to use LIBS - * for some systems (Windows often puts the library in the separate - * "debug" or "release" directory). If you wish to use the quazip - * version that's already installed, provide the appropriate path. - * - * On some systems you may need to set PATH, LD_LIBRARY_PATH or - * SHLIB_PATH to get "qztest" to actually run. - * - * If everything went fine, the test suite should report a lot of PASS - * messages. If something goes wrong, it will provide details and a - * warning that some tests failed. - * - * \section using Using - * - * See \ref usage "usage page". - * - * \section contacts Authors and contacts - * - * This wrapper has been written by Sergey A. Tachenov, AKA Alqualos. - * This is my first open source project, so it may suck, but I did not - * find anything like that, so I just had no other choice but to write - * it. - * - * If you have anything to say to me about QuaZIP library, feel free to - * do so (read the \ref faq first, though). I can not promise, - * though, that I fix all the bugs you report in, add any features you - * want, or respond to your critics, or respond to your feedback at all. - * I may be busy, I may be tired of working on QuaZIP, I may be even - * dead already (you never know...). - * - * To report bugs or to post ideas about what should be done, use - * SourceForge.net's trackers. - * If you want to send me a private message, use my e-mail address - * stachenov@gmail.com. - * - * Do not use e-mail to report bugs, please. Reporting bugs and problems - * with the SourceForge.net's bug report system has that advantage that - * it is visible to public, and I can always search for open tickets - * that were created long ago. It is highly unlikely that I will search - * my mail for that kind of stuff, so if a bug reported by mail isn't - * fixed immediately, it will likely be forgotten forever. - * - * Copyright (C) 2005-2014 Sergey A. Tachenov and contributors - **/ + +Note that the test suite looks for the quazip library in the “quazip” +folder of the project (“../quazip”), but you may wish to use LIBS +for some systems (Windows often puts the library in the separate +“debug” or “release” directory). If you wish to use the quazip +version that's already installed, provide the appropriate path. + +On some systems you may need to set PATH, LD_LIBRARY_PATH or +SHLIB_PATH to get “qztest” to actually run and to use the right +version. + +If everything went fine, the test suite should report a lot of PASS +messages. If something goes wrong, it will provide details and a +warning that some tests failed. + +\section using Using + +See \ref usage “usage page”. + +\section contacts Authors and contacts + +This wrapper has been written by Sergei Tachenov. +This is my first open source project, and it's pretty old, but it +works and many people are happily using it, including myself. + +If you have anything to say to me about QuaZIP library, feel free to +do so (read the \ref faq first, though). I can not promise, +though, that I fix all the bugs you report in, add any features you +want, or respond to your critics, or respond to your feedback at all. +I may be busy, I may be tired of working on QuaZIP, I may be even +dead already (you never know...). + +To report bugs or to post ideas about what should be done, use +GitHub. It's an +awesome site, where you can report bugs or register yourself an +account, fork QuaZIP (don't hesitate to do so), create a new branch, +make some changes and issue a +pull +request, which is GitHub's way of offering patches. See CONTRIBUTING.md +file for details. + +Do not use e-mail to report bugs, please. Reporting bugs and problems +with GitHub has that advantage that +it is visible to public, and I can always search for open tickets +that were created long ago. It is highly unlikely that I will search +my mail for that kind of stuff, so if a bug reported by mail isn't +fixed immediately, it will likely be forgotten forever. + +Old bugs may still be available at +SourceForge +for reference. + +Copyright (C) 2005-2018 Sergei Tachenov and contributors +*/ diff -Nru libquazip-0.7.3/quazip/doc/usage.dox libquazip-0.7.6/quazip/doc/usage.dox --- libquazip-0.7.3/quazip/doc/usage.dox 2013-03-02 06:02:05.000000000 +0000 +++ libquazip-0.7.6/quazip/doc/usage.dox 2018-06-13 15:51:21.000000000 +0000 @@ -1,77 +1,96 @@ /** \page usage Usage - * - * This page provides general information on QuaZIP usage. See classes - * QuaZip and QuaZipFile for the detailed documentation on what can - * QuaZIP do and what it can not. Also, reading comments in the zip.h and - * unzip.h files (taken from the original ZIP/UNZIP package) is always a - * good idea too. After all, QuaZIP is just a wrapper with a few - * convenience extensions and reimplementations. - * - * QuaZip is a class representing ZIP archive, QuaZipFile represents a - * file inside archive and subclasses QIODevice as well. One limitation - * is that there can be only one instance of QuaZipFile per QuaZip - * instance, which kind of makes it confusing why there are two classes - * instead of one. This is actually no more than an API design mistake. - * - * \section terminology Terminology - * - * "QuaZIP" means whole this library, while "QuaZip" (note the - * lower case) is just one class in it. - * - * "ZIP/UNZIP API" or "minizip" means the original API of the Gilles - * Vollant's ZIP/UNZIP package. It was slightly modified to better - * integrate with Qt. These modifications are not source or binary - * compatible with the official minizip release, which means you can't - * just drop the newer minizip version into QuaZIP sources and make it - * work. - * - * "ZIP", "ZIP archive" or "ZIP file" means any ZIP archive. Typically - * this is a plain file with ".zip" (or ".ZIP") file name suffix, but it - * can also be any seekable QIODevice (say, QBuffer, but not - * QTcpSocket). - * - * "A file inside archive", "a file inside ZIP" or something like that - * means file either being read or written from/to some ZIP archive. - * - * \section error-handling Error handling - * - * Almost any call to ZIP/UNZIP API return some error code. Most of the - * original API's error checking could be done in this wrapper as well, - * but it would cause unnecessary code bloating without any benefit. So, - * QuaZIP only checks for situations that ZIP/UNZIP API can not check - * for. For example, ZIP/UNZIP API has no "ZIP open mode" concept - * because read and write modes are completely separated. On the other - * hand, to avoid creating classes like "QuaZipReader", "QuaZipWriter" - * or something like that, QuaZIP introduces "ZIP open mode" concept - * instead, thus making it possible to use one class (QuaZip) for both - * reading and writing. But this leads to additional open mode checks - * which are not done in ZIP/UNZIP package. - * - * Therefore, error checking is two-level (QuaZIP's level and ZIP/UNZIP - * API level), which sometimes can be confusing, so here are some - * advices on how the error checking should be properly done: - * - * - Both QuaZip and QuaZipFile have getZipError() function, which return - * error code of the last ZIP/UNZIP API call. Most function calls - * reset error code to UNZ_OK on success and set error code on - * failure. Some functions do not reset error code. Most of them are - * \c const and do not access ZIP archive in any way. Some, on the - * other hand, \em do access ZIP archive, but do not reset or set - * error code. For example, QuaZipFile::pos() function. Such functions - * are explicitly marked in the documentation. - * - Most functions have their own way to report errors, by returning a - * null string, negative value or \c false. If such a function returns - * error value, call getZipError() to get more information about - * error. See "zip.h" and "unzip.h" of the ZIP/UNZIP package for error - * codes. - * - If the function returns error-stating value (like \c false), but - * getZipError() returns UNZ_OK, it means that you did something - * obviously wrong. For example, tried to write in the archive open - * for reading or not open at all. You better just not do that! - * Most functions also issue a warning using qWarning() function in - * such cases. See documentation for a specific function for details - * on when it should not be called. - * - * I know that this is somewhat messy, but I could not find a better way - * to do all the error handling. - **/ + +This page provides general information on QuaZIP usage. See classes +QuaZip and QuaZipFile for the detailed documentation on what can +QuaZIP do and what it can not. Also, reading comments in the zip.h and +unzip.h files (taken from the original ZIP/UNZIP package) is always a +good idea too. After all, QuaZIP is just a wrapper with a few +convenience extensions and reimplementations. + +QuaZip is a class representing ZIP archive, QuaZipFile represents a +file inside archive and subclasses QIODevice as well. One limitation +is that there can be only one instance of QuaZipFile per QuaZip +instance, which kind of makes it confusing why there are two classes +instead of one. This is actually no more than an API design mistake +kept for backwards compatibility. + +The JlCompress class provides some high-level convenience static +methods which may be very useful if all you need is just to “unzip +a file” or something like that. + +\section terminology Terminology + +“QuaZIP” means the whole library, while “QuaZip” (note the +lower case) is just one class in it. + +“ZIP/UNZIP API” or “Minizip” means the original API of the Gilles +Vollant's ZIP/UNZIP package. It was slightly modified to better +integrate with Qt. These modifications are not source or binary +compatible with the official Minizip release, which means you can't +just drop the newer Minizip version into QuaZIP sources and make it +work. + +“ZIP”, “ZIP archive” or “ZIP file” means any ZIP archive. Typically +this is a plain file with “.zip” (or “.ZIP”) file name suffix, but it +can also be any seekable QIODevice (say, QBuffer, but not +QTcpSocket). + +“A file inside archive”, “a file inside ZIP” or something like that +means file either being read or written from/to some ZIP archive. + +\section general-usage General usage + +In general, the process looks like this: + +-# Open or create an archive with a QuaZip instance. +-# Open or create a file in the archive with a QuaZipFile instance. +-# Perform reading or writing. +-# Close the QuaZipFile instance. +-# Repeat steps 2–4 for other files if needed. +-# Close the QuaZIP instance. + +See the “qztest” subdirectory for examples. TestQuaZipFile::zipUnzip() +is a good place to start. + +\section error-handling Error handling + +Almost any call to ZIP/UNZIP API return some error code. Most of the +original API's error checking could be done in this wrapper as well, +but it would cause unnecessary code bloating without any benefit. So, +QuaZIP only checks for situations that ZIP/UNZIP API can not check +for. For example, ZIP/UNZIP API has no “ZIP open mode” concept +because read and write modes are completely separated. On the other +hand, to avoid creating classes like “QuaZipReader”, “QuaZipWriter” +or something like that, QuaZIP introduces “ZIP open mode” concept +instead, thus making it possible to use one class (QuaZip) for both +reading and writing. But this leads to additional open mode checks +which are not done in ZIP/UNZIP package. + +Therefore, error checking is two-level (QuaZIP's level and ZIP/UNZIP +API level), which sometimes can be confusing, so here are some +advices on how the error checking should be properly done: + +- Both QuaZip and QuaZipFile have getZipError() function, which return + error code of the last ZIP/UNZIP API call. Most function calls + reset error code to UNZ_OK on success and set error code on + failure. Some functions do not reset error code. Most of them are + \c const and do not access ZIP archive in any way. Some, on the + other hand, \em do access ZIP archive, but do not reset or set + error code. For example, QuaZipFile::pos() function. Such functions + are explicitly marked in the documentation. +- Most functions have their own way to report errors, by returning a + null string, negative value or \c false. If such a function returns + error value, call getZipError() to get more information about + error. See “zip.h” and “unzip.h” of the ZIP/UNZIP package for error + codes. +- If the function returns error-stating value (like \c false), but + getZipError() returns UNZ_OK, it means that you did something + obviously wrong. For example, tried to write in the archive open + for reading or not open at all. You better just not do that! + Most functions also issue a warning using qWarning() function in + such cases. See documentation for a specific function for details + on when it should not be called. + +I know that this is somewhat messy, but I could not find a better way +to do all the error handling. +*/ diff -Nru libquazip-0.7.3/quazip/JlCompress.cpp libquazip-0.7.6/quazip/JlCompress.cpp --- libquazip-0.7.3/quazip/JlCompress.cpp 2016-02-15 18:02:18.000000000 +0000 +++ libquazip-0.7.6/quazip/JlCompress.cpp 2018-06-13 15:51:21.000000000 +0000 @@ -103,7 +103,12 @@ if (recursive) { // Per ogni sotto cartella QFileInfoList files = directory.entryInfoList(QDir::AllDirs|QDir::NoDotAndDotDot|filters); - Q_FOREACH (QFileInfo file, files) { + for (int index = 0; index < files.size(); ++index ) { + const QFileInfo & file( files.at( index ) ); +#if QT_VERSION < QT_VERSION_CHECK(4, 7, 4) + if (!file.isDir()) + continue; +#endif // Comprimo la sotto cartella if(!compressSubDir(zip,file.absoluteFilePath(),origDir,recursive,filters)) return false; } @@ -111,7 +116,8 @@ // Per ogni file nella cartella QFileInfoList files = directory.entryInfoList(QDir::Files|filters); - Q_FOREACH (QFileInfo file, files) { + for (int index = 0; index < files.size(); ++index ) { + const QFileInfo & file( files.at( index ) ); // Se non e un file o e il file compresso che sto creando if(!file.isFile()||file.absoluteFilePath()==zip->getZipName()) continue; @@ -236,7 +242,8 @@ // Comprimo i file QFileInfo info; - Q_FOREACH (QString file, files) { + for (int index = 0; index < files.size(); ++index ) { + const QString & file( files.at( index ) ); info.setFile(file); if (!info.exists() || !compressFile(&zip,file,info.fileName())) { QFile::remove(fileCompressed); @@ -357,8 +364,9 @@ if(!zip.open(QuaZip::mdUnzip)) { return QStringList(); } - - QDir directory(dir); + QString cleanDir = QDir::cleanPath(dir); + QDir directory(cleanDir); + QString absCleanDir = directory.absolutePath(); QStringList extracted; if (!zip.goToFirstFile()) { return QStringList(); @@ -366,6 +374,9 @@ do { QString name = zip.getCurrentFileName(); QString absFilePath = directory.absoluteFilePath(name); + QString absCleanPath = QDir::cleanPath(absFilePath); + if (!absCleanPath.startsWith(absCleanDir + "/")) + continue; if (!extractFile(&zip, "", absFilePath)) { removeFile(extracted); return QStringList(); diff -Nru libquazip-0.7.3/quazip/minizip_crypt.h libquazip-0.7.6/quazip/minizip_crypt.h --- libquazip-0.7.3/quazip/minizip_crypt.h 1970-01-01 00:00:00.000000000 +0000 +++ libquazip-0.7.6/quazip/minizip_crypt.h 2018-06-13 15:51:21.000000000 +0000 @@ -0,0 +1,135 @@ +/* crypt.h -- base code for crypt/uncrypt ZIPfile + + + Version 1.01e, February 12th, 2005 + + Copyright (C) 1998-2005 Gilles Vollant + + This code is a modified version of crypting code in Infozip distribution + + The encryption/decryption parts of this source code (as opposed to the + non-echoing password parts) were originally written in Europe. The + whole source package can be freely distributed, including from the USA. + (Prior to January 2000, re-export from the US was a violation of US law.) + + This encryption code is a direct transcription of the algorithm from + Roger Schlafly, described by Phil Katz in the file appnote.txt. This + file (appnote.txt) is distributed with the PKZIP program (even in the + version without encryption capabilities). + + If you don't need crypting in your application, just define symbols + NOCRYPT and NOUNCRYPT. + + This code support the "Traditional PKWARE Encryption". + + The new AES encryption added on Zip format by Winzip (see the page + http://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong + Encryption is not supported. +*/ + +#include "quazip_global.h" + +#define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) + +/*********************************************************************** + * Return the next byte in the pseudo-random sequence + */ +static int decrypt_byte(unsigned long* pkeys, const z_crc_t FAR * pcrc_32_tab QUAZIP_UNUSED) +{ + //(void) pcrc_32_tab; /* avoid "unused parameter" warning */ + unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an + * unpredictable manner on 16-bit systems; not a problem + * with any known compiler so far, though */ + + temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; + return (int)(((temp * (temp ^ 1)) >> 8) & 0xff); +} + +/*********************************************************************** + * Update the encryption keys with the next byte of plain text + */ +static int update_keys(unsigned long* pkeys,const z_crc_t FAR * pcrc_32_tab,int c) +{ + (*(pkeys+0)) = CRC32((*(pkeys+0)), c); + (*(pkeys+1)) += (*(pkeys+0)) & 0xff; + (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; + { + register int keyshift = (int)((*(pkeys+1)) >> 24); + (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); + } + return c; +} + + +/*********************************************************************** + * Initialize the encryption keys and the random header according to + * the given password. + */ +static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t FAR * pcrc_32_tab) +{ + *(pkeys+0) = 305419896L; + *(pkeys+1) = 591751049L; + *(pkeys+2) = 878082192L; + while (*passwd != '\0') { + update_keys(pkeys,pcrc_32_tab,(int)*passwd); + passwd++; + } +} + +#define zdecode(pkeys,pcrc_32_tab,c) \ + (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) + +#define zencode(pkeys,pcrc_32_tab,c,t) \ + (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c)) + +#ifdef INCLUDECRYPTINGCODE_IFCRYPTALLOWED + +#define RAND_HEAD_LEN 12 + /* "last resort" source for second part of crypt seed pattern */ +# ifndef ZCR_SEED2 +# define ZCR_SEED2 3141592654UL /* use PI as default pattern */ +# endif + +static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting) + const char *passwd; /* password string */ + unsigned char *buf; /* where to write header */ + int bufSize; + unsigned long* pkeys; + const z_crc_t FAR * pcrc_32_tab; + unsigned long crcForCrypting; +{ + int n; /* index in random header */ + int t; /* temporary */ + int c; /* random byte */ + unsigned char header[RAND_HEAD_LEN-2]; /* random header */ + static unsigned calls = 0; /* ensure different random header each time */ + + if (bufSize> 7) & 0xff; + header[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, c, t); + } + /* Encrypt random header (last two bytes is high word of crc) */ + init_keys(passwd, pkeys, pcrc_32_tab); + for (n = 0; n < RAND_HEAD_LEN-2; n++) + { + buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t); + } + buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 16) & 0xff, t); + buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 24) & 0xff, t); + return n; +} + +#endif diff -Nru libquazip-0.7.3/quazip/quazip_global.h libquazip-0.7.6/quazip/quazip_global.h --- libquazip-0.7.3/quazip/quazip_global.h 2014-09-28 05:28:00.000000000 +0000 +++ libquazip-0.7.6/quazip/quazip_global.h 2018-06-13 15:51:21.000000000 +0000 @@ -48,9 +48,9 @@ #endif // QUAZIP_STATIC #ifdef __GNUC__ -#define UNUSED __attribute__((__unused__)) +#define QUAZIP_UNUSED __attribute__((__unused__)) #else -#define UNUSED +#define QUAZIP_UNUSED #endif #define QUAZIP_EXTRA_NTFS_MAGIC 0x000Au diff -Nru libquazip-0.7.3/quazip/quazip.pri libquazip-0.7.6/quazip/quazip.pri --- libquazip-0.7.3/quazip/quazip.pri 2013-03-07 17:37:55.000000000 +0000 +++ libquazip-0.7.6/quazip/quazip.pri 2018-06-13 15:51:21.000000000 +0000 @@ -1,7 +1,7 @@ INCLUDEPATH += $$PWD DEPENDPATH += $$PWD HEADERS += \ - $$PWD/crypt.h \ + $$PWD/minizip_crypt.h \ $$PWD/ioapi.h \ $$PWD/JlCompress.h \ $$PWD/quaadler32.h \ diff -Nru libquazip-0.7.3/quazip/quazip.pro libquazip-0.7.6/quazip/quazip.pro --- libquazip-0.7.3/quazip/quazip.pro 2015-07-31 15:20:04.000000000 +0000 +++ libquazip-0.7.6/quazip/quazip.pro 2018-06-13 15:51:21.000000000 +0000 @@ -2,6 +2,13 @@ CONFIG += qt warn_on QT -= gui +# Creating pkgconfig .pc file +CONFIG += create_prl no_install_prl create_pc + +QMAKE_PKGCONFIG_PREFIX = $$PREFIX +QMAKE_PKGCONFIG_INCDIR = $$headers.path +QMAKE_PKGCONFIG_REQUIRES = Qt5Core + # The ABI version. !win32:VERSION = 1.0.0 @@ -43,6 +50,7 @@ headers.path=$$PREFIX/include/quazip headers.files=$$HEADERS target.path=$$PREFIX/lib/$${LIB_ARCH} + QMAKE_PKGCONFIG_DESTDIR = pkgconfig INSTALLS += headers target OBJECTS_DIR=.obj @@ -53,8 +61,21 @@ win32 { headers.path=$$PREFIX/include/quazip headers.files=$$HEADERS - target.path=$$PREFIX/lib INSTALLS += headers target + CONFIG(staticlib){ + target.path=$$PREFIX/lib + QMAKE_PKGCONFIG_LIBDIR = $$PREFIX/lib/ + } else { + target.path=$$PREFIX/bin + QMAKE_PKGCONFIG_LIBDIR = $$PREFIX/bin/ + } + + ## odd, this path seems to be relative to the + ## target.path, so if we install the .dll into + ## the 'bin' dir, the .pc will go there as well, + ## unless have hack the needed path... + ## TODO any nicer solution? + QMAKE_PKGCONFIG_DESTDIR = ../lib/pkgconfig # workaround for qdatetime.h macro bug DEFINES += NOMINMAX } diff -Nru libquazip-0.7.3/quazip/quazip.vcproj libquazip-0.7.6/quazip/quazip.vcproj --- libquazip-0.7.3/quazip/quazip.vcproj 2012-12-16 05:41:24.000000000 +0000 +++ libquazip-0.7.6/quazip/quazip.vcproj 2018-06-13 15:51:21.000000000 +0000 @@ -168,7 +168,7 @@ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > - + @@ -180,4 +180,4 @@ - \ No newline at end of file + diff -Nru libquazip-0.7.3/quazip/quazip.vcxproj.filters libquazip-0.7.6/quazip/quazip.vcxproj.filters --- libquazip-0.7.3/quazip/quazip.vcxproj.filters 2013-03-01 14:54:29.000000000 +0000 +++ libquazip-0.7.6/quazip/quazip.vcxproj.filters 2018-06-13 15:51:21.000000000 +0000 @@ -15,7 +15,7 @@ - + Header Files @@ -114,4 +114,4 @@ Source Files - \ No newline at end of file + diff -Nru libquazip-0.7.3/quazip/unzip.c libquazip-0.7.6/quazip/unzip.c --- libquazip-0.7.3/quazip/unzip.c 2016-08-23 17:32:27.000000000 +0000 +++ libquazip-0.7.6/quazip/unzip.c 2018-06-13 15:51:21.000000000 +0000 @@ -15,6 +15,8 @@ For more info read MiniZip_info.txt + Modifications for static code analysis report + Copyright (C) 2016 Intel Deutschland GmbH ------------------------------------------------------------------------------------ Decryption code comes from crypt.c by Info-ZIP but has been greatly reduced in terms of @@ -28,7 +30,7 @@ If, for some reason, all these files are missing, the Info-ZIP license also may be found at: ftp://ftp.info-zip.org/pub/infozip/license.html - crypt.c (full version) by Info-ZIP. Last revised: [see crypt.h] + crypt.c (full version) by Info-ZIP. Last revised: [see minizip_crypt.h] The encryption/decryption parts of this source code (as opposed to the non-echoing password parts) were originally written in Europe. The @@ -197,7 +199,7 @@ #ifndef NOUNCRYPT -#include "crypt.h" +#include "minizip_crypt.h" #endif /* =========================================================================== @@ -1594,6 +1596,7 @@ pfile_in_zip_read_info->stream_initialised=Z_DEFLATED; else { + TRYFREE(pfile_in_zip_read_info->read_buffer); TRYFREE(pfile_in_zip_read_info); return err; } diff -Nru libquazip-0.7.3/quazip/zip.c libquazip-0.7.6/quazip/zip.c --- libquazip-0.7.3/quazip/zip.c 2016-08-23 18:35:38.000000000 +0000 +++ libquazip-0.7.6/quazip/zip.c 2018-06-13 15:51:21.000000000 +0000 @@ -12,6 +12,9 @@ Modifications for QIODevice support and other QuaZIP fixes Copyright (C) 2005-2014 Sergey A. Tachenov + Fixing static code analysis issues + Copyright (C) 2016 Intel Deutschland GmbH + Changes Oct-2009 - Mathias Svensson - Remove old C style function prototypes Oct-2009 - Mathias Svensson - Added Zip64 Support when creating new file archives @@ -192,7 +195,7 @@ #ifndef NOCRYPT #define INCLUDECRYPTINGCODE_IFCRYPTALLOWED -#include "crypt.h" +#include "minizip_crypt.h" #endif local linkedlist_datablock_internal* allocate_new_datablock() @@ -527,13 +530,14 @@ if (ZREAD64(*pzlib_filefunc_def,filestream,buf,uReadSize)!=uReadSize) break; - for (i=(int)uReadSize-3; (i--)>0;) + for (i=(int)uReadSize-3; (i--)>0;){ if (((*(buf+i))==0x50) && ((*(buf+i+1))==0x4b) && ((*(buf+i+2))==0x05) && ((*(buf+i+3))==0x06)) { uPosFound = uReadPos+i; break; } + } if (uPosFound!=0) break; @@ -1171,6 +1175,9 @@ zi->ci.size_centralExtraFree = 32; /* Extra space we have reserved in case we need to add ZIP64 extra info data */ zi->ci.central_header = (char*)ALLOC((uInt)zi->ci.size_centralheader + zi->ci.size_centralExtraFree); + if(!zi->ci.central_header) { + return (Z_MEM_ERROR); + } zi->ci.size_centralExtra = size_extrafield_global; zip64local_putValue_inmemory(zi->ci.central_header,(uLong)CENTRALHEADERMAGIC,4); @@ -2025,6 +2032,9 @@ return ZIP_PARAMERROR; pNewHeader = (char*)ALLOC(*dataLen); + if(!pNewHeader) { + return Z_MEM_ERROR; + } pTmp = pNewHeader; while(p < (pData + *dataLen)) diff -Nru libquazip-0.7.3/qztest/qztest.pro libquazip-0.7.6/qztest/qztest.pro --- libquazip-0.7.3/qztest/qztest.pro 2016-03-01 15:20:57.000000000 +0000 +++ libquazip-0.7.6/qztest/qztest.pro 2018-06-13 15:51:21.000000000 +0000 @@ -42,7 +42,7 @@ win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../quazip/release/ -lquazip else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/debug/ -lquazipd -else:mac:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/debug/ -lquazip_debug +else:mac:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../quazip/ -lquazip_debug else:unix: LIBS += -L$$OUT_PWD/../quazip/ -lquazip INCLUDEPATH += $$PWD/.. diff -Nru libquazip-0.7.3/qztest/testjlcompress.cpp libquazip-0.7.6/qztest/testjlcompress.cpp --- libquazip-0.7.3/qztest/testjlcompress.cpp 2016-11-03 14:33:41.000000000 +0000 +++ libquazip-0.7.6/qztest/testjlcompress.cpp 2018-06-13 15:51:21.000000000 +0000 @@ -34,7 +34,7 @@ #include #ifdef Q_OS_WIN -#include +#include #endif void TestJlCompress::compressFile_data() @@ -302,17 +302,25 @@ { QTest::addColumn("zipName"); QTest::addColumn("fileNames"); - QTest::newRow("simple") << "jlextdir.zip" << ( - QStringList() << "test0.txt" << "testdir1/test1.txt" + QTest::addColumn("expectedExtracted"); + QTest::newRow("simple") << "jlextdir.zip" + << (QStringList() << "test0.txt" << "testdir1/test1.txt" + << "testdir2/test2.txt" << "testdir2/subdir/test2sub.txt") + << (QStringList() << "test0.txt" << "testdir1/test1.txt" << "testdir2/test2.txt" << "testdir2/subdir/test2sub.txt"); - QTest::newRow("separate dir") << "sepdir.zip" << ( - QStringList() << "laj/" << "laj/lajfile.txt"); + QTest::newRow("separate dir") << "sepdir.zip" + << (QStringList() << "laj/" << "laj/lajfile.txt") + << (QStringList() << "laj/" << "laj/lajfile.txt"); + QTest::newRow("Zip Slip") << "zipslip.zip" + << (QStringList() << "test0.txt" << "../zipslip.txt") + << (QStringList() << "test0.txt"); } void TestJlCompress::extractDir() { QFETCH(QString, zipName); QFETCH(QStringList, fileNames); + QFETCH(QStringList, expectedExtracted); QDir curDir; if (!curDir.mkpath("jlext/jldir")) { QFAIL("Couldn't mkpath jlext/jldir"); @@ -325,9 +333,10 @@ } QStringList extracted; QCOMPARE((extracted = JlCompress::extractDir(zipName, "jlext/jldir")) - .count(), fileNames.count()); - foreach (QString fileName, fileNames) { - QString fullName = "jlext/jldir/" + fileName; + .count(), expectedExtracted.count()); + const QString dir = "jlext/jldir/"; + foreach (QString fileName, expectedExtracted) { + QString fullName = dir + fileName; QFileInfo fileInfo(fullName); QFileInfo extInfo("tmp/" + fileName); if (!fileInfo.isDir()) @@ -335,7 +344,7 @@ QCOMPARE(fileInfo.permissions(), extInfo.permissions()); curDir.remove(fullName); curDir.rmpath(fileInfo.dir().path()); - QString absolutePath = fileInfo.absoluteFilePath(); + QString absolutePath = QDir(dir).absoluteFilePath(fileName); if (fileInfo.isDir() && !absolutePath.endsWith('/')) absolutePath += '/'; QVERIFY(extracted.contains(absolutePath)); @@ -344,9 +353,9 @@ QFile zipFile(zipName); QVERIFY(zipFile.open(QIODevice::ReadOnly)); QCOMPARE((extracted = JlCompress::extractDir(&zipFile, "jlext/jldir")) - .count(), fileNames.count()); - foreach (QString fileName, fileNames) { - QString fullName = "jlext/jldir/" + fileName; + .count(), expectedExtracted.count()); + foreach (QString fileName, expectedExtracted) { + QString fullName = dir + fileName; QFileInfo fileInfo(fullName); QFileInfo extInfo("tmp/" + fileName); if (!fileInfo.isDir()) @@ -354,7 +363,7 @@ QCOMPARE(fileInfo.permissions(), extInfo.permissions()); curDir.remove(fullName); curDir.rmpath(fileInfo.dir().path()); - QString absolutePath = fileInfo.absoluteFilePath(); + QString absolutePath = QDir(dir).absoluteFilePath(fileName); if (fileInfo.isDir() && !absolutePath.endsWith('/')) absolutePath += '/'; QVERIFY(extracted.contains(absolutePath)); diff -Nru libquazip-0.7.3/README.md libquazip-0.7.6/README.md --- libquazip-0.7.3/README.md 1970-01-01 00:00:00.000000000 +0000 +++ libquazip-0.7.6/README.md 2018-06-13 15:51:21.000000000 +0000 @@ -0,0 +1,20 @@ +QuaZIP is the C++ wrapper for Gilles Vollant's ZIP/UNZIP package +(AKA Minizip) using Trolltech's Qt library. + +If you need to write files to a ZIP archive or read files from one +using QIODevice API, QuaZIP is exactly the kind of tool you need. + +See [the documentation](https://stachenov.github.io/quazip/) for details. + +Want to report a bug or ask for a feature? Open an [issue](https://github.com/stachenov/quazip/issues). + +Want to fix a bug or implement a new feature? See [CONTRIBUTING.md](CONTRIBUTING.md). + +Copyright notice: + +Copyright (C) 2005-2018 Sergey A. Tachenov + +Distributed under LGPL, full details in the COPYING file. + +Original ZIP package is copyrighted by Gilles Vollant, see +quazip/(un)zip.h files for details, but basically it's the zlib license. diff -Nru libquazip-0.7.3/README.txt libquazip-0.7.6/README.txt --- libquazip-0.7.3/README.txt 2017-01-02 06:00:52.000000000 +0000 +++ libquazip-0.7.6/README.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,70 +0,0 @@ -QuaZIP is the C++ wrapper for Gilles Vollant's ZIP/UNZIP package -(AKA minizip) using Trolltech's Qt library. - -It uses existing ZIP/UNZIP package C code and therefore depends on -the zlib library. - -Also, it depends on Qt 4. - -To compile it on UNIX dialect: - -$ cd quazip -$ qmake -$ make - -You must make sure that: -* You have Qt 4 properly and fully installed (including tools and - headers, not just library) -* "qmake" command runs Qt 4's qmake, not some other version (you'll have - to type full path to qmake otherwise). - -To install compiled shared library, just type: - -$ make install - -By default, it installs in /usr/local, but you may change it using - -$ qmake PREFIX=/wherever/you/want/to/install - -You do not have to compile and install QuaZIP to use it. You can just -(and sometimes it may be the best way) add QuaZIP's source files to your -project and use them. - -See doc/html or, if you do not have a browser, quazip/*.h and -quazip/doc/* files for the more detailed documentation. - -For Windows, it's essentially the same, but you may have to adjust -settings for different environments. - -If linking statically (either a static lib or just using the source code -directly in your project), then QUAZIP_STATIC should be defined. This is -done automatically when you build QuaZIP as a static library. However, -when _using_ a static lib (or source code, for that matter) you must -also define QUAZIP_STATIC in your project (that uses QuaZIP) to tell -quazip_global.h that you use a static version because otherwise the -compiler wouldn't know that and will mark QuaZIP symbols as dllimported. -Linking problems among the lines of “undefined reference” are usually -caused by this. - -Copyright notice: - -Copyright (C) 2005-2012 Sergey A. Tachenov - -This program is free software; you can redistribute it and/or modify it -under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation; either version 2 of the License, or (at -your option) any later version. - -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser -General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with this program; if not, write to the Free Software Foundation, -Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -See COPYING file for the full LGPL text. - -Original ZIP package is copyrighted by Gilles Vollant, see -quazip/(un)zip.h files for details, basically it's zlib license.