From 614e8cd5e9bd5308de36764b2ef11d6e4b7af02c Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Tue, 6 Sep 2016 16:03:10 +0100 Subject: [PATCH] Import merkaartor_0.18.3+ds.orig.tar.gz [dgit import orig merkaartor_0.18.3+ds.orig.tar.gz] --- .drone.sec | 1 + .drone.yml | 30 + .gitignore | 18 + .indent.pro | 1 + .travis.yml | 30 + .tx/config | 9 + .../INSTALL.TXT | 254 + .../LGPL_EXCEPTION.txt | 23 + .../LICENSE.GPL3 | 674 ++ .../LICENSE.LGPL | 504 ++ .../README.TXT | 7 + .../buildlib/buildlib.pro | 13 + .../common.pri | 6 + .../config.pri | 0 .../configure | 112 + .../doc/html/classic.css | 139 + .../doc/html/images/qt-logo.png | Bin 0 -> 4075 bytes .../doc/html/index.html | 48 + .../doc/html/qtlockedfile-members.html | 166 + .../doc/html/qtlockedfile.html | 111 + .../qtsingleapplication-example-loader.html | 184 + .../qtsingleapplication-example-trivial.html | 110 + .../doc/html/qtsingleapplication-members.html | 231 + .../html/qtsingleapplication-obsolete.html | 31 + .../doc/html/qtsingleapplication.dcf | 53 + .../doc/html/qtsingleapplication.html | 160 + .../doc/html/qtsingleapplication.index | 112 + .../doc/html/qtsingleapplication.qch | Bin 0 -> 52224 bytes .../doc/html/qtsingleapplication.qhp | 65 + ...singlecoreapplication-example-console.html | 127 + .../html/qtsinglecoreapplication-members.html | 126 + .../doc/html/qtsinglecoreapplication.html | 94 + .../doc/images/qt-logo.png | Bin 0 -> 4075 bytes .../doc/index.qdoc | 47 + .../examples/console/console.pro | 5 + .../examples/console/console.qdoc | 71 + .../examples/console/main.cpp | 95 + .../examples/examples.pro | 4 + .../examples/loader/file1.qsl | 1 + .../examples/loader/file2.qsl | 1 + .../examples/loader/loader.pro | 5 + .../examples/loader/loader.qdoc | 87 + .../examples/loader/main.cpp | 158 + .../examples/trivial/main.cpp | 84 + .../examples/trivial/trivial.pro | 5 + .../examples/trivial/trivial.qdoc | 82 + .../qtsingleapplication.pro | 6 + .../src/QtLockedFile | 1 + .../src/QtSingleApplication | 1 + .../src/qtlocalpeer.cpp | 209 + .../src/qtlocalpeer.h | 81 + .../src/qtlockedfile.cpp | 199 + .../src/qtlockedfile.h | 101 + .../src/qtlockedfile_unix.cpp | 121 + .../src/qtlockedfile_win.cpp | 216 + .../src/qtsingleapplication.cpp | 354 + .../src/qtsingleapplication.h | 105 + .../src/qtsingleapplication.pri | 16 + .../src/qtsinglecoreapplication.cpp | 155 + .../src/qtsinglecoreapplication.h | 73 + .../src/qtsinglecoreapplication.pri | 10 + 3rdparty/quazip-0.7/CMakeLists.txt | 54 + 3rdparty/quazip-0.7/COPYING | 458 ++ 3rdparty/quazip-0.7/Doxyfile | 1722 ++++ 3rdparty/quazip-0.7/FindQuaZip.cmake | 40 + 3rdparty/quazip-0.7/NEWS.txt | 149 + 3rdparty/quazip-0.7/README.txt | 66 + .../doc/html/JlCompress_8h_source.html | 131 + 3rdparty/quazip-0.7/doc/html/annotated.html | 78 + 3rdparty/quazip-0.7/doc/html/bc_s.png | Bin 0 -> 676 bytes 3rdparty/quazip-0.7/doc/html/bdwn.png | Bin 0 -> 147 bytes .../doc/html/classJlCompress-members.html | 69 + .../quazip-0.7/doc/html/classJlCompress.html | 475 ++ .../doc/html/classQuaAdler32-members.html | 67 + .../quazip-0.7/doc/html/classQuaAdler32.html | 194 + .../doc/html/classQuaAdler32__coll__graph.map | 3 + .../doc/html/classQuaAdler32__coll__graph.md5 | 1 + .../doc/html/classQuaAdler32__coll__graph.png | Bin 0 -> 3849 bytes .../html/classQuaAdler32__inherit__graph.map | 3 + .../html/classQuaAdler32__inherit__graph.md5 | 1 + .../html/classQuaAdler32__inherit__graph.png | Bin 0 -> 3849 bytes .../doc/html/classQuaChecksum32-members.html | 66 + .../doc/html/classQuaChecksum32.html | 197 + .../classQuaChecksum32__inherit__graph.map | 4 + .../classQuaChecksum32__inherit__graph.md5 | 1 + .../classQuaChecksum32__inherit__graph.png | Bin 0 -> 6444 bytes .../doc/html/classQuaCrc32-members.html | 67 + .../quazip-0.7/doc/html/classQuaCrc32.html | 194 + .../doc/html/classQuaCrc32__coll__graph.map | 3 + .../doc/html/classQuaCrc32__coll__graph.md5 | 1 + .../doc/html/classQuaCrc32__coll__graph.png | Bin 0 -> 3690 bytes .../html/classQuaCrc32__inherit__graph.map | 3 + .../html/classQuaCrc32__inherit__graph.md5 | 1 + .../html/classQuaCrc32__inherit__graph.png | Bin 0 -> 3690 bytes .../doc/html/classQuaGzipFile-members.html | 75 + .../quazip-0.7/doc/html/classQuaGzipFile.html | 349 + .../html/classQuaGzipFile__coll__graph.map | 2 + .../html/classQuaGzipFile__coll__graph.md5 | 1 + .../html/classQuaGzipFile__coll__graph.png | Bin 0 -> 3070 bytes .../html/classQuaGzipFile__inherit__graph.map | 2 + .../html/classQuaGzipFile__inherit__graph.md5 | 1 + .../html/classQuaGzipFile__inherit__graph.png | Bin 0 -> 3070 bytes .../doc/html/classQuaZIODevice-members.html | 71 + .../doc/html/classQuaZIODevice.html | 261 + .../html/classQuaZIODevice__coll__graph.map | 2 + .../html/classQuaZIODevice__coll__graph.md5 | 1 + .../html/classQuaZIODevice__coll__graph.png | Bin 0 -> 3294 bytes .../classQuaZIODevice__inherit__graph.map | 2 + .../classQuaZIODevice__inherit__graph.md5 | 1 + .../classQuaZIODevice__inherit__graph.png | Bin 0 -> 3294 bytes .../doc/html/classQuaZip-members.html | 118 + 3rdparty/quazip-0.7/doc/html/classQuaZip.html | 1203 +++ .../doc/html/classQuaZipDir-members.html | 94 + .../quazip-0.7/doc/html/classQuaZipDir.html | 669 ++ .../doc/html/classQuaZipFile-members.html | 95 + .../quazip-0.7/doc/html/classQuaZipFile.html | 1034 +++ .../html/classQuaZipFilePrivate-members.html | 63 + .../doc/html/classQuaZipFilePrivate.html | 77 + .../doc/html/classQuaZipFile__coll__graph.map | 2 + .../doc/html/classQuaZipFile__coll__graph.md5 | 1 + .../doc/html/classQuaZipFile__coll__graph.png | Bin 0 -> 2870 bytes .../html/classQuaZipFile__inherit__graph.map | 2 + .../html/classQuaZipFile__inherit__graph.md5 | 1 + .../html/classQuaZipFile__inherit__graph.png | Bin 0 -> 2870 bytes .../doc/html/classQuaZipPrivate-members.html | 65 + .../doc/html/classQuaZipPrivate.html | 77 + 3rdparty/quazip-0.7/doc/html/classes.html | 72 + 3rdparty/quazip-0.7/doc/html/closed.png | Bin 0 -> 132 bytes .../dir_94f3fdea1a650ed21d35813cdb37a339.html | 113 + ...r_94f3fdea1a650ed21d35813cdb37a339_dep.map | 3 + ...r_94f3fdea1a650ed21d35813cdb37a339_dep.md5 | 1 + ...r_94f3fdea1a650ed21d35813cdb37a339_dep.png | Bin 0 -> 1147 bytes 3rdparty/quazip-0.7/doc/html/doxygen.css | 1366 ++++ 3rdparty/quazip-0.7/doc/html/doxygen.png | Bin 0 -> 3779 bytes 3rdparty/quazip-0.7/doc/html/dynsections.js | 97 + 3rdparty/quazip-0.7/doc/html/faq.html | 58 + 3rdparty/quazip-0.7/doc/html/files.html | 74 + 3rdparty/quazip-0.7/doc/html/ftv2blank.png | Bin 0 -> 86 bytes 3rdparty/quazip-0.7/doc/html/ftv2cl.png | Bin 0 -> 453 bytes 3rdparty/quazip-0.7/doc/html/ftv2doc.png | Bin 0 -> 746 bytes .../quazip-0.7/doc/html/ftv2folderclosed.png | Bin 0 -> 616 bytes .../quazip-0.7/doc/html/ftv2folderopen.png | Bin 0 -> 597 bytes 3rdparty/quazip-0.7/doc/html/ftv2lastnode.png | Bin 0 -> 86 bytes 3rdparty/quazip-0.7/doc/html/ftv2link.png | Bin 0 -> 746 bytes .../quazip-0.7/doc/html/ftv2mlastnode.png | Bin 0 -> 246 bytes 3rdparty/quazip-0.7/doc/html/ftv2mnode.png | Bin 0 -> 246 bytes 3rdparty/quazip-0.7/doc/html/ftv2mo.png | Bin 0 -> 403 bytes 3rdparty/quazip-0.7/doc/html/ftv2node.png | Bin 0 -> 86 bytes 3rdparty/quazip-0.7/doc/html/ftv2ns.png | Bin 0 -> 388 bytes .../quazip-0.7/doc/html/ftv2plastnode.png | Bin 0 -> 229 bytes 3rdparty/quazip-0.7/doc/html/ftv2pnode.png | Bin 0 -> 229 bytes 3rdparty/quazip-0.7/doc/html/ftv2splitbar.png | Bin 0 -> 314 bytes 3rdparty/quazip-0.7/doc/html/ftv2vertline.png | Bin 0 -> 86 bytes 3rdparty/quazip-0.7/doc/html/functions.html | 97 + 3rdparty/quazip-0.7/doc/html/functions_b.html | 97 + 3rdparty/quazip-0.7/doc/html/functions_c.html | 160 + 3rdparty/quazip-0.7/doc/html/functions_d.html | 106 + 3rdparty/quazip-0.7/doc/html/functions_e.html | 130 + .../quazip-0.7/doc/html/functions_enum.html | 75 + .../quazip-0.7/doc/html/functions_eval.html | 93 + 3rdparty/quazip-0.7/doc/html/functions_f.html | 108 + .../quazip-0.7/doc/html/functions_func.html | 532 ++ 3rdparty/quazip-0.7/doc/html/functions_g.html | 180 + 3rdparty/quazip-0.7/doc/html/functions_h.html | 97 + 3rdparty/quazip-0.7/doc/html/functions_i.html | 122 + 3rdparty/quazip-0.7/doc/html/functions_m.html | 119 + 3rdparty/quazip-0.7/doc/html/functions_n.html | 102 + 3rdparty/quazip-0.7/doc/html/functions_o.html | 112 + 3rdparty/quazip-0.7/doc/html/functions_p.html | 100 + 3rdparty/quazip-0.7/doc/html/functions_q.html | 112 + 3rdparty/quazip-0.7/doc/html/functions_r.html | 107 + 3rdparty/quazip-0.7/doc/html/functions_s.html | 174 + 3rdparty/quazip-0.7/doc/html/functions_t.html | 97 + 3rdparty/quazip-0.7/doc/html/functions_u.html | 110 + 3rdparty/quazip-0.7/doc/html/functions_v.html | 107 + .../quazip-0.7/doc/html/functions_vars.html | 192 + 3rdparty/quazip-0.7/doc/html/functions_w.html | 99 + 3rdparty/quazip-0.7/doc/html/functions_z.html | 97 + 3rdparty/quazip-0.7/doc/html/functions_~.html | 109 + .../quazip-0.7/doc/html/graph_legend.html | 116 + 3rdparty/quazip-0.7/doc/html/graph_legend.md5 | 1 + 3rdparty/quazip-0.7/doc/html/graph_legend.png | Bin 0 -> 19871 bytes 3rdparty/quazip-0.7/doc/html/hierarchy.html | 81 + 3rdparty/quazip-0.7/doc/html/index.html | 130 + .../quazip-0.7/doc/html/inherit_graph_0.map | 3 + .../quazip-0.7/doc/html/inherit_graph_0.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_0.png | Bin 0 -> 1293 bytes .../quazip-0.7/doc/html/inherit_graph_1.map | 3 + .../quazip-0.7/doc/html/inherit_graph_1.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_1.png | Bin 0 -> 2239 bytes .../quazip-0.7/doc/html/inherit_graph_10.map | 3 + .../quazip-0.7/doc/html/inherit_graph_10.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_10.png | Bin 0 -> 1493 bytes .../quazip-0.7/doc/html/inherit_graph_2.map | 5 + .../quazip-0.7/doc/html/inherit_graph_2.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_2.png | Bin 0 -> 4633 bytes .../quazip-0.7/doc/html/inherit_graph_3.map | 5 + .../quazip-0.7/doc/html/inherit_graph_3.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_3.png | Bin 0 -> 7279 bytes .../quazip-0.7/doc/html/inherit_graph_4.map | 3 + .../quazip-0.7/doc/html/inherit_graph_4.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_4.png | Bin 0 -> 1124 bytes .../quazip-0.7/doc/html/inherit_graph_5.map | 3 + .../quazip-0.7/doc/html/inherit_graph_5.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_5.png | Bin 0 -> 1208 bytes .../quazip-0.7/doc/html/inherit_graph_6.map | 3 + .../quazip-0.7/doc/html/inherit_graph_6.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_6.png | Bin 0 -> 1492 bytes .../quazip-0.7/doc/html/inherit_graph_7.map | 3 + .../quazip-0.7/doc/html/inherit_graph_7.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_7.png | Bin 0 -> 1764 bytes .../quazip-0.7/doc/html/inherit_graph_8.map | 3 + .../quazip-0.7/doc/html/inherit_graph_8.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_8.png | Bin 0 -> 1772 bytes .../quazip-0.7/doc/html/inherit_graph_9.map | 3 + .../quazip-0.7/doc/html/inherit_graph_9.md5 | 1 + .../quazip-0.7/doc/html/inherit_graph_9.png | Bin 0 -> 1717 bytes 3rdparty/quazip-0.7/doc/html/inherits.html | 107 + 3rdparty/quazip-0.7/doc/html/nav_f.png | Bin 0 -> 153 bytes 3rdparty/quazip-0.7/doc/html/nav_g.png | Bin 0 -> 94 bytes 3rdparty/quazip-0.7/doc/html/nav_h.png | Bin 0 -> 98 bytes 3rdparty/quazip-0.7/doc/html/open.png | Bin 0 -> 123 bytes 3rdparty/quazip-0.7/doc/html/pages.html | 58 + .../doc/html/quaadler32_8h_source.html | 117 + .../doc/html/quachecksum32_8h_source.html | 110 + .../doc/html/quacrc32_8h_source.html | 113 + .../doc/html/quagzipfile_8h_source.html | 129 + .../doc/html/quaziodevice_8h_source.html | 118 + .../quazip-0.7/doc/html/quazip_8h_source.html | 225 + .../doc/html/quazip__global_8h_source.html | 111 + .../doc/html/quazipdir_8h_source.html | 166 + .../doc/html/quazipfile_8h_source.html | 183 + .../doc/html/quazipfileinfo_8h_source.html | 174 + .../doc/html/quazipnewinfo_8h_source.html | 147 + .../structQIODevice__descriptor-members.html | 64 + .../doc/html/structQIODevice__descriptor.html | 72 + .../html/structQuaZipFileInfo-members.html | 77 + .../doc/html/structQuaZipFileInfo.html | 160 + .../html/structQuaZipFileInfo64-members.html | 81 + .../doc/html/structQuaZipFileInfo64.html | 306 + .../doc/html/structQuaZipNewInfo-members.html | 81 + .../doc/html/structQuaZipNewInfo.html | 551 ++ 3rdparty/quazip-0.7/doc/html/sync_off.png | Bin 0 -> 853 bytes 3rdparty/quazip-0.7/doc/html/sync_on.png | Bin 0 -> 845 bytes 3rdparty/quazip-0.7/doc/html/tab_a.png | Bin 0 -> 142 bytes 3rdparty/quazip-0.7/doc/html/tab_b.png | Bin 0 -> 169 bytes 3rdparty/quazip-0.7/doc/html/tab_h.png | Bin 0 -> 177 bytes 3rdparty/quazip-0.7/doc/html/tab_s.png | Bin 0 -> 184 bytes 3rdparty/quazip-0.7/doc/html/tabs.css | 60 + 3rdparty/quazip-0.7/doc/html/usage.html | 70 + 3rdparty/quazip-0.7/doc/latex/annotated.tex | 18 + .../quazip-0.7/doc/latex/classJlCompress.tex | 274 + .../quazip-0.7/doc/latex/classQuaAdler32.tex | 108 + .../latex/classQuaAdler32__coll__graph.eps | 264 + .../latex/classQuaAdler32__coll__graph.md5 | 1 + .../latex/classQuaAdler32__inherit__graph.eps | 264 + .../latex/classQuaAdler32__inherit__graph.md5 | 1 + .../doc/latex/classQuaChecksum32.tex | 113 + .../classQuaChecksum32__inherit__graph.eps | 310 + .../classQuaChecksum32__inherit__graph.md5 | 1 + .../quazip-0.7/doc/latex/classQuaCrc32.tex | 108 + .../doc/latex/classQuaCrc32__coll__graph.eps | 264 + .../doc/latex/classQuaCrc32__coll__graph.md5 | 1 + .../latex/classQuaCrc32__inherit__graph.eps | 264 + .../latex/classQuaCrc32__inherit__graph.md5 | 1 + .../quazip-0.7/doc/latex/classQuaGzipFile.tex | 189 + .../latex/classQuaGzipFile__coll__graph.eps | 259 + .../latex/classQuaGzipFile__coll__graph.md5 | 1 + .../classQuaGzipFile__inherit__graph.eps | 259 + .../classQuaGzipFile__inherit__graph.md5 | 1 + .../doc/latex/classQuaZIODevice.tex | 156 + .../latex/classQuaZIODevice__coll__graph.eps | 259 + .../latex/classQuaZIODevice__coll__graph.md5 | 1 + .../classQuaZIODevice__inherit__graph.eps | 259 + .../classQuaZIODevice__inherit__graph.md5 | 1 + 3rdparty/quazip-0.7/doc/latex/classQuaZip.tex | 951 +++ .../quazip-0.7/doc/latex/classQuaZipDir.tex | 419 + .../quazip-0.7/doc/latex/classQuaZipFile.tex | 700 ++ .../doc/latex/classQuaZipFilePrivate.tex | 21 + .../latex/classQuaZipFile__coll__graph.eps | 259 + .../latex/classQuaZipFile__coll__graph.md5 | 1 + .../latex/classQuaZipFile__inherit__graph.eps | 259 + .../latex/classQuaZipFile__inherit__graph.md5 | 1 + .../doc/latex/classQuaZipPrivate.tex | 21 + .../dir_94f3fdea1a650ed21d35813cdb37a339.tex | 59 + ...r_94f3fdea1a650ed21d35813cdb37a339_dep.eps | 223 + ...r_94f3fdea1a650ed21d35813cdb37a339_dep.md5 | 1 + 3rdparty/quazip-0.7/doc/latex/doxygen.sty | 464 ++ 3rdparty/quazip-0.7/doc/latex/faq.tex | 14 + 3rdparty/quazip-0.7/doc/latex/hierarchy.tex | 22 + 3rdparty/quazip-0.7/doc/latex/index.tex | 85 + 3rdparty/quazip-0.7/doc/latex/refman.tex | 153 + .../doc/latex/structQIODevice__descriptor.tex | 13 + .../doc/latex/structQuaZipFileInfo.tex | 86 + .../doc/latex/structQuaZipFileInfo64.tex | 209 + .../doc/latex/structQuaZipNewInfo.tex | 360 + 3rdparty/quazip-0.7/doc/latex/usage.tex | 22 + 3rdparty/quazip-0.7/includes.pri | 10 + 3rdparty/quazip-0.7/quazip.pri | 3 + 3rdparty/quazip-0.7/quazip.pro | 3 + 3rdparty/quazip-0.7/quazip.sln | 26 + 3rdparty/quazip-0.7/quazip/CMakeLists.txt | 23 + 3rdparty/quazip-0.7/quazip/JlCompress.cpp | 522 ++ 3rdparty/quazip-0.7/quazip/JlCompress.h | 139 + 3rdparty/quazip-0.7/quazip/crypt.h | 135 + .../quazip/debian/libquazip0.symbols | 163 + 3rdparty/quazip-0.7/quazip/doc/faq.dox | 45 + 3rdparty/quazip-0.7/quazip/doc/index.dox | 177 + 3rdparty/quazip-0.7/quazip/doc/usage.dox | 77 + 3rdparty/quazip-0.7/quazip/ioapi.h | 207 + 3rdparty/quazip-0.7/quazip/qioapi.cpp | 361 + 3rdparty/quazip-0.7/quazip/quaadler32.cpp | 53 + 3rdparty/quazip-0.7/quazip/quaadler32.h | 54 + 3rdparty/quazip-0.7/quazip/quachecksum32.h | 78 + 3rdparty/quazip-0.7/quazip/quacrc32.cpp | 52 + 3rdparty/quazip-0.7/quazip/quacrc32.h | 50 + 3rdparty/quazip-0.7/quazip/quagzipfile.cpp | 172 + 3rdparty/quazip-0.7/quazip/quagzipfile.h | 108 + 3rdparty/quazip-0.7/quazip/quaziodevice.cpp | 320 + 3rdparty/quazip-0.7/quazip/quaziodevice.h | 98 + 3rdparty/quazip-0.7/quazip/quazip.cpp | 788 ++ 3rdparty/quazip-0.7/quazip/quazip.h | 571 ++ 3rdparty/quazip-0.7/quazip/quazip.pri | 33 + 3rdparty/quazip-0.7/quazip/quazip.pro | 81 + 3rdparty/quazip-0.7/quazip/quazip.sln | 20 + 3rdparty/quazip-0.7/quazip/quazip.vcproj | 314 + 3rdparty/quazip-0.7/quazip/quazip.vcxproj | 121 + .../quazip-0.7/quazip/quazip.vcxproj.filters | 117 + 3rdparty/quazip-0.7/quazip/quazip_global.h | 59 + 3rdparty/quazip-0.7/quazip/quazipdir.cpp | 567 ++ 3rdparty/quazip-0.7/quazip/quazipdir.h | 223 + 3rdparty/quazip-0.7/quazip/quazipfile.cpp | 502 ++ 3rdparty/quazip-0.7/quazip/quazipfile.h | 456 ++ 3rdparty/quazip-0.7/quazip/quazipfileinfo.cpp | 176 + 3rdparty/quazip-0.7/quazip/quazipfileinfo.h | 172 + 3rdparty/quazip-0.7/quazip/quazipnewinfo.cpp | 277 + 3rdparty/quazip-0.7/quazip/quazipnewinfo.h | 207 + 3rdparty/quazip-0.7/quazip/run_moc.bat | 3 + 3rdparty/quazip-0.7/quazip/unzip.c | 2155 +++++ 3rdparty/quazip-0.7/quazip/unzip.h | 458 ++ 3rdparty/quazip-0.7/quazip/zip.c | 2103 +++++ 3rdparty/quazip-0.7/quazip/zip.h | 390 + 3rdparty/quazip-0.7/qztest/coverage.sh | 3 + 3rdparty/quazip-0.7/qztest/qztest.cpp | 231 + 3rdparty/quazip-0.7/qztest/qztest.h | 49 + 3rdparty/quazip-0.7/qztest/qztest.pro | 46 + 3rdparty/quazip-0.7/qztest/qztest.sln | 26 + 3rdparty/quazip-0.7/qztest/qztest.vcproj | 293 + 3rdparty/quazip-0.7/qztest/qztest.vcxproj | 132 + .../quazip-0.7/qztest/qztest.vcxproj.filters | 94 + 3rdparty/quazip-0.7/qztest/run_moc.bat | 7 + 3rdparty/quazip-0.7/qztest/testjlcompress.cpp | 316 + 3rdparty/quazip-0.7/qztest/testjlcompress.h | 48 + .../quazip-0.7/qztest/testquachecksum32.cpp | 50 + .../quazip-0.7/qztest/testquachecksum32.h | 37 + .../quazip-0.7/qztest/testquagzipfile.cpp | 79 + 3rdparty/quazip-0.7/qztest/testquagzipfile.h | 38 + .../quazip-0.7/qztest/testquaziodevice.cpp | 83 + 3rdparty/quazip-0.7/qztest/testquaziodevice.h | 37 + 3rdparty/quazip-0.7/qztest/testquazip.cpp | 441 + 3rdparty/quazip-0.7/qztest/testquazip.h | 55 + 3rdparty/quazip-0.7/qztest/testquazipdir.cpp | 348 + 3rdparty/quazip-0.7/qztest/testquazipdir.h | 42 + 3rdparty/quazip-0.7/qztest/testquazipfile.cpp | 512 ++ 3rdparty/quazip-0.7/qztest/testquazipfile.h | 51 + .../quazip-0.7/qztest/testquazipfileinfo.cpp | 108 + .../quazip-0.7/qztest/testquazipfileinfo.h | 15 + .../quazip-0.7/qztest/testquazipnewinfo.cpp | 146 + .../quazip-0.7/qztest/testquazipnewinfo.h | 15 + AUTHORS | 30 + CHANGELOG | 964 +++ COMPILE.md | 224 + CREDITS | 5 + HACKING.md | 76 + Icons/128x128/merkaartor.png | Bin 0 -> 33958 bytes Icons/16x16/merkaartor.png | Bin 0 -> 1030 bytes Icons/192x192/merkaartor.png | Bin 0 -> 68817 bytes Icons/22x22/merkaartor.png | Bin 0 -> 1624 bytes Icons/24x24/merkaartor.png | Bin 0 -> 1849 bytes Icons/256x256/merkaartor.png | Bin 0 -> 113391 bytes Icons/32x32/merkaartor.png | Bin 0 -> 2972 bytes Icons/36x36/merkaartor.png | Bin 0 -> 3640 bytes Icons/40x40/merkaartor.png | Bin 0 -> 4364 bytes Icons/42x42/merkaartor.png | Bin 0 -> 4746 bytes Icons/48x48/merkaartor.png | Bin 0 -> 5671 bytes Icons/512x512/merkaartor.png | Bin 0 -> 384401 bytes Icons/64x64/merkaartor.png | Bin 0 -> 10057 bytes Icons/72x72/merkaartor.png | Bin 0 -> 12385 bytes Icons/80x80/merkaartor.png | Bin 0 -> 14910 bytes Icons/8x8/merkaartor.png | Bin 0 -> 555 bytes Icons/96x96/merkaartor.png | Bin 0 -> 20628 bytes Icons/AllIcons.qrc | 398 + Icons/Frisius.xpm | 503 ++ Icons/Frisius_100x100.png | Bin 0 -> 21845 bytes Icons/Frisius_16x16.ico | Bin 0 -> 1406 bytes Icons/Frisius_48x48.ico | Bin 0 -> 7358 bytes Icons/Frisius_large.xcf | Bin 0 -> 886313 bytes Icons/Frisius_splash.png | Bin 0 -> 185308 bytes Icons/Frisius_splash.xcf | Bin 0 -> 277427 bytes Icons/Gps_Marker.svg | 81 + Icons/Grab.png | Bin 0 -> 3418 bytes Icons/Mapnik/aerodrome.p.16.png | Bin 0 -> 377 bytes Icons/Mapnik/aerodrome.png | Bin 0 -> 888 bytes Icons/Mapnik/aiga_parking1.png | Bin 0 -> 1542 bytes Icons/Mapnik/airport.p.16.png | Bin 0 -> 389 bytes Icons/Mapnik/airport.png | Bin 0 -> 903 bytes Icons/Mapnik/arrow.png | Bin 0 -> 320 bytes Icons/Mapnik/arrow_back.png | Bin 0 -> 353 bytes Icons/Mapnik/atm.png | Bin 0 -> 222 bytes Icons/Mapnik/atm2.p.16.png | Bin 0 -> 437 bytes Icons/Mapnik/bank2.p.16.png | Bin 0 -> 410 bytes Icons/Mapnik/bar.p.20.png | Bin 0 -> 459 bytes Icons/Mapnik/beach.png | Bin 0 -> 162 bytes Icons/Mapnik/bus_stop.p.12.png | Bin 0 -> 353 bytes Icons/Mapnik/bus_stop.png | Bin 0 -> 904 bytes Icons/Mapnik/cable_car.png | Bin 0 -> 229 bytes Icons/Mapnik/cafe.p.16.png | Bin 0 -> 361 bytes Icons/Mapnik/camping.n.16.png | Bin 0 -> 517 bytes Icons/Mapnik/chair_lift.png | Bin 0 -> 230 bytes Icons/Mapnik/christian3.p.14.png | Bin 0 -> 252 bytes Icons/Mapnik/cinema.p.24.png | Bin 0 -> 791 bytes Icons/Mapnik/cliff.png | Bin 0 -> 26214 bytes Icons/Mapnik/cliff2.png | Bin 0 -> 26214 bytes Icons/Mapnik/communications.p.20.png | Bin 0 -> 445 bytes Icons/Mapnik/danger.png | Bin 0 -> 146 bytes Icons/Mapnik/food_bar.p.16.png | Bin 0 -> 376 bytes Icons/Mapnik/forest.png | Bin 0 -> 124 bytes Icons/Mapnik/fuel.p.16.png | Bin 0 -> 306 bytes Icons/Mapnik/gate.png | Bin 0 -> 106 bytes Icons/Mapnik/gate2.png | Bin 0 -> 111 bytes Icons/Mapnik/glacier.png | Bin 0 -> 122 bytes Icons/Mapnik/glacier2.png | Bin 0 -> 199 bytes Icons/Mapnik/grave_yard.png | Bin 0 -> 291 bytes Icons/Mapnik/halt.png | Bin 0 -> 94 bytes Icons/Mapnik/hospital.p.16.png | Bin 0 -> 557 bytes Icons/Mapnik/hospital.png | Bin 0 -> 491 bytes Icons/Mapnik/hotel2.p.20.png | Bin 0 -> 368 bytes Icons/Mapnik/islamic3.p.16.png | Bin 0 -> 387 bytes Icons/Mapnik/jewish3.p.16.png | Bin 0 -> 397 bytes Icons/Mapnik/landfill.png | Bin 0 -> 122 bytes Icons/Mapnik/level_crossing.png | Bin 0 -> 124 bytes Icons/Mapnik/level_crossing2.png | Bin 0 -> 154 bytes Icons/Mapnik/library.p.20.png | Bin 0 -> 715 bytes Icons/Mapnik/london-tube-24.png | Bin 0 -> 621 bytes Icons/Mapnik/marsh.png | Bin 0 -> 621 bytes Icons/Mapnik/mini_round.png | Bin 0 -> 26852 bytes Icons/Mapnik/mosque.png | Bin 0 -> 1023 bytes Icons/Mapnik/motorway_shield1.png | Bin 0 -> 176 bytes Icons/Mapnik/motorway_shield2.png | Bin 0 -> 256 bytes Icons/Mapnik/motorway_shield3.png | Bin 0 -> 251 bytes Icons/Mapnik/motorway_shield4.png | Bin 0 -> 239 bytes Icons/Mapnik/motorway_shield5.png | Bin 0 -> 205 bytes Icons/Mapnik/motorway_shield6.png | Bin 0 -> 207 bytes Icons/Mapnik/mud.png | Bin 0 -> 104 bytes Icons/Mapnik/museum.p.16.png | Bin 0 -> 311 bytes Icons/Mapnik/nature_reserve.png | Bin 0 -> 141 bytes Icons/Mapnik/nature_reserve2.png | Bin 0 -> 170 bytes Icons/Mapnik/parking.p.16.png | Bin 0 -> 312 bytes Icons/Mapnik/parking.png | Bin 0 -> 409 bytes Icons/Mapnik/peak.png | Bin 0 -> 119 bytes Icons/Mapnik/pint.png | Bin 0 -> 486 bytes Icons/Mapnik/place_of_worship.png | Bin 0 -> 209 bytes Icons/Mapnik/place_of_worship3.p.16.png | Bin 0 -> 190 bytes Icons/Mapnik/place_of_worship3.png | Bin 0 -> 103 bytes Icons/Mapnik/post_box.p.16.png | Bin 0 -> 367 bytes Icons/Mapnik/post_box.png | Bin 0 -> 337 bytes Icons/Mapnik/post_office.p.16.png | Bin 0 -> 494 bytes Icons/Mapnik/post_office.png | Bin 0 -> 413 bytes Icons/Mapnik/postoffice.png | Bin 0 -> 297 bytes Icons/Mapnik/power_line.png | Bin 0 -> 131 bytes Icons/Mapnik/power_tower.png | Bin 0 -> 115 bytes Icons/Mapnik/power_wind.png | Bin 0 -> 638 bytes Icons/Mapnik/primary_shield1.png | Bin 0 -> 175 bytes Icons/Mapnik/primary_shield2.png | Bin 0 -> 181 bytes Icons/Mapnik/primary_shield3.png | Bin 0 -> 181 bytes Icons/Mapnik/primary_shield4.png | Bin 0 -> 197 bytes Icons/Mapnik/primary_shield5.png | Bin 0 -> 197 bytes Icons/Mapnik/primary_shield6.png | Bin 0 -> 199 bytes Icons/Mapnik/primary_shield7.png | Bin 0 -> 199 bytes Icons/Mapnik/primary_shield8.png | Bin 0 -> 207 bytes Icons/Mapnik/pub.p.16.png | Bin 0 -> 433 bytes Icons/Mapnik/pub.png | Bin 0 -> 307 bytes Icons/Mapnik/quarry.png | Bin 0 -> 131 bytes Icons/Mapnik/quarry2.png | Bin 0 -> 139 bytes Icons/Mapnik/recycle.png | Bin 0 -> 1118 bytes Icons/Mapnik/recycling.p.16.png | Bin 0 -> 562 bytes Icons/Mapnik/recycling.png | Bin 0 -> 645 bytes Icons/Mapnik/restaurant.p.16.png | Bin 0 -> 502 bytes Icons/Mapnik/scrub.png | Bin 0 -> 166 bytes Icons/Mapnik/secondary_shield1.png | Bin 0 -> 168 bytes Icons/Mapnik/secondary_shield2.png | Bin 0 -> 174 bytes Icons/Mapnik/secondary_shield3.png | Bin 0 -> 176 bytes Icons/Mapnik/secondary_shield4.png | Bin 0 -> 191 bytes Icons/Mapnik/secondary_shield5.png | Bin 0 -> 194 bytes Icons/Mapnik/secondary_shield6.png | Bin 0 -> 196 bytes Icons/Mapnik/secondary_shield7.png | Bin 0 -> 195 bytes Icons/Mapnik/secondary_shield8.png | Bin 0 -> 202 bytes Icons/Mapnik/sikh.png | Bin 0 -> 1297 bytes Icons/Mapnik/sikh3.p.16.png | Bin 0 -> 400 bytes Icons/Mapnik/station.png | Bin 0 -> 95 bytes Icons/Mapnik/station_small.png | Bin 0 -> 95 bytes Icons/Mapnik/synagogue.png | Bin 0 -> 376 bytes Icons/Mapnik/telephone.p.16.png | Bin 0 -> 444 bytes Icons/Mapnik/tertiary_shield1.png | Bin 0 -> 176 bytes Icons/Mapnik/tertiary_shield2.png | Bin 0 -> 182 bytes Icons/Mapnik/tertiary_shield3.png | Bin 0 -> 184 bytes Icons/Mapnik/tertiary_shield4.png | Bin 0 -> 204 bytes Icons/Mapnik/tertiary_shield5.png | Bin 0 -> 204 bytes Icons/Mapnik/tertiary_shield6.png | Bin 0 -> 206 bytes Icons/Mapnik/tertiary_shield7.png | Bin 0 -> 206 bytes Icons/Mapnik/tertiary_shield8.png | Bin 0 -> 214 bytes Icons/Mapnik/toilets.p.20.png | Bin 0 -> 586 bytes Icons/Mapnik/tower.png | Bin 0 -> 327 bytes Icons/Mapnik/tree.png | Bin 0 -> 102 bytes Icons/Mapnik/trunk_shield1.png | Bin 0 -> 175 bytes Icons/Mapnik/trunk_shield2.png | Bin 0 -> 181 bytes Icons/Mapnik/trunk_shield3.png | Bin 0 -> 184 bytes Icons/Mapnik/trunk_shield4.png | Bin 0 -> 202 bytes Icons/Mapnik/trunk_shield5.png | Bin 0 -> 202 bytes Icons/Mapnik/trunk_shield6.png | Bin 0 -> 205 bytes Icons/Mapnik/trunk_shield7.png | Bin 0 -> 204 bytes Icons/Mapnik/trunk_shield8.png | Bin 0 -> 212 bytes Icons/Mapnik/turning_circle.13.png | Bin 0 -> 280 bytes Icons/Mapnik/turning_circle.15.png | Bin 0 -> 332 bytes Icons/Mapnik/turning_circle.17.png | Bin 0 -> 379 bytes Icons/Mapnik/turning_circle.19.png | Bin 0 -> 361 bytes Icons/Mapnik/vineyard.png | Bin 0 -> 149 bytes Icons/Mapnik/windmill.png | Bin 0 -> 186 bytes Icons/Mapnik/zoo.png | Bin 0 -> 129 bytes Icons/Merkaartor.xpm | 509 ++ Icons/Merkaartor_100x100.png | Bin 0 -> 21054 bytes Icons/Merkaartor_16x16.ico | Bin 0 -> 1406 bytes Icons/Merkaartor_48x48.ico | Bin 0 -> 7358 bytes Icons/Merkaartor_installer.bmp | Bin 0 -> 154542 bytes Icons/Merkaartor_large.xcf | Bin 0 -> 706744 bytes Icons/Merkaartor_splash.png | Bin 0 -> 158856 bytes Icons/Merkaartor_splash.xcf | Bin 0 -> 252900 bytes Icons/Places/place_hamlet.png | Bin 0 -> 259 bytes Icons/Places/place_town.png | Bin 0 -> 231 bytes Icons/Places/place_village.png | Bin 0 -> 329 bytes Icons/QToolBarDialog/back.png | Bin 0 -> 678 bytes Icons/QToolBarDialog/down.png | Bin 0 -> 594 bytes Icons/QToolBarDialog/forward.png | Bin 0 -> 655 bytes Icons/QToolBarDialog/minus.png | Bin 0 -> 250 bytes Icons/QToolBarDialog/plus.png | Bin 0 -> 462 bytes Icons/QToolBarDialog/qttoolbardialog.qrc | 10 + Icons/QToolBarDialog/up.png | Bin 0 -> 692 bytes Icons/Tiles/000.png | Bin 0 -> 11397 bytes Icons/Tiles/100.png | Bin 0 -> 10990 bytes Icons/Tiles/101.png | Bin 0 -> 5420 bytes Icons/Tiles/110.png | Bin 0 -> 11889 bytes Icons/Tiles/111.png | Bin 0 -> 4851 bytes Icons/actions/GPS.png | Bin 0 -> 695 bytes Icons/actions/align_nodes.png | Bin 0 -> 912 bytes Icons/actions/axisalign.png | Bin 0 -> 3701 bytes Icons/actions/break_apart_roads.png | Bin 0 -> 1289 bytes Icons/actions/build_bridge.png | Bin 0 -> 305 bytes Icons/actions/camera.png | Bin 0 -> 580 bytes Icons/actions/create_area.png | Bin 0 -> 932 bytes Icons/actions/create_node.png | Bin 0 -> 618 bytes Icons/actions/create_road.png | Bin 0 -> 916 bytes Icons/actions/detach_node.png | Bin 0 -> 802 bytes Icons/actions/document_import.png | Bin 0 -> 851 bytes Icons/actions/document_new.png | Bin 0 -> 873 bytes Icons/actions/document_open.png | Bin 0 -> 796 bytes Icons/actions/download.png | Bin 0 -> 1146 bytes Icons/actions/download_more.png | Bin 0 -> 997 bytes Icons/actions/edit-cut.png | Bin 0 -> 1177 bytes Icons/actions/edit_copy.png | Bin 0 -> 644 bytes Icons/actions/edit_delete.png | Bin 0 -> 670 bytes Icons/actions/edit_move.png | Bin 0 -> 1028 bytes Icons/actions/edit_paste.png | Bin 0 -> 816 bytes Icons/actions/edit_paste_tags.png | Bin 0 -> 1033 bytes Icons/actions/edit_rotate.png | Bin 0 -> 869 bytes Icons/actions/edit_rotate.svg | 565 ++ Icons/actions/emblem-important.png | Bin 0 -> 717 bytes Icons/actions/emblem-unreadable.png | Bin 0 -> 669 bytes Icons/actions/find.png | Bin 0 -> 1030 bytes Icons/actions/goto.png | Bin 0 -> 591 bytes Icons/actions/join_areas.png | Bin 0 -> 3649 bytes Icons/actions/join_roads.png | Bin 0 -> 917 bytes Icons/actions/list-add.png | Bin 0 -> 386 bytes Icons/actions/list-remove.png | Bin 0 -> 252 bytes Icons/actions/offline.png | Bin 0 -> 807 bytes Icons/actions/preferences.png | Bin 0 -> 1255 bytes Icons/actions/redo.png | Bin 0 -> 513 bytes Icons/actions/reverse_road.png | Bin 0 -> 652 bytes Icons/actions/save.png | Bin 0 -> 798 bytes Icons/actions/select.png | Bin 0 -> 888 bytes Icons/actions/software-update-available.png | Bin 0 -> 740 bytes Icons/actions/split_area.png | Bin 0 -> 1126 bytes Icons/actions/split_road.png | Bin 0 -> 823 bytes Icons/actions/spread_nodes.png | Bin 0 -> 977 bytes Icons/actions/subdivide_road.png | Bin 0 -> 977 bytes Icons/actions/terrace_building.png | Bin 0 -> 1198 bytes Icons/actions/transform-move.png | Bin 0 -> 638 bytes Icons/actions/transform-rotate.png | Bin 0 -> 863 bytes Icons/actions/transform-scale.png | Bin 0 -> 902 bytes Icons/actions/undo.png | Bin 0 -> 512 bytes Icons/actions/upload.png | Bin 0 -> 1038 bytes Icons/actions/zoom_fit_best.png | Bin 0 -> 1203 bytes Icons/actions/zoom_in.png | Bin 0 -> 1191 bytes Icons/actions/zoom_out.png | Bin 0 -> 1173 bytes Icons/add.xpm | 30 + Icons/dialog-error.png | Bin 0 -> 1645 bytes Icons/dialog-warning.png | Bin 0 -> 1391 bytes Icons/edit-copy.png | Bin 0 -> 725 bytes Icons/edit-cut.png | Bin 0 -> 1177 bytes Icons/edit-paste.png | Bin 0 -> 773 bytes Icons/edit-redo.xpm | 98 + Icons/edit-undo.xpm | 109 + Icons/emblem-readonly.png | Bin 0 -> 430 bytes Icons/empty.xpm | 44 + Icons/eye.xpm | 44 + Icons/frisius-win32.rc | 1 + Icons/geotagged.png | Bin 0 -> 213 bytes Icons/grabbing.png | Bin 0 -> 3397 bytes .../map-icons/classic.small/accommodation.png | Bin 0 -> 474 bytes .../classic.small/accommodation/camping.png | Bin 0 -> 517 bytes .../accommodation/camping/caravan.png | Bin 0 -> 529 bytes .../accommodation/camping/dump-station.png | Bin 0 -> 654 bytes .../accommodation/camping/gas-refill.png | Bin 0 -> 460 bytes .../accommodation/camping/hookup.png | Bin 0 -> 436 bytes .../accommodation/camping/trash.png | Bin 0 -> 439 bytes .../accommodation/camping/wastewater.png | Bin 0 -> 548 bytes .../accommodation/camping/water.png | Bin 0 -> 471 bytes .../classic.small/accommodation/chalet.png | Bin 0 -> 582 bytes .../accommodation/guest_house.png | Bin 0 -> 629 bytes .../classic.small/accommodation/hostel.png | Bin 0 -> 520 bytes .../classic.small/accommodation/hotel.png | Bin 0 -> 474 bytes .../accommodation/hotel/five_star.png | Bin 0 -> 454 bytes .../accommodation/hotel/four_star.png | Bin 0 -> 441 bytes .../accommodation/hotel/one_star.png | Bin 0 -> 401 bytes .../accommodation/hotel/three_star.png | Bin 0 -> 428 bytes .../accommodation/hotel/two_star.png | Bin 0 -> 419 bytes .../classic.small/accommodation/motel.png | Bin 0 -> 535 bytes .../accommodation/shelter-bw.png | Bin 0 -> 643 bytes .../classic.small/accommodation/shelter.png | Bin 0 -> 1032 bytes Icons/map-icons/classic.small/education.png | Bin 0 -> 598 bytes .../classic.small/education/college.png | Bin 0 -> 549 bytes .../classic.small/education/kindergarten.png | Bin 0 -> 679 bytes .../classic.small/education/school.png | Bin 0 -> 487 bytes .../education/school/primary.png | Bin 0 -> 255 bytes .../classic.small/education/university.png | Bin 0 -> 432 bytes Icons/map-icons/classic.small/empty.png | Bin 0 -> 333 bytes Icons/map-icons/classic.small/food.png | Bin 0 -> 817 bytes .../classic.small/food/bacon_and_eggs.png | Bin 0 -> 957 bytes Icons/map-icons/classic.small/food/bar.png | Bin 0 -> 381 bytes .../classic.small/food/biergarten.png | Bin 0 -> 946 bytes Icons/map-icons/classic.small/food/cafe.png | Bin 0 -> 859 bytes .../classic.small/food/drinking_water.png | Bin 0 -> 656 bytes .../map-icons/classic.small/food/fastfood.png | Bin 0 -> 912 bytes .../food/fastfood/burger-king.png | Bin 0 -> 991 bytes .../food/fastfood/mc-donalds.png | Bin 0 -> 952 bytes .../map-icons/classic.small/food/icecream.png | Bin 0 -> 834 bytes Icons/map-icons/classic.small/food/pub.png | Bin 0 -> 307 bytes .../classic.small/food/restaurant.png | Bin 0 -> 201 bytes .../food/restaurant/japanese.png | Bin 0 -> 933 bytes Icons/map-icons/classic.small/food/snacks.png | Bin 0 -> 827 bytes .../classic.small/food/snacks/pizza.png | Bin 0 -> 958 bytes .../map-icons/classic.small/food/teashop.png | Bin 0 -> 200 bytes .../classic.small/food/wine_tavern.png | Bin 0 -> 854 bytes Icons/map-icons/classic.small/geocache.png | Bin 0 -> 590 bytes Icons/map-icons/classic.small/health.png | Bin 0 -> 264 bytes .../classic.small/health/dentist.png | Bin 0 -> 669 bytes .../map-icons/classic.small/health/doctor.png | Bin 0 -> 439 bytes .../classic.small/health/emergency.png | Bin 0 -> 507 bytes .../classic.small/health/eye_specialist.png | Bin 0 -> 873 bytes .../classic.small/health/hospital.png | Bin 0 -> 531 bytes .../classic.small/health/optician.png | Bin 0 -> 831 bytes .../classic.small/health/pharmacy.png | Bin 0 -> 441 bytes .../classic.small/health/veterinary.png | Bin 0 -> 1019 bytes .../classic.small/incomming/Broad.png | Bin 0 -> 78 bytes .../classic.small/incomming/OLmarker.png | Bin 0 -> 542 bytes .../classic.small/incomming/amenity.png | Bin 0 -> 106 bytes .../classic.small/incomming/aroad.png | Bin 0 -> 78 bytes .../classic.small/incomming/bridleway.png | Bin 0 -> 77 bytes .../classic.small/incomming/byway.png | Bin 0 -> 77 bytes .../classic.small/incomming/contours.png | Bin 0 -> 193 bytes .../classic.small/incomming/footpath.png | Bin 0 -> 77 bytes .../classic.small/incomming/fwpbr.png | Bin 0 -> 78 bytes .../classic.small/incomming/industry.png | Bin 0 -> 162 bytes .../classic.small/incomming/interest.png | Bin 0 -> 141 bytes .../incomming/london-tube-24.png | Bin 0 -> 621 bytes .../classic.small/incomming/minorroad.png | Bin 0 -> 77 bytes .../incomming/motorway_shield2.png | Bin 0 -> 251 bytes .../incomming/motorway_shield3.png | Bin 0 -> 239 bytes .../map-icons/classic.small/incomming/one.png | Bin 0 -> 106 bytes .../classic.small/incomming/pbridleway.png | Bin 0 -> 70 bytes .../classic.small/incomming/place.png | Bin 0 -> 184 bytes .../classic.small/incomming/railway.png | Bin 0 -> 77 bytes .../classic.small/incomming/road.png | Bin 0 -> 78 bytes .../classic.small/incomming/station.png | Bin 0 -> 381 bytes .../classic.small/incomming/stationnew.png | Bin 0 -> 175 bytes .../classic.small/incomming/three.png | Bin 0 -> 110 bytes .../map-icons/classic.small/incomming/two.png | Bin 0 -> 101 bytes Icons/map-icons/classic.small/misc.png | Bin 0 -> 831 bytes Icons/map-icons/classic.small/misc/bunny.png | Bin 0 -> 760 bytes .../classic.small/misc/butterfly.png | Bin 0 -> 829 bytes .../classic.small/misc/construction.png | Bin 0 -> 456 bytes Icons/map-icons/classic.small/misc/danger.png | Bin 0 -> 644 bytes .../classic.small/misc/deprecated.png | Bin 0 -> 650 bytes Icons/map-icons/classic.small/misc/door.png | Bin 0 -> 320 bytes .../classic.small/misc/housenumber.png | Bin 0 -> 428 bytes .../classic.small/misc/information.png | Bin 0 -> 495 bytes .../map-icons/classic.small/misc/landmark.png | Bin 0 -> 302 bytes .../classic.small/misc/landmark/barn.png | Bin 0 -> 495 bytes .../classic.small/misc/landmark/beacon.png | Bin 0 -> 356 bytes .../classic.small/misc/landmark/building.png | Bin 0 -> 434 bytes .../classic.small/misc/landmark/bunker.png | Bin 0 -> 471 bytes .../classic.small/misc/landmark/chimney.png | Bin 0 -> 331 bytes .../classic.small/misc/landmark/crane.png | Bin 0 -> 527 bytes .../classic.small/misc/landmark/farm.png | Bin 0 -> 651 bytes .../classic.small/misc/landmark/gasometer.png | Bin 0 -> 543 bytes .../classic.small/misc/landmark/glacier.png | Bin 0 -> 314 bytes .../misc/landmark/glacier_small.png | Bin 0 -> 283 bytes .../misc/landmark/lighthouse.png | Bin 0 -> 537 bytes .../classic.small/misc/landmark/mine.png | Bin 0 -> 648 bytes .../misc/landmark/mountain_pass.png | Bin 0 -> 507 bytes .../classic.small/misc/landmark/peak.png | Bin 0 -> 366 bytes .../misc/landmark/peak_small.png | Bin 0 -> 298 bytes .../classic.small/misc/landmark/pier.png | Bin 0 -> 532 bytes .../classic.small/misc/landmark/plant.png | Bin 0 -> 759 bytes .../classic.small/misc/landmark/power.png | Bin 0 -> 391 bytes .../misc/landmark/power/fossil.png | Bin 0 -> 525 bytes .../misc/landmark/power/hydro.png | Bin 0 -> 462 bytes .../misc/landmark/power/nuclear.png | Bin 0 -> 664 bytes .../misc/landmark/power/tower.png | Bin 0 -> 572 bytes .../misc/landmark/power/tower_small.png | Bin 0 -> 397 bytes .../misc/landmark/power/wind.png | Bin 0 -> 591 bytes .../classic.small/misc/landmark/range.png | Bin 0 -> 619 bytes .../misc/landmark/reservoir_covered.png | Bin 0 -> 519 bytes .../classic.small/misc/landmark/spring.png | Bin 0 -> 259 bytes .../misc/landmark/survey_point.png | Bin 0 -> 430 bytes .../classic.small/misc/landmark/tower.png | Bin 0 -> 309 bytes .../classic.small/misc/landmark/trees.png | Bin 0 -> 819 bytes .../classic.small/misc/landmark/volcano.png | Bin 0 -> 292 bytes .../misc/landmark/volcano_small.png | Bin 0 -> 236 bytes .../misc/landmark/wastewater_plant.png | Bin 0 -> 654 bytes .../misc/landmark/water_tower.png | Bin 0 -> 346 bytes .../classic.small/misc/landmark/windmill.png | Bin 0 -> 554 bytes .../classic.small/misc/landmark/works.png | Bin 0 -> 488 bytes .../classic.small/misc/landuse/commercial.png | Bin 0 -> 305 bytes .../misc/landuse/residential.png | Bin 0 -> 408 bytes .../classic.small/misc/lock_closed.png | Bin 0 -> 625 bytes .../classic.small/misc/lock_open.png | Bin 0 -> 653 bytes .../map-icons/classic.small/misc/no_icon.png | Bin 0 -> 335 bytes .../classic.small/misc/no_smoking.png | Bin 0 -> 867 bytes Icons/map-icons/classic.small/misc/note.png | Bin 0 -> 336 bytes .../map-icons/classic.small/misc/proposed.png | Bin 0 -> 633 bytes .../classic.small/misc/surveillance.png | Bin 0 -> 482 bytes .../classic.small/misc/tap_drinking.png | Bin 0 -> 455 bytes Icons/map-icons/classic.small/money.png | Bin 0 -> 494 bytes Icons/map-icons/classic.small/money/atm.png | Bin 0 -> 606 bytes Icons/map-icons/classic.small/money/bank.png | Bin 0 -> 672 bytes .../classic.small/money/bank/vr-bank.png | Bin 0 -> 577 bytes .../classic.small/money/exchange.png | Bin 0 -> 629 bytes Icons/map-icons/classic.small/nautical.png | Bin 0 -> 212 bytes .../classic.small/nautical/alpha_flag.png | Bin 0 -> 401 bytes .../classic.small/nautical/anchor.png | Bin 0 -> 361 bytes .../classic.small/nautical/aqueduct.png | Bin 0 -> 333 bytes .../map-icons/classic.small/nautical/boat.png | Bin 0 -> 559 bytes .../classic.small/nautical/boatyard.png | Bin 0 -> 709 bytes .../classic.small/nautical/lock_gate.png | Bin 0 -> 308 bytes .../classic.small/nautical/marina.png | Bin 0 -> 361 bytes .../classic.small/nautical/slipway.png | Bin 0 -> 432 bytes .../classic.small/nautical/turning.png | Bin 0 -> 323 bytes .../classic.small/nautical/waterfall.png | Bin 0 -> 394 bytes .../map-icons/classic.small/nautical/weir.png | Bin 0 -> 350 bytes Icons/map-icons/classic.small/people.png | Bin 0 -> 304 bytes .../classic.small/people/friends.png | Bin 0 -> 517 bytes .../classic.small/people/friendsd.png | Bin 0 -> 693 bytes Icons/map-icons/classic.small/people/work.png | Bin 0 -> 305 bytes Icons/map-icons/classic.small/places.png | Bin 0 -> 513 bytes .../map-icons/classic.small/places/island.png | Bin 0 -> 602 bytes .../classic.small/places/locality.png | Bin 0 -> 397 bytes .../classic.small/places/settlement.png | Bin 0 -> 353 bytes .../places/settlement/capital.png | Bin 0 -> 314 bytes .../classic.small/places/settlement/city.png | Bin 0 -> 278 bytes .../classic.small/places/settlement/town.png | Bin 0 -> 278 bytes Icons/map-icons/classic.small/public.png | Bin 0 -> 1166 bytes .../public/administration/court_of_law.png | Bin 0 -> 535 bytes .../public/administration/prison.png | Bin 0 -> 236 bytes .../classic.small/public/arts_centre.png | Bin 0 -> 717 bytes .../classic.small/public/firebrigade.png | Bin 0 -> 534 bytes .../map-icons/classic.small/public/police.png | Bin 0 -> 761 bytes .../classic.small/public/post_box.png | Bin 0 -> 373 bytes .../classic.small/public/post_office.png | Bin 0 -> 561 bytes .../classic.small/public/recycling.png | Bin 0 -> 671 bytes .../public/recycling/trash-bin.png | Bin 0 -> 439 bytes .../classic.small/public/telephone.png | Bin 0 -> 729 bytes .../classic.small/public/toilets.png | Bin 0 -> 683 bytes Icons/map-icons/classic.small/recreation.png | Bin 0 -> 773 bytes .../classic.small/recreation/bench.png | Bin 0 -> 165 bytes .../classic.small/recreation/bicycling.png | Bin 0 -> 439 bytes .../classic.small/recreation/cinema.png | Bin 0 -> 721 bytes .../classic.small/recreation/common.png | Bin 0 -> 374 bytes .../classic.small/recreation/garden.png | Bin 0 -> 258 bytes .../classic.small/recreation/music.png | Bin 0 -> 443 bytes .../recreation/nature_reserve.png | Bin 0 -> 287 bytes .../classic.small/recreation/nightclub.png | Bin 0 -> 673 bytes .../classic.small/recreation/park.png | Bin 0 -> 113 bytes .../classic.small/recreation/picnic.png | Bin 0 -> 565 bytes .../classic.small/recreation/playground.png | Bin 0 -> 648 bytes .../classic.small/recreation/shelter.png | Bin 0 -> 684 bytes .../classic.small/recreation/theater.png | Bin 0 -> 922 bytes .../classic.small/recreation/theme_park.png | Bin 0 -> 871 bytes .../classic.small/recreation/water_park.png | Bin 0 -> 322 bytes .../classic.small/recreation/zoo.png | Bin 0 -> 723 bytes Icons/map-icons/classic.small/religion.png | Bin 0 -> 794 bytes .../classic.small/religion/cemetery.png | Bin 0 -> 331 bytes .../classic.small/religion/chapel.png | Bin 0 -> 505 bytes .../classic.small/religion/church.png | Bin 0 -> 261 bytes .../classic.small/religion/church/bahai.png | Bin 0 -> 705 bytes .../religion/church/buddhism.png | Bin 0 -> 613 bytes .../religion/church/catholic.png | Bin 0 -> 435 bytes .../religion/church/hinduism.png | Bin 0 -> 610 bytes .../classic.small/religion/church/jainism.png | Bin 0 -> 526 bytes .../classic.small/religion/church/mormon.png | Bin 0 -> 741 bytes .../classic.small/religion/church/mosque.png | Bin 0 -> 494 bytes .../religion/church/orthodox.png | Bin 0 -> 493 bytes .../religion/church/protestant.png | Bin 0 -> 448 bytes .../classic.small/religion/church/shinto.png | Bin 0 -> 355 bytes .../classic.small/religion/church/sikhism.png | Bin 0 -> 703 bytes .../religion/church/synagogue.png | Bin 0 -> 465 bytes .../classic.small/religion/church/taoism.png | Bin 0 -> 615 bytes .../classic.small/religion/wayside_cross.png | Bin 0 -> 206 bytes .../classic.small/religion/wayside_shrine.png | Bin 0 -> 469 bytes Icons/map-icons/classic.small/rendering.png | Bin 0 -> 256 bytes .../classic.small/rendering/beach.png | Bin 0 -> 162 bytes .../classic.small/rendering/cliff.png | Bin 0 -> 26214 bytes .../classic.small/rendering/cliff2.png | Bin 0 -> 26214 bytes .../classic.small/rendering/quarry.png | Bin 0 -> 131 bytes .../classic.small/rendering/quarry2.png | Bin 0 -> 139 bytes .../rendering/rail_preserved.png | Bin 0 -> 26027 bytes .../rendering/shield/motorway_shield.png | Bin 0 -> 256 bytes .../rendering/shield/motorway_shield1.png | Bin 0 -> 176 bytes .../rendering/shield/motorway_shield2.png | Bin 0 -> 256 bytes .../rendering/shield/motorway_shield3.png | Bin 0 -> 251 bytes .../rendering/shield/motorway_shield4.png | Bin 0 -> 239 bytes .../rendering/shield/motorway_shield5.png | Bin 0 -> 205 bytes .../rendering/shield/motorway_shield6.png | Bin 0 -> 207 bytes .../rendering/shield/primary_shield1.png | Bin 0 -> 175 bytes .../rendering/shield/primary_shield2.png | Bin 0 -> 181 bytes .../rendering/shield/primary_shield3.png | Bin 0 -> 181 bytes .../rendering/shield/primary_shield4.png | Bin 0 -> 197 bytes .../rendering/shield/primary_shield5.png | Bin 0 -> 197 bytes .../rendering/shield/primary_shield6.png | Bin 0 -> 199 bytes .../rendering/shield/primary_shield7.png | Bin 0 -> 199 bytes .../rendering/shield/primary_shield8.png | Bin 0 -> 207 bytes .../rendering/shield/secondary_shield1.png | Bin 0 -> 168 bytes .../rendering/shield/secondary_shield2.png | Bin 0 -> 174 bytes .../rendering/shield/secondary_shield3.png | Bin 0 -> 176 bytes .../rendering/shield/secondary_shield4.png | Bin 0 -> 191 bytes .../rendering/shield/secondary_shield5.png | Bin 0 -> 194 bytes .../rendering/shield/secondary_shield6.png | Bin 0 -> 196 bytes .../rendering/shield/secondary_shield7.png | Bin 0 -> 195 bytes .../rendering/shield/secondary_shield8.png | Bin 0 -> 202 bytes .../rendering/shield/tertiary_shield1.png | Bin 0 -> 176 bytes .../rendering/shield/tertiary_shield2.png | Bin 0 -> 182 bytes .../rendering/shield/tertiary_shield3.png | Bin 0 -> 184 bytes .../rendering/shield/tertiary_shield4.png | Bin 0 -> 204 bytes .../rendering/shield/tertiary_shield5.png | Bin 0 -> 204 bytes .../rendering/shield/tertiary_shield6.png | Bin 0 -> 206 bytes .../rendering/shield/tertiary_shield7.png | Bin 0 -> 206 bytes .../rendering/shield/tertiary_shield8.png | Bin 0 -> 214 bytes .../rendering/shield/trunk_shield1.png | Bin 0 -> 175 bytes .../rendering/shield/trunk_shield2.png | Bin 0 -> 181 bytes .../rendering/shield/trunk_shield3.png | Bin 0 -> 184 bytes .../rendering/shield/trunk_shield4.png | Bin 0 -> 202 bytes .../rendering/shield/trunk_shield5.png | Bin 0 -> 202 bytes .../rendering/shield/trunk_shield6.png | Bin 0 -> 205 bytes .../rendering/shield/trunk_shield7.png | Bin 0 -> 204 bytes .../rendering/shield/trunk_shield8.png | Bin 0 -> 212 bytes .../classic.small/rendering/station_small.png | Bin 0 -> 231 bytes .../classic.small/rendering/track/arrow.png | Bin 0 -> 320 bytes .../rendering/track/arrow_back.png | Bin 0 -> 353 bytes .../rendering/track/mini_round.png | Bin 0 -> 26852 bytes .../classic.small/rendering/track/rail.png | Bin 0 -> 217 bytes .../rendering/track/station_small.png | Bin 0 -> 231 bytes Icons/map-icons/classic.small/shopping.png | Bin 0 -> 896 bytes .../classic.small/shopping/beverages.png | Bin 0 -> 1020 bytes .../classic.small/shopping/chemist.png | Bin 0 -> 555 bytes .../classic.small/shopping/clothes.png | Bin 0 -> 653 bytes .../classic.small/shopping/computer.png | Bin 0 -> 664 bytes .../classic.small/shopping/diy_store.png | Bin 0 -> 944 bytes .../classic.small/shopping/electronics.png | Bin 0 -> 694 bytes .../classic.small/shopping/florist.png | Bin 0 -> 737 bytes .../classic.small/shopping/furniture.png | Bin 0 -> 864 bytes .../classic.small/shopping/garden_centre.png | Bin 0 -> 664 bytes .../shopping/groceries/bakery.png | Bin 0 -> 460 bytes .../shopping/groceries/butcher.png | Bin 0 -> 196 bytes .../shopping/groceries/fruits.png | Bin 0 -> 621 bytes .../classic.small/shopping/hairdresser.png | Bin 0 -> 651 bytes .../map-icons/classic.small/shopping/hifi.png | Bin 0 -> 703 bytes .../classic.small/shopping/jewelry.png | Bin 0 -> 897 bytes .../classic.small/shopping/kiosk.png | Bin 0 -> 609 bytes .../classic.small/shopping/laundry.png | Bin 0 -> 527 bytes .../map-icons/classic.small/shopping/mall.png | Bin 0 -> 679 bytes .../classic.small/shopping/optician.png | Bin 0 -> 483 bytes .../classic.small/shopping/rental/library.png | Bin 0 -> 263 bytes .../classic.small/shopping/shoes.png | Bin 0 -> 722 bytes .../classic.small/shopping/sports/outdoor.png | Bin 0 -> 868 bytes .../classic.small/shopping/supermarket.png | Bin 0 -> 896 bytes .../shopping/supermarket/aldi.png | Bin 0 -> 658 bytes .../shopping/supermarket/aldi_nord.png | Bin 0 -> 791 bytes .../shopping/supermarket/kaufland.png | Bin 0 -> 628 bytes .../shopping/supermarket/lidl.png | Bin 0 -> 781 bytes .../classic.small/shopping/tailor.png | Bin 0 -> 869 bytes .../map-icons/classic.small/shopping/toys.png | Bin 0 -> 929 bytes .../classic.small/shopping/video.png | Bin 0 -> 490 bytes Icons/map-icons/classic.small/sightseeing.png | Bin 0 -> 402 bytes .../sightseeing/archaeological.png | Bin 0 -> 287 bytes .../classic.small/sightseeing/battlefield.png | Bin 0 -> 757 bytes .../classic.small/sightseeing/castle.png | Bin 0 -> 270 bytes .../classic.small/sightseeing/memorial.png | Bin 0 -> 425 bytes .../classic.small/sightseeing/monument.png | Bin 0 -> 248 bytes .../classic.small/sightseeing/museum.png | Bin 0 -> 562 bytes .../classic.small/sightseeing/ruins.png | Bin 0 -> 447 bytes .../classic.small/sightseeing/viewpoint.png | Bin 0 -> 198 bytes Icons/map-icons/classic.small/sports.png | Bin 0 -> 801 bytes .../map-icons/classic.small/sports/10pin.png | Bin 0 -> 705 bytes .../classic.small/sports/archery.png | Bin 0 -> 731 bytes .../classic.small/sports/baseball.png | Bin 0 -> 951 bytes .../classic.small/sports/basketball.png | Bin 0 -> 934 bytes .../classic.small/sports/bicycle.png | Bin 0 -> 565 bytes .../map-icons/classic.small/sports/boule.png | Bin 0 -> 490 bytes .../map-icons/classic.small/sports/centre.png | Bin 0 -> 419 bytes .../classic.small/sports/cricket.png | Bin 0 -> 513 bytes .../classic.small/sports/croquet.png | Bin 0 -> 521 bytes .../classic.small/sports/cycling.png | Bin 0 -> 700 bytes Icons/map-icons/classic.small/sports/dart.png | Bin 0 -> 840 bytes .../map-icons/classic.small/sports/diving.png | Bin 0 -> 405 bytes .../classic.small/sports/fishing.png | Bin 0 -> 333 bytes .../classic.small/sports/football.png | Bin 0 -> 661 bytes Icons/map-icons/classic.small/sports/golf.png | Bin 0 -> 587 bytes .../classic.small/sports/handball.png | Bin 0 -> 507 bytes .../map-icons/classic.small/sports/hockey.png | Bin 0 -> 260 bytes .../classic.small/sports/indoor_pool.png | Bin 0 -> 650 bytes .../classic.small/sports/kiteflying.png | Bin 0 -> 556 bytes .../classic.small/sports/mountain_bike.png | Bin 0 -> 755 bytes .../map-icons/classic.small/sports/multi.png | Bin 0 -> 743 bytes .../map-icons/classic.small/sports/pitch.png | Bin 0 -> 773 bytes Icons/map-icons/classic.small/sports/pool.png | Bin 0 -> 610 bytes .../classic.small/sports/racquetball.png | Bin 0 -> 762 bytes .../map-icons/classic.small/sports/riding.png | Bin 0 -> 543 bytes .../map-icons/classic.small/sports/skiing.png | Bin 0 -> 730 bytes .../map-icons/classic.small/sports/soccer.png | Bin 0 -> 801 bytes .../classic.small/sports/stadium.png | Bin 0 -> 700 bytes .../classic.small/sports/swimming.png | Bin 0 -> 544 bytes .../classic.small/sports/table_tennis.png | Bin 0 -> 715 bytes .../map-icons/classic.small/sports/tennis.png | Bin 0 -> 800 bytes .../map-icons/classic.small/sports/track.png | Bin 0 -> 307 bytes .../classic.small/sports/volleyball.png | Bin 0 -> 1103 bytes Icons/map-icons/classic.small/transport.png | Bin 0 -> 559 bytes .../classic.small/transport/aerialway.png | Bin 0 -> 553 bytes .../transport/aerialway/cable_car.png | Bin 0 -> 553 bytes .../transport/aerialway/chair_lift.png | Bin 0 -> 614 bytes .../transport/aerialway/drag_lift.png | Bin 0 -> 507 bytes .../transport/aerialway/station.png | Bin 0 -> 416 bytes .../classic.small/transport/airport.png | Bin 0 -> 491 bytes .../transport/airport/airfield.png | Bin 0 -> 443 bytes .../transport/airport/helipad.png | Bin 0 -> 308 bytes .../transport/airport/terminal.png | Bin 0 -> 557 bytes .../classic.small/transport/bridge.png | Bin 0 -> 347 bytes .../transport/bridge/bridge-car.png | Bin 0 -> 463 bytes .../transport/bridge/bridge-pedestrian.png | Bin 0 -> 443 bytes .../transport/bridge/drawbridge.png | Bin 0 -> 444 bytes .../map-icons/classic.small/transport/bus.png | Bin 0 -> 608 bytes .../classic.small/transport/bus_small.png | Bin 0 -> 513 bytes .../map-icons/classic.small/transport/car.png | Bin 0 -> 438 bytes .../classic.small/transport/ferry.png | Bin 0 -> 370 bytes .../transport/ferry/ferry-car.png | Bin 0 -> 472 bytes .../transport/ferry/ferry-pedestrian.png | Bin 0 -> 459 bytes .../classic.small/transport/funicular.png | Bin 0 -> 937 bytes .../classic.small/transport/handicapped.png | Bin 0 -> 399 bytes .../classic.small/transport/harbour.png | Bin 0 -> 495 bytes .../classic.small/transport/park_ride.png | Bin 0 -> 423 bytes .../classic.small/transport/pedestrian.png | Bin 0 -> 433 bytes .../classic.small/transport/railway.png | Bin 0 -> 732 bytes .../classic.small/transport/railway_small.png | Bin 0 -> 231 bytes .../classic.small/transport/rapid_train.png | Bin 0 -> 731 bytes .../classic.small/transport/steps.png | Bin 0 -> 632 bytes .../classic.small/transport/taxi.png | Bin 0 -> 552 bytes .../transport/ticket-machine.png | Bin 0 -> 550 bytes .../classic.small/transport/track.png | Bin 0 -> 217 bytes .../classic.small/transport/tram.png | Bin 0 -> 373 bytes .../classic.small/transport/turntable.png | Bin 0 -> 551 bytes .../classic.small/transport/underground.png | Bin 0 -> 722 bytes Icons/map-icons/classic.small/unknown.png | Bin 0 -> 485 bytes Icons/map-icons/classic.small/vehicle.png | Bin 0 -> 473 bytes .../classic.small/vehicle/bicycle_rental.png | Bin 0 -> 793 bytes .../classic.small/vehicle/car_rental.png | Bin 0 -> 597 bytes .../classic.small/vehicle/car_rental/sixt.png | Bin 0 -> 813 bytes .../classic.small/vehicle/car_sharing.png | Bin 0 -> 614 bytes .../classic.small/vehicle/car_wash.png | Bin 0 -> 528 bytes .../classic.small/vehicle/cattle_grid.png | Bin 0 -> 402 bytes .../classic.small/vehicle/caution.png | Bin 0 -> 673 bytes .../classic.small/vehicle/crossing.png | Bin 0 -> 349 bytes .../classic.small/vehicle/crossing_small.png | Bin 0 -> 289 bytes .../classic.small/vehicle/emergency_phone.png | Bin 0 -> 563 bytes .../map-icons/classic.small/vehicle/exit.png | Bin 0 -> 492 bytes .../map-icons/classic.small/vehicle/ford.png | Bin 0 -> 608 bytes .../classic.small/vehicle/fuel_station.png | Bin 0 -> 535 bytes .../vehicle/fuel_station/agip.png | Bin 0 -> 701 bytes .../vehicle/fuel_station/aral.png | Bin 0 -> 815 bytes .../vehicle/fuel_station/elf.png | Bin 0 -> 628 bytes .../vehicle/fuel_station/esso.png | Bin 0 -> 705 bytes .../vehicle/fuel_station/jet.png | Bin 0 -> 712 bytes .../vehicle/fuel_station/omv.png | Bin 0 -> 660 bytes .../vehicle/fuel_station/shell.png | Bin 0 -> 720 bytes .../vehicle/fuel_station/texaco.png | Bin 0 -> 675 bytes .../vehicle/fuel_station/total.png | Bin 0 -> 798 bytes .../map-icons/classic.small/vehicle/gate.png | Bin 0 -> 600 bytes .../classic.small/vehicle/motorbike.png | Bin 0 -> 553 bytes .../classic.small/vehicle/parking.png | Bin 0 -> 528 bytes .../classic.small/vehicle/parking/bike.png | Bin 0 -> 751 bytes .../classic.small/vehicle/parking/car.png | Bin 0 -> 730 bytes .../classic.small/vehicle/parking/garage.png | Bin 0 -> 612 bytes .../vehicle/parking/handicapped.png | Bin 0 -> 709 bytes .../classic.small/vehicle/parking/hiking.png | Bin 0 -> 576 bytes .../vehicle/parking/motorbike.png | Bin 0 -> 760 bytes .../vehicle/parking/park_ride.png | Bin 0 -> 614 bytes .../vehicle/parking/restarea-toilets.png | Bin 0 -> 717 bytes .../vehicle/parking/restarea.png | Bin 0 -> 477 bytes .../vehicle/parking/underground.png | Bin 0 -> 566 bytes .../classic.small/vehicle/repair_shop.png | Bin 0 -> 314 bytes .../classic.small/vehicle/restrictions.png | Bin 0 -> 558 bytes .../vehicle/restrictions/access.png | Bin 0 -> 594 bytes .../restrictions/bicycle-designated.png | Bin 0 -> 924 bytes .../vehicle/restrictions/bicycle.png | Bin 0 -> 723 bytes .../vehicle/restrictions/bollard-bw.png | Bin 0 -> 683 bytes .../vehicle/restrictions/bollard.png | Bin 0 -> 517 bytes .../vehicle/restrictions/citylimit.png | Bin 0 -> 504 bytes .../vehicle/restrictions/dead_end.png | Bin 0 -> 424 bytes .../vehicle/restrictions/foot-designated.png | Bin 0 -> 825 bytes .../vehicle/restrictions/foot.png | Bin 0 -> 763 bytes .../vehicle/restrictions/goods.png | Bin 0 -> 708 bytes .../vehicle/restrictions/horse-designated.png | Bin 0 -> 856 bytes .../vehicle/restrictions/horse.png | Bin 0 -> 777 bytes .../vehicle/restrictions/incline.png | Bin 0 -> 688 bytes .../vehicle/restrictions/maxheight.png | Bin 0 -> 742 bytes .../vehicle/restrictions/maxlength.png | Bin 0 -> 773 bytes .../vehicle/restrictions/maxweight.png | Bin 0 -> 760 bytes .../vehicle/restrictions/maxwidth.png | Bin 0 -> 772 bytes .../vehicle/restrictions/minspeed.png | Bin 0 -> 828 bytes .../vehicle/restrictions/motorbike.png | Bin 0 -> 686 bytes .../vehicle/restrictions/motorcar.png | Bin 0 -> 757 bytes .../vehicle/restrictions/parking.png | Bin 0 -> 751 bytes .../vehicle/restrictions/play_street.png | Bin 0 -> 676 bytes .../vehicle/restrictions/psv.png | Bin 0 -> 743 bytes .../vehicle/restrictions/right_of_way.png | Bin 0 -> 603 bytes .../vehicle/restrictions/road_works.png | Bin 0 -> 735 bytes .../vehicle/restrictions/roundabout_left.png | Bin 0 -> 884 bytes .../vehicle/restrictions/roundabout_right.png | Bin 0 -> 864 bytes .../vehicle/restrictions/speed.png | Bin 0 -> 997 bytes .../vehicle/restrictions/speed/30-end.png | Bin 0 -> 903 bytes .../vehicle/restrictions/speed_trap.png | Bin 0 -> 456 bytes .../vehicle/restrictions/stop.png | Bin 0 -> 678 bytes .../vehicle/restrictions/traffic-light.png | Bin 0 -> 455 bytes .../vehicle/restrictions/traffic_jam.png | Bin 0 -> 709 bytes .../ireland/no_left_turn.png | Bin 0 -> 1730 bytes .../ireland/no_right_turn.png | Bin 0 -> 1730 bytes .../ireland/no_straight_on.png | Bin 0 -> 1697 bytes .../turn_restrictions/ireland/no_u_turn.png | Bin 0 -> 1495 bytes .../turn_restrictions/no_left_turn.png | Bin 0 -> 1590 bytes .../turn_restrictions/no_right_turn.png | Bin 0 -> 1587 bytes .../turn_restrictions/no_straight_on.png | Bin 0 -> 1728 bytes .../turn_restrictions/no_u_turn.png | Bin 0 -> 1504 bytes .../turn_restrictions/only_left_turn.png | Bin 0 -> 1397 bytes .../turn_restrictions/only_right_turn.png | Bin 0 -> 1391 bytes .../turn_restrictions/only_straight_on.png | Bin 0 -> 1328 bytes .../classic.small/vehicle/services.png | Bin 0 -> 594 bytes .../map-icons/classic.small/vehicle/stile.png | Bin 0 -> 413 bytes .../map-icons/classic.small/vehicle/tank.png | Bin 0 -> 508 bytes .../classic.small/vehicle/toll_station.png | Bin 0 -> 545 bytes .../classic.small/vehicle/towing.png | Bin 0 -> 562 bytes .../classic.small/vehicle/tunnel.png | Bin 0 -> 496 bytes .../classic.small/vehicle/turning_circle.png | Bin 0 -> 292 bytes .../classic.small/vehicle/viaduct.png | Bin 0 -> 338 bytes .../classic.small/vehicle/zebra_crossing.png | Bin 0 -> 227 bytes Icons/map-icons/classic.small/waypoint.png | Bin 0 -> 429 bytes .../map-icons/classic.small/waypoint/wpt1.png | Bin 0 -> 458 bytes .../map-icons/classic.small/waypoint/wpt2.png | Bin 0 -> 459 bytes .../map-icons/classic.small/waypoint/wpt3.png | Bin 0 -> 522 bytes .../map-icons/classic.small/waypoint/wpt4.png | Bin 0 -> 447 bytes .../map-icons/classic.small/waypoint/wpt5.png | Bin 0 -> 663 bytes .../map-icons/classic.small/waypoint/wpt6.png | Bin 0 -> 1132 bytes .../map-icons/classic.small/waypoint/wpt7.png | Bin 0 -> 967 bytes .../map-icons/classic.small/waypoint/wpt8.png | Bin 0 -> 1134 bytes .../map-icons/classic.small/waypoint/wpt9.png | Bin 0 -> 1129 bytes .../classic.small/waypoint/wptblue.png | Bin 0 -> 402 bytes .../classic.small/waypoint/wptgreen.png | Bin 0 -> 400 bytes .../classic.small/waypoint/wptorange.png | Bin 0 -> 433 bytes .../classic.small/waypoint/wptred.png | Bin 0 -> 400 bytes .../classic.small/waypoint/wpttemp.png | Bin 0 -> 850 bytes .../waypoint/wpttemp/wpttemp-green.png | Bin 0 -> 848 bytes .../waypoint/wpttemp/wpttemp-red.png | Bin 0 -> 839 bytes .../waypoint/wpttemp/wpttemp-yellow.png | Bin 0 -> 842 bytes .../classic.small/waypoint/wptyellow.png | Bin 0 -> 411 bytes Icons/map-icons/classic.small/wlan.png | Bin 0 -> 655 bytes Icons/map-icons/classic.small/wlan/closed.png | Bin 0 -> 433 bytes Icons/map-icons/classic.small/wlan/open.png | Bin 0 -> 447 bytes Icons/map-icons/classic.small/wlan/pay.png | Bin 0 -> 545 bytes .../map-icons/classic.small/wlan/pay/fon.png | Bin 0 -> 975 bytes Icons/map-icons/classic.small/wlan/wep.png | Bin 0 -> 473 bytes .../map-icons/square.small/accommodation.png | Bin 0 -> 547 bytes .../square.small/accommodation/camping.png | Bin 0 -> 552 bytes .../accommodation/camping/caravan.png | Bin 0 -> 610 bytes .../accommodation/camping/dump-station.png | Bin 0 -> 724 bytes .../accommodation/camping/gas-refill.png | Bin 0 -> 517 bytes .../accommodation/camping/hookup.png | Bin 0 -> 463 bytes .../accommodation/camping/trash.png | Bin 0 -> 610 bytes .../accommodation/camping/wastewater.png | Bin 0 -> 582 bytes .../accommodation/camping/water.png | Bin 0 -> 494 bytes .../square.small/accommodation/chalet.png | Bin 0 -> 752 bytes .../square.small/accommodation/empty.png | Bin 0 -> 249 bytes .../accommodation/guest_house.png | Bin 0 -> 670 bytes .../square.small/accommodation/hostel.png | Bin 0 -> 414 bytes .../square.small/accommodation/hotel.png | Bin 0 -> 547 bytes .../accommodation/hotel/five_star.png | Bin 0 -> 664 bytes .../accommodation/hotel/four_star.png | Bin 0 -> 632 bytes .../accommodation/hotel/one_star.png | Bin 0 -> 567 bytes .../accommodation/hotel/three_star.png | Bin 0 -> 613 bytes .../accommodation/hotel/two_star.png | Bin 0 -> 582 bytes .../square.small/accommodation/motel.png | Bin 0 -> 513 bytes .../square.small/accommodation/shelter-bw.png | Bin 0 -> 801 bytes .../square.small/accommodation/shelter.png | Bin 0 -> 789 bytes .../accommodation/youth-hostel.png | Bin 0 -> 642 bytes Icons/map-icons/square.small/education.png | Bin 0 -> 662 bytes .../square.small/education/empty.png | Bin 0 -> 249 bytes .../square.small/education/kindergarten.png | Bin 0 -> 804 bytes .../square.small/education/university.png | Bin 0 -> 432 bytes Icons/map-icons/square.small/food.png | Bin 0 -> 303 bytes .../square.small/food/bacon_and_eggs.png | Bin 0 -> 1299 bytes Icons/map-icons/square.small/food/bar.png | Bin 0 -> 693 bytes .../square.small/food/biergarten.png | Bin 0 -> 771 bytes Icons/map-icons/square.small/food/cafe.png | Bin 0 -> 384 bytes Icons/map-icons/square.small/food/empty.png | Bin 0 -> 249 bytes .../map-icons/square.small/food/fastfood.png | Bin 0 -> 763 bytes .../food/fastfood/burger-king.png | Bin 0 -> 990 bytes .../square.small/food/fastfood/kfc.png | Bin 0 -> 861 bytes .../square.small/food/fastfood/mc-donalds.png | Bin 0 -> 932 bytes .../square.small/food/fastfood/subway.png | Bin 0 -> 737 bytes .../map-icons/square.small/food/icecream.png | Bin 0 -> 546 bytes .../map-icons/square.small/food/pizzahut.png | Bin 0 -> 790 bytes Icons/map-icons/square.small/food/pub.png | Bin 0 -> 685 bytes .../square.small/food/restaurant.png | Bin 0 -> 303 bytes Icons/map-icons/square.small/food/snacks.png | Bin 0 -> 735 bytes Icons/map-icons/square.small/geocache.png | Bin 0 -> 452 bytes .../map-icons/square.small/geocache/empty.png | Bin 0 -> 317 bytes .../geocache/geocache_drivein.png | Bin 0 -> 728 bytes .../square.small/geocache/geocache_earth.png | Bin 0 -> 815 bytes .../square.small/geocache/geocache_event.png | Bin 0 -> 788 bytes .../square.small/geocache/geocache_found.png | Bin 0 -> 593 bytes .../square.small/geocache/geocache_math.png | Bin 0 -> 730 bytes .../square.small/geocache/geocache_multi.png | Bin 0 -> 788 bytes .../geocache/geocache_multi/multi_stage01.png | Bin 0 -> 554 bytes .../geocache/geocache_multi/multi_stage02.png | Bin 0 -> 609 bytes .../geocache/geocache_multi/multi_stage03.png | Bin 0 -> 603 bytes .../geocache/geocache_multi/multi_stage04.png | Bin 0 -> 572 bytes .../geocache/geocache_multi/multi_stage05.png | Bin 0 -> 637 bytes .../geocache/geocache_multi/multi_stage06.png | Bin 0 -> 609 bytes .../geocache/geocache_multi/multi_stage07.png | Bin 0 -> 563 bytes .../geocache/geocache_multi/multi_stage08.png | Bin 0 -> 619 bytes .../geocache/geocache_multi/multi_stage09.png | Bin 0 -> 611 bytes .../geocache/geocache_multi/multi_stage10.png | Bin 0 -> 561 bytes .../geocache/geocache_mystery.png | Bin 0 -> 900 bytes .../square.small/geocache/geocache_night.png | Bin 0 -> 1009 bytes .../geocache/geocache_traditional.png | Bin 0 -> 637 bytes .../geocache/geocache_virtual.png | Bin 0 -> 758 bytes .../square.small/geocache/geocache_webcam.png | Bin 0 -> 953 bytes Icons/map-icons/square.small/health.png | Bin 0 -> 372 bytes .../map-icons/square.small/health/doctor.png | Bin 0 -> 640 bytes .../square.small/health/emergency.png | Bin 0 -> 613 bytes Icons/map-icons/square.small/health/empty.png | Bin 0 -> 359 bytes .../square.small/health/hospital.png | Bin 0 -> 641 bytes .../square.small/health/pharmacy.png | Bin 0 -> 465 bytes .../square.small/health/veterinary.png | Bin 0 -> 855 bytes Icons/map-icons/square.small/incomming.png | Bin 0 -> 580 bytes .../square.small/incomming/empty.png | Bin 0 -> 413 bytes Icons/map-icons/square.small/misc.png | Bin 0 -> 173 bytes Icons/map-icons/square.small/misc/bunny.png | Bin 0 -> 698 bytes .../map-icons/square.small/misc/butterfly.png | Bin 0 -> 775 bytes .../square.small/misc/construction.png | Bin 0 -> 486 bytes Icons/map-icons/square.small/misc/danger.png | Bin 0 -> 653 bytes .../square.small/misc/deprecated.png | Bin 0 -> 556 bytes Icons/map-icons/square.small/misc/door.png | Bin 0 -> 350 bytes Icons/map-icons/square.small/misc/empty.png | Bin 0 -> 264 bytes .../square.small/misc/information.png | Bin 0 -> 561 bytes .../map-icons/square.small/misc/landmark.png | Bin 0 -> 374 bytes .../square.small/misc/landmark/barn.png | Bin 0 -> 579 bytes .../square.small/misc/landmark/bunker.png | Bin 0 -> 497 bytes .../square.small/misc/landmark/chimney.png | Bin 0 -> 449 bytes .../square.small/misc/landmark/crane.png | Bin 0 -> 565 bytes .../square.small/misc/landmark/empty.png | Bin 0 -> 225 bytes .../square.small/misc/landmark/farm.png | Bin 0 -> 700 bytes .../square.small/misc/landmark/gasometer.png | Bin 0 -> 526 bytes .../square.small/misc/landmark/lighthouse.png | Bin 0 -> 589 bytes .../square.small/misc/landmark/mine.png | Bin 0 -> 751 bytes .../misc/landmark/mountain_pass.png | Bin 0 -> 633 bytes .../square.small/misc/landmark/peak.png | Bin 0 -> 440 bytes .../square.small/misc/landmark/peak_small.png | Bin 0 -> 369 bytes .../square.small/misc/landmark/pier.png | Bin 0 -> 544 bytes .../square.small/misc/landmark/plant.png | Bin 0 -> 729 bytes .../square.small/misc/landmark/power.png | Bin 0 -> 503 bytes .../misc/landmark/power/fossil.png | Bin 0 -> 618 bytes .../misc/landmark/power/hydro.png | Bin 0 -> 546 bytes .../misc/landmark/power/nuclear.png | Bin 0 -> 735 bytes .../misc/landmark/power/tower.png | Bin 0 -> 689 bytes .../square.small/misc/landmark/power/wind.png | Bin 0 -> 679 bytes .../square.small/misc/landmark/range.png | Bin 0 -> 678 bytes .../misc/landmark/reservoir_covered.png | Bin 0 -> 587 bytes .../square.small/misc/landmark/spring.png | Bin 0 -> 485 bytes .../misc/landmark/survey_point.png | Bin 0 -> 529 bytes .../square.small/misc/landmark/tower.png | Bin 0 -> 629 bytes .../square.small/misc/landmark/trees.png | Bin 0 -> 841 bytes .../misc/landmark/wastewater_plant.png | Bin 0 -> 710 bytes .../misc/landmark/water_tower.png | Bin 0 -> 446 bytes .../square.small/misc/landmark/windmill.png | Bin 0 -> 633 bytes .../square.small/misc/landmark/works.png | Bin 0 -> 575 bytes .../square.small/misc/lock_closed.png | Bin 0 -> 582 bytes .../map-icons/square.small/misc/lock_open.png | Bin 0 -> 596 bytes Icons/map-icons/square.small/misc/no_icon.png | Bin 0 -> 434 bytes .../square.small/misc/no_smoking.png | Bin 0 -> 900 bytes .../map-icons/square.small/misc/proposed.png | Bin 0 -> 552 bytes .../square.small/misc/tap_drinking.png | Bin 0 -> 643 bytes Icons/map-icons/square.small/money.png | Bin 0 -> 691 bytes Icons/map-icons/square.small/money/atm.png | Bin 0 -> 600 bytes Icons/map-icons/square.small/money/bank.png | Bin 0 -> 665 bytes Icons/map-icons/square.small/money/empty.png | Bin 0 -> 249 bytes .../map-icons/square.small/money/exchange.png | Bin 0 -> 729 bytes Icons/map-icons/square.small/nautical.png | Bin 0 -> 1166 bytes .../square.small/nautical/alpha_flag.png | Bin 0 -> 434 bytes .../square.small/nautical/aqueduct.png | Bin 0 -> 423 bytes .../map-icons/square.small/nautical/empty.png | Bin 0 -> 241 bytes .../square.small/nautical/lock_gate.png | Bin 0 -> 572 bytes .../square.small/nautical/turning.png | Bin 0 -> 454 bytes .../map-icons/square.small/nautical/weir.png | Bin 0 -> 429 bytes Icons/map-icons/square.small/people.png | Bin 0 -> 504 bytes .../people/developer/gpsdrive.png | Bin 0 -> 692 bytes .../people/developer/openstreetmap.png | Bin 0 -> 706 bytes Icons/map-icons/square.small/people/empty.png | Bin 0 -> 242 bytes .../map-icons/square.small/people/friends.png | Bin 0 -> 464 bytes .../square.small/people/friendsd.png | Bin 0 -> 1106 bytes .../square.small/people/friendsd/airplane.png | Bin 0 -> 171 bytes .../square.small/people/friendsd/bike.png | Bin 0 -> 1232 bytes .../square.small/people/friendsd/boat.png | Bin 0 -> 171 bytes .../square.small/people/friendsd/car.png | Bin 0 -> 1106 bytes .../square.small/people/friendsd/walk.png | Bin 0 -> 171 bytes Icons/map-icons/square.small/people/home.png | Bin 0 -> 253 bytes Icons/map-icons/square.small/people/work.png | Bin 0 -> 266 bytes Icons/map-icons/square.small/places.png | Bin 0 -> 188 bytes Icons/map-icons/square.small/places/empty.png | Bin 0 -> 231 bytes .../square.small/places/settlement.png | Bin 0 -> 377 bytes .../places/settlement/capital.png | Bin 0 -> 586 bytes .../square.small/places/settlement/city.png | Bin 0 -> 407 bytes .../square.small/places/settlement/hamlet.png | Bin 0 -> 218 bytes .../square.small/places/settlement/town.png | Bin 0 -> 377 bytes .../places/settlement/village.png | Bin 0 -> 271 bytes Icons/map-icons/square.small/public.png | Bin 0 -> 1166 bytes .../public/administration/court_of_law.png | Bin 0 -> 982 bytes .../public/administration/prison.png | Bin 0 -> 800 bytes .../square.small/public/arts_centre.png | Bin 0 -> 1245 bytes Icons/map-icons/square.small/public/empty.png | Bin 0 -> 1166 bytes .../square.small/public/firebrigade.png | Bin 0 -> 1099 bytes .../map-icons/square.small/public/police.png | Bin 0 -> 1118 bytes .../square.small/public/post_box.png | Bin 0 -> 853 bytes .../square.small/public/post_office.png | Bin 0 -> 934 bytes .../square.small/public/recycling.png | Bin 0 -> 1250 bytes .../public/recycling/trash-bin.png | Bin 0 -> 1144 bytes .../square.small/public/recycling_small.png | Bin 0 -> 1288 bytes .../square.small/public/telephone.png | Bin 0 -> 972 bytes .../map-icons/square.small/public/toilets.png | Bin 0 -> 1223 bytes Icons/map-icons/square.small/recreation.png | Bin 0 -> 762 bytes .../square.small/recreation/bicycling.png | Bin 0 -> 921 bytes .../square.small/recreation/cinema.png | Bin 0 -> 935 bytes .../square.small/recreation/common.png | Bin 0 -> 648 bytes .../square.small/recreation/empty.png | Bin 0 -> 242 bytes .../square.small/recreation/garden.png | Bin 0 -> 700 bytes .../square.small/recreation/music.png | Bin 0 -> 756 bytes .../recreation/nature_reserve.png | Bin 0 -> 770 bytes .../square.small/recreation/nightclub.png | Bin 0 -> 693 bytes .../square.small/recreation/park.png | Bin 0 -> 559 bytes .../square.small/recreation/picnic.png | Bin 0 -> 1105 bytes .../square.small/recreation/playground.png | Bin 0 -> 702 bytes .../square.small/recreation/shelter.png | Bin 0 -> 783 bytes .../square.small/recreation/theater.png | Bin 0 -> 848 bytes .../square.small/recreation/theme_park.png | Bin 0 -> 980 bytes .../square.small/recreation/water_park.png | Bin 0 -> 669 bytes .../map-icons/square.small/recreation/zoo.png | Bin 0 -> 526 bytes Icons/map-icons/square.small/religion.png | Bin 0 -> 756 bytes .../square.small/religion/cemetery.png | Bin 0 -> 394 bytes .../square.small/religion/chapel.png | Bin 0 -> 547 bytes .../square.small/religion/church.png | Bin 0 -> 489 bytes .../square.small/religion/church/bahai.png | Bin 0 -> 681 bytes .../square.small/religion/church/buddhism.png | Bin 0 -> 642 bytes .../square.small/religion/church/catholic.png | Bin 0 -> 474 bytes .../square.small/religion/church/hinduism.png | Bin 0 -> 719 bytes .../square.small/religion/church/jainism.png | Bin 0 -> 531 bytes .../square.small/religion/church/mormon.png | Bin 0 -> 716 bytes .../square.small/religion/church/mosque.png | Bin 0 -> 539 bytes .../square.small/religion/church/orthodox.png | Bin 0 -> 524 bytes .../religion/church/protestant.png | Bin 0 -> 482 bytes .../square.small/religion/church/shinto.png | Bin 0 -> 407 bytes .../square.small/religion/church/sikhism.png | Bin 0 -> 663 bytes .../religion/church/synagogue.png | Bin 0 -> 651 bytes .../square.small/religion/church/taoism.png | Bin 0 -> 675 bytes .../map-icons/square.small/religion/empty.png | Bin 0 -> 247 bytes Icons/map-icons/square.small/rendering.png | Bin 0 -> 256 bytes Icons/map-icons/square.small/shopping.png | Bin 0 -> 1166 bytes .../square.small/shopping/beverages.png | Bin 0 -> 716 bytes .../square.small/shopping/computers.png | Bin 0 -> 1056 bytes .../square.small/shopping/confectioner.png | Bin 0 -> 1133 bytes .../square.small/shopping/diy_store.png | Bin 0 -> 701 bytes .../shopping/diy_store/hagebau.png | Bin 0 -> 850 bytes .../shopping/diy_store/hornbach.png | Bin 0 -> 752 bytes .../square.small/shopping/diy_store/obi.png | Bin 0 -> 472 bytes .../shopping/diy_store/praktiker.png | Bin 0 -> 439 bytes .../map-icons/square.small/shopping/empty.png | Bin 0 -> 236 bytes .../square.small/shopping/florist.png | Bin 0 -> 638 bytes .../square.small/shopping/furniture.png | Bin 0 -> 731 bytes .../shopping/groceries/bakery.png | Bin 0 -> 1078 bytes .../shopping/groceries/butcher.png | Bin 0 -> 466 bytes .../shopping/groceries/fruits.png | Bin 0 -> 1299 bytes .../square.small/shopping/kaufhof.png | Bin 0 -> 654 bytes .../map-icons/square.small/shopping/kiosk.png | Bin 0 -> 592 bytes .../square.small/shopping/laundry.png | Bin 0 -> 503 bytes .../square.small/shopping/sports/outdoor.png | Bin 0 -> 705 bytes .../square.small/shopping/supermarket.png | Bin 0 -> 638 bytes .../shopping/supermarket/aldi.png | Bin 0 -> 375 bytes .../shopping/supermarket/aldi_nord.png | Bin 0 -> 612 bytes .../shopping/supermarket/kaufland.png | Bin 0 -> 409 bytes .../shopping/supermarket/lidl.png | Bin 0 -> 942 bytes .../shopping/supermarket/norma.png | Bin 0 -> 430 bytes .../shopping/supermarket/real.png | Bin 0 -> 515 bytes .../shopping/supermarket/rewe.png | Bin 0 -> 389 bytes .../shopping/supermarket/tengelmann.png | Bin 0 -> 818 bytes Icons/map-icons/square.small/sightseeing.png | Bin 0 -> 416 bytes .../sightseeing/archaeological.png | Bin 0 -> 644 bytes .../square.small/sightseeing/battlefield.png | Bin 0 -> 753 bytes .../square.small/sightseeing/castle.png | Bin 0 -> 502 bytes .../square.small/sightseeing/empty.png | Bin 0 -> 241 bytes .../square.small/sightseeing/memorial.png | Bin 0 -> 501 bytes .../square.small/sightseeing/monument.png | Bin 0 -> 412 bytes .../square.small/sightseeing/museum.png | Bin 0 -> 683 bytes .../square.small/sightseeing/ruins.png | Bin 0 -> 496 bytes .../square.small/sightseeing/viewpoint.png | Bin 0 -> 1689 bytes Icons/map-icons/square.small/sports.png | Bin 0 -> 619 bytes .../square.small/sports/basketball.png | Bin 0 -> 694 bytes .../map-icons/square.small/sports/bicycle.png | Bin 0 -> 537 bytes .../map-icons/square.small/sports/centre.png | Bin 0 -> 628 bytes .../map-icons/square.small/sports/cycling.png | Bin 0 -> 667 bytes Icons/map-icons/square.small/sports/dart.png | Bin 0 -> 909 bytes Icons/map-icons/square.small/sports/empty.png | Bin 0 -> 246 bytes .../square.small/sports/football.png | Bin 0 -> 610 bytes Icons/map-icons/square.small/sports/golf.png | Bin 0 -> 840 bytes .../square.small/sports/indoor_pool.png | Bin 0 -> 706 bytes .../square.small/sports/kiteflying.png | Bin 0 -> 586 bytes .../square.small/sports/mountain_bike.png | Bin 0 -> 716 bytes Icons/map-icons/square.small/sports/pitch.png | Bin 0 -> 773 bytes Icons/map-icons/square.small/sports/pool.png | Bin 0 -> 676 bytes .../square.small/sports/racquetball.png | Bin 0 -> 749 bytes .../map-icons/square.small/sports/riding.png | Bin 0 -> 552 bytes .../map-icons/square.small/sports/skiing.png | Bin 0 -> 798 bytes .../map-icons/square.small/sports/soccer.png | Bin 0 -> 619 bytes .../square.small/sports/swimming.png | Bin 0 -> 548 bytes .../square.small/sports/table_tennis.png | Bin 0 -> 646 bytes .../map-icons/square.small/sports/tennis.png | Bin 0 -> 737 bytes Icons/map-icons/square.small/transport.png | Bin 0 -> 653 bytes .../square.small/transport/airport.png | Bin 0 -> 527 bytes .../transport/airport/airfield.png | Bin 0 -> 507 bytes .../transport/airport/helipad.png | Bin 0 -> 531 bytes .../transport/airport/terminal.png | Bin 0 -> 659 bytes .../square.small/transport/bridge.png | Bin 0 -> 427 bytes .../transport/bridge/bridge-car.png | Bin 0 -> 642 bytes .../transport/bridge/bridge-pedestrian.png | Bin 0 -> 614 bytes .../transport/bridge/drawbridge.png | Bin 0 -> 571 bytes .../map-icons/square.small/transport/bus.png | Bin 0 -> 574 bytes .../map-icons/square.small/transport/car.png | Bin 0 -> 502 bytes .../square.small/transport/empty.png | Bin 0 -> 244 bytes .../square.small/transport/ferry.png | Bin 0 -> 458 bytes .../transport/ferry/ferry-car.png | Bin 0 -> 592 bytes .../transport/ferry/ferry-pedestrian.png | Bin 0 -> 609 bytes .../square.small/transport/handicapped.png | Bin 0 -> 539 bytes .../square.small/transport/harbour.png | Bin 0 -> 570 bytes .../square.small/transport/park_ride.png | Bin 0 -> 591 bytes .../square.small/transport/pedestrian.png | Bin 0 -> 601 bytes .../square.small/transport/railway.png | Bin 0 -> 645 bytes .../square.small/transport/rapid_train.png | Bin 0 -> 870 bytes .../map-icons/square.small/transport/taxi.png | Bin 0 -> 680 bytes .../square.small/transport/ticket-machine.png | Bin 0 -> 644 bytes .../map-icons/square.small/transport/tram.png | Bin 0 -> 516 bytes .../square.small/transport/turntable.png | Bin 0 -> 675 bytes .../square.small/transport/underground.png | Bin 0 -> 513 bytes Icons/map-icons/square.small/unknown.png | Bin 0 -> 613 bytes Icons/map-icons/square.small/vehicle.png | Bin 0 -> 605 bytes .../square.small/vehicle/bicycle_rental.png | Bin 0 -> 795 bytes .../square.small/vehicle/car_rental.png | Bin 0 -> 669 bytes .../square.small/vehicle/car_rental/avis.png | Bin 0 -> 792 bytes .../vehicle/car_rental/europcar.png | Bin 0 -> 652 bytes .../square.small/vehicle/car_rental/hertz.png | Bin 0 -> 702 bytes .../square.small/vehicle/car_rental/sixt.png | Bin 0 -> 728 bytes .../square.small/vehicle/car_sharing.png | Bin 0 -> 751 bytes .../square.small/vehicle/caution.png | Bin 0 -> 626 bytes .../square.small/vehicle/crossing.png | Bin 0 -> 518 bytes .../square.small/vehicle/crossing_small.png | Bin 0 -> 441 bytes .../square.small/vehicle/emergency_phone.png | Bin 0 -> 551 bytes .../map-icons/square.small/vehicle/empty.png | Bin 0 -> 236 bytes Icons/map-icons/square.small/vehicle/exit.png | Bin 0 -> 523 bytes Icons/map-icons/square.small/vehicle/ford.png | Bin 0 -> 608 bytes .../square.small/vehicle/fuel_station.png | Bin 0 -> 476 bytes .../vehicle/fuel_station/agip.png | Bin 0 -> 649 bytes .../vehicle/fuel_station/aral.png | Bin 0 -> 693 bytes .../square.small/vehicle/fuel_station/elf.png | Bin 0 -> 471 bytes .../vehicle/fuel_station/esso.png | Bin 0 -> 648 bytes .../square.small/vehicle/fuel_station/jet.png | Bin 0 -> 687 bytes .../square.small/vehicle/fuel_station/omv.png | Bin 0 -> 609 bytes .../vehicle/fuel_station/shell.png | Bin 0 -> 698 bytes .../vehicle/fuel_station/texaco.png | Bin 0 -> 587 bytes .../vehicle/fuel_station/total.png | Bin 0 -> 838 bytes .../square.small/vehicle/motorbike.png | Bin 0 -> 619 bytes .../square.small/vehicle/parking.png | Bin 0 -> 431 bytes .../square.small/vehicle/parking/bike.png | Bin 0 -> 722 bytes .../square.small/vehicle/parking/car.png | Bin 0 -> 673 bytes .../square.small/vehicle/parking/garage.png | Bin 0 -> 535 bytes .../vehicle/parking/handicapped.png | Bin 0 -> 656 bytes .../square.small/vehicle/parking/hiking.png | Bin 0 -> 642 bytes .../vehicle/parking/motorbike.png | Bin 0 -> 654 bytes .../vehicle/parking/park_ride.png | Bin 0 -> 602 bytes .../vehicle/parking/restarea-toilets.png | Bin 0 -> 688 bytes .../square.small/vehicle/parking/restarea.png | Bin 0 -> 670 bytes .../square.small/vehicle/repair_shop.png | Bin 0 -> 420 bytes .../square.small/vehicle/restrictions.png | Bin 0 -> 706 bytes .../vehicle/restrictions/bollard-bw.png | Bin 0 -> 627 bytes .../vehicle/restrictions/bollard.png | Bin 0 -> 646 bytes .../vehicle/restrictions/dead_end.png | Bin 0 -> 423 bytes .../vehicle/restrictions/incline.png | Bin 0 -> 649 bytes .../vehicle/restrictions/motorbike.png | Bin 0 -> 706 bytes .../vehicle/restrictions/parking.png | Bin 0 -> 690 bytes .../vehicle/restrictions/play_street.png | Bin 0 -> 643 bytes .../vehicle/restrictions/right_of_way.png | Bin 0 -> 621 bytes .../vehicle/restrictions/road_works.png | Bin 0 -> 748 bytes .../vehicle/restrictions/roundabout_left.png | Bin 0 -> 780 bytes .../vehicle/restrictions/roundabout_right.png | Bin 0 -> 779 bytes .../vehicle/restrictions/stop.png | Bin 0 -> 654 bytes .../vehicle/restrictions/traffic-light.png | Bin 0 -> 416 bytes .../vehicle/restrictions/traffic_jam.png | Bin 0 -> 674 bytes .../square.small/vehicle/services.png | Bin 0 -> 540 bytes .../square.small/vehicle/toll_station.png | Bin 0 -> 846 bytes .../map-icons/square.small/vehicle/tunnel.png | Bin 0 -> 468 bytes .../square.small/vehicle/turning_circle.png | Bin 0 -> 380 bytes .../square.small/vehicle/viaduct.png | Bin 0 -> 330 bytes .../square.small/vehicle/zebra_crossing.png | Bin 0 -> 281 bytes Icons/map-icons/square.small/waypoint.png | Bin 0 -> 351 bytes .../map-icons/square.small/waypoint/empty.png | Bin 0 -> 225 bytes .../map-icons/square.small/waypoint/flag.png | Bin 0 -> 303 bytes .../square.small/waypoint/flag/blue.png | Bin 0 -> 303 bytes .../square.small/waypoint/flag/green.png | Bin 0 -> 300 bytes .../square.small/waypoint/flag/orange.png | Bin 0 -> 312 bytes .../square.small/waypoint/flag/red.png | Bin 0 -> 288 bytes .../square.small/waypoint/flag/temp.png | Bin 0 -> 585 bytes .../square.small/waypoint/flag/yellow.png | Bin 0 -> 305 bytes .../square.small/waypoint/routepoint.png | Bin 0 -> 476 bytes .../waypoint/routepoint/destination.png | Bin 0 -> 907 bytes .../square.small/waypoint/routepoint/left.png | Bin 0 -> 382 bytes .../waypoint/routepoint/left/exit.png | Bin 0 -> 703 bytes .../waypoint/routepoint/left/fork.png | Bin 0 -> 560 bytes .../waypoint/routepoint/left/hard.png | Bin 0 -> 675 bytes .../waypoint/routepoint/left/merge.png | Bin 0 -> 668 bytes .../waypoint/routepoint/left/soft.png | Bin 0 -> 575 bytes .../waypoint/routepoint/left/uturn.png | Bin 0 -> 412 bytes .../waypoint/routepoint/right.png | Bin 0 -> 392 bytes .../waypoint/routepoint/right/exit.png | Bin 0 -> 688 bytes .../waypoint/routepoint/right/fork.png | Bin 0 -> 548 bytes .../waypoint/routepoint/right/hard.png | Bin 0 -> 667 bytes .../waypoint/routepoint/right/merge.png | Bin 0 -> 649 bytes .../waypoint/routepoint/right/soft.png | Bin 0 -> 584 bytes .../waypoint/routepoint/right/uturn.png | Bin 0 -> 429 bytes .../waypoint/routepoint/straight.png | Bin 0 -> 331 bytes .../map-icons/square.small/waypoint/wpt1.png | Bin 0 -> 366 bytes .../map-icons/square.small/waypoint/wpt2.png | Bin 0 -> 404 bytes .../map-icons/square.small/waypoint/wpt3.png | Bin 0 -> 396 bytes .../map-icons/square.small/waypoint/wpt4.png | Bin 0 -> 382 bytes .../map-icons/square.small/waypoint/wpt5.png | Bin 0 -> 410 bytes .../map-icons/square.small/waypoint/wpt6.png | Bin 0 -> 399 bytes .../map-icons/square.small/waypoint/wpt7.png | Bin 0 -> 374 bytes .../map-icons/square.small/waypoint/wpt8.png | Bin 0 -> 395 bytes .../map-icons/square.small/waypoint/wpt9.png | Bin 0 -> 397 bytes .../waypoint/wpttemp/wpttemp-green.png | Bin 0 -> 587 bytes .../waypoint/wpttemp/wpttemp-red.png | Bin 0 -> 552 bytes .../waypoint/wpttemp/wpttemp-yellow.png | Bin 0 -> 596 bytes Icons/map-icons/square.small/wlan.png | Bin 0 -> 177 bytes Icons/map-icons/square.small/wlan/closed.png | Bin 0 -> 616 bytes Icons/map-icons/square.small/wlan/empty.png | Bin 0 -> 238 bytes Icons/map-icons/square.small/wlan/open.png | Bin 0 -> 643 bytes Icons/map-icons/square.small/wlan/pay.png | Bin 0 -> 483 bytes Icons/map-icons/square.small/wlan/pay/fon.png | Bin 0 -> 934 bytes Icons/map-icons/square.small/wlan/wep.png | Bin 0 -> 750 bytes Icons/merkaartor-win32.rc | 1 + Icons/merkaartor.icns | Bin 0 -> 518181 bytes Icons/move.xpm | 31 + Icons/remove.xpm | 30 + Icons/reverse.xpm | 33 + Icons/rotate.png | Bin 0 -> 819 bytes Icons/rotate.svg | 565 ++ Icons/small-remove.xpm | 18 + Icons/src/actions/GPS.svg | 73 + Icons/src/actions/align_nodes.pspimage | Bin 0 -> 4056 bytes Icons/src/actions/break_apart_roads.pspimage | Bin 0 -> 7513 bytes Icons/src/actions/build_bridge.xcf | Bin 0 -> 1420 bytes Icons/src/actions/camera.svg | 57 + Icons/src/actions/create_area.pspimage | Bin 0 -> 5254 bytes Icons/src/actions/create_node.pspimage | Bin 0 -> 3463 bytes Icons/src/actions/create_road.pspimage | Bin 0 -> 5152 bytes Icons/src/actions/detach_node.pspimage | Bin 0 -> 5383 bytes Icons/src/actions/join_roads.pspimage | Bin 0 -> 6057 bytes Icons/src/actions/node_4.png | Bin 0 -> 154 bytes Icons/src/actions/node_5.png | Bin 0 -> 224 bytes Icons/src/actions/plus_11_oxygen.png | Bin 0 -> 448 bytes Icons/src/actions/reverse_road.pspimage | Bin 0 -> 4239 bytes Icons/src/actions/shadow.xcf | Bin 0 -> 1864 bytes Icons/src/actions/split_road.pspimage | Bin 0 -> 7766 bytes Icons/src/actions/split_road_a.pspimage | Bin 0 -> 6457 bytes Icons/src/actions/split_road_b.pspimage | Bin 0 -> 6820 bytes Icons/toolselect.xpm | 30 + Icons/zoomico.xpm | 40 + LICENSE | 225 + LICENSE.rtf | 229 + Merkaartor.pro | 4 + README.md | 45 + Styles/Bicycle.mas | 426 + Styles/Classic.mas | 252 + Styles/Lighting.mas | 50 + Styles/Mapnik.mas | 715 ++ Styles/MapnikPlus.mas | 1004 +++ Styles/Maxspeed.mas | 205 + Styles/Merkaartor.mas | 1085 +++ Styles/Mobile.mas | 622 ++ Styles/None.mas | 2 + Styles/Styles.qrc | 14 + Styles/Validation.mas | 41 + Styles/Wireframe.mas | 680 ++ Templates/Brussels.mat | 99 + Templates/TagTemplate.xsd | 67 + Templates/Templates.qrc | 5 + Templates/default.mat | 2895 +++++++ Templates/mine.mat | 2803 +++++++ ci/travis-linux-install.sh | 13 + ci/travis-linux-script.sh | 6 + ci/travis-osx-install.sh | 27 + ci/travis-osx-script.sh | 46 + include/RTree.h | 1599 ++++ interfaces/IBackend.h | 34 + interfaces/IDocument.h | 20 + interfaces/IFeature.h | 124 + interfaces/IImageManager.cpp | 86 + interfaces/IImageManager.h | 107 + interfaces/ILayer.h | 9 + interfaces/IMapAdapter.h | 139 + interfaces/IMapAdapterFactory.h | 32 + interfaces/IMapWatermark.h | 18 + interfaces/IMerkMainWindow.h | 25 + interfaces/IProgressWindow.h | 21 + interfaces/IProjection.h | 21 + interfaces/IRenderer.h | 48 + interfaces/Interfaces.pri | 13 + macos/Info.plist | 17 + macos/mklocversion.sh | 39 + macos/setupframework.sh | 28 + mobilemerk/mobilemerk.pro | 34 + mobilemerk/src/MapView.cpp | 455 ++ mobilemerk/src/MapView.h | 66 + mobilemerk/src/MobileMainWindow.cpp | 52 + mobilemerk/src/MobileMainWindow.h | 30 + mobilemerk/src/MobileMainWindow.ui | 40 + mobilemerk/src/main.cpp | 10 + mobilemerk/src/src.pri | 13 + .../thirdparty/MouseMachine/LICENSE.LGPL | 504 ++ .../thirdparty/MouseMachine/MouseMachine.cpp | 398 + .../thirdparty/MouseMachine/MouseMachine.h | 120 + .../thirdparty/MouseMachine/MouseMachine.pri | 2 + mobilemerk/thirdparty/MouseMachine/README | 9 + .../CadastreFrance.cpp | 406 + .../CadastreFrance.h | 192 + .../MCadastreFranceBackground.pro | 17 + .../MCadastreFranceBackground/qadastre.pri | 14 + .../qadastre/COPYING.txt | 674 ++ .../qadastre/cadastrebrowser.cpp | 87 + .../qadastre/cadastrebrowser.h | 47 + .../qadastre/cadastrebrowser.ui | 118 + .../qadastre/cadastrewrapper.cpp | 348 + .../qadastre/cadastrewrapper.h | 72 + .../qadastre/city.cpp | 95 + .../MCadastreFranceBackground/qadastre/city.h | 57 + .../qadastre/main.cpp | 37 + .../qadastre/qadastre.pro | 20 + .../qadastre/searchdialog.cpp | 105 + .../qadastre/searchdialog.h | 56 + .../qadastre/searchdialog.ui | 173 + .../qadastre/tile.cpp | 112 + .../MCadastreFranceBackground/qadastre/tile.h | 42 + .../MGdalBackground/GdalAdapter.cpp | 659 ++ .../background/MGdalBackground/GdalAdapter.h | 204 + .../MGdalBackground/GdalAdapter.json | 1 + .../MGdalBackground/MGdalBackground.pro | 38 + .../MGeoTiffBackground/GeoTiffAdapter.cpp | 429 + .../MGeoTiffBackground/GeoTiffAdapter.h | 201 + .../MGeoTiffBackground/GeoTiffAdapter.json | 1 + .../MGeoTiffBackground/MGeoTiffBackground.pro | 37 + .../MGosmoreBackground/GosmoreAdapter.cpp | 768 ++ .../MGosmoreBackground/GosmoreAdapter.h | 182 + .../MGosmoreBackground/GosmoreAdapter.json | 1 + .../MGosmoreBackground/GosmoreFeature.cpp | 722 ++ .../MGosmoreBackground/GosmoreFeature.h | 98 + .../MGosmoreBackground/MGosmoreBackground.pri | 18 + .../MGosmoreBackground/MGosmoreBackground.pro | 21 + .../MGosmoreBackground/MGosmoreBackground.qrc | 5 + .../background/MGosmoreBackground/libgosm.cpp | 792 ++ .../background/MGosmoreBackground/libgosm.h | 507 ++ .../MMsBingMapBackground.pro | 20 + .../MMsBingMapBackground/Resources.qrc | 5 + .../images/logo_powered_by.png | Bin 0 -> 4295 bytes .../MMsBingMapBackground/mapadapter.cpp | 46 + .../MMsBingMapBackground/mapadapter.h | 97 + .../MMsBingMapBackground/msbingmapadapter.cpp | 331 + .../MMsBingMapBackground/msbingmapadapter.h | 178 + .../msbingmapadapter.json | 1 + .../MNavitBackground/MNavitBackground.pri | 15 + .../MNavitBackground/MNavitBackground.pro | 32 + .../MNavitBackground/MNavitBackground.qrc | 5 + .../MNavitBackground/NavitAdapter.cpp | 745 ++ .../MNavitBackground/NavitAdapter.h | 178 + .../MNavitBackground/NavitAdapter.json | 1 + .../background/MNavitBackground/NavitBin.cpp | 299 + .../background/MNavitBackground/NavitBin.h | 80 + .../MNavitBackground/NavitFeature.cpp | 44 + .../MNavitBackground/NavitFeature.h | 124 + .../background/MNavitBackground/NavitZip.cpp | 153 + .../background/MNavitBackground/NavitZip.h | 116 + .../background/MNavitBackground/attr_def.h | 402 + .../background/MNavitBackground/item_def.h | 581 ++ .../MSpatialiteBackground.pri | 11 + .../MSpatialiteBackground.pro | 28 + .../MSpatialiteBackground.qrc | 5 + .../PrimitiveFeature.cpp | 44 + .../MSpatialiteBackground/PrimitiveFeature.h | 122 + .../SpatialiteAdapter.cpp | 473 ++ .../MSpatialiteBackground/SpatialiteAdapter.h | 204 + .../SpatialiteAdapter.json | 1 + .../MWalkingPapersBackground.pro | 26 + .../WalkingPapersAdapter.cpp | 446 + .../WalkingPapersAdapter.h | 182 + .../WalkingPapersAdapter.json | 0 .../MYahooBackground/MYahooBackground.pro | 17 + .../MYahooBackground/MYahooBackground.qrc | 5 + .../MYahooBackground/yahoolegalmapadapter.cpp | 106 + .../MYahooBackground/yahoolegalmapadapter.h | 165 + .../yahoolegalmapadapter.json | 1 + plugins/background/MYahooBackground/ymap.html | 107 + .../MYahooTiledBackground.pro | 17 + .../MYahooTiledBackground.qrc | 5 + .../yahootiledmapadapter.cpp | 226 + .../yahootiledmapadapter.h | 182 + .../yahootiledmapadapter.json | 1 + .../MYahooTiledBackground/ymap.html | 107 + plugins/background/background.pro | 25 + plugins/background/common.pri | 9 + plugins/common.pri | 66 + plugins/plugins.pro | 6 + share/BookmarksList.xml | 23 + share/Projections.xml | 11 + share/TmsServersList.xml | 6 + share/WmsServersList.xml | 7 + share/proj/GL27 | 22 + share/proj/epsg | 7212 +++++++++++++++++ share/proj/esri | 5937 ++++++++++++++ share/proj/esri.extra | 952 +++ share/proj/nad.lst | 142 + share/proj/nad27 | 809 ++ share/proj/nad83 | 744 ++ share/proj/other.extra | 49 + share/proj/proj_def.dat | 17 + share/proj/world | 212 + share/share.qrc | 13 + share/world_shp/world_adm0.dbf | Bin 0 -> 14551 bytes share/world_shp/world_adm0.shp | Bin 0 -> 1537144 bytes share/world_shp/world_adm0.shx | Bin 0 -> 1772 bytes src/Backend/Backend.pri | 18 + src/Backend/MemoryBackend.cpp | 393 + src/Backend/MemoryBackend.h | 61 + src/Backend/SpatialiteBackend.cpp | 263 + src/Backend/SpatialiteBackend.h | 80 + src/Backend/SpatialiteBase.cpp | 125 + src/Backend/SpatialiteBase.h | 77 + src/Commands/Command.cpp | 571 ++ src/Commands/Command.h | 110 + src/Commands/Commands.pri | 20 + src/Commands/DocumentCommands.cpp | 280 + src/Commands/DocumentCommands.h | 59 + src/Commands/FeatureCommands.cpp | 413 + src/Commands/FeatureCommands.h | 91 + src/Commands/NodeCommands.cpp | 129 + src/Commands/NodeCommands.h | 34 + src/Commands/RelationCommands.cpp | 275 + src/Commands/RelationCommands.h | 64 + src/Commands/TrackSegmentCommands.cpp | 196 + src/Commands/TrackSegmentCommands.h | 58 + src/Commands/WayCommands.cpp | 255 + src/Commands/WayCommands.h | 59 + src/Config.pri | 45 + src/Custom.pri | 0 src/Docks/DirtyDock.cpp | 198 + src/Docks/DirtyDock.h | 57 + src/Docks/DirtyDock.ui | 79 + src/Docks/Docks.pri | 23 + src/Docks/FeaturesDock.cpp | 475 ++ src/Docks/FeaturesDock.h | 89 + src/Docks/FeaturesDock.ui | 172 + src/Docks/GeoImage.pri | 15 + src/Docks/GeoImageDock.cpp | 1153 +++ src/Docks/GeoImageDock.h | 108 + src/Docks/InfoDock.cpp | 99 + src/Docks/InfoDock.h | 49 + src/Docks/LayerDock.cpp | 564 ++ src/Docks/LayerDock.h | 82 + src/Docks/MDockAncestor.cpp | 40 + src/Docks/MDockAncestor.h | 44 + src/Docks/MinimumRelationProperties.ui | 190 + src/Docks/MinimumRoadProperties.ui | 133 + src/Docks/MinimumTrackPointProperties.ui | 149 + src/Docks/PhotoLoadErrorDialog.ui | 172 + src/Docks/PropertiesDock.cpp | 1187 +++ src/Docks/PropertiesDock.h | 130 + src/Docks/StyleDock.cpp | 104 + src/Docks/StyleDock.h | 49 + src/Docks/StyleDock.ui | 49 + src/Features/Feature.cpp | 1093 +++ src/Features/Feature.h | 369 + src/Features/Features.h | 6 + src/Features/Features.pri | 17 + src/Features/Node.cpp | 767 ++ src/Features/Node.h | 153 + src/Features/Relation.cpp | 804 ++ src/Features/Relation.h | 73 + src/Features/TrackSegment.cpp | 413 + src/Features/TrackSegment.h | 71 + src/Features/Way.cpp | 1035 +++ src/Features/Way.h | 109 + src/GPS/GPS.pri | 40 + src/GPS/GpsFix.cpp | 75 + src/GPS/GpsFix.h | 102 + src/GPS/SatelliteStrengthView.cpp | 51 + src/GPS/SatelliteStrengthView.h | 33 + src/GPS/qgps.cpp | 241 + src/GPS/qgps.h | 67 + src/GPS/qgpsdevice.cpp | 1403 ++++ src/GPS/qgpsdevice.h | 378 + src/GPS/qgpsmainwindowui.ui | 207 + src/GPS/qgpssatellitetracker.cpp | 142 + src/GPS/qgpssatellitetracker.h | 49 + src/ImportExport/ExportDialog.ui | 106 + src/ImportExport/ExportGPX.cpp | 99 + src/ImportExport/ExportGPX.h | 31 + src/ImportExport/ExportOSM.cpp | 104 + src/ImportExport/ExportOSM.h | 17 + src/ImportExport/IImportExport.cpp | 70 + src/ImportExport/IImportExport.h | 59 + src/ImportExport/ImportCSVDialog.cpp | 565 ++ src/ImportExport/ImportCSVDialog.h | 95 + src/ImportExport/ImportCSVDialog.ui | 427 + src/ImportExport/ImportExport.pri | 62 + src/ImportExport/ImportExportCSV.cpp | 50 + src/ImportExport/ImportExportCSV.h | 35 + src/ImportExport/ImportExportGdal.cpp | 533 ++ src/ImportExport/ImportExportGdal.h | 73 + src/ImportExport/ImportExportKML.cpp | 320 + src/ImportExport/ImportExportKML.h | 35 + src/ImportExport/ImportExportOSC.cpp | 170 + src/ImportExport/ImportExportOSC.h | 35 + src/ImportExport/ImportExportPBF.cpp | 602 ++ src/ImportExport/ImportExportPBF.h | 94 + src/ImportExport/ImportGPX.cpp | 304 + src/ImportExport/ImportGPX.h | 18 + src/ImportExport/ImportNGT.cpp | 48 + src/ImportExport/ImportNGT.h | 12 + src/ImportExport/ImportNMEA.cpp | 230 + src/ImportExport/ImportNMEA.h | 45 + src/ImportExport/ImportOSM.cpp | 595 ++ src/ImportExport/ImportOSM.h | 49 + src/ImportExport/fileformat.pb.cc | 611 ++ src/ImportExport/fileformat.pb.h | 565 ++ src/ImportExport/fileformat.proto | 54 + src/ImportExport/osmformat.pb.cc | 3824 +++++++++ src/ImportExport/osmformat.pb.h | 2810 +++++++ src/ImportExport/osmformat.proto | 227 + src/Interactions/BuildBridgeInteraction.cpp | 170 + src/Interactions/BuildBridgeInteraction.h | 26 + src/Interactions/CreateAreaInteraction.cpp | 277 + src/Interactions/CreateAreaInteraction.h | 45 + src/Interactions/CreateDoubleWayDock.ui | 66 + .../CreateDoubleWayInteraction.cpp | 263 + src/Interactions/CreateDoubleWayInteraction.h | 41 + src/Interactions/CreateNodeInteraction.cpp | 133 + src/Interactions/CreateNodeInteraction.h | 28 + src/Interactions/CreatePolygonInteraction.cpp | 201 + src/Interactions/CreatePolygonInteraction.h | 36 + src/Interactions/CreateRoundaboutDock.ui | 106 + .../CreateRoundaboutInteraction.cpp | 190 + .../CreateRoundaboutInteraction.h | 39 + .../CreateSingleWayInteraction.cpp | 361 + src/Interactions/CreateSingleWayInteraction.h | 48 + src/Interactions/EditInteraction.cpp | 349 + src/Interactions/EditInteraction.h | 44 + src/Interactions/ExtrudeInteraction.cpp | 174 + src/Interactions/ExtrudeInteraction.h | 44 + src/Interactions/Interaction.cpp | 539 ++ src/Interactions/Interaction.h | 136 + src/Interactions/Interactions.pri | 38 + src/Interactions/MoveNodeInteraction.cpp | 324 + src/Interactions/MoveNodeInteraction.h | 40 + src/Interactions/RotateInteraction.cpp | 203 + src/Interactions/RotateInteraction.h | 42 + src/Interactions/ScaleInteraction.cpp | 194 + src/Interactions/ScaleInteraction.h | 41 + src/Interactions/ZoomInteraction.cpp | 87 + src/Interactions/ZoomInteraction.h | 31 + src/Layers/FilterEditDialog.ui | 108 + src/Layers/ImageMapLayer.cpp | 1054 +++ src/Layers/ImageMapLayer.h | 94 + src/Layers/Layer.cpp | 982 +++ src/Layers/Layer.h | 295 + src/Layers/LayerIterator.h | 70 + src/Layers/LayerPrivate.h | 40 + src/Layers/LayerWidget.cpp | 725 ++ src/Layers/LayerWidget.h | 207 + src/Layers/LayerWidget.ui | 41 + src/Layers/Layers.pri | 16 + src/Layers/LicenseDisplayDialog.ui | 68 + src/Layers/OsmRenderLayer.cpp | 262 + src/Layers/OsmRenderLayer.h | 61 + src/Main.cpp | 272 + src/MainWindow.cpp | 4328 ++++++++++ src/MainWindow.h | 349 + src/MainWindow.ui | 2177 +++++ src/NameFinder/NameFinder.pri | 14 + src/NameFinder/NameFinderResult.h | 60 + src/NameFinder/httpquery.cpp | 93 + src/NameFinder/httpquery.h | 60 + src/NameFinder/namefindertablemodel.cpp | 119 + src/NameFinder/namefindertablemodel.h | 57 + src/NameFinder/namefinderwidget.cpp | 146 + src/NameFinder/namefinderwidget.h | 83 + src/NameFinder/namefinderwidget.ui | 40 + src/NameFinder/xmlstreamreader.cpp | 167 + src/NameFinder/xmlstreamreader.h | 61 + src/PaintStyle/FeaturePainter.cpp | 813 ++ src/PaintStyle/FeaturePainter.h | 61 + src/PaintStyle/IPaintStyle.h | 28 + src/PaintStyle/MapCSSPaintstyle.cpp | 134 + src/PaintStyle/MapCSSPaintstyle.h | 43 + src/PaintStyle/MasPaintStyle.cpp | 140 + src/PaintStyle/MasPaintStyle.h | 36 + src/PaintStyle/PaintStyle.pri | 17 + src/PaintStyle/PaintStyleEditor.cpp | 855 ++ src/PaintStyle/PaintStyleEditor.h | 94 + src/PaintStyle/PaintStyleEditor.pri | 11 + src/PaintStyle/PaintStyleEditor.ui | 2358 ++++++ src/PaintStyle/Painter.cpp | 745 ++ src/PaintStyle/Painter.h | 174 + src/PaintStyle/PrimitivePainter.cpp | 537 ++ src/PaintStyle/PrimitivePainter.h | 58 + src/Preferences/BookmarksList.cpp | 143 + src/Preferences/BookmarksList.h | 54 + src/Preferences/FilterList.cpp | 128 + src/Preferences/FilterList.h | 52 + src/Preferences/FilterPreferencesDialog.cpp | 200 + src/Preferences/FilterPreferencesDialog.h | 67 + src/Preferences/FilterPreferencesDialog.ui | 198 + src/Preferences/MerkaartorPreferences.cpp | 1711 ++++ src/Preferences/MerkaartorPreferences.h | 502 ++ src/Preferences/OsmServerWidget.ui | 112 + src/Preferences/Preferences.pri | 43 + src/Preferences/PreferencesDialog.cpp | 707 ++ src/Preferences/PreferencesDialog.h | 96 + src/Preferences/PreferencesDialog.ui | 1881 +++++ src/Preferences/ProjPreferencesDialog.cpp | 145 + src/Preferences/ProjPreferencesDialog.h | 62 + src/Preferences/ProjPreferencesDialog.ui | 198 + src/Preferences/ProjectionsList.cpp | 156 + src/Preferences/ProjectionsList.h | 51 + src/Preferences/TMSPreferencesDialog.cpp | 385 + src/Preferences/TMSPreferencesDialog.h | 86 + src/Preferences/TMSPreferencesDialog.ui | 361 + src/Preferences/TmsServersList.cpp | 178 + src/Preferences/TmsServersList.h | 61 + src/Preferences/WMSPreferencesDialog.cpp | 747 ++ src/Preferences/WMSPreferencesDialog.h | 157 + src/Preferences/WMSPreferencesDialog.ui | 395 + src/Preferences/WmsServersList.cpp | 238 + src/Preferences/WmsServersList.h | 84 + src/QMapControl.pri | 33 + src/QMapControl/WmscMapAdapter.cpp | 166 + src/QMapControl/WmscMapAdapter.h | 113 + src/QMapControl/browserimagemanager.cpp | 395 + src/QMapControl/browserimagemanager.h | 147 + src/QMapControl/imagemanager.cpp | 197 + src/QMapControl/imagemanager.h | 96 + src/QMapControl/imagepoint.cpp | 43 + src/QMapControl/imagepoint.h | 62 + src/QMapControl/mapadapter.cpp | 87 + src/QMapControl/mapadapter.h | 128 + src/QMapControl/mapcontrol.cpp | 344 + src/QMapControl/mapcontrol.h | 276 + src/QMapControl/mapnetwork.cpp | 202 + src/QMapControl/mapnetwork.h | 76 + src/QMapControl/tilemapadapter.cpp | 154 + src/QMapControl/tilemapadapter.h | 112 + src/QMapControl/wmsmapadapter.cpp | 122 + src/QMapControl/wmsmapadapter.h | 141 + src/QToolBarDialog/QToolBarDialog.pri | 7 + src/QToolBarDialog/qttoolbardialog.cpp | 1892 +++++ src/QToolBarDialog/qttoolbardialog.h | 144 + src/QToolBarDialog/qttoolbardialog.ui | 240 + src/Render/MapRenderer.cpp | 395 + src/Render/MapRenderer.h | 125 + src/Render/NativeRenderDialog.cpp | 252 + src/Render/NativeRenderDialog.h | 67 + src/Render/NativeRenderDialog.ui | 259 + src/Render/Render.pri | 25 + src/Sync/DirtyList.cpp | 833 ++ src/Sync/DirtyList.h | 159 + src/Sync/DirtyListExecutorOSC.cpp | 478 ++ src/Sync/DirtyListExecutorOSC.h | 67 + src/Sync/DownloadOSM.cpp | 737 ++ src/Sync/DownloadOSM.h | 89 + src/Sync/Sync.pri | 21 + src/Sync/SyncListDialog.ui | 319 + src/TagTemplate/TagTemplate.cpp | 1114 +++ src/TagTemplate/TagTemplate.h | 246 + src/TagTemplate/TagTemplate.pri | 16 + src/Tools/ActionsDialog.cpp | 177 + src/Tools/ActionsDialog.h | 37 + src/Tools/QFatFs/QFat.cpp | 585 ++ src/Tools/QFatFs/QFat.h | 114 + src/Tools/QFatFs/QFatFile.cpp | 78 + src/Tools/QFatFs/QFatFile.h | 29 + src/Tools/QFatFs/QFatFs.cpp | 278 + src/Tools/QFatFs/QFatFs.h | 91 + src/Tools/QFatFs/QFatFs.pri | 12 + src/Tools/RegionMapWidget.cpp | 138 + src/Tools/RegionMapWidget.h | 43 + src/Tools/Tools.pri | 19 + src/Tools/ZipEngine.cpp | 101 + src/Tools/ZipEngine.h | 58 + src/Utils/CheckBoxList.cpp | 156 + src/Utils/CheckBoxList.h | 35 + src/Utils/EditCompleterDelegate.cpp | 140 + src/Utils/EditCompleterDelegate.h | 39 + src/Utils/LineF.h | 299 + src/Utils/MDiscardableDialog.cpp | 81 + src/Utils/MDiscardableDialog.h | 37 + src/Utils/OsmLink.cpp | 235 + src/Utils/OsmLink.h | 27 + src/Utils/PictureViewerDialog.cpp | 71 + src/Utils/PictureViewerDialog.h | 39 + src/Utils/PictureViewerDialog.ui | 55 + src/Utils/PixmapWidget.cpp | 158 + src/Utils/PixmapWidget.h | 50 + src/Utils/ProjectionChooser.cpp | 129 + src/Utils/ProjectionChooser.h | 25 + src/Utils/ProjectionChooser.ui | 204 + src/Utils/SelectionDialog.cpp | 115 + src/Utils/SelectionDialog.h | 42 + src/Utils/SelectionDialog.ui | 171 + src/Utils/ShortcutOverrideFilter.cpp | 69 + src/Utils/ShortcutOverrideFilter.h | 29 + src/Utils/SlippyMapWidget.cpp | 513 ++ src/Utils/SlippyMapWidget.h | 94 + src/Utils/SvgCache.cpp | 35 + src/Utils/SvgCache.h | 8 + src/Utils/TagSelector.cpp | 1167 +++ src/Utils/TagSelector.h | 218 + src/Utils/TagSelectorWidget.cpp | 65 + src/Utils/TagSelectorWidget.h | 35 + src/Utils/TagSelectorWidget.ui | 117 + src/Utils/Utils.cpp | 115 + src/Utils/Utils.h | 33 + src/Utils/Utils.pri | 52 + src/Utils/Utils.qrc | 8 + src/Utils/init_spatialite-2.3.sql | 3551 ++++++++ src/common/AboutDialog.ui | 255 + src/common/Coord.cpp | 196 + src/common/Coord.h | 208 + src/common/Document.cpp | 1283 +++ src/common/Document.h | 189 + src/common/DownloadMapDialog.ui | 220 + src/common/FeatureManipulations.cpp | 1990 +++++ src/common/FeatureManipulations.h | 56 + src/common/Global.cpp | 147 + src/common/Global.h | 58 + src/common/GotoDialog.cpp | 214 + src/common/GotoDialog.h | 63 + src/common/GotoDialog.ui | 381 + src/common/MapTypedef.h | 27 + src/common/MapView.cpp | 1181 +++ src/common/MapView.h | 142 + src/common/MultiProperties.ui | 90 + src/common/Painting.cpp | 226 + src/common/Painting.h | 29 + src/common/Projection.cpp | 366 + src/common/Projection.h | 92 + src/common/PropertiesDialog.ui | 67 + src/common/RelationProperties.ui | 111 + src/common/TagModel.cpp | 198 + src/common/TagModel.h | 39 + src/common/TerraceDialog.cpp | 126 + src/common/TerraceDialog.h | 43 + src/common/TerraceDialog.ui | 289 + src/common/UploadMapDialog.ui | 174 + src/common/common.pri | 41 + src/merkaartor.desktop | 13 + src/qextserialport/posix_qextserialport.cpp | 1117 +++ src/qextserialport/posix_qextserialport.h | 56 + src/qextserialport/qextserialbase.cpp | 250 + src/qextserialport/qextserialbase.h | 196 + src/qextserialport/qextserialport.cpp | 98 + src/qextserialport/qextserialport.h | 27 + src/qextserialport/qextserialport.pri | 17 + src/qextserialport/win_qextserialport.cpp | 880 ++ src/qextserialport/win_qextserialport.h | 49 + src/src.pro | 369 + translations/README.md | 30 + translations/i18n.pl | 554 ++ translations/makefile | 32 + translations/maketar.pl | 57 + translations/merkaartor_ar.ts | 7050 ++++++++++++++++ translations/merkaartor_cs.ts | 7066 ++++++++++++++++ translations/merkaartor_de.ts | 7088 ++++++++++++++++ translations/merkaartor_de_AT.ts | 7013 ++++++++++++++++ translations/merkaartor_en.ts | 7021 ++++++++++++++++ translations/merkaartor_es.ts | 7065 ++++++++++++++++ translations/merkaartor_et.ts | 7024 ++++++++++++++++ translations/merkaartor_fr.ts | 7067 ++++++++++++++++ translations/merkaartor_hr.ts | 7049 ++++++++++++++++ translations/merkaartor_hu.ts | 7087 ++++++++++++++++ translations/merkaartor_id_ID.ts | 7065 ++++++++++++++++ translations/merkaartor_it.ts | 7077 ++++++++++++++++ translations/merkaartor_ja.ts | 7074 ++++++++++++++++ translations/merkaartor_nl.ts | 7068 ++++++++++++++++ translations/merkaartor_pl.ts | 7080 ++++++++++++++++ translations/merkaartor_pt.ts | 7039 ++++++++++++++++ translations/merkaartor_pt_BR.ts | 7078 ++++++++++++++++ translations/merkaartor_ru.ts | 7072 ++++++++++++++++ translations/merkaartor_sk.ts | 7031 ++++++++++++++++ translations/merkaartor_sv.ts | 7066 ++++++++++++++++ translations/merkaartor_uk.ts | 7069 ++++++++++++++++ translations/merkaartor_vi.ts | 7013 ++++++++++++++++ translations/merkaartor_zh_CN.ts | 7013 ++++++++++++++++ translations/merkaartor_zh_TW.ts | 7080 ++++++++++++++++ windows/Makefile | 84 + windows/banner.bmp | Bin 0 -> 2300 bytes windows/copydeps.sh | 17 + windows/defines-qt_dbg.wxi | 18 + windows/defines.wxi | 18 + windows/defines_dbg.wxi | 18 + windows/defines_svn.wxi | 17 + windows/dialog.bmp | Bin 0 -> 11790 bytes windows/external.wxi | 49 + windows/installer.nsi | 155 + windows/merkaartor.cmd | 53 + windows/merkaartor.wxs | 124 + windows/merkaartor_dbg.wxs | 139 + windows/merkaartor_svn.wxs | 104 + windows/merkaartor_trans.wxi | 56 + windows/msys-build | 10 + windows/msys-init | 24 + windows/proj4.wxi | 103 + windows/qt.wxi | 58 + windows/qt_dbg.wxi | 58 + windows/qt_dbg.wxs | 134 + windows/qttrans.wxi | 66 + windows/upload-to-bintray.pl | 33 + 2083 files changed, 361128 insertions(+) create mode 100644 .drone.sec create mode 100644 .drone.yml create mode 100644 .gitignore create mode 100644 .indent.pro create mode 100644 .travis.yml create mode 100644 .tx/config create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/INSTALL.TXT create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/LGPL_EXCEPTION.txt create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.GPL3 create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.LGPL create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/README.TXT create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/buildlib/buildlib.pro create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/common.pri create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/config.pri create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/configure create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/classic.css create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/images/qt-logo.png create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/index.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile-members.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-loader.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-trivial.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-members.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-obsolete.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.dcf create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.index create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qch create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qhp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-example-console.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-members.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication.html create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/images/qt-logo.png create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/doc/index.qdoc create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.pro create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.qdoc create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/main.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/examples.pro create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file1.qsl create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file2.qsl create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.pro create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.qdoc create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/main.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/main.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.pro create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.qdoc create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/qtsingleapplication.pro create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/QtLockedFile create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/QtSingleApplication create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.h create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.h create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_unix.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_win.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.h create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.cpp create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.h create mode 100644 3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.pri create mode 100644 3rdparty/quazip-0.7/CMakeLists.txt create mode 100644 3rdparty/quazip-0.7/COPYING create mode 100644 3rdparty/quazip-0.7/Doxyfile create mode 100644 3rdparty/quazip-0.7/FindQuaZip.cmake create mode 100644 3rdparty/quazip-0.7/NEWS.txt create mode 100644 3rdparty/quazip-0.7/README.txt create mode 100644 3rdparty/quazip-0.7/doc/html/JlCompress_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/annotated.html create mode 100644 3rdparty/quazip-0.7/doc/html/bc_s.png create mode 100644 3rdparty/quazip-0.7/doc/html/bdwn.png create mode 100644 3rdparty/quazip-0.7/doc/html/classJlCompress-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classJlCompress.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaChecksum32-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaChecksum32.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZip-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZip.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipDir-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipDir.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.map create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.png create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipPrivate-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/classQuaZipPrivate.html create mode 100644 3rdparty/quazip-0.7/doc/html/classes.html create mode 100644 3rdparty/quazip-0.7/doc/html/closed.png create mode 100644 3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html create mode 100644 3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map create mode 100644 3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.png create mode 100644 3rdparty/quazip-0.7/doc/html/doxygen.css create mode 100644 3rdparty/quazip-0.7/doc/html/doxygen.png create mode 100644 3rdparty/quazip-0.7/doc/html/dynsections.js create mode 100644 3rdparty/quazip-0.7/doc/html/faq.html create mode 100644 3rdparty/quazip-0.7/doc/html/files.html create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2blank.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2cl.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2doc.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2folderclosed.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2folderopen.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2lastnode.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2link.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2mlastnode.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2mnode.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2mo.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2node.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2ns.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2plastnode.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2pnode.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2splitbar.png create mode 100644 3rdparty/quazip-0.7/doc/html/ftv2vertline.png create mode 100644 3rdparty/quazip-0.7/doc/html/functions.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_b.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_c.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_d.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_e.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_enum.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_eval.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_f.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_func.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_g.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_h.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_i.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_m.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_n.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_o.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_p.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_q.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_r.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_s.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_t.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_u.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_v.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_vars.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_w.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_z.html create mode 100644 3rdparty/quazip-0.7/doc/html/functions_~.html create mode 100644 3rdparty/quazip-0.7/doc/html/graph_legend.html create mode 100644 3rdparty/quazip-0.7/doc/html/graph_legend.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/graph_legend.png create mode 100644 3rdparty/quazip-0.7/doc/html/hierarchy.html create mode 100644 3rdparty/quazip-0.7/doc/html/index.html create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_0.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_0.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_0.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_1.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_1.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_1.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_10.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_10.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_10.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_2.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_2.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_2.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_3.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_3.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_3.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_4.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_4.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_4.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_5.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_5.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_5.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_6.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_6.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_6.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_7.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_7.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_7.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_8.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_8.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_8.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_9.map create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_9.md5 create mode 100644 3rdparty/quazip-0.7/doc/html/inherit_graph_9.png create mode 100644 3rdparty/quazip-0.7/doc/html/inherits.html create mode 100644 3rdparty/quazip-0.7/doc/html/nav_f.png create mode 100644 3rdparty/quazip-0.7/doc/html/nav_g.png create mode 100644 3rdparty/quazip-0.7/doc/html/nav_h.png create mode 100644 3rdparty/quazip-0.7/doc/html/open.png create mode 100644 3rdparty/quazip-0.7/doc/html/pages.html create mode 100644 3rdparty/quazip-0.7/doc/html/quaadler32_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quachecksum32_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quacrc32_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quagzipfile_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quaziodevice_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quazip_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quazip__global_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quazipdir_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quazipfile_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quazipfileinfo_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/quazipnewinfo_8h_source.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo-members.html create mode 100644 3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo.html create mode 100644 3rdparty/quazip-0.7/doc/html/sync_off.png create mode 100644 3rdparty/quazip-0.7/doc/html/sync_on.png create mode 100644 3rdparty/quazip-0.7/doc/html/tab_a.png create mode 100644 3rdparty/quazip-0.7/doc/html/tab_b.png create mode 100644 3rdparty/quazip-0.7/doc/html/tab_h.png create mode 100644 3rdparty/quazip-0.7/doc/html/tab_s.png create mode 100644 3rdparty/quazip-0.7/doc/html/tabs.css create mode 100644 3rdparty/quazip-0.7/doc/html/usage.html create mode 100644 3rdparty/quazip-0.7/doc/latex/annotated.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classJlCompress.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaAdler32.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaChecksum32.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaCrc32.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaGzipFile.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZIODevice.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZip.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipDir.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipFile.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipFilePrivate.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/classQuaZipPrivate.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps create mode 100644 3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 create mode 100644 3rdparty/quazip-0.7/doc/latex/doxygen.sty create mode 100644 3rdparty/quazip-0.7/doc/latex/faq.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/hierarchy.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/index.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/refman.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/structQIODevice__descriptor.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo64.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/structQuaZipNewInfo.tex create mode 100644 3rdparty/quazip-0.7/doc/latex/usage.tex create mode 100644 3rdparty/quazip-0.7/includes.pri create mode 100644 3rdparty/quazip-0.7/quazip.pri create mode 100644 3rdparty/quazip-0.7/quazip.pro create mode 100644 3rdparty/quazip-0.7/quazip.sln create mode 100644 3rdparty/quazip-0.7/quazip/CMakeLists.txt create mode 100644 3rdparty/quazip-0.7/quazip/JlCompress.cpp create mode 100644 3rdparty/quazip-0.7/quazip/JlCompress.h create mode 100644 3rdparty/quazip-0.7/quazip/crypt.h create mode 100644 3rdparty/quazip-0.7/quazip/debian/libquazip0.symbols create mode 100644 3rdparty/quazip-0.7/quazip/doc/faq.dox create mode 100644 3rdparty/quazip-0.7/quazip/doc/index.dox create mode 100644 3rdparty/quazip-0.7/quazip/doc/usage.dox create mode 100644 3rdparty/quazip-0.7/quazip/ioapi.h create mode 100644 3rdparty/quazip-0.7/quazip/qioapi.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quaadler32.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quaadler32.h create mode 100644 3rdparty/quazip-0.7/quazip/quachecksum32.h create mode 100644 3rdparty/quazip-0.7/quazip/quacrc32.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quacrc32.h create mode 100644 3rdparty/quazip-0.7/quazip/quagzipfile.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quagzipfile.h create mode 100644 3rdparty/quazip-0.7/quazip/quaziodevice.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quaziodevice.h create mode 100644 3rdparty/quazip-0.7/quazip/quazip.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quazip.h create mode 100644 3rdparty/quazip-0.7/quazip/quazip.pri create mode 100644 3rdparty/quazip-0.7/quazip/quazip.pro create mode 100644 3rdparty/quazip-0.7/quazip/quazip.sln create mode 100644 3rdparty/quazip-0.7/quazip/quazip.vcproj create mode 100644 3rdparty/quazip-0.7/quazip/quazip.vcxproj create mode 100644 3rdparty/quazip-0.7/quazip/quazip.vcxproj.filters create mode 100644 3rdparty/quazip-0.7/quazip/quazip_global.h create mode 100644 3rdparty/quazip-0.7/quazip/quazipdir.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quazipdir.h create mode 100644 3rdparty/quazip-0.7/quazip/quazipfile.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quazipfile.h create mode 100644 3rdparty/quazip-0.7/quazip/quazipfileinfo.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quazipfileinfo.h create mode 100644 3rdparty/quazip-0.7/quazip/quazipnewinfo.cpp create mode 100644 3rdparty/quazip-0.7/quazip/quazipnewinfo.h create mode 100644 3rdparty/quazip-0.7/quazip/run_moc.bat create mode 100644 3rdparty/quazip-0.7/quazip/unzip.c create mode 100644 3rdparty/quazip-0.7/quazip/unzip.h create mode 100644 3rdparty/quazip-0.7/quazip/zip.c create mode 100644 3rdparty/quazip-0.7/quazip/zip.h create mode 100755 3rdparty/quazip-0.7/qztest/coverage.sh create mode 100644 3rdparty/quazip-0.7/qztest/qztest.cpp create mode 100644 3rdparty/quazip-0.7/qztest/qztest.h create mode 100644 3rdparty/quazip-0.7/qztest/qztest.pro create mode 100644 3rdparty/quazip-0.7/qztest/qztest.sln create mode 100644 3rdparty/quazip-0.7/qztest/qztest.vcproj create mode 100644 3rdparty/quazip-0.7/qztest/qztest.vcxproj create mode 100644 3rdparty/quazip-0.7/qztest/qztest.vcxproj.filters create mode 100644 3rdparty/quazip-0.7/qztest/run_moc.bat create mode 100644 3rdparty/quazip-0.7/qztest/testjlcompress.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testjlcompress.h create mode 100644 3rdparty/quazip-0.7/qztest/testquachecksum32.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquachecksum32.h create mode 100644 3rdparty/quazip-0.7/qztest/testquagzipfile.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquagzipfile.h create mode 100644 3rdparty/quazip-0.7/qztest/testquaziodevice.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquaziodevice.h create mode 100644 3rdparty/quazip-0.7/qztest/testquazip.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquazip.h create mode 100644 3rdparty/quazip-0.7/qztest/testquazipdir.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquazipdir.h create mode 100644 3rdparty/quazip-0.7/qztest/testquazipfile.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquazipfile.h create mode 100644 3rdparty/quazip-0.7/qztest/testquazipfileinfo.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquazipfileinfo.h create mode 100644 3rdparty/quazip-0.7/qztest/testquazipnewinfo.cpp create mode 100644 3rdparty/quazip-0.7/qztest/testquazipnewinfo.h create mode 100644 AUTHORS create mode 100644 CHANGELOG create mode 100644 COMPILE.md create mode 100644 CREDITS create mode 100644 HACKING.md create mode 100644 Icons/128x128/merkaartor.png create mode 100644 Icons/16x16/merkaartor.png create mode 100644 Icons/192x192/merkaartor.png create mode 100644 Icons/22x22/merkaartor.png create mode 100644 Icons/24x24/merkaartor.png create mode 100644 Icons/256x256/merkaartor.png create mode 100644 Icons/32x32/merkaartor.png create mode 100644 Icons/36x36/merkaartor.png create mode 100644 Icons/40x40/merkaartor.png create mode 100644 Icons/42x42/merkaartor.png create mode 100644 Icons/48x48/merkaartor.png create mode 100644 Icons/512x512/merkaartor.png create mode 100644 Icons/64x64/merkaartor.png create mode 100644 Icons/72x72/merkaartor.png create mode 100644 Icons/80x80/merkaartor.png create mode 100644 Icons/8x8/merkaartor.png create mode 100644 Icons/96x96/merkaartor.png create mode 100644 Icons/AllIcons.qrc create mode 100644 Icons/Frisius.xpm create mode 100644 Icons/Frisius_100x100.png create mode 100644 Icons/Frisius_16x16.ico create mode 100644 Icons/Frisius_48x48.ico create mode 100644 Icons/Frisius_large.xcf create mode 100644 Icons/Frisius_splash.png create mode 100644 Icons/Frisius_splash.xcf create mode 100644 Icons/Gps_Marker.svg create mode 100644 Icons/Grab.png create mode 100644 Icons/Mapnik/aerodrome.p.16.png create mode 100644 Icons/Mapnik/aerodrome.png create mode 100644 Icons/Mapnik/aiga_parking1.png create mode 100644 Icons/Mapnik/airport.p.16.png create mode 100644 Icons/Mapnik/airport.png create mode 100644 Icons/Mapnik/arrow.png create mode 100644 Icons/Mapnik/arrow_back.png create mode 100644 Icons/Mapnik/atm.png create mode 100644 Icons/Mapnik/atm2.p.16.png create mode 100644 Icons/Mapnik/bank2.p.16.png create mode 100644 Icons/Mapnik/bar.p.20.png create mode 100644 Icons/Mapnik/beach.png create mode 100644 Icons/Mapnik/bus_stop.p.12.png create mode 100644 Icons/Mapnik/bus_stop.png create mode 100644 Icons/Mapnik/cable_car.png create mode 100644 Icons/Mapnik/cafe.p.16.png create mode 100644 Icons/Mapnik/camping.n.16.png create mode 100644 Icons/Mapnik/chair_lift.png create mode 100644 Icons/Mapnik/christian3.p.14.png create mode 100644 Icons/Mapnik/cinema.p.24.png create mode 100644 Icons/Mapnik/cliff.png create mode 100644 Icons/Mapnik/cliff2.png create mode 100644 Icons/Mapnik/communications.p.20.png create mode 100644 Icons/Mapnik/danger.png create mode 100644 Icons/Mapnik/food_bar.p.16.png create mode 100644 Icons/Mapnik/forest.png create mode 100644 Icons/Mapnik/fuel.p.16.png create mode 100644 Icons/Mapnik/gate.png create mode 100644 Icons/Mapnik/gate2.png create mode 100644 Icons/Mapnik/glacier.png create mode 100644 Icons/Mapnik/glacier2.png create mode 100644 Icons/Mapnik/grave_yard.png create mode 100644 Icons/Mapnik/halt.png create mode 100644 Icons/Mapnik/hospital.p.16.png create mode 100644 Icons/Mapnik/hospital.png create mode 100644 Icons/Mapnik/hotel2.p.20.png create mode 100644 Icons/Mapnik/islamic3.p.16.png create mode 100644 Icons/Mapnik/jewish3.p.16.png create mode 100644 Icons/Mapnik/landfill.png create mode 100644 Icons/Mapnik/level_crossing.png create mode 100644 Icons/Mapnik/level_crossing2.png create mode 100644 Icons/Mapnik/library.p.20.png create mode 100644 Icons/Mapnik/london-tube-24.png create mode 100644 Icons/Mapnik/marsh.png create mode 100644 Icons/Mapnik/mini_round.png create mode 100644 Icons/Mapnik/mosque.png create mode 100644 Icons/Mapnik/motorway_shield1.png create mode 100644 Icons/Mapnik/motorway_shield2.png create mode 100644 Icons/Mapnik/motorway_shield3.png create mode 100644 Icons/Mapnik/motorway_shield4.png create mode 100644 Icons/Mapnik/motorway_shield5.png create mode 100644 Icons/Mapnik/motorway_shield6.png create mode 100644 Icons/Mapnik/mud.png create mode 100644 Icons/Mapnik/museum.p.16.png create mode 100644 Icons/Mapnik/nature_reserve.png create mode 100644 Icons/Mapnik/nature_reserve2.png create mode 100644 Icons/Mapnik/parking.p.16.png create mode 100644 Icons/Mapnik/parking.png create mode 100644 Icons/Mapnik/peak.png create mode 100644 Icons/Mapnik/pint.png create mode 100644 Icons/Mapnik/place_of_worship.png create mode 100644 Icons/Mapnik/place_of_worship3.p.16.png create mode 100644 Icons/Mapnik/place_of_worship3.png create mode 100644 Icons/Mapnik/post_box.p.16.png create mode 100644 Icons/Mapnik/post_box.png create mode 100644 Icons/Mapnik/post_office.p.16.png create mode 100644 Icons/Mapnik/post_office.png create mode 100644 Icons/Mapnik/postoffice.png create mode 100644 Icons/Mapnik/power_line.png create mode 100644 Icons/Mapnik/power_tower.png create mode 100644 Icons/Mapnik/power_wind.png create mode 100644 Icons/Mapnik/primary_shield1.png create mode 100644 Icons/Mapnik/primary_shield2.png create mode 100644 Icons/Mapnik/primary_shield3.png create mode 100644 Icons/Mapnik/primary_shield4.png create mode 100644 Icons/Mapnik/primary_shield5.png create mode 100644 Icons/Mapnik/primary_shield6.png create mode 100644 Icons/Mapnik/primary_shield7.png create mode 100644 Icons/Mapnik/primary_shield8.png create mode 100644 Icons/Mapnik/pub.p.16.png create mode 100644 Icons/Mapnik/pub.png create mode 100644 Icons/Mapnik/quarry.png create mode 100644 Icons/Mapnik/quarry2.png create mode 100644 Icons/Mapnik/recycle.png create mode 100644 Icons/Mapnik/recycling.p.16.png create mode 100644 Icons/Mapnik/recycling.png create mode 100644 Icons/Mapnik/restaurant.p.16.png create mode 100644 Icons/Mapnik/scrub.png create mode 100644 Icons/Mapnik/secondary_shield1.png create mode 100644 Icons/Mapnik/secondary_shield2.png create mode 100644 Icons/Mapnik/secondary_shield3.png create mode 100644 Icons/Mapnik/secondary_shield4.png create mode 100644 Icons/Mapnik/secondary_shield5.png create mode 100644 Icons/Mapnik/secondary_shield6.png create mode 100644 Icons/Mapnik/secondary_shield7.png create mode 100644 Icons/Mapnik/secondary_shield8.png create mode 100644 Icons/Mapnik/sikh.png create mode 100644 Icons/Mapnik/sikh3.p.16.png create mode 100644 Icons/Mapnik/station.png create mode 100644 Icons/Mapnik/station_small.png create mode 100644 Icons/Mapnik/synagogue.png create mode 100644 Icons/Mapnik/telephone.p.16.png create mode 100644 Icons/Mapnik/tertiary_shield1.png create mode 100644 Icons/Mapnik/tertiary_shield2.png create mode 100644 Icons/Mapnik/tertiary_shield3.png create mode 100644 Icons/Mapnik/tertiary_shield4.png create mode 100644 Icons/Mapnik/tertiary_shield5.png create mode 100644 Icons/Mapnik/tertiary_shield6.png create mode 100644 Icons/Mapnik/tertiary_shield7.png create mode 100644 Icons/Mapnik/tertiary_shield8.png create mode 100644 Icons/Mapnik/toilets.p.20.png create mode 100644 Icons/Mapnik/tower.png create mode 100644 Icons/Mapnik/tree.png create mode 100644 Icons/Mapnik/trunk_shield1.png create mode 100644 Icons/Mapnik/trunk_shield2.png create mode 100644 Icons/Mapnik/trunk_shield3.png create mode 100644 Icons/Mapnik/trunk_shield4.png create mode 100644 Icons/Mapnik/trunk_shield5.png create mode 100644 Icons/Mapnik/trunk_shield6.png create mode 100644 Icons/Mapnik/trunk_shield7.png create mode 100644 Icons/Mapnik/trunk_shield8.png create mode 100644 Icons/Mapnik/turning_circle.13.png create mode 100644 Icons/Mapnik/turning_circle.15.png create mode 100644 Icons/Mapnik/turning_circle.17.png create mode 100644 Icons/Mapnik/turning_circle.19.png create mode 100644 Icons/Mapnik/vineyard.png create mode 100644 Icons/Mapnik/windmill.png create mode 100644 Icons/Mapnik/zoo.png create mode 100644 Icons/Merkaartor.xpm create mode 100644 Icons/Merkaartor_100x100.png create mode 100644 Icons/Merkaartor_16x16.ico create mode 100644 Icons/Merkaartor_48x48.ico create mode 100644 Icons/Merkaartor_installer.bmp create mode 100644 Icons/Merkaartor_large.xcf create mode 100644 Icons/Merkaartor_splash.png create mode 100644 Icons/Merkaartor_splash.xcf create mode 100644 Icons/Places/place_hamlet.png create mode 100644 Icons/Places/place_town.png create mode 100644 Icons/Places/place_village.png create mode 100644 Icons/QToolBarDialog/back.png create mode 100644 Icons/QToolBarDialog/down.png create mode 100644 Icons/QToolBarDialog/forward.png create mode 100644 Icons/QToolBarDialog/minus.png create mode 100644 Icons/QToolBarDialog/plus.png create mode 100644 Icons/QToolBarDialog/qttoolbardialog.qrc create mode 100644 Icons/QToolBarDialog/up.png create mode 100644 Icons/Tiles/000.png create mode 100644 Icons/Tiles/100.png create mode 100644 Icons/Tiles/101.png create mode 100644 Icons/Tiles/110.png create mode 100644 Icons/Tiles/111.png create mode 100644 Icons/actions/GPS.png create mode 100644 Icons/actions/align_nodes.png create mode 100644 Icons/actions/axisalign.png create mode 100644 Icons/actions/break_apart_roads.png create mode 100644 Icons/actions/build_bridge.png create mode 100644 Icons/actions/camera.png create mode 100644 Icons/actions/create_area.png create mode 100644 Icons/actions/create_node.png create mode 100644 Icons/actions/create_road.png create mode 100644 Icons/actions/detach_node.png create mode 100644 Icons/actions/document_import.png create mode 100644 Icons/actions/document_new.png create mode 100644 Icons/actions/document_open.png create mode 100644 Icons/actions/download.png create mode 100644 Icons/actions/download_more.png create mode 100644 Icons/actions/edit-cut.png create mode 100644 Icons/actions/edit_copy.png create mode 100644 Icons/actions/edit_delete.png create mode 100644 Icons/actions/edit_move.png create mode 100644 Icons/actions/edit_paste.png create mode 100644 Icons/actions/edit_paste_tags.png create mode 100644 Icons/actions/edit_rotate.png create mode 100644 Icons/actions/edit_rotate.svg create mode 100644 Icons/actions/emblem-important.png create mode 100644 Icons/actions/emblem-unreadable.png create mode 100644 Icons/actions/find.png create mode 100644 Icons/actions/goto.png create mode 100644 Icons/actions/join_areas.png create mode 100644 Icons/actions/join_roads.png create mode 100644 Icons/actions/list-add.png create mode 100644 Icons/actions/list-remove.png create mode 100644 Icons/actions/offline.png create mode 100644 Icons/actions/preferences.png create mode 100644 Icons/actions/redo.png create mode 100644 Icons/actions/reverse_road.png create mode 100644 Icons/actions/save.png create mode 100644 Icons/actions/select.png create mode 100644 Icons/actions/software-update-available.png create mode 100644 Icons/actions/split_area.png create mode 100644 Icons/actions/split_road.png create mode 100644 Icons/actions/spread_nodes.png create mode 100644 Icons/actions/subdivide_road.png create mode 100644 Icons/actions/terrace_building.png create mode 100644 Icons/actions/transform-move.png create mode 100644 Icons/actions/transform-rotate.png create mode 100644 Icons/actions/transform-scale.png create mode 100644 Icons/actions/undo.png create mode 100644 Icons/actions/upload.png create mode 100644 Icons/actions/zoom_fit_best.png create mode 100644 Icons/actions/zoom_in.png create mode 100644 Icons/actions/zoom_out.png create mode 100644 Icons/add.xpm create mode 100644 Icons/dialog-error.png create mode 100644 Icons/dialog-warning.png create mode 100644 Icons/edit-copy.png create mode 100644 Icons/edit-cut.png create mode 100644 Icons/edit-paste.png create mode 100644 Icons/edit-redo.xpm create mode 100644 Icons/edit-undo.xpm create mode 100644 Icons/emblem-readonly.png create mode 100644 Icons/empty.xpm create mode 100644 Icons/eye.xpm create mode 100644 Icons/frisius-win32.rc create mode 100644 Icons/geotagged.png create mode 100644 Icons/grabbing.png create mode 100644 Icons/map-icons/classic.small/accommodation.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/caravan.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/dump-station.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/gas-refill.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/hookup.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/trash.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/wastewater.png create mode 100644 Icons/map-icons/classic.small/accommodation/camping/water.png create mode 100644 Icons/map-icons/classic.small/accommodation/chalet.png create mode 100644 Icons/map-icons/classic.small/accommodation/guest_house.png create mode 100644 Icons/map-icons/classic.small/accommodation/hostel.png create mode 100644 Icons/map-icons/classic.small/accommodation/hotel.png create mode 100644 Icons/map-icons/classic.small/accommodation/hotel/five_star.png create mode 100644 Icons/map-icons/classic.small/accommodation/hotel/four_star.png create mode 100644 Icons/map-icons/classic.small/accommodation/hotel/one_star.png create mode 100644 Icons/map-icons/classic.small/accommodation/hotel/three_star.png create mode 100644 Icons/map-icons/classic.small/accommodation/hotel/two_star.png create mode 100644 Icons/map-icons/classic.small/accommodation/motel.png create mode 100644 Icons/map-icons/classic.small/accommodation/shelter-bw.png create mode 100644 Icons/map-icons/classic.small/accommodation/shelter.png create mode 100644 Icons/map-icons/classic.small/education.png create mode 100644 Icons/map-icons/classic.small/education/college.png create mode 100644 Icons/map-icons/classic.small/education/kindergarten.png create mode 100644 Icons/map-icons/classic.small/education/school.png create mode 100644 Icons/map-icons/classic.small/education/school/primary.png create mode 100644 Icons/map-icons/classic.small/education/university.png create mode 100644 Icons/map-icons/classic.small/empty.png create mode 100644 Icons/map-icons/classic.small/food.png create mode 100644 Icons/map-icons/classic.small/food/bacon_and_eggs.png create mode 100644 Icons/map-icons/classic.small/food/bar.png create mode 100644 Icons/map-icons/classic.small/food/biergarten.png create mode 100644 Icons/map-icons/classic.small/food/cafe.png create mode 100644 Icons/map-icons/classic.small/food/drinking_water.png create mode 100644 Icons/map-icons/classic.small/food/fastfood.png create mode 100644 Icons/map-icons/classic.small/food/fastfood/burger-king.png create mode 100644 Icons/map-icons/classic.small/food/fastfood/mc-donalds.png create mode 100644 Icons/map-icons/classic.small/food/icecream.png create mode 100644 Icons/map-icons/classic.small/food/pub.png create mode 100644 Icons/map-icons/classic.small/food/restaurant.png create mode 100644 Icons/map-icons/classic.small/food/restaurant/japanese.png create mode 100644 Icons/map-icons/classic.small/food/snacks.png create mode 100644 Icons/map-icons/classic.small/food/snacks/pizza.png create mode 100644 Icons/map-icons/classic.small/food/teashop.png create mode 100644 Icons/map-icons/classic.small/food/wine_tavern.png create mode 100644 Icons/map-icons/classic.small/geocache.png create mode 100644 Icons/map-icons/classic.small/health.png create mode 100644 Icons/map-icons/classic.small/health/dentist.png create mode 100644 Icons/map-icons/classic.small/health/doctor.png create mode 100644 Icons/map-icons/classic.small/health/emergency.png create mode 100644 Icons/map-icons/classic.small/health/eye_specialist.png create mode 100644 Icons/map-icons/classic.small/health/hospital.png create mode 100644 Icons/map-icons/classic.small/health/optician.png create mode 100644 Icons/map-icons/classic.small/health/pharmacy.png create mode 100644 Icons/map-icons/classic.small/health/veterinary.png create mode 100644 Icons/map-icons/classic.small/incomming/Broad.png create mode 100644 Icons/map-icons/classic.small/incomming/OLmarker.png create mode 100644 Icons/map-icons/classic.small/incomming/amenity.png create mode 100644 Icons/map-icons/classic.small/incomming/aroad.png create mode 100644 Icons/map-icons/classic.small/incomming/bridleway.png create mode 100644 Icons/map-icons/classic.small/incomming/byway.png create mode 100644 Icons/map-icons/classic.small/incomming/contours.png create mode 100644 Icons/map-icons/classic.small/incomming/footpath.png create mode 100644 Icons/map-icons/classic.small/incomming/fwpbr.png create mode 100644 Icons/map-icons/classic.small/incomming/industry.png create mode 100644 Icons/map-icons/classic.small/incomming/interest.png create mode 100644 Icons/map-icons/classic.small/incomming/london-tube-24.png create mode 100644 Icons/map-icons/classic.small/incomming/minorroad.png create mode 100644 Icons/map-icons/classic.small/incomming/motorway_shield2.png create mode 100644 Icons/map-icons/classic.small/incomming/motorway_shield3.png create mode 100644 Icons/map-icons/classic.small/incomming/one.png create mode 100644 Icons/map-icons/classic.small/incomming/pbridleway.png create mode 100644 Icons/map-icons/classic.small/incomming/place.png create mode 100644 Icons/map-icons/classic.small/incomming/railway.png create mode 100644 Icons/map-icons/classic.small/incomming/road.png create mode 100644 Icons/map-icons/classic.small/incomming/station.png create mode 100644 Icons/map-icons/classic.small/incomming/stationnew.png create mode 100644 Icons/map-icons/classic.small/incomming/three.png create mode 100644 Icons/map-icons/classic.small/incomming/two.png create mode 100644 Icons/map-icons/classic.small/misc.png create mode 100644 Icons/map-icons/classic.small/misc/bunny.png create mode 100644 Icons/map-icons/classic.small/misc/butterfly.png create mode 100644 Icons/map-icons/classic.small/misc/construction.png create mode 100644 Icons/map-icons/classic.small/misc/danger.png create mode 100644 Icons/map-icons/classic.small/misc/deprecated.png create mode 100644 Icons/map-icons/classic.small/misc/door.png create mode 100644 Icons/map-icons/classic.small/misc/housenumber.png create mode 100644 Icons/map-icons/classic.small/misc/information.png create mode 100644 Icons/map-icons/classic.small/misc/landmark.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/barn.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/beacon.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/building.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/bunker.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/chimney.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/crane.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/farm.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/gasometer.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/glacier.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/glacier_small.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/lighthouse.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/mine.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/mountain_pass.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/peak.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/peak_small.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/pier.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/plant.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power/fossil.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power/hydro.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power/nuclear.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power/tower.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power/tower_small.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/power/wind.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/range.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/reservoir_covered.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/spring.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/survey_point.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/tower.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/trees.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/volcano.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/volcano_small.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/wastewater_plant.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/water_tower.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/windmill.png create mode 100644 Icons/map-icons/classic.small/misc/landmark/works.png create mode 100644 Icons/map-icons/classic.small/misc/landuse/commercial.png create mode 100644 Icons/map-icons/classic.small/misc/landuse/residential.png create mode 100644 Icons/map-icons/classic.small/misc/lock_closed.png create mode 100644 Icons/map-icons/classic.small/misc/lock_open.png create mode 100644 Icons/map-icons/classic.small/misc/no_icon.png create mode 100644 Icons/map-icons/classic.small/misc/no_smoking.png create mode 100644 Icons/map-icons/classic.small/misc/note.png create mode 100644 Icons/map-icons/classic.small/misc/proposed.png create mode 100644 Icons/map-icons/classic.small/misc/surveillance.png create mode 100644 Icons/map-icons/classic.small/misc/tap_drinking.png create mode 100644 Icons/map-icons/classic.small/money.png create mode 100644 Icons/map-icons/classic.small/money/atm.png create mode 100644 Icons/map-icons/classic.small/money/bank.png create mode 100644 Icons/map-icons/classic.small/money/bank/vr-bank.png create mode 100644 Icons/map-icons/classic.small/money/exchange.png create mode 100644 Icons/map-icons/classic.small/nautical.png create mode 100644 Icons/map-icons/classic.small/nautical/alpha_flag.png create mode 100644 Icons/map-icons/classic.small/nautical/anchor.png create mode 100644 Icons/map-icons/classic.small/nautical/aqueduct.png create mode 100644 Icons/map-icons/classic.small/nautical/boat.png create mode 100644 Icons/map-icons/classic.small/nautical/boatyard.png create mode 100644 Icons/map-icons/classic.small/nautical/lock_gate.png create mode 100644 Icons/map-icons/classic.small/nautical/marina.png create mode 100644 Icons/map-icons/classic.small/nautical/slipway.png create mode 100644 Icons/map-icons/classic.small/nautical/turning.png create mode 100644 Icons/map-icons/classic.small/nautical/waterfall.png create mode 100644 Icons/map-icons/classic.small/nautical/weir.png create mode 100644 Icons/map-icons/classic.small/people.png create mode 100644 Icons/map-icons/classic.small/people/friends.png create mode 100644 Icons/map-icons/classic.small/people/friendsd.png create mode 100644 Icons/map-icons/classic.small/people/work.png create mode 100644 Icons/map-icons/classic.small/places.png create mode 100644 Icons/map-icons/classic.small/places/island.png create mode 100644 Icons/map-icons/classic.small/places/locality.png create mode 100644 Icons/map-icons/classic.small/places/settlement.png create mode 100644 Icons/map-icons/classic.small/places/settlement/capital.png create mode 100644 Icons/map-icons/classic.small/places/settlement/city.png create mode 100644 Icons/map-icons/classic.small/places/settlement/town.png create mode 100644 Icons/map-icons/classic.small/public.png create mode 100644 Icons/map-icons/classic.small/public/administration/court_of_law.png create mode 100644 Icons/map-icons/classic.small/public/administration/prison.png create mode 100644 Icons/map-icons/classic.small/public/arts_centre.png create mode 100644 Icons/map-icons/classic.small/public/firebrigade.png create mode 100644 Icons/map-icons/classic.small/public/police.png create mode 100644 Icons/map-icons/classic.small/public/post_box.png create mode 100644 Icons/map-icons/classic.small/public/post_office.png create mode 100644 Icons/map-icons/classic.small/public/recycling.png create mode 100644 Icons/map-icons/classic.small/public/recycling/trash-bin.png create mode 100644 Icons/map-icons/classic.small/public/telephone.png create mode 100644 Icons/map-icons/classic.small/public/toilets.png create mode 100644 Icons/map-icons/classic.small/recreation.png create mode 100644 Icons/map-icons/classic.small/recreation/bench.png create mode 100644 Icons/map-icons/classic.small/recreation/bicycling.png create mode 100644 Icons/map-icons/classic.small/recreation/cinema.png create mode 100644 Icons/map-icons/classic.small/recreation/common.png create mode 100644 Icons/map-icons/classic.small/recreation/garden.png create mode 100644 Icons/map-icons/classic.small/recreation/music.png create mode 100644 Icons/map-icons/classic.small/recreation/nature_reserve.png create mode 100644 Icons/map-icons/classic.small/recreation/nightclub.png create mode 100644 Icons/map-icons/classic.small/recreation/park.png create mode 100644 Icons/map-icons/classic.small/recreation/picnic.png create mode 100644 Icons/map-icons/classic.small/recreation/playground.png create mode 100644 Icons/map-icons/classic.small/recreation/shelter.png create mode 100644 Icons/map-icons/classic.small/recreation/theater.png create mode 100644 Icons/map-icons/classic.small/recreation/theme_park.png create mode 100644 Icons/map-icons/classic.small/recreation/water_park.png create mode 100644 Icons/map-icons/classic.small/recreation/zoo.png create mode 100644 Icons/map-icons/classic.small/religion.png create mode 100644 Icons/map-icons/classic.small/religion/cemetery.png create mode 100644 Icons/map-icons/classic.small/religion/chapel.png create mode 100644 Icons/map-icons/classic.small/religion/church.png create mode 100644 Icons/map-icons/classic.small/religion/church/bahai.png create mode 100644 Icons/map-icons/classic.small/religion/church/buddhism.png create mode 100644 Icons/map-icons/classic.small/religion/church/catholic.png create mode 100644 Icons/map-icons/classic.small/religion/church/hinduism.png create mode 100644 Icons/map-icons/classic.small/religion/church/jainism.png create mode 100644 Icons/map-icons/classic.small/religion/church/mormon.png create mode 100644 Icons/map-icons/classic.small/religion/church/mosque.png create mode 100644 Icons/map-icons/classic.small/religion/church/orthodox.png create mode 100644 Icons/map-icons/classic.small/religion/church/protestant.png create mode 100644 Icons/map-icons/classic.small/religion/church/shinto.png create mode 100644 Icons/map-icons/classic.small/religion/church/sikhism.png create mode 100644 Icons/map-icons/classic.small/religion/church/synagogue.png create mode 100644 Icons/map-icons/classic.small/religion/church/taoism.png create mode 100644 Icons/map-icons/classic.small/religion/wayside_cross.png create mode 100644 Icons/map-icons/classic.small/religion/wayside_shrine.png create mode 100644 Icons/map-icons/classic.small/rendering.png create mode 100644 Icons/map-icons/classic.small/rendering/beach.png create mode 100644 Icons/map-icons/classic.small/rendering/cliff.png create mode 100644 Icons/map-icons/classic.small/rendering/cliff2.png create mode 100644 Icons/map-icons/classic.small/rendering/quarry.png create mode 100644 Icons/map-icons/classic.small/rendering/quarry2.png create mode 100644 Icons/map-icons/classic.small/rendering/rail_preserved.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield1.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield2.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield3.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield4.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield5.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/motorway_shield6.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield1.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield2.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield3.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield4.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield5.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield6.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield7.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/primary_shield8.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield1.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield2.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield3.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield4.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield5.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield6.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield7.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/secondary_shield8.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield1.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield2.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield3.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield4.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield5.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield6.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield7.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/tertiary_shield8.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield1.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield2.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield3.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield4.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield5.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield6.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield7.png create mode 100644 Icons/map-icons/classic.small/rendering/shield/trunk_shield8.png create mode 100644 Icons/map-icons/classic.small/rendering/station_small.png create mode 100644 Icons/map-icons/classic.small/rendering/track/arrow.png create mode 100644 Icons/map-icons/classic.small/rendering/track/arrow_back.png create mode 100644 Icons/map-icons/classic.small/rendering/track/mini_round.png create mode 100644 Icons/map-icons/classic.small/rendering/track/rail.png create mode 100644 Icons/map-icons/classic.small/rendering/track/station_small.png create mode 100644 Icons/map-icons/classic.small/shopping.png create mode 100644 Icons/map-icons/classic.small/shopping/beverages.png create mode 100644 Icons/map-icons/classic.small/shopping/chemist.png create mode 100644 Icons/map-icons/classic.small/shopping/clothes.png create mode 100644 Icons/map-icons/classic.small/shopping/computer.png create mode 100644 Icons/map-icons/classic.small/shopping/diy_store.png create mode 100644 Icons/map-icons/classic.small/shopping/electronics.png create mode 100644 Icons/map-icons/classic.small/shopping/florist.png create mode 100644 Icons/map-icons/classic.small/shopping/furniture.png create mode 100644 Icons/map-icons/classic.small/shopping/garden_centre.png create mode 100644 Icons/map-icons/classic.small/shopping/groceries/bakery.png create mode 100644 Icons/map-icons/classic.small/shopping/groceries/butcher.png create mode 100644 Icons/map-icons/classic.small/shopping/groceries/fruits.png create mode 100644 Icons/map-icons/classic.small/shopping/hairdresser.png create mode 100644 Icons/map-icons/classic.small/shopping/hifi.png create mode 100644 Icons/map-icons/classic.small/shopping/jewelry.png create mode 100644 Icons/map-icons/classic.small/shopping/kiosk.png create mode 100644 Icons/map-icons/classic.small/shopping/laundry.png create mode 100644 Icons/map-icons/classic.small/shopping/mall.png create mode 100644 Icons/map-icons/classic.small/shopping/optician.png create mode 100644 Icons/map-icons/classic.small/shopping/rental/library.png create mode 100644 Icons/map-icons/classic.small/shopping/shoes.png create mode 100644 Icons/map-icons/classic.small/shopping/sports/outdoor.png create mode 100644 Icons/map-icons/classic.small/shopping/supermarket.png create mode 100644 Icons/map-icons/classic.small/shopping/supermarket/aldi.png create mode 100644 Icons/map-icons/classic.small/shopping/supermarket/aldi_nord.png create mode 100644 Icons/map-icons/classic.small/shopping/supermarket/kaufland.png create mode 100644 Icons/map-icons/classic.small/shopping/supermarket/lidl.png create mode 100644 Icons/map-icons/classic.small/shopping/tailor.png create mode 100644 Icons/map-icons/classic.small/shopping/toys.png create mode 100644 Icons/map-icons/classic.small/shopping/video.png create mode 100644 Icons/map-icons/classic.small/sightseeing.png create mode 100644 Icons/map-icons/classic.small/sightseeing/archaeological.png create mode 100644 Icons/map-icons/classic.small/sightseeing/battlefield.png create mode 100644 Icons/map-icons/classic.small/sightseeing/castle.png create mode 100644 Icons/map-icons/classic.small/sightseeing/memorial.png create mode 100644 Icons/map-icons/classic.small/sightseeing/monument.png create mode 100644 Icons/map-icons/classic.small/sightseeing/museum.png create mode 100644 Icons/map-icons/classic.small/sightseeing/ruins.png create mode 100644 Icons/map-icons/classic.small/sightseeing/viewpoint.png create mode 100644 Icons/map-icons/classic.small/sports.png create mode 100644 Icons/map-icons/classic.small/sports/10pin.png create mode 100644 Icons/map-icons/classic.small/sports/archery.png create mode 100644 Icons/map-icons/classic.small/sports/baseball.png create mode 100644 Icons/map-icons/classic.small/sports/basketball.png create mode 100644 Icons/map-icons/classic.small/sports/bicycle.png create mode 100644 Icons/map-icons/classic.small/sports/boule.png create mode 100644 Icons/map-icons/classic.small/sports/centre.png create mode 100644 Icons/map-icons/classic.small/sports/cricket.png create mode 100644 Icons/map-icons/classic.small/sports/croquet.png create mode 100644 Icons/map-icons/classic.small/sports/cycling.png create mode 100644 Icons/map-icons/classic.small/sports/dart.png create mode 100644 Icons/map-icons/classic.small/sports/diving.png create mode 100644 Icons/map-icons/classic.small/sports/fishing.png create mode 100644 Icons/map-icons/classic.small/sports/football.png create mode 100644 Icons/map-icons/classic.small/sports/golf.png create mode 100644 Icons/map-icons/classic.small/sports/handball.png create mode 100644 Icons/map-icons/classic.small/sports/hockey.png create mode 100644 Icons/map-icons/classic.small/sports/indoor_pool.png create mode 100644 Icons/map-icons/classic.small/sports/kiteflying.png create mode 100644 Icons/map-icons/classic.small/sports/mountain_bike.png create mode 100644 Icons/map-icons/classic.small/sports/multi.png create mode 100644 Icons/map-icons/classic.small/sports/pitch.png create mode 100644 Icons/map-icons/classic.small/sports/pool.png create mode 100644 Icons/map-icons/classic.small/sports/racquetball.png create mode 100644 Icons/map-icons/classic.small/sports/riding.png create mode 100644 Icons/map-icons/classic.small/sports/skiing.png create mode 100644 Icons/map-icons/classic.small/sports/soccer.png create mode 100644 Icons/map-icons/classic.small/sports/stadium.png create mode 100644 Icons/map-icons/classic.small/sports/swimming.png create mode 100644 Icons/map-icons/classic.small/sports/table_tennis.png create mode 100644 Icons/map-icons/classic.small/sports/tennis.png create mode 100644 Icons/map-icons/classic.small/sports/track.png create mode 100644 Icons/map-icons/classic.small/sports/volleyball.png create mode 100644 Icons/map-icons/classic.small/transport.png create mode 100644 Icons/map-icons/classic.small/transport/aerialway.png create mode 100644 Icons/map-icons/classic.small/transport/aerialway/cable_car.png create mode 100644 Icons/map-icons/classic.small/transport/aerialway/chair_lift.png create mode 100644 Icons/map-icons/classic.small/transport/aerialway/drag_lift.png create mode 100644 Icons/map-icons/classic.small/transport/aerialway/station.png create mode 100644 Icons/map-icons/classic.small/transport/airport.png create mode 100644 Icons/map-icons/classic.small/transport/airport/airfield.png create mode 100644 Icons/map-icons/classic.small/transport/airport/helipad.png create mode 100644 Icons/map-icons/classic.small/transport/airport/terminal.png create mode 100644 Icons/map-icons/classic.small/transport/bridge.png create mode 100644 Icons/map-icons/classic.small/transport/bridge/bridge-car.png create mode 100644 Icons/map-icons/classic.small/transport/bridge/bridge-pedestrian.png create mode 100644 Icons/map-icons/classic.small/transport/bridge/drawbridge.png create mode 100644 Icons/map-icons/classic.small/transport/bus.png create mode 100644 Icons/map-icons/classic.small/transport/bus_small.png create mode 100644 Icons/map-icons/classic.small/transport/car.png create mode 100644 Icons/map-icons/classic.small/transport/ferry.png create mode 100644 Icons/map-icons/classic.small/transport/ferry/ferry-car.png create mode 100644 Icons/map-icons/classic.small/transport/ferry/ferry-pedestrian.png create mode 100644 Icons/map-icons/classic.small/transport/funicular.png create mode 100644 Icons/map-icons/classic.small/transport/handicapped.png create mode 100644 Icons/map-icons/classic.small/transport/harbour.png create mode 100644 Icons/map-icons/classic.small/transport/park_ride.png create mode 100644 Icons/map-icons/classic.small/transport/pedestrian.png create mode 100644 Icons/map-icons/classic.small/transport/railway.png create mode 100644 Icons/map-icons/classic.small/transport/railway_small.png create mode 100644 Icons/map-icons/classic.small/transport/rapid_train.png create mode 100644 Icons/map-icons/classic.small/transport/steps.png create mode 100644 Icons/map-icons/classic.small/transport/taxi.png create mode 100644 Icons/map-icons/classic.small/transport/ticket-machine.png create mode 100644 Icons/map-icons/classic.small/transport/track.png create mode 100644 Icons/map-icons/classic.small/transport/tram.png create mode 100644 Icons/map-icons/classic.small/transport/turntable.png create mode 100644 Icons/map-icons/classic.small/transport/underground.png create mode 100644 Icons/map-icons/classic.small/unknown.png create mode 100644 Icons/map-icons/classic.small/vehicle.png create mode 100644 Icons/map-icons/classic.small/vehicle/bicycle_rental.png create mode 100644 Icons/map-icons/classic.small/vehicle/car_rental.png create mode 100644 Icons/map-icons/classic.small/vehicle/car_rental/sixt.png create mode 100644 Icons/map-icons/classic.small/vehicle/car_sharing.png create mode 100644 Icons/map-icons/classic.small/vehicle/car_wash.png create mode 100644 Icons/map-icons/classic.small/vehicle/cattle_grid.png create mode 100644 Icons/map-icons/classic.small/vehicle/caution.png create mode 100644 Icons/map-icons/classic.small/vehicle/crossing.png create mode 100644 Icons/map-icons/classic.small/vehicle/crossing_small.png create mode 100644 Icons/map-icons/classic.small/vehicle/emergency_phone.png create mode 100644 Icons/map-icons/classic.small/vehicle/exit.png create mode 100644 Icons/map-icons/classic.small/vehicle/ford.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/agip.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/aral.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/elf.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/esso.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/jet.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/omv.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/shell.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/texaco.png create mode 100644 Icons/map-icons/classic.small/vehicle/fuel_station/total.png create mode 100644 Icons/map-icons/classic.small/vehicle/gate.png create mode 100644 Icons/map-icons/classic.small/vehicle/motorbike.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/bike.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/car.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/garage.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/handicapped.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/hiking.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/motorbike.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/park_ride.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/restarea-toilets.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/restarea.png create mode 100644 Icons/map-icons/classic.small/vehicle/parking/underground.png create mode 100644 Icons/map-icons/classic.small/vehicle/repair_shop.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/access.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/bicycle-designated.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/bicycle.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/bollard-bw.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/bollard.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/citylimit.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/dead_end.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/foot-designated.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/foot.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/goods.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/horse-designated.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/horse.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/incline.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/maxheight.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/maxlength.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/maxweight.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/maxwidth.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/minspeed.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/motorbike.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/motorcar.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/parking.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/play_street.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/psv.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/right_of_way.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/road_works.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/roundabout_left.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/roundabout_right.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/speed.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/speed/30-end.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/speed_trap.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/stop.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/traffic-light.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/traffic_jam.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/ireland/no_left_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/ireland/no_right_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/ireland/no_straight_on.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/ireland/no_u_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/no_left_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/no_right_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/no_straight_on.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/no_u_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/only_left_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/only_right_turn.png create mode 100644 Icons/map-icons/classic.small/vehicle/restrictions/turn_restrictions/only_straight_on.png create mode 100644 Icons/map-icons/classic.small/vehicle/services.png create mode 100644 Icons/map-icons/classic.small/vehicle/stile.png create mode 100644 Icons/map-icons/classic.small/vehicle/tank.png create mode 100644 Icons/map-icons/classic.small/vehicle/toll_station.png create mode 100644 Icons/map-icons/classic.small/vehicle/towing.png create mode 100644 Icons/map-icons/classic.small/vehicle/tunnel.png create mode 100644 Icons/map-icons/classic.small/vehicle/turning_circle.png create mode 100644 Icons/map-icons/classic.small/vehicle/viaduct.png create mode 100644 Icons/map-icons/classic.small/vehicle/zebra_crossing.png create mode 100644 Icons/map-icons/classic.small/waypoint.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt1.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt2.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt3.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt4.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt5.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt6.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt7.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt8.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpt9.png create mode 100644 Icons/map-icons/classic.small/waypoint/wptblue.png create mode 100644 Icons/map-icons/classic.small/waypoint/wptgreen.png create mode 100644 Icons/map-icons/classic.small/waypoint/wptorange.png create mode 100644 Icons/map-icons/classic.small/waypoint/wptred.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpttemp.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpttemp/wpttemp-green.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpttemp/wpttemp-red.png create mode 100644 Icons/map-icons/classic.small/waypoint/wpttemp/wpttemp-yellow.png create mode 100644 Icons/map-icons/classic.small/waypoint/wptyellow.png create mode 100644 Icons/map-icons/classic.small/wlan.png create mode 100644 Icons/map-icons/classic.small/wlan/closed.png create mode 100644 Icons/map-icons/classic.small/wlan/open.png create mode 100644 Icons/map-icons/classic.small/wlan/pay.png create mode 100644 Icons/map-icons/classic.small/wlan/pay/fon.png create mode 100644 Icons/map-icons/classic.small/wlan/wep.png create mode 100644 Icons/map-icons/square.small/accommodation.png create mode 100644 Icons/map-icons/square.small/accommodation/camping.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/caravan.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/dump-station.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/gas-refill.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/hookup.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/trash.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/wastewater.png create mode 100644 Icons/map-icons/square.small/accommodation/camping/water.png create mode 100644 Icons/map-icons/square.small/accommodation/chalet.png create mode 100644 Icons/map-icons/square.small/accommodation/empty.png create mode 100644 Icons/map-icons/square.small/accommodation/guest_house.png create mode 100644 Icons/map-icons/square.small/accommodation/hostel.png create mode 100644 Icons/map-icons/square.small/accommodation/hotel.png create mode 100644 Icons/map-icons/square.small/accommodation/hotel/five_star.png create mode 100644 Icons/map-icons/square.small/accommodation/hotel/four_star.png create mode 100644 Icons/map-icons/square.small/accommodation/hotel/one_star.png create mode 100644 Icons/map-icons/square.small/accommodation/hotel/three_star.png create mode 100644 Icons/map-icons/square.small/accommodation/hotel/two_star.png create mode 100644 Icons/map-icons/square.small/accommodation/motel.png create mode 100644 Icons/map-icons/square.small/accommodation/shelter-bw.png create mode 100644 Icons/map-icons/square.small/accommodation/shelter.png create mode 100644 Icons/map-icons/square.small/accommodation/youth-hostel.png create mode 100644 Icons/map-icons/square.small/education.png create mode 100644 Icons/map-icons/square.small/education/empty.png create mode 100644 Icons/map-icons/square.small/education/kindergarten.png create mode 100644 Icons/map-icons/square.small/education/university.png create mode 100644 Icons/map-icons/square.small/food.png create mode 100644 Icons/map-icons/square.small/food/bacon_and_eggs.png create mode 100644 Icons/map-icons/square.small/food/bar.png create mode 100644 Icons/map-icons/square.small/food/biergarten.png create mode 100644 Icons/map-icons/square.small/food/cafe.png create mode 100644 Icons/map-icons/square.small/food/empty.png create mode 100644 Icons/map-icons/square.small/food/fastfood.png create mode 100644 Icons/map-icons/square.small/food/fastfood/burger-king.png create mode 100644 Icons/map-icons/square.small/food/fastfood/kfc.png create mode 100644 Icons/map-icons/square.small/food/fastfood/mc-donalds.png create mode 100644 Icons/map-icons/square.small/food/fastfood/subway.png create mode 100644 Icons/map-icons/square.small/food/icecream.png create mode 100644 Icons/map-icons/square.small/food/pizzahut.png create mode 100644 Icons/map-icons/square.small/food/pub.png create mode 100644 Icons/map-icons/square.small/food/restaurant.png create mode 100644 Icons/map-icons/square.small/food/snacks.png create mode 100644 Icons/map-icons/square.small/geocache.png create mode 100644 Icons/map-icons/square.small/geocache/empty.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_drivein.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_earth.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_event.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_found.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_math.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage01.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage02.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage03.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage04.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage05.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage06.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage07.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage08.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage09.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_multi/multi_stage10.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_mystery.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_night.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_traditional.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_virtual.png create mode 100644 Icons/map-icons/square.small/geocache/geocache_webcam.png create mode 100644 Icons/map-icons/square.small/health.png create mode 100644 Icons/map-icons/square.small/health/doctor.png create mode 100644 Icons/map-icons/square.small/health/emergency.png create mode 100644 Icons/map-icons/square.small/health/empty.png create mode 100644 Icons/map-icons/square.small/health/hospital.png create mode 100644 Icons/map-icons/square.small/health/pharmacy.png create mode 100644 Icons/map-icons/square.small/health/veterinary.png create mode 100644 Icons/map-icons/square.small/incomming.png create mode 100644 Icons/map-icons/square.small/incomming/empty.png create mode 100644 Icons/map-icons/square.small/misc.png create mode 100644 Icons/map-icons/square.small/misc/bunny.png create mode 100644 Icons/map-icons/square.small/misc/butterfly.png create mode 100644 Icons/map-icons/square.small/misc/construction.png create mode 100644 Icons/map-icons/square.small/misc/danger.png create mode 100644 Icons/map-icons/square.small/misc/deprecated.png create mode 100644 Icons/map-icons/square.small/misc/door.png create mode 100644 Icons/map-icons/square.small/misc/empty.png create mode 100644 Icons/map-icons/square.small/misc/information.png create mode 100644 Icons/map-icons/square.small/misc/landmark.png create mode 100644 Icons/map-icons/square.small/misc/landmark/barn.png create mode 100644 Icons/map-icons/square.small/misc/landmark/bunker.png create mode 100644 Icons/map-icons/square.small/misc/landmark/chimney.png create mode 100644 Icons/map-icons/square.small/misc/landmark/crane.png create mode 100644 Icons/map-icons/square.small/misc/landmark/empty.png create mode 100644 Icons/map-icons/square.small/misc/landmark/farm.png create mode 100644 Icons/map-icons/square.small/misc/landmark/gasometer.png create mode 100644 Icons/map-icons/square.small/misc/landmark/lighthouse.png create mode 100644 Icons/map-icons/square.small/misc/landmark/mine.png create mode 100644 Icons/map-icons/square.small/misc/landmark/mountain_pass.png create mode 100644 Icons/map-icons/square.small/misc/landmark/peak.png create mode 100644 Icons/map-icons/square.small/misc/landmark/peak_small.png create mode 100644 Icons/map-icons/square.small/misc/landmark/pier.png create mode 100644 Icons/map-icons/square.small/misc/landmark/plant.png create mode 100644 Icons/map-icons/square.small/misc/landmark/power.png create mode 100644 Icons/map-icons/square.small/misc/landmark/power/fossil.png create mode 100644 Icons/map-icons/square.small/misc/landmark/power/hydro.png create mode 100644 Icons/map-icons/square.small/misc/landmark/power/nuclear.png create mode 100644 Icons/map-icons/square.small/misc/landmark/power/tower.png create mode 100644 Icons/map-icons/square.small/misc/landmark/power/wind.png create mode 100644 Icons/map-icons/square.small/misc/landmark/range.png create mode 100644 Icons/map-icons/square.small/misc/landmark/reservoir_covered.png create mode 100644 Icons/map-icons/square.small/misc/landmark/spring.png create mode 100644 Icons/map-icons/square.small/misc/landmark/survey_point.png create mode 100644 Icons/map-icons/square.small/misc/landmark/tower.png create mode 100644 Icons/map-icons/square.small/misc/landmark/trees.png create mode 100644 Icons/map-icons/square.small/misc/landmark/wastewater_plant.png create mode 100644 Icons/map-icons/square.small/misc/landmark/water_tower.png create mode 100644 Icons/map-icons/square.small/misc/landmark/windmill.png create mode 100644 Icons/map-icons/square.small/misc/landmark/works.png create mode 100644 Icons/map-icons/square.small/misc/lock_closed.png create mode 100644 Icons/map-icons/square.small/misc/lock_open.png create mode 100644 Icons/map-icons/square.small/misc/no_icon.png create mode 100644 Icons/map-icons/square.small/misc/no_smoking.png create mode 100644 Icons/map-icons/square.small/misc/proposed.png create mode 100644 Icons/map-icons/square.small/misc/tap_drinking.png create mode 100644 Icons/map-icons/square.small/money.png create mode 100644 Icons/map-icons/square.small/money/atm.png create mode 100644 Icons/map-icons/square.small/money/bank.png create mode 100644 Icons/map-icons/square.small/money/empty.png create mode 100644 Icons/map-icons/square.small/money/exchange.png create mode 100644 Icons/map-icons/square.small/nautical.png create mode 100644 Icons/map-icons/square.small/nautical/alpha_flag.png create mode 100644 Icons/map-icons/square.small/nautical/aqueduct.png create mode 100644 Icons/map-icons/square.small/nautical/empty.png create mode 100644 Icons/map-icons/square.small/nautical/lock_gate.png create mode 100644 Icons/map-icons/square.small/nautical/turning.png create mode 100644 Icons/map-icons/square.small/nautical/weir.png create mode 100644 Icons/map-icons/square.small/people.png create mode 100644 Icons/map-icons/square.small/people/developer/gpsdrive.png create mode 100644 Icons/map-icons/square.small/people/developer/openstreetmap.png create mode 100644 Icons/map-icons/square.small/people/empty.png create mode 100644 Icons/map-icons/square.small/people/friends.png create mode 100644 Icons/map-icons/square.small/people/friendsd.png create mode 100644 Icons/map-icons/square.small/people/friendsd/airplane.png create mode 100644 Icons/map-icons/square.small/people/friendsd/bike.png create mode 100644 Icons/map-icons/square.small/people/friendsd/boat.png create mode 100644 Icons/map-icons/square.small/people/friendsd/car.png create mode 100644 Icons/map-icons/square.small/people/friendsd/walk.png create mode 100644 Icons/map-icons/square.small/people/home.png create mode 100644 Icons/map-icons/square.small/people/work.png create mode 100644 Icons/map-icons/square.small/places.png create mode 100644 Icons/map-icons/square.small/places/empty.png create mode 100644 Icons/map-icons/square.small/places/settlement.png create mode 100644 Icons/map-icons/square.small/places/settlement/capital.png create mode 100644 Icons/map-icons/square.small/places/settlement/city.png create mode 100644 Icons/map-icons/square.small/places/settlement/hamlet.png create mode 100644 Icons/map-icons/square.small/places/settlement/town.png create mode 100644 Icons/map-icons/square.small/places/settlement/village.png create mode 100644 Icons/map-icons/square.small/public.png create mode 100644 Icons/map-icons/square.small/public/administration/court_of_law.png create mode 100644 Icons/map-icons/square.small/public/administration/prison.png create mode 100644 Icons/map-icons/square.small/public/arts_centre.png create mode 100644 Icons/map-icons/square.small/public/empty.png create mode 100644 Icons/map-icons/square.small/public/firebrigade.png create mode 100644 Icons/map-icons/square.small/public/police.png create mode 100644 Icons/map-icons/square.small/public/post_box.png create mode 100644 Icons/map-icons/square.small/public/post_office.png create mode 100644 Icons/map-icons/square.small/public/recycling.png create mode 100644 Icons/map-icons/square.small/public/recycling/trash-bin.png create mode 100644 Icons/map-icons/square.small/public/recycling_small.png create mode 100644 Icons/map-icons/square.small/public/telephone.png create mode 100644 Icons/map-icons/square.small/public/toilets.png create mode 100644 Icons/map-icons/square.small/recreation.png create mode 100644 Icons/map-icons/square.small/recreation/bicycling.png create mode 100644 Icons/map-icons/square.small/recreation/cinema.png create mode 100644 Icons/map-icons/square.small/recreation/common.png create mode 100644 Icons/map-icons/square.small/recreation/empty.png create mode 100644 Icons/map-icons/square.small/recreation/garden.png create mode 100644 Icons/map-icons/square.small/recreation/music.png create mode 100644 Icons/map-icons/square.small/recreation/nature_reserve.png create mode 100644 Icons/map-icons/square.small/recreation/nightclub.png create mode 100644 Icons/map-icons/square.small/recreation/park.png create mode 100644 Icons/map-icons/square.small/recreation/picnic.png create mode 100644 Icons/map-icons/square.small/recreation/playground.png create mode 100644 Icons/map-icons/square.small/recreation/shelter.png create mode 100644 Icons/map-icons/square.small/recreation/theater.png create mode 100644 Icons/map-icons/square.small/recreation/theme_park.png create mode 100644 Icons/map-icons/square.small/recreation/water_park.png create mode 100644 Icons/map-icons/square.small/recreation/zoo.png create mode 100644 Icons/map-icons/square.small/religion.png create mode 100644 Icons/map-icons/square.small/religion/cemetery.png create mode 100644 Icons/map-icons/square.small/religion/chapel.png create mode 100644 Icons/map-icons/square.small/religion/church.png create mode 100644 Icons/map-icons/square.small/religion/church/bahai.png create mode 100644 Icons/map-icons/square.small/religion/church/buddhism.png create mode 100644 Icons/map-icons/square.small/religion/church/catholic.png create mode 100644 Icons/map-icons/square.small/religion/church/hinduism.png create mode 100644 Icons/map-icons/square.small/religion/church/jainism.png create mode 100644 Icons/map-icons/square.small/religion/church/mormon.png create mode 100644 Icons/map-icons/square.small/religion/church/mosque.png create mode 100644 Icons/map-icons/square.small/religion/church/orthodox.png create mode 100644 Icons/map-icons/square.small/religion/church/protestant.png create mode 100644 Icons/map-icons/square.small/religion/church/shinto.png create mode 100644 Icons/map-icons/square.small/religion/church/sikhism.png create mode 100644 Icons/map-icons/square.small/religion/church/synagogue.png create mode 100644 Icons/map-icons/square.small/religion/church/taoism.png create mode 100644 Icons/map-icons/square.small/religion/empty.png create mode 100644 Icons/map-icons/square.small/rendering.png create mode 100644 Icons/map-icons/square.small/shopping.png create mode 100644 Icons/map-icons/square.small/shopping/beverages.png create mode 100644 Icons/map-icons/square.small/shopping/computers.png create mode 100644 Icons/map-icons/square.small/shopping/confectioner.png create mode 100644 Icons/map-icons/square.small/shopping/diy_store.png create mode 100644 Icons/map-icons/square.small/shopping/diy_store/hagebau.png create mode 100644 Icons/map-icons/square.small/shopping/diy_store/hornbach.png create mode 100644 Icons/map-icons/square.small/shopping/diy_store/obi.png create mode 100644 Icons/map-icons/square.small/shopping/diy_store/praktiker.png create mode 100644 Icons/map-icons/square.small/shopping/empty.png create mode 100644 Icons/map-icons/square.small/shopping/florist.png create mode 100644 Icons/map-icons/square.small/shopping/furniture.png create mode 100644 Icons/map-icons/square.small/shopping/groceries/bakery.png create mode 100644 Icons/map-icons/square.small/shopping/groceries/butcher.png create mode 100644 Icons/map-icons/square.small/shopping/groceries/fruits.png create mode 100644 Icons/map-icons/square.small/shopping/kaufhof.png create mode 100644 Icons/map-icons/square.small/shopping/kiosk.png create mode 100644 Icons/map-icons/square.small/shopping/laundry.png create mode 100644 Icons/map-icons/square.small/shopping/sports/outdoor.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/aldi.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/aldi_nord.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/kaufland.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/lidl.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/norma.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/real.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/rewe.png create mode 100644 Icons/map-icons/square.small/shopping/supermarket/tengelmann.png create mode 100644 Icons/map-icons/square.small/sightseeing.png create mode 100644 Icons/map-icons/square.small/sightseeing/archaeological.png create mode 100644 Icons/map-icons/square.small/sightseeing/battlefield.png create mode 100644 Icons/map-icons/square.small/sightseeing/castle.png create mode 100644 Icons/map-icons/square.small/sightseeing/empty.png create mode 100644 Icons/map-icons/square.small/sightseeing/memorial.png create mode 100644 Icons/map-icons/square.small/sightseeing/monument.png create mode 100644 Icons/map-icons/square.small/sightseeing/museum.png create mode 100644 Icons/map-icons/square.small/sightseeing/ruins.png create mode 100644 Icons/map-icons/square.small/sightseeing/viewpoint.png create mode 100644 Icons/map-icons/square.small/sports.png create mode 100644 Icons/map-icons/square.small/sports/basketball.png create mode 100644 Icons/map-icons/square.small/sports/bicycle.png create mode 100644 Icons/map-icons/square.small/sports/centre.png create mode 100644 Icons/map-icons/square.small/sports/cycling.png create mode 100644 Icons/map-icons/square.small/sports/dart.png create mode 100644 Icons/map-icons/square.small/sports/empty.png create mode 100644 Icons/map-icons/square.small/sports/football.png create mode 100644 Icons/map-icons/square.small/sports/golf.png create mode 100644 Icons/map-icons/square.small/sports/indoor_pool.png create mode 100644 Icons/map-icons/square.small/sports/kiteflying.png create mode 100644 Icons/map-icons/square.small/sports/mountain_bike.png create mode 100644 Icons/map-icons/square.small/sports/pitch.png create mode 100644 Icons/map-icons/square.small/sports/pool.png create mode 100644 Icons/map-icons/square.small/sports/racquetball.png create mode 100644 Icons/map-icons/square.small/sports/riding.png create mode 100644 Icons/map-icons/square.small/sports/skiing.png create mode 100644 Icons/map-icons/square.small/sports/soccer.png create mode 100644 Icons/map-icons/square.small/sports/swimming.png create mode 100644 Icons/map-icons/square.small/sports/table_tennis.png create mode 100644 Icons/map-icons/square.small/sports/tennis.png create mode 100644 Icons/map-icons/square.small/transport.png create mode 100644 Icons/map-icons/square.small/transport/airport.png create mode 100644 Icons/map-icons/square.small/transport/airport/airfield.png create mode 100644 Icons/map-icons/square.small/transport/airport/helipad.png create mode 100644 Icons/map-icons/square.small/transport/airport/terminal.png create mode 100644 Icons/map-icons/square.small/transport/bridge.png create mode 100644 Icons/map-icons/square.small/transport/bridge/bridge-car.png create mode 100644 Icons/map-icons/square.small/transport/bridge/bridge-pedestrian.png create mode 100644 Icons/map-icons/square.small/transport/bridge/drawbridge.png create mode 100644 Icons/map-icons/square.small/transport/bus.png create mode 100644 Icons/map-icons/square.small/transport/car.png create mode 100644 Icons/map-icons/square.small/transport/empty.png create mode 100644 Icons/map-icons/square.small/transport/ferry.png create mode 100644 Icons/map-icons/square.small/transport/ferry/ferry-car.png create mode 100644 Icons/map-icons/square.small/transport/ferry/ferry-pedestrian.png create mode 100644 Icons/map-icons/square.small/transport/handicapped.png create mode 100644 Icons/map-icons/square.small/transport/harbour.png create mode 100644 Icons/map-icons/square.small/transport/park_ride.png create mode 100644 Icons/map-icons/square.small/transport/pedestrian.png create mode 100644 Icons/map-icons/square.small/transport/railway.png create mode 100644 Icons/map-icons/square.small/transport/rapid_train.png create mode 100644 Icons/map-icons/square.small/transport/taxi.png create mode 100644 Icons/map-icons/square.small/transport/ticket-machine.png create mode 100644 Icons/map-icons/square.small/transport/tram.png create mode 100644 Icons/map-icons/square.small/transport/turntable.png create mode 100644 Icons/map-icons/square.small/transport/underground.png create mode 100644 Icons/map-icons/square.small/unknown.png create mode 100644 Icons/map-icons/square.small/vehicle.png create mode 100644 Icons/map-icons/square.small/vehicle/bicycle_rental.png create mode 100644 Icons/map-icons/square.small/vehicle/car_rental.png create mode 100644 Icons/map-icons/square.small/vehicle/car_rental/avis.png create mode 100644 Icons/map-icons/square.small/vehicle/car_rental/europcar.png create mode 100644 Icons/map-icons/square.small/vehicle/car_rental/hertz.png create mode 100644 Icons/map-icons/square.small/vehicle/car_rental/sixt.png create mode 100644 Icons/map-icons/square.small/vehicle/car_sharing.png create mode 100644 Icons/map-icons/square.small/vehicle/caution.png create mode 100644 Icons/map-icons/square.small/vehicle/crossing.png create mode 100644 Icons/map-icons/square.small/vehicle/crossing_small.png create mode 100644 Icons/map-icons/square.small/vehicle/emergency_phone.png create mode 100644 Icons/map-icons/square.small/vehicle/empty.png create mode 100644 Icons/map-icons/square.small/vehicle/exit.png create mode 100644 Icons/map-icons/square.small/vehicle/ford.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/agip.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/aral.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/elf.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/esso.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/jet.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/omv.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/shell.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/texaco.png create mode 100644 Icons/map-icons/square.small/vehicle/fuel_station/total.png create mode 100644 Icons/map-icons/square.small/vehicle/motorbike.png create mode 100644 Icons/map-icons/square.small/vehicle/parking.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/bike.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/car.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/garage.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/handicapped.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/hiking.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/motorbike.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/park_ride.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/restarea-toilets.png create mode 100644 Icons/map-icons/square.small/vehicle/parking/restarea.png create mode 100644 Icons/map-icons/square.small/vehicle/repair_shop.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/bollard-bw.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/bollard.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/dead_end.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/incline.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/motorbike.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/parking.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/play_street.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/right_of_way.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/road_works.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/roundabout_left.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/roundabout_right.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/stop.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/traffic-light.png create mode 100644 Icons/map-icons/square.small/vehicle/restrictions/traffic_jam.png create mode 100644 Icons/map-icons/square.small/vehicle/services.png create mode 100644 Icons/map-icons/square.small/vehicle/toll_station.png create mode 100644 Icons/map-icons/square.small/vehicle/tunnel.png create mode 100644 Icons/map-icons/square.small/vehicle/turning_circle.png create mode 100644 Icons/map-icons/square.small/vehicle/viaduct.png create mode 100644 Icons/map-icons/square.small/vehicle/zebra_crossing.png create mode 100644 Icons/map-icons/square.small/waypoint.png create mode 100644 Icons/map-icons/square.small/waypoint/empty.png create mode 100644 Icons/map-icons/square.small/waypoint/flag.png create mode 100644 Icons/map-icons/square.small/waypoint/flag/blue.png create mode 100644 Icons/map-icons/square.small/waypoint/flag/green.png create mode 100644 Icons/map-icons/square.small/waypoint/flag/orange.png create mode 100644 Icons/map-icons/square.small/waypoint/flag/red.png create mode 100644 Icons/map-icons/square.small/waypoint/flag/temp.png create mode 100644 Icons/map-icons/square.small/waypoint/flag/yellow.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/destination.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left/exit.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left/fork.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left/hard.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left/merge.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left/soft.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/left/uturn.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right/exit.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right/fork.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right/hard.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right/merge.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right/soft.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/right/uturn.png create mode 100644 Icons/map-icons/square.small/waypoint/routepoint/straight.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt1.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt2.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt3.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt4.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt5.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt6.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt7.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt8.png create mode 100644 Icons/map-icons/square.small/waypoint/wpt9.png create mode 100644 Icons/map-icons/square.small/waypoint/wpttemp/wpttemp-green.png create mode 100644 Icons/map-icons/square.small/waypoint/wpttemp/wpttemp-red.png create mode 100644 Icons/map-icons/square.small/waypoint/wpttemp/wpttemp-yellow.png create mode 100644 Icons/map-icons/square.small/wlan.png create mode 100644 Icons/map-icons/square.small/wlan/closed.png create mode 100644 Icons/map-icons/square.small/wlan/empty.png create mode 100644 Icons/map-icons/square.small/wlan/open.png create mode 100644 Icons/map-icons/square.small/wlan/pay.png create mode 100644 Icons/map-icons/square.small/wlan/pay/fon.png create mode 100644 Icons/map-icons/square.small/wlan/wep.png create mode 100644 Icons/merkaartor-win32.rc create mode 100644 Icons/merkaartor.icns create mode 100644 Icons/move.xpm create mode 100644 Icons/remove.xpm create mode 100644 Icons/reverse.xpm create mode 100644 Icons/rotate.png create mode 100644 Icons/rotate.svg create mode 100644 Icons/small-remove.xpm create mode 100644 Icons/src/actions/GPS.svg create mode 100644 Icons/src/actions/align_nodes.pspimage create mode 100644 Icons/src/actions/break_apart_roads.pspimage create mode 100644 Icons/src/actions/build_bridge.xcf create mode 100644 Icons/src/actions/camera.svg create mode 100644 Icons/src/actions/create_area.pspimage create mode 100644 Icons/src/actions/create_node.pspimage create mode 100644 Icons/src/actions/create_road.pspimage create mode 100644 Icons/src/actions/detach_node.pspimage create mode 100644 Icons/src/actions/join_roads.pspimage create mode 100644 Icons/src/actions/node_4.png create mode 100644 Icons/src/actions/node_5.png create mode 100644 Icons/src/actions/plus_11_oxygen.png create mode 100644 Icons/src/actions/reverse_road.pspimage create mode 100644 Icons/src/actions/shadow.xcf create mode 100644 Icons/src/actions/split_road.pspimage create mode 100644 Icons/src/actions/split_road_a.pspimage create mode 100644 Icons/src/actions/split_road_b.pspimage create mode 100644 Icons/toolselect.xpm create mode 100644 Icons/zoomico.xpm create mode 100644 LICENSE create mode 100644 LICENSE.rtf create mode 100644 Merkaartor.pro create mode 100644 README.md create mode 100644 Styles/Bicycle.mas create mode 100644 Styles/Classic.mas create mode 100644 Styles/Lighting.mas create mode 100644 Styles/Mapnik.mas create mode 100644 Styles/MapnikPlus.mas create mode 100644 Styles/Maxspeed.mas create mode 100644 Styles/Merkaartor.mas create mode 100644 Styles/Mobile.mas create mode 100644 Styles/None.mas create mode 100644 Styles/Styles.qrc create mode 100644 Styles/Validation.mas create mode 100644 Styles/Wireframe.mas create mode 100644 Templates/Brussels.mat create mode 100644 Templates/TagTemplate.xsd create mode 100644 Templates/Templates.qrc create mode 100644 Templates/default.mat create mode 100644 Templates/mine.mat create mode 100755 ci/travis-linux-install.sh create mode 100755 ci/travis-linux-script.sh create mode 100755 ci/travis-osx-install.sh create mode 100755 ci/travis-osx-script.sh create mode 100644 include/RTree.h create mode 100644 interfaces/IBackend.h create mode 100644 interfaces/IDocument.h create mode 100644 interfaces/IFeature.h create mode 100644 interfaces/IImageManager.cpp create mode 100644 interfaces/IImageManager.h create mode 100644 interfaces/ILayer.h create mode 100644 interfaces/IMapAdapter.h create mode 100644 interfaces/IMapAdapterFactory.h create mode 100644 interfaces/IMapWatermark.h create mode 100644 interfaces/IMerkMainWindow.h create mode 100644 interfaces/IProgressWindow.h create mode 100644 interfaces/IProjection.h create mode 100644 interfaces/IRenderer.h create mode 100644 interfaces/Interfaces.pri create mode 100644 macos/Info.plist create mode 100755 macos/mklocversion.sh create mode 100644 macos/setupframework.sh create mode 100644 mobilemerk/mobilemerk.pro create mode 100644 mobilemerk/src/MapView.cpp create mode 100644 mobilemerk/src/MapView.h create mode 100644 mobilemerk/src/MobileMainWindow.cpp create mode 100644 mobilemerk/src/MobileMainWindow.h create mode 100644 mobilemerk/src/MobileMainWindow.ui create mode 100644 mobilemerk/src/main.cpp create mode 100644 mobilemerk/src/src.pri create mode 100644 mobilemerk/thirdparty/MouseMachine/LICENSE.LGPL create mode 100644 mobilemerk/thirdparty/MouseMachine/MouseMachine.cpp create mode 100644 mobilemerk/thirdparty/MouseMachine/MouseMachine.h create mode 100644 mobilemerk/thirdparty/MouseMachine/MouseMachine.pri create mode 100644 mobilemerk/thirdparty/MouseMachine/README create mode 100644 plugins/background/MCadastreFranceBackground/CadastreFrance.cpp create mode 100644 plugins/background/MCadastreFranceBackground/CadastreFrance.h create mode 100644 plugins/background/MCadastreFranceBackground/MCadastreFranceBackground.pro create mode 100644 plugins/background/MCadastreFranceBackground/qadastre.pri create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/COPYING.txt create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/cadastrebrowser.cpp create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/cadastrebrowser.h create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/cadastrebrowser.ui create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/cadastrewrapper.cpp create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/cadastrewrapper.h create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/city.cpp create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/city.h create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/main.cpp create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/qadastre.pro create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/searchdialog.cpp create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/searchdialog.h create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/searchdialog.ui create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/tile.cpp create mode 100644 plugins/background/MCadastreFranceBackground/qadastre/tile.h create mode 100644 plugins/background/MGdalBackground/GdalAdapter.cpp create mode 100644 plugins/background/MGdalBackground/GdalAdapter.h create mode 100644 plugins/background/MGdalBackground/GdalAdapter.json create mode 100644 plugins/background/MGdalBackground/MGdalBackground.pro create mode 100644 plugins/background/MGeoTiffBackground/GeoTiffAdapter.cpp create mode 100644 plugins/background/MGeoTiffBackground/GeoTiffAdapter.h create mode 100644 plugins/background/MGeoTiffBackground/GeoTiffAdapter.json create mode 100644 plugins/background/MGeoTiffBackground/MGeoTiffBackground.pro create mode 100644 plugins/background/MGosmoreBackground/GosmoreAdapter.cpp create mode 100644 plugins/background/MGosmoreBackground/GosmoreAdapter.h create mode 100644 plugins/background/MGosmoreBackground/GosmoreAdapter.json create mode 100644 plugins/background/MGosmoreBackground/GosmoreFeature.cpp create mode 100644 plugins/background/MGosmoreBackground/GosmoreFeature.h create mode 100644 plugins/background/MGosmoreBackground/MGosmoreBackground.pri create mode 100644 plugins/background/MGosmoreBackground/MGosmoreBackground.pro create mode 100644 plugins/background/MGosmoreBackground/MGosmoreBackground.qrc create mode 100644 plugins/background/MGosmoreBackground/libgosm.cpp create mode 100644 plugins/background/MGosmoreBackground/libgosm.h create mode 100644 plugins/background/MMsBingMapBackground/MMsBingMapBackground.pro create mode 100644 plugins/background/MMsBingMapBackground/Resources.qrc create mode 100644 plugins/background/MMsBingMapBackground/images/logo_powered_by.png create mode 100644 plugins/background/MMsBingMapBackground/mapadapter.cpp create mode 100644 plugins/background/MMsBingMapBackground/mapadapter.h create mode 100644 plugins/background/MMsBingMapBackground/msbingmapadapter.cpp create mode 100644 plugins/background/MMsBingMapBackground/msbingmapadapter.h create mode 100644 plugins/background/MMsBingMapBackground/msbingmapadapter.json create mode 100644 plugins/background/MNavitBackground/MNavitBackground.pri create mode 100644 plugins/background/MNavitBackground/MNavitBackground.pro create mode 100644 plugins/background/MNavitBackground/MNavitBackground.qrc create mode 100644 plugins/background/MNavitBackground/NavitAdapter.cpp create mode 100644 plugins/background/MNavitBackground/NavitAdapter.h create mode 100644 plugins/background/MNavitBackground/NavitAdapter.json create mode 100644 plugins/background/MNavitBackground/NavitBin.cpp create mode 100644 plugins/background/MNavitBackground/NavitBin.h create mode 100644 plugins/background/MNavitBackground/NavitFeature.cpp create mode 100644 plugins/background/MNavitBackground/NavitFeature.h create mode 100644 plugins/background/MNavitBackground/NavitZip.cpp create mode 100644 plugins/background/MNavitBackground/NavitZip.h create mode 100644 plugins/background/MNavitBackground/attr_def.h create mode 100644 plugins/background/MNavitBackground/item_def.h create mode 100644 plugins/background/MSpatialiteBackground/MSpatialiteBackground.pri create mode 100644 plugins/background/MSpatialiteBackground/MSpatialiteBackground.pro create mode 100644 plugins/background/MSpatialiteBackground/MSpatialiteBackground.qrc create mode 100644 plugins/background/MSpatialiteBackground/PrimitiveFeature.cpp create mode 100644 plugins/background/MSpatialiteBackground/PrimitiveFeature.h create mode 100644 plugins/background/MSpatialiteBackground/SpatialiteAdapter.cpp create mode 100644 plugins/background/MSpatialiteBackground/SpatialiteAdapter.h create mode 100644 plugins/background/MSpatialiteBackground/SpatialiteAdapter.json create mode 100644 plugins/background/MWalkingPapersBackground/MWalkingPapersBackground.pro create mode 100644 plugins/background/MWalkingPapersBackground/WalkingPapersAdapter.cpp create mode 100644 plugins/background/MWalkingPapersBackground/WalkingPapersAdapter.h create mode 100644 plugins/background/MWalkingPapersBackground/WalkingPapersAdapter.json create mode 100644 plugins/background/MYahooBackground/MYahooBackground.pro create mode 100644 plugins/background/MYahooBackground/MYahooBackground.qrc create mode 100644 plugins/background/MYahooBackground/yahoolegalmapadapter.cpp create mode 100644 plugins/background/MYahooBackground/yahoolegalmapadapter.h create mode 100644 plugins/background/MYahooBackground/yahoolegalmapadapter.json create mode 100644 plugins/background/MYahooBackground/ymap.html create mode 100644 plugins/background/MYahooTiledBackground/MYahooTiledBackground.pro create mode 100644 plugins/background/MYahooTiledBackground/MYahooTiledBackground.qrc create mode 100644 plugins/background/MYahooTiledBackground/yahootiledmapadapter.cpp create mode 100644 plugins/background/MYahooTiledBackground/yahootiledmapadapter.h create mode 100644 plugins/background/MYahooTiledBackground/yahootiledmapadapter.json create mode 100644 plugins/background/MYahooTiledBackground/ymap.html create mode 100644 plugins/background/background.pro create mode 100644 plugins/background/common.pri create mode 100644 plugins/common.pri create mode 100644 plugins/plugins.pro create mode 100644 share/BookmarksList.xml create mode 100644 share/Projections.xml create mode 100644 share/TmsServersList.xml create mode 100644 share/WmsServersList.xml create mode 100644 share/proj/GL27 create mode 100644 share/proj/epsg create mode 100644 share/proj/esri create mode 100644 share/proj/esri.extra create mode 100644 share/proj/nad.lst create mode 100644 share/proj/nad27 create mode 100644 share/proj/nad83 create mode 100644 share/proj/other.extra create mode 100644 share/proj/proj_def.dat create mode 100644 share/proj/world create mode 100644 share/share.qrc create mode 100644 share/world_shp/world_adm0.dbf create mode 100644 share/world_shp/world_adm0.shp create mode 100644 share/world_shp/world_adm0.shx create mode 100644 src/Backend/Backend.pri create mode 100644 src/Backend/MemoryBackend.cpp create mode 100644 src/Backend/MemoryBackend.h create mode 100644 src/Backend/SpatialiteBackend.cpp create mode 100644 src/Backend/SpatialiteBackend.h create mode 100644 src/Backend/SpatialiteBase.cpp create mode 100644 src/Backend/SpatialiteBase.h create mode 100644 src/Commands/Command.cpp create mode 100644 src/Commands/Command.h create mode 100644 src/Commands/Commands.pri create mode 100644 src/Commands/DocumentCommands.cpp create mode 100644 src/Commands/DocumentCommands.h create mode 100644 src/Commands/FeatureCommands.cpp create mode 100644 src/Commands/FeatureCommands.h create mode 100644 src/Commands/NodeCommands.cpp create mode 100644 src/Commands/NodeCommands.h create mode 100644 src/Commands/RelationCommands.cpp create mode 100644 src/Commands/RelationCommands.h create mode 100644 src/Commands/TrackSegmentCommands.cpp create mode 100644 src/Commands/TrackSegmentCommands.h create mode 100644 src/Commands/WayCommands.cpp create mode 100644 src/Commands/WayCommands.h create mode 100644 src/Config.pri create mode 100644 src/Custom.pri create mode 100644 src/Docks/DirtyDock.cpp create mode 100644 src/Docks/DirtyDock.h create mode 100644 src/Docks/DirtyDock.ui create mode 100644 src/Docks/Docks.pri create mode 100644 src/Docks/FeaturesDock.cpp create mode 100644 src/Docks/FeaturesDock.h create mode 100644 src/Docks/FeaturesDock.ui create mode 100644 src/Docks/GeoImage.pri create mode 100644 src/Docks/GeoImageDock.cpp create mode 100644 src/Docks/GeoImageDock.h create mode 100644 src/Docks/InfoDock.cpp create mode 100644 src/Docks/InfoDock.h create mode 100644 src/Docks/LayerDock.cpp create mode 100644 src/Docks/LayerDock.h create mode 100644 src/Docks/MDockAncestor.cpp create mode 100644 src/Docks/MDockAncestor.h create mode 100644 src/Docks/MinimumRelationProperties.ui create mode 100644 src/Docks/MinimumRoadProperties.ui create mode 100644 src/Docks/MinimumTrackPointProperties.ui create mode 100644 src/Docks/PhotoLoadErrorDialog.ui create mode 100644 src/Docks/PropertiesDock.cpp create mode 100644 src/Docks/PropertiesDock.h create mode 100644 src/Docks/StyleDock.cpp create mode 100644 src/Docks/StyleDock.h create mode 100644 src/Docks/StyleDock.ui create mode 100644 src/Features/Feature.cpp create mode 100644 src/Features/Feature.h create mode 100644 src/Features/Features.h create mode 100644 src/Features/Features.pri create mode 100644 src/Features/Node.cpp create mode 100644 src/Features/Node.h create mode 100644 src/Features/Relation.cpp create mode 100644 src/Features/Relation.h create mode 100644 src/Features/TrackSegment.cpp create mode 100644 src/Features/TrackSegment.h create mode 100644 src/Features/Way.cpp create mode 100644 src/Features/Way.h create mode 100644 src/GPS/GPS.pri create mode 100644 src/GPS/GpsFix.cpp create mode 100644 src/GPS/GpsFix.h create mode 100644 src/GPS/SatelliteStrengthView.cpp create mode 100644 src/GPS/SatelliteStrengthView.h create mode 100644 src/GPS/qgps.cpp create mode 100644 src/GPS/qgps.h create mode 100644 src/GPS/qgpsdevice.cpp create mode 100644 src/GPS/qgpsdevice.h create mode 100644 src/GPS/qgpsmainwindowui.ui create mode 100644 src/GPS/qgpssatellitetracker.cpp create mode 100644 src/GPS/qgpssatellitetracker.h create mode 100644 src/ImportExport/ExportDialog.ui create mode 100644 src/ImportExport/ExportGPX.cpp create mode 100644 src/ImportExport/ExportGPX.h create mode 100644 src/ImportExport/ExportOSM.cpp create mode 100644 src/ImportExport/ExportOSM.h create mode 100644 src/ImportExport/IImportExport.cpp create mode 100644 src/ImportExport/IImportExport.h create mode 100644 src/ImportExport/ImportCSVDialog.cpp create mode 100644 src/ImportExport/ImportCSVDialog.h create mode 100644 src/ImportExport/ImportCSVDialog.ui create mode 100644 src/ImportExport/ImportExport.pri create mode 100644 src/ImportExport/ImportExportCSV.cpp create mode 100644 src/ImportExport/ImportExportCSV.h create mode 100644 src/ImportExport/ImportExportGdal.cpp create mode 100644 src/ImportExport/ImportExportGdal.h create mode 100644 src/ImportExport/ImportExportKML.cpp create mode 100644 src/ImportExport/ImportExportKML.h create mode 100644 src/ImportExport/ImportExportOSC.cpp create mode 100644 src/ImportExport/ImportExportOSC.h create mode 100644 src/ImportExport/ImportExportPBF.cpp create mode 100644 src/ImportExport/ImportExportPBF.h create mode 100644 src/ImportExport/ImportGPX.cpp create mode 100644 src/ImportExport/ImportGPX.h create mode 100644 src/ImportExport/ImportNGT.cpp create mode 100644 src/ImportExport/ImportNGT.h create mode 100644 src/ImportExport/ImportNMEA.cpp create mode 100644 src/ImportExport/ImportNMEA.h create mode 100644 src/ImportExport/ImportOSM.cpp create mode 100644 src/ImportExport/ImportOSM.h create mode 100644 src/ImportExport/fileformat.pb.cc create mode 100644 src/ImportExport/fileformat.pb.h create mode 100644 src/ImportExport/fileformat.proto create mode 100644 src/ImportExport/osmformat.pb.cc create mode 100644 src/ImportExport/osmformat.pb.h create mode 100644 src/ImportExport/osmformat.proto create mode 100644 src/Interactions/BuildBridgeInteraction.cpp create mode 100644 src/Interactions/BuildBridgeInteraction.h create mode 100644 src/Interactions/CreateAreaInteraction.cpp create mode 100644 src/Interactions/CreateAreaInteraction.h create mode 100644 src/Interactions/CreateDoubleWayDock.ui create mode 100644 src/Interactions/CreateDoubleWayInteraction.cpp create mode 100644 src/Interactions/CreateDoubleWayInteraction.h create mode 100644 src/Interactions/CreateNodeInteraction.cpp create mode 100644 src/Interactions/CreateNodeInteraction.h create mode 100644 src/Interactions/CreatePolygonInteraction.cpp create mode 100644 src/Interactions/CreatePolygonInteraction.h create mode 100644 src/Interactions/CreateRoundaboutDock.ui create mode 100644 src/Interactions/CreateRoundaboutInteraction.cpp create mode 100644 src/Interactions/CreateRoundaboutInteraction.h create mode 100644 src/Interactions/CreateSingleWayInteraction.cpp create mode 100644 src/Interactions/CreateSingleWayInteraction.h create mode 100644 src/Interactions/EditInteraction.cpp create mode 100644 src/Interactions/EditInteraction.h create mode 100644 src/Interactions/ExtrudeInteraction.cpp create mode 100644 src/Interactions/ExtrudeInteraction.h create mode 100644 src/Interactions/Interaction.cpp create mode 100644 src/Interactions/Interaction.h create mode 100644 src/Interactions/Interactions.pri create mode 100644 src/Interactions/MoveNodeInteraction.cpp create mode 100644 src/Interactions/MoveNodeInteraction.h create mode 100644 src/Interactions/RotateInteraction.cpp create mode 100644 src/Interactions/RotateInteraction.h create mode 100644 src/Interactions/ScaleInteraction.cpp create mode 100644 src/Interactions/ScaleInteraction.h create mode 100644 src/Interactions/ZoomInteraction.cpp create mode 100644 src/Interactions/ZoomInteraction.h create mode 100644 src/Layers/FilterEditDialog.ui create mode 100644 src/Layers/ImageMapLayer.cpp create mode 100644 src/Layers/ImageMapLayer.h create mode 100644 src/Layers/Layer.cpp create mode 100644 src/Layers/Layer.h create mode 100644 src/Layers/LayerIterator.h create mode 100644 src/Layers/LayerPrivate.h create mode 100644 src/Layers/LayerWidget.cpp create mode 100644 src/Layers/LayerWidget.h create mode 100644 src/Layers/LayerWidget.ui create mode 100644 src/Layers/Layers.pri create mode 100755 src/Layers/LicenseDisplayDialog.ui create mode 100644 src/Layers/OsmRenderLayer.cpp create mode 100644 src/Layers/OsmRenderLayer.h create mode 100644 src/Main.cpp create mode 100755 src/MainWindow.cpp create mode 100644 src/MainWindow.h create mode 100644 src/MainWindow.ui create mode 100644 src/NameFinder/NameFinder.pri create mode 100644 src/NameFinder/NameFinderResult.h create mode 100644 src/NameFinder/httpquery.cpp create mode 100644 src/NameFinder/httpquery.h create mode 100644 src/NameFinder/namefindertablemodel.cpp create mode 100644 src/NameFinder/namefindertablemodel.h create mode 100644 src/NameFinder/namefinderwidget.cpp create mode 100644 src/NameFinder/namefinderwidget.h create mode 100644 src/NameFinder/namefinderwidget.ui create mode 100644 src/NameFinder/xmlstreamreader.cpp create mode 100644 src/NameFinder/xmlstreamreader.h create mode 100644 src/PaintStyle/FeaturePainter.cpp create mode 100644 src/PaintStyle/FeaturePainter.h create mode 100644 src/PaintStyle/IPaintStyle.h create mode 100644 src/PaintStyle/MapCSSPaintstyle.cpp create mode 100644 src/PaintStyle/MapCSSPaintstyle.h create mode 100644 src/PaintStyle/MasPaintStyle.cpp create mode 100644 src/PaintStyle/MasPaintStyle.h create mode 100644 src/PaintStyle/PaintStyle.pri create mode 100644 src/PaintStyle/PaintStyleEditor.cpp create mode 100644 src/PaintStyle/PaintStyleEditor.h create mode 100644 src/PaintStyle/PaintStyleEditor.pri create mode 100644 src/PaintStyle/PaintStyleEditor.ui create mode 100644 src/PaintStyle/Painter.cpp create mode 100644 src/PaintStyle/Painter.h create mode 100644 src/PaintStyle/PrimitivePainter.cpp create mode 100644 src/PaintStyle/PrimitivePainter.h create mode 100644 src/Preferences/BookmarksList.cpp create mode 100644 src/Preferences/BookmarksList.h create mode 100644 src/Preferences/FilterList.cpp create mode 100644 src/Preferences/FilterList.h create mode 100644 src/Preferences/FilterPreferencesDialog.cpp create mode 100644 src/Preferences/FilterPreferencesDialog.h create mode 100644 src/Preferences/FilterPreferencesDialog.ui create mode 100644 src/Preferences/MerkaartorPreferences.cpp create mode 100644 src/Preferences/MerkaartorPreferences.h create mode 100644 src/Preferences/OsmServerWidget.ui create mode 100644 src/Preferences/Preferences.pri create mode 100644 src/Preferences/PreferencesDialog.cpp create mode 100644 src/Preferences/PreferencesDialog.h create mode 100644 src/Preferences/PreferencesDialog.ui create mode 100644 src/Preferences/ProjPreferencesDialog.cpp create mode 100644 src/Preferences/ProjPreferencesDialog.h create mode 100644 src/Preferences/ProjPreferencesDialog.ui create mode 100644 src/Preferences/ProjectionsList.cpp create mode 100644 src/Preferences/ProjectionsList.h create mode 100644 src/Preferences/TMSPreferencesDialog.cpp create mode 100644 src/Preferences/TMSPreferencesDialog.h create mode 100644 src/Preferences/TMSPreferencesDialog.ui create mode 100644 src/Preferences/TmsServersList.cpp create mode 100644 src/Preferences/TmsServersList.h create mode 100644 src/Preferences/WMSPreferencesDialog.cpp create mode 100644 src/Preferences/WMSPreferencesDialog.h create mode 100644 src/Preferences/WMSPreferencesDialog.ui create mode 100644 src/Preferences/WmsServersList.cpp create mode 100644 src/Preferences/WmsServersList.h create mode 100644 src/QMapControl.pri create mode 100644 src/QMapControl/WmscMapAdapter.cpp create mode 100644 src/QMapControl/WmscMapAdapter.h create mode 100644 src/QMapControl/browserimagemanager.cpp create mode 100644 src/QMapControl/browserimagemanager.h create mode 100644 src/QMapControl/imagemanager.cpp create mode 100644 src/QMapControl/imagemanager.h create mode 100644 src/QMapControl/imagepoint.cpp create mode 100644 src/QMapControl/imagepoint.h create mode 100644 src/QMapControl/mapadapter.cpp create mode 100644 src/QMapControl/mapadapter.h create mode 100644 src/QMapControl/mapcontrol.cpp create mode 100644 src/QMapControl/mapcontrol.h create mode 100644 src/QMapControl/mapnetwork.cpp create mode 100644 src/QMapControl/mapnetwork.h create mode 100644 src/QMapControl/tilemapadapter.cpp create mode 100644 src/QMapControl/tilemapadapter.h create mode 100644 src/QMapControl/wmsmapadapter.cpp create mode 100644 src/QMapControl/wmsmapadapter.h create mode 100644 src/QToolBarDialog/QToolBarDialog.pri create mode 100644 src/QToolBarDialog/qttoolbardialog.cpp create mode 100644 src/QToolBarDialog/qttoolbardialog.h create mode 100644 src/QToolBarDialog/qttoolbardialog.ui create mode 100644 src/Render/MapRenderer.cpp create mode 100644 src/Render/MapRenderer.h create mode 100644 src/Render/NativeRenderDialog.cpp create mode 100644 src/Render/NativeRenderDialog.h create mode 100644 src/Render/NativeRenderDialog.ui create mode 100644 src/Render/Render.pri create mode 100644 src/Sync/DirtyList.cpp create mode 100644 src/Sync/DirtyList.h create mode 100644 src/Sync/DirtyListExecutorOSC.cpp create mode 100644 src/Sync/DirtyListExecutorOSC.h create mode 100644 src/Sync/DownloadOSM.cpp create mode 100644 src/Sync/DownloadOSM.h create mode 100644 src/Sync/Sync.pri create mode 100644 src/Sync/SyncListDialog.ui create mode 100644 src/TagTemplate/TagTemplate.cpp create mode 100644 src/TagTemplate/TagTemplate.h create mode 100644 src/TagTemplate/TagTemplate.pri create mode 100644 src/Tools/ActionsDialog.cpp create mode 100644 src/Tools/ActionsDialog.h create mode 100644 src/Tools/QFatFs/QFat.cpp create mode 100644 src/Tools/QFatFs/QFat.h create mode 100644 src/Tools/QFatFs/QFatFile.cpp create mode 100644 src/Tools/QFatFs/QFatFile.h create mode 100644 src/Tools/QFatFs/QFatFs.cpp create mode 100644 src/Tools/QFatFs/QFatFs.h create mode 100644 src/Tools/QFatFs/QFatFs.pri create mode 100644 src/Tools/RegionMapWidget.cpp create mode 100644 src/Tools/RegionMapWidget.h create mode 100644 src/Tools/Tools.pri create mode 100644 src/Tools/ZipEngine.cpp create mode 100644 src/Tools/ZipEngine.h create mode 100644 src/Utils/CheckBoxList.cpp create mode 100644 src/Utils/CheckBoxList.h create mode 100644 src/Utils/EditCompleterDelegate.cpp create mode 100644 src/Utils/EditCompleterDelegate.h create mode 100644 src/Utils/LineF.h create mode 100644 src/Utils/MDiscardableDialog.cpp create mode 100644 src/Utils/MDiscardableDialog.h create mode 100644 src/Utils/OsmLink.cpp create mode 100644 src/Utils/OsmLink.h create mode 100644 src/Utils/PictureViewerDialog.cpp create mode 100644 src/Utils/PictureViewerDialog.h create mode 100644 src/Utils/PictureViewerDialog.ui create mode 100644 src/Utils/PixmapWidget.cpp create mode 100644 src/Utils/PixmapWidget.h create mode 100644 src/Utils/ProjectionChooser.cpp create mode 100644 src/Utils/ProjectionChooser.h create mode 100644 src/Utils/ProjectionChooser.ui create mode 100644 src/Utils/SelectionDialog.cpp create mode 100644 src/Utils/SelectionDialog.h create mode 100644 src/Utils/SelectionDialog.ui create mode 100644 src/Utils/ShortcutOverrideFilter.cpp create mode 100644 src/Utils/ShortcutOverrideFilter.h create mode 100644 src/Utils/SlippyMapWidget.cpp create mode 100644 src/Utils/SlippyMapWidget.h create mode 100644 src/Utils/SvgCache.cpp create mode 100644 src/Utils/SvgCache.h create mode 100644 src/Utils/TagSelector.cpp create mode 100644 src/Utils/TagSelector.h create mode 100644 src/Utils/TagSelectorWidget.cpp create mode 100644 src/Utils/TagSelectorWidget.h create mode 100644 src/Utils/TagSelectorWidget.ui create mode 100644 src/Utils/Utils.cpp create mode 100644 src/Utils/Utils.h create mode 100644 src/Utils/Utils.pri create mode 100644 src/Utils/Utils.qrc create mode 100644 src/Utils/init_spatialite-2.3.sql create mode 100644 src/common/AboutDialog.ui create mode 100644 src/common/Coord.cpp create mode 100644 src/common/Coord.h create mode 100644 src/common/Document.cpp create mode 100644 src/common/Document.h create mode 100644 src/common/DownloadMapDialog.ui create mode 100644 src/common/FeatureManipulations.cpp create mode 100644 src/common/FeatureManipulations.h create mode 100644 src/common/Global.cpp create mode 100644 src/common/Global.h create mode 100644 src/common/GotoDialog.cpp create mode 100644 src/common/GotoDialog.h create mode 100644 src/common/GotoDialog.ui create mode 100644 src/common/MapTypedef.h create mode 100644 src/common/MapView.cpp create mode 100644 src/common/MapView.h create mode 100644 src/common/MultiProperties.ui create mode 100644 src/common/Painting.cpp create mode 100644 src/common/Painting.h create mode 100644 src/common/Projection.cpp create mode 100644 src/common/Projection.h create mode 100644 src/common/PropertiesDialog.ui create mode 100644 src/common/RelationProperties.ui create mode 100644 src/common/TagModel.cpp create mode 100644 src/common/TagModel.h create mode 100644 src/common/TerraceDialog.cpp create mode 100644 src/common/TerraceDialog.h create mode 100644 src/common/TerraceDialog.ui create mode 100644 src/common/UploadMapDialog.ui create mode 100644 src/common/common.pri create mode 100644 src/merkaartor.desktop create mode 100644 src/qextserialport/posix_qextserialport.cpp create mode 100644 src/qextserialport/posix_qextserialport.h create mode 100644 src/qextserialport/qextserialbase.cpp create mode 100644 src/qextserialport/qextserialbase.h create mode 100644 src/qextserialport/qextserialport.cpp create mode 100644 src/qextserialport/qextserialport.h create mode 100644 src/qextserialport/qextserialport.pri create mode 100644 src/qextserialport/win_qextserialport.cpp create mode 100644 src/qextserialport/win_qextserialport.h create mode 100644 src/src.pro create mode 100644 translations/README.md create mode 100644 translations/i18n.pl create mode 100644 translations/makefile create mode 100644 translations/maketar.pl create mode 100644 translations/merkaartor_ar.ts create mode 100644 translations/merkaartor_cs.ts create mode 100644 translations/merkaartor_de.ts create mode 100644 translations/merkaartor_de_AT.ts create mode 100644 translations/merkaartor_en.ts create mode 100644 translations/merkaartor_es.ts create mode 100644 translations/merkaartor_et.ts create mode 100644 translations/merkaartor_fr.ts create mode 100644 translations/merkaartor_hr.ts create mode 100644 translations/merkaartor_hu.ts create mode 100644 translations/merkaartor_id_ID.ts create mode 100644 translations/merkaartor_it.ts create mode 100644 translations/merkaartor_ja.ts create mode 100644 translations/merkaartor_nl.ts create mode 100644 translations/merkaartor_pl.ts create mode 100644 translations/merkaartor_pt.ts create mode 100644 translations/merkaartor_pt_BR.ts create mode 100644 translations/merkaartor_ru.ts create mode 100644 translations/merkaartor_sk.ts create mode 100644 translations/merkaartor_sv.ts create mode 100644 translations/merkaartor_uk.ts create mode 100644 translations/merkaartor_vi.ts create mode 100644 translations/merkaartor_zh_CN.ts create mode 100644 translations/merkaartor_zh_TW.ts create mode 100644 windows/Makefile create mode 100644 windows/banner.bmp create mode 100644 windows/copydeps.sh create mode 100644 windows/defines-qt_dbg.wxi create mode 100644 windows/defines.wxi create mode 100644 windows/defines_dbg.wxi create mode 100644 windows/defines_svn.wxi create mode 100644 windows/dialog.bmp create mode 100644 windows/external.wxi create mode 100644 windows/installer.nsi create mode 100644 windows/merkaartor.cmd create mode 100644 windows/merkaartor.wxs create mode 100644 windows/merkaartor_dbg.wxs create mode 100644 windows/merkaartor_svn.wxs create mode 100644 windows/merkaartor_trans.wxi create mode 100755 windows/msys-build create mode 100755 windows/msys-init create mode 100644 windows/proj4.wxi create mode 100644 windows/qt.wxi create mode 100644 windows/qt_dbg.wxi create mode 100644 windows/qt_dbg.wxs create mode 100644 windows/qttrans.wxi create mode 100755 windows/upload-to-bintray.pl diff --git a/.drone.sec b/.drone.sec new file mode 100644 index 0000000..b27cc84 --- /dev/null +++ b/.drone.sec @@ -0,0 +1 @@ +eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.YRyQNtOWUCipDm08cZdCER8J8tjoqs-4Heyz-1qT14-dN7bFFkP_fg-Z2Ug-jo78tT7YMtN6y6yTFIv_Wt_jhDqbsAV9ZoKJcIYfKhbLBctQxIUuR8YAXlXDyFbRert1PegbLYMru-FARnupadcQVfPrbunrEWmAJyYQewKJcsO5pGmD8C9q5AkQam4NvD_pp1pxvcFYx_PP3PYVYJCxqZT2GzLEyyaDLNbck3yslN1rleiZI9OzTXO6X9BgOOcsS7IzTN0ZhLVDOP5o2oXcOm_uIai5A1Uuk3lPrczCflTe6_k5_Yh7Wzt2qU6qmDOIoQVzZdjMfmTWOdhXYRvz1Q.Yt3jxqjGb0obh2HQ.1kGJv08npX27KP2-Li2UYL973tKQFDiSO5Sio6v1U2uMla7dicOJkT8pzyianXKx22hWNsUWdqPCS4s-jXg4untjD2NJ5-7AVu5LRJMPRW52CCFUe6g9XlPalEOobyq8Yt1RKh6GtdYzX53Yg2Gs000zJGfso6Pna3wASTzN5Zg3q4CC.fh_n-enfYObJwPiGpZJT4A diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5b45f84 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +# This is a build file to tea-ci.org (fork of drone with msys2 support) +clone: + tags: true + depth: 200 +branches: + - master + - tea-ci +build: + image: teaci/msys$$arch + pull: true + shell: mingw$$arch + environment: + - BINTRAY_TOKEN=$$BINTRAY_TOKEN + commands: + - if [ $$arch = 32 ]; then target=i686; fi + - if [ $$arch = 64 ]; then target=x86_64; fi + - wget http://stuff.krakonos.org/upload && chmod +x upload + - pacman -S --noconfirm --needed --noprogressbar unzip curl mingw-w64-${target}-nsis mingw-w64-${target}-qt5 mingw-w64-${target}-gdal mingw-w64-${target}-proj mingw-w64-${target}-openjpeg2 mingw-w64-${target}-json-c msys/perl-common-sense + - pacman -S --noconfirm --needed --noprogressbar mingw-w64-${target}-netcdf mingw-w64-${target}-nspr mingw-w64-${target}-nss mingw-w64-${target}-postgresql + - qmake -r + - make -j8 release + - lrelease src/src.pro + - sh windows/copydeps.sh + - makensis.exe windows/installer.nsi + - windows/upload-to-bintray.pl windows/merkaartor-*.exe + +matrix: + arch: + - 64 + - 32 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..70857ee --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# git-ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +*.[oa] +*~ +*.qm +*.moc +*.rc +moc*.cpp +qrc*.cpp +ui*.h +Makefile* +Makefile*.* +*.pro.user +*.po +*.orig +*.rej diff --git a/.indent.pro b/.indent.pro new file mode 100644 index 0000000..a60379b --- /dev/null +++ b/.indent.pro @@ -0,0 +1 @@ +-kr -nut diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9e7007d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,30 @@ +sudo: required +dist: trusty +env: + - QT=4 + - QT=5 +os: + - linux + - osx +git: + depth: 9999999 + +install: + - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./ci/travis-linux-install.sh; fi + - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./ci/travis-osx-install.sh; fi + +script: + - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./ci/travis-linux-script.sh; fi + - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ./ci/travis-osx-script.sh; fi + +deploy: + on: + branch: + - travis-ci + - master + condition: $TRAVIS_OS_NAME = osx + provider: bintray + file: binaries/bin/deploy.json + user: krakonos + key: + secure: CMTTCxFAUirt3f+LOOC3ngJKzyqNuLO1il4Vmd8Jq5isAfiiShzs0Qj+8vvsdl7ebyVBQ5srTmwOY1z6B/Jzl5gpHPR3Y2oYt4hFaAkKU6nnlCELX7N/pS1TAXgX8NZjjod0xlfV2700eWDDBRs7gjGWQKhKzRVlMByWYeWV68c= diff --git a/.tx/config b/.tx/config new file mode 100644 index 0000000..159bb2d --- /dev/null +++ b/.tx/config @@ -0,0 +1,9 @@ +[main] +host = https://www.transifex.com + +[merkaartor.merkaartor_ents] +file_filter = translations/merkaartor_.ts +source_file = translations/merkaartor_en.ts +source_lang = en +type = QT + diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/INSTALL.TXT b/3rdparty/qtsingleapplication-2.6_1-opensource/INSTALL.TXT new file mode 100644 index 0000000..bbb74a9 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/INSTALL.TXT @@ -0,0 +1,254 @@ +INSTALLATION INSTRUCTIONS + +These instructions refer to the package you are installing as +some-package.tar.gz or some-package.zip. The .zip file is intended for use +on Windows. + +The directory you choose for the installation will be referred to as +your-install-dir. + +Note to Qt Visual Studio Integration users: In the instructions below, +instead of building from command line with nmake, you can use the menu +command 'Qt->Open Solution from .pro file' on the .pro files in the +example and plugin directories, and then build from within Visual +Studio. + +Unpacking and installation +-------------------------- + +1. Unpacking the archive (if you have not done so already). + + On Unix and Mac OS X (in a terminal window): + + cd your-install-dir + gunzip some-package.tar.gz + tar xvf some-package.tar + + This creates the subdirectory some-package containing the files. + + On Windows: + + Unpack the .zip archive by right-clicking it in explorer and + choosing "Extract All...". If your version of Windows does not + have zip support, you can use the infozip tools available + from www.info-zip.org. + + If you are using the infozip tools (in a command prompt window): + cd your-install-dir + unzip some-package.zip + +2. Configuring the package. + + The configure script is called "configure" on unix/mac and + "configure.bat" on Windows. It should be run from a command line + after cd'ing to the package directory. + + You can choose whether you want to use the component by including + its source code directly into your project, or build the component + as a dynamic shared library (DLL) that is loaded into the + application at run-time. The latter may be preferable for + technical or licensing (LGPL) reasons. If you want to build a DLL, + run the configure script with the argument "-library". Also see + the note about usage below. + + (Components that are Qt plugins, e.g. styles and image formats, + are by default built as a plugin DLL.) + + The configure script will prompt you in some cases for further + information. Answer these questions and carefully read the license text + before accepting the license conditions. The package cannot be used if + you do not accept the license conditions. + +3. Building the component and examples (when required). + + If a DLL is to be built, or if you would like to build the + examples, next give the commands + + qmake + make [or nmake if your are using Microsoft Visual C++] + + The example program(s) can be found in the directory called + "examples" or "example". + + Components that are Qt plugins, e.g. styles and image formats, are + ready to be used as soon as they are built, so the rest of this + installation instruction can be skipped. + +4. Building the Qt Designer plugin (optional). + + Some of the widget components are provided with plugins for Qt + Designer. To build and install the plugin, cd into the + some-package/plugin directory and give the commands + + qmake + make [or nmake if your are using Microsoft Visual C++] + + Restart Qt Designer to make it load the new widget plugin. + + Note: If you are using the built-in Qt Designer from the Qt Visual + Studio Integration, you will need to manually copy the plugin DLL + file, i.e. copy + %QTDIR%\plugins\designer\some-component.dll + to the Qt Visual Studio Integration plugin path, typically: + C:\Program Files\Trolltech\Qt VS Integration\plugins + + Note: If you for some reason are using a Qt Designer that is built + in debug mode, you will need to build the plugin in debug mode + also. Edit the file plugin.pro in the plugin directory, changing + 'release' to 'debug' in the CONFIG line, before running qmake. + + + +Solutions components are intended to be used directly from the package +directory during development, so there is no 'make install' procedure. + + +Using a component in your project +--------------------------------- + +To use this component in your project, add the following line to the +project's .pro file (or do the equivalent in your IDE): + + include(your-install-dir/some-package/src/some-package.pri) + +This adds the package's sources and headers to the SOURCES and HEADERS +project variables respectively (or, if the component has been +configured as a DLL, it adds that library to the LIBS variable), and +updates INCLUDEPATH to contain the package's src +directory. Additionally, the .pri file may include some dependencies +needed by the package. + +To include a header file from the package in your sources, you can now +simply use: + + #include + +or alternatively, in pre-Qt 4 style: + + #include + +Refer to the documentation to see the classes and headers this +components provides. + + + +Install documentation (optional) +-------------------------------- + +The HTML documentation for the package's classes is located in the +your-install-dir/some-package/doc/html/index.html. You can open this +file and read the documentation with any web browser. + +To install the documentation into Qt Assistant (for Qt version 4.4 and +later): + +1. In Assistant, open the Edit->Preferences dialog and choose the + Documentation tab. Click the Add... button and select the file + your-install-dir/some-package/doc/html/some-package.qch + +For Qt versions prior to 4.4, do instead the following: + +1. The directory your-install-dir/some-package/doc/html contains a + file called some-package.dcf. Execute the following commands in a + shell, command prompt or terminal window: + + cd your-install-dir/some-package/doc/html/ + assistant -addContentFile some-package.dcf + +The next time you start Qt Assistant, you can access the package's +documentation. + + +Removing the documentation from assistant +----------------------------------------- + +If you have installed the documentation into Qt Assistant, and want to uninstall it, do as follows, for Qt version 4.4 and later: + +1. In Assistant, open the Edit->Preferences dialog and choose the + Documentation tab. In the list of Registered Documentation, select + the item com.nokia.qtsolutions.some-package_version, and click + the Remove button. + +For Qt versions prior to 4.4, do instead the following: + +1. The directory your-install-dir/some-package/doc/html contains a + file called some-package.dcf. Execute the following commands in a + shell, command prompt or terminal window: + + cd your-install-dir/some-package/doc/html/ + assistant -removeContentFile some-package.dcf + + + +Using the component as a DLL +---------------------------- + +1. Normal components + + The shared library (DLL) is built and placed in the + some-package/lib directory. It is intended to be used directly + from there during development. When appropriate, both debug and + release versions are built, since the run-time linker will in some + cases refuse to load a debug-built DLL into a release-built + application or vice versa. + + The following steps are taken by default to help the dynamic + linker to locate the DLL at run-time (during development): + + Unix: The some-package.pri file will add linker instructions to + add the some-package/lib directory to the rpath of the + executable. (When distributing, or if your system does not support + rpath, you can copy the shared library to another place that is + searched by the dynamic linker, e.g. the "lib" directory of your + Qt installation.) + + Mac: The full path to the library is hardcoded into the library + itself, from where it is copied into the executable at link time, + and ready by the dynamic linker at run-time. (When distributing, + you will want to edit these hardcoded paths in the same way as for + the Qt DLLs. Refer to the document "Deploying an Application on + Mac OS X" in the Qt Reference Documentation.) + + Windows: the .dll file(s) are copied into the "bin" directory of + your Qt installation. The Qt installation will already have set up + that directory to be searched by the dynamic linker. + + +2. Plugins + + For Qt Solutions plugins (e.g. image formats), both debug and + release versions of the plugin are built by default when + appropriate, since in some cases the release Qt library will not + load a debug plugin, and vice versa. The plugins are automatically + copied into the plugins directory of your Qt installation when + built, so no further setup is required. + + Plugins may also be built statically, i.e. as a library that will be + linked into your application executable, and so will not need to + be redistributed as a separate plugin DLL to end users. Static + building is required if Qt itself is built statically. To do it, + just add "static" to the CONFIG variable in the plugin/plugin.pro + file before building. Refer to the "Static Plugins" section in the + chapter "How to Create Qt Plugins" for explanation of how to use a + static plugin in your application. The source code of the example + program(s) will also typically contain the relevant instructions + as comments. + + + +Uninstalling +------------ + + The following command will remove any fils that have been + automatically placed outside the package directory itself during + installation and building + + make distclean [or nmake if your are using Microsoft Visual C++] + + If Qt Assistant documentation or Qt Designer plugins have been + installed, they can be uninstalled manually, ref. above. + + +Enjoy! :) + +- The Qt Solutions Team. diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/LGPL_EXCEPTION.txt b/3rdparty/qtsingleapplication-2.6_1-opensource/LGPL_EXCEPTION.txt new file mode 100644 index 0000000..238ade5 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/LGPL_EXCEPTION.txt @@ -0,0 +1,23 @@ +Nokia Qt LGPL Exception version 1.1 + +As an additional permission to the GNU Lesser General Public License +version 2.1, the object code form of a "work that uses the Library" +may incorporate material from a header file that is part of the +Library. You may distribute such object code under terms of your +choice, provided that: +(i) the header files of the Library have not been modified; and +(ii) the incorporated material is limited to numerical parameters, +data structure layouts, accessors, macros, inline functions and +templates; and +(iii) you comply with the terms of Section 6 of the GNU +Lesser General Public License version 2.1. + +Moreover, you may apply this exception to a modified version of the +Library, provided that such modification does not involve copying +material from the Library into the modified Library?s header files +unless such material is limited to (i) numerical parameters; (ii) data +structure layouts; (iii) accessors; and (iv) small macros, templates +and inline functions of five lines or less in length. + +Furthermore, you are not required to apply this additional permission +to a modified version of the Library. diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.GPL3 b/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.GPL3 new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.GPL3 @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.LGPL b/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.LGPL new file mode 100644 index 0000000..5ab7695 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.LGPL @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library 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.1 of the License, or (at your option) any later version. + + This library 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 library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/README.TXT b/3rdparty/qtsingleapplication-2.6_1-opensource/README.TXT new file mode 100644 index 0000000..f12dc98 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/README.TXT @@ -0,0 +1,7 @@ +Single Application v2.6 + +The QtSingleApplication component provides support for +applications that can be only started once per user. + + + diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/buildlib/buildlib.pro b/3rdparty/qtsingleapplication-2.6_1-opensource/buildlib/buildlib.pro new file mode 100644 index 0000000..37dddcd --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/buildlib/buildlib.pro @@ -0,0 +1,13 @@ +TEMPLATE=lib +CONFIG += qt dll qtsingleapplication-buildlib +mac:CONFIG += absolute_library_soname +win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all +include(../src/qtsingleapplication.pri) +TARGET = $$QTSINGLEAPPLICATION_LIBNAME +DESTDIR = $$QTSINGLEAPPLICATION_LIBDIR +win32 { + DLLDESTDIR = $$[QT_INSTALL_BINS] + QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTSINGLEAPPLICATION_LIBNAME}.dll +} +target.path = $$DESTDIR +INSTALLS += target diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/common.pri b/3rdparty/qtsingleapplication-2.6_1-opensource/common.pri new file mode 100644 index 0000000..b45a4fc --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/common.pri @@ -0,0 +1,6 @@ +infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsingleapplication-uselib +TEMPLATE += fakelib +QTSINGLEAPPLICATION_LIBNAME = $$qtLibraryTarget(QtSolutions_SingleApplication-2.6) +TEMPLATE -= fakelib +QTSINGLEAPPLICATION_LIBDIR = $$PWD/lib +unix:qtsingleapplication-uselib:!qtsingleapplication-buildlib:QMAKE_RPATHDIR += $$QTSINGLEAPPLICATION_LIBDIR diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/config.pri b/3rdparty/qtsingleapplication-2.6_1-opensource/config.pri new file mode 100644 index 0000000..e69de29 diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/configure b/3rdparty/qtsingleapplication-2.6_1-opensource/configure new file mode 100644 index 0000000..099b08c --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/configure @@ -0,0 +1,112 @@ +#!/bin/sh + +if [ "x$1" != "x" -a "x$1" != "x-library" ]; then + echo "Usage: $0 [-library]" + echo + echo "-library: Build the component as a dynamic library (DLL). Default is to" + echo " include the component source code directly in the application." + echo " A DLL may be preferable for technical or licensing (LGPL) reasons." + echo + exit 0 +fi + + +# only ask to accept the license text once +if [ ! -f .licenseAccepted ]; then +# determine if opensource or commercial package + if [ -f LICENSE.LGPL ]; then + # opensource edition + while true; do + echo + echo "You are licensed to use this software under the terms of" + echo "the GNU General Public License (GPL) version 3, or" + echo "the GNU Lesser General Public License (LGPL) version 2.1" + echo "with certain additional extra rights as specified in the" + echo "Nokia Qt LGPL Exception version 1.1." + echo + echo "Type 'G' to view the GNU General Public License (GPL) version 3." + echo "Type 'L' to view the GNU Lesser General Public License (LGPL) version 2.1." + echo "Type 'E' to view the Nokia Qt LGPL Exception version 1.1." + echo "Type 'yes' to accept this license offer." + echo "Type 'no' to decline this license offer." + echo + echo "Do you accept the terms of this license? " + read answer + echo + + if [ "x$answer" = "xno" ]; then + echo "You are not licensed to use this software." + echo + exit 1 + elif [ "x$answer" = "xyes" ]; then + echo license accepted > .licenseAccepted + break + elif [ "x$answer" = "xe" -o "x$answer" = "xE" ]; then + more LGPL_EXCEPTION.txt + elif [ "x$answer" = "xl" -o "x$answer" = "xL" ]; then + more LICENSE.LGPL + elif [ "x$answer" = "xg" -o "x$answer" = "xG" ]; then + more LICENSE.GPL3 + fi + done + else + while true; do + echo + echo "Please choose your region." + echo + echo "Type 1 for North or South America." + echo "Type 2 for anywhere outside North and South America." + echo + echo "Select: " + read region + if [ "x$region" = "x1" ]; then + licenseFile=LICENSE.US + break; + elif [ "x$region" = "x2" ]; then + licenseFile=LICENSE.NO + break; + fi + done + while true; do + echo + echo "License Agreement" + echo + echo "Type '?' to view the Qt Solutions Commercial License." + echo "Type 'yes' to accept this license offer." + echo "Type 'no' to decline this license offer." + echo + echo "Do you accept the terms of this license? " + read answer + echo + + if [ "x$answer" = "xno" ]; then + echo "You are not licensed to use this software." + echo + exit 1 + elif [ "x$answer" = "xyes" ]; then + echo license accepted > .licenseAccepted + cp "$licenseFile" LICENSE + rm LICENSE.US + rm LICENSE.NO + break + elif [ "x$answer" = "x?" ]; then + more "$licenseFile" + fi + done + fi +fi + +rm -f config.pri +if [ "x$1" = "x-library" ]; then + echo "Configuring to build this component as a dynamic library." + echo "SOLUTIONS_LIBRARY = yes" > config.pri +fi + +echo +echo "This component is now configured." +echo +echo "To build the component library (if requested) and example(s)," +echo "run qmake and your make command." +echo +echo "To remove or reconfigure, run make distclean." +echo diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/classic.css b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/classic.css new file mode 100644 index 0000000..f22a77a --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/classic.css @@ -0,0 +1,139 @@ +h3.fn,span.fn +{ + margin-left: 1cm; + text-indent: -1cm; +} + +a:link +{ + color: #004faf; + text-decoration: none +} + +a:visited +{ + color: #672967; + text-decoration: none +} + +a.obsolete +{ + color: #661100; + text-decoration: none +} + +a.compat +{ + color: #661100; + text-decoration: none +} + +a.obsolete:visited +{ + color: #995500; + text-decoration: none +} + +a.compat:visited +{ + color: #995500; + text-decoration: none +} + +td.postheader +{ + font-family: sans-serif +} + +tr.address +{ + font-family: sans-serif +} + +body +{ + background: #ffffff; + color: black +} + +table tr.odd { + background: #f0f0f0; + color: black; +} + +table tr.even { + background: #e4e4e4; + color: black; +} + +table.annotated th { + padding: 3px; + text-align: left +} + +table.annotated td { + padding: 3px; +} + +table tr pre +{ + padding-top: 0px; + padding-bottom: 0px; + padding-left: 0px; + padding-right: 0px; + border: none; + background: none +} + +tr.qt-style +{ + background: #96E066; + color: black +} + +body pre +{ + padding: 0.2em; + border: #e7e7e7 1px solid; + background: #f1f1f1; + color: black +} + +table tr.qt-code pre +{ + padding: 0.2em; + border: #e7e7e7 1px solid; + background: #f1f1f1; + color: black +} + +span.preprocessor, span.preprocessor a +{ + color: darkblue; +} + +span.comment +{ + color: darkred; + font-style: italic +} + +span.string,span.char +{ + color: darkgreen; +} + +.title +{ + text-align: center +} + +.subtitle +{ + font-size: 0.8em +} + +.small-subtitle +{ + font-size: 0.65em +} diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/images/qt-logo.png b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/images/qt-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..794162f5af58e7b38beebf472842fc9703ede19b GIT binary patch literal 4075 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 literal 0 HcmV?d00001 diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/index.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/index.html new file mode 100644 index 0000000..d0bb38b --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/index.html @@ -0,0 +1,48 @@ + + + + + + Single Application + + + + + + + +
  Home

Single Application
+

+ +

Description

+

The QtSingleApplication component provides support for applications that can be only started once per user.

+

For some applications it is useful or even critical that they are started only once by any user. Future attempts to start the application should activate any already running instance, and possibly perform requested actions, e.g. loading a file, in that instance.

+

The QtSingleApplication class provides an interface to detect a running instance, and to send command strings to that instance. For console (non-GUI) applications, the QtSingleCoreApplication variant is provided, which avoids dependency on QtGui.

+ +

Classes

+ + +

Examples

+ + +

Tested platforms

+
    +
  • Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005
  • +
  • Qt 4.4, 4.5 / Linux / gcc
  • +
  • Qt 4.4, 4.5 / MacOS X 10.5 / gcc
  • +
+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile-members.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile-members.html new file mode 100644 index 0000000..326c99b --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile-members.html @@ -0,0 +1,166 @@ + + + + + + List of All Members for QtLockedFile + + + + + + + +
  Home

List of All Members for QtLockedFile

+

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

+

+ +
+

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile.html new file mode 100644 index 0000000..a121ef1 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile.html @@ -0,0 +1,111 @@ + + + + + + QtLockedFile Class Reference + + + + + + + +
  Home

QtLockedFile Class Reference

+

The QtLockedFile class extends QFile with advisory locking functions. More...

+
 #include <QtLockedFile>

Inherits QFile.

+ + +

Public Types

+
    +
  • enum LockMode { ReadLock, WriteLock, NoLock }
  • +
+ +

Public Functions

+ +
    +
  • 24 public functions inherited from QFile
  • +
  • 33 public functions inherited from QIODevice
  • +
  • 29 public functions inherited from QObject
  • +
+

Additional Inherited Members

+
    +
  • 1 property inherited from QObject
  • +
  • 1 public slot inherited from QObject
  • +
  • 4 signals inherited from QIODevice
  • +
  • 1 signal inherited from QObject
  • +
  • 1 public type inherited from QObject
  • +
  • 14 static public members inherited from QFile
  • +
  • 4 static public members inherited from QObject
  • +
  • 5 protected functions inherited from QIODevice
  • +
  • 7 protected functions inherited from QObject
  • +
  • 2 protected variables inherited from QObject
  • +
+ +
+

Detailed Description

+

The QtLockedFile class extends QFile with advisory locking functions.

+

A file may be locked in read or write mode. Multiple instances of QtLockedFile, created in multiple processes running on the same machine, may have a file locked in read mode. Exactly one instance may have it locked in write mode. A read and a write lock cannot exist simultaneously on the same file.

+

The file locks are advisory. This means that nothing prevents another process from manipulating a locked file using QFile or file system functions offered by the OS. Serialization is only guaranteed if all processes that access the file use QLockedFile. Also, while holding a lock on a file, a process must not open the same file again (through any API), or locks can be unexpectedly lost.

+

The lock provided by an instance of QtLockedFile is released whenever the program terminates. This is true even when the program crashes and no destructors are called.

+
+

Member Type Documentation

+

enum QtLockedFile::LockMode

+

This enum describes the available lock modes.

+

+ + + + +
ConstantValueDescription
QtLockedFile::ReadLock1A read lock.
QtLockedFile::WriteLock2A write lock.
QtLockedFile::NoLock0Neither a read lock nor a write lock.

+
+

Member Function Documentation

+

QtLockedFile::QtLockedFile ()

+

Constructs an unlocked QtLockedFile object. This constructor behaves in the same way as QFile::QFile().

+

See also QFile::QFile().

+

QtLockedFile::QtLockedFile ( const QString & name )

+

Constructs an unlocked QtLockedFile object with file name. This constructor behaves in the same way as QFile::QFile(const QString&).

+

See also QFile::QFile().

+

QtLockedFile::~QtLockedFile ()

+

Destroys the QtLockedFile object. If any locks were held, they are released.

+

bool QtLockedFile::isLocked () const

+

Returns true if this object has a in read or write lock; otherwise returns false.

+

See also lockMode().

+

bool QtLockedFile::lock ( LockMode mode, bool block = true )

+

Obtains a lock of type mode. The file must be opened before it can be locked.

+

If block is true, this function will block until the lock is aquired. If block is false, this function returns false immediately if the lock cannot be aquired.

+

If this object already has a lock of type mode, this function returns true immediately. If this object has a lock of a different type than mode, the lock is first released and then a new lock is obtained.

+

This function returns true if, after it executes, the file is locked by this object, and false otherwise.

+

See also unlock(), isLocked(), and lockMode().

+

LockMode QtLockedFile::lockMode () const

+

Returns the type of lock currently held by this object, or QtLockedFile::NoLock.

+

See also isLocked().

+

bool QtLockedFile::open ( OpenMode mode )

+

Opens the file in OpenMode mode.

+

This is identical to QFile::open(), with the one exception that the Truncate mode flag is disallowed. Truncation would conflict with the advisory file locking, since the file would be modified before the write lock is obtained. If truncation is required, use resize(0) after obtaining the write lock.

+

Returns true if successful; otherwise false.

+

See also QFile::open() and QFile::resize().

+

bool QtLockedFile::unlock ()

+

Releases a lock.

+

If the object has no lock, this function returns immediately.

+

This function returns true if, after it executes, the file is not locked by this object, and false otherwise.

+

See also lock(), isLocked(), and lockMode().

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-loader.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-loader.html new file mode 100644 index 0000000..2aac635 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-loader.html @@ -0,0 +1,184 @@ + + + + + + Loading Documents + + + + + + + +
  Home

Loading Documents
+

+

The application in this example loads or prints the documents passed as commandline parameters to further instances of this application.

+
 /****************************************************************************
+ **
+ ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ ** All rights reserved.
+ ** Contact: Nokia Corporation (qt-info@nokia.com)
+ **
+ ** This file is part of a Qt Solutions component.
+ **
+ ** Commercial Usage
+ ** Licensees holding valid Qt Commercial licenses may use this file in
+ ** accordance with the Qt Solutions Commercial License Agreement provided
+ ** with the Software or, alternatively, in accordance with the terms
+ ** contained in a written agreement between you and Nokia.
+ **
+ ** GNU Lesser General Public License Usage
+ ** Alternatively, this file may be used under the terms of the GNU Lesser
+ ** General Public License version 2.1 as published by the Free Software
+ ** Foundation and appearing in the file LICENSE.LGPL included in the
+ ** packaging of this file.  Please review the following information to
+ ** ensure the GNU Lesser General Public License version 2.1 requirements
+ ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+ **
+ ** In addition, as a special exception, Nokia gives you certain
+ ** additional rights. These rights are described in the Nokia Qt LGPL
+ ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
+ ** package.
+ **
+ ** GNU General Public License Usage
+ ** Alternatively, this file may be used under the terms of the GNU
+ ** General Public License version 3.0 as published by the Free Software
+ ** Foundation and appearing in the file LICENSE.GPL included in the
+ ** packaging of this file.  Please review the following information to
+ ** ensure the GNU General Public License version 3.0 requirements will be
+ ** met: http://www.gnu.org/copyleft/gpl.html.
+ **
+ ** Please note Third Party Software included with Qt Solutions may impose
+ ** additional restrictions and it is the user's responsibility to ensure
+ ** that they have met the licensing requirements of the GPL, LGPL, or Qt
+ ** Solutions Commercial license and the relevant license of the Third
+ ** Party Software they are using.
+ **
+ ** If you are unsure which license is appropriate for your use, please
+ ** contact Nokia at qt-info@nokia.com.
+ **
+ ****************************************************************************/
+
+ #include <qtsingleapplication.h>
+ #include <QtCore/QFile>
+ #include <QtGui/QMainWindow>
+ #include <QtGui/QPrinter>
+ #include <QtGui/QPainter>
+ #include <QtGui/QTextEdit>
+ #include <QtGui/QMdiArea>
+ #include <QtCore/QTextStream>
+
+ class MainWindow : public QMainWindow
+ {
+     Q_OBJECT
+ public:
+     MainWindow();
+
+ public slots:
+     void handleMessage(const QString& message);
+
+ signals:
+     void needToShow();
+
+ private:
+     QMdiArea *workspace;
+ };
+

The user interface in this application is a QMainWindow subclass with a QMdiArea as the central widget. It implements a slot handleMessage() that will be connected to the messageReceived() signal of the QtSingleApplication class.

+
 MainWindow::MainWindow()
+ {
+     workspace = new QMdiArea(this);
+
+     setCentralWidget(workspace);
+ }
+

The MainWindow constructor creates a minimal user interface.

+
 void MainWindow::handleMessage(const QString& message)
+ {
+     enum Action {
+         Nothing,
+         Open,
+         Print
+     } action;
+
+     action = Nothing;
+     QString filename = message;
+     if (message.toLower().startsWith("/print ")) {
+         filename = filename.mid(7);
+         action = Print;
+     } else if (!message.isEmpty()) {
+         action = Open;
+     }
+     if (action == Nothing) {
+         emit needToShow();
+         return;
+     }
+
+     QFile file(filename);
+     QString contents;
+     if (file.open(QIODevice::ReadOnly))
+         contents = file.readAll();
+     else
+         contents = "[[Error: Could not load file " + filename + "]]";
+
+     QTextEdit *view = new QTextEdit;
+     view->setPlainText(contents);
+
+     switch(action) {
+

The handleMessage() slot interprets the message passed in as a filename that can be prepended with /print to indicate that the file should just be printed rather than loaded.

+
     case Print:
+         {
+             QPrinter printer;
+             view->print(&printer);
+             delete view;
+         }
+         break;
+
+     case Open:
+         {
+             workspace->addSubWindow(view);
+             view->setWindowTitle(message);
+             view->show();
+             emit needToShow();
+         }
+         break;
+     default:
+         break;
+     };
+ }
+

Loading the file will also activate the window.

+
 #include "main.moc"
+
+ int main(int argc, char **argv)
+ {
+     QtSingleApplication instance("File loader QtSingleApplication example", argc, argv);
+     QString message;
+     for (int a = 1; a < argc; ++a) {
+         message += argv[a];
+         if (a < argc-1)
+             message += " ";
+     }
+
+     if (instance.sendMessage(message))
+         return 0;
+

The main entry point function creates a QtSingleApplication object, and creates a message to send to a running instance of the application. If the message was sent successfully the process exits immediately.

+
     MainWindow mw;
+     mw.handleMessage(message);
+     mw.show();
+
+     QObject::connect(&instance, SIGNAL(messageReceived(const QString&)),
+                      &mw, SLOT(handleMessage(const QString&)));
+
+     instance.setActivationWindow(&mw, false);
+     QObject::connect(&mw, SIGNAL(needToShow()), &instance, SLOT(activateWindow()));
+
+     return instance.exec();
+ }
+

If the message could not be sent the application starts up. Note that false is passed to the call to setActivationWindow() to prevent automatic activation for every message received, e.g. when the application should just print a file. Instead, the message handling function determines whether activation is requested, and signals that by emitting the needToShow() signal. This is then simply connected directly to QtSingleApplication's activateWindow() slot.

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-trivial.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-trivial.html new file mode 100644 index 0000000..8499343 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-example-trivial.html @@ -0,0 +1,110 @@ + + + + + + A Trivial Example + + + + + + + +
  Home

A Trivial Example
+

+

The application in this example has a log-view that displays messages sent by further instances of the same application.

+

The example demonstrates the use of the QtSingleApplication class to detect and communicate with a running instance of the application using the sendMessage() API. The messageReceived() signal is used to display received messages in a QTextEdit log.

+
 /****************************************************************************
+ **
+ ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ ** All rights reserved.
+ ** Contact: Nokia Corporation (qt-info@nokia.com)
+ **
+ ** This file is part of a Qt Solutions component.
+ **
+ ** Commercial Usage
+ ** Licensees holding valid Qt Commercial licenses may use this file in
+ ** accordance with the Qt Solutions Commercial License Agreement provided
+ ** with the Software or, alternatively, in accordance with the terms
+ ** contained in a written agreement between you and Nokia.
+ **
+ ** GNU Lesser General Public License Usage
+ ** Alternatively, this file may be used under the terms of the GNU Lesser
+ ** General Public License version 2.1 as published by the Free Software
+ ** Foundation and appearing in the file LICENSE.LGPL included in the
+ ** packaging of this file.  Please review the following information to
+ ** ensure the GNU Lesser General Public License version 2.1 requirements
+ ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+ **
+ ** In addition, as a special exception, Nokia gives you certain
+ ** additional rights. These rights are described in the Nokia Qt LGPL
+ ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
+ ** package.
+ **
+ ** GNU General Public License Usage
+ ** Alternatively, this file may be used under the terms of the GNU
+ ** General Public License version 3.0 as published by the Free Software
+ ** Foundation and appearing in the file LICENSE.GPL included in the
+ ** packaging of this file.  Please review the following information to
+ ** ensure the GNU General Public License version 3.0 requirements will be
+ ** met: http://www.gnu.org/copyleft/gpl.html.
+ **
+ ** Please note Third Party Software included with Qt Solutions may impose
+ ** additional restrictions and it is the user's responsibility to ensure
+ ** that they have met the licensing requirements of the GPL, LGPL, or Qt
+ ** Solutions Commercial license and the relevant license of the Third
+ ** Party Software they are using.
+ **
+ ** If you are unsure which license is appropriate for your use, please
+ ** contact Nokia at qt-info@nokia.com.
+ **
+ ****************************************************************************/
+
+ #include <qtsingleapplication.h>
+ #include <QtGui/QTextEdit>
+
+ class TextEdit : public QTextEdit
+ {
+     Q_OBJECT
+ public:
+     TextEdit(QWidget *parent = 0)
+         : QTextEdit(parent)
+     {}
+ public slots:
+     void append(const QString &str)
+     {
+         QTextEdit::append(str);
+     }
+ };
+
+ #include "main.moc"
+
+ int main(int argc, char **argv)
+ {
+     QtSingleApplication instance(argc, argv);
+

The example has only the main entry point function. A QtSingleApplication object is created immediately.

+
     if (instance.sendMessage("Wake up!"))
+         return 0;
+

If another instance of this application is already running, sendMessage() will succeed, and this instance just exits immediately.

+
     TextEdit logview;
+     logview.setReadOnly(true);
+     logview.show();
+

Otherwise the instance continues as normal and creates the user interface.

+
     instance.setActivationWindow(&logview);
+
+     QObject::connect(&instance, SIGNAL(messageReceived(const QString&)),
+                      &logview, SLOT(append(const QString&)));
+
+     return instance.exec();
+

The logview object is also set as the application's activation window. Every time a message is received, the window will be raised and activated automatically.

+

The messageReceived() signal is also connected to the QTextEdit's append() slot. Every message received from further instances of this application will be displayed in the log.

+

Finally the event loop is entered.

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-members.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-members.html new file mode 100644 index 0000000..17107ec --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-members.html @@ -0,0 +1,231 @@ + + + + + + List of All Members for QtSingleApplication + + + + + + + +
  Home

List of All Members for QtSingleApplication

+

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

+

+ +
+

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-obsolete.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-obsolete.html new file mode 100644 index 0000000..bfaa961 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication-obsolete.html @@ -0,0 +1,31 @@ + + + + + + Obsolete Members for QtSingleApplication + + + + + + + +
  Home

Obsolete Members for QtSingleApplication

+

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

+

+

Public Functions

+
    +
  • void initialize ( bool dummy = true )   (obsolete)
  • +
+
+

Member Function Documentation

+

void QtSingleApplication::initialize ( bool dummy = true )

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.dcf b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.dcf new file mode 100644 index 0000000..4335ec6 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.dcf @@ -0,0 +1,53 @@ + + +
+
+ QtLockedFile + LockMode + QtLockedFile::WriteLock + QtLockedFile::NoLock + QtLockedFile::ReadLock + isLocked + lock + lockMode + open + unlock +
+
+
+ QtSingleApplication + activateWindow + activationWindow + id + isRunning + messageReceived + sendMessage + setActivationWindow +
+
+
+
+ QtSingleCoreApplication + id + isRunning + messageReceived + sendMessage +
+
+
+
+
+ A non-GUI example +
+
+ A Trivial Example +
+
+ Loading Documents +
+
+ Single Application +
+
+
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.html new file mode 100644 index 0000000..1c9bc87 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.html @@ -0,0 +1,160 @@ + + + + + + QtSingleApplication Class Reference + + + + + + + +
  Home

QtSingleApplication Class Reference

+

The QtSingleApplication class provides an API to detect and communicate with running instances of an application. More...

+
 #include <QtSingleApplication>

Inherits QApplication.

+ + +

Public Functions

+ + + +

Public Slots

+ + + +

Signals

+ + +

Additional Inherited Members

+ + +
+

Detailed Description

+

The QtSingleApplication class provides an API to detect and communicate with running instances of an application.

+

This class allows you to create applications where only one instance should be running at a time. I.e., if the user tries to launch another instance, the already running instance will be activated instead. Another usecase is a client-server system, where the first started instance will assume the role of server, and the later instances will act as clients of that server.

+

By default, the full path of the executable file is used to determine whether two processes are instances of the same application. You can also provide an explicit identifier string that will be compared instead.

+

The application should create the QtSingleApplication object early in the startup phase, and call isRunning() or sendMessage() to find out if another instance of this application is already running. Startup parameters (e.g. the name of the file the user wanted this new instance to open) can be passed to the running instance in the sendMessage() function.

+

If isRunning() or sendMessage() returns false, it means that no other instance is running, and this instance has assumed the role as the running instance. The application should continue with the initialization of the application user interface before entering the event loop with exec(), as normal. The messageReceived() signal will be emitted when the application receives messages from another instance of the same application.

+

If isRunning() or sendMessage() returns true, another instance is already running, and the application should terminate or enter client mode.

+

If a message is received it might be helpful to the user to raise the application so that it becomes visible. To facilitate this, QtSingleApplication provides the setActivationWindow() function and the activateWindow() slot.

+

Here's an example that shows how to convert an existing application to use QtSingleApplication. It is very simple and does not make use of all QtSingleApplication's functionality (see the examples for that).

+
 // Original
+ int main(int argc, char **argv)
+ {
+     QApplication app(argc, argv);
+
+     MyMainWidget mmw;
+
+     mmw.show();
+     return app.exec();
+ }
+
+ // Single instance
+ int main(int argc, char **argv)
+ {
+     QtSingleApplication app(argc, argv);
+
+     if (app.isRunning())
+         return 0;
+
+     MyMainWidget mmw;
+
+     app.setActivationWindow(&mmw);
+
+     mmw.show();
+     return app.exec();
+ }
+

Once this QtSingleApplication instance is destroyed(for example, when the user quits), when the user next attempts to run the application this instance will not, of course, be encountered. The next instance to call isRunning() or sendMessage() will assume the role as the new running instance.

+

For console (non-GUI) applications, QtSingleCoreApplication may be used instead of this class, to avoid the dependency on the QtGui library.

+

See also QtSingleCoreApplication.

+
+

Member Function Documentation

+

QtSingleApplication::QtSingleApplication ( int & argc, char ** argv, bool GUIenabled = true )

+

Creates a QtSingleApplication object. The application identifier will be QCoreApplication::applicationFilePath(). argc, argv, and GUIenabled are passed on to the QAppliation constructor.

+

If you are creating a console application (i.e. setting GUIenabled to false), you may consider using QtSingleCoreApplication instead.

+

QtSingleApplication::QtSingleApplication ( const QString & appId, int & argc, char ** argv )

+

Creates a QtSingleApplication object with the application identifier appId. argc and argv are passed on to the QAppliation constructor.

+

QtSingleApplication::QtSingleApplication ( int & argc, char ** argv, Type type )

+

Creates a QtSingleApplication object. The application identifier will be QCoreApplication::applicationFilePath(). argc, argv, and type are passed on to the QAppliation constructor.

+

QtSingleApplication::QtSingleApplication ( Display * dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 )

+

Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be QCoreApplication::applicationFilePath(). dpy, visual, and cmap are passed on to the QApplication constructor.

+

QtSingleApplication::QtSingleApplication ( Display * dpy, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 )

+

Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be QCoreApplication::applicationFilePath(). dpy, argc, argv, visual, and cmap are passed on to the QApplication constructor.

+

QtSingleApplication::QtSingleApplication ( Display * dpy, const QString & appId, int argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 )

+

Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be appId. dpy, argc, argv, visual, and cmap are passed on to the QApplication constructor.

+

void QtSingleApplication::activateWindow ()   [slot]

+

De-minimizes, raises, and activates this application's activation window. This function does nothing if no activation window has been set.

+

This is a convenience function to show the user that this application instance has been activated when he has tried to start another instance.

+

This function should typically be called in response to the messageReceived() signal. By default, that will happen automatically, if an activation window has been set.

+

See also setActivationWindow(), messageReceived(), and initialize().

+

QWidget * QtSingleApplication::activationWindow () const

+

Returns the applications activation window if one has been set by calling setActivationWindow(), otherwise returns 0.

+

See also setActivationWindow().

+

QString QtSingleApplication::id () const

+

Returns the application identifier. Two processes with the same identifier will be regarded as instances of the same application.

+

bool QtSingleApplication::isRunning ()

+

Returns true if another instance of this application is running; otherwise false.

+

This function does not find instances of this application that are being run by a different user (on Windows: that are running in another session).

+

See also sendMessage().

+

void QtSingleApplication::messageReceived ( const QString & message )   [signal]

+

This signal is emitted when the current instance receives a message from another instance of this application.

+

See also sendMessage(), setActivationWindow(), and activateWindow().

+

bool QtSingleApplication::sendMessage ( const QString & message, int timeout = 5000 )   [slot]

+

Tries to send the text message to the currently running instance. The QtSingleApplication object in the running instance will emit the messageReceived() signal when it receives the message.

+

This function returns true if the message has been sent to, and processed by, the current instance. If there is no instance currently running, or if the running instance fails to process the message within timeout milliseconds, this function return false.

+

See also isRunning() and messageReceived().

+

void QtSingleApplication::setActivationWindow ( QWidget * aw, bool activateOnMessage = true )

+

Sets the activation window of this application to aw. The activation window is the widget that will be activated by activateWindow(). This is typically the application's main window.

+

If activateOnMessage is true (the default), the window will be activated automatically every time a message is received, just prior to the messageReceived() signal being emitted.

+

See also activationWindow(), activateWindow(), and messageReceived().

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.index b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.index new file mode 100644 index 0000000..9c73659 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.index @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qch b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qch new file mode 100644 index 0000000000000000000000000000000000000000..8dd3d5da2ad53e90560421d6627710d01a032a98 GIT binary patch literal 52224 zcmeFa1zc6l-Zs30O?OIncXtX%cb6b7A+1Ow5)x7hNVlYvASKe>(j9^*jWo!+w;bQw z=iGYEeV*rhzu)zXyQ=6}u1S~J)D*G5xa$=1!1!s?!jgP9uzHvkR*1Og-| zC;$KeBlPdb4I6p@`~d*{u>TKtA<$Sj@FwgWZtywy2)uWF@DCIHj{MEQZwCI|3}9nG zb3{Xh28f8z009mS8Un!?0O;@U?KcCz8Tb!lzyt^f2#_=f+ygiO*Z_{uPdk7uzzn+Y z3~&RuLXYhM?$AA3=$<3=_&aV3J+g+zSwhcsg8tY;&oGDXe?Rj!fD3vq9{|?>!Qj^b z@G*E1`tf`F&A@L4{?i#?1cL$k*Zu#W^>aKB7{K}G+XMm-48VisaQ*zR1Ay!P(~bUJ zzTXV|X5bG7q+ufiG<9enrT}REX&fN*4gKTpKmm~a={Vr}`TrRJJ_YZCKmU>Y@4ep) z{AS>P6$2137zhM{At2ZX2m*wC0Abo37`z8Fl>J(p`(I`AZ)1Kl@SB0ZV}Okq3b5ip z0~Tc1^B)e72LR*&ok4fNynlD5g91ww0Mg|y&i5aSU)%TJ57Jo-j8Mc zb1d9nGw#m`|BWWe!68rz3IYQue{RyxP5A?b{52E)NB}GPcY}V`2w9*_>qpl9+=zab z3f3I2`#%E!zyLG{(STvg13%pY1t18Nyu84mA9|oXRAaP&HrfZ!rv1HF{tScvwYfh# z{ohkhFiK!XTS5y76FseJNG?e|isq#Y;l3V-B!^PQ-q^ z#5u0Pb& zuVYYtZQidF{i>FJ{fPNj8n869@xhFu`1ZI{g@)hzKXd@_d;876ZwCG!WB~U3*9E5k zP5%S0g6F{F;6ZQ~xEWjrt^^l@bHQog1aLGs3>*md0=t17z*gYfU_G!pSOI(!ECS{Q zvw`Ws6ktLyHW&pA2f73ufp$P2K}(=%&?u-6)DC(JssWXO3P4$)WKcXP5)=&b13dsa zgYJUNK}H~LkP7G)NCG4X;sP;)Xh5VOd=Lf*5d;LD0S|zizz@KA-~@08*bQs})&r}6 zCBQsrasOZ0Ai7YM222XkfqsBUA=)s_h7_U&14$s7FpvbI0Ru@O>M)QPq6PzrA*wKt z7@`6Li6F`_kO-m#1BoDtFpv0|_9~FpvOp z69y7Mq+lREL=pz#LnL4zK13V_;z7h-24X{aU?4Vx8wO%QxL_a_gcAm0K{#L_CWIXZVnWzpASQ$r24X;1 zU?2vB83tlNm|!3}gb@a!Ll|HnI)okuqCx0jAR2@g2BJY|U?3`l8U~_5s9+!}gc1g# zKqz1!3WOX6qCm)CATop$1|ma9U?4Jt7zQFih+rTRgb)TIL2kf6L0 z3`Bt7!axKF4h%$qV8cLo2o?;4hhV}$cnAgzgh0??AOwO210fJp7zhVJfq`%kWEcns zL4tu`2qFvwLl9sf7y=Iip$TCi2m%KKLErR0Fz}oH2Lk?0|AX~^Ag~4i{r$cD|A&Df zS*UUg3_}I}t;o30+0FN1JR5Wt;s%vQ?4fZ+fdAY7sE81vUbP4I{7J zO|Jbx)&Ay+0xQ8kayemzrhfoU?eNVV#S*{@%?GA)ctHQmpr!q>+*Hu{6l|vUV>|^^ zMfoxP_0{$Mbaj}sj0^NyKX-ijb17iw!(3-zt~8cEDFw{w#t~ZDTL5k7?2qE_thg?P z%AZQ{SFdgl&E4$VJk{mzuC4U9m}_4DTo10$`i0g1uj-x#x-9rdo%~_}5Z3>}(1pL> z>wi!pes8}S_}|OGFQ5N#&>Jm43#bdy0h9ha%nt-0AyDe;0|V7z4~uKH{_jx){4)Q21?lh2_@!j#jf_BPX7*nsv+J^0{zT!|gg#T;e$bWv`kCmzrsA(> z@+;j5CYk+6;9nEkzA1*%DAzLD4{GuE@_g5!{;2g|$6)+(^ZuOOugv*JGTQfC{;N0^ zV2X#@O|J*zd*tRYU##{Qq~{@qXv=n}Pp$ z27c-P0|BqY3eWug-Ms6=|9E?T7w|U&zZv+;4A3J%Po+VC2ITP2fEc#uM+AaB|B0dg zBG>c(e^vj7CjPzsX5jyA2CnsgjXdQ#W1ABtyQlqOCftuE{z4K5_=4eq4!{7yKau(Kdi*1I z@ZXd8-y_cq+Bwys)d{OhSf??EzVmAdHN^_rtpDp01qgOQSo8RP%J=F1KdT=E==vWT z5DftRh3fx69{|t?r3A~6aTC&{W%8fpX*A0PIRp) z!4|z>oy6srj*Z__{#VDz?+xu|x)Mw`)PlBESnIX?w*Q0svnl$u>+BEOuq?Cze=o(4 z=Kc)D`A4SyEWy9(wf%=n9n1*WilrOWm-`R&M^8~{DE{}};7|{5CX8>j8le40ttvxv zf*pO=8UHZz*D<)iHucwu{_qq2uf^AaUL5vK0kHajxx4@9{|AJ=|8xBc(Ep$<|4#aw zf!_@L=QDr?eQlT&I<&C(Hfs3x{0D*40N^EP@O%5sz;6crgBXwmfkpLi{>_`|yVuqA z7{U_z1wI_mA3^98niIMY3;CcU7Eb7o5P%23{Vn8x_H{5Xp)+)XU<1&BKK)(3O^#s> zO`OmUQt= z8WxFQy@4kSQi>N$Qkr;FlaZbU5bsJvb7m`3^Kl=_qdaAwM2g(o^S_AtIM?|Ud!hTP zy7}Jw`kt0oheM5%lLL|yh-bm`9L`@FT0H$(gIAQ3{j-rd{Ov?Q5_5w#CJmH0WLau- zK#Xo`^)^|iropXr42%0rmes8sZ#?1~%f7zP+|d(#$96J@viF+0a~e_oK`pN=8G2}T zM{7Yc+P(<2>@)isJ;R5><%>Ka`Rfpb)f*UA>}?b1ow~d3Nh@>SbLKS~0!a18+9=LZ z^>ddU?4buA`AqNM(a*AYdoR(aj)=0<5M_SgOLup`kW=&l>r+1Jx`w(kob5+3Tf)u;@>5hOa@FBE#)6Wq*+=X0wfDc`HZF^mz{py8o>DvOVjX17-@Q zJ6(VCYDn8r>t3LZ+<=V-W^bX~maSSga?48Y(DoHT#uV9wLuOW^ol|@c2gRmU!WL&N zv2b&voU;pyRA-VY%L^{+QOhSrdvMu#_$F;#ML;*=a)x>Z-T9)#>F81hD0aB%895Mn(B#zxB^AsfX+lKA`gdAO!P3{^JM&t~0p+yx(ewowCK z6#-M^sF>hLOg7QOCHt|s@RXiUI}Qg{WtGZ=^w?qEmBO=w+m1_)w+m&%y=cpMk4ceE z)vNY-o(m|$)=sZ9rs3T2LbExX>ya8r)3!foE~hPT*qj9vZ;Q0?n2%-Wq+F>iA2V*F zh3nyAJN@l z$R4_SAp=7=RU5WLj_Bue`;*-Od|v$5^9|}0Pb?$u>T#+j0iH31qkrtf?GH0!S_g?p z=spMdRc}gun4xXlh{+PNoSx2&rm-TTyQL;5RP;pRJxi%tO-%cTuKHZ z!y5Tc4euFAN$Sk@J!98$J`W|YhMNp&YuHwMvit)B3F(e{PVIgsccV$b}rCQrP!utl6d=?s#l<+7v_=m77VGzp$g?RAyom+Pr`;Qtx_D57X^ zbjxPuD_vk!NtM{hL#g~zUCGNnrGg-B#I&|;5~vVr#ji5Q_%Xbct_krBt$b=a#V%-C zO+iB2KIH56Oyz7Y;{?v^yPC+Sw`Ta}_LG}04XdBAyvkD>MV!lV46_q->&l4J@_f<1 zM1j_di_XpRT+UMS3zMj;1ToNr?y|qA&vubV+qz`&MYQj<{^D}5^*CrtH&LeP83~tx zokwq5anJLD5>3V>&w)GW@+3Kt;~Hn}AcTzcIQ>J>_|J?Tu*dLON;0d}STu`t z3^ns<*7(v1I=0}#YW3zzpJ}z=+2qSxaRPZ0Qv-*~J-HPPeD2?9oQf0(5D^P-CFkwm z*3**W60uPP>)nP}8G7(+qOt_1kr55f^mgkcf4rqeym>i;#8wgdHbl5yyE=cDqth4- zbc7HV*^JSCuLQ)>KIKv{r1h?alkC+;(49pMt$W;!qL1e3_8b#p&zCH34pqu54L^E# z=kOl?(fV{Et%;tvK6>a}S;z#p5FN|ggK?kxtxY%F+A~RLtghgi!}ja&j2-6rdL>KC zl3KQ@tiow@hgVjJAyFztWXSSdLN{4BC)A$z2nJ8x4UX)sfD;CNR^&3VR;yMjHdI&c zgxgOC4wLk5%H}v8zISZLnI|I<$R2&Q(LqCuVF;+^yYK92N{so$_A7$0kgrKQbq%I4 zhEG;x6|r^mO$<;In}Z=WW2Ga$>B{KJXf>L_MrVrGh)W9J``L-}2l}MU{3l7o+iO1Q za{=n)BA4K3cU3ydtqA21qhnLyk4u5{Uyemh&zb_SGFo%r5i9dVNlpm4S-#qO#%`=t z_{!eBo|!qJYT8aiEvjf*jcM6rXW%_j>5fTbU}2FSLxYP(bca9Y5_lPd;778-lW{nC?*;r@huQYM<(64oQ-Ax~n#o1eMW^jAA)|SkT&7{P- zoon%sMo+YkZ#BHH=hInu<5Bql8gkzKB%i+_ydeo(g=@BurSm*h7a8K*&4aFm_9KekSWCj~ZrHSB2|4)Y+``RAIAZhcjSrkHXDyoq)C($+kzf&f%42ylFZr>_ zG?>@zzabpbJxHi;JFlW20d>vQMc+r>s;1f7l~Lt+GQ}QUSxUQ=>glb!pF@>th@Fqp zFvn>73H>99KXX(7@2r$xN1-0JP*wI8F2VhEUT0hC#~9-xR#c+{j%iyvJNGR4Z?8S% z=h~UDNFl1>O?bp4e`%*Bq znZG)4Lr2eBmgK2ub6ND{5n`3G7u;?6UX?fX7^2!;&n${1i6u6)Z@A>3t_icRc_p)Z z37evsm*X1S>bWE>l`f^_Jir@~`_mLkv z&*-p+%?FY&>IAop(h+sLn4D(m^@$_1$@aptO2SV@aL))rz9xAB-luTl$)yqx@y^1h3YX$CZ-0*~N1gZ~ zs{1ri)YIFm%S7r(n4aiHKWzFCaMcb9|zche$msqbwuOKX}3$Ya&0y)iK(9 z4oR9LdI9#2CO2j6Q>QRTuLG!{j-JU<82Q6Leh^a}1tL)es(dy?7k|_PhLg*YM(2Y= zt#6klsaV4lSaglbs`SiWqR|CWa6B$hAdUZ6*dGsWH&c8CY#~@3cTVG)W z^74I;=sUEaxn7n>qEr?kUz2rwIpA%~(0f%ty@GAWOc5nRSb=!(dll%LoV8tqIoMya zhnFxWPkLTNVFAw)j6&cMAG6L4!KvG=$xkW^3SvV0KVgV)rk8Ae#!K7``xx_g4R^Iv z#*d%NZ?~h6qzw9b$;jt%BdOSot~8z$0LWJ0T7O;6tV$7x@efc(_usqB4lNcjs(wno;S|2v`oY% zPa}O7VV?6?s%GW%WCGbK^nzBZgQtSzu#ySV|HfToTUoDsqH)J(vsHoyOW>x!%_2#t~N}D zOHZ<;ynW(tV7-YMdTe_8Cet3jWh-5z=1Mx}G&@H@pg3ItHd2tU1F>_ia-kL$m4 zjff40Hly->4so3FyZH6E?x2Ra3uFocW%|iBKZ~AZ&JW!HzeQQi^6nsFC9kJlP5p#a z8piK30r1r&wqN#R91c8A@nv1kF`d2R7DCd^aX$eJUJ#E*I3;pEWOlt0e@a$DKZBgd zQMFZY54cN2M?rmq!tC++jm@nodc2ib=EC?iVh&fCW zs&uEVV<`F^q>c}N`i4bEX`XP?)0{H*sl^en(hw1&)VB27$5Z7J;adn{aOgX``}Sp0{o{mV!bRrg!mw&X!IZFjBmo;@~6i<--3(5c;HWzm~&&8pVN z78Y}~wc4^VA}~}ox^eMhqy_TIaCOq@?s%dVpRQW-97YnvpzE$ekPODAolYJd6M>Z; z-k|?_JE~s0-DsISxD?Sj5*URUB4gNEE>Wcy$KkVmulewq$9=?=y<%2Ld;W;J=65;> zE@xY0ahbs(s4RG*G5mm>p3S*+3=Ba@C?ElI(Rc8l?-`vSKiHkXHOj(zQ<QAFAcY;>J-9Nm`K(p*w zZifdy?@ji~9b@I^zE%6--lqtZbHqWM#8l-<&Dlxi0!?kqn4MG>&8TNLHSt=>^Vnor z67lRP^3zFQaTe@ct_y!cxq*M$R~5R~hK|iwmE3D=+4MHgW3Vy)`Tk0jl+*b1sr%c` z_BDosi~XALD&x&pE$M=9N4qg*6YqL&gX|sV^{xnrOKK8}_LoB|-#z zhO3B;rZ#61E1HzyXSrjYQqC8|vmbi->5s|DG?Sl&>@2zIPE4<6XzMQq))(eum%o!4 zSDC`Kq^X>l#h#+6&*Fkhm(mVd5lGHecQm3f%(IytFqj`|fG_VMejZ;VP_lf)Y@)Mk zrjTOSaJQV%R;8oZse!A`+3QBWHELLUBc+4@EoFN0{qomn=wO?>oY_&mVjsj5nvogc z#O=#!i0%2eKH2LiwQe||?=$y%u~&{q9n{cZ(g8|xFlEC|Gu_8TLa;1G7;+>Ooo_rU zRjFN4lQq7&EGke8njUAJ$1A8yC!9phBC<~2svr46*<88zELSCL!_s#MhmlX9<(_FV zsKZhZ{f_!Un{_Amt^4B_bA&ZV;9SJhkghMqXw8$4+ZSm{JBjF-biLhkZ}CzBwrtF> zUfjyT6!};-cBgZ77L}$yO)O_0a*o!F;Y>ZNJcBt-@>C#uU^bq2nS&%SUY7&skvF9y zK<(zNv7?zgZI1mCCg0}T{mNO#o`zlzL+_q7ilGsR{pq~t2KuYbHCnhl1E_ ztNGo$3E7fa#&qsIpwndQ4>&m*y?=9G5guLSnNb&lfkPc!ugsxwU-1m_=^T|4fu%=e zy`lcSCksqjW{7rPA71gjFZME66DsYibH|60+?Uq6LSfF6#4wilk-Ad>6qRl4^5y-mV+A zmd`snF8C``V9&>3L4H0Au~;vR&t`35jX^_8sgF} zC&~2I9Vr(s3D&F68T)eu4rITU-%1R%=xg8XTQNZQ`+E9e!)f&rTP*3~!}6z#wcF|Q zG4EHWa6ngLmzVc;*ayS-Q3DrL2OcdhuLWKl)FflTnnTv!9Rdxk4@x={C zE_{>ZV~>$n9APQeT6X(Mv`PU^lQd4QP97cYy0J{pQ#`Q-mSf0mx3JnPxK)#7I^22^ z_d@k?H~Y9Z2jD!U0ABEpqup8^C=a;Zkdu{jpCkz#NZ?@gRs?pa5RTn99(wszY`t7w z(yp`9PloZvV|LC=!t?+x?&t5`){OB}hg&swPomI^q+?+s*a+rx=Si}(Dh=e^4o#Y% zS1);Z8h1;h!@5B5z@&K{eTV`ssm<}2D4swJN7J~$`IQGrNJ;!agVfzev)p4+5s4hT zqA5cPSw?M}12sJu^kKNc(p+(6A4XSJ2#}N;cKMSY2{|ER4iU)!V*Lqltp((79j58n z&7+UyQB$Y|@iS64hCPP|9&%#YjYt%;93}5PzUV0+?-mKQ#BJEU4Zl$QSny;*4vsR= zTS>vj8)YCDA5IzTy?m^Ov`xkIJzMd}q)d@flM_j%wez>;Am$$w(;(BnF3R~ z;y76hdGT#5%ooW@pSo{%|P zVd#d5q;De^2$Y!lH1KujoD5(>MXSjr>To|9BT8=hLFW$X1AyS=xdTaz9UUG)ci4T7 z`C~*y5Z3t!%g^P!$tnWjg(<8Kin6AgqMTX+K`4_y}9^HyF+F)6_yb>mBx?lS8V_o?wOJ>e8B3?!cpC@YRVRg#tnkCXWD&U)H_ z^qZh7o>ZBLz97^jkv$1^V0c!1unzCGK`u|%t9uV#5@fVqUN&VZRkevzW@0sg#$@f$ z4@~NrSx2&3hcnkzJ-uZl1Tqd1O*kP^(8<3-#OP{I5ysL((en{%l#W;UXKh~SP0T?m z-qG?l)`MaD7xdjqx$IlF4@k&~8B-q=s1em#SI}^ph6UUCDWpn!Vpq(R2Ly_zhD*mu zNQ3gc8=9`%RMyk34B9f#z2R_&Ql22mfxc!4Ty88=q>tM4f6iNK2S&u5C7{SoPbXu^ zGqv+#BvJ8DzM4m$Yy+9Xx71Deo^=otDK-zlk;IA%1B&b)V>o)xCCcG~DWs5_Np z^vgK;<{2K?PfYjSF6{Sf6=LwNLVCL7x+XPZWp?S8b9<)kxvch3FCvLI&~&Fc$Yk0? z39);_@uD*0AD`arqgU!+t?7{U3%THb%fzpI?_ zO)&LUqo?%SesUmJRH1jsg;2Zc*rkcCv7NJmAf1<#&b|df z%t5@;Nw{vLNCB*jSc~Svy2_Y}+Cv zJJZM0trAx-O!h_{-uUh2VN|}o!pLAAE)tsV4WOZnWDJrKDAiWui>_F5af}aA>LdVI zFvhH}t17e?6nsEu=wn1^qjQIjd+E(HZ8iGHdn_rE58n#PoC3*oHr`;C1y|)W3HvX2 z6HlsSmg7<;JR6on(;DxiIfLlxJ}W27>u7mSiSX963o9!Tk;8zs+0&}A%c&Kj)grYO z6p3TN8{;GG6N0);6hoGS5;$rAR0vIyFev`QkZC}WSVzmjT)mlH+0hNh{-xp&Om25O z8~4B@{#oaVQV|xay)Z;K(ZKA33%hk+cn6#&K8giW^*B)yut1%_m}J=jUQa?rWr#UT zicDeiO^Cr8Or^3w33SP})8^iGiIe~?7B?)8M1{xrIgSCv_N9!cP2I?2mGZb&Qo%3M zxGdnCty@sGIiFl6f8a-xzb${f+q|*f) zGXD|zV#MwdXAWUy>_#4)kkJ%nA4)fhDK|BD$je>HekY|M?8!HqWIG7tcCPID5iegH z9|?#xw>CVtTTj1BXyh)h=dRb9>tr~`dsnq?pb(EuA@54m7)j>vk}s`a(>k0_y@VnZ z!p!{o(NdQ1L-^2_+&E@}eKeZJ9OS06+nJT8?9oU1s6GLa(?kuMFIH!F>)H@HMW1HB z9xmmWFf*w+tflWWuJ#^%tDc*PLE6|q{bpqrqP6J}hyAAQVYa$B1>7ngd7J7(3uNOPU0RC7!8{~R7a}NcR5>A&0sfZZ zuGv1$dp?;bp>pIM-EG}UT=m{~@=GS-Ngp~5P0~;|(qGrs=o!#f9+xr)?VXw0Y3+oJ z04Rh}J#Hn&8)ko63sYp6-$^~4YZoG~I>!hPmK!1P1It<#2tvC**<0_82^pRZhV`68 z2CDH3s{Y`c9@c2_0}%FJqrBOcjHS_&WQ^=gCK)rWT+NtJueVIDX4o&wo{PL{TB%pc zwHKiAfg7YNbF|OxZ(og{J7cu}G!ca(E}`k7?`@&Tx<;@5!qwb@D8EBmDg1(l%OgDX zxzuFnlmnv*74x>kG9Aq%!=7-YHPg&;@4i0Uq|%1c$2de^IhnKsk%Lmi!Ms)5%Z8XF z;}+|XkShw*;ygdXm0F{B&uSCR7u+9I6x!p9co8XgxV$!%&EMU7!tURhO1gG8bGbrK zx}K_~kYGX9o^kb#t!mc2-TG`BE+AdfLZc4T3lT=EJdvZTIRP}`c$F*-Ld9{Exx&OJ zEz6!2T{74J2b; zLa$_=p19_9gD4E&Ybx`iRCXdY-X9=Z@)N8zMjki25eKPMwAG`)H*{$g0LQn!#wCt$ z?&Y%WNx6q+h-8lFU}egj>@d|Z@=o&Rlkx^R&a5>(>cpj@RG(#M4ZiaUFUvc*WooYB zkE;r~vhas8PUQ69lwNH`5(_%qLX^P(RU+?~$g!?KF7kAW3N!RUY}JaBFN?C?oyi_Q zTxS!)+uB0ImN}~AZciiq@rKo0iyDS1p6U z1HVnBXNJn^?GJ6!MMXutyV>NtP(NzeVo-}jGnBOj3Xb)4DY-Omq2+R1PRa}RyRPNj z$gl{4S8&F>t(P{PeJkh)bH5_7$dAwFkhsJ#Y{V5QYN>v8I@VRNzIs#k10E~CbeIO- zJG$)~;4(Lb=EEqFRg*MD>1r&e35^f&eMW88G{xNF$Ca4WyF7c7)l9f5=&G7IB%M5+ z5_iU;q)2VeR6Xj3q@u6%3dRhqs9dvN9P;0F?Ubz90a zXAO-O9ej$Ml_gn4JBTl@*Fex5V#8En45VOZfNRv5 zETd#-Z(N+VhO24W2-!D%=*%5CxL}lOP61sJ1_u+WAfs13^_J{SscSC1@fzZS|7C=V zMgvjHvy{&_q;`b4sYY7`J>q56B=?DH#Mp9a?6hYeoCn1VtN3J0{?sQH>RP2V1qCns z2U^!CZ^sLMii}a@D2ZDDk&rCqZ1~q!HpjO(!=C?Iv-w$Hc6^-J7L8WAVv&{m_Ny?8 zJV}?>oUu8?=EEA3I0~Lu!cS6Q4oj8^bB;c&={QmsA=>n!IYA8mvd9}DZ`2oMtsjwD?~1^jUGLa`7-Xy$34uzaYk8Y_0n+OTOFkc zfzlx%w`>V;@`)~;AS(3J>ta)*p~s)B7)LFs2{8Tb44xTi&_bAoyp$i{PKixU@_aRIfNLxKR8AjgkZXw(0udlwxl*IGwS+X-`VfPuW@cvR# zh1ERpeC{xI^Q`p)hPd*eBSuR+^;KQkM7=M2B_wf|7a3c~M0L_^K{azwowLr9Lj@d47@^!4(Zg_Em24R0`!EH!QT1K51ywB&uEwX;}Ter+;m4%OR%KFJWg(v5< zd&pizcda~AxWwt8)yhv0J!?LsA}w?4<~0fnac_FOV&*yjep<9?fK|d(M*Fj`t3+fd zlS?|Vb6mwnwMxb#P@?i-uYwG6Ur~#UZJ)|jLYid1Z?+EbLgh8!HP&uub%b8pJ>l1{ zE0qTHUscm=^TCs4A74|U7~-gNtd8~+t7*n(61x=A8TQ6SISo%ZZ} zMe+59yYWN$JcpdU^_$tKw21mzF9{ac0#)K?k8RN}`G&D)g3??8jXOc(z$08-J>iu3 z?2TY}Hn>0)AF2}S)m+#8VJtrO-PXav52%yy4Ms9qHf9#`^jVow==#&JlnH z+3$HheQXmwVuSx+IFV*sW_kt#^+^E5bckfHei|`^PY>k!>T$b#JF(k4tU!7z&6JK% z7J21|b5XGwbuy#^oW35Ks(0B6I-DUP1oEoSw6)N4MDBI-oZc%b*A#fu%-=06dX>H% z)Wqekuvu@RZ)lJ_S+(d|qLW_NI2qnBeKFKg^V%x^b6Uf52yk&eoY(T$s32C!y++E$ zx>c#JP%<^(Q?pWs;(gb+Zr+*tn}zpA>vSzJwg;z)i@PU3)h%JPWT$>Ewyt{X#mr}W zenhWjM0yoAe%YKmbuhq&;n*tnL9@t{PRGcPr#Z8xKYSo{awSgyoJ9)PTI86-ufp;5 z;|GHqHWx8LMSVd$NhBA<^Pj9few+V;3;|$fXz+Xc&A`8pffz}6I6yY^U32PDm^A93 zxgvo5Rjf(M`V+$>mGgt7IUx4E{^o6TZSMNMcjNP8V`IAE~ zrgwqO@yh)YM_!q39`mIB>m@n)D>k_ylveR5_LklKqu7gs)~)=fa5_}{vU`(3OR7!q zH2$T#Kzg#HDu*38I8dV8HgJ^hgCBYdM%K2B9X^?jW-2=vX z6KPiVVQ^)WK1WmSY#j>=uUx9}r{%O$q_a;r?qtbn(}lOo(?k;a9?yj*w5or(Ts6ID zFY2wF@iSJQ8Y$fe2M>PR5i4L+%nS=J4U_fDM541}k#2`CW<3dG)LFE3zYtW*1gPyh^nqfnxX$4PJ!f zl`M)zGO9Z~VG>Q5OR{AjD{ISF*iA3aPan8Yz8qggN#=minYRw1b%q75- zc+z>P_t~F;PBwt=Y2ZdYCl2O;UYWY-0W{7wsY{_`PBLI+E8%!-UXaoFrmwMM}xl0aGWg%s7fO3hoSWJpfpu z7G#QaBH=3A`lT$^Rv$&jT2M6T^^=dH0IifjH$h6ki}xqb1+s1#cH0y`Jt4v7ig~iS zSk-jlD?{Y!?)UbKN(<@-DTHBq|EZnh)Q1o%4Hhb4k*6|A92Lxco*}aJnqZI4rHpp% zG_Ll@wD4WZ2i9k`7d^J(&-D|#1VlEP&~~ONSH|wjOQ`vT6yieTzqARIJbOsk+Y$Zv z;t6?ewMVWL=7Ot4iX#W{TmAPe1wyHW66j_2G8(a?s8mG^ofKL8j0cm`TxIA$N?#J= z8Mb}bF-RX7KNkJPTbCI5sDlhjqNv+i?S*BdW)~{ru0#>k6$sOW6^fP1DX5;(V?1QR zB0?0-3V5g6!V3?cMp`T|U-s`FMd?VAJUT@^jW{KnOfqMGQq&f(kf-u2<(d16n)L&& z&iWld6OA=XuHMbiuNrHDUmg{Ivb(t&cwcPCoW9MIwV<(jX%~mK5-reu-ByAnd_FKAuD%iJavaD3d!Dy@vui=+9Lr2c`}l)>gS8u#YgiB^}3C>wA` zIJ1)PV2yHq&F5ngrKYc+yM(9cCLf1>eD|h~(odp^i{pl*eYw4ExY+I5`eSS~z1Jc3 zIOCO$HF|uXR-UmF_mFjsW`7*<0K8DlGjB(ME@SKwkV7u@+3S>RkIa`)96*y2Z`e}X zB_9@WZaXx`2F8d!wQ6$bYUI-KRhfKbCTK#%Dls_%yWN|`ZaTkAj-V@Ie`~Qco^_7z zL)ARxGMT~Pq3hC)f9j*Lb+wG^qH#`@93J&_ph2_*)GNO%U^NBzZu zWnX&tL=$M)WM0#r5jh1YGBh9*jL*FreHUs8KSDwl-$jNj>3Td967yQuq5C-J^Aq^g zM{AtaoH9@QE4Vt@f(16{7(PF)g?y27Q)mpg=_2UY1E`#@g6Au<;%r*|I9H8cW&U_F$eU}>ZGJ;Ob9~4un5xe_WrRx3A_h zr?K9Kp6>jz4o7aw-g!q?`}`E%3MA85;%?_|s59i+f!Z8M!{rNypnB3KHqW8=5_jrR zrr#uMpjh(Y-Ww-fy#i3q;`4ickGZOjl&9yv9>9s#x;M)oE$7AMjmMW*r#!YxdE9B# zA-%e=t+FECI<#ocxI_EA@6)(6&U5EShP(PbE}vgJ7qD=?o?r->U(1z=Im)Pdl5i>h z(ID~MMVdF*Pw_=s<74BNjOe`n^p;-guBOmQu3!w;nfE6bo87oiBTZd+Y9rf^kkRhX zkK(Uz(F#rNqg@p3@Ke@%(O0MS_Rp%SN2d?Rv}iGF@>xaWYMdrE$3EZ#3X@GL=#2%z z?N2n12n4jI8p}g5DSf`Qb{Z->frCR2=%6hV66Q9Bk9p;7}teDm^=>(WI2fp2?q~zC# z|LR=j<6FNv23b%)z&az4k&?!4JSER0H#mZJe`?I9^%cB}6h_+OlZ+(@WC}EK}(!jH}YL-$l=Xu1}=su>Yi7TF@pe- zmjVnM0Ot>VxPjhUvz=K^JH}3I@7@Hb(Bcz`_SQD0_ZJ~zPzpgnE6b#f{8)73E;``P zgi>x4n{8`V1|{P@xKZ#k_Py_ww+>n)WiZ{P4V8dIBn5V0^`%@PS7g zSy-&QvL3ty(ax|L)-so$#rJloS(crKzLT#Zd5@CJ%*?U%ImlS@?E+6hxlXEvDg8>; z28|Ywn(R%X6Dea1W!uOdMoH4N$De7`;(g;rSKxRT3R#Tw+BhLlG7@TJ~^sY zJQ7$gu2Zp08TU3G%*6Y`HJfE>mRHp_-pOgYm!UIZ_tic9<){9mN$PuU z)#+2Mr1kzBbGIj3S?lajwjPI;-oA;uN#d*7^YM(8ruuj&tne`3wzO;v=ZqWf0t3;} z%-jii{)A8v+p`#Q6+zYoJ~9ks53?D39aOCDA8A|~rmt8edPF|mS^jx}&F^GlqkAij zo~V8T&GOY#B~gSpMmv#i1xc^?JKW6kQiP9Cr@Xs%X&I zx?8Y55d1n@cBuH)U@O7!95&DGxHVsl5h=9$#FH~Zp^T&6oQ9jhkXN2U?V*(S2@&|E z64lL^Ut{uFSmRgftW_e=Z<^h|n{V8AUbbGYnGjx>2H1=apOoSY3VPhoi06x4?%(tL z%h^1>HgbXcB%zFoh1X5$&VEFBRlTYsTGk1|r!$UP^+pbg9&ksuCv>(mr@Byf&4Wap zLmTKN9v)VSok>hU-gdzc`T37XVU!U0cG;afCM9_5C6qrdCU~T!Lvf;*)EXr?v;Vq! zdUe2Iu1SFBuBo&M+Z5-s>`!>UY`B0pcKH6}Ua8fRTME+Kd(@loPQH(`yg(VEaW~2J zRM782Tqc7+0SO&AU4oxa`7^cG@3OkRB5xVcGCUx=cw6JA%j9)q*dw7f#J7pnJ>30} z+o&h!*x{;-vap>R51pA*I#?U_{6~~NDU6kTF=}bX-?&Y5=mwYbVva!#ZDRU9T{x}Q zx#QP@&Z@FpM}db!Wfsv~jSAUc@zeCMIE@S$G-@6rs5gGD?A0BzZ@(k*RepDsYmo2K zx6+Dt0*oKHLtAEE`aw#~LqqtB-{}V}yWGwp$$0(1RBTd(H*~`>W%QBSX(#uazJ7Yk z98zG1?WN?Ci81`CBmoi;T4zDLy{eBE?!PlMlO{`Qox1dkmCo=ghhsG|DN>B z2j{x<3~wH{I~9**R1qAIRFd_95&|?)4-Mj=kwRI&+8%&cinBUXF7x&x zY0~Ru?1bMyZ!wy?*BA2|I<0)4*D(cLQahOp*2O6Vi*`(3SX=o-@gGAxz)KqK+eq)) z-9p&CP9A-h5ixb{;jMbJTXxswG|EMveCu>oexoh*<_^uVb$HZ+MS^VY>IxNpck}w~ zoJWhKq%8#1;XI^V?{Mbj1GT+H1*ry_c5fR#&mfuZBa1pSX0E0?htvFkeXolSMW-+X zo~jD@w8!1R-gwy(!H|`#S~RrovwIoqWSLZE>;cz({kH{US2ww{t(tBw@MN&+7M*yB zQif!lob)HL9n3mBOSRHw9y39`Z?MHu9lUC}+t(lOjJmUC`MkDYe6xBNGD-4Om39+| zGwWrUyp=Qh>2rcMm7WyyXm_q5C(=sZc3HPGoBZJ3B>xk(J*^i|wQedoeC1%?W8$PN zWaAjYIN_x@PlFNo)j{vfJo%y2r7x>tujXcXxVHZYecp@DBzI~H-U^Rpwx?2UDUFhs zIXI}dFtKXQ-KCDc-)+F=%)UIYgHdO>{)VktO|5IuFs<2$zP*R4ZN4pm=8KC)Uu|tM zJGwUkxvSir)gX+RjTJy>Wy{zDTfDUSHtp(GT2A(N9MUSZc}Kyd99V2eatKEmSjZa_i?2#Gm^G?{0hK-H!KD8!u+n!BZx;Pq}tEw%T>ZE?%D(-A{ zuxPd8Y4;34*CTz}y?L7zOA*~C7~!becew7&ObIe0rW@v$SJNS0afluF=K*H{(_}GC z_afC|H|G6-FOT8*VEP{r`pqD)-~X?-1PB5gpcEbY1%v>ofTHgO6Hu-e(m|GMMvPDa z|F{|s;Ami2kq(<|5rcRy>z>`KUUNmH{*9Zwccky)eR{tyn_xs|qI=;{tfxjevVj}*-4;)b|O#kHN{}E~k|aS90Z{<~Ng^O9NY1`H?w{wbYub0-`OZ7v z*?X9tJAJFGtE;=JySkbAk?1%(GSG*a-0Hr^lUis28YlO0wO*3DCU6nZp(E4PTIrx@ z6H5>3dby^@#D^Yvf@&WmET{a;7-i)Gggot_dS$r7TpV$wt@2K*8~sh}OKv!1Myu#K z&Q_tRdUwmak4fCTp1m$N#|m1N%X-3-%AlvTiK7CQ&i4j zVOg@-o^@j|!&)IFm!avaiGfHd9sZz?y9!h z`KxIAQUZ4p+%)dVYGHc}yB4T|;(TQ?ih^q|5|9%K6&F@oQr;8Qig=yH+t$bS$sS z@*haMy(5~u8CFq)q_7%F9=}`Cv4G}v%jF@HJu7IkptBm)#7%&{zG@J}KnaxJImMtX zfl!RojTCj&2w~p|NxC2a3KF_Zx6hE%qv0YsP1Rk3W5n4V{1rVK`z3P@9{RkHW1^?i z+SotNTWeQ}zC8pBA`xanIBC(3;`9@GvSaedOBtATkd3j^snxuCt_QTd=e24pMQr!rA6>7+$auKnoP-?(7MB|s>Zv84Voe7V+ck=Ui%qZkhk2)w zu{oEnOgu1g-e@8U*Ujm}!!shpxG=x~Bu5B7;F{%5Y*;tGK(-N-*KWc?FhW%oG0;Vk z&OjYokp83|C(@VNzH+75e_I}gedZlDH;#YDR!Hsul2bNgU9QliDqGpzc{*w&c2lcMIXwr z@FIAy3`jhVn<6W@Vi(ZadF==UIaZtzxc3Rp;GDc+_oCkfDUvKHm<*an3pnz$$BA? zh^FYiDyZIQ96n!dI=z93&6s(Pdn$)T-Hh;#$xQ@I(lo?C9S}uo?tbtm{D1>Pn3T??+~wmoz0Uz`*F)V9@5-fAM{SAPw^Fe za%@e!Rc`8JH>p$rE!^ibO5y~~i20%<$~D+@u(lHQJXX|9GzT-(<7F-{sZ`5{>0T3c z*Pv`_*tEQ@MOW*q6Q!g`eu)PoTX&deT7n(a^->R9#g! z`IoKdf~xs1IwcDmdfJD-rX#Z9x?JB8e6QPZz@%KQjXcJ&`Y9{_=@MjJQtwZ^IsI;2H}A+EKDGIP=qOU0Ves)Ws)Y$p$ekG-pyHZGY^8L|?3%U0}jMnXQU;N(j zDEkn5($eIYHzoNV8HSu2L0((ey?Vv6VtiU-QxndwvpkgkTqoT@ep0KGaR_q^ohN{> zXzYX&8-)ZL&SgdmhI4ucBOlf4{H!@iYv?-O4NRE`rlN1U%QS|d>%Ug0k~h3h7^RQY zP<3$~si+ujb%}}4Qxd90WLIf%>V;nb3twO}T6$UibYl6KX7nMoulh#$ zUTi)Ov+?^PGKUAU*=Y&-Qn=P`dm+j_JBL(rTPCc|UD{OX_=CBn&mOX8My>6LdJHqi zEeP__WG{JBQh#Vmo;m2#o}O5dYlwxuTHx@ywvTemzvb48Xc@f^c*1XJJ$(*s2-o;d z?NDquDX#gjm0E4yTP~8usT~^pyfXYkZp^>&aK~|`@^KdPe8bcg%i<3h^Fw7?{0Oml zfj)yf&#n7f=_?*~%kTJ%<&_J6MC(xG-MMVEFjujTx0>O^^G?SkL3F=Iv5whSo3n$T zzlv9RUZbTCN#cz&P?^a`7XygI3K5)5X$xzQoqeQlMA$X|%p^<2KUunWWTt-4UUH$| zWsH3^!r*Dnb@f~QG*5)PlJ0plUyny{A9ilQ%`u%BNkzu8)BG_Q%ND!I5= zG3b!XnZ$)2t$9JTj#w^?Ms`*pq9oy_9NkHy)WNY6Cl^*MM`hSxPbgjh?5a}wO*;u3 zQ}WuhH0PGRK9x1i<+$)gU-MnT=EO37HtON?$Vp#Lc!bYqmFjSW%vLU`J&N4T?X zW1*9)3okazxN611dfVdA@o}Y-+r^(a3G_bs;BDXMguABdb&UtzCOD zB(}9eqZE}Jl_!ljxSATXs+yA%MgylzbHgT;g&j0qvkf!7wZuQLawk;m6)9)C%>|`1 zIb6TOqceOuV#qE6#*9^%0b~QAJ8+S>EODXWh>)rVr`o_0qXzpSzy$ zd5UUxdUJ6vB=OjgUbD0}k7?5_>F_9qJe@Y~0_v)kwX_#tbkDu<0v#}j9qmA+(u(4| zK+9V4Q{@+jVf&dD=hLD#{n1lfS-JlB{tq(@!~vL5zTn^MyBfG=hKU9Xm4U&~?|Nla zC$_qza}b0q`(yQPQNA`CW2yO1%7~TL-T^V*i`%XcI`peP?|w6^&Kl%KhdHT8+$ox*=YyO&Z5h2w!dtDe_iCoq z=GmQa<&9L+%R8=Py06I4mSgoI8E;10J=4^tZM>>~V@0@hBB9U?Pu67$&7F{D8$a4k z{u2*XUsA%WDuXI#3&-4Dj4SaO2D~|eIuv;H% zEWGow1U@Iaw~k;8R3c0E8zG&j%&mKQvm$nFX@uV|`0%+m?x=IPuK-q-Rox-4_57UYrWY;csUW+=EV3U+IqGn(}Xs$ureI`ItpXFFo-z}wZk~&gnL5+NR zK-G#PZcZ%CLF%Qf*u?VQk` z0P8bP4f7Sn2~Hl*_TQbV8^tz?-NXpE;_An@)748(#w5Q53*g@pGd9YQ=#S2Ap~;jU zNPm2Mdv^To0V6GQ9k*NuQ^X@}08M~YWT4GRd-M|rr|eY&8yuBL1N>{(Iim-=%)nnEL;5qhyU;hGR# z$bEZd;5qriIWj>3%|KJLz=dRgSY2;#uc0vVa%W{taQ~Q`J`h}5bvaL|Epw~F&C#nxzF6?tPy)shI@}obJN97k%^JY2x9F7%>xkg8!6qLT?GmajrqmNH#{|c^(zwmH3>6nw}OkCdsrQ}&N`-*&5d74 z=`rD0U9~u|BoJ6GyXlSPTp>Xf1xv$F7+_N1l*l1qS;xYmMH30iqVC*z%>@s{mS@uy zPXl*Eia(6=oy)Yg@xEN7X6<^{BDG=mWzfgbGPnQ zCV6wEj!h`PJ82fd$w{PO+>+(bHss+z)+=P|_T1Uh5j+>~FmUkb^#_Fh=+z8nR-8wV z-uB+oo$B*UJs5m_LUTsHmVZG*+p1U%r_Imzxd7Gu?R)!DZ_6)Nit`C4sy!x~8=!he zaJuL9w(qb^I3n8&TiwgTUFZ^Q$=Y5HCvH34MS<;79!t2k`3|kaNWZrM(?POiziZ8u zC>DT-lJ>nBTT$Dd9et>pn6^U^(u-}ABHysnLn$y-izoO|y1aMCe<0q6p8$!5b$z;I zZmEQymkzIr>K|O8r~)&59!K1YqU~p(}4OQ*&2M+w;d7YS1LxLjp#) z4|k2@LAXo?)2UUbN6%W_eV%;;0tp`Lo-HcEZB#$II2BwuW+;4I>t@>%QVV|qSAyM` zk_BbODOyf0E_#WbW{%2^j#QI1woIGR_NrMw?mD?ym*rzO9Rep8u?s&3?5>_$btMwHAtNpVk}jMYW&c&q4Q(Tr{mKO@p|v*=!B z-g`TSHF}&#!9ET82iVCEp@qOx*yTQcYOXXs_sqo%^hyq$n_=DEseMw&p-!vV-LfHV zXH|Mm#p63dnCbWvNw8PgE~ek}=Kj1H2*oKh~_fU53@&C|6I9nImFCpYZ;T6_BP zY#D`aAY0yM`AyHW09|J@2VQ>W6cF`3d6r-BN^%D=Dq+1I_q!Kx~}cd{_%-eQZFOCfin%xAZe36oiaoIX2oXF`estoADC zd-2cQV`7xKb6p8uq79HY|-bw?MzzjOODUNpVDQX#z+ZhT)cR(EMZILrAUQu z{#6hM7dMjOQ7B=zK{XYfwKJDr;gv-REjJCE%NXfiLdlA+S3T;Jn?>G!iV||doDoo9 zFRSMMkR7kSJttdtn4)k=)HP(qU1q}Aq>Y-*QNdbuue@yllWFh)U7%b?Llz51< zM}ZnCC%4*UPNBA@=O=0QC#1W*Mn=-Cz zRqlqj%(~l}UKC7wXt&Tt$0+qY7*iA0TD19+zhrA>Mx(~>0rm~ihZys1JbPtsk1TGe zyzn*+Q6JZ}9Jz+Zb(UNUzio#pC$Nuk0ndKsX7;##oY5Ias!dgKaeOzE+F>nB%XIMh zfgbG}pHuP0mzJmr_w43rJQywx1SaWkh~>hD7_a;H65hF|OHUf&cvxRpJ9BukZ$_}N zlZ#dVu50_jfY-8hlDv%l<7ZZxPRK5Cs@n~BADS~UFRnh(34CMKm2ZEH;U2yXW8B42 zy^~OnuShXi-o35KDGQO%K&`H9DuTV|| zUXObxbXwV=d=;M^>$>eJGnz08hk(PC)~pkz2W38L7vt_EO`%r1X3m3o=3szf@v)Ez zmj_MjO%lRj+|}LW~;#CE*_|?s#>Qr@;Q}K%Kt$$ z+)rhwKhXsi5hRn@=tmFE7N6{sno$)Sv9m;{mvp=2LRlK2yGmZ8ev8IC0c$|$zF>zc zzQm6Hz2_BRu~>41&R(&<&D`2C9h%OXtTG$DY&E?ckvjI7#<*+kgd;aNQ-e=m48>Bd z%N8~xt#qvlORZDwTvxVpqjpv?F(0Ykby>S-p1JJV5Oy|k;lk`Vzz39V7IJ2-HEwouxs%0ho`sn5lNRv`+8@mpQkYz z*^*$@CgbL=MFPC4l^UK6&hzturp-CH3GhvwI?OX&YFreNEFVZcpPg{C(U?x(45k;| z5RCFR?^BplQCfbprDLNxaxLJq^ZbNbs^X5><6FuqHxwGlgdP$NV`wC#+=i*ep6BTW z1Y*pI&s+>pHqF0OsROLDtDUpg@OHqkwrAny0v_$9->x6-@#YxzRel;$5w z z{K4`#9wpAtMeHvoaC7Ufq;wL|87K)XVWfIEWAb&9(eYimaOQ&jkbQyl=JlkdO5Dec zE4Hem<>fAc1zC#4K9rO#HY2{IlMN;`G6*KbW&s_Q6CyU~&apC2%wFa0D~*Fr=4~>Z zfUxM)RlJSv=I&d53_YQ%gK%nH`Jx9*#rw=VX&3jQpIx-J7OpqLcXjwfAJ@iG-nxS^Hovs%X5QPjn3=#|qflz-)gd-rvD-;w zmXVR+Vr-as+QCkc@II^X97#;l>N!2E!bPUU4Yg67OZbJ9c&YWF4y9dF4?3!|Nj{5| z=XD87DP=9SRZ+s+@U8T5PLSGZ%8ZF=VwoVvtq_!2cZw`j|+lT{7 zL0i|Y)BE^$KTkM*6fM>%t%>N^TT?(dXy}l(vcy}xpssoShJ`=PsB-w}()32j(}?ewL%_w&`>tHk0S+^>t~$TtW~-t;F&i`E@WyJ1 za;30S2@BnUa^Xn^VD@kdmh&(_Us$1!m4l-(bpTlma zT>?8jc!Tj@p>NG(V_| z9C|ZD+F;k3K{uW*Xmlqrfp@*KsmyMqvr`%x?kp(#$ASQyzzWa|B!&;e^?`Q~a?(63 z9?JY5T_RWr*a=MlIB^7B^dpR-bI>o8AJG8tqdQGZ1dQDh0N8DyUn*Dl0#fh?`q9tW zd`kVy6pEk3I7NMS!~ z@wc=;t6UHb0TU4c0N9Th{wN=SD}o4^swz|zRUfK1{s5Dsg`NL08d05z>QofW+^;DB zgd+Su?0yX(_iG9OsR;auoyL~|>j6n<3YiiuOd5hKGKJ)Gfd2>`q(-J(qHj~3X#u0V35y5`R~ zZQn;xL%EOdl?J{5zkSP7j0gcEh3ucy2I|m%Qh@~w08wQENeGcJ#Xvd$P&9?m6i^a- zK)OBxWzha23kp=l^B=JP6(<1v6-6MD011La2pNji_wrFgrc2hn!_` z5imx`aWc9?YhjKZ)S{XI^xK%oF86ekS!14FEs7)5QMIym%zV z?|95_X}?ahN2O8rkA#i^AoNcV9tlhXJ^&Z2`OCS$S6dDwJC20OLU@jVEXwzxFggDK z_e9M>D7Z(IEucE&+dlm{h$Kp1Kj#Nv{QS8KB@)INND2U)sQF&)i}q3e1O@*2&t>^L z4*=uuc^4@lPXdj{?|PD7HyGthP;8;q0r?+Gl7A@aKWi6&5y*553DZS&o~|p@Np8@z z@W180evcmj{vMqN84@NKhzkIMD0&ojry}(Jb+CQg@E=bL-!K1%9DnB z=>D+)KOeOK`19wsB&bo1{#&E^$1?nVV8>HT_w`GNDp_sYLbOFt<1t1@O6NrI5heyEO0XtY3+!|1UB?63aZMeXX)%DF2 z7ElxT9i^P01ONytIo?*=u*M~xyn2`U1AUH{uai&cle!~le}p!7FHe_g;6 zpxXJZYQ8_g;8TMVz>k;KcmyCL@aM%ZE)IACI9kf$kbvyKw@XuO6va^{7K#GZi3e*FJU11OJd1BGCJ1aq#ivoL39aI$|1bgiI~cm|48QK1wT%Bz_}*`|<5xUadm!LlQt8U?FAQWqTv45}w z2JV9E;74#CoCe3hS71N*1j_vP`d0)0YT*C82GBvsjr67n(;c!$60I2vMgww#_H1JYT_y2rT{}u56tp);d2oQ9fyg=ZWgPK34Cnabq zN5x>WU-sxw6V}%|4d|KKmx+c$3fhmAhBg~Dpp+IOQG(9Tq+vSH{ofhT!jz$06cuWF z4#n~-BbNWBXN3i_5F+R#B!ECw)LP>Y%A*M2?_9rq@|7p&kA?fT&{vU;g#4D`E8D+_ kdXfl1C-{9)Wg*eO^8GPCu3wA!S606x;!$;|lB}@*0x3)D@c;k- literal 0 HcmV?d00001 diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qhp b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qhp new file mode 100644 index 0000000..5d70d3a --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qhp @@ -0,0 +1,65 @@ + + + com.nokia.qtsolutions.qtsingleapplication_2.6 + qdoc + + qt + solutions + qtsingleapplication + + + qt + solutions + qtsingleapplication + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + qtlockedfile.html + qtsingleapplication.html + index.html + qtsingleapplication-example-trivial.html + qtsinglecoreapplication.html + qtsingleapplication-example-loader.html + qtsinglecoreapplication-example-console.html + classic.css + images/qt-logo.png + + + diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-example-console.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-example-console.html new file mode 100644 index 0000000..9cb3efa --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-example-console.html @@ -0,0 +1,127 @@ + + + + + + A non-GUI example + + + + + + + +
  Home

A non-GUI example
+

+

This example shows how to use the single-application functionality in a console application. It does not require the QtGui library at all.

+

The only differences from the GUI application usage demonstrated in the other examples are:

+

1) The .pro file should include qtsinglecoreapplication.pri instead of qtsingleapplication.pri

+

2) The class name is QtSingleCoreApplication instead of QtSingleApplication.

+

3) No calls are made regarding window activation, for obvious reasons.

+

console.pro:

+
 TEMPLATE   = app
+ CONFIG    += console
+ SOURCES   += main.cpp
+ include(../../src/qtsinglecoreapplication.pri)
+ QT -= gui
+

main.cpp:

+
 /****************************************************************************
+ **
+ ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ ** All rights reserved.
+ ** Contact: Nokia Corporation (qt-info@nokia.com)
+ **
+ ** This file is part of a Qt Solutions component.
+ **
+ ** Commercial Usage
+ ** Licensees holding valid Qt Commercial licenses may use this file in
+ ** accordance with the Qt Solutions Commercial License Agreement provided
+ ** with the Software or, alternatively, in accordance with the terms
+ ** contained in a written agreement between you and Nokia.
+ **
+ ** GNU Lesser General Public License Usage
+ ** Alternatively, this file may be used under the terms of the GNU Lesser
+ ** General Public License version 2.1 as published by the Free Software
+ ** Foundation and appearing in the file LICENSE.LGPL included in the
+ ** packaging of this file.  Please review the following information to
+ ** ensure the GNU Lesser General Public License version 2.1 requirements
+ ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+ **
+ ** In addition, as a special exception, Nokia gives you certain
+ ** additional rights. These rights are described in the Nokia Qt LGPL
+ ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
+ ** package.
+ **
+ ** GNU General Public License Usage
+ ** Alternatively, this file may be used under the terms of the GNU
+ ** General Public License version 3.0 as published by the Free Software
+ ** Foundation and appearing in the file LICENSE.GPL included in the
+ ** packaging of this file.  Please review the following information to
+ ** ensure the GNU General Public License version 3.0 requirements will be
+ ** met: http://www.gnu.org/copyleft/gpl.html.
+ **
+ ** Please note Third Party Software included with Qt Solutions may impose
+ ** additional restrictions and it is the user's responsibility to ensure
+ ** that they have met the licensing requirements of the GPL, LGPL, or Qt
+ ** Solutions Commercial license and the relevant license of the Third
+ ** Party Software they are using.
+ **
+ ** If you are unsure which license is appropriate for your use, please
+ ** contact Nokia at qt-info@nokia.com.
+ **
+ ****************************************************************************/
+
+ #include "qtsinglecoreapplication.h"
+ #include <QtCore/QDebug>
+
+ void report(const QString& msg)
+ {
+     qDebug("[%i] %s", (int)QCoreApplication::applicationPid(), qPrintable(msg));
+ }
+
+ class MainClass : public QObject
+ {
+     Q_OBJECT
+ public:
+     MainClass()
+         : QObject()
+         {}
+
+ public slots:
+     void handleMessage(const QString& message)
+         {
+             report( "Message received: \"" + message + "\"");
+         }
+ };
+
+ int main(int argc, char **argv)
+ {
+     report("Starting up");
+
+     QtSingleCoreApplication app(argc, argv);
+
+     if (app.isRunning()) {
+         QString msg(QString("Hi master, I am %1.").arg(QCoreApplication::applicationPid()));
+         bool sentok = app.sendMessage(msg);
+         QString rep("Another instance is running, so I will exit.");
+         rep += sentok ? " Message sent ok." : " Message sending failed.";
+         report(rep);
+         return 0;
+     } else {
+         report("No other instance is running; so I will.");
+         MainClass mainObj;
+         QObject::connect(&app, SIGNAL(messageReceived(const QString&)),
+                          &mainObj, SLOT(handleMessage(const QString&)));
+         return app.exec();
+     }
+ }
+
+ #include "main.moc"
+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-members.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-members.html new file mode 100644 index 0000000..0b63012 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication-members.html @@ -0,0 +1,126 @@ + + + + + + List of All Members for QtSingleCoreApplication + + + + + + + +
  Home

List of All Members for QtSingleCoreApplication

+

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

+

+ +
+

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication.html b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication.html new file mode 100644 index 0000000..2105303 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsinglecoreapplication.html @@ -0,0 +1,94 @@ + + + + + + QtSingleCoreApplication Class Reference + + + + + + + +
  Home

QtSingleCoreApplication Class Reference

+

A variant of the QtSingleApplication class for non-GUI applications. More...

+
 #include <QtSingleCoreApplication>

Inherits QCoreApplication.

+ + +

Public Functions

+ + + +

Public Slots

+
    +
  • bool sendMessage ( const QString & message, int timeout = 5000 )
  • +
+ + +

Signals

+ + +

Additional Inherited Members

+ + +
+

Detailed Description

+

A variant of the QtSingleApplication class for non-GUI applications.

+

This class is a variant of QtSingleApplication suited for use in console (non-GUI) applications. It is an extension of QCoreApplication (instead of QApplication). It does not require the QtGui library.

+

The API and usage is identical to QtSingleApplication, except that functions relating to the "activation window" are not present, for obvious reasons. Please refer to the QtSingleApplication documentation for explanation of the usage.

+

A QtSingleCoreApplication instance can communicate to a QtSingleApplication instance if they share the same application id. Hence, this class can be used to create a light-weight command-line tool that sends commands to a GUI application.

+

See also QtSingleApplication.

+
+

Member Function Documentation

+

QtSingleCoreApplication::QtSingleCoreApplication ( int & argc, char ** argv )

+

Creates a QtSingleCoreApplication object. The application identifier will be QCoreApplication::applicationFilePath(). argc and argv are passed on to the QCoreAppliation constructor.

+

QtSingleCoreApplication::QtSingleCoreApplication ( const QString & appId, int & argc, char ** argv )

+

Creates a QtSingleCoreApplication object with the application identifier appId. argc and argv are passed on to the QCoreAppliation constructor.

+

QString QtSingleCoreApplication::id () const

+

Returns the application identifier. Two processes with the same identifier will be regarded as instances of the same application.

+

bool QtSingleCoreApplication::isRunning ()

+

Returns true if another instance of this application is running; otherwise false.

+

This function does not find instances of this application that are being run by a different user (on Windows: that are running in another session).

+

See also sendMessage().

+

void QtSingleCoreApplication::messageReceived ( const QString & message )   [signal]

+

This signal is emitted when the current instance receives a message from another instance of this application.

+

See also sendMessage().

+

bool QtSingleCoreApplication::sendMessage ( const QString & message, int timeout = 5000 )   [slot]

+

Tries to send the text message to the currently running instance. The QtSingleCoreApplication object in the running instance will emit the messageReceived() signal when it receives the message.

+

This function returns true if the message has been sent to, and processed by, the current instance. If there is no instance currently running, or if the running instance fails to process the message within timeout milliseconds, this function return false.

+

See also isRunning() and messageReceived().

+


+ + + + +
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
+ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/images/qt-logo.png b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/images/qt-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..794162f5af58e7b38beebf472842fc9703ede19b GIT binary patch literal 4075 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 literal 0 HcmV?d00001 diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/doc/index.qdoc b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/index.qdoc new file mode 100644 index 0000000..9c3308d --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/doc/index.qdoc @@ -0,0 +1,47 @@ +/*! + \page index.html + \title Single Application + + \section1 Description + + The QtSingleApplication component provides support + for applications that can be only started once per user. + + + + For some applications it is useful or even critical that they are started + only once by any user. Future attempts to start the application should + activate any already running instance, and possibly perform requested + actions, e.g. loading a file, in that instance. + + The QtSingleApplication class provides an interface to detect a running + instance, and to send command strings to that instance. + For console (non-GUI) applications, the QtSingleCoreApplication variant is provided, which avoids dependency on QtGui. + + + + + \section1 Classes + \list + \i QtSingleApplication \i QtSingleCoreApplication\endlist + + \section1 Examples + \list + \i \link qtsingleapplication-example-trivial.html A Trivial Example \endlink \i \link qtsingleapplication-example-loader.html Loading Documents \endlink \i \link qtsinglecoreapplication-example-console.html A Non-GUI Example \endlink \endlist + + + + + + + \section1 Tested platforms + \list + \i Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005 + \i Qt 4.4, 4.5 / Linux / gcc + \i Qt 4.4, 4.5 / MacOS X 10.5 / gcc + \endlist + + + + + */ \ No newline at end of file diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.pro b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.pro new file mode 100644 index 0000000..e0390e2 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.pro @@ -0,0 +1,5 @@ +TEMPLATE = app +CONFIG += console +SOURCES += main.cpp +include(../../src/qtsinglecoreapplication.pri) +QT -= gui diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.qdoc b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.qdoc new file mode 100644 index 0000000..9fd6fae --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/console.qdoc @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +/*! \page qtsinglecoreapplication-example-console.html + \title A non-GUI example + + This example shows how to use the single-application functionality + in a console application. It does not require the \c QtGui library + at all. + + The only differences from the GUI application usage demonstrated + in the other examples are: + + 1) The \c.pro file should include \c qtsinglecoreapplication.pri + instead of \c qtsingleapplication.pri + + 2) The class name is \c QtSingleCoreApplication instead of \c + QtSingleApplication. + + 3) No calls are made regarding window activation, for obvious reasons. + + console.pro: + \quotefile console/console.pro + + main.cpp: + \quotefile console/main.cpp + +*/ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/main.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/main.cpp new file mode 100644 index 0000000..1db3d77 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/console/main.cpp @@ -0,0 +1,95 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include "qtsinglecoreapplication.h" +#include + + +void report(const QString& msg) +{ + qDebug("[%i] %s", (int)QCoreApplication::applicationPid(), qPrintable(msg)); +} + +class MainClass : public QObject +{ + Q_OBJECT +public: + MainClass() + : QObject() + {} + +public slots: + void handleMessage(const QString& message) + { + report( "Message received: \"" + message + "\""); + } +}; + +int main(int argc, char **argv) +{ + report("Starting up"); + + QtSingleCoreApplication app(argc, argv); + + if (app.isRunning()) { + QString msg(QString("Hi master, I am %1.").arg(QCoreApplication::applicationPid())); + bool sentok = app.sendMessage(msg); + QString rep("Another instance is running, so I will exit."); + rep += sentok ? " Message sent ok." : " Message sending failed."; + report(rep); + return 0; + } else { + report("No other instance is running; so I will."); + MainClass mainObj; + QObject::connect(&app, SIGNAL(messageReceived(const QString&)), + &mainObj, SLOT(handleMessage(const QString&))); + return app.exec(); + } +} + + +#include "main.moc" diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/examples.pro b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/examples.pro new file mode 100644 index 0000000..36b8fd3 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/examples.pro @@ -0,0 +1,4 @@ +TEMPLATE = subdirs +SUBDIRS = trivial \ + loader \ + console diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file1.qsl b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file1.qsl new file mode 100644 index 0000000..50fcd26 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file1.qsl @@ -0,0 +1 @@ +File 1 diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file2.qsl b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file2.qsl new file mode 100644 index 0000000..4475433 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file2.qsl @@ -0,0 +1 @@ +File 2 diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.pro b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.pro new file mode 100644 index 0000000..673497a --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.pro @@ -0,0 +1,5 @@ +TEMPLATE = app + +include(../../src/qtsingleapplication.pri) + +SOURCES += main.cpp diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.qdoc b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.qdoc new file mode 100644 index 0000000..1b5546c --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.qdoc @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +/*! \page qtsingleapplication-example-loader.html + \title Loading Documents + + The application in this example loads or prints the documents + passed as commandline parameters to further instances of this + application. + + \quotefromfile loader/main.cpp + \printuntil }; + The user interface in this application is a QMainWindow subclass + with a QMdiArea as the central widget. It implements a slot + \c handleMessage() that will be connected to the messageReceived() + signal of the QtSingleApplication class. + + \printuntil } + The MainWindow constructor creates a minimal user interface. + + \printto case Print: + The handleMessage() slot interprets the message passed in as a + filename that can be prepended with \e /print to indicate that + the file should just be printed rather than loaded. + + \printto #include + Loading the file will also activate the window. + + \printto mw + The \c main entry point function creates a QtSingleApplication + object, and creates a message to send to a running instance + of the application. If the message was sent successfully the + process exits immediately. + + \printuntil } + If the message could not be sent the application starts up. Note + that \c false is passed to the call to setActivationWindow() to + prevent automatic activation for every message received, e.g. when + the application should just print a file. Instead, the message + handling function determines whether activation is requested, and + signals that by emitting the needToShow() signal. This is then + simply connected directly to QtSingleApplication's + activateWindow() slot. +*/ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/main.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/main.cpp new file mode 100644 index 0000000..23e6fe0 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/main.cpp @@ -0,0 +1,158 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +#include +#include +#include +#include +#include +#include +#include +#include + +class MainWindow : public QMainWindow +{ + Q_OBJECT +public: + MainWindow(); + +public slots: + void handleMessage(const QString& message); + +signals: + void needToShow(); + +private: + QMdiArea *workspace; +}; + +MainWindow::MainWindow() +{ + workspace = new QMdiArea(this); + + setCentralWidget(workspace); +} + +void MainWindow::handleMessage(const QString& message) +{ + enum Action { + Nothing, + Open, + Print + } action; + + action = Nothing; + QString filename = message; + if (message.toLower().startsWith("/print ")) { + filename = filename.mid(7); + action = Print; + } else if (!message.isEmpty()) { + action = Open; + } + if (action == Nothing) { + emit needToShow(); + return; + } + + QFile file(filename); + QString contents; + if (file.open(QIODevice::ReadOnly)) + contents = file.readAll(); + else + contents = "[[Error: Could not load file " + filename + "]]"; + + QTextEdit *view = new QTextEdit; + view->setPlainText(contents); + + switch(action) { + case Print: + { + QPrinter printer; + view->print(&printer); + delete view; + } + break; + + case Open: + { + workspace->addSubWindow(view); + view->setWindowTitle(message); + view->show(); + emit needToShow(); + } + break; + default: + break; + }; +} + +#include "main.moc" + +int main(int argc, char **argv) +{ + QtSingleApplication instance("File loader QtSingleApplication example", argc, argv); + QString message; + for (int a = 1; a < argc; ++a) { + message += argv[a]; + if (a < argc-1) + message += " "; + } + + if (instance.sendMessage(message)) + return 0; + + MainWindow mw; + mw.handleMessage(message); + mw.show(); + + QObject::connect(&instance, SIGNAL(messageReceived(const QString&)), + &mw, SLOT(handleMessage(const QString&))); + + instance.setActivationWindow(&mw, false); + QObject::connect(&mw, SIGNAL(needToShow()), &instance, SLOT(activateWindow())); + + return instance.exec(); +} diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/main.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/main.cpp new file mode 100644 index 0000000..727fab8 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/main.cpp @@ -0,0 +1,84 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +#include +#include + +class TextEdit : public QTextEdit +{ + Q_OBJECT +public: + TextEdit(QWidget *parent = 0) + : QTextEdit(parent) + {} +public slots: + void append(const QString &str) + { + QTextEdit::append(str); + } +}; + +#include "main.moc" + + + +int main(int argc, char **argv) +{ + QtSingleApplication instance(argc, argv); + if (instance.sendMessage("Wake up!")) + return 0; + + TextEdit logview; + logview.setReadOnly(true); + logview.show(); + + instance.setActivationWindow(&logview); + + QObject::connect(&instance, SIGNAL(messageReceived(const QString&)), + &logview, SLOT(append(const QString&))); + + return instance.exec(); +} diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.pro b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.pro new file mode 100644 index 0000000..673497a --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.pro @@ -0,0 +1,5 @@ +TEMPLATE = app + +include(../../src/qtsingleapplication.pri) + +SOURCES += main.cpp diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.qdoc b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.qdoc new file mode 100644 index 0000000..d33a4c7 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.qdoc @@ -0,0 +1,82 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +/*! \page qtsingleapplication-example-trivial.html + \title A Trivial Example + + The application in this example has a log-view that displays + messages sent by further instances of the same application. + + The example demonstrates the use of the QtSingleApplication + class to detect and communicate with a running instance of + the application using the sendMessage() API. The messageReceived() + signal is used to display received messages in a QTextEdit log. + + \quotefromfile trivial/main.cpp + \printuntil instance + The example has only the \c main entry point function. + A QtSingleApplication object is created immediately. + + \printuntil return + If another instance of this application is already running, + sendMessage() will succeed, and this instance just exits + immediately. + + \printuntil show() + Otherwise the instance continues as normal and creates the + user interface. + + \printuntil return instance.exec(); + The \c logview object is also set as the application's activation + window. Every time a message is received, the window will be raised + and activated automatically. + + The messageReceived() signal is also connected to the QTextEdit's + append() slot. Every message received from further instances of + this application will be displayed in the log. + + Finally the event loop is entered. +*/ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/qtsingleapplication.pro b/3rdparty/qtsingleapplication-2.6_1-opensource/qtsingleapplication.pro new file mode 100644 index 0000000..cceb41f --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/qtsingleapplication.pro @@ -0,0 +1,6 @@ +TEMPLATE=subdirs +CONFIG += ordered +include(common.pri) +qtsingleapplication-uselib:SUBDIRS=buildlib +SUBDIRS+=examples +QT += widgets diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtLockedFile b/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtLockedFile new file mode 100644 index 0000000..16b48ba --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtLockedFile @@ -0,0 +1 @@ +#include "qtlockedfile.h" diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtSingleApplication b/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtSingleApplication new file mode 100644 index 0000000..d111bf7 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtSingleApplication @@ -0,0 +1 @@ +#include "qtsingleapplication.h" diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp new file mode 100644 index 0000000..bff13f5 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp @@ -0,0 +1,209 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include "qtlocalpeer.h" +#include +#include +#include + +#if defined(Q_OS_WIN) +#include +#include +typedef BOOL(WINAPI*PProcessIdToSessionId)(DWORD,DWORD*); +static PProcessIdToSessionId pProcessIdToSessionId = 0; +#endif +#if defined(Q_OS_UNIX) +#include +#include +#endif + +#include +#include + +namespace QtLP_Private { +#include "qtlockedfile.cpp" +#if defined(Q_OS_WIN) +#include "qtlockedfile_win.cpp" +#else +#include "qtlockedfile_unix.cpp" +#endif +} + + +const char* QtLocalPeer::ack = "ack"; + +QtLocalPeer::QtLocalPeer(QObject* parent, const QString &appId) + : QObject(parent), id(appId) +{ + QString prefix = id; + if (id.isEmpty()) { + id = QCoreApplication::applicationFilePath(); +#if defined(Q_OS_WIN) + id = id.toLower(); +#endif + prefix = id.section(QLatin1Char('/'), -1); + } + prefix.remove(QRegExp("[^a-zA-Z]")); + prefix.truncate(6); + + QByteArray idc = id.toUtf8(); + quint16 idNum = qChecksum(idc.constData(), idc.size()); + socketName = QLatin1String("qtsingleapp-") + prefix + + QLatin1Char('-') + QString::number(idNum, 16); + +#if defined(Q_OS_WIN) + if (!pProcessIdToSessionId) { + QLibrary lib("kernel32"); + pProcessIdToSessionId = (PProcessIdToSessionId)lib.resolve("ProcessIdToSessionId"); + } + if (pProcessIdToSessionId) { + DWORD sessionId = 0; + pProcessIdToSessionId(GetCurrentProcessId(), &sessionId); + socketName += QLatin1Char('-') + QString::number(sessionId, 16); + } +#else + socketName += QLatin1Char('-') + QString::number(getuid(), 16); +#endif + + server = new QLocalServer(this); + QString lockName = QDir(QDir::tempPath()).absolutePath() + + QLatin1Char('/') + socketName + + QLatin1String("-lockfile"); + lockFile.setFileName(lockName); + lockFile.open(QIODevice::ReadWrite); +} + + + +bool QtLocalPeer::isClient() +{ + if (lockFile.isLocked()) + return false; + + if (!lockFile.lock(QtLP_Private::QtLockedFile::WriteLock, false)) + return true; + + bool res = server->listen(socketName); +#if defined(Q_OS_UNIX) && (QT_VERSION >= QT_VERSION_CHECK(4,5,0)) + // ### Workaround + if (!res && server->serverError() == QAbstractSocket::AddressInUseError) { + QFile::remove(QDir::cleanPath(QDir::tempPath())+QLatin1Char('/')+socketName); + res = server->listen(socketName); + } +#endif + if (!res) + qWarning("QtSingleCoreApplication: listen on local socket failed, %s", qPrintable(server->errorString())); + QObject::connect(server, SIGNAL(newConnection()), SLOT(receiveConnection())); + return false; +} + + +bool QtLocalPeer::sendMessage(const QString &message, int timeout) +{ + if (!isClient()) + return false; + + QLocalSocket socket; + bool connOk = false; + for(int i = 0; i < 2; i++) { + // Try twice, in case the other instance is just starting up + socket.connectToServer(socketName); + connOk = socket.waitForConnected(timeout/2); + if (connOk || i) + break; + int ms = 250; +#if defined(Q_OS_WIN) + Sleep(DWORD(ms)); +#else + struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; + nanosleep(&ts, NULL); +#endif + } + if (!connOk) + return false; + + QByteArray uMsg(message.toUtf8()); + QDataStream ds(&socket); + ds.writeBytes(uMsg.constData(), uMsg.size()); + bool res = socket.waitForBytesWritten(timeout); + res &= socket.waitForReadyRead(timeout); // wait for ack + res &= (socket.read(qstrlen(ack)) == ack); + return res; +} + + +void QtLocalPeer::receiveConnection() +{ + QLocalSocket* socket = server->nextPendingConnection(); + if (!socket) + return; + + while (socket->bytesAvailable() < (int)sizeof(quint32)) + socket->waitForReadyRead(); + QDataStream ds(socket); + QByteArray uMsg; + quint32 remaining; + ds >> remaining; + uMsg.resize(remaining); + int got = 0; + char* uMsgBuf = uMsg.data(); + do { + got = ds.readRawData(uMsgBuf, remaining); + remaining -= got; + uMsgBuf += got; + } while (remaining && got >= 0 && socket->waitForReadyRead(2000)); + if (got < 0) { + qWarning() << "QtLocalPeer: Message reception failed" << socket->errorString(); + delete socket; + return; + } + QString message(QString::fromUtf8(uMsg)); + socket->write(ack, qstrlen(ack)); + socket->waitForBytesWritten(1000); + delete socket; + emit messageReceived(message); //### (might take a long time to return) +} diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.h b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.h new file mode 100644 index 0000000..8a54a9b --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.h @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include +#include +#include + +namespace QtLP_Private { +#include "qtlockedfile.h" +} + +class QtLocalPeer : public QObject +{ + Q_OBJECT + +public: + QtLocalPeer(QObject *parent = 0, const QString &appId = QString()); + bool isClient(); + bool sendMessage(const QString &message, int timeout); + QString applicationId() const + { return id; } + +Q_SIGNALS: + void messageReceived(const QString &message); + +protected Q_SLOTS: + void receiveConnection(); + +protected: + QString id; + QString socketName; + QLocalServer* server; + QtLP_Private::QtLockedFile lockFile; + +private: + static const char* ack; +}; diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.cpp new file mode 100644 index 0000000..2cf0805 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.cpp @@ -0,0 +1,199 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +#include "qtlockedfile.h" + +/*! + \class QtLockedFile + + \brief The QtLockedFile class extends QFile with advisory locking + functions. + + A file may be locked in read or write mode. Multiple instances of + \e QtLockedFile, created in multiple processes running on the same + machine, may have a file locked in read mode. Exactly one instance + may have it locked in write mode. A read and a write lock cannot + exist simultaneously on the same file. + + The file locks are advisory. This means that nothing prevents + another process from manipulating a locked file using QFile or + file system functions offered by the OS. Serialization is only + guaranteed if all processes that access the file use + QLockedFile. Also, while holding a lock on a file, a process + must not open the same file again (through any API), or locks + can be unexpectedly lost. + + The lock provided by an instance of \e QtLockedFile is released + whenever the program terminates. This is true even when the + program crashes and no destructors are called. +*/ + +/*! \enum QtLockedFile::LockMode + + This enum describes the available lock modes. + + \value ReadLock A read lock. + \value WriteLock A write lock. + \value NoLock Neither a read lock nor a write lock. +*/ + +/*! + Constructs an unlocked \e QtLockedFile object. This constructor + behaves in the same way as \e QFile::QFile(). + + \sa QFile::QFile() +*/ +QtLockedFile::QtLockedFile() + : QFile() +{ +#ifdef Q_OS_WIN + wmutex = 0; + rmutex = 0; +#endif + m_lock_mode = NoLock; +} + +/*! + Constructs an unlocked QtLockedFile object with file \a name. This + constructor behaves in the same way as \e QFile::QFile(const + QString&). + + \sa QFile::QFile() +*/ +QtLockedFile::QtLockedFile(const QString &name) + : QFile(name) +{ +#ifdef Q_OS_WIN + wmutex = 0; + rmutex = 0; +#endif + m_lock_mode = NoLock; +} + +/*! + Opens the file in OpenMode \a mode. + + This is identical to QFile::open(), with the one exception that the + Truncate mode flag is disallowed. Truncation would conflict with the + advisory file locking, since the file would be modified before the + write lock is obtained. If truncation is required, use resize(0) + after obtaining the write lock. + + Returns true if successful; otherwise false. + + \sa QFile::open(), QFile::resize() +*/ +bool QtLockedFile::open(OpenMode mode) +{ + if (mode & QIODevice::Truncate) { + qWarning("QtLockedFile::open(): Truncate mode not allowed."); + return false; + } + return QFile::open(mode); +} + +/*! + Returns \e true if this object has a in read or write lock; + otherwise returns \e false. + + \sa lockMode() +*/ +bool QtLockedFile::isLocked() const +{ + return m_lock_mode != NoLock; +} + +/*! + Returns the type of lock currently held by this object, or \e + QtLockedFile::NoLock. + + \sa isLocked() +*/ +QtLockedFile::LockMode QtLockedFile::lockMode() const +{ + return m_lock_mode; +} + +/*! + \fn bool QtLockedFile::lock(LockMode mode, bool block = true) + + Obtains a lock of type \a mode. The file must be opened before it + can be locked. + + If \a block is true, this function will block until the lock is + aquired. If \a block is false, this function returns \e false + immediately if the lock cannot be aquired. + + If this object already has a lock of type \a mode, this function + returns \e true immediately. If this object has a lock of a + different type than \a mode, the lock is first released and then a + new lock is obtained. + + This function returns \e true if, after it executes, the file is + locked by this object, and \e false otherwise. + + \sa unlock(), isLocked(), lockMode() +*/ + +/*! + \fn bool QtLockedFile::unlock() + + Releases a lock. + + If the object has no lock, this function returns immediately. + + This function returns \e true if, after it executes, the file is + not locked by this object, and \e false otherwise. + + \sa lock(), isLocked(), lockMode() +*/ + +/*! + \fn QtLockedFile::~QtLockedFile() + + Destroys the \e QtLockedFile object. If any locks were held, they + are released. +*/ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.h b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.h new file mode 100644 index 0000000..1d3b918 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.h @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +#ifndef QTLOCKEDFILE_H +#define QTLOCKEDFILE_H + +#include +#ifdef Q_OS_WIN +#include +#endif + +#if defined(Q_WS_WIN) +# if !defined(QT_QTLOCKEDFILE_EXPORT) && !defined(QT_QTLOCKEDFILE_IMPORT) +# define QT_QTLOCKEDFILE_EXPORT +# elif defined(QT_QTLOCKEDFILE_IMPORT) +# if defined(QT_QTLOCKEDFILE_EXPORT) +# undef QT_QTLOCKEDFILE_EXPORT +# endif +# define QT_QTLOCKEDFILE_EXPORT __declspec(dllimport) +# elif defined(QT_QTLOCKEDFILE_EXPORT) +# undef QT_QTLOCKEDFILE_EXPORT +# define QT_QTLOCKEDFILE_EXPORT __declspec(dllexport) +# endif +#else +# define QT_QTLOCKEDFILE_EXPORT +#endif + +class QT_QTLOCKEDFILE_EXPORT QtLockedFile : public QFile +{ +public: + enum LockMode { NoLock = 0, ReadLock, WriteLock }; + + QtLockedFile(); + QtLockedFile(const QString &name); + ~QtLockedFile(); + + bool open(OpenMode mode); + + bool lock(LockMode mode, bool block = true); + bool unlock(); + bool isLocked() const; + LockMode lockMode() const; + +private: +#ifdef Q_OS_WIN + Qt::HANDLE wmutex; + Qt::HANDLE rmutex; + QVector rmutexes; + QString mutexname; + + Qt::HANDLE getMutexHandle(int idx, bool doCreate); + bool waitMutex(Qt::HANDLE mutex, bool doBlock); + +#endif + LockMode m_lock_mode; +}; + +#endif diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_unix.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_unix.cpp new file mode 100644 index 0000000..2881bdd --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_unix.cpp @@ -0,0 +1,121 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +#include +#include +#include +#include + +#include "qtlockedfile.h" + +bool QtLockedFile::lock(LockMode mode, bool block) +{ + if (!isOpen()) { + qWarning("QtLockedFile::lock(): file is not opened"); + return false; + } + + if (mode == NoLock) + return unlock(); + + if (mode == m_lock_mode) + return true; + + if (m_lock_mode != NoLock) + unlock(); + + struct flock fl; + fl.l_whence = SEEK_SET; + fl.l_start = 0; + fl.l_len = 0; + fl.l_type = (mode == ReadLock) ? F_RDLCK : F_WRLCK; + int cmd = block ? F_SETLKW : F_SETLK; + int ret = fcntl(handle(), cmd, &fl); + + if (ret == -1) { + if (errno != EINTR && errno != EAGAIN) + qWarning("QtLockedFile::lock(): fcntl: %s", strerror(errno)); + return false; + } + + + m_lock_mode = mode; + return true; +} + + +bool QtLockedFile::unlock() +{ + if (!isOpen()) { + qWarning("QtLockedFile::unlock(): file is not opened"); + return false; + } + + if (!isLocked()) + return true; + + struct flock fl; + fl.l_whence = SEEK_SET; + fl.l_start = 0; + fl.l_len = 0; + fl.l_type = F_UNLCK; + int ret = fcntl(handle(), F_SETLKW, &fl); + + if (ret == -1) { + qWarning("QtLockedFile::lock(): fcntl: %s", strerror(errno)); + return false; + } + + m_lock_mode = NoLock; + return true; +} + +QtLockedFile::~QtLockedFile() +{ + if (isOpen()) + unlock(); +} + diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_win.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_win.cpp new file mode 100644 index 0000000..2dd8918 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_win.cpp @@ -0,0 +1,216 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + +#include "qtlockedfile.h" +#include +#include +#if QT_VERSION >= 0x050000 +#define QT_WA(unicode,ansi) unicode +#endif + +#define MUTEX_PREFIX "QtLockedFile mutex " +// Maximum number of concurrent read locks. Must not be greater than MAXIMUM_WAIT_OBJECTS +#define MAX_READERS MAXIMUM_WAIT_OBJECTS + +Qt::HANDLE QtLockedFile::getMutexHandle(int idx, bool doCreate) +{ + if (mutexname.isEmpty()) { + QFileInfo fi(*this); + mutexname = QString::fromLatin1(MUTEX_PREFIX) + + fi.absoluteFilePath().toLower(); + } + QString mname(mutexname); + if (idx >= 0) + mname += QString::number(idx); + + Qt::HANDLE mutex; + if (doCreate) { + QT_WA( { mutex = CreateMutexW(NULL, FALSE, (TCHAR*)mname.utf16()); }, + { mutex = CreateMutexA(NULL, FALSE, mname.toLocal8Bit().constData()); } ); + if (!mutex) { + qErrnoWarning("QtLockedFile::lock(): CreateMutex failed"); + return 0; + } + } + else { + QT_WA( { mutex = OpenMutexW(SYNCHRONIZE | MUTEX_MODIFY_STATE, FALSE, (TCHAR*)mname.utf16()); }, + { mutex = OpenMutexA(SYNCHRONIZE | MUTEX_MODIFY_STATE, FALSE, mname.toLocal8Bit().constData()); } ); + if (!mutex) { + if (GetLastError() != ERROR_FILE_NOT_FOUND) + qErrnoWarning("QtLockedFile::lock(): OpenMutex failed"); + return 0; + } + } + return mutex; +} + +bool QtLockedFile::waitMutex(Qt::HANDLE mutex, bool doBlock) +{ + Q_ASSERT(mutex); + DWORD res = WaitForSingleObject(mutex, doBlock ? INFINITE : 0); + switch (res) { + case WAIT_OBJECT_0: + case WAIT_ABANDONED: + return true; + break; + case WAIT_TIMEOUT: + break; + default: + qErrnoWarning("QtLockedFile::lock(): WaitForSingleObject failed"); + } + return false; +} + + + +bool QtLockedFile::lock(LockMode mode, bool block) +{ + if (!isOpen()) { + qWarning("QtLockedFile::lock(): file is not opened"); + return false; + } + + if (mode == NoLock) + return unlock(); + + if (mode == m_lock_mode) + return true; + + if (m_lock_mode != NoLock) + unlock(); + + if (!wmutex && !(wmutex = getMutexHandle(-1, true))) + return false; + + if (!waitMutex(wmutex, block)) + return false; + + if (mode == ReadLock) { + int idx = 0; + for (; idx < MAX_READERS; idx++) { + rmutex = getMutexHandle(idx, false); + if (!rmutex || waitMutex(rmutex, false)) + break; + CloseHandle(rmutex); + } + bool ok = true; + if (idx >= MAX_READERS) { + qWarning("QtLockedFile::lock(): too many readers"); + rmutex = 0; + ok = false; + } + else if (!rmutex) { + rmutex = getMutexHandle(idx, true); + if (!rmutex || !waitMutex(rmutex, false)) + ok = false; + } + if (!ok && rmutex) { + CloseHandle(rmutex); + rmutex = 0; + } + ReleaseMutex(wmutex); + if (!ok) + return false; + } + else { + Q_ASSERT(rmutexes.isEmpty()); + for (int i = 0; i < MAX_READERS; i++) { + Qt::HANDLE mutex = getMutexHandle(i, false); + if (mutex) + rmutexes.append(mutex); + } + if (rmutexes.size()) { + DWORD res = WaitForMultipleObjects(rmutexes.size(), rmutexes.constData(), + TRUE, block ? INFINITE : 0); + if (res != WAIT_OBJECT_0 && res != WAIT_ABANDONED) { + if (res != WAIT_TIMEOUT) + qErrnoWarning("QtLockedFile::lock(): WaitForMultipleObjects failed"); + m_lock_mode = WriteLock; // trick unlock() to clean up - semiyucky + unlock(); + return false; + } + } + } + + m_lock_mode = mode; + return true; +} + +bool QtLockedFile::unlock() +{ + if (!isOpen()) { + qWarning("QtLockedFile::unlock(): file is not opened"); + return false; + } + + if (!isLocked()) + return true; + + if (m_lock_mode == ReadLock) { + ReleaseMutex(rmutex); + CloseHandle(rmutex); + rmutex = 0; + } + else { + foreach(Qt::HANDLE mutex, rmutexes) { + ReleaseMutex(mutex); + CloseHandle(mutex); + } + rmutexes.clear(); + ReleaseMutex(wmutex); + } + + m_lock_mode = QtLockedFile::NoLock; + return true; +} + +QtLockedFile::~QtLockedFile() +{ + if (isOpen()) + unlock(); + if (wmutex) + CloseHandle(wmutex); +} diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.cpp new file mode 100644 index 0000000..cd5623e --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.cpp @@ -0,0 +1,354 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include "qtsingleapplication.h" +#include "qtlocalpeer.h" +#include + + +/*! + \class QtSingleApplication qtsingleapplication.h + \brief The QtSingleApplication class provides an API to detect and + communicate with running instances of an application. + + This class allows you to create applications where only one + instance should be running at a time. I.e., if the user tries to + launch another instance, the already running instance will be + activated instead. Another usecase is a client-server system, + where the first started instance will assume the role of server, + and the later instances will act as clients of that server. + + By default, the full path of the executable file is used to + determine whether two processes are instances of the same + application. You can also provide an explicit identifier string + that will be compared instead. + + The application should create the QtSingleApplication object early + in the startup phase, and call isRunning() or sendMessage() to + find out if another instance of this application is already + running. Startup parameters (e.g. the name of the file the user + wanted this new instance to open) can be passed to the running + instance in the sendMessage() function. + + If isRunning() or sendMessage() returns false, it means that no + other instance is running, and this instance has assumed the role + as the running instance. The application should continue with the + initialization of the application user interface before entering + the event loop with exec(), as normal. The messageReceived() + signal will be emitted when the application receives messages from + another instance of the same application. + + If isRunning() or sendMessage() returns true, another instance is + already running, and the application should terminate or enter + client mode. + + If a message is received it might be helpful to the user to raise + the application so that it becomes visible. To facilitate this, + QtSingleApplication provides the setActivationWindow() function + and the activateWindow() slot. + + Here's an example that shows how to convert an existing + application to use QtSingleApplication. It is very simple and does + not make use of all QtSingleApplication's functionality (see the + examples for that). + + \code + // Original + int main(int argc, char **argv) + { + QApplication app(argc, argv); + + MyMainWidget mmw; + + mmw.show(); + return app.exec(); + } + + // Single instance + int main(int argc, char **argv) + { + QtSingleApplication app(argc, argv); + + if (app.isRunning()) + return 0; + + MyMainWidget mmw; + + app.setActivationWindow(&mmw); + + mmw.show(); + return app.exec(); + } + \endcode + + Once this QtSingleApplication instance is destroyed(for example, + when the user quits), when the user next attempts to run the + application this instance will not, of course, be encountered. The + next instance to call isRunning() or sendMessage() will assume the + role as the new running instance. + + For console (non-GUI) applications, QtSingleCoreApplication may be + used instead of this class, to avoid the dependency on the QtGui + library. + + \sa QtSingleCoreApplication +*/ + + +void QtSingleApplication::sysInit(const QString &appId) +{ + actWin = 0; + peer = new QtLocalPeer(this, appId); + connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); +} + + +/*! + Creates a QtSingleApplication object. The application identifier + will be QCoreApplication::applicationFilePath(). \a argc, \a + argv, and \a GUIenabled are passed on to the QAppliation constructor. + + If you are creating a console application (i.e. setting \a + GUIenabled to false), you may consider using + QtSingleCoreApplication instead. +*/ + +QtSingleApplication::QtSingleApplication(int &argc, char **argv, bool GUIenabled) + : QApplication(argc, argv, GUIenabled) +{ + sysInit(); +} + + +/*! + Creates a QtSingleApplication object with the application + identifier \a appId. \a argc and \a argv are passed on to the + QAppliation constructor. +*/ + +QtSingleApplication::QtSingleApplication(const QString &appId, int &argc, char **argv) + : QApplication(argc, argv) +{ + sysInit(appId); +} + + +/*! + Creates a QtSingleApplication object. The application identifier + will be QCoreApplication::applicationFilePath(). \a argc, \a + argv, and \a type are passed on to the QAppliation constructor. +*/ +#if 0 +QtSingleApplication::QtSingleApplication(int &argc, char **argv, Type type) + : QApplication(argc, argv, type) +{ + sysInit(); +} +#endif + + +#if defined(Q_WS_X11) +/*! + Special constructor for X11, ref. the documentation of + QApplication's corresponding constructor. The application identifier + will be QCoreApplication::applicationFilePath(). \a dpy, \a visual, + and \a cmap are passed on to the QApplication constructor. +*/ +QtSingleApplication::QtSingleApplication(Display* dpy, Qt::HANDLE visual, Qt::HANDLE cmap) + : QApplication(dpy, visual, cmap) +{ + sysInit(); +} + +/*! + Special constructor for X11, ref. the documentation of + QApplication's corresponding constructor. The application identifier + will be QCoreApplication::applicationFilePath(). \a dpy, \a argc, \a + argv, \a visual, and \a cmap are passed on to the QApplication + constructor. +*/ +QtSingleApplication::QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual, Qt::HANDLE cmap) + : QApplication(dpy, argc, argv, visual, cmap) +{ + sysInit(); +} + +/*! + Special constructor for X11, ref. the documentation of + QApplication's corresponding constructor. The application identifier + will be \a appId. \a dpy, \a argc, \a + argv, \a visual, and \a cmap are passed on to the QApplication + constructor. +*/ +QtSingleApplication::QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual, Qt::HANDLE cmap) + : QApplication(dpy, argc, argv, visual, cmap) +{ + sysInit(appId); +} +#endif + + +/*! + Returns true if another instance of this application is running; + otherwise false. + + This function does not find instances of this application that are + being run by a different user (on Windows: that are running in + another session). + + \sa sendMessage() +*/ + +bool QtSingleApplication::isRunning() +{ + return peer->isClient(); +} + + +/*! + Tries to send the text \a message to the currently running + instance. The QtSingleApplication object in the running instance + will emit the messageReceived() signal when it receives the + message. + + This function returns true if the message has been sent to, and + processed by, the current instance. If there is no instance + currently running, or if the running instance fails to process the + message within \a timeout milliseconds, this function return false. + + \sa isRunning(), messageReceived() +*/ +bool QtSingleApplication::sendMessage(const QString &message, int timeout) +{ + return peer->sendMessage(message, timeout); +} + + +/*! + Returns the application identifier. Two processes with the same + identifier will be regarded as instances of the same application. +*/ +QString QtSingleApplication::id() const +{ + return peer->applicationId(); +} + + +/*! + Sets the activation window of this application to \a aw. The + activation window is the widget that will be activated by + activateWindow(). This is typically the application's main window. + + If \a activateOnMessage is true (the default), the window will be + activated automatically every time a message is received, just prior + to the messageReceived() signal being emitted. + + \sa activateWindow(), messageReceived() +*/ + +void QtSingleApplication::setActivationWindow(QWidget* aw, bool activateOnMessage) +{ + actWin = aw; + if (activateOnMessage) + connect(peer, SIGNAL(messageReceived(const QString&)), this, SLOT(activateWindow())); + else + disconnect(peer, SIGNAL(messageReceived(const QString&)), this, SLOT(activateWindow())); +} + + +/*! + Returns the applications activation window if one has been set by + calling setActivationWindow(), otherwise returns 0. + + \sa setActivationWindow() +*/ +QWidget* QtSingleApplication::activationWindow() const +{ + return actWin; +} + + +/*! + De-minimizes, raises, and activates this application's activation window. + This function does nothing if no activation window has been set. + + This is a convenience function to show the user that this + application instance has been activated when he has tried to start + another instance. + + This function should typically be called in response to the + messageReceived() signal. By default, that will happen + automatically, if an activation window has been set. + + \sa setActivationWindow(), messageReceived(), initialize() +*/ +void QtSingleApplication::activateWindow() +{ + if (actWin) { + qDebug() << "QtSingleApplication::activateWindow"; + actWin->setWindowState(actWin->windowState() & ~Qt::WindowMinimized); + actWin->raise(); + actWin->activateWindow(); + } +} + + +/*! + \fn void QtSingleApplication::messageReceived(const QString& message) + + This signal is emitted when the current instance receives a \a + message from another instance of this application. + + \sa sendMessage(), setActivationWindow(), activateWindow() +*/ + + +/*! + \fn void QtSingleApplication::initialize(bool dummy = true) + + \obsolete +*/ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.h b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.h new file mode 100644 index 0000000..ca2c118 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.h @@ -0,0 +1,105 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include + +class QtLocalPeer; + +#if defined(Q_WS_WIN) +# if !defined(QT_QTSINGLEAPPLICATION_EXPORT) && !defined(QT_QTSINGLEAPPLICATION_IMPORT) +# define QT_QTSINGLEAPPLICATION_EXPORT +# elif defined(QT_QTSINGLEAPPLICATION_IMPORT) +# if defined(QT_QTSINGLEAPPLICATION_EXPORT) +# undef QT_QTSINGLEAPPLICATION_EXPORT +# endif +# define QT_QTSINGLEAPPLICATION_EXPORT __declspec(dllimport) +# elif defined(QT_QTSINGLEAPPLICATION_EXPORT) +# undef QT_QTSINGLEAPPLICATION_EXPORT +# define QT_QTSINGLEAPPLICATION_EXPORT __declspec(dllexport) +# endif +#else +# define QT_QTSINGLEAPPLICATION_EXPORT +#endif + +class QT_QTSINGLEAPPLICATION_EXPORT QtSingleApplication : public QApplication +{ + Q_OBJECT + +public: + QtSingleApplication(int &argc, char **argv, bool GUIenabled = true); + QtSingleApplication(const QString &id, int &argc, char **argv); + //QtSingleApplication(int &argc, char **argv, Type type); +#if defined(Q_WS_X11) + QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); + QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0); + QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); +#endif + + bool isRunning(); + QString id() const; + + void setActivationWindow(QWidget* aw, bool activateOnMessage = true); + QWidget* activationWindow() const; + + // Obsolete: + void initialize(bool dummy = true) + { isRunning(); Q_UNUSED(dummy) } + +public Q_SLOTS: + bool sendMessage(const QString &message, int timeout = 5000); + void activateWindow(); + + +Q_SIGNALS: + void messageReceived(const QString &message); + + +private: + void sysInit(const QString &appId = QString()); + QtLocalPeer *peer; + QWidget *actWin; +}; diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri new file mode 100644 index 0000000..f306033 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri @@ -0,0 +1,16 @@ +include(../common.pri) +INCLUDEPATH += $$PWD +DEPENDPATH += $$PWD +QT *= network widgets + +qtsingleapplication-uselib:!qtsingleapplication-buildlib { + LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME +} else { + SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp + HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h +} + +win32 { + contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT + else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT +} diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.cpp b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.cpp new file mode 100644 index 0000000..307e255 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.cpp @@ -0,0 +1,155 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include "qtsinglecoreapplication.h" +#include "qtlocalpeer.h" + +/*! + \class QtSingleCoreApplication qtsinglecoreapplication.h + \brief A variant of the QtSingleApplication class for non-GUI applications. + + This class is a variant of QtSingleApplication suited for use in + console (non-GUI) applications. It is an extension of + QCoreApplication (instead of QApplication). It does not require + the QtGui library. + + The API and usage is identical to QtSingleApplication, except that + functions relating to the "activation window" are not present, for + obvious reasons. Please refer to the QtSingleApplication + documentation for explanation of the usage. + + A QtSingleCoreApplication instance can communicate to a + QtSingleApplication instance if they share the same application + id. Hence, this class can be used to create a light-weight + command-line tool that sends commands to a GUI application. + + \sa QtSingleApplication +*/ + +/*! + Creates a QtSingleCoreApplication object. The application identifier + will be QCoreApplication::applicationFilePath(). \a argc and \a + argv are passed on to the QCoreAppliation constructor. +*/ + +QtSingleCoreApplication::QtSingleCoreApplication(int &argc, char **argv) + : QCoreApplication(argc, argv) +{ + peer = new QtLocalPeer(this); + connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); +} + + +/*! + Creates a QtSingleCoreApplication object with the application + identifier \a appId. \a argc and \a argv are passed on to the + QCoreAppliation constructor. +*/ +QtSingleCoreApplication::QtSingleCoreApplication(const QString &appId, int &argc, char **argv) + : QCoreApplication(argc, argv) +{ + peer = new QtLocalPeer(this, appId); + connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); +} + + +/*! + Returns true if another instance of this application is running; + otherwise false. + + This function does not find instances of this application that are + being run by a different user (on Windows: that are running in + another session). + + \sa sendMessage() +*/ + +bool QtSingleCoreApplication::isRunning() +{ + return peer->isClient(); +} + + +/*! + Tries to send the text \a message to the currently running + instance. The QtSingleCoreApplication object in the running instance + will emit the messageReceived() signal when it receives the + message. + + This function returns true if the message has been sent to, and + processed by, the current instance. If there is no instance + currently running, or if the running instance fails to process the + message within \a timeout milliseconds, this function return false. + + \sa isRunning(), messageReceived() +*/ + +bool QtSingleCoreApplication::sendMessage(const QString &message, int timeout) +{ + return peer->sendMessage(message, timeout); +} + + +/*! + Returns the application identifier. Two processes with the same + identifier will be regarded as instances of the same application. +*/ + +QString QtSingleCoreApplication::id() const +{ + return peer->applicationId(); +} + + +/*! + \fn void QtSingleCoreApplication::messageReceived(const QString& message) + + This signal is emitted when the current instance receives a \a + message from another instance of this application. + + \sa sendMessage() +*/ diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.h b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.h new file mode 100644 index 0000000..8e2fda6 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.h @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of a Qt Solutions component. +** +** Commercial Usage +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Solutions Commercial License Agreement provided +** with the Software or, alternatively, in accordance with the terms +** contained in a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain +** additional rights. These rights are described in the Nokia Qt LGPL +** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this +** package. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3.0 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU General Public License version 3.0 requirements will be +** met: http://www.gnu.org/copyleft/gpl.html. +** +** Please note Third Party Software included with Qt Solutions may impose +** additional restrictions and it is the user's responsibility to ensure +** that they have met the licensing requirements of the GPL, LGPL, or Qt +** Solutions Commercial license and the relevant license of the Third +** Party Software they are using. +** +** If you are unsure which license is appropriate for your use, please +** contact Nokia at qt-info@nokia.com. +** +****************************************************************************/ + + +#include + +class QtLocalPeer; + +class QtSingleCoreApplication : public QCoreApplication +{ + Q_OBJECT + +public: + QtSingleCoreApplication(int &argc, char **argv); + QtSingleCoreApplication(const QString &id, int &argc, char **argv); + + bool isRunning(); + QString id() const; + +public Q_SLOTS: + bool sendMessage(const QString &message, int timeout = 5000); + + +Q_SIGNALS: + void messageReceived(const QString &message); + + +private: + QtLocalPeer* peer; +}; diff --git a/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.pri b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.pri new file mode 100644 index 0000000..d2d6cc3 --- /dev/null +++ b/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.pri @@ -0,0 +1,10 @@ +INCLUDEPATH += $$PWD +DEPENDPATH += $$PWD +HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h +SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp + +QT *= network + +win32:contains(TEMPLATE, lib):contains(CONFIG, shared) { + DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport) +} diff --git a/3rdparty/quazip-0.7/CMakeLists.txt b/3rdparty/quazip-0.7/CMakeLists.txt new file mode 100644 index 0000000..9a8d18d --- /dev/null +++ b/3rdparty/quazip-0.7/CMakeLists.txt @@ -0,0 +1,54 @@ +project (QuaZip) +cmake_minimum_required(VERSION 2.6) + +option(BUILD_WITH_QT4 "Build QuaZip with Qt4 no matter if Qt5 was found" OFF) + +if( NOT BUILD_WITH_QT4 ) + # try Qt5 first, and prefer that if found + find_package(Qt5Core QUIET) +endif() + +if (Qt5Core_FOUND) + set(QTCORE_LIBRARIES ${Qt5Core_LIBRARIES}) + # if there is no QT_ROOT, try to deduce it from Qt QtCore include + if ("${QT_ROOT}" STREQUAL "") + set(QT_ROOT ${QT_QTCORE_INCLUDE_DIR}/../..) + endif() + include_directories(${Qt5Core_INCLUDE_DIRS}) + + macro(qt_wrap_cpp) + qt5_wrap_cpp(${ARGN}) + endmacro() +else() + set(qt_min_version "4.5.0") + find_package(Qt4 REQUIRED) + set(QT_USE_QTGUI false) + include(${QT_USE_FILE}) + include_directories(${QT_INCLUDES}) + set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY}) + + macro(qt_wrap_cpp) + qt4_wrap_cpp(${ARGN}) + endmacro() +endif() + +# Use system zlib on unix and Qt ZLIB on Windows +IF(UNIX) + find_package(ZLIB REQUIRED) +ELSE(UNIX) + SET(ZLIB_INCLUDE_DIRS "${QT_ROOT}/src/3rdparty/zlib" CACHE STRING "Path to ZLIB headers of Qt") + SET(ZLIB_LIBRARIES "") + IF(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h") + MESSAGE("Please specify a valid zlib include dir") + ENDIF(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h") +ENDIF(UNIX) + +# All build libraries are moved to this directory +SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}) + +set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)") +set(LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Library directory name" FORCE) + +add_subdirectory(quazip) + +install(FILES FindQuaZip.cmake DESTINATION ${CMAKE_ROOT}/Modules) diff --git a/3rdparty/quazip-0.7/COPYING b/3rdparty/quazip-0.7/COPYING new file mode 100644 index 0000000..2cba2ac --- /dev/null +++ b/3rdparty/quazip-0.7/COPYING @@ -0,0 +1,458 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/3rdparty/quazip-0.7/Doxyfile b/3rdparty/quazip-0.7/Doxyfile new file mode 100644 index 0000000..99d1742 --- /dev/null +++ b/3rdparty/quazip-0.7/Doxyfile @@ -0,0 +1,1722 @@ +# Doxyfile 1.7.4 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project. +# +# All text after a hash (#) is considered a comment and will be ignored. +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" "). + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# This tag specifies the encoding used for all characters in the config file +# that follow. The default is UTF-8 which is also the encoding used for all +# text before the first occurrence of this tag. Doxygen uses libiconv (or the +# iconv built into libc) for the transcoding. See +# http://www.gnu.org/software/libiconv for the list of possible encodings. + +DOXYFILE_ENCODING = UTF-8 + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = QuaZIP + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = quazip-0-7 + +# 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 +# a quick idea about the purpose of the project. Keep the description short. + +PROJECT_BRIEF = + +# With the PROJECT_LOGO tag one can specify an logo or icon that is +# included in the documentation. The maximum height of the logo should not +# exceed 55 pixels and the maximum width should not exceed 200 pixels. +# Doxygen will copy the logo to the output directory. + +PROJECT_LOGO = + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = doc + +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would +# otherwise cause performance problems for the file system. + +CREATE_SUBDIRS = NO + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English +# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, +# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. + +OUTPUT_LANGUAGE = English + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = YES + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" +# "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment +# operators of the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = YES + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the +# path to strip. + +STRIP_FROM_PATH = + +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that +# are normally passed to the compiler using the -I flag. + +STRIP_FROM_INC_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful if your file system +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments +# (thus requiring an explicit @brief command for a brief description.) + +JAVADOC_AUTOBRIEF = NO + +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring +# an explicit \brief command for a brief description.) + +QT_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will +# be part of the file/class/namespace that contains it. + +SEPARATE_MEMBER_PAGES = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for +# Java. For instance, namespaces will be presented as packages, qualified +# scopes will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran +# sources only. Doxygen will then generate output that is more tailored for +# Fortran. + +OPTIMIZE_FOR_FORTRAN = NO + +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL +# sources. Doxygen will then generate output that is tailored for +# VHDL. + +OPTIMIZE_OUTPUT_VHDL = NO + +# Doxygen selects the parser to use depending on the extension of the files it +# parses. With this tag you can assign which parser to use for a given extension. +# Doxygen has a built-in mapping, but you can override or extend it using this +# tag. The format is ext=language, where ext is a file extension, and language +# is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C, +# C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make +# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C +# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions +# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen. + +EXTENSION_MAPPING = + +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want +# to include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also makes the inheritance and collaboration +# diagrams that involve STL classes more complete and accurate. + +BUILTIN_STL_SUPPORT = NO + +# If you use Microsoft's C++/CLI language, you should set this option to YES to +# enable parsing support. + +CPP_CLI_SUPPORT = NO + +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. +# Doxygen will parse them like normal C++ but will assume all classes use public +# instead of private inheritance when no explicit protection keyword is present. + +SIP_SUPPORT = NO + +# For Microsoft's IDL there are propget and propput attributes to indicate getter +# and setter methods for a property. Setting this option to YES (the default) +# will make doxygen replace the get and set methods by a property in the +# documentation. This will only work if the methods are indeed getting or +# setting a simple type. If this is not the case, or you want to show the +# methods anyway, you should set this option to NO. + +IDL_PROPERTY_SUPPORT = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and +# unions are shown inside the group in which they are included (e.g. using +# @ingroup) instead of on a separate page (for HTML and Man pages) or +# section (for LaTeX and RTF). + +INLINE_GROUPED_CLASSES = NO + +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum +# is documented as struct, union, or enum with the name of the typedef. So +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct +# with name TypeT. When disabled the typedef will appear as a member of a file, +# namespace, or class. And the struct will be named TypeS. This can typically +# be useful for C code in case the coding convention dictates that all compound +# types are typedef'ed and only the typedef is referenced, never the tag name. + +TYPEDEF_HIDES_STRUCT = NO + +# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to +# determine which symbols to keep in memory and which to flush to disk. +# When the cache is full, less often used symbols will be written to disk. +# For small to medium size projects (<1000 input files) the default value is +# probably good enough. For larger projects a too small cache size can cause +# doxygen to be busy swapping symbols to and from disk most of the time +# causing a significant performance penalty. +# If the system has enough physical memory increasing the cache will improve the +# performance by keeping more symbols in memory. Note that the value works on +# a logarithmic scale so increasing the size by one will roughly double the +# memory usage. The cache size is given by this formula: +# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, +# corresponding to a cache size of 2^16 = 65536 symbols + +SYMBOL_CACHE_SIZE = 0 + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = YES + +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. +# If set to NO (the default) only methods in the interface are included. + +EXTRACT_LOCAL_METHODS = NO + +# If this flag is set to YES, the members of anonymous namespaces will be +# extracted and appear in the documentation as a namespace called +# 'anonymous_namespace{file}', where file will be replaced with the base +# name of the file that contains the anonymous namespace. By default +# anonymous namespaces are hidden. + +EXTRACT_ANON_NSPACES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = NO + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# and Mac users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen +# will list include files with double quotes in the documentation +# rather than with sharp brackets. + +FORCE_LOCAL_INCLUDES = NO + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = NO + +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in +# declaration order. + +SORT_BRIEF_DOCS = NO + +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen +# will sort the (brief and detailed) documentation of class members so that +# constructors and destructors are listed first. If set to NO (the default) +# the constructors will appear in the respective orders defined by +# SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. +# This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO +# and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. + +SORT_MEMBERS_CTORS_1ST = NO + +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the +# hierarchy of group names into alphabetical order. If set to NO (the default) +# the group names will appear in their defined order. + +SORT_GROUP_NAMES = NO + +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. +# Note: This option applies only to the class list, not to the +# alphabetical list. + +SORT_BY_SCOPE_NAME = NO + +# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to +# do proper type resolution of all parameters of a function it will reject a +# match between the prototype and the implementation of a member function even +# if there is only one candidate or it is obvious which candidate to choose +# by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen +# will still accept a match between prototype and implementation in such cases. + +STRICT_PROTO_MATCHING = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or macro consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and macros in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = YES + +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# in the documentation. The default is NO. + +SHOW_DIRECTORIES = YES + +# Set the SHOW_FILES tag to NO to disable the generation of the Files page. +# This will remove the Files entry from the Quick Index and from the +# Folder Tree View (if specified). The default is YES. + +SHOW_FILES = YES + +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the +# Namespaces page. +# This will remove the Namespaces entry from the Quick Index +# and from the Folder Tree View (if specified). The default is YES. + +SHOW_NAMESPACES = YES + +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from +# the version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output +# is used as the file version. See the manual for examples. + +FILE_VERSION_FILTER = + +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed +# by doxygen. The layout file controls the global structure of the generated +# output files in an output format independent way. The create the layout file +# that represents doxygen's defaults, run doxygen with the -l option. +# You can optionally specify a file name after the option, if omitted +# DoxygenLayout.xml will be used as the name of the layout file. + +LAYOUT_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_NO_PARAMDOC option can be enabled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of +# documentation. + +WARN_NO_PARAMDOC = NO + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could +# be obtained via FILE_VERSION_FILTER) + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = + +# This tag can be used to specify the character encoding of the source files +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is +# also the default input encoding. Doxygen uses libiconv (or the iconv built +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for +# the list of possible encodings. + +INPUT_ENCODING = UTF-8 + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh +# *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py +# *.f90 *.f *.for *.vhd *.vhdl + +FILE_PATTERNS = *.cpp \ + *.h \ + *.dox + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = YES + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = quazip/unzip.h \ + quazip/zip.h \ + quazip/ioapi.h \ + quazip/crypt.h \ + qztest/ + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix file system feature) are excluded +# from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories +# for example use the pattern */test/* + +EXCLUDE_PATTERNS = */.moc/* */release/* */debug/* */moc_*.cpp + +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the +# output. The symbol name can be a fully qualified name, a word, or if the +# wildcard * is used, a substring. Examples: ANamespace, AClass, +# AClass::ANamespace, ANamespace::*Test + +EXCLUDE_SYMBOLS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. +# If FILTER_PATTERNS is specified, this tag will be +# ignored. + +INPUT_FILTER = + +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. +# Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. +# The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty or if +# non of the patterns match the file name, INPUT_FILTER is applied. + +FILTER_PATTERNS = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file +# pattern. A pattern will override the setting for FILTER_PATTERN (if any) +# and it is also possible to disable source filtering for a specific pattern +# using *.ext= (so without naming a filter). This option only has effect when +# FILTER_SOURCE_FILES is enabled. + +FILTER_SOURCE_PATTERNS = + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default) +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will +# link to the source code. +# Otherwise they will link to the documentation. + +REFERENCES_LINK_SOURCE = YES + +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You +# will need version 4.8.6 or higher. + +USE_HTAGS = NO + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = YES + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. Note that when using a custom header you are responsible +# for the proper inclusion of any scripts and style sheets that doxygen +# needs, which is dependent on the configuration options used. +# It is adviced to generate a default header using "doxygen -w html +# header.html footer.html stylesheet.css YourConfigFile" and then modify +# that header. Note that the header is subject to change so you typically +# have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or +# other source files which should be copied to the HTML output directory. Note +# that these files will be copied to the base HTML output directory. Use the +# $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these +# files. In the HTML_STYLESHEET file, use the file name only. Also note that +# the files will be copied as-is; there are no commands or markers available. + +HTML_EXTRA_FILES = + +# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. +# Doxygen will adjust the colors in the stylesheet and background images +# according to this color. Hue is specified as an angle on a colorwheel, +# see http://en.wikipedia.org/wiki/Hue for more information. +# For instance the value 0 represents red, 60 is yellow, 120 is green, +# 180 is cyan, 240 is blue, 300 purple, and 360 is red again. +# The allowed range is 0 to 359. + +HTML_COLORSTYLE_HUE = 220 + +# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of +# the colors in the HTML output. For a value of 0 the output will use +# grayscales only. A value of 255 will produce the most vivid colors. + +HTML_COLORSTYLE_SAT = 100 + +# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to +# the luminance component of the colors in the HTML output. Values below +# 100 gradually make the output lighter, whereas values above 100 make +# the output darker. The value divided by 100 is the actual gamma applied, +# so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, +# and 100 does not change the gamma. + +HTML_COLORSTYLE_GAMMA = 80 + +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML +# page will contain the date and time when the page was generated. Setting +# this to NO can help when comparing the output of multiple runs. + +HTML_TIMESTAMP = YES + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = YES + +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. For this to work a browser that supports +# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox +# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). + +HTML_DYNAMIC_SECTIONS = NO + +# If the GENERATE_DOCSET tag is set to YES, additional index files +# will be generated that can be used as input for Apple's Xcode 3 +# integrated development environment, introduced with OSX 10.5 (Leopard). +# To create a documentation set, doxygen will generate a Makefile in the +# HTML output directory. Running make will produce the docset in that +# directory and running "make install" will install the docset in +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find +# it at startup. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html +# for more information. + +GENERATE_DOCSET = NO + +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the +# feed. A documentation feed provides an umbrella under which multiple +# documentation sets from a single provider (such as a company or product suite) +# can be grouped. + +DOCSET_FEEDNAME = "Doxygen generated docs" + +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that +# should uniquely identify the documentation set bundle. This should be a +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen +# will append .docset to the name. + +DOCSET_BUNDLE_ID = org.doxygen.Project + +# When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify +# the documentation publisher. This should be a reverse domain-name style +# string, e.g. com.mycompany.MyDocSet.documentation. + +DOCSET_PUBLISHER_ID = org.doxygen.Publisher + +# The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. + +DOCSET_PUBLISHER_NAME = Publisher + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING +# is used to encode HtmlHelp index (hhk), content (hhc) and project file +# content. + +CHM_INDEX_ENCODING = + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and +# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated +# that can be used as input for Qt's qhelpgenerator to generate a +# Qt Compressed Help (.qch) of the generated HTML documentation. + +GENERATE_QHP = NO + +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can +# be used to specify the file name of the resulting .qch file. +# The path specified is relative to the HTML output folder. + +QCH_FILE = + +# The QHP_NAMESPACE tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#namespace + +QHP_NAMESPACE = org.doxygen.Project + +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating +# Qt Help Project output. For more information please see +# http://doc.trolltech.com/qthelpproject.html#virtual-folders + +QHP_VIRTUAL_FOLDER = doc + +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to +# add. For more information please see +# http://doc.trolltech.com/qthelpproject.html#custom-filters + +QHP_CUST_FILTER_NAME = + +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the +# custom filter to add. For more information please see +# +# Qt Help Project / Custom Filters. + +QHP_CUST_FILTER_ATTRS = + +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this +# project's +# filter section matches. +# +# Qt Help Project / Filter Attributes. + +QHP_SECT_FILTER_ATTRS = + +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can +# be used to specify the location of Qt's qhelpgenerator. +# If non-empty doxygen will try to run qhelpgenerator on the generated +# .qhp file. + +QHG_LOCATION = + +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files +# will be generated, which together with the HTML files, form an Eclipse help +# plugin. To install this plugin and make it available under the help contents +# menu in Eclipse, the contents of the directory containing the HTML and XML +# files needs to be copied into the plugins directory of eclipse. The name of +# the directory within the plugins directory should be the same as +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before +# the help appears. + +GENERATE_ECLIPSEHELP = NO + +# A unique identifier for the eclipse help plugin. When installing the plugin +# the directory name containing the HTML and XML files should also have +# this name. + +ECLIPSE_DOC_ID = org.doxygen.Project + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values +# (range [0,1..20]) that doxygen will group on one line in the generated HTML +# documentation. Note that a value of 0 will completely suppress the enum +# values from appearing in the overview section. + +ENUM_VALUES_PER_LINE = 4 + +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index +# structure should be generated to display hierarchical information. +# If the tag value is set to YES, a side panel will be generated +# containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). +# Windows users are probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, +# and Class Hierarchy pages using a tree view instead of an ordered list. + +USE_INLINE_TREES = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open +# links to external symbols imported via tag files in a separate window. + +EXT_LINKS_IN_WINDOW = NO + +# Use this tag to change the font size of Latex formulas included +# as images in the HTML documentation. The default is 10. Note that +# when you change the font size after a successful doxygen run you need +# to manually remove any form_*.png images from the HTML output directory +# to force them to be regenerated. + +FORMULA_FONTSIZE = 10 + +# Use the FORMULA_TRANPARENT tag to determine whether or not the images +# generated for formulas are transparent PNGs. Transparent PNGs are +# not supported properly for IE 6.0, but are supported on all modern browsers. +# Note that when changing this option you need to delete any form_*.png files +# in the HTML output before the changes have effect. + +FORMULA_TRANSPARENT = YES + +# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax +# (see http://www.mathjax.org) which uses client side Javascript for the +# rendering instead of using prerendered bitmaps. Use this if you do not +# have LaTeX installed or if you want to formulas look prettier in the HTML +# output. When enabled you also need to install MathJax separately and +# configure the path to it using the MATHJAX_RELPATH option. + +USE_MATHJAX = NO + +# When MathJax is enabled you need to specify the location relative to the +# HTML output directory using the MATHJAX_RELPATH option. The destination +# directory should contain the MathJax.js script. For instance, if the mathjax +# directory is located at the same level as the HTML output directory, then +# MATHJAX_RELPATH should be ../mathjax. The default value points to the +# mathjax.org site, so you can quickly see the result without installing +# MathJax, but it is strongly recommended to install a local copy of MathJax +# before deployment. + +MATHJAX_RELPATH = http://www.mathjax.org/mathjax + +# When the SEARCHENGINE tag is enabled doxygen will generate a search box +# for the HTML output. The underlying search engine uses javascript +# and DHTML and should work on any modern browser. Note that when using +# HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets +# (GENERATE_DOCSET) there is already a search function so this one should +# typically be disabled. For large projects the javascript based search engine +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. + +SEARCHENGINE = NO + +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be +# implemented using a PHP enabled web server instead of at the web client +# using Javascript. Doxygen will generate the search PHP script and index +# file to put on the web server. The advantage of the server +# based approach is that it scales better to large projects and allows +# full text search. The disadvantages are that it is more difficult to setup +# and does not have live searching capabilities. + +SERVER_BASED_SEARCH = NO + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = YES + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. +# Note that when enabling USE_PDFLATEX this option is only used for +# generating bitmaps for formulas in the HTML output, but not in the +# Makefile that is written to the output directory. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for +# the generated latex document. The footer should contain everything after +# the last chapter. If it is left blank doxygen will generate a +# standard footer. Notice: only use this tag if you know what you are doing! + +LATEX_FOOTER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +# If LATEX_SOURCE_CODE is set to YES then doxygen will include +# source code with syntax highlighting in the LaTeX output. +# Note that which sources are shown also depends on other settings +# such as SOURCE_BROWSER. + +LATEX_SOURCE_CODE = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. +# This is useful +# if you want to understand what is going on. +# On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_DEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# pointed to by INCLUDE_PATH will be searched when a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator +# instead of the = operator. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition that +# overrules the definition found in the source code. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all references to function-like macros +# that are alone on a line, have an all uppercase name, and do not end with a +# semicolon, because these will confuse the parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::additions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# 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 = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option also works with HAVE_DOT disabled, but it is recommended to +# install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = YES + +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the +# documentation. The MSCGEN_PATH tag allows you to specify the directory where +# the mscgen tool resides. If left empty the tool is assumed to be found in the +# default search path. + +MSCGEN_PATH = + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = YES + +# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is +# allowed to run in parallel. When set to 0 (the default) doxygen will +# base this on the number of processors available in the system. You can set it +# explicitly to a value larger than 0 to get control over the balance +# between CPU load and processing speed. + +DOT_NUM_THREADS = 0 + +# By default doxygen will write a font called Helvetica to the output +# directory and reference it in all dot files that doxygen generates. +# When you want a differently looking font you can specify the font name +# using DOT_FONTNAME. You need to make sure dot is able to find the font, +# which can be done by putting it in a standard location or by setting the +# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory +# containing the font. + +DOT_FONTNAME = Helvetica + +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. +# The default size is 10pt. + +DOT_FONTSIZE = 10 + +# By default doxygen will tell dot to use the output directory to look for the +# FreeSans.ttf font (which doxygen will put there itself). If you specify a +# different font using DOT_FONTNAME you can set the path where dot +# can find it using this tag. + +DOT_FONTPATH = + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for groups, showing the direct groups dependencies + +GROUP_GRAPHS = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = NO + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT options are set to YES then +# doxygen will generate a call dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable call graphs +# for selected functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then +# doxygen will generate a caller dependency graph for every global function +# or class method. Note that enabling this option will significantly increase +# the time of a run. So in most cases it will be better to enable caller +# graphs for selected functions only using the \callergraph command. + +CALLER_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will generate a graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories +# in a graphical way. The dependency relations are determined by the #include +# relations between the files in the directories. + +DIRECTORY_GRAPH = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are svg, png, jpg, or gif. +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found in the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MSCFILE_DIRS tag can be used to specify one or more directories that +# contain msc files that are included in the documentation (see the +# \mscfile command). + +MSCFILE_DIRS = + +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the +# number of direct children of the root node in a graph is already larger than +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. + +DOT_GRAPH_MAX_NODES = 50 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. + +MAX_DOT_GRAPH_DEPTH = 0 + +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, because dot on Windows does not +# seem to support this out of the box. Warning: Depending on the platform used, +# enabling this option may lead to badly anti-aliased labels on the edges of +# a graph (i.e. they become hard to read). + +DOT_TRANSPARENT = NO + +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) +# support this, this feature is disabled by default. + +DOT_MULTI_TARGETS = NO + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES diff --git a/3rdparty/quazip-0.7/FindQuaZip.cmake b/3rdparty/quazip-0.7/FindQuaZip.cmake new file mode 100644 index 0000000..0142ca3 --- /dev/null +++ b/3rdparty/quazip-0.7/FindQuaZip.cmake @@ -0,0 +1,40 @@ +# QUAZIP_FOUND - QuaZip library was found +# QUAZIP_INCLUDE_DIR - Path to QuaZip include dir +# QUAZIP_INCLUDE_DIRS - Path to QuaZip and zlib include dir (combined from QUAZIP_INCLUDE_DIR + ZLIB_INCLUDE_DIR) +# QUAZIP_LIBRARIES - List of QuaZip libraries +# QUAZIP_ZLIB_INCLUDE_DIR - The include dir of zlib headers + + +IF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES) + # in cache already + SET(QUAZIP_FOUND TRUE) +ELSE (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES) + IF (WIN32) + FIND_PATH(QUAZIP_LIBRARY_DIR + WIN32_DEBUG_POSTFIX d + NAMES libquazip.dll + HINTS "C:/Programme/" "C:/Program Files" + PATH_SUFFIXES QuaZip/lib + ) + FIND_LIBRARY(QUAZIP_LIBRARIES NAMES libquazip.dll HINTS ${QUAZIP_LIBRARY_DIR}) + FIND_PATH(QUAZIP_INCLUDE_DIR NAMES quazip.h HINTS ${QUAZIP_LIBRARY_DIR}/../ PATH_SUFFIXES include/quazip) + FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR NAMES zlib.h) + ELSE(WIN32) + FIND_PACKAGE(PkgConfig) +# pkg_check_modules(PC_QCA2 QUIET qca2) + pkg_check_modules(PC_QUAZIP quazip) + FIND_LIBRARY(QUAZIP_LIBRARIES + WIN32_DEBUG_POSTFIX d + NAMES quazip + HINTS /usr/lib /usr/lib64 + ) + FIND_PATH(QUAZIP_INCLUDE_DIR quazip.h + HINTS /usr/include /usr/local/include + PATH_SUFFIXES quazip + ) + FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR zlib.h HINTS /usr/include /usr/local/include) + ENDIF (WIN32) + INCLUDE(FindPackageHandleStandardArgs) + SET(QUAZIP_INCLUDE_DIRS ${QUAZIP_INCLUDE_DIR} ${QUAZIP_ZLIB_INCLUDE_DIR}) + find_package_handle_standard_args(QUAZIP DEFAULT_MSG QUAZIP_LIBRARIES QUAZIP_INCLUDE_DIR QUAZIP_ZLIB_INCLUDE_DIR QUAZIP_INCLUDE_DIRS) +ENDIF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES) diff --git a/3rdparty/quazip-0.7/NEWS.txt b/3rdparty/quazip-0.7/NEWS.txt new file mode 100644 index 0000000..9da6dc4 --- /dev/null +++ b/3rdparty/quazip-0.7/NEWS.txt @@ -0,0 +1,149 @@ +QuaZIP changes + +* 2014-07-24 0.7 + * It is now possible to write ZIP files to sequential devices + like sockets (only in mdCreate mode, so no self-extract, sorry). + * A few zip64 fixes. + * Several bug fixes and portability improvements. + +* 2014-02-09 0.6.2 + * QuaZipNewInfo / QuaZipFileInfo64 now provide API to access/set + NTFS time stamps - useful even on non-NTFS systems if you + need more precise dates and times than default ones. + * QuaZipNewInfo may now be initialized from QuaZipFileInfo64. + * No more crashes when using QSaveFile as QIODevice for ZIP. + * The new QuaZip::setAutoClose() method allows leaving the + QIODevice open when you close the QuaZip instance. + * qztest now depends on quazip, no longer breaking the build. + +* 2014-01-26 0.6.1 + * Improved zip64 support. + * A LOT more tests thanks to g++ --coverage / lcov. + * JlCompress extraction methods now create files with default + permissions if they are zero in the original archive. + * Some QuaZipDir fixes (thanks to the new tests). + +* 2014-01-22 0.6 + * Minizip updated to 1.1 (with all the necessary modifications + re-done), and that means that... + * the long-awaited zip64 support is now available! + * A few rather minor fixes. + +* 2014-01-19 0.5.2 + * Some minor bug fixes. + * API to access file permissions subfield of the external + attributes. + * MS VS 2012 Express support. + * API to set the default codec used to encode/decode file names + (mainly for use by various wrappers such as JlCompress, when + you don't have direct access to the underlying QuaZip instance). + +* 2013-03-02 0.5.1 + * Lots of QuaZipDir fixes, thanks to all bug reporters. + * Full Qt Creator support. + * MS VS 2010 Express support. + * Qt5 support (didn't need any source code changes anyway). + * Lots of minor bug fixes. + +* 2012-09-07 0.5 + * Added run_moc.bat files for building under Windows in case Qt + integration is not available (e. g. VS 2008 Express). + * Added the QuaZipDir class to simplify ZIP navigation in terms + of directories. + * Added the QuaGzipFile class for working with GZIP archives. It + was added as a bonus since it has nothing to do with the main + purpose of the library. It probably won't get any major + improvements, although minor bug fixes are possible. + * Added the QuaZIODevice class for working with zlib + compression. It has nothing to do with the ZIP format, and + therefore the same notice as for the QuaGzipFile applies. + * The global comment is no longer erased when adding files to + an archive. + * Many bug fixes. + +* 2012-01-14 0.4.4 + * Fixed isSequential() test that was causing open() failures on + Unix. + * Fixed sub-directory compressing in JlCompress. + * Added MS VS 2008 solution, compatible with the binary Qt + distribution (tested on MS VS 2008 Express, had to run MOC + manually due to the lack of plugin in Express). + * Fixed extracting directories in JlCompress. + * Fixed JlCompress.h includes in the test suite, which used + lowercase names thus breaking on case-sensitive systems. + * Implemented missing QuaZipFile::getZip() that was only + declared. + * Fixed reopening closed files. + * Fixed possible memory leak in case of open error. + +* 2011-09-09 0.4.3 + * New test suite using QTestLib. + * Fixed bytesAvailable(), pos() and atEnd(). + * Added ZIP v1.0 support and disabling data descriptor for + compatibility with some older software. + * Fixed DLL export/import issues for some symbols. + * Added QUAZIP_STATIC macro for compiling as a static library or + directly including the source. + * Added getFileNameList() and getFileInfoList() convenience + functions. + * Added some buffering to JlCompress to improve performance. + +* 2011-08-10 0.4.2 + * Cmake patch (thanks to Bernhard Rosenkraenzer). + * Symbian patch (thanks to Hamish Willee). + * Documented the multiple files limitation of QuaZipFile. + * Fixed relative paths handling in JlCompress. + * Fixed linking to MinGW zlib. + +* 2011-05-26 0.4.1 + * License statement updated to avoid confusion. GPL license + removed for the very same reason. + * Parts of original package are now clearly marked as modified, + just as their license requires. + +* 2011-05-23 0.4 + * QuaZip and QuaZipFile classes now use the Pimpl idiom. This + means that future releases will probably be binary compatible + with this one, but it also means that this one is binary + incompatible with the old ones. + * IO API has been rewritten using QIODevice instead of standard + C library. Among other things it means that QuaZip now supports + files up to 4 GB in size instead of 2 GB. + * Added QuaZip methods allowing access to ZIP files represented + by any seekable QIODevice implementation (QBuffer is a good + example). + +* 2010-07-23 0.3 + * Fixed getComment() for global comments. + * Added some useful classes for calculating checksums (thanks to + Adam Walczak). + * Added some utility classes for working with whole directories + (thanks to Roberto Pompermaier). It would be nice if someone + documents these in English, though. + * Probably fixed some problems with passwords (thanks to Vasiliy + Sorokin). I didn't test it, though. + +* 2008-09-17 0.2.3 + * Fixed license notices in sources. + +* SVN + * Fixed a small bug in QuaZipFile::atEnd(). + +* 2007-01-16 0.2.2 + * Added LGPL as alternative license. + * Added FAQ documentation page. + +* 2006-03-21 0.2.1 + * Fixed setCommentCodec() bug. + * Fixed bug that set month 1-12 instead of 0-11, as specified in + zip.h. + * Added workaround for Qt's bug that caused wrong timestamps. + * Few documentation fixes and cosmetic changes. + +* 2005-07-08 0.2 + * Write support. + * Extended QuaZipFile API, including size(), *pos() functions. + * Support for comments encoding/decoding. + +* 2005-07-01 0.1 + * Initial version. diff --git a/3rdparty/quazip-0.7/README.txt b/3rdparty/quazip-0.7/README.txt new file mode 100644 index 0000000..811ac8a --- /dev/null +++ b/3rdparty/quazip-0.7/README.txt @@ -0,0 +1,66 @@ +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 you want to include QuaZIP sources directly in your project or if +you want to use QuaZIP compiled as a static library using +"qmake CONFIG+=statliclib", you have to define the QUAZIP_STATIC macro, +otherwise you're likely to run into problems as QuaZIP symbols will be +marked as dllimported. + +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. diff --git a/3rdparty/quazip-0.7/doc/html/JlCompress_8h_source.html b/3rdparty/quazip-0.7/doc/html/JlCompress_8h_source.html new file mode 100644 index 0000000..afb0c82 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/JlCompress_8h_source.html @@ -0,0 +1,131 @@ + + + + + + +QuaZIP: quazip/JlCompress.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
JlCompress.h
+
+
+
1 #ifndef JLCOMPRESSFOLDER_H_
+
2 #define JLCOMPRESSFOLDER_H_
+
3 
+
4 /*
+
5 Copyright (C) 2010 Roberto Pompermaier
+
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 3 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:
+
45 
+
51  static bool compressFile(QuaZip* zip, QString fileName, QString fileDest);
+
53 
+
62  static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive = true);
+
64 
+
70  static bool extractFile(QuaZip* zip, QString fileName, QString fileDest);
+
72 
+
76  static bool removeFile(QStringList listFile);
+
77 
+
78 public:
+
80 
+
85  static bool compressFile(QString fileCompressed, QString file);
+
87 
+
92  static bool compressFiles(QString fileCompressed, QStringList files);
+
94 
+
101  static bool compressDir(QString fileCompressed, QString dir = QString(), bool recursive = true);
+
102 
+
103 public:
+
105 
+
112  static QString extractFile(QString fileCompressed, QString fileName, QString fileDest = QString());
+
114 
+
121  static QStringList extractFiles(QString fileCompressed, QStringList files, QString dir = QString());
+
123 
+
129  static QStringList extractDir(QString fileCompressed, QString dir = QString());
+
131 
+
136  static QStringList getFileList(QString fileCompressed);
+
137 };
+
138 
+
139 #endif /* JLCOMPRESSFOLDER_H_ */
+
ZIP archive.
Definition: quazip.h:84
+
Utility class for typical operations.
Definition: JlCompress.h:42
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/annotated.html b/3rdparty/quazip-0.7/doc/html/annotated.html new file mode 100644 index 0000000..cd67568 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/annotated.html @@ -0,0 +1,78 @@ + + + + + + +QuaZIP: Class List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+ + + + + + + + + + + + + + + + +
oCJlCompressUtility class for typical operations
oCQIODevice_descriptor
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
+
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/bc_s.png b/3rdparty/quazip-0.7/doc/html/bc_s.png new file mode 100644 index 0000000000000000000000000000000000000000..224b29aa9847d5a4b3902efd602b7ddf7d33e6c2 GIT binary patch literal 676 zcmV;V0$crwP)y__>=_9%My z{n931IS})GlGUF8K#6VIbs%684A^L3@%PlP2>_sk`UWPq@f;rU*V%rPy_ekbhXT&s z(GN{DxFv}*vZp`F>S!r||M`I*nOwwKX+BC~3P5N3-)Y{65c;ywYiAh-1*hZcToLHK ztpl1xomJ+Yb}K(cfbJr2=GNOnT!UFA7Vy~fBz8?J>XHsbZoDad^8PxfSa0GDgENZS zuLCEqzb*xWX2CG*b&5IiO#NzrW*;`VC9455M`o1NBh+(k8~`XCEEoC1Ybwf;vr4K3 zg|EB<07?SOqHp9DhLpS&bzgo70I+ghB_#)K7H%AMU3v}xuyQq9&Bm~++VYhF09a+U zl7>n7Jjm$K#b*FONz~fj;I->Bf;ule1prFN9FovcDGBkpg>)O*-}eLnC{6oZHZ$o% zXKW$;0_{8hxHQ>l;_*HATI(`7t#^{$(zLe}h*mqwOc*nRY9=?Sx4OOeVIfI|0V(V2 zBrW#G7Ss9wvzr@>H*`r>zE z+e8bOBgqIgldUJlG(YUDviMB`9+DH8n-s9SXRLyJHO1!=wY^79WYZMTa(wiZ!zP66 zA~!21vmF3H2{ngD;+`6j#~6j;$*f*G_2ZD1E;9(yaw7d-QnSCpK(cR1zU3qU0000< KMNUMnLSTYoA~SLT literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/bdwn.png b/3rdparty/quazip-0.7/doc/html/bdwn.png new file mode 100644 index 0000000000000000000000000000000000000000..940a0b950443a0bb1b216ac03c45b8a16c955452 GIT binary patch literal 147 zcmeAS@N?(olHy`uVBq!ia0vp^>_E)H!3HEvS)PKZC{Gv1kP61Pb5HX&C2wk~_T + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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
compressFile(QString fileCompressed, QString file)JlCompressstatic
compressFiles(QString fileCompressed, QStringList files)JlCompressstatic
extractDir(QString fileCompressed, QString dir=QString())JlCompressstatic
extractFile(QString fileCompressed, QString fileName, QString fileDest=QString())JlCompressstatic
extractFiles(QString fileCompressed, QStringList files, QString dir=QString())JlCompressstatic
getFileList(QString fileCompressed)JlCompressstatic
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classJlCompress.html b/3rdparty/quazip-0.7/doc/html/classJlCompress.html new file mode 100644 index 0000000..7215343 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classJlCompress.html @@ -0,0 +1,475 @@ + + + + + + +QuaZIP: JlCompress Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 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...
 
+

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.
+

OK Comprime il file fileName nel file fileCompressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • la compressione del file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

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.
+

OK Comprime i file specificati in files nel file fileCompressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • la compressione di un file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

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.

+
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.
+

OK Comprime la cartella dir nel file fileCompressed, se recursive e true allora comprime anche le sotto cartelle. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • la compressione di un file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

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.
+

OK Estrae il file fileName, contenuto nel file fileCompressed, con il nome fileDest. Se fileDest = "" allora il file viene estratto con lo stesso nome con cui e stato compresso. Se la funzione fallisce cancella il file che si e tentato di estrarre. Restituisce il nome assoluto del file estratto.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • l'estrazione del file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
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.
+

OK Estrae i file specificati in files, contenuti nel file fileCompressed, nella cartella dir. La struttura a cartelle del file compresso viene rispettata. Se dir = "" allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • l'estrazione di un file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

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

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
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.
+

OK Estrae il file fileCompressed nella cartella dir. Se dir = "" allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • la compressione di un file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

References QuaZip::close(), QuaZip::getCurrentFileName(), QuaZip::getZipError(), QuaZip::goToFirstFile(), QuaZip::goToNextFile(), QuaZip::mdUnzip, and QuaZip::open().

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
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.
+

OK Restituisce la lista dei file resenti nel file compresso fileCompressed. Se la funzione fallisce, restituisce un elenco vuoto.

+

La funzione fallisce se:

+
    +
  • non si riesce ad aprire l'oggetto zip;
  • +
  • la richiesta di informazioni di un file fallisce;
  • +
  • non si riesce a chiudere l'oggetto zip;
  • +
+ +

References QuaZip::close(), QuaZip::getCurrentFileInfo(), QuaZip::getZipError(), QuaZip::goToFirstFile(), QuaZip::goToNextFile(), QuaZip::mdUnzip, QuaZipFileInfo64::name, and QuaZip::open().

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32-members.html b/3rdparty/quazip-0.7/doc/html/classQuaAdler32-members.html new file mode 100644 index 0000000..42c3b52 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaAdler32-members.html @@ -0,0 +1,67 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32.html b/3rdparty/quazip-0.7/doc/html/classQuaAdler32.html new file mode 100644 index 0000000..1cc4881 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaAdler32.html @@ -0,0 +1,194 @@ + + + + + + +QuaZIP: QuaAdler32 Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.map new file mode 100644 index 0000000..7cb921c --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.md5 new file mode 100644 index 0000000..2a901c2 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.md5 @@ -0,0 +1 @@ +795e0a3b4a0bae2411933397a89b71a1 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..978c35d22c3869605391e047ef519237f64b84db GIT binary patch literal 3849 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 + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.md5 new file mode 100644 index 0000000..2a901c2 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.md5 @@ -0,0 +1 @@ +795e0a3b4a0bae2411933397a89b71a1 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..978c35d22c3869605391e047ef519237f64b84db GIT binary patch literal 3849 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 + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaChecksum32.html b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32.html new file mode 100644 index 0000000..f74c14c --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32.html @@ -0,0 +1,197 @@ + + + + + + +QuaZIP: QuaChecksum32 Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.map new file mode 100644 index 0000000..7f30436 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.map @@ -0,0 +1,4 @@ + + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.md5 new file mode 100644 index 0000000..5a4e2e4 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.md5 @@ -0,0 +1 @@ +5b48ecc144d4d5efcb34bba2670a3897 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..5e90c8e36913054b55fd0ea42fdbf7bcaee0d330 GIT binary patch literal 6444 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 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32-members.html b/3rdparty/quazip-0.7/doc/html/classQuaCrc32-members.html new file mode 100644 index 0000000..3ab2ec6 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaCrc32-members.html @@ -0,0 +1,67 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32.html b/3rdparty/quazip-0.7/doc/html/classQuaCrc32.html new file mode 100644 index 0000000..08829bc --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaCrc32.html @@ -0,0 +1,194 @@ + + + + + + +QuaZIP: QuaCrc32 Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.map new file mode 100644 index 0000000..09ca7c5 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.md5 new file mode 100644 index 0000000..ae9e4e9 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.md5 @@ -0,0 +1 @@ +5b4a33bc446c21199b866ccdd40d2554 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..78ad7d753547ce7a128aa58e5cae757c02202dfc GIT binary patch literal 3690 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 F{so-GE@1!w literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.map new file mode 100644 index 0000000..09ca7c5 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.md5 new file mode 100644 index 0000000..ae9e4e9 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.md5 @@ -0,0 +1 @@ +5b4a33bc446c21199b866ccdd40d2554 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..78ad7d753547ce7a128aa58e5cae757c02202dfc GIT binary patch literal 3690 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 F{so-GE@1!w literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile-members.html b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile-members.html new file mode 100644 index 0000000..fc74b61 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile-members.html @@ -0,0 +1,75 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile.html b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile.html new file mode 100644 index 0000000..73dc96e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile.html @@ -0,0 +1,349 @@ + + + + + + +QuaZIP: QuaGzipFile Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+ +
+ +

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 --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.map new file mode 100644 index 0000000..fbb01df --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.md5 new file mode 100644 index 0000000..9f5fd2a --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.md5 @@ -0,0 +1 @@ +e0277ee552f5a008221020ca6b772194 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..b76676dbd8c97ba745b19ae93ad37656ef34a84c GIT binary patch literal 3070 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 + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.md5 new file mode 100644 index 0000000..9f5fd2a --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.md5 @@ -0,0 +1 @@ +e0277ee552f5a008221020ca6b772194 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..b76676dbd8c97ba745b19ae93ad37656ef34a84c GIT binary patch literal 3070 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 + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
QuaZIODevice Member List
+
+
+ +

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

+ + + + + + + + + + +
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZIODevice.html b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice.html new file mode 100644 index 0000000..9af3cef --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice.html @@ -0,0 +1,261 @@ + + + + + + +QuaZIP: QuaZIODevice Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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.
 
+ + + + + + + +

+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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.map new file mode 100644 index 0000000..0ebbaa6 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.md5 new file mode 100644 index 0000000..5181ada --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.md5 @@ -0,0 +1 @@ +bee37f07c3561c0975a5aed194b73e95 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..7f731755c5d270d3304969d06fbccb6191360bab GIT binary patch literal 3294 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 YU#yq2T||liKP+s + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.md5 new file mode 100644 index 0000000..5181ada --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.md5 @@ -0,0 +1 @@ +bee37f07c3561c0975a5aed194b73e95 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..7f731755c5d270d3304969d06fbccb6191360bab GIT binary patch literal 3294 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 YU#yq2T||liKP+s + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZip.html b/3rdparty/quazip-0.7/doc/html/classQuaZip.html new file mode 100644 index 0000000..3c3b784 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZip.html @@ -0,0 +1,1203 @@ + + + + + + +QuaZIP: QuaZip Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+ +
+ +

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 using 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(), JlCompress::extractDir(), JlCompress::extractFile(), JlCompress::extractFiles(), JlCompress::getFileList(), 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(), JlCompress::extractDir(), JlCompress::extractFile(), JlCompress::extractFiles(), JlCompress::getFileList(), 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(), JlCompress::extractDir(), JlCompress::extractFile(), JlCompress::extractFiles(), QuaZipFile::getActualFileName(), QuaZipFile::getFileInfo(), JlCompress::getFileList(), 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.

+ +

Referenced by JlCompress::extractDir(), and JlCompress::getFileList().

+ +
+
+ +
+
+ + + + + + + +
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 JlCompress::extractDir(), JlCompress::getFileList(), and 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(), and JlCompress::getFileList().

+ +
+
+ +
+
+ + + + + + + + +
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 JlCompress::extractDir(), 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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZipDir-members.html b/3rdparty/quazip-0.7/doc/html/classQuaZipDir-members.html new file mode 100644 index 0000000..a1ed51a --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipDir-members.html @@ -0,0 +1,94 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZipDir.html b/3rdparty/quazip-0.7/doc/html/classQuaZipDir.html new file mode 100644 index 0000000..e4b0cf7 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipDir.html @@ -0,0 +1,669 @@ + + + + + + +QuaZIP: QuaZipDir Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile-members.html b/3rdparty/quazip-0.7/doc/html/classQuaZipFile-members.html new file mode 100644 index 0000000..cb02c4e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFile-members.html @@ -0,0 +1,95 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile.html b/3rdparty/quazip-0.7/doc/html/classQuaZipFile.html new file mode 100644 index 0000000..1601393 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFile.html @@ -0,0 +1,1034 @@ + + + + + + +QuaZIP: QuaZipFile Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+ +
+ +

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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate-members.html b/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate-members.html new file mode 100644 index 0000000..71eb624 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate-members.html @@ -0,0 +1,63 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
QuaZipFilePrivate Member List
+
+
+ +

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

+ + +
QuaZipFile (defined in QuaZipFilePrivate)QuaZipFilePrivatefriend
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate.html b/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate.html new file mode 100644 index 0000000..1e21914 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate.html @@ -0,0 +1,77 @@ + + + + + + +QuaZIP: QuaZipFilePrivate Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.map new file mode 100644 index 0000000..4dcdf8e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.map @@ -0,0 +1,2 @@ + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.md5 new file mode 100644 index 0000000..de2cca2 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.md5 @@ -0,0 +1 @@ +0f27cd2f62b73e752c173777f208a383 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..0d1ed3694e4d2e12d34f21c7a43469ab2695c8ca GIT binary patch literal 2870 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 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.map b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.map new file mode 100644 index 0000000..4dcdf8e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.map @@ -0,0 +1,2 @@ + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.md5 new file mode 100644 index 0000000..de2cca2 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.md5 @@ -0,0 +1 @@ +0f27cd2f62b73e752c173777f208a383 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.png b/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.png new file mode 100644 index 0000000000000000000000000000000000000000..0d1ed3694e4d2e12d34f21c7a43469ab2695c8ca GIT binary patch literal 2870 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 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate-members.html b/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate-members.html new file mode 100644 index 0000000..ba47dc3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate-members.html @@ -0,0 +1,65 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate.html b/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate.html new file mode 100644 index 0000000..cdc048e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate.html @@ -0,0 +1,77 @@ + + + + + + +QuaZIP: QuaZipPrivate Class Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/classes.html b/3rdparty/quazip-0.7/doc/html/classes.html new file mode 100644 index 0000000..c09b5ec --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/classes.html @@ -0,0 +1,72 @@ + + + + + + +QuaZIP: Class Index + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
Class Index
+
+
+
J | Q
+ + + + + + + + +
  J  
+
QuaAdler32   QuaZIODevice   QuaZipFileInfo   QuaZipPrivate   
QuaChecksum32   QuaZip   QuaZipFileInfo64   
JlCompress   QuaCrc32   QuaZipDir   QuaZipFilePrivate   
  Q  
+
QuaGzipFile   QuaZipFile   QuaZipNewInfo   
QIODevice_descriptor   
+
J | Q
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/closed.png b/3rdparty/quazip-0.7/doc/html/closed.png new file mode 100644 index 0000000000000000000000000000000000000000..98cc2c909da37a6df914fbf67780eebd99c597f5 GIT binary patch literal 132 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4>1|%O$WD@{V-kvUwAr*{o@8{^CZMh(5KoB^r_<4^zF@3)Cp&&t3hdujKf f*?bjBoY!V+E))@{xMcbjXe@)LtDnm{r-UW|*e5JT literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html new file mode 100644 index 0000000..5d8a0eb --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html @@ -0,0 +1,113 @@ + + + + + + +QuaZIP: quazip Directory Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map new file mode 100644 index 0000000..6987f92 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 new file mode 100644 index 0000000..d07b47e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 @@ -0,0 +1 @@ +b521f3e7499357b3270e414f244f2eff \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.png b/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.png new file mode 100644 index 0000000000000000000000000000000000000000..f97ef1d35443fe03bd45d967fd9ed00339d5de09 GIT binary patch literal 1147 zcmeAS@N?(olHy`uVBq!ia0vp^!9Z-y!3HGRMYov)DYhhUcNd2LAh=-f^2rPgEC!w~ zjv*Cu-p&s6hz^%H{{P&Yv^B+Moq>}Cj;6hoS-R;GTlg;pyDj{S^_^EqFU#(ny^v?R zdSJNXTcg)jLE4EPt8)*Q%62M+2yEnE+9b(y?QEFVlxuB9Q`XdS%ysi=s`#dmrlz)a z?S0eiA9V!}?i9bbd~R*;m&f$nyHCKWVPV39ULW@fz8id;BGeSSp0q{iu&uw|?V&QM zvm%cBOq%hkRjaPu7x3iaA;5HWrxC7BzSBMTt#rX?6d~EM(3~_9|wl zWSOuQSnWTb!L#XPOkA8>{`>wFD}FGzCCl;2-s=DOF*;y%@wHl&$?Nm)NVugwm3#3u zfAJch_I2z2tGq19KkA+MaQ4T#?Bfw@`+Il}CRNH?my0c0`ZU{Rap2Br+zLkn^+m(i z$2Hx4duV5|c*4e-mXjwr=U9CF+4lF)!%7+JuwG^NH6N?PRMzMnr zP6=)iVEX!XzSGj6<+86oJQ{@!0TX8pX2?9H1$Zu3YHG>hhylAdi~_D%iHyLT;i+}w#KCRY~j-py|{_u)=M zo2oAbzJD1@to~}Red;>VH!XH9uV1>bn_Jt5FE8)!s4Ny)?!TQO;-@4tgWY}q8T02m z`}eEg)0gU166e5z94yNW4L@4P ztjiAwPF@<9rgYL$&ThUxgTTTGH$o~usi;Lo?-x~7U7B=zTY1aTP4Qp8{S%V^{p93( z7hqBejLH(azK&P*%*}iEG()tu8c6gUdizf7>ecz2YqtfoI5{y0Oj6-o8Zq60iP~o_=L--@kXy&0VYW(y;M>$+x%0 zr{`5EKet)^(onOg#q#FVNo%Ieoc>*}Pkwv;&ppvv#mD=;Z&TUrw_4XF{W(a1KJ3`XTLsV0$-m53o6q(0Z{5V%vuA(&U-EyxcVXejZrK%v s>v`l?1VZwW1_MuuRfo>Q?e&a;XPyc^y)HfxSeh_+y85}Sb4q9e0H^y5rT_o{ literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/doxygen.css b/3rdparty/quazip-0.7/doc/html/doxygen.css new file mode 100644 index 0000000..f0f36f8 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/doxygen.css @@ -0,0 +1,1366 @@ +/* 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; + } +} + diff --git a/3rdparty/quazip-0.7/doc/html/doxygen.png b/3rdparty/quazip-0.7/doc/html/doxygen.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff17d807fd8aa003bed8bb2a69e8f0909592fd1 GIT binary patch literal 3779 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 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/dynsections.js b/3rdparty/quazip-0.7/doc/html/dynsections.js new file mode 100644 index 0000000..ed092c7 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/dynsections.js @@ -0,0 +1,97 @@ +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 +
+
+
+ + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/files.html b/3rdparty/quazip-0.7/doc/html/files.html new file mode 100644 index 0000000..9aa3644 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/files.html @@ -0,0 +1,74 @@ + + + + + + +QuaZIP: File List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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
+
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/ftv2blank.png b/3rdparty/quazip-0.7/doc/html/ftv2blank.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2cl.png b/3rdparty/quazip-0.7/doc/html/ftv2cl.png new file mode 100644 index 0000000000000000000000000000000000000000..132f6577bf7f085344904602815a260d29f55d9b GIT binary patch literal 453 zcmV;$0XqJPP)VBF;ev;toEj8_OB0EQg5eYilIj#JZG_m^33l3^k4mtzx!TVD?g)Y$ zrvwRDSqT!wLIM$dWCIa$vtxE|mzbTzu-y&$FvF6WA2a{Wr1g}`WdPT-0JzEZ0IxAv z-Z+ejZc&H;I5-pb_SUB}04j0^V)3t{`z<7asDl2Tw3w3sP%)0^8$bhEg)IOTBcRXv zFfq~3&gvJ$F-U7mpBW8z1GY~HK&7h4^YI~Orv~wLnC0PP_dAkv;nzX{9Q|8Gv=2ca z@v)c9T;D#h`TZ2X&&$ff2wedmot995de~-s3I)yauahg;7qn*?1n?F$e+PwP37}~; z1NKUk7reVK^7A;$QRW7qAx40HHUZ<|k3U%nz(Ec`#i+q9K!dgcROAlCS?`L= v>#=f?wF5ZND!1uAfQsk;KN^4&*8~0npJiJ%2dj9(00000NkvXXu0mjfWVFf_ literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2doc.png b/3rdparty/quazip-0.7/doc/html/ftv2doc.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2folderclosed.png b/3rdparty/quazip-0.7/doc/html/ftv2folderclosed.png new file mode 100644 index 0000000000000000000000000000000000000000..bb8ab35edce8e97554e360005ee9fc5bffb36e66 GIT binary patch literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2lastnode.png b/3rdparty/quazip-0.7/doc/html/ftv2lastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2link.png b/3rdparty/quazip-0.7/doc/html/ftv2link.png new file mode 100644 index 0000000000000000000000000000000000000000..17edabff95f7b8da13c9516a04efe05493c29501 GIT binary patch literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2mlastnode.png b/3rdparty/quazip-0.7/doc/html/ftv2mlastnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2mnode.png b/3rdparty/quazip-0.7/doc/html/ftv2mnode.png new file mode 100644 index 0000000000000000000000000000000000000000..0b63f6d38c4b9ec907b820192ebe9724ed6eca22 GIT binary patch literal 246 zcmVkw!R34#Lv2LOS^S2tZA31X++9RY}n zChwn@Z)Wz*WWHH{)HDtJnq&A2hk$b-y(>?@z0iHr41EKCGp#T5?07*qoM6N<$f(V3Pvj6}9 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2mo.png b/3rdparty/quazip-0.7/doc/html/ftv2mo.png new file mode 100644 index 0000000000000000000000000000000000000000..4bfb80f76e65815989a9350ad79d8ce45380e2b1 GIT binary patch literal 403 zcmV;E0c`$>P)${!fXv7NWJ%@%u4(KapRY>T6_x;E zxE7kt!}Tiw8@d9Sd`rTGum>z#Q14vIm`wm1#-byD1muMi02@YNO5LRF0o!Y{`a!Ya z{^&p0Su|s705&2QxmqdexG+-zNKL3f@8gTQSJrKByfo+oNJ^-{|Mn||Q5SDwjQVsS zr1}7o5-QMs>gYIMD>GRw@$lT`z4r-_m{5U#cR{urD_)TOeY)(UD|qZ^&y`IVijqk~ xs(9-kWFr7E^!lgi8GsFK5kOY_{Xbgf0^etEU%fLevs?fG002ovPDHLkV1nB&vX1}& literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2node.png b/3rdparty/quazip-0.7/doc/html/ftv2node.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2ns.png b/3rdparty/quazip-0.7/doc/html/ftv2ns.png new file mode 100644 index 0000000000000000000000000000000000000000..72e3d71c2892d6f00e259facebc88b45f6db2e35 GIT binary patch literal 388 zcmV-~0ek+5P)f+++#cT|!CkD&4pnIkeMEUEM*>`*9>+Juji$!h-mW%M^8s9957{3nvbrz^&=u<~TAUrFROkmt%^F~Ez+-c53Lv%iH3d38!Rv?K zrb&MYAhp;Gf<}wS;9ZZq2@;!uYG;=Z>~GKE^{HD4keu}lnyqhc>kWX^tQn|warJ~h zT+rtMkdz6aHoN%z(o|&wpu@@OpJnF_z{PA)6(FHw02iHslz^(N{4*+K9)QJHR87wT iTyp>aXaF{u2lxRou|^4tux6eB0000^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2pnode.png b/3rdparty/quazip-0.7/doc/html/ftv2pnode.png new file mode 100644 index 0000000000000000000000000000000000000000..c6ee22f937a07d1dbfc27c669d11f8ed13e2f152 GIT binary patch literal 229 zcmV^P)R?RzRoKvklcaQ%HF6%rK2&ZgO(-ihJ_C zzrKgp4jgO( fd_(yg|3PpEQb#9`a?Pz_00000NkvXXu0mjftR`5K literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2splitbar.png b/3rdparty/quazip-0.7/doc/html/ftv2splitbar.png new file mode 100644 index 0000000000000000000000000000000000000000..fe895f2c58179b471a22d8320b39a4bd7312ec8e GIT binary patch literal 314 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/ftv2vertline.png b/3rdparty/quazip-0.7/doc/html/ftv2vertline.png new file mode 100644 index 0000000000000000000000000000000000000000..63c605bb4c3d941c921a4b6cfa74951e946bcb48 GIT binary patch literal 86 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRr!3HExu9B$%QnH>djv*C{Z|`mdau^P8_z}#X h?B8GEpdi4(BFDx$je&7RrDQEg&ePS;Wt~$(69Dh@6T1Ka literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/functions.html b/3rdparty/quazip-0.7/doc/html/functions.html new file mode 100644 index 0000000..bf7013d --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions.html @@ -0,0 +1,97 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_b.html b/3rdparty/quazip-0.7/doc/html/functions_b.html new file mode 100644 index 0000000..ac2d85b --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_b.html @@ -0,0 +1,97 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_c.html b/3rdparty/quazip-0.7/doc/html/functions_c.html new file mode 100644 index 0000000..047cbcb --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_c.html @@ -0,0 +1,160 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_d.html b/3rdparty/quazip-0.7/doc/html/functions_d.html new file mode 100644 index 0000000..bbd5709 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_d.html @@ -0,0 +1,106 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_e.html b/3rdparty/quazip-0.7/doc/html/functions_e.html new file mode 100644 index 0000000..c6aefb7 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_e.html @@ -0,0 +1,130 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_enum.html b/3rdparty/quazip-0.7/doc/html/functions_enum.html new file mode 100644 index 0000000..c7cac72 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_enum.html @@ -0,0 +1,75 @@ + + + + + + +QuaZIP: Class Members - Enumerations + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_eval.html b/3rdparty/quazip-0.7/doc/html/functions_eval.html new file mode 100644 index 0000000..f896c2f --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_eval.html @@ -0,0 +1,93 @@ + + + + + + +QuaZIP: Class Members - Enumerator + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_f.html b/3rdparty/quazip-0.7/doc/html/functions_f.html new file mode 100644 index 0000000..b483a58 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_f.html @@ -0,0 +1,108 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_func.html b/3rdparty/quazip-0.7/doc/html/functions_func.html new file mode 100644 index 0000000..af2ced3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_func.html @@ -0,0 +1,532 @@ + + + + + + +QuaZIP: Class Members - Functions + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- g -

+ + +

- h -

    +
  • hasCurrentFile() +: QuaZip +
  • +
+ + +

- i -

+ + +

- n -

+ + +

- o -

+ + +

- p -

+ + +

- q -

+ + +

- r -

+ + +

- s -

+ + +

- t -

+ + +

- u -

+ + +

- v -

+ + +

- w -

+ + +

- ~ -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_g.html b/3rdparty/quazip-0.7/doc/html/functions_g.html new file mode 100644 index 0000000..35f1b33 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_g.html @@ -0,0 +1,180 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_h.html b/3rdparty/quazip-0.7/doc/html/functions_h.html new file mode 100644 index 0000000..293ac41 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_h.html @@ -0,0 +1,97 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

    +
  • hasCurrentFile() +: QuaZip +
  • +
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_i.html b/3rdparty/quazip-0.7/doc/html/functions_i.html new file mode 100644 index 0000000..962ebaf --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_i.html @@ -0,0 +1,122 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_m.html b/3rdparty/quazip-0.7/doc/html/functions_m.html new file mode 100644 index 0000000..8455d67 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_m.html @@ -0,0 +1,119 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_n.html b/3rdparty/quazip-0.7/doc/html/functions_n.html new file mode 100644 index 0000000..76df8b7 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_n.html @@ -0,0 +1,102 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_o.html b/3rdparty/quazip-0.7/doc/html/functions_o.html new file mode 100644 index 0000000..025f774 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_o.html @@ -0,0 +1,112 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- o -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_p.html b/3rdparty/quazip-0.7/doc/html/functions_p.html new file mode 100644 index 0000000..293daf3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_p.html @@ -0,0 +1,100 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_q.html b/3rdparty/quazip-0.7/doc/html/functions_q.html new file mode 100644 index 0000000..b643ec8 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_q.html @@ -0,0 +1,112 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- q -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_r.html b/3rdparty/quazip-0.7/doc/html/functions_r.html new file mode 100644 index 0000000..9fa41a3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_r.html @@ -0,0 +1,107 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_s.html b/3rdparty/quazip-0.7/doc/html/functions_s.html new file mode 100644 index 0000000..ac710d3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_s.html @@ -0,0 +1,174 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_t.html b/3rdparty/quazip-0.7/doc/html/functions_t.html new file mode 100644 index 0000000..03cfffb --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_t.html @@ -0,0 +1,97 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- t -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_u.html b/3rdparty/quazip-0.7/doc/html/functions_u.html new file mode 100644 index 0000000..bde0054 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_u.html @@ -0,0 +1,110 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_v.html b/3rdparty/quazip-0.7/doc/html/functions_v.html new file mode 100644 index 0000000..a8e9a90 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_v.html @@ -0,0 +1,107 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- v -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_vars.html b/3rdparty/quazip-0.7/doc/html/functions_vars.html new file mode 100644 index 0000000..c6020e2 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_vars.html @@ -0,0 +1,192 @@ + + + + + + +QuaZIP: Class Members - Variables + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+  + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- f -

+ + +

- i -

+ + +

- m -

+ + +

- n -

+ + +

- u -

+ + +

- v -

+ + +

- z -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_w.html b/3rdparty/quazip-0.7/doc/html/functions_w.html new file mode 100644 index 0000000..e8a1f98 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_w.html @@ -0,0 +1,99 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_z.html b/3rdparty/quazip-0.7/doc/html/functions_z.html new file mode 100644 index 0000000..783b6b0 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_z.html @@ -0,0 +1,97 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- z -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/functions_~.html b/3rdparty/quazip-0.7/doc/html/functions_~.html new file mode 100644 index 0000000..e2a2022 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/functions_~.html @@ -0,0 +1,109 @@ + + + + + + +QuaZIP: Class Members + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + + +
+
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- ~ -

+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/graph_legend.html b/3rdparty/quazip-0.7/doc/html/graph_legend.html new file mode 100644 index 0000000..886eb7d --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/graph_legend.html @@ -0,0 +1,116 @@ + + + + + + +QuaZIP: Graph Legend + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/graph_legend.md5 b/3rdparty/quazip-0.7/doc/html/graph_legend.md5 new file mode 100644 index 0000000..a06ed05 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/graph_legend.md5 @@ -0,0 +1 @@ +387ff8eb65306fa251338d3c9bd7bfff \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/graph_legend.png b/3rdparty/quazip-0.7/doc/html/graph_legend.png new file mode 100644 index 0000000000000000000000000000000000000000..6c1d0c239cee3d6ab988e201fd3eac718f39467c GIT binary patch literal 19871 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%0DRbJG>wef$x?%BQUB@KF@zEw9bH{mrQnO* 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 Kq4 + + + + + +QuaZIP: Class Hierarchy + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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
oCQIODevice_descriptor
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 --git a/3rdparty/quazip-0.7/doc/html/index.html b/3rdparty/quazip-0.7/doc/html/index.html new file mode 100644 index 0000000..4d1a5bb --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/index.html @@ -0,0 +1,130 @@ + + + + + + +QuaZIP: QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_0.map b/3rdparty/quazip-0.7/doc/html/inherit_graph_0.map new file mode 100644 index 0000000..1df0aaf --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_0.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_0.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_0.md5 new file mode 100644 index 0000000..bcde3ce --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_0.md5 @@ -0,0 +1 @@ +604c34fe4053b4b0723fa2c0961b67a6 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_0.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_0.png new file mode 100644 index 0000000000000000000000000000000000000000..8ad5efd098ae32a2c0bf916c1ff15d82cb0efe5e GIT binary patch literal 1293 zcmV+o1@iidP)!Nl3&-xtQc)&ki|dXSJ5aX1y1`-ffL}|1aZZSMPkTp83x2@XWVo zpPkb_QtnVoK~xij*ez97*kVIdwY8Y1qC9JXk}&P zJNB{_1g|4sr>(6mDJf}mbQE5OhlgKYUiS9(rlzKT$96X1TPkjDZmznz+FEIAYa1II zgYoU{ZAnQ9o6Yw1^{uO`dwhHZ03Zl5K0Y267Ut>c+1=eeF)d zi;JP5p&SmUs;cVg=?RK!YioXfe%ssICX=bYzMjkFayXp&`g)Ve1OQlGUXF~6ba8PB z3JRK-n1Bfoil657EqQr)d3kxSA4V>h!$mBCPNxF^U>NpKQ;Ld;l9Q8_N+pV-5fKsX z?d|aNA`*%8dOfUDp-`yT>*3+==H>=2E)WQ0GMQ8=#Kbf-G#Cs9XJ_Z3p`nY5i?OjWM@L74!9Xbf`56g4`R|RxFbn{o)9DDu zKR-XyXtcw_LwGqqKhNXwpm7HW2XFu`mdoXEaTG=2tf{Ff9*>6;`F#Gx#RZI4S68E= zqA(1j)9Jmvy*i!FY&PHB-MzfL5Q=|(MnX@>{8R@925xU}Ed`6a%VaXST<+1)k+rzL zzaJYL`|$8^b#?Xf@)8^z40RrlcXoCLV>dT9005m%$Hf*xLPB7`=kqPI_0bu_2X8eSLis6BD<#wj3NB2t^VmkeMTqNYrXIjI~;=tE($+ zKxSrUUtgcKr<0SDCXsi3Y@Dt&x>KDaL|F#v!}CiC|8hOxz5Hk&P% z%V9a_bULY2YBUT%49NGELM4W`ThMp?1sU? z!A?$2d_I41aS@Ir6hGVJ2)@Sw0PO9vl0u;f2?=@MPk#nNPpGphNq&cM?(Xgt6&1G5 z;tjvUI1Yz1G&E%EEZ*=tjI%>1<48goM-s|7k`R24Q>j!VBO^bbiru18se*!n@G9 + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_1.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_1.md5 new file mode 100644 index 0000000..94f4394 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_1.md5 @@ -0,0 +1 @@ +4f005cea63482f14ad91198af33b4e15 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_1.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_1.png new file mode 100644 index 0000000000000000000000000000000000000000..5e550db7846cde0938af3761c3dea77bd75e4dcc GIT binary patch literal 2239 zcmYjTc|2QL8_v*H2Az@0lt`;BwT$+ov6QC6P_dTSB1BOVYOke+e%6+TimimIiV{mm zNn_tSmLP&yYHv&JwO7@?mARdNzVDoS&-vs2?t9<&InVRFH^vmLcbZ>}9|QuOHqb|z z1A8uTOMy=Tt2_~>18k@8xAjn<;~z7-zJLq@f&C3oT9}8FFBC6*@&ug2bpE(TRUR44 zmtOLx7P>m)r6dd?j%HYC!!tMq!$OMNW8Fj&WK%-%ilTWZpRP1sNL@4E!eG!c#iBep zO0>t{1O2JtShev}%^2j{oyB1*9`WNbnJmn(d;478{%Ok7@FS}J>3as=;k=^?(D_cwG5BJ8O!=!K5x< zeuge6Ul{4{zeOYxH|M(Ho!#B}>+61`#6;C~4_DWV#9LaSp`rfsJ?F*5#c6A6K4M~G z`?()8Gcy-wJILYCmY3;^he1I>PdPK)+B)|h{hXYf{46EKsnh9saq(5pu^I@FzV3Iq zRDKN&4Ow~lwr~@$mV8?8`>%7|8PeZDn#>Wx0L{3a%gwN43_r4!k51<{I&|q7qn?mR z{1&v%8+Tyb&Q4hcg+xzJ&$#{b=g!IAyqVF-<+^;4IU7qaF7EO~1K~t8Fr|qgf1FNj*S%<8XAIm5rDi>va(FZ$Hy!1Y<|Pr zx0P)E+s&?if-cC-$&ug(gD=X+$dD2eXuyE6iy4gkXU~MD{c2~Imv8T^e#)pqw}iaX z2sH!(U~FtUyLugp=yYmRljiisUP^kpfeqvNF!Qbn3bnerYUHJ@tz8j*95(&!;q2m~ z0S<>#Mk0|?oFXgcRr^SoqhU_D9W2#Q>M59)msk2re0;ohL&%Md3`grJ+D7pAeU-7X zG1{&%EkFNcPfw50+maHYn}MsXX$p7W_4Pdlj%9Xsc9Ipzx3;|p>ruvZc(%08_VRcnkPmeDmGBUnR%&!n57dz4f!db)SF>w=(;i_)luCAa&4uOwl)U>A+p+gLNWAAOsnh4teO%lS#;hhBOo9^IxsNM-NQr4 z&D+C6GD&~)P8b9NIs1V7*>8PggYdDwzJ7LUiZ%8Zhr<~tFv)5kAAfa5SeRZ{_j1r( zWoUTVJSb>CV{srbZMZ?-`AHq-CBJ}x+s0h?y$3wm%OlKz zVaA-hzgh}N2xKmodO6iFJ?J&yY<;Q9z00 z{mX?57u>zQRhNPR@>d{K#7-}61-*X#I)}y5Li$XCyhf|yPx0{;0BN@m4-b191L5~- z%gf0pcvvZj`}glV5eVAq>gq;!0|QkVwzYn`H}1vLx7Gt!Y2k;vj{)7ZwzW-vo8j#4 zev?FJB2P;2Wc5a4i=3Y?c8oGu3ewW202CHhR-T|Fv;aEiCFHl0*XxlbQ#e*KQq-54TzwS$&6+)703g&M)A75@@cV4OYVY# zg4ua_Cv4?K#NylVnT_|WX;q8w-&?nT_ET0>)s}@y0FG4}9~XD6;b8lVwyo_sz$Aa@ z4+?cs4ybxJp`j#ZO2?@APM-i&!usqtH9sE>5J?iKGkAN&k+iq9qWYnCd|X^hOG_>M z=#Q|YLpSA^4h3N3<>h5JHcrS6udQ9{9~hXLp60Q#vT|~A(qv$jw&UUi)sRTB^EEPe z-}m*IIXOFP0Z#Ct%vm3ejxwiHd_ydZjEu4i3&DVDeSCa0f##HF{yTZVybEyL-Mu|l zPtPwBNnjNfm4V?K!ie#@zXXb~44yrH)qN#6iFM!CDo+1lAn zO-(%}a1yj~`wo9Y_#MF=T30{4jd?n^0x2skMYwx;Icp#taB6jRb^5Z<itpa>YV88hfRs@@hGu?rWHcyVQPa{_V7Ws&@3*Ize&?o+4SS<2k^Z z-=NpjJfw23{d@q1#SS%*lGyGJ>~_4$zwNqfylHcD)6~GABV@RFJ&|A@XK!zhv9xrq zyzo=W;W3^-AZ&ixb}|a%ZD}q8l^ka!v4j5i_P@>kn0IIHe38&oaarJx1Z1FtM!mV^ G5b+PsY*ax2 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_10.map b/3rdparty/quazip-0.7/doc/html/inherit_graph_10.map new file mode 100644 index 0000000..776dd45 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_10.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_10.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_10.md5 new file mode 100644 index 0000000..5603530 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_10.md5 @@ -0,0 +1 @@ +d889f16826d333fc4daa5af88fc833cf \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_10.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_10.png new file mode 100644 index 0000000000000000000000000000000000000000..3acd6bf7a897a7f30149fa8982feeb16dd4297c3 GIT binary patch literal 1493 zcmV;`1uFW9P)TK~!jg?V3wS8(kE~ulhBL28}iyAJk}L#8e7Z5m8XHkOm8d7DZ!A zHwLwEhu8eg~kVMhirrxd}E{v!O5iQbYkwe7``Fi zj7FoQ{bYWtGlz4}J^6Fy-kY2FK?s2WZ}?wy0hb&>Uw#qv>;+7Z)20hODft^DXQ$u(7c*J3EW$iS{o5AS)|tU|`_9s=7Q3 z3=C*A8pJ8Azx*QT%P)ey{37VfFTU$*x7%xLYj5AaEf$M2GBR3QTb)klNt5_-VK$rn z{QQnNDl9DQ-o1M(D=SEh*CgkIkNVndw)FJ$xw*Nvwzluzzt`2(>2x}^TD`x&f1*4V zH`dnHl9H10^YbMV$%_{+jvhEOGh?w>wzjsWrlwpj*W<^Jk$~eQL0Dd1mP(~38sZ&z zkfNfZqM{<`jpxsw=j7x#ole$6l4N{*d{xfTg7+_HlD_ z69BNcx99WJ3`XY6=JlU_BurA+@!&A3uI{e=*(dk&%(q z)YRbM;OOY+wzf7T;q>(M>({S8efo6m+BJ3*W9aqzq@*Ma!=62RMp2Y!F-#dwr;~}F zn3#~sWFJ0!V3Is|@Sv)yiixBsDm*;=%a<>l^<-vd0sx|-qL^TsrfX_yA|oR)46CWB zp=sI|r4YT3)4x`$6#%favxE2z217(dgnJjTHbD>~kw~l6ZfYLm${J3FgTC|;NS~hT3X7i-JJRwjYjqZC=?2K@C)dbD_2x16_d?9 zo=sx6+e1P^=I7@jge4^<_4W0K)r07(R4OeN3uBLukEf)h94!l{z8v3=y&{oFqN1X3 z9M8+kbNAyou2d?KmxD1xB9X~tDlac5NisDx)jj6(=g*^~qd1QH`*SZ=iHV7fp;RiF zrIwLHp-^zfBQ*pE2j9Pce`shZIXQWFc=*SUA4k{2vbwq&9UaX+hJ}T3hIs+e`qZ*3r?ybOBA%5W>mHNoI;)zkUS<2I}>Cm&@gFIKY4XyS252 zVc6v4q56k89-rnBa++4=PSr5{`*RNk^XR%tXi;Ig# zYjT$RTT@fh_V)IjJ9oy$#!M!YTrPj~=+W=rzst(XBoYY#pr@yYAPDxdj-sePfBuL> zB8S7#+}sQRu-R+?0IgQ5(P)%P<+dBhT$PoTX0v%=VWFX+!Sft;9Mo#H)oN{SZq{nG zN7n-YAW4!j3JMD9>+9Fn){I7Detv#OM~4qn``Et_LXsq_tE+F_x)l@@l#r0n*x0C2 zsWci5gz(j?R}zUNAt6Dp*RxZ+dGjVBA|f_6wzISI;lqa*hQULAT1EQz{rmTEadA?q z^y$;54u=Dtyni8t6%`d?v6v)D*5g?ZP1D)g*vnHf%Kd?%k_a1kx0ZGAq80e>ieD0(9kDOo?LVlr{b^H7sIfw zuC9x&;#BZ`Gw>DVR?D^-Me?^U&{ZTZ{NOgc#-okdsQmn12UNm v(G&guj=tiSvs=*usHzWgHS%P;=|0)gU!ctB)-00000NkvXXu0mjftcT|y literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_2.map b/3rdparty/quazip-0.7/doc/html/inherit_graph_2.map new file mode 100644 index 0000000..b9d18da --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_2.map @@ -0,0 +1,5 @@ + + + + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_2.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_2.md5 new file mode 100644 index 0000000..191ef8b --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_2.md5 @@ -0,0 +1 @@ +523da2d6452a986d0a5cf8de4e711f1e \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_2.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_2.png new file mode 100644 index 0000000000000000000000000000000000000000..ef86c49f042d52c4c80f1d11fecfeda6adf1b3ea GIT binary patch literal 4633 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 G3HdK~HPhDs literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_3.map b/3rdparty/quazip-0.7/doc/html/inherit_graph_3.map new file mode 100644 index 0000000..6cb1c10 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_3.map @@ -0,0 +1,5 @@ + + + + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_3.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_3.md5 new file mode 100644 index 0000000..beabd83 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_3.md5 @@ -0,0 +1 @@ +5af371c9d0a20651df64f2334a568f18 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_3.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_3.png new file mode 100644 index 0000000000000000000000000000000000000000..e5e3ffe4f70c572a6d3e1692eb410ad7ac4af5e8 GIT binary patch literal 7279 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 + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_4.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_4.md5 new file mode 100644 index 0000000..a9c0bf1 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_4.md5 @@ -0,0 +1 @@ +13b45b42efd00a37b69aa1f1d8f765b2 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_4.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_4.png new file mode 100644 index 0000000000000000000000000000000000000000..4f3a4ee5be58a60b9352a0373a6be43bc110e6fa GIT binary patch literal 1124 zcmV-q1e^PbP)001Qj1^@s63a}Kw00006VoOIv0RI60 z0RN!9r;`8x1Q|(0K~!jg?V8O?YF!k@AFpp#5OI(a6RgY(gP@vJ6KN3nACy>)q=*P{ z&?iP8P@;oq;6NlAg%o)qiYA4lKq!d9ppiN%L#aVzg(k+jgD9?_bxOOvaelC2pS2Iq z+3R7u_c|(%hzK0-;rFk9J%j%foLMa3%whp&77PAM4xFE#V|aKN(P;Ev%;#HBUtbTa z)tVCLC7*^)rxO~D23=iUUpBe##Kpx04i68Jrbzgmva()qI-U8Q)i>p3v803Bvsl2H z#RASO7I0>oC9jVLK8K}$;u%w{v<@%X2;c|2am=J)%-zond-<8ZMU$E|&{@KL5k|!C)}qIu?sTtyV)OlYwCv zOiWCCHih>=No;IvP?~U7Mn^|UrBYEm9#4qh-``Vpbv4=Tc2;_CVKf>^B9YM5)m2V) ziL&PJ%!yfIv6x&gSK2X~%|guSxyqxrUJw>C@cjuBgK1F={PkH>?Kj*gUZkH-V0QkfE`zuvtB0s*{UF9rq%aDRV~ z=H}*<`!_c?vAeqqkH_<-`3i;NwXakv5eNj>q?D1ItgPPNUd+$W2&ot@a*+k@BZMNLf&dU|>gjYiSm-w%di00672s|bg~ z315LcK0YEAi$Nd|AQFjSc6JuPb4daKI-L$0jRs1k5}{Bip{2uMFu?EkPEn>JaIVy0000 + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_5.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_5.md5 new file mode 100644 index 0000000..6341597 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_5.md5 @@ -0,0 +1 @@ +86e1c51cca39eddf06726d40685e328a \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_5.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_5.png new file mode 100644 index 0000000000000000000000000000000000000000..c30e07e1bdc76b416e4218aa5524f227af4e4f9e GIT binary patch literal 1208 zcmV;p1V{UcP)fUqjx#!$3Gw06LB$}oHM-;yjoxl%;(*+Kv3mi@tIDfJF8yg$*^YaNwC4m$c7S7Jj zMp}|s=aEvWv|6oIRaM`cSR%Q-y|vkFEFIX-3jm<1s%m|G{kyVCJnQT0DwT?5FMbLfna=moaK9be4LV!a(H+c>BTg*wzdii z3iy1!R;vvLgLITGG)=FptW;D~MEmaV@8dXrbaeEay?mK24-XFj0H4ptvRkcI9*+mr z#qakc2%^zwTrSu0@-hG*^11N){UVXbXf(3Cn1);~CrQ#~v*qXKkBp2!b+Oy+D2hh= z*4Nh`92`&-^{2YTSziDE(dCV%>0iI#g*-Ji_5A!C$MN*^bR5S40FRH4d_JEU)#-F% zv3Ou$0O~t6H6<2{0RTp$ad2>Ocz8JWBqt{)i;Ih6pC2Y3T~HJi2m}s?qqep-((Z6L zBoaxah5qN#fglJ;lI`v76h)Pll||0k+}zyV-E}w|A8E>n0sxRmBrcZ=I>+gB5(E)# zXXO(+ah}u7&CR2uqi=6-OjoT|udc36OiZZNYR1Bx*>1O+=>`G;rBd13+k19)W-^(= z>v%k#&d$!2l@$!bK8nS>5dZ*^B!xm@^aPrw=jP@b8XBU9Qc_al*vp>j4-Xp~8*grIy1KgJ+Y6jH>MjFC zQQh6$MMXtvX=wyO3=R&~)YPa{Dw?Lp#>P+-B?w}BdpjIrdU~42;AA)$Y?E(wIw1rDbR98MQF zko(c~_4UHS!uO|=C{9mLAy(G+%ol%6|4+!y&SvSr{=boffvYcYI9=dyy1?Odf%7*7 W{D8UK3nAM80000 + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_6.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_6.md5 new file mode 100644 index 0000000..fd8e0fe --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_6.md5 @@ -0,0 +1 @@ +e549a1a7ad10ce59ae8a49ce2b78b075 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_6.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_6.png new file mode 100644 index 0000000000000000000000000000000000000000..8118836055899a9460ebdfbc9006f8f569d34949 GIT binary patch literal 1492 zcmV;_1uOcAP)Eir;a&|m! z({;9x^SOH7=e*B*9>2cta~}UtU>F7@gmLVs6R2`XeTjwCmsm)BiKPZTSXx@TbLUPv zoj$5;ssN2f)6>&a81B&5>-A1gPfMlJL(i&8@OV59hohvv2o8ti5L2ouWHK4XL)Kqn zA@wB|QeR>r^(B@H_1)UqG8&C7EiH9*bsZfYFJHdg-rg>E5egpRaF{}&R2;RR@NhU> z>M9JwDwV3PuCCnIQVN{@VNVi?L`O#l1VLuASs)Mu0)fYmAG=&Gm&-+^Qun`3EEX%+ z*=$xKk??ptI-Nc+FtB@|+wJD@cxX>eP0gNB`{BorA9lNaadGkBOZ^9o;{E&g7!NLb zy}q-vb9;Nc;7KNv7cN||TCID=mSSjVh|A^v`t@tinE-%LC{*fdC=}ZLB^)q(ccfCO zR4PS#Dya`Po6Tf0p||SElP8Tvqup*tA5XMBJw4sl)^_5=2@Z#2Hk&aE&dtq@j*d=F zPS)4gV@~?i)YPR*mmmnzYPFe6rc_F}Wg(Z#84LzCn+-vb!C=Vca+nDe3dL@>H#Ide z7>tpT5dgsD%a;KF4Gj&*gw4&(zP>&di*@$wS-oCg$tPR1*!$VP8ygz{fYsGijNjw& zFc=K<`(Lo*@i>h}>+kPhUS77@YybfCK8?rYJRa}Gix-$E#E?iN!C=tq^$LZ;r%#{4 zFbn|j`Fsf!xm*qtg)B8ZJbdliwWXyczu({9-u~dh19<2D1pxH)^lWTwOiWAw0Dk}e zjoH6SrBW;wMj-|cp@SS(z9Gnvf7!a_2c%;)nnGc#c4 z3014r5{V?A&*SRr_xlUE357x!@7I72A3osfD-wxfu^3{zT&~vER=7yt&!0cTFr3Y1 z5kERSo6Ss$8ojZUXGG&J~pKCxJg_WOK3kw}C&8Hhon(SpI? z&6_uq$z)qw8+wk@>HPTdqtE9%b_~B#UA%Y^F+?KK^71lbhe9EtP>7y}+Y)^H_Km~g z6o#iypDv!m<#GW4wY9aymwx{Ina}410s%4<3WbFP_D?1CSE*D!d-g1!&m%*HLNPfx zX*Qb`3I*apdbRK0zazs`DkYQ23eH)L*U%h&T%+F*p*=&|Zqoq=*Cr_RL01}A=0HD9W zUoMx6M4}ZGn0wv3cP|_c&(F^f4GpPOsuq`gK|1wY9Z! zxm>H&e*OA25C}Ya^hl{xmbC%^74>H@3@4LGole)>+|J7=+26bc0dLAaF^{J&ufmGsSXHNu`$oL_4W1M-d-k?$>DJB-@lI}unT|T z`BsWdCgbsVDvQPCfUW3}@OS!OTxc{J(max&`FFqHId$rkMx#0EEDp-Qt1kpWR;%@> zvp6XKuD;a)sV}jR`VtGNFR|c!|1ds2e)xG*2hnJh&*$%Op_}2^+1avwfFLPGr_-S& urNHF>e~E;wzr;f7ODv?m#6s#zEPntUmD%$?_qK}w0000 + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_7.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_7.md5 new file mode 100644 index 0000000..6ca4ac0 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_7.md5 @@ -0,0 +1 @@ +68ee3638ad52bd74efb9f115337756e9 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_7.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_7.png new file mode 100644 index 0000000000000000000000000000000000000000..de9a84a30eff3afdee932029783a031d1da985c6 GIT binary patch literal 1764 zcmVT_Vnhhx7NM*$Dt0$hTh0Cs=GOk?IKLM+#=4t2 zMfCpgeqNpPob#OXob%ne=h@vD2qB=M3@es80GfZG^`I8C9@K)?gIc7K>QA0L>FVlQ zl2Dc*Teoh#dGltxg+a=%%FD~mW^++d(c%WS9QpL=lf_~o?LYZ^06FMcFsZ=B*eSc63S`TVL>p?AOJ*dU}^#}w4O-)TZcI@DAIE96U?d|PTQ&V#tgpmxV z)5%~k=Ixb=yVL2Mt`#9vSy{>9aOS#}1tCd(l?s!SlZAza7>0FpbV#LAyWM{N{CShf zWHOnUOlIoics!n1ITDE|l}d?3!sT*LpFTaaXiy#zI=J`;KA6~ z*bIFTLRYR_xp(j0#Kgq@{rkJRx>m1VO*FY&uKfJ`p`js}Og5kC(Z7_Hm6es1q1n*s zbj8KRQ&Uqhi{J0xxN)P=Xq?q|I+~lCv$M0mefu_RPXNGie7aT~#}n7JfbIyP>({Su z+qP|Zc=+wxw*>_SdcB^oheDx(f`XaHkMa2N+9RHWs5){sH>|Bg+geW4JCOI#z-Wh z)9Ek_69@!4oh}lIklX>FySrO1m-BeM&dyGR5TDNn0HIJwbntq;RaI4dK0hZXr?Igy z7z`qWBofJs7cYno~S@*)aKrPASWSS%KqOxD`kiVy+-tJOLg$DcoclIqdf z*?I8b!SV5No6VM=pMU1e8I+*Mp+kqfUhkbdcL3n$&!438q0wkcN=jTVm(6C&%gbwR zZT)XD4JJGrXdi?nDgJd5Z9L&nfN~%XV9De`) zz2EPTMxz4*1Eh$ntE-htWi%Qkc@YJh%@$jLOeRCgen9K*?@y|STrT%`JVe=KGAR@a zl%U7UmoE`Qkw}EFla3dY$+X+;M76iKS0}&vF zu~>;sU%!5hMx#=xl&H#NGPm2!P>Ybz}+bvPVNO-;GExqiPN00MzP zI2>NNa%IvL&A>eKU5!R_>C&ZWG)h#}YW1T>k2*R!)M_Fn~V6s0)WHeAoebGi1Qjd))tE;vCnj$0{{>Tg-j-M zWMqV>x?HZDoE#2^BM=CP^8^6VXf!=N{q^hD_4V}`85tQF833SAC|X)t<`nARVCLZi z02eM?n3$N@yLa#N=g%Du$EHo2Dk>^Mq0rHzN4Z=s0NlTS-{Q+m z+rEAKZr!>yCwCT$rBbQt>+3&${Ajn^&z(D`(P$V9hE}W9YPC3y+wFF}USCmB5ua)T z0FL8VuU?(gTz?@wzf#Pv5JG;xzp=3~FE4M^s#Q{{w56qG&z?Ohl?owr`SN8hmn)S@ zpFVvWo8sEFYnhpuxw*LpgF&rUV;F{}`6~tKCb)a|?uHE;va+)3>gtH}22#$id_G@w zbv2L2XN;n*jWqu1nDqjWuza-UTA>UuI+3a1rb}it5%MePxPh7KR&GF;MmpY0? zh0=Op7-lpYmpY0?h0=N~Lufsy1+53Qp!J{@N#0+LjEvmAeS7gkS#Ass4JEOXzK@(b zb!yQATfVGczn--JwoV literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_8.map b/3rdparty/quazip-0.7/doc/html/inherit_graph_8.map new file mode 100644 index 0000000..4887b30 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_8.map @@ -0,0 +1,3 @@ + + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_8.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_8.md5 new file mode 100644 index 0000000..969cc55 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_8.md5 @@ -0,0 +1 @@ +02515861175708d2c0f029465604a2a2 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_8.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_8.png new file mode 100644 index 0000000000000000000000000000000000000000..33b49b541cf86d3b1e7ca0dc0bcbb94a754e21b4 GIT binary patch literal 1772 zcmV|H~YrBd4vUhO4znBZ9JGBouy#MnO;*YU|~L zql`XOP|eavgNhbG9|Faq4-uA4N3bj?MnNAmDX=kuVjK3tVphUvZmhj^Js)~JxOTRk zZO%-7oH-h=>RbMrL~F{p}1G{~efF7=mGDVF-qqg&~;vd_jxF zg6r3>&vY(~SwLQ19@^X6p-?E2`gqOK)6;`@@7|%Rs%qMkW6Umkdwa2e|9;_S0f4Hi zD)jX9Olx9{*@s9ZO4-NOEDXUgvoHk1%)$^1GYdm7Q)-rAFo>q6Cahk)8WM>FTCEnB zE?q(_7MrxTNF+*mxZUow3$s7bnT%#(VIj6}-;Ve1-}7FdjrMFJU2=)oLM^ z%V9E^pi-&u=FJ z)z;SXb*1Fw$&<8c(f{@#B0@F6NIE0Ld{kJ8dom`o<#&+6~*$CWEr(B0jQMT-{kP9IjQ6)RS(fLt!e z(W6HZ4u>;7L%Qi98jZqeG-C1M#gNP8FdB`BMx!aU#_JG^#W>xkPoF}eP~g_BTioaD z+_@9Sk00mm3x~rfDk{RGM~~9hWW$CH0DzK`l0VKdYxpdb?a1Qu`3L}g`}U2u|HX?J zR9sw~^lg~f_WS)L7K_PXFp$UNp{}kj0+2Lv`2BuTDwTBc;zeGa@pGL{M^2}c1_uX8 ztya^ybLY5kj@@pjv9Ym)BN~nJ>Wp*w@@3k!YZra`^obk}2d!PZmQJ5Oouuja`^oKg zQ%y|`tzW-BL2KK#ZS?HfGqT(5oc6tY_eh~o(9fSgiHOK*wNhDG8AYSfv^C)yS<>Yw z6r>qhrqnE>qoch20|NsjlgZMWB^(aZ+qZ8i5C~8_9;fHepYsmy4Gj&X)9EN4kMrt` zpF125uHS4nlUl7NqF=?}JNo+i(war1(U8~c<=Qrzjn=GL!>gH_n@iQz)m-ks=QL3} z7z|QDK>@vd`I3l;cJJOz&CSgjYrn>Q!*+wFE} zG@7J1O?XL9EEdD*bmHK_g9roysI06^y8izC`*{5LG3<6b=FLk#gH}{jaOWD01|E-x zYr9-7sMYGEd)#h!O1%#sKA^O;G$B@4SeQ|BB78N-&(Ft>9XnvLSg>;CO7!*h;q~j+ z0EE>fn;a+0l&x9z?%j*?=g%V^k8?4-UXSkXZkS9a==FLoKE9Ry{P{B%3xz_ctE+?2 zXvEOa5IQ-Df$EO_wX0oJWs#~D3SO{OEqbWE99T3cH&GBScKTejfIlP7RG zomjqnIri+?gC9SB;J|?ckV>ThfZMlk!|(Uw+O=!k{o!yJkw^q$u^6FH2yJa`0Df)B z0l;7|puWBy8jS`cBO?h1AIFXzgWK)Kt5>hMZR}*Isi{G8b2C1E{0N7`fvsD&qP@L+ zQkvuFbUOHaKD4#9!C)|O@k})VfIuKHBRK+?x~((OuWj;)6DMfZs#TPimq#jgeboyaRb8l{aJH#y`uBna>gwtMV9H)mh(sb78XDrZ zd((;A?M6jK1$Z8dApns`1hd)9d0+xF^LD>jES?dgFs7F|_e0`>1q*QK(4oJb#++o% znME#_qqDQ~Z>KRQnR8}gOdrfF48bt7Fa*QQ!VpZ#--d>VhjHV^jhW1aG0WjKOL=)Y zdV71>7W98ePEHP%ELpZXRrJkq& O0000 + + diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_9.md5 b/3rdparty/quazip-0.7/doc/html/inherit_graph_9.md5 new file mode 100644 index 0000000..533ec63 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/inherit_graph_9.md5 @@ -0,0 +1 @@ +055970acedfd4e5fb689663f28ac64ee \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/html/inherit_graph_9.png b/3rdparty/quazip-0.7/doc/html/inherit_graph_9.png new file mode 100644 index 0000000000000000000000000000000000000000..058d5d05c26f9d5ba007c22ac18e9a008b32cc4e GIT binary patch literal 1717 zcmV;m21@yfP)!Q(YXu&o(!dE@N(bok}mVSqp{S0@FakWJ8pK$d{Hy z7?A`n$SsRS5oM?ZLVZ~FhCxf&VG2cV=L{GXv|L8RBUDuCA`DSFbXX z$_i%V#*LRRUk;6MX!T4*MTOOB&CkzY+Qe2eA3uJy*=#h=^!*M1$j{I3?Ce~stX4jq zot>4Hm9!vxzB2>sof%l~%)okQhSpf==b~obP`TDhKGka z98UC6<>lp}6~eqj=1pUGcsSBk2;shc`w#?)dH%VCsb?0#&!0bYb8}G?ZE9+g$z(%A zL#I!l#xM-SFdmP$@OfM=SFlZzq(-C3$jA_hL?=$1h(55ZtE;1)6di-XP*70d_xpnpkH@oa-MZG+)_KQ9!e}(6rKNrS`gPtr z0RS~MHDa;Y<#JIGhr==Vvn(6{fWzU4boDPM@95~5J3L13QmGWfFj~-LG8GgQgk~Aq ze)#ZVPEJljLV{E(ZES3$jeYXu37^mJ>+1_0MKvBgc(8u``sCzfolf`b*DnYm0O0N0 zw_CSv-LYfG%*+gJA(A8w1_O$s$;rtEgMlQ;yu7@YmKF%%Cc*yIM5w z1VI1*CMG6majVrT7K_7rce~vJf#Bf5gX81l?d|OVfY5#IcDpk&GA>-WKpRChG#U+# z<2IX3E|;G@dp4*E$MJ-OgtoReINN)3bMx-qyT``H>~_0Kr8;@?)%b6s6st6poFJg)XX4D1zq?hG985IsN_p2!fC#SyxwQG#dGQK0y!{FJ3GuDf!pJ zZ126jy%0i@B&j&(;H%d%C;3dwP0q-@eV|hEFClGm~m46pHcj@z6`PwY5s6^3b6} zFr>B_9UVC2Zdfj~eelTlr{Tuw`Afy7uxR#jDy{4untyW7#sG9QA zr%zOOdV0E|qT=}R;{yW&CX*>RkIUsca^%R}yLV9(jkFfE-2ebMj#EZ{XV2xfwY5Ec z`t;hhYr!D(%mp7!o6W}Ma!X1|%w{u=<0_SE`}XY^hFL6@NZupu002NrN(zt1b2^<= zcVuKFJv}|r&C#Ik{{_BRr>3ShY}im(SlH9k^X}a{qtOTeKvC4^^G!@l003^@yg4;B zwQJWdY6*fMI2_L7$B(J19{?~gFaRMeE-u#TbgtRZ&Y8l(LWjfg{Q2|D%*-=q&cHe4 z$CWErsN$XK9zA-rtgLKwboAA$S6jAhsjaPr5Z=FkA3+ecT1_232!do~Wd&ydv(Fh? zn|8kM-MhD_sL1JbzJC2WD=UjiDGG~O&p-%09*k= z?=v$qYPCAJklXF9uC7i@Oq56@hYug7-kd*v{D_N-YiMYI5PH2{fk04SU;o>}pLqZN z{rmp?`y~=dYHI4SW5<@Ro{5Cd=d)U^v5gJOUlz{GghhL=MnWJE + + + + + +QuaZIP: Class Hierarchy + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
Class Hierarchy
+
+
+ + + + + + + + + + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/nav_f.png b/3rdparty/quazip-0.7/doc/html/nav_f.png new file mode 100644 index 0000000000000000000000000000000000000000..72a58a529ed3a9ed6aa0c51a79cf207e026deee2 GIT binary patch literal 153 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQVE_ejv*C{Z|{2ZH7M}7UYxc) zn!W8uqtnIQ>_z8U literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/nav_g.png b/3rdparty/quazip-0.7/doc/html/nav_g.png new file mode 100644 index 0000000000000000000000000000000000000000..8c6c13ef54284f3a437ba3738e8e98806ee7ec09 GIT binary patch literal 94 zcmeAS@N?(olHy`uVBq!ia0vp^j6lrB!3HFm1ilyoDOFDw$B+ufw|A{Y85lU2H&!nd sHa_%WeOv!z9mB@Ae4eFG4jyJ>=Cff~Jw0&E1fT{6Pgg&ebxsLQ0Kn=QLI3~& literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/nav_h.png b/3rdparty/quazip-0.7/doc/html/nav_h.png new file mode 100644 index 0000000000000000000000000000000000000000..33389b101d9cd9b4c98ad286b5d9c46a6671f650 GIT binary patch literal 98 zcmeAS@N?(olHy`uVBq!ia0vp^j6lr8!2~3AUOE6t22D>F$B+ufw|5=67#uj90@pIL wZ=Q8~_Ju`#59=RjDrmm`tMD@M=!-l18IR?&vFVdQ&MBb@0HFXL1|%O$WD@{VPM$7~Ar*{o?;hlAFyLXmaDC0y znK1_#cQqJWPES%4Uujug^TE?jMft$}Eq^WaR~)%f)vSNs&gek&x%A9X9sM + + + + + +QuaZIP: Related Pages + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + +
+
+
+
Related Pages
+
+
+
Here is a list of all related documentation pages:
+ + + +
oQuaZip FAQ
\Usage
+
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/quaadler32_8h_source.html b/3rdparty/quazip-0.7/doc/html/quaadler32_8h_source.html new file mode 100644 index 0000000..9892d45 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quaadler32_8h_source.html @@ -0,0 +1,117 @@ + + + + + + +QuaZIP: quazip/quaadler32.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 --git a/3rdparty/quazip-0.7/doc/html/quachecksum32_8h_source.html b/3rdparty/quazip-0.7/doc/html/quachecksum32_8h_source.html new file mode 100644 index 0000000..0349b15 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quachecksum32_8h_source.html @@ -0,0 +1,110 @@ + + + + + + +QuaZIP: quazip/quachecksum32.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 --git a/3rdparty/quazip-0.7/doc/html/quacrc32_8h_source.html b/3rdparty/quazip-0.7/doc/html/quacrc32_8h_source.html new file mode 100644 index 0000000..103931a --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quacrc32_8h_source.html @@ -0,0 +1,113 @@ + + + + + + +QuaZIP: quazip/quacrc32.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 --git a/3rdparty/quazip-0.7/doc/html/quagzipfile_8h_source.html b/3rdparty/quazip-0.7/doc/html/quagzipfile_8h_source.html new file mode 100644 index 0000000..9352721 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quagzipfile_8h_source.html @@ -0,0 +1,129 @@ + + + + + + +QuaZIP: quazip/quagzipfile.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 --git a/3rdparty/quazip-0.7/doc/html/quaziodevice_8h_source.html b/3rdparty/quazip-0.7/doc/html/quaziodevice_8h_source.html new file mode 100644 index 0000000..74950b5 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quaziodevice_8h_source.html @@ -0,0 +1,118 @@ + + + + + + +QuaZIP: quazip/quaziodevice.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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;
+
90 protected:
+
92  virtual qint64 readData(char *data, qint64 maxSize);
+
94  virtual qint64 writeData(const char *data, qint64 maxSize);
+
95 private:
+
96  QuaZIODevicePrivate *d;
+
97 };
+
98 #endif // QUAZIP_QUAZIODEVICE_H
+
A class to compress/decompress QIODevice.
Definition: quaziodevice.h:41
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/quazip_8h_source.html b/3rdparty/quazip-0.7/doc/html/quazip_8h_source.html new file mode 100644 index 0000000..c1dae8f --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quazip_8h_source.html @@ -0,0 +1,225 @@ + + + + + + +QuaZIP: quazip/quazip.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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:37
+
Mode
Open mode of the ZIP file.
Definition: quazip.h:94
+
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:77
+
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 --git a/3rdparty/quazip-0.7/doc/html/quazip__global_8h_source.html b/3rdparty/quazip-0.7/doc/html/quazip__global_8h_source.html new file mode 100644 index 0000000..6e3491e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quazip__global_8h_source.html @@ -0,0 +1,111 @@ + + + + + + +QuaZIP: quazip/quazip_global.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 --git a/3rdparty/quazip-0.7/doc/html/quazipdir_8h_source.html b/3rdparty/quazip-0.7/doc/html/quazipdir_8h_source.html new file mode 100644 index 0000000..8dfe17a --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quazipdir_8h_source.html @@ -0,0 +1,166 @@ + + + + + + +QuaZIP: quazip/quazipdir.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 --git a/3rdparty/quazip-0.7/doc/html/quazipfile_8h_source.html b/3rdparty/quazip-0.7/doc/html/quazipfile_8h_source.html new file mode 100644 index 0000000..594dc63 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quazipfile_8h_source.html @@ -0,0 +1,183 @@ + + + + + + +QuaZIP: quazip/quazipfile.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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:37
+
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:77
+
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 --git a/3rdparty/quazip-0.7/doc/html/quazipfileinfo_8h_source.html b/3rdparty/quazip-0.7/doc/html/quazipfileinfo_8h_source.html new file mode 100644 index 0000000..8e56bad --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quazipfileinfo_8h_source.html @@ -0,0 +1,174 @@ + + + + + + +QuaZIP: quazip/quazipfileinfo.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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 
+
37 struct QUAZIP_EXPORT QuaZipFileInfo {
+
39  QString name;
+
41  quint16 versionCreated;
+
43  quint16 versionNeeded;
+
45  quint16 flags;
+
47  quint16 method;
+
49  QDateTime dateTime;
+
51  quint32 crc;
+
53  quint32 compressedSize;
+ +
57  quint16 diskNumberStart;
+
59  quint16 internalAttr;
+
61  quint32 externalAttr;
+
63  QString comment;
+
65  QByteArray extra;
+
67 
+
71  QFile::Permissions getPermissions() const;
+
72 };
+
73 
+
75 
+
77 struct QUAZIP_EXPORT QuaZipFileInfo64 {
+
79  QString name;
+
81  quint16 versionCreated;
+
83  quint16 versionNeeded;
+
85  quint16 flags;
+
87  quint16 method;
+
89 
+
96  QDateTime dateTime;
+
98  quint32 crc;
+
100  quint64 compressedSize;
+ + +
106  quint16 internalAttr;
+
108  quint32 externalAttr;
+
110  QString comment;
+
112  QByteArray extra;
+
114 
+
118  QFile::Permissions getPermissions() const;
+
120 
+
130  bool toQuaZipFileInfo(QuaZipFileInfo &info) const;
+
132 
+
143  QDateTime getNTFSmTime(int *fineTicks = NULL) const;
+
145 
+
156  QDateTime getNTFSaTime(int *fineTicks = NULL) const;
+
158 
+
169  QDateTime getNTFScTime(int *fineTicks = NULL) const;
+
170 };
+
171 
+
172 #endif
+
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:104
+
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:112
+
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:81
+
QString comment
Comment.
Definition: quazipfileinfo.h:110
+
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:108
+
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:83
+
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:65
+
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:45
+
QString name
File name.
Definition: quazipfileinfo.h:39
+
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:41
+
QString comment
Comment.
Definition: quazipfileinfo.h:63
+
quint32 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:53
+
Information about a file inside archive.
Definition: quazipfileinfo.h:37
+
quint32 crc
CRC.
Definition: quazipfileinfo.h:98
+
quint64 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:100
+
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:43
+
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:59
+
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:77
+
quint16 method
Compression method.
Definition: quazipfileinfo.h:87
+
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:49
+
quint64 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:102
+
quint32 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:55
+
quint32 crc
CRC.
Definition: quazipfileinfo.h:51
+
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:96
+
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:85
+
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:57
+
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:61
+
quint16 method
Compression method.
Definition: quazipfileinfo.h:47
+
QString name
File name.
Definition: quazipfileinfo.h:79
+
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:106
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/quazipnewinfo_8h_source.html b/3rdparty/quazip-0.7/doc/html/quazipnewinfo_8h_source.html new file mode 100644 index 0000000..52e2e1f --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/quazipnewinfo_8h_source.html @@ -0,0 +1,147 @@ + + + + + + +QuaZIP: quazip/quazipnewinfo.h Source File + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + + +
+
+
+
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 3 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:37
+
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:77
+
quint32 externalAttr
File external attributes.
Definition: quazipnewinfo.h:71
+
QString name
File name.
Definition: quazipnewinfo.h:55
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor-members.html b/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor-members.html new file mode 100644 index 0000000..adfe15b --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor-members.html @@ -0,0 +1,64 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
QIODevice_descriptor Member List
+
+
+ +

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

+ + + +
pos (defined in QIODevice_descriptor)QIODevice_descriptor
QIODevice_descriptor() (defined in QIODevice_descriptor)QIODevice_descriptorinline
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor.html b/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor.html new file mode 100644 index 0000000..b49b3bd --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor.html @@ -0,0 +1,72 @@ + + + + + + +QuaZIP: QIODevice_descriptor Struct Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
QIODevice_descriptor Struct Reference
+
+
+ + + + +

+Public Attributes

+qint64 pos
 
+
The documentation for this struct was generated from the following file:
    +
  • quazip/qioapi.cpp
  • +
+
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo-members.html b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo-members.html new file mode 100644 index 0000000..4285944 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo-members.html @@ -0,0 +1,77 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
QuaZipFileInfo Member List
+
+ + + + + diff --git a/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo.html b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo.html new file mode 100644 index 0000000..a4abe40 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo.html @@ -0,0 +1,160 @@ + + + + + + +QuaZIP: QuaZipFileInfo Struct Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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.

+

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 --git a/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64-members.html b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64-members.html new file mode 100644 index 0000000..8a4d269 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64-members.html @@ -0,0 +1,81 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
QuaZipFileInfo64 Member List
+
+ + + + + diff --git a/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64.html b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64.html new file mode 100644 index 0000000..9f74dca --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64.html @@ -0,0 +1,306 @@ + + + + + + +QuaZIP: QuaZipFileInfo64 Struct Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+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 storing 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 --git a/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo-members.html b/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo-members.html new file mode 100644 index 0000000..1837b85 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo-members.html @@ -0,0 +1,81 @@ + + + + + + +QuaZIP: Member List + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+
+
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
+ + + + diff --git a/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo.html b/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo.html new file mode 100644 index 0000000..936a2e7 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo.html @@ -0,0 +1,551 @@ + + + + + + +QuaZIP: QuaZipNewInfo Struct Reference + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + + +
+
+ +
+
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 --git a/3rdparty/quazip-0.7/doc/html/sync_off.png b/3rdparty/quazip-0.7/doc/html/sync_off.png new file mode 100644 index 0000000000000000000000000000000000000000..3b443fc62892114406e3d399421b2a881b897acc GIT binary patch literal 853 zcmV-b1FHOqP)oT|#XixUYy%lpuf3i8{fX!o zUyDD0jOrAiT^tq>fLSOOABs-#u{dV^F$b{L9&!2=9&RmV;;8s^x&UqB$PCj4FdKbh zoB1WTskPUPu05XzFbA}=KZ-GP1fPpAfSs>6AHb12UlR%-i&uOlTpFNS7{jm@mkU1V zh`nrXr~+^lsV-s1dkZOaI|kYyVj3WBpPCY{n~yd%u%e+d=f%`N0FItMPtdgBb@py; zq@v6NVArhyTC7)ULw-Jy8y42S1~4n(3LkrW8mW(F-4oXUP3E`e#g**YyqI7h-J2zK zK{m9##m4ri!7N>CqQqCcnI3hqo1I;Yh&QLNY4T`*ptiQGozK>FF$!$+84Z`xwmeMh zJ0WT+OH$WYFALEaGj2_l+#DC3t7_S`vHpSivNeFbP6+r50cO8iu)`7i%Z4BTPh@_m3Tk!nAm^)5Bqnr%Ov|Baunj#&RPtRuK& z4RGz|D5HNrW83-#ydk}tVKJrNmyYt-sTxLGlJY5nc&Re zU4SgHNPx8~Yxwr$bsju?4q&%T1874xxzq+_%?h8_ofw~(bld=o3iC)LUNR*BY%c0y zWd_jX{Y8`l%z+ol1$@Qa?Cy!(0CVIEeYpKZ`(9{z>3$CIe;pJDQk$m3p}$>xBm4lb zKo{4S)`wdU9Ba9jJbVJ0C=SOefZe%d$8=2r={nu<_^a3~>c#t_U6dye5)JrR(_a^E f@}b6j1K9lwFJq@>o)+Ry00000NkvXXu0mjfWa5j* literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/sync_on.png b/3rdparty/quazip-0.7/doc/html/sync_on.png new file mode 100644 index 0000000000000000000000000000000000000000..e08320fb64e6fa33b573005ed6d8fe294e19db76 GIT binary patch literal 845 zcmV-T1G4;yP)Y;xxyHF2B5Wzm| zOOGupOTn@c(JmBOl)e;XMNnZuiTJP>rM8<|Q`7I_))aP?*T)ow&n59{}X4$3Goat zgjs?*aasfbrokzG5cT4K=uG`E14xZl@z)F={P0Y^?$4t z>v!teRnNZym<6h{7sLyF1V0HsfEl+l6TrZpsfr1}luH~F7L}ktXu|*uVX^RG$L0`K zWs3j|0tIvVe(N%_?2{(iCPFGf#B6Hjy6o&}D$A%W%jfO8_W%ZO#-mh}EM$LMn7joJ z05dHr!5Y92g+31l<%i1(=L1a1pXX+OYnalY>31V4K}BjyRe3)9n#;-cCVRD_IG1fT zOKGeNY8q;TL@K{dj@D^scf&VCs*-Jb>8b>|`b*osv52-!A?BpbYtTQBns5EAU**$m zSnVSm(teh>tQi*S*A>#ySc=n;`BHz`DuG4&g4Kf8lLhca+zvZ7t7RflD6-i-mcK=M z!=^P$*u2)bkY5asG4gsss!Hn%u~>}kIW`vMs%lJLH+u*9<4PaV_c6U`KqWXQH%+Nu zTv41O(^ZVi@qhjQdG!fbZw&y+2o!iYymO^?ud3{P*HdoX83YV*Uu_HB=?U&W9%AU# z80}k1SS-CXTU7dcQlsm<^oYLxVSseqY6NO}dc`Nj?8vrhNuCdm@^{a3AQ_>6myOj+ z`1RsLUXF|dm|3k7s2jD(B{rzE>WI2scH8i1;=O5Cc9xB3^aJk%fQjqsu+kH#0=_5a z0nCE8@dbQa-|YIuUVvG0L_IwHMEhOj$Mj4Uq05 X8=0q~qBNan00000NkvXXu0mjfptF>5 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/tab_a.png b/3rdparty/quazip-0.7/doc/html/tab_a.png new file mode 100644 index 0000000000000000000000000000000000000000..3b725c41c5a527a3a3e40097077d0e206a681247 GIT binary patch literal 142 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QlXwMjv*C{Z|8b*H5dputLHD# z=<0|*y7z(Vor?d;H&?EG&cXR}?!j-Lm&u1OOI7AIF5&c)RFE;&p0MYK>*Kl@eiymD r@|NpwKX@^z+;{u_Z~trSBfrMKa%3`zocFjEXaR$#tDnm{r-UW|TZ1%4 literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/tab_b.png b/3rdparty/quazip-0.7/doc/html/tab_b.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b4a8638cb3496a016eaed9e16ffc12846dea18 GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QU#tajv*C{Z}0l@H7kg?K0Lnr z!j&C6_(~HV9oQ0Pa6x{-v0AGV_E?vLn=ZI-;YrdjIl`U`uzuDWSP?o#Dmo{%SgM#oan kX~E1%D-|#H#QbHoIja2U-MgvsK&LQxy85}Sb4q9e0Efg%P5=M^ literal 0 HcmV?d00001 diff --git a/3rdparty/quazip-0.7/doc/html/tabs.css b/3rdparty/quazip-0.7/doc/html/tabs.css new file mode 100644 index 0000000..9cf578f --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/tabs.css @@ -0,0 +1,60 @@ +.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); +} diff --git a/3rdparty/quazip-0.7/doc/html/usage.html b/3rdparty/quazip-0.7/doc/html/usage.html new file mode 100644 index 0000000..3a7c54d --- /dev/null +++ b/3rdparty/quazip-0.7/doc/html/usage.html @@ -0,0 +1,70 @@ + + + + + + +QuaZIP: Usage + + + + + + +
+
+ + + + + + +
+
QuaZIP +  quazip-0-7 +
+
+
+ + + +
+
+
+
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 --git a/3rdparty/quazip-0.7/doc/latex/annotated.tex b/3rdparty/quazip-0.7/doc/latex/annotated.tex new file mode 100644 index 0000000..1ef672b --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/annotated.tex @@ -0,0 +1,18 @@ +\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 Q\-I\-O\-Device\-\_\-descriptor} }{\pageref{structQIODevice__descriptor}}{} +\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 --git a/3rdparty/quazip-0.7/doc/latex/classJlCompress.tex b/3rdparty/quazip-0.7/doc/latex/classJlCompress.tex new file mode 100644 index 0000000..96da5bc --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classJlCompress.tex @@ -0,0 +1,274 @@ +\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 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}\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} +O\-K Comprime il file file\-Name nel file file\-Compressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item la compressione del file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +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} +O\-K Comprime i file specificati in files nel file file\-Compressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item la compressione di un file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +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. + + +\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} +O\-K Comprime la cartella dir nel file file\-Compressed, se recursive e true allora comprime anche le sotto cartelle. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item la compressione di un file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +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} +O\-K Estrae il file file\-Name, contenuto nel file file\-Compressed, con il nome file\-Dest. Se file\-Dest = \char`\"{}\char`\"{} allora il file viene estratto con lo stesso nome con cui e stato compresso. Se la funzione fallisce cancella il file che si e tentato di estrarre. Restituisce il nome assoluto del file estratto. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item l'estrazione del file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Unzip, and Qua\-Zip\-::open(). + +\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} +O\-K Estrae i file specificati in files, contenuti nel file file\-Compressed, nella cartella dir. La struttura a cartelle del file compresso viene rispettata. Se dir = \char`\"{}\char`\"{} allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item l'estrazione di un file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Unzip, and Qua\-Zip\-::open(). + +\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} +O\-K Estrae il file file\-Compressed nella cartella dir. Se dir = \char`\"{}\char`\"{} allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item la compressione di un file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Current\-File\-Name(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::go\-To\-First\-File(), Qua\-Zip\-::go\-To\-Next\-File(), Qua\-Zip\-::md\-Unzip, and Qua\-Zip\-::open(). + +\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} +O\-K Restituisce la lista dei file resenti nel file compresso file\-Compressed. Se la funzione fallisce, restituisce un elenco vuoto. + +La funzione fallisce se\-: +\begin{DoxyItemize} +\item non si riesce ad aprire l'oggetto zip; +\item la richiesta di informazioni di un file fallisce; +\item non si riesce a chiudere l'oggetto zip; +\end{DoxyItemize} + +References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Current\-File\-Info(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::go\-To\-First\-File(), Qua\-Zip\-::go\-To\-Next\-File(), Qua\-Zip\-::md\-Unzip, Qua\-Zip\-File\-Info64\-::name, and Qua\-Zip\-::open(). + + + +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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaAdler32.tex b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32.tex new file mode 100644 index 0000000..102ea67 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32.tex @@ -0,0 +1,108 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.eps new file mode 100644 index 0000000..b644e1e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.eps @@ -0,0 +1,264 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.md5 new file mode 100644 index 0000000..6f8ebd3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.md5 @@ -0,0 +1 @@ +1da76ae022494627ad649d8af035c80a \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.eps new file mode 100644 index 0000000..b644e1e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.eps @@ -0,0 +1,264 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.md5 new file mode 100644 index 0000000..6f8ebd3 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.md5 @@ -0,0 +1 @@ +1da76ae022494627ad649d8af035c80a \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32.tex b/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32.tex new file mode 100644 index 0000000..f1baee9 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32.tex @@ -0,0 +1,113 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.eps new file mode 100644 index 0000000..45d768f --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.eps @@ -0,0 +1,310 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.md5 new file mode 100644 index 0000000..d5e37a6 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.md5 @@ -0,0 +1 @@ +3650c77c47645e50e4f8afff14cdd718 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaCrc32.tex b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32.tex new file mode 100644 index 0000000..1fffac8 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32.tex @@ -0,0 +1,108 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.eps new file mode 100644 index 0000000..1f5b914 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.eps @@ -0,0 +1,264 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.md5 new file mode 100644 index 0000000..4551902 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.md5 @@ -0,0 +1 @@ +c03aa82ea7ceacd262ffb2c652464541 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.eps new file mode 100644 index 0000000..1f5b914 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.eps @@ -0,0 +1,264 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.md5 new file mode 100644 index 0000000..4551902 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.md5 @@ -0,0 +1 @@ +c03aa82ea7ceacd262ffb2c652464541 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile.tex b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile.tex new file mode 100644 index 0000000..80d75cb --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile.tex @@ -0,0 +1,189 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.eps new file mode 100644 index 0000000..3a5b392 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.eps @@ -0,0 +1,259 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.md5 new file mode 100644 index 0000000..1e213ff --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.md5 @@ -0,0 +1 @@ +b596b42a2d881ca771acc3ccdbbc37df \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.eps new file mode 100644 index 0000000..3a5b392 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.eps @@ -0,0 +1,259 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.md5 new file mode 100644 index 0000000..1e213ff --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.md5 @@ -0,0 +1 @@ +b596b42a2d881ca771acc3ccdbbc37df \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice.tex b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice.tex new file mode 100644 index 0000000..887b259 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice.tex @@ -0,0 +1,156 @@ +\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}\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.eps new file mode 100644 index 0000000..51fa4e1 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.eps @@ -0,0 +1,259 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.md5 new file mode 100644 index 0000000..0c2e92d --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.md5 @@ -0,0 +1 @@ +f1b807d1cee861a25fe9ec62b50a04e0 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.eps new file mode 100644 index 0000000..51fa4e1 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.eps @@ -0,0 +1,259 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.md5 new file mode 100644 index 0000000..0c2e92d --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.md5 @@ -0,0 +1 @@ +f1b807d1cee861a25fe9ec62b50a04e0 \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaZip.tex b/3rdparty/quazip-0.7/doc/latex/classQuaZip.tex new file mode 100644 index 0000000..5c8116b --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZip.tex @@ -0,0 +1,951 @@ +\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 using 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(), Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::extract\-File(), Jl\-Compress\-::extract\-Files(), Jl\-Compress\-::get\-File\-List(), 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(), Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::extract\-File(), Jl\-Compress\-::extract\-Files(), Jl\-Compress\-::get\-File\-List(), 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(), Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::extract\-File(), Jl\-Compress\-::extract\-Files(), Qua\-Zip\-File\-::get\-Actual\-File\-Name(), Qua\-Zip\-File\-::get\-File\-Info(), Jl\-Compress\-::get\-File\-List(), 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. + + + +Referenced by Jl\-Compress\-::extract\-Dir(), and Jl\-Compress\-::get\-File\-List(). + +\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 Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::get\-File\-List(), and 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(), and Jl\-Compress\-::get\-File\-List(). + +\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 Jl\-Compress\-::extract\-Dir(), 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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipDir.tex b/3rdparty/quazip-0.7/doc/latex/classQuaZipDir.tex new file mode 100644 index 0000000..8617c63 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipDir.tex @@ -0,0 +1,419 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipFile.tex b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile.tex new file mode 100644 index 0000000..cc8d596 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile.tex @@ -0,0 +1,700 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipFilePrivate.tex b/3rdparty/quazip-0.7/doc/latex/classQuaZipFilePrivate.tex new file mode 100644 index 0000000..508f362 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipFilePrivate.tex @@ -0,0 +1,21 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.eps new file mode 100644 index 0000000..ca27589 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.eps @@ -0,0 +1,259 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.md5 new file mode 100644 index 0000000..a6f5da1 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.md5 @@ -0,0 +1 @@ +28f5281397b620e43711ce86747f921d \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.eps b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.eps new file mode 100644 index 0000000..ca27589 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.eps @@ -0,0 +1,259 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.md5 b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.md5 new file mode 100644 index 0000000..a6f5da1 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.md5 @@ -0,0 +1 @@ +28f5281397b620e43711ce86747f921d \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/classQuaZipPrivate.tex b/3rdparty/quazip-0.7/doc/latex/classQuaZipPrivate.tex new file mode 100644 index 0000000..1bb741a --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/classQuaZipPrivate.tex @@ -0,0 +1,21 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex b/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex new file mode 100644 index 0000000..8424abc --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex @@ -0,0 +1,59 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps b/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps new file mode 100644 index 0000000..b664887 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps @@ -0,0 +1,223 @@ +%!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 --git a/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 b/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 new file mode 100644 index 0000000..d07b47e --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5 @@ -0,0 +1 @@ +b521f3e7499357b3270e414f244f2eff \ No newline at end of file diff --git a/3rdparty/quazip-0.7/doc/latex/doxygen.sty b/3rdparty/quazip-0.7/doc/latex/doxygen.sty new file mode 100644 index 0000000..199abf8 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/doxygen.sty @@ -0,0 +1,464 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/faq.tex b/3rdparty/quazip-0.7/doc/latex/faq.tex new file mode 100644 index 0000000..5d18852 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/faq.tex @@ -0,0 +1,14 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/hierarchy.tex b/3rdparty/quazip-0.7/doc/latex/hierarchy.tex new file mode 100644 index 0000000..916fc9f --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/hierarchy.tex @@ -0,0 +1,22 @@ +\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}{Q\-I\-O\-Device\-\_\-descriptor}{\pageref{structQIODevice__descriptor}}{} +\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 --git a/3rdparty/quazip-0.7/doc/latex/index.tex b/3rdparty/quazip-0.7/doc/latex/index.tex new file mode 100644 index 0000000..1df2135 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/index.tex @@ -0,0 +1,85 @@ + \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 --git a/3rdparty/quazip-0.7/doc/latex/refman.tex b/3rdparty/quazip-0.7/doc/latex/refman.tex new file mode 100644 index 0000000..d9bb128 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/refman.tex @@ -0,0 +1,153 @@ +\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 Thu Jul 24 2014 20\-:35\-:17 for Qua\-Z\-I\-P by Doxygen }} +\fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Jul 24 2014 20\-:35\-:17 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 }\\ +\vspace*{1cm} +{\large Generated by Doxygen 1.8.6}\\ +\vspace*{0.5cm} +{\small Thu Jul 24 2014 20:35:17}\\ +\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{Hierarchical Index} +\input{hierarchy} +\chapter{Class Index} +\input{annotated} +\chapter{Class Documentation} +\input{classJlCompress} +\input{structQIODevice__descriptor} +\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 --git a/3rdparty/quazip-0.7/doc/latex/structQIODevice__descriptor.tex b/3rdparty/quazip-0.7/doc/latex/structQIODevice__descriptor.tex new file mode 100644 index 0000000..86e874c --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/structQIODevice__descriptor.tex @@ -0,0 +1,13 @@ +\section{Q\-I\-O\-Device\-\_\-descriptor Struct Reference} +\label{structQIODevice__descriptor}\index{Q\-I\-O\-Device\-\_\-descriptor@{Q\-I\-O\-Device\-\_\-descriptor}} +\subsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +qint64 {\bfseries pos}\label{structQIODevice__descriptor_a21939844f92cd6936f2f2897c0a42695} + +\end{DoxyCompactItemize} + + +The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} +\item +quazip/qioapi.\-cpp\end{DoxyCompactItemize} diff --git a/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo.tex b/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo.tex new file mode 100644 index 0000000..3f1b56b --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo.tex @@ -0,0 +1,86 @@ +\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. + +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 --git a/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo64.tex b/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo64.tex new file mode 100644 index 0000000..4902665 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo64.tex @@ -0,0 +1,209 @@ +\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}\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 storing 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 --git a/3rdparty/quazip-0.7/doc/latex/structQuaZipNewInfo.tex b/3rdparty/quazip-0.7/doc/latex/structQuaZipNewInfo.tex new file mode 100644 index 0000000..9428041 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/structQuaZipNewInfo.tex @@ -0,0 +1,360 @@ +\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 --git a/3rdparty/quazip-0.7/doc/latex/usage.tex b/3rdparty/quazip-0.7/doc/latex/usage.tex new file mode 100644 index 0000000..1c13ec7 --- /dev/null +++ b/3rdparty/quazip-0.7/doc/latex/usage.tex @@ -0,0 +1,22 @@ +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 --git a/3rdparty/quazip-0.7/includes.pri b/3rdparty/quazip-0.7/includes.pri new file mode 100644 index 0000000..8362f97 --- /dev/null +++ b/3rdparty/quazip-0.7/includes.pri @@ -0,0 +1,10 @@ +OBJECTS_DIR = .obj +MOC_DIR = .moc + +unix { + isEmpty(PREFIX): PREFIX=/usr/local +} + +win32 { + isEmpty(PREFIX): warning("PREFIX unspecified, make install won't work") +} diff --git a/3rdparty/quazip-0.7/quazip.pri b/3rdparty/quazip-0.7/quazip.pri new file mode 100644 index 0000000..07cd9c0 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip.pri @@ -0,0 +1,3 @@ +INCLUDEPATH+=$$PWD +DEPENDPATH+=$$PWD/quazip +include($$PWD/quazip/quazip.pri) diff --git a/3rdparty/quazip-0.7/quazip.pro b/3rdparty/quazip-0.7/quazip.pro new file mode 100644 index 0000000..86d4587 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip.pro @@ -0,0 +1,3 @@ +TEMPLATE=subdirs +SUBDIRS=quazip qztest +qztest.depends = quazip diff --git a/3rdparty/quazip-0.7/quazip.sln b/3rdparty/quazip-0.7/quazip.sln new file mode 100644 index 0000000..efd3e9f --- /dev/null +++ b/3rdparty/quazip-0.7/quazip.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C++ Express 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "quazip\quazip.vcxproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qztest", "qztest\qztest.vcxproj", "{7632B767-D089-4F15-8B1E-C4B3F9EBF592}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32 + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32 + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32 + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32 + {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.ActiveCfg = Debug|Win32 + {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.Build.0 = Debug|Win32 + {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.ActiveCfg = Release|Win32 + {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/3rdparty/quazip-0.7/quazip/CMakeLists.txt b/3rdparty/quazip-0.7/quazip/CMakeLists.txt new file mode 100644 index 0000000..dcb1cde --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/CMakeLists.txt @@ -0,0 +1,23 @@ +# set all include directories for in and out of source builds +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${ZLIB_INCLUDE_DIRS} +) + +file(GLOB SRCS "*.c" "*.cpp") +file(GLOB PUBLIC_HEADERS "*.h") + +# Must be added to enable export macro +ADD_DEFINITIONS(-DQUAZIP_BUILD) + +qt_wrap_cpp(MOC_SRCS ${PUBLIC_HEADERS}) +set(SRCS ${SRCS} ${MOC_SRCS}) + +add_library(quazip SHARED ${SRCS}) +set_target_properties(quazip PROPERTIES VERSION 1.0.0 SOVERSION 1) +# Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty) +target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARIES}) + +install(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip) +install(TARGETS quazip LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION}) diff --git a/3rdparty/quazip-0.7/quazip/JlCompress.cpp b/3rdparty/quazip-0.7/quazip/JlCompress.cpp new file mode 100644 index 0000000..4be77b6 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/JlCompress.cpp @@ -0,0 +1,522 @@ +/* +Copyright (C) 2010 Roberto Pompermaier +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "JlCompress.h" +#include + +static bool copyData(QIODevice &inFile, QIODevice &outFile) +{ + while (!inFile.atEnd()) { + char buf[4096]; + qint64 readLen = inFile.read(buf, 4096); + if (readLen <= 0) + return false; + if (outFile.write(buf, readLen) != readLen) + return false; + } + return true; +} + +/**OK + * Comprime il file fileName, nell'oggetto zip, con il nome fileDest. + * + * La funzione fallisce se: + * * zip==NULL; + * * l'oggetto zip e stato aperto in una modalita non compatibile con l'aggiunta di file; + * * non e possibile aprire il file d'origine; + * * non e possibile creare il file all'interno dell'oggetto zip; + * * si e rilevato un errore nella copia dei dati; + * * non e stato possibile chiudere il file all'interno dell'oggetto zip; + */ +bool JlCompress::compressFile(QuaZip* zip, QString fileName, QString fileDest) { + // zip: oggetto dove aggiungere il file + // fileName: nome del file reale + // fileDest: nome del file all'interno del file compresso + + // Controllo l'apertura dello zip + if (!zip) return false; + if (zip->getMode()!=QuaZip::mdCreate && + zip->getMode()!=QuaZip::mdAppend && + zip->getMode()!=QuaZip::mdAdd) return false; + + // Apro il file originale + QFile inFile; + inFile.setFileName(fileName); + if(!inFile.open(QIODevice::ReadOnly)) return false; + + // Apro il file risulato + QuaZipFile outFile(zip); + if(!outFile.open(QIODevice::WriteOnly, QuaZipNewInfo(fileDest, inFile.fileName()))) return false; + + // Copio i dati + if (!copyData(inFile, outFile) || outFile.getZipError()!=UNZ_OK) { + return false; + } + + // Chiudo i file + outFile.close(); + if (outFile.getZipError()!=UNZ_OK) return false; + inFile.close(); + + return true; +} + +/**OK + * Comprime la cartella dir nel file fileCompressed, se recursive e true allora + * comprime anche le sotto cartelle. I nomi dei file preceduti dal path creato + * togliendo il pat della cartella origDir al path della cartella dir. + * Se la funzione fallisce restituisce false e cancella il file che si e tentato + * di creare. + * + * La funzione fallisce se: + * * zip==NULL; + * * l'oggetto zip e stato aperto in una modalita non compatibile con l'aggiunta di file; + * * la cartella dir non esiste; + * * la compressione di una sotto cartella fallisce (1); + * * la compressione di un file fallisce; + * (1) La funzione si richiama in maniera ricorsiva per comprimere le sotto cartelle + * dunque gli errori di compressione di una sotto cartella sono gli stessi di questa + * funzione. + */ +bool JlCompress::compressSubDir(QuaZip* zip, QString dir, QString origDir, bool recursive) { + // zip: oggetto dove aggiungere il file + // dir: cartella reale corrente + // origDir: cartella reale originale + // (path(dir)-path(origDir)) = path interno all'oggetto zip + + // Controllo l'apertura dello zip + if (!zip) return false; + if (zip->getMode()!=QuaZip::mdCreate && + zip->getMode()!=QuaZip::mdAppend && + zip->getMode()!=QuaZip::mdAdd) return false; + + // Controllo la cartella + QDir directory(dir); + if (!directory.exists()) return false; + + QDir origDirectory(origDir); + if (dir != origDir) { + QuaZipFile dirZipFile(zip); + if (!dirZipFile.open(QIODevice::WriteOnly, + QuaZipNewInfo(origDirectory.relativeFilePath(dir) + "/", dir), 0, 0, 0)) { + return false; + } + dirZipFile.close(); + } + + + // Se comprimo anche le sotto cartelle + if (recursive) { + // Per ogni sotto cartella + QFileInfoList files = directory.entryInfoList(QDir::AllDirs|QDir::NoDotAndDotDot); + Q_FOREACH (QFileInfo file, files) { + // Comprimo la sotto cartella + if(!compressSubDir(zip,file.absoluteFilePath(),origDir,recursive)) return false; + } + } + + // Per ogni file nella cartella + QFileInfoList files = directory.entryInfoList(QDir::Files); + Q_FOREACH (QFileInfo file, files) { + // Se non e un file o e il file compresso che sto creando + if(!file.isFile()||file.absoluteFilePath()==zip->getZipName()) continue; + + // Creo il nome relativo da usare all'interno del file compresso + QString filename = origDirectory.relativeFilePath(file.absoluteFilePath()); + + // Comprimo il file + if (!compressFile(zip,file.absoluteFilePath(),filename)) return false; + } + + return true; +} + +/**OK + * Estrae il file fileName, contenuto nell'oggetto zip, con il nome fileDest. + * Se la funzione fallisce restituisce false e cancella il file che si e tentato di estrarre. + * + * La funzione fallisce se: + * * zip==NULL; + * * l'oggetto zip e stato aperto in una modalita non compatibile con l'estrazione di file; + * * non e possibile aprire il file all'interno dell'oggetto zip; + * * non e possibile creare il file estratto; + * * si e rilevato un errore nella copia dei dati (1); + * * non e stato possibile chiudere il file all'interno dell'oggetto zip (1); + * + * (1): prima di uscire dalla funzione cancella il file estratto. + */ +bool JlCompress::extractFile(QuaZip* zip, QString fileName, QString fileDest) { + // zip: oggetto dove aggiungere il file + // filename: nome del file reale + // fileincompress: nome del file all'interno del file compresso + + // Controllo l'apertura dello zip + if (!zip) return false; + if (zip->getMode()!=QuaZip::mdUnzip) return false; + + // Apro il file compresso + if (!fileName.isEmpty()) + zip->setCurrentFile(fileName); + QuaZipFile inFile(zip); + if(!inFile.open(QIODevice::ReadOnly) || inFile.getZipError()!=UNZ_OK) return false; + + // Controllo esistenza cartella file risultato + QDir curDir; + if (fileDest.endsWith('/')) { + if (!curDir.mkpath(fileDest)) { + return false; + } + } else { + if (!curDir.mkpath(QFileInfo(fileDest).absolutePath())) { + return false; + } + } + + QuaZipFileInfo64 info; + if (!zip->getCurrentFileInfo(&info)) + return false; + + QFile::Permissions srcPerm = info.getPermissions(); + if (fileDest.endsWith('/') && QFileInfo(fileDest).isDir()) { + if (srcPerm != 0) { + QFile(fileDest).setPermissions(srcPerm); + } + return true; + } + + // Apro il file risultato + QFile outFile; + outFile.setFileName(fileDest); + if(!outFile.open(QIODevice::WriteOnly)) return false; + + // Copio i dati + if (!copyData(inFile, outFile) || inFile.getZipError()!=UNZ_OK) { + outFile.close(); + removeFile(QStringList(fileDest)); + return false; + } + outFile.close(); + + // Chiudo i file + inFile.close(); + if (inFile.getZipError()!=UNZ_OK) { + removeFile(QStringList(fileDest)); + return false; + } + + if (srcPerm != 0) { + outFile.setPermissions(srcPerm); + } + return true; +} + +/** + * Rimuove i file il cui nome e specificato all'interno di listFile. + * Restituisce true se tutti i file sono stati cancellati correttamente, attenzione + * perche puo restituire false anche se alcuni file non esistevano e si e tentato + * di cancellarli. + */ +bool JlCompress::removeFile(QStringList listFile) { + bool ret = true; + // Per ogni file + for (int i=0; iopen(QuaZip::mdUnzip)) { + delete zip; + return QStringList(); + } + + // Estraggo i nomi dei file + QStringList lst; + QuaZipFileInfo64 info; + for(bool more=zip->goToFirstFile(); more; more=zip->goToNextFile()) { + if(!zip->getCurrentFileInfo(&info)) { + delete zip; + return QStringList(); + } + lst << info.name; + //info.name.toLocal8Bit().constData() + } + + // Chiudo il file zip + zip->close(); + if(zip->getZipError()!=0) { + delete zip; + return QStringList(); + } + delete zip; + + return lst; +} + diff --git a/3rdparty/quazip-0.7/quazip/JlCompress.h b/3rdparty/quazip-0.7/quazip/JlCompress.h new file mode 100644 index 0000000..62543f7 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/JlCompress.h @@ -0,0 +1,139 @@ +#ifndef JLCOMPRESSFOLDER_H_ +#define JLCOMPRESSFOLDER_H_ + +/* +Copyright (C) 2010 Roberto Pompermaier +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quazip.h" +#include "quazipfile.h" +#include "quazipfileinfo.h" +#include +#include +#include +#include + +/// 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. + */ +class QUAZIP_EXPORT JlCompress { +private: + /// Compress a single file. + /** + \param zip Opened zip to compress the file to. + \param fileName The full path to the source file. + \param fileDest The full name of the file inside the archive. + \return true if success, false otherwise. + */ + static bool compressFile(QuaZip* zip, QString fileName, QString fileDest); + /// Compress a subdirectory. + /** + \param parentZip Opened zip containing the parent directory. + \param dir The full path to the directory to pack. + \param parentDir The full path to the directory corresponding to + the root of the ZIP. + \param recursive Whether to pack sub-directories as well or only + files. + \return true if success, false otherwise. + */ + static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive = true); + /// Extract a single file. + /** + \param zip The opened zip archive to extract from. + \param fileName The full name of the file to extract. + \param fileDest The full path to the destination file. + \return true if success, false otherwise. + */ + static bool extractFile(QuaZip* zip, QString fileName, QString fileDest); + /// Remove some files. + /** + \param listFile The list of files to remove. + \return true if success, false otherwise. + */ + static bool removeFile(QStringList listFile); + +public: + /// Compress a single file. + /** + \param fileCompressed The name of the archive. + \param file The file to compress. + \return true if success, false otherwise. + */ + static bool compressFile(QString fileCompressed, QString file); + /// Compress a list of files. + /** + \param fileCompressed The name of the archive. + \param files The file list to compress. + \return true if success, false otherwise. + */ + static bool compressFiles(QString fileCompressed, QStringList files); + /// Compress a whole directory. + /** + \param fileCompressed The name of the archive. + \param dir The directory to compress. + \param recursive Whether to pack the subdirectories as well, or + just regular files. + \return true if success, false otherwise. + */ + static bool compressDir(QString fileCompressed, QString dir = QString(), bool recursive = true); + +public: + /// Extract a single file. + /** + \param fileCompressed The name of the archive. + \param fileName The file to extract. + \param fileDest The destination file, assumed to be identical to + \a file if left empty. + \return The list of the full paths of the files extracted, empty on failure. + */ + static QString extractFile(QString fileCompressed, QString fileName, QString fileDest = QString()); + /// Extract a list of files. + /** + \param fileCompressed The name of the archive. + \param files The file list to extract. + \param dir The directory to put the files to, the current + directory if left empty. + \return The list of the full paths of the files extracted, empty on failure. + */ + static QStringList extractFiles(QString fileCompressed, QStringList files, QString dir = QString()); + /// Extract a whole archive. + /** + \param fileCompressed The name of the archive. + \param dir The directory to extract to, the current directory if + left empty. + \return The list of the full paths of the files extracted, empty on failure. + */ + static QStringList extractDir(QString fileCompressed, QString dir = QString()); + /// Get the file list. + /** + \return 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. + */ + static QStringList getFileList(QString fileCompressed); +}; + +#endif /* JLCOMPRESSFOLDER_H_ */ diff --git a/3rdparty/quazip-0.7/quazip/crypt.h b/3rdparty/quazip-0.7/quazip/crypt.h new file mode 100644 index 0000000..ddee28e --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/crypt.h @@ -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 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 --git a/3rdparty/quazip-0.7/quazip/debian/libquazip0.symbols b/3rdparty/quazip-0.7/quazip/debian/libquazip0.symbols new file mode 100644 index 0000000..ed3c09b --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/debian/libquazip0.symbols @@ -0,0 +1,163 @@ +libquazip.so.0 libquazip0 #MINVER# + _Z24qiodevice_open_file_funcPvS_i@Base 0.4.4 + _Z24qiodevice_read_file_funcPvS_S_m@Base 0.4.4 + _Z24qiodevice_seek_file_funcPvS_mi@Base 0.4.4 + _Z24qiodevice_tell_file_funcPvS_@Base 0.4.4 + _Z25qiodevice_close_file_funcPvS_@Base 0.4.4 + _Z25qiodevice_error_file_funcPvS_@Base 0.4.4 + _Z25qiodevice_write_file_funcPvS_PKvm@Base 0.4.4 + _ZN10JlCompress10extractDirE7QStringS0_@Base 0.4.4 + _ZN10JlCompress11compressDirE7QStringS0_b@Base 0.4.4 + _ZN10JlCompress11extractFileE7QStringS0_S0_@Base 0.4.4 + _ZN10JlCompress11getFileListE7QString@Base 0.4.4 + _ZN10JlCompress12compressFileE7QStringS0_@Base 0.4.4 + _ZN10JlCompress12extractFilesE7QString11QStringListS0_@Base 0.4.4 + _ZN10JlCompress13compressFilesE7QString11QStringList@Base 0.4.4 + _ZN10QuaAdler325resetEv@Base 0.4.4 + _ZN10QuaAdler325valueEv@Base 0.4.4 + _ZN10QuaAdler326updateERK10QByteArray@Base 0.4.4 + _ZN10QuaAdler329calculateERK10QByteArray@Base 0.4.4 + _ZN10QuaAdler32C1Ev@Base 0.4.4 + _ZN10QuaAdler32C2Ev@Base 0.4.4 + _ZN10QuaZipFile10setZipNameERK7QString@Base 0.4.4 + _ZN10QuaZipFile11getFileInfoEP14QuaZipFileInfo@Base 0.4.4 + _ZN10QuaZipFile11setFileNameERK7QStringN6QuaZip15CaseSensitivityE@Base 0.4.4 + _ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE@Base 0.4.4 + _ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEEPiS4_bPKc@Base 0.4.4 + _ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEERK13QuaZipNewInfoPKcjiibiii@Base 0.4.4 + _ZN10QuaZipFile5closeEv@Base 0.4.4 + _ZN10QuaZipFile6setZipEP6QuaZip@Base 0.4.4 + _ZN10QuaZipFile8readDataEPcx@Base 0.4.4 + _ZN10QuaZipFile9writeDataEPKcx@Base 0.4.4 + _ZN10QuaZipFileC1EP6QuaZipP7QObject@Base 0.4.4 + _ZN10QuaZipFileC1EP7QObject@Base 0.4.4 + _ZN10QuaZipFileC1ERK7QStringP7QObject@Base 0.4.4 + _ZN10QuaZipFileC1ERK7QStringS2_N6QuaZip15CaseSensitivityEP7QObject@Base 0.4.4 + _ZN10QuaZipFileC1Ev@Base 0.4.4 + _ZN10QuaZipFileC2EP6QuaZipP7QObject@Base 0.4.4 + _ZN10QuaZipFileC2EP7QObject@Base 0.4.4 + _ZN10QuaZipFileC2ERK7QStringP7QObject@Base 0.4.4 + _ZN10QuaZipFileC2ERK7QStringS2_N6QuaZip15CaseSensitivityEP7QObject@Base 0.4.4 + _ZN10QuaZipFileC2Ev@Base 0.4.4 + _ZN10QuaZipFileD0Ev@Base 0.4.4 + _ZN10QuaZipFileD1Ev@Base 0.4.4 + _ZN10QuaZipFileD2Ev@Base 0.4.4 + _ZN13QuaZipNewInfo15setFileDateTimeERK7QString@Base 0.4.4 + _ZN13QuaZipNewInfoC1ERK7QString@Base 0.4.4 + _ZN13QuaZipNewInfoC1ERK7QStringS2_@Base 0.4.4 + _ZN13QuaZipNewInfoC2ERK7QString@Base 0.4.4 + _ZN13QuaZipNewInfoC2ERK7QStringS2_@Base 0.4.4 + _ZN13QuaZipNewInfoD1Ev@Base 0.4.4 + _ZN13QuaZipNewInfoD2Ev@Base 0.4.4 + _ZN14QuaZipFileInfoD1Ev@Base 0.4.4 + _ZN14QuaZipFileInfoD2Ev@Base 0.4.4 + _ZN6QuaZip10getUnzFileEv@Base 0.4.4 + _ZN6QuaZip10getZipFileEv@Base 0.4.4 + _ZN6QuaZip10setCommentERK7QString@Base 0.4.4 + _ZN6QuaZip10setZipNameERK7QString@Base 0.4.4 + _ZN6QuaZip11setIoDeviceEP9QIODevice@Base 0.4.4 + _ZN6QuaZip12goToNextFileEv@Base 0.4.4 + _ZN6QuaZip13goToFirstFileEv@Base 0.4.4 + _ZN6QuaZip14setCurrentFileERK7QStringNS_15CaseSensitivityE@Base 0.4.4 + _ZN6QuaZip15setCommentCodecEP10QTextCodec@Base 0.4.4 + _ZN6QuaZip15setCommentCodecEPKc@Base 0.4.4 + _ZN6QuaZip16setFileNameCodecEP10QTextCodec@Base 0.4.4 + _ZN6QuaZip16setFileNameCodecEPKc@Base 0.4.4 + _ZN6QuaZip31setDataDescriptorWritingEnabledEb@Base 0.4.4 + _ZN6QuaZip4openENS_4ModeEP19zlib_filefunc_def_s@Base 0.4.4 + _ZN6QuaZip5closeEv@Base 0.4.4 + _ZN6QuaZipC1EP9QIODevice@Base 0.4.4 + _ZN6QuaZipC1ERK7QString@Base 0.4.4 + _ZN6QuaZipC1Ev@Base 0.4.4 + _ZN6QuaZipC2EP9QIODevice@Base 0.4.4 + _ZN6QuaZipC2ERK7QString@Base 0.4.4 + _ZN6QuaZipC2Ev@Base 0.4.4 + _ZN6QuaZipD1Ev@Base 0.4.4 + _ZN6QuaZipD2Ev@Base 0.4.4 + _ZN7QStringD1Ev@Base 0.4.4 + _ZN7QStringD2Ev@Base 0.4.4 + _ZN8QuaCrc325resetEv@Base 0.4.4 + _ZN8QuaCrc325valueEv@Base 0.4.4 + _ZN8QuaCrc326updateERK10QByteArray@Base 0.4.4 + _ZN8QuaCrc329calculateERK10QByteArray@Base 0.4.4 + _ZN8QuaCrc32C1Ev@Base 0.4.4 + _ZN8QuaCrc32C2Ev@Base 0.4.4 + _ZNK10QuaZipFile10getZipNameEv@Base 0.4.4 + _ZNK10QuaZipFile10metaObjectEv@Base 0.4.4 + _ZNK10QuaZipFile11getFileNameEv@Base 0.4.4 + _ZNK10QuaZipFile11getZipErrorEv@Base 0.4.4 + _ZNK10QuaZipFile12isSequentialEv@Base 0.4.4 + _ZNK10QuaZipFile14bytesAvailableEv@Base 0.4.4 + _ZNK10QuaZipFile17getActualFileNameEv@Base 0.4.4 + _ZNK10QuaZipFile18getCaseSensitivityEv@Base 0.4.4 + _ZNK10QuaZipFile3posEv@Base 0.4.4 + _ZNK10QuaZipFile4sizeEv@Base 0.4.4 + _ZNK10QuaZipFile5atEndEv@Base 0.4.4 + _ZNK10QuaZipFile5csizeEv@Base 0.4.4 + _ZNK10QuaZipFile5isRawEv@Base 0.4.4 + _ZNK10QuaZipFile5usizeEv@Base 0.4.4 + _ZNK10QuaZipFile6getZipEv@Base 0.4.4 + _ZNK6QuaZip10getCommentEv@Base 0.4.4 + _ZNK6QuaZip10getZipNameEv@Base 0.4.4 + _ZNK6QuaZip11getIoDeviceEv@Base 0.4.4 + _ZNK6QuaZip11getZipErrorEv@Base 0.4.4 + _ZNK6QuaZip14hasCurrentFileEv@Base 0.4.4 + _ZNK6QuaZip15getCommentCodecEv@Base 0.4.4 + _ZNK6QuaZip15getEntriesCountEv@Base 0.4.4 + _ZNK6QuaZip15getFileInfoListEv@Base 0.4.4 + _ZNK6QuaZip15getFileNameListEv@Base 0.4.4 + _ZNK6QuaZip16getFileNameCodecEv@Base 0.4.4 + _ZNK6QuaZip18getCurrentFileInfoEP14QuaZipFileInfo@Base 0.4.4 + _ZNK6QuaZip18getCurrentFileNameEv@Base 0.4.4 + _ZNK6QuaZip30isDataDescriptorWritingEnabledEv@Base 0.4.4 + _ZNK6QuaZip6isOpenEv@Base 0.4.4 + _ZNK6QuaZip7getModeEv@Base 0.4.4 + _ZTI10QuaAdler32@Base 0.4.4 + _ZTI10QuaZipFile@Base 0.4.4 + _ZTI13QuaChecksum32@Base 0.4.4 + _ZTI8QuaCrc32@Base 0.4.4 + _ZTS10QuaAdler32@Base 0.4.4 + _ZTS10QuaZipFile@Base 0.4.4 + _ZTS13QuaChecksum32@Base 0.4.4 + _ZTS8QuaCrc32@Base 0.4.4 + _ZTV10QuaAdler32@Base 0.4.4 + _ZTV10QuaZipFile@Base 0.4.4 + _ZTV13QuaChecksum32@Base 0.4.4 + _ZTV8QuaCrc32@Base 0.4.4 + fill_qiodevice_filefunc@Base 0.4.4 + unzClose@Base 0.4.4 + unzCloseCurrentFile@Base 0.4.4 + unzGetCurrentFileInfo@Base 0.4.4 + unzGetFilePos@Base 0.4.4 + unzGetGlobalComment@Base 0.4.4 + unzGetGlobalInfo@Base 0.4.4 + unzGetLocalExtrafield@Base 0.4.4 + unzGetOffset@Base 0.4.4 + unzGoToFilePos@Base 0.4.4 + unzGoToFirstFile@Base 0.4.4 + unzGoToNextFile@Base 0.4.4 + unzLocateFile@Base 0.4.4 + unzOpen2@Base 0.4.4 + unzOpen@Base 0.4.4 + unzOpenCurrentFile2@Base 0.4.4 + unzOpenCurrentFile3@Base 0.4.4 + unzOpenCurrentFile@Base 0.4.4 + unzOpenCurrentFilePassword@Base 0.4.4 + unzReadCurrentFile@Base 0.4.4 + unzSetOffset@Base 0.4.4 + unzStringFileNameCompare@Base 0.4.4 + unz_copyright@Base 0.4.4 + unzeof@Base 0.4.4 + unztell@Base 0.4.4 + zipClearFlags@Base 0.4.4 + zipClose@Base 0.4.4 + zipCloseFileInZip@Base 0.4.4 + zipCloseFileInZipRaw@Base 0.4.4 + zipOpen2@Base 0.4.4 + zipOpen@Base 0.4.4 + zipOpenNewFileInZip2@Base 0.4.4 + zipOpenNewFileInZip3@Base 0.4.4 + zipOpenNewFileInZip@Base 0.4.4 + zipSetFlags@Base 0.4.4 + zipWriteInFileInZip@Base 0.4.4 + zip_copyright@Base 0.4.4 diff --git a/3rdparty/quazip-0.7/quazip/doc/faq.dox b/3rdparty/quazip-0.7/quazip/doc/faq.dox new file mode 100644 index 0000000..68fc52b --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/doc/faq.dox @@ -0,0 +1,45 @@ +/** + * \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. + **/ diff --git a/3rdparty/quazip-0.7/quazip/doc/index.dox b/3rdparty/quazip-0.7/quazip/doc/index.dox new file mode 100644 index 0000000..ae45c5c --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/doc/index.dox @@ -0,0 +1,177 @@ +/** + * \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: +\verbatim +$ cd /wherever/quazip/source/is/quazip-x.y.z/quazip +$ 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: + * +\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: +\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: +\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 + **/ diff --git a/3rdparty/quazip-0.7/quazip/doc/usage.dox b/3rdparty/quazip-0.7/quazip/doc/usage.dox new file mode 100644 index 0000000..108f6cb --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/doc/usage.dox @@ -0,0 +1,77 @@ +/** \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. + **/ diff --git a/3rdparty/quazip-0.7/quazip/ioapi.h b/3rdparty/quazip-0.7/quazip/ioapi.h new file mode 100644 index 0000000..bbb94c8 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/ioapi.h @@ -0,0 +1,207 @@ +/* ioapi.h -- IO base function header for compress/uncompress .zip + part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) + + Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) + + Modifications for Zip64 support + Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) + + Modified by Sergey A. Tachenov to allow QIODevice API usage. + + For more info read MiniZip_info.txt + + Changes + + Oct-2009 - Defined ZPOS64_T to fpos_t on windows and u_int64_t on linux. (might need to find a better why for this) + Oct-2009 - Change to fseeko64, ftello64 and fopen64 so large files would work on linux. + More if/def section may be needed to support other platforms + Oct-2009 - Defined fxxxx64 calls to normal fopen/ftell/fseek so they would compile on windows. + (but you should use iowin32.c for windows instead) + +*/ + +#ifndef _ZLIBIOAPI64_H +#define _ZLIBIOAPI64_H + +#if (!defined(_WIN32)) && (!defined(WIN32)) + + // Linux needs this to support file operation on files larger then 4+GB + // But might need better if/def to select just the platforms that needs them. + + #ifndef __USE_FILE_OFFSET64 + #define __USE_FILE_OFFSET64 + #endif + #ifndef __USE_LARGEFILE64 + #define __USE_LARGEFILE64 + #endif + #ifndef _LARGEFILE64_SOURCE + #define _LARGEFILE64_SOURCE + #endif + #ifndef _FILE_OFFSET_BIT + #define _FILE_OFFSET_BIT 64 + #endif +#endif + +#include +#include +#include "zlib.h" + +#if defined(USE_FILE32API) +#define fopen64 fopen +#define ftello64 ftell +#define fseeko64 fseek +#else +#ifdef _MSC_VER + #define fopen64 fopen + #if (_MSC_VER >= 1400) && (!(defined(NO_MSCVER_FILE64_FUNC))) + #define ftello64 _ftelli64 + #define fseeko64 _fseeki64 + #else // old MSC + #define ftello64 ftell + #define fseeko64 fseek + #endif +#endif +#endif + +/* +#ifndef ZPOS64_T + #ifdef _WIN32 + #define ZPOS64_T fpos_t + #else + #include + #define ZPOS64_T uint64_t + #endif +#endif +*/ + +#ifdef HAVE_MINIZIP64_CONF_H +#include "mz64conf.h" +#endif + +/* a type choosen by DEFINE */ +#ifdef HAVE_64BIT_INT_CUSTOM +typedef 64BIT_INT_CUSTOM_TYPE ZPOS64_T; +#else +#ifdef HAS_STDINT_H +#include "stdint.h" +typedef uint64_t ZPOS64_T; +#else + + +#if defined(_MSC_VER) || defined(__BORLANDC__) +typedef unsigned __int64 ZPOS64_T; +#else +typedef unsigned long long int ZPOS64_T; +#endif +#endif +#endif + + + +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef OF +#define OF _Z_OF +#endif + +#define ZLIB_FILEFUNC_SEEK_CUR (1) +#define ZLIB_FILEFUNC_SEEK_END (2) +#define ZLIB_FILEFUNC_SEEK_SET (0) + +#define ZLIB_FILEFUNC_MODE_READ (1) +#define ZLIB_FILEFUNC_MODE_WRITE (2) +#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) + +#define ZLIB_FILEFUNC_MODE_EXISTING (4) +#define ZLIB_FILEFUNC_MODE_CREATE (8) + + +#ifndef ZCALLBACK + #if (defined(WIN32) || defined(_WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK) + #define ZCALLBACK CALLBACK + #else + #define ZCALLBACK + #endif +#endif + + + + +typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf file, int mode)); +typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); +typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); +typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); +typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); + +typedef uLong (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); +typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)); + + +/* here is the "old" 32 bits structure structure */ +typedef struct zlib_filefunc_def_s +{ + open_file_func zopen_file; + read_file_func zread_file; + write_file_func zwrite_file; + tell_file_func ztell_file; + seek_file_func zseek_file; + close_file_func zclose_file; + testerror_file_func zerror_file; + voidpf opaque; +} zlib_filefunc_def; + +typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream)); +typedef int (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); +typedef voidpf (ZCALLBACK *open64_file_func) OF((voidpf opaque, voidpf file, int mode)); + +typedef struct zlib_filefunc64_def_s +{ + open64_file_func zopen64_file; + read_file_func zread_file; + write_file_func zwrite_file; + tell64_file_func ztell64_file; + seek64_file_func zseek64_file; + close_file_func zclose_file; + testerror_file_func zerror_file; + voidpf opaque; + close_file_func zfakeclose_file; // for no-auto-close flag +} zlib_filefunc64_def; + +void fill_qiodevice64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def)); +void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); + +/* now internal definition, only for zip.c and unzip.h */ +typedef struct zlib_filefunc64_32_def_s +{ + zlib_filefunc64_def zfile_func64; + open_file_func zopen32_file; + tell_file_func ztell32_file; + seek_file_func zseek32_file; +} zlib_filefunc64_32_def; + + +#define ZREAD64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) +#define ZWRITE64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) +//#define ZTELL64(filefunc,filestream) ((*((filefunc).ztell64_file)) ((filefunc).opaque,filestream)) +//#define ZSEEK64(filefunc,filestream,pos,mode) ((*((filefunc).zseek64_file)) ((filefunc).opaque,filestream,pos,mode)) +#define ZCLOSE64(filefunc,filestream) ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream)) +#define ZFAKECLOSE64(filefunc,filestream) ((*((filefunc).zfile_func64.zfakeclose_file)) ((filefunc).zfile_func64.opaque,filestream)) +#define ZERROR64(filefunc,filestream) ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream)) + +voidpf call_zopen64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf file,int mode)); +int call_zseek64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin)); +ZPOS64_T call_ztell64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream)); + +void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_filefunc64_32,const zlib_filefunc_def* p_filefunc32); + +#define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(filename),(mode))) +#define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(filestream))) +#define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/3rdparty/quazip-0.7/quazip/qioapi.cpp b/3rdparty/quazip-0.7/quazip/qioapi.cpp new file mode 100644 index 0000000..534dbdf --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/qioapi.cpp @@ -0,0 +1,361 @@ +/* ioapi.c -- IO base function header for compress/uncompress .zip + files using zlib + zip or unzip API + + Version 1.01e, February 12th, 2005 + + Copyright (C) 1998-2005 Gilles Vollant + + Modified by Sergey A. Tachenov to integrate with Qt. +*/ + +#include +#include +#include + +#include "zlib.h" +#include "ioapi.h" +#include "quazip_global.h" +#include +#if (QT_VERSION >= 0x050100) +#define QUAZIP_QSAVEFILE_BUG_WORKAROUND +#endif +#ifdef QUAZIP_QSAVEFILE_BUG_WORKAROUND +#include +#endif + +/* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */ + +#ifndef SEEK_CUR +#define SEEK_CUR 1 +#endif + +#ifndef SEEK_END +#define SEEK_END 2 +#endif + +#ifndef SEEK_SET +#define SEEK_SET 0 +#endif + +voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,voidpf file,int mode) +{ + if (pfilefunc->zfile_func64.zopen64_file != NULL) + return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,file,mode); + else + { + return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,file,mode); + } +} + +int call_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin) +{ + if (pfilefunc->zfile_func64.zseek64_file != NULL) + return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin); + else + { + uLong offsetTruncated = (uLong)offset; + if (offsetTruncated != offset) + return -1; + else + return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,origin); + } +} + +ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream) +{ + if (pfilefunc->zfile_func64.zseek64_file != NULL) + return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream); + else + { + uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream); + if ((tell_uLong) == ((uLong)-1)) + return (ZPOS64_T)-1; + else + return tell_uLong; + } +} + +struct QIODevice_descriptor { + // Position only used for writing to sequential devices. + qint64 pos; + inline QIODevice_descriptor(): + pos(0) + {} +}; + +voidpf ZCALLBACK qiodevice_open_file_func ( + voidpf opaque, + voidpf file, + int mode) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + QIODevice *iodevice = reinterpret_cast(file); + QIODevice::OpenMode desiredMode; + if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) + desiredMode = QIODevice::ReadOnly; + else if (mode & ZLIB_FILEFUNC_MODE_EXISTING) + desiredMode = QIODevice::ReadWrite; + else if (mode & ZLIB_FILEFUNC_MODE_CREATE) + desiredMode = QIODevice::WriteOnly; + if (iodevice->isOpen()) { + if ((iodevice->openMode() & desiredMode) == desiredMode) { + if (desiredMode != QIODevice::WriteOnly + && iodevice->isSequential()) { + // We can use sequential devices only for writing. + delete d; + return NULL; + } else { + if ((desiredMode & QIODevice::WriteOnly) != 0) { + // open for writing, need to seek existing device + if (!iodevice->isSequential()) { + iodevice->seek(0); + } else { + d->pos = iodevice->pos(); + } + } + } + return iodevice; + } else { + delete d; + return NULL; + } + } + iodevice->open(desiredMode); + if (iodevice->isOpen()) { + if (desiredMode != QIODevice::WriteOnly && iodevice->isSequential()) { + // We can use sequential devices only for writing. + iodevice->close(); + delete d; + return NULL; + } else { + return iodevice; + } + } else { + delete d; + return NULL; + } +} + + +uLong ZCALLBACK qiodevice_read_file_func ( + voidpf opaque, + voidpf stream, + void* buf, + uLong size) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + QIODevice *iodevice = reinterpret_cast(stream); + qint64 ret64 = iodevice->read((char*)buf,size); + uLong ret; + ret = (uLong) ret64; + if (ret64 != -1) { + d->pos += ret64; + } + return ret; +} + + +uLong ZCALLBACK qiodevice_write_file_func ( + voidpf opaque, + voidpf stream, + const void* buf, + uLong size) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + QIODevice *iodevice = reinterpret_cast(stream); + uLong ret; + qint64 ret64 = iodevice->write((char*)buf,size); + if (ret64 != -1) { + d->pos += ret64; + } + ret = (uLong) ret64; + return ret; +} + +uLong ZCALLBACK qiodevice_tell_file_func ( + voidpf opaque, + voidpf stream) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + QIODevice *iodevice = reinterpret_cast(stream); + uLong ret; + qint64 ret64; + if (iodevice->isSequential()) { + ret64 = d->pos; + } else { + ret64 = iodevice->pos(); + } + ret = static_cast(ret64); + return ret; +} + +ZPOS64_T ZCALLBACK qiodevice64_tell_file_func ( + voidpf opaque, + voidpf stream) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + QIODevice *iodevice = reinterpret_cast(stream); + qint64 ret; + if (iodevice->isSequential()) { + ret = d->pos; + } else { + ret = iodevice->pos(); + } + return static_cast(ret); +} + +int ZCALLBACK qiodevice_seek_file_func ( + voidpf /*opaque UNUSED*/, + voidpf stream, + uLong offset, + int origin) +{ + QIODevice *iodevice = reinterpret_cast(stream); + if (iodevice->isSequential()) { + if (origin == ZLIB_FILEFUNC_SEEK_END + && offset == 0) { + // sequential devices are always at end (needed in mdAppend) + return 0; + } else { + qWarning("qiodevice_seek_file_func() called for sequential device"); + return -1; + } + } + uLong qiodevice_seek_result=0; + int ret; + switch (origin) + { + case ZLIB_FILEFUNC_SEEK_CUR : + qiodevice_seek_result = ((QIODevice*)stream)->pos() + offset; + break; + case ZLIB_FILEFUNC_SEEK_END : + qiodevice_seek_result = ((QIODevice*)stream)->size() - offset; + break; + case ZLIB_FILEFUNC_SEEK_SET : + qiodevice_seek_result = offset; + break; + default: + return -1; + } + ret = !iodevice->seek(qiodevice_seek_result); + return ret; +} + +int ZCALLBACK qiodevice64_seek_file_func ( + voidpf /*opaque UNUSED*/, + voidpf stream, + ZPOS64_T offset, + int origin) +{ + QIODevice *iodevice = reinterpret_cast(stream); + if (iodevice->isSequential()) { + if (origin == ZLIB_FILEFUNC_SEEK_END + && offset == 0) { + // sequential devices are always at end (needed in mdAppend) + return 0; + } else { + qWarning("qiodevice_seek_file_func() called for sequential device"); + return -1; + } + } + qint64 qiodevice_seek_result=0; + int ret; + switch (origin) + { + case ZLIB_FILEFUNC_SEEK_CUR : + qiodevice_seek_result = ((QIODevice*)stream)->pos() + offset; + break; + case ZLIB_FILEFUNC_SEEK_END : + qiodevice_seek_result = ((QIODevice*)stream)->size() - offset; + break; + case ZLIB_FILEFUNC_SEEK_SET : + qiodevice_seek_result = offset; + break; + default: + return -1; + } + ret = !iodevice->seek(qiodevice_seek_result); + return ret; +} + +int ZCALLBACK qiodevice_close_file_func ( + voidpf opaque, + voidpf stream) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + delete d; + QIODevice *device = reinterpret_cast(stream); +#ifdef QUAZIP_QSAVEFILE_BUG_WORKAROUND + // QSaveFile terribly breaks the is-a idiom: + // it IS a QIODevice, but it is NOT compatible with it: close() is private + QSaveFile *file = qobject_cast(device); + if (file != NULL) { + // We have to call the ugly commit() instead: + return file->commit() ? 0 : -1; + } +#endif + device->close(); + return 0; +} + +int ZCALLBACK qiodevice_fakeclose_file_func ( + voidpf opaque, + voidpf /*stream*/) +{ + QIODevice_descriptor *d = reinterpret_cast(opaque); + delete d; + return 0; +} + +int ZCALLBACK qiodevice_error_file_func ( + voidpf /*opaque UNUSED*/, + voidpf /*stream UNUSED*/) +{ + // can't check for error due to the QIODevice API limitation + return 0; +} + +void fill_qiodevice_filefunc ( + zlib_filefunc_def* pzlib_filefunc_def) +{ + pzlib_filefunc_def->zopen_file = qiodevice_open_file_func; + pzlib_filefunc_def->zread_file = qiodevice_read_file_func; + pzlib_filefunc_def->zwrite_file = qiodevice_write_file_func; + pzlib_filefunc_def->ztell_file = qiodevice_tell_file_func; + pzlib_filefunc_def->zseek_file = qiodevice_seek_file_func; + pzlib_filefunc_def->zclose_file = qiodevice_close_file_func; + pzlib_filefunc_def->zerror_file = qiodevice_error_file_func; + pzlib_filefunc_def->opaque = new QIODevice_descriptor; +} + +void fill_qiodevice64_filefunc ( + zlib_filefunc64_def* pzlib_filefunc_def) +{ + // Open functions are the same for Qt. + pzlib_filefunc_def->zopen64_file = qiodevice_open_file_func; + pzlib_filefunc_def->zread_file = qiodevice_read_file_func; + pzlib_filefunc_def->zwrite_file = qiodevice_write_file_func; + pzlib_filefunc_def->ztell64_file = qiodevice64_tell_file_func; + pzlib_filefunc_def->zseek64_file = qiodevice64_seek_file_func; + pzlib_filefunc_def->zclose_file = qiodevice_close_file_func; + pzlib_filefunc_def->zerror_file = qiodevice_error_file_func; + pzlib_filefunc_def->opaque = new QIODevice_descriptor; + pzlib_filefunc_def->zfakeclose_file = qiodevice_fakeclose_file_func; +} + +void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_filefunc64_32,const zlib_filefunc_def* p_filefunc32) +{ + p_filefunc64_32->zfile_func64.zopen64_file = NULL; + p_filefunc64_32->zopen32_file = p_filefunc32->zopen_file; + p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file; + p_filefunc64_32->zfile_func64.zread_file = p_filefunc32->zread_file; + p_filefunc64_32->zfile_func64.zwrite_file = p_filefunc32->zwrite_file; + p_filefunc64_32->zfile_func64.ztell64_file = NULL; + p_filefunc64_32->zfile_func64.zseek64_file = NULL; + p_filefunc64_32->zfile_func64.zclose_file = p_filefunc32->zclose_file; + p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file; + p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque; + p_filefunc64_32->zfile_func64.zfakeclose_file = NULL; + p_filefunc64_32->zseek32_file = p_filefunc32->zseek_file; + p_filefunc64_32->ztell32_file = p_filefunc32->ztell_file; +} diff --git a/3rdparty/quazip-0.7/quazip/quaadler32.cpp b/3rdparty/quazip-0.7/quazip/quaadler32.cpp new file mode 100644 index 0000000..8393ce1 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quaadler32.cpp @@ -0,0 +1,53 @@ +/* +Copyright (C) 2010 Adam Walczak +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quaadler32.h" + +#include "zlib.h" + +QuaAdler32::QuaAdler32() +{ + reset(); +} + +quint32 QuaAdler32::calculate(const QByteArray &data) +{ + return adler32( adler32(0L, Z_NULL, 0), (const Bytef*)data.data(), data.size() ); +} + +void QuaAdler32::reset() +{ + checksum = adler32(0L, Z_NULL, 0); +} + +void QuaAdler32::update(const QByteArray &buf) +{ + checksum = adler32( checksum, (const Bytef*)buf.data(), buf.size() ); +} + +quint32 QuaAdler32::value() +{ + return checksum; +} diff --git a/3rdparty/quazip-0.7/quazip/quaadler32.h b/3rdparty/quazip-0.7/quazip/quaadler32.h new file mode 100644 index 0000000..4e117e7 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quaadler32.h @@ -0,0 +1,54 @@ +#ifndef QUAADLER32_H +#define QUAADLER32_H + +/* +Copyright (C) 2010 Adam Walczak +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include + +#include "quachecksum32.h" + +/// Adler32 checksum +/** \class QuaAdler32 quaadler32.h + * This class wrappers the adler32 function with the QuaChecksum32 interface. + * See QuaChecksum32 for more info. + */ +class QUAZIP_EXPORT QuaAdler32 : public QuaChecksum32 +{ + +public: + QuaAdler32(); + + quint32 calculate(const QByteArray &data); + + void reset(); + void update(const QByteArray &buf); + quint32 value(); + +private: + quint32 checksum; +}; + +#endif //QUAADLER32_H diff --git a/3rdparty/quazip-0.7/quazip/quachecksum32.h b/3rdparty/quazip-0.7/quazip/quachecksum32.h new file mode 100644 index 0000000..b99ef69 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quachecksum32.h @@ -0,0 +1,78 @@ +#ifndef QUACHECKSUM32_H +#define QUACHECKSUM32_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include +#include "quazip_global.h" + +/// Checksum interface. +/** \class QuaChecksum32 quachecksum32.h + * This is an interface for 32 bit checksums. + * Classes implementing this interface can calcunate a certin + * checksum in a single step: + * \code + * QChecksum32 *crc32 = new QuaCrc32(); + * rasoult = crc32->calculate(data); + * \endcode + * or by streaming the data: + * \code + * 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(); + * \endcode + */ +class QUAZIP_EXPORT QuaChecksum32 +{ + +public: + ///Calculates the checksum for data. + /** \a data source data + * \return data checksum + * + * This function has no efect on the value returned by value(). + */ + virtual quint32 calculate(const QByteArray &data) = 0; + + ///Resets the calculation on a checksun for a stream. + virtual void reset() = 0; + + ///Updates the calculated checksum for the stream + /** \a buf next portion of data from the stream + */ + virtual void update(const QByteArray &buf) = 0; + + ///Value of the checksum calculated for the stream passed throw update(). + /** \return checksum + */ + virtual quint32 value() = 0; +}; + +#endif //QUACHECKSUM32_H diff --git a/3rdparty/quazip-0.7/quazip/quacrc32.cpp b/3rdparty/quazip-0.7/quazip/quacrc32.cpp new file mode 100644 index 0000000..7e1c57d --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quacrc32.cpp @@ -0,0 +1,52 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quacrc32.h" + +#include "zlib.h" + +QuaCrc32::QuaCrc32() +{ + reset(); +} + +quint32 QuaCrc32::calculate(const QByteArray &data) +{ + return crc32( crc32(0L, Z_NULL, 0), (const Bytef*)data.data(), data.size() ); +} + +void QuaCrc32::reset() +{ + checksum = crc32(0L, Z_NULL, 0); +} + +void QuaCrc32::update(const QByteArray &buf) +{ + checksum = crc32( checksum, (const Bytef*)buf.data(), buf.size() ); +} + +quint32 QuaCrc32::value() +{ + return checksum; +} diff --git a/3rdparty/quazip-0.7/quazip/quacrc32.h b/3rdparty/quazip-0.7/quazip/quacrc32.h new file mode 100644 index 0000000..2582de8 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quacrc32.h @@ -0,0 +1,50 @@ +#ifndef QUACRC32_H +#define QUACRC32_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quachecksum32.h" + +///CRC32 checksum +/** \class QuaCrc32 quacrc32.h +* This class wrappers the crc32 function with the QuaChecksum32 interface. +* See QuaChecksum32 for more info. +*/ +class QUAZIP_EXPORT QuaCrc32 : public QuaChecksum32 { + +public: + QuaCrc32(); + + quint32 calculate(const QByteArray &data); + + void reset(); + void update(const QByteArray &buf); + quint32 value(); + +private: + quint32 checksum; +}; + +#endif //QUACRC32_H diff --git a/3rdparty/quazip-0.7/quazip/quagzipfile.cpp b/3rdparty/quazip-0.7/quazip/quagzipfile.cpp new file mode 100644 index 0000000..26bf667 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quagzipfile.cpp @@ -0,0 +1,172 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include + +#include "quagzipfile.h" + +/// \cond internal +class QuaGzipFilePrivate { + friend class QuaGzipFile; + QString fileName; + gzFile gzd; + inline QuaGzipFilePrivate(): gzd(NULL) {} + inline QuaGzipFilePrivate(const QString &fileName): + fileName(fileName), gzd(NULL) {} + template bool open(FileId id, + QIODevice::OpenMode mode, QString &error); + gzFile open(int fd, const char *modeString); + gzFile open(const QString &name, const char *modeString); +}; + +gzFile QuaGzipFilePrivate::open(const QString &name, const char *modeString) +{ + return gzopen(QFile::encodeName(name).constData(), modeString); +} + +gzFile QuaGzipFilePrivate::open(int fd, const char *modeString) +{ + return gzdopen(fd, modeString); +} + +template +bool QuaGzipFilePrivate::open(FileId id, QIODevice::OpenMode mode, + QString &error) +{ + char modeString[2]; + modeString[0] = modeString[1] = '\0'; + if ((mode & QIODevice::Append) != 0) { + error = QuaGzipFile::trUtf8("QIODevice::Append is not " + "supported for GZIP"); + return false; + } + if ((mode & QIODevice::ReadOnly) != 0 + && (mode & QIODevice::WriteOnly) != 0) { + error = QuaGzipFile::trUtf8("Opening gzip for both reading" + " and writing is not supported"); + return false; + } else if ((mode & QIODevice::ReadOnly) != 0) { + modeString[0] = 'r'; + } else if ((mode & QIODevice::WriteOnly) != 0) { + modeString[0] = 'w'; + } else { + error = QuaGzipFile::trUtf8("You can open a gzip either for reading" + " or for writing. Which is it?"); + return false; + } + gzd = open(id, modeString); + if (gzd == NULL) { + error = QuaGzipFile::trUtf8("Could not gzopen() file"); + return false; + } + return true; +} +/// \endcond + +QuaGzipFile::QuaGzipFile(): +d(new QuaGzipFilePrivate()) +{ +} + +QuaGzipFile::QuaGzipFile(QObject *parent): +QIODevice(parent), +d(new QuaGzipFilePrivate()) +{ +} + +QuaGzipFile::QuaGzipFile(const QString &fileName, QObject *parent): + QIODevice(parent), +d(new QuaGzipFilePrivate(fileName)) +{ +} + +QuaGzipFile::~QuaGzipFile() +{ + if (isOpen()) { + close(); + } + delete d; +} + +void QuaGzipFile::setFileName(const QString& fileName) +{ + d->fileName = fileName; +} + +QString QuaGzipFile::getFileName() const +{ + return d->fileName; +} + +bool QuaGzipFile::isSequential() const +{ + return true; +} + +bool QuaGzipFile::open(QIODevice::OpenMode mode) +{ + QString error; + if (!d->open(d->fileName, mode, error)) { + setErrorString(error); + return false; + } + return QIODevice::open(mode); +} + +bool QuaGzipFile::open(int fd, QIODevice::OpenMode mode) +{ + QString error; + if (!d->open(fd, mode, error)) { + setErrorString(error); + return false; + } + return QIODevice::open(mode); +} + +bool QuaGzipFile::flush() +{ + return gzflush(d->gzd, Z_SYNC_FLUSH) == Z_OK; +} + +void QuaGzipFile::close() +{ + QIODevice::close(); + gzclose(d->gzd); +} + +qint64 QuaGzipFile::readData(char *data, qint64 maxSize) +{ + return gzread(d->gzd, (voidp)data, (unsigned)maxSize); +} + +qint64 QuaGzipFile::writeData(const char *data, qint64 maxSize) +{ + if (maxSize == 0) + return 0; + int written = gzwrite(d->gzd, (voidp)data, (unsigned)maxSize); + if (written == 0) + return -1; + else + return written; +} diff --git a/3rdparty/quazip-0.7/quazip/quagzipfile.h b/3rdparty/quazip-0.7/quazip/quagzipfile.h new file mode 100644 index 0000000..32bc565 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quagzipfile.h @@ -0,0 +1,108 @@ +#ifndef QUAZIP_QUAGZIPFILE_H +#define QUAZIP_QUAGZIPFILE_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include +#include "quazip_global.h" + +#include + +class QuaGzipFilePrivate; + +/// 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. + */ +class QUAZIP_EXPORT QuaGzipFile: public QIODevice { + Q_OBJECT +public: + /// Empty constructor. + /** + Must call setFileName() before trying to open. + */ + QuaGzipFile(); + /// Empty constructor with a parent. + /** + Must call setFileName() before trying to open. + \param parent The parent object, as per QObject logic. + */ + QuaGzipFile(QObject *parent); + /// Constructor. + /** + \param fileName The name of the GZIP file. + \param parent The parent object, as per QObject logic. + */ + QuaGzipFile(const QString &fileName, QObject *parent = NULL); + /// Destructor. + virtual ~QuaGzipFile(); + /// Sets the name of the GZIP file to be opened. + void setFileName(const QString& fileName); + /// Returns the name of the GZIP file. + QString getFileName() const; + /// 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. + */ + virtual bool isSequential() const; + /// Opens the file. + /** + \param mode Can be either QIODevice::Write or QIODevice::Read. + ReadWrite and Append aren't supported. + */ + virtual bool open(QIODevice::OpenMode mode); + /// Opens the file. + /** + \overload + \param fd The file descriptor to read/write the GZIP file from/to. + \param mode Can be either QIODevice::Write or QIODevice::Read. + ReadWrite and Append aren't supported. + */ + virtual bool open(int fd, QIODevice::OpenMode mode); + /// Flushes data to file. + /** + The data is written using Z_SYNC_FLUSH mode. Doesn't make any sense + when reading. + */ + virtual bool flush(); + /// Closes the file. + virtual void close(); +protected: + /// Implementation of QIODevice::readData(). + virtual qint64 readData(char *data, qint64 maxSize); + /// Implementation of QIODevice::writeData(). + virtual qint64 writeData(const char *data, qint64 maxSize); +private: + // not implemented by design to disable copy + QuaGzipFile(const QuaGzipFile &that); + QuaGzipFile& operator=(const QuaGzipFile &that); + QuaGzipFilePrivate *d; +}; + +#endif // QUAZIP_QUAGZIPFILE_H diff --git a/3rdparty/quazip-0.7/quazip/quaziodevice.cpp b/3rdparty/quazip-0.7/quazip/quaziodevice.cpp new file mode 100644 index 0000000..0d12028 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quaziodevice.cpp @@ -0,0 +1,320 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quaziodevice.h" + +#define QUAZIO_INBUFSIZE 4096 +#define QUAZIO_OUTBUFSIZE 4096 + +/// \cond internal +class QuaZIODevicePrivate { + friend class QuaZIODevice; + QuaZIODevicePrivate(QIODevice *io); + ~QuaZIODevicePrivate(); + QIODevice *io; + z_stream zins; + z_stream zouts; + char *inBuf; + int inBufPos; + int inBufSize; + char *outBuf; + int outBufPos; + int outBufSize; + bool zBufError; + int doFlush(QString &error); +}; + +QuaZIODevicePrivate::QuaZIODevicePrivate(QIODevice *io): + io(io), + inBuf(NULL), + inBufPos(0), + inBufSize(0), + outBuf(NULL), + outBufPos(0), + outBufSize(0), + zBufError(false) +{ + zins.zalloc = (alloc_func) NULL; + zins.zfree = (free_func) NULL; + zins.opaque = NULL; + zouts.zalloc = (alloc_func) NULL; + zouts.zfree = (free_func) NULL; + zouts.opaque = NULL; + inBuf = new char[QUAZIO_INBUFSIZE]; + outBuf = new char[QUAZIO_OUTBUFSIZE]; +#ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT + debug.setFileName("debug.out"); + debug.open(QIODevice::WriteOnly); +#endif +#ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT + indebug.setFileName("debug.in"); + indebug.open(QIODevice::WriteOnly); +#endif +} + +QuaZIODevicePrivate::~QuaZIODevicePrivate() +{ +#ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT + debug.close(); +#endif +#ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT + indebug.close(); +#endif + if (inBuf != NULL) + delete[] inBuf; + if (outBuf != NULL) + delete[] outBuf; +} + +int QuaZIODevicePrivate::doFlush(QString &error) +{ + int flushed = 0; + while (outBufPos < outBufSize) { + int more = io->write(outBuf + outBufPos, outBufSize - outBufPos); + if (more == -1) { + error = io->errorString(); + return -1; + } + if (more == 0) + break; + outBufPos += more; + flushed += more; + } + if (outBufPos == outBufSize) { + outBufPos = outBufSize = 0; + } + return flushed; +} + +/// \endcond + +// #define QUAZIP_ZIODEVICE_DEBUG_OUTPUT +// #define QUAZIP_ZIODEVICE_DEBUG_INPUT +#ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT +#include +static QFile debug; +#endif +#ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT +#include +static QFile indebug; +#endif + +QuaZIODevice::QuaZIODevice(QIODevice *io, QObject *parent): + QIODevice(parent), + d(new QuaZIODevicePrivate(io)) +{ + connect(io, SIGNAL(readyRead()), SIGNAL(readyRead())); +} + +QuaZIODevice::~QuaZIODevice() +{ + if (isOpen()) + close(); + delete d; +} + +QIODevice *QuaZIODevice::getIoDevice() const +{ + return d->io; +} + +bool QuaZIODevice::open(QIODevice::OpenMode mode) +{ + if ((mode & QIODevice::Append) != 0) { + setErrorString(trUtf8("QIODevice::Append is not supported for" + " QuaZIODevice")); + return false; + } + if ((mode & QIODevice::ReadWrite) == QIODevice::ReadWrite) { + setErrorString(trUtf8("QIODevice::ReadWrite is not supported for" + " QuaZIODevice")); + return false; + } + if ((mode & QIODevice::ReadOnly) != 0) { + if (inflateInit(&d->zins) != Z_OK) { + setErrorString(d->zins.msg); + return false; + } + } + if ((mode & QIODevice::WriteOnly) != 0) { + if (deflateInit(&d->zouts, Z_DEFAULT_COMPRESSION) != Z_OK) { + setErrorString(d->zouts.msg); + return false; + } + } + return QIODevice::open(mode); +} + +void QuaZIODevice::close() +{ + if ((openMode() & QIODevice::ReadOnly) != 0) { + if (inflateEnd(&d->zins) != Z_OK) { + setErrorString(d->zins.msg); + } + } + if ((openMode() & QIODevice::WriteOnly) != 0) { + flush(); + if (deflateEnd(&d->zouts) != Z_OK) { + setErrorString(d->zouts.msg); + } + } + QIODevice::close(); +} + +qint64 QuaZIODevice::readData(char *data, qint64 maxSize) +{ + int read = 0; + while (read < maxSize) { + if (d->inBufPos == d->inBufSize) { + d->inBufPos = 0; + d->inBufSize = d->io->read(d->inBuf, QUAZIO_INBUFSIZE); + if (d->inBufSize == -1) { + d->inBufSize = 0; + setErrorString(d->io->errorString()); + return -1; + } + if (d->inBufSize == 0) + break; + } + while (read < maxSize && d->inBufPos < d->inBufSize) { + d->zins.next_in = (Bytef *) (d->inBuf + d->inBufPos); + d->zins.avail_in = d->inBufSize - d->inBufPos; + d->zins.next_out = (Bytef *) (data + read); + d->zins.avail_out = (uInt) (maxSize - read); // hope it's less than 2GB + int more = 0; + switch (inflate(&d->zins, Z_SYNC_FLUSH)) { + case Z_OK: + read = (char *) d->zins.next_out - data; + d->inBufPos = (char *) d->zins.next_in - d->inBuf; + break; + case Z_STREAM_END: + read = (char *) d->zins.next_out - data; + d->inBufPos = (char *) d->zins.next_in - d->inBuf; + return read; + case Z_BUF_ERROR: // this should never happen, but just in case + if (!d->zBufError) { + qWarning("Z_BUF_ERROR detected with %d/%d in/out, weird", + d->zins.avail_in, d->zins.avail_out); + d->zBufError = true; + } + memmove(d->inBuf, d->inBuf + d->inBufPos, d->inBufSize - d->inBufPos); + d->inBufSize -= d->inBufPos; + d->inBufPos = 0; + more = d->io->read(d->inBuf + d->inBufSize, QUAZIO_INBUFSIZE - d->inBufSize); + if (more == -1) { + setErrorString(d->io->errorString()); + return -1; + } + if (more == 0) + return read; + d->inBufSize += more; + break; + default: + setErrorString(QString::fromLocal8Bit(d->zins.msg)); + return -1; + } + } + } +#ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT + indebug.write(data, read); +#endif + return read; +} + +qint64 QuaZIODevice::writeData(const char *data, qint64 maxSize) +{ + int written = 0; + QString error; + if (d->doFlush(error) == -1) { + setErrorString(error); + return -1; + } + while (written < maxSize) { + // there is some data waiting in the output buffer + if (d->outBufPos < d->outBufSize) + return written; + d->zouts.next_in = (Bytef *) (data + written); + d->zouts.avail_in = (uInt) (maxSize - written); // hope it's less than 2GB + d->zouts.next_out = (Bytef *) d->outBuf; + d->zouts.avail_out = QUAZIO_OUTBUFSIZE; + switch (deflate(&d->zouts, Z_NO_FLUSH)) { + case Z_OK: + written = (char *) d->zouts.next_in - data; + d->outBufSize = (char *) d->zouts.next_out - d->outBuf; + break; + default: + setErrorString(QString::fromLocal8Bit(d->zouts.msg)); + return -1; + } + if (d->doFlush(error) == -1) { + setErrorString(error); + return -1; + } + } +#ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT + debug.write(data, written); +#endif + return written; +} + +bool QuaZIODevice::flush() +{ + QString error; + if (d->doFlush(error) < 0) { + setErrorString(error); + return false; + } + // can't flush buffer, some data is still waiting + if (d->outBufPos < d->outBufSize) + return true; + Bytef c = 0; + d->zouts.next_in = &c; // fake input buffer + d->zouts.avail_in = 0; // of zero size + do { + d->zouts.next_out = (Bytef *) d->outBuf; + d->zouts.avail_out = QUAZIO_OUTBUFSIZE; + switch (deflate(&d->zouts, Z_SYNC_FLUSH)) { + case Z_OK: + d->outBufSize = (char *) d->zouts.next_out - d->outBuf; + if (d->doFlush(error) < 0) { + setErrorString(error); + return false; + } + if (d->outBufPos < d->outBufSize) + return true; + break; + case Z_BUF_ERROR: // nothing to write? + return true; + default: + setErrorString(QString::fromLocal8Bit(d->zouts.msg)); + return false; + } + } while (d->zouts.avail_out == 0); + return true; +} + +bool QuaZIODevice::isSequential() const +{ + return true; +} diff --git a/3rdparty/quazip-0.7/quazip/quaziodevice.h b/3rdparty/quazip-0.7/quazip/quaziodevice.h new file mode 100644 index 0000000..f8cd380 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quaziodevice.h @@ -0,0 +1,98 @@ +#ifndef QUAZIP_QUAZIODEVICE_H +#define QUAZIP_QUAZIODEVICE_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include +#include "quazip_global.h" + +#include + +class QuaZIODevicePrivate; + +/// 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. + */ +class QUAZIP_EXPORT QuaZIODevice: public QIODevice { + Q_OBJECT +public: + /// Constructor. + /** + \param io The QIODevice to read/write. + \param parent The parent object, as per QObject logic. + */ + QuaZIODevice(QIODevice *io, QObject *parent = NULL); + /// Destructor. + ~QuaZIODevice(); + /// 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: + \code + QuaZIODevice dev(&sock); + dev.open(QIODevice::Write); + dev.write(yourDataGoesHere); + dev.flush(); + sock->flush(); // this actually sends data to network + \endcode + + 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. + */ + virtual bool flush(); + /// Opens the device. + /** + \param mode Neither QIODevice::ReadWrite nor QIODevice::Append are + not supported. + */ + virtual bool open(QIODevice::OpenMode mode); + /// Closes this device, but not the underlying one. + /** + The underlying QIODevice is not closed in case you want to write + something else to it. + */ + virtual void close(); + /// Returns the underlying device. + QIODevice *getIoDevice() const; + /// Returns true. + virtual bool isSequential() const; +protected: + /// Implementation of QIODevice::readData(). + virtual qint64 readData(char *data, qint64 maxSize); + /// Implementation of QIODevice::writeData(). + virtual qint64 writeData(const char *data, qint64 maxSize); +private: + QuaZIODevicePrivate *d; +}; +#endif // QUAZIP_QUAZIODEVICE_H diff --git a/3rdparty/quazip-0.7/quazip/quazip.cpp b/3rdparty/quazip-0.7/quazip/quazip.cpp new file mode 100644 index 0000000..52019d2 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.cpp @@ -0,0 +1,788 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +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. + **/ + +#include +#include +#include + +#include "quazip.h" + +/// All the internal stuff for the QuaZip class. +/** + \internal + + This class keeps all the private stuff for the QuaZip class so it can + be changed without breaking binary compatibility, according to the + Pimpl idiom. + */ +class QuaZipPrivate { + friend class QuaZip; + private: + /// The pointer to the corresponding QuaZip instance. + QuaZip *q; + /// The codec for file names. + QTextCodec *fileNameCodec; + /// The codec for comments. + QTextCodec *commentCodec; + /// The archive file name. + QString zipName; + /// The device to access the archive. + QIODevice *ioDevice; + /// The global comment. + QString comment; + /// The open mode. + QuaZip::Mode mode; + union { + /// The internal handle for UNZIP modes. + unzFile unzFile_f; + /// The internal handle for ZIP modes. + zipFile zipFile_f; + }; + /// Whether a current file is set. + bool hasCurrentFile_f; + /// The last error. + int zipError; + /// Whether \ref QuaZip::setDataDescriptorWritingEnabled() "the data descriptor writing mode" is enabled. + bool dataDescriptorWritingEnabled; + /// The zip64 mode. + bool zip64; + /// The auto-close flag. + bool autoClose; + inline QTextCodec *getDefaultFileNameCodec() + { + if (defaultFileNameCodec == NULL) { + return QTextCodec::codecForLocale(); + } else { + return defaultFileNameCodec; + } + } + /// The constructor for the corresponding QuaZip constructor. + inline QuaZipPrivate(QuaZip *q): + q(q), + fileNameCodec(getDefaultFileNameCodec()), + commentCodec(QTextCodec::codecForLocale()), + ioDevice(NULL), + mode(QuaZip::mdNotOpen), + hasCurrentFile_f(false), + zipError(UNZ_OK), + dataDescriptorWritingEnabled(true), + zip64(false), + autoClose(true) + { + lastMappedDirectoryEntry.num_of_file = 0; + lastMappedDirectoryEntry.pos_in_zip_directory = 0; + } + /// The constructor for the corresponding QuaZip constructor. + inline QuaZipPrivate(QuaZip *q, const QString &zipName): + q(q), + fileNameCodec(getDefaultFileNameCodec()), + commentCodec(QTextCodec::codecForLocale()), + zipName(zipName), + ioDevice(NULL), + mode(QuaZip::mdNotOpen), + hasCurrentFile_f(false), + zipError(UNZ_OK), + dataDescriptorWritingEnabled(true), + zip64(false), + autoClose(true) + { + lastMappedDirectoryEntry.num_of_file = 0; + lastMappedDirectoryEntry.pos_in_zip_directory = 0; + } + /// The constructor for the corresponding QuaZip constructor. + inline QuaZipPrivate(QuaZip *q, QIODevice *ioDevice): + q(q), + fileNameCodec(getDefaultFileNameCodec()), + commentCodec(QTextCodec::codecForLocale()), + ioDevice(ioDevice), + mode(QuaZip::mdNotOpen), + hasCurrentFile_f(false), + zipError(UNZ_OK), + dataDescriptorWritingEnabled(true), + zip64(false), + autoClose(true) + { + lastMappedDirectoryEntry.num_of_file = 0; + lastMappedDirectoryEntry.pos_in_zip_directory = 0; + } + /// Returns either a list of file names or a list of QuaZipFileInfo. + template + bool getFileInfoList(QList *result) const; + + /// Stores map of filenames and file locations for unzipping + inline void clearDirectoryMap(); + inline void addCurrentFileToDirectoryMap(const QString &fileName); + bool goToFirstUnmappedFile(); + QHash directoryCaseSensitive; + QHash directoryCaseInsensitive; + unz64_file_pos lastMappedDirectoryEntry; + static QTextCodec *defaultFileNameCodec; +}; + +QTextCodec *QuaZipPrivate::defaultFileNameCodec = NULL; + +void QuaZipPrivate::clearDirectoryMap() +{ + directoryCaseInsensitive.clear(); + directoryCaseSensitive.clear(); + lastMappedDirectoryEntry.num_of_file = 0; + lastMappedDirectoryEntry.pos_in_zip_directory = 0; +} + +void QuaZipPrivate::addCurrentFileToDirectoryMap(const QString &fileName) +{ + if (!hasCurrentFile_f || fileName.isEmpty()) { + return; + } + // Adds current file to filename map as fileName + unz64_file_pos fileDirectoryPos; + unzGetFilePos64(unzFile_f, &fileDirectoryPos); + directoryCaseSensitive.insert(fileName, fileDirectoryPos); + // Only add lowercase to directory map if not already there + // ensures only map the first one seen + QString lower = fileName.toLower(); + if (!directoryCaseInsensitive.contains(lower)) + directoryCaseInsensitive.insert(lower, fileDirectoryPos); + // Mark last one + if (fileDirectoryPos.pos_in_zip_directory > lastMappedDirectoryEntry.pos_in_zip_directory) + lastMappedDirectoryEntry = fileDirectoryPos; +} + +bool QuaZipPrivate::goToFirstUnmappedFile() +{ + zipError = UNZ_OK; + if (mode != QuaZip::mdUnzip) { + qWarning("QuaZipPrivate::goToNextUnmappedFile(): ZIP is not open in mdUnzip mode"); + return false; + } + // If not mapped anything, go to beginning + if (lastMappedDirectoryEntry.pos_in_zip_directory == 0) { + unzGoToFirstFile(unzFile_f); + } else { + // Goto the last one mapped, plus one + unzGoToFilePos64(unzFile_f, &lastMappedDirectoryEntry); + unzGoToNextFile(unzFile_f); + } + hasCurrentFile_f=zipError==UNZ_OK; + if(zipError==UNZ_END_OF_LIST_OF_FILE) + zipError=UNZ_OK; + return hasCurrentFile_f; +} + +QuaZip::QuaZip(): + p(new QuaZipPrivate(this)) +{ +} + +QuaZip::QuaZip(const QString& zipName): + p(new QuaZipPrivate(this, zipName)) +{ +} + +QuaZip::QuaZip(QIODevice *ioDevice): + p(new QuaZipPrivate(this, ioDevice)) +{ +} + +QuaZip::~QuaZip() +{ + if(isOpen()) + close(); + delete p; +} + +bool QuaZip::open(Mode mode, zlib_filefunc_def* ioApi) +{ + p->zipError=UNZ_OK; + if(isOpen()) { + qWarning("QuaZip::open(): ZIP already opened"); + return false; + } + QIODevice *ioDevice = p->ioDevice; + if (ioDevice == NULL) { + if (p->zipName.isEmpty()) { + qWarning("QuaZip::open(): set either ZIP file name or IO device first"); + return false; + } else { + ioDevice = new QFile(p->zipName); + } + } + unsigned flags = 0; + switch(mode) { + case mdUnzip: + if (ioApi == NULL) { + if (p->autoClose) + flags |= UNZ_AUTO_CLOSE; + p->unzFile_f=unzOpenInternal(ioDevice, NULL, 1, flags); + } else { + // QuaZIP pre-zip64 compatibility mode + p->unzFile_f=unzOpen2(ioDevice, ioApi); + if (p->unzFile_f != NULL) { + if (p->autoClose) { + unzSetFlags(p->unzFile_f, UNZ_AUTO_CLOSE); + } else { + unzClearFlags(p->unzFile_f, UNZ_AUTO_CLOSE); + } + } + } + if(p->unzFile_f!=NULL) { + if (ioDevice->isSequential()) { + unzClose(p->unzFile_f); + if (!p->zipName.isEmpty()) + delete ioDevice; + qWarning("QuaZip::open(): " + "only mdCreate can be used with " + "sequential devices"); + return false; + } + p->mode=mode; + p->ioDevice = ioDevice; + return true; + } else { + p->zipError=UNZ_OPENERROR; + if (!p->zipName.isEmpty()) + delete ioDevice; + return false; + } + case mdCreate: + case mdAppend: + case mdAdd: + if (ioApi == NULL) { + if (p->autoClose) + flags |= ZIP_AUTO_CLOSE; + if (p->dataDescriptorWritingEnabled) + flags |= ZIP_WRITE_DATA_DESCRIPTOR; + p->zipFile_f=zipOpen3(ioDevice, + mode==mdCreate?APPEND_STATUS_CREATE: + mode==mdAppend?APPEND_STATUS_CREATEAFTER: + APPEND_STATUS_ADDINZIP, + NULL, NULL, flags); + } else { + // QuaZIP pre-zip64 compatibility mode + p->zipFile_f=zipOpen2(ioDevice, + mode==mdCreate?APPEND_STATUS_CREATE: + mode==mdAppend?APPEND_STATUS_CREATEAFTER: + APPEND_STATUS_ADDINZIP, + NULL, + ioApi); + if (p->zipFile_f != NULL) { + zipSetFlags(p->zipFile_f, flags); + } + } + if(p->zipFile_f!=NULL) { + if (ioDevice->isSequential()) { + if (mode != mdCreate) { + zipClose(p->zipFile_f, NULL); + qWarning("QuaZip::open(): " + "only mdCreate can be used with " + "sequential devices"); + if (!p->zipName.isEmpty()) + delete ioDevice; + return false; + } + zipSetFlags(p->zipFile_f, ZIP_SEQUENTIAL); + } + p->mode=mode; + p->ioDevice = ioDevice; + return true; + } else { + p->zipError=UNZ_OPENERROR; + if (!p->zipName.isEmpty()) + delete ioDevice; + return false; + } + default: + qWarning("QuaZip::open(): unknown mode: %d", (int)mode); + if (!p->zipName.isEmpty()) + delete ioDevice; + return false; + break; + } +} + +void QuaZip::close() +{ + p->zipError=UNZ_OK; + switch(p->mode) { + case mdNotOpen: + qWarning("QuaZip::close(): ZIP is not open"); + return; + case mdUnzip: + p->zipError=unzClose(p->unzFile_f); + break; + case mdCreate: + case mdAppend: + case mdAdd: + p->zipError=zipClose(p->zipFile_f, + p->comment.isNull() ? NULL + : p->commentCodec->fromUnicode(p->comment).constData()); + break; + default: + qWarning("QuaZip::close(): unknown mode: %d", (int)p->mode); + return; + } + // opened by name, need to delete the internal IO device + if (!p->zipName.isEmpty()) { + delete p->ioDevice; + p->ioDevice = NULL; + } + p->clearDirectoryMap(); + if(p->zipError==UNZ_OK) + p->mode=mdNotOpen; +} + +void QuaZip::setZipName(const QString& zipName) +{ + if(isOpen()) { + qWarning("QuaZip::setZipName(): ZIP is already open!"); + return; + } + p->zipName=zipName; + p->ioDevice = NULL; +} + +void QuaZip::setIoDevice(QIODevice *ioDevice) +{ + if(isOpen()) { + qWarning("QuaZip::setIoDevice(): ZIP is already open!"); + return; + } + p->ioDevice = ioDevice; + p->zipName = QString(); +} + +int QuaZip::getEntriesCount()const +{ + QuaZip *fakeThis=(QuaZip*)this; // non-const + fakeThis->p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::getEntriesCount(): ZIP is not open in mdUnzip mode"); + return -1; + } + unz_global_info64 globalInfo; + if((fakeThis->p->zipError=unzGetGlobalInfo64(p->unzFile_f, &globalInfo))!=UNZ_OK) + return p->zipError; + return (int)globalInfo.number_entry; +} + +QString QuaZip::getComment()const +{ + QuaZip *fakeThis=(QuaZip*)this; // non-const + fakeThis->p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::getComment(): ZIP is not open in mdUnzip mode"); + return QString(); + } + unz_global_info64 globalInfo; + QByteArray comment; + if((fakeThis->p->zipError=unzGetGlobalInfo64(p->unzFile_f, &globalInfo))!=UNZ_OK) + return QString(); + comment.resize(globalInfo.size_comment); + if((fakeThis->p->zipError=unzGetGlobalComment(p->unzFile_f, comment.data(), comment.size())) < 0) + return QString(); + fakeThis->p->zipError = UNZ_OK; + return p->commentCodec->toUnicode(comment); +} + +bool QuaZip::setCurrentFile(const QString& fileName, CaseSensitivity cs) +{ + p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::setCurrentFile(): ZIP is not open in mdUnzip mode"); + return false; + } + if(fileName.isEmpty()) { + p->hasCurrentFile_f=false; + return true; + } + // Unicode-aware reimplementation of the unzLocateFile function + if(p->unzFile_f==NULL) { + p->zipError=UNZ_PARAMERROR; + return false; + } + if(fileName.length()>MAX_FILE_NAME_LENGTH) { + p->zipError=UNZ_PARAMERROR; + return false; + } + // Find the file by name + bool sens = convertCaseSensitivity(cs) == Qt::CaseSensitive; + QString lower, current; + if(!sens) lower=fileName.toLower(); + p->hasCurrentFile_f=false; + + // Check the appropriate Map + unz64_file_pos fileDirPos; + fileDirPos.pos_in_zip_directory = 0; + if (sens) { + if (p->directoryCaseSensitive.contains(fileName)) + fileDirPos = p->directoryCaseSensitive.value(fileName); + } else { + if (p->directoryCaseInsensitive.contains(lower)) + fileDirPos = p->directoryCaseInsensitive.value(lower); + } + + if (fileDirPos.pos_in_zip_directory != 0) { + p->zipError = unzGoToFilePos64(p->unzFile_f, &fileDirPos); + p->hasCurrentFile_f = p->zipError == UNZ_OK; + } + + if (p->hasCurrentFile_f) + return p->hasCurrentFile_f; + + // Not mapped yet, start from where we have got to so far + for(bool more=p->goToFirstUnmappedFile(); more; more=goToNextFile()) { + current=getCurrentFileName(); + if(current.isEmpty()) return false; + if(sens) { + if(current==fileName) break; + } else { + if(current.toLower()==lower) break; + } + } + return p->hasCurrentFile_f; +} + +bool QuaZip::goToFirstFile() +{ + p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode"); + return false; + } + p->zipError=unzGoToFirstFile(p->unzFile_f); + p->hasCurrentFile_f=p->zipError==UNZ_OK; + return p->hasCurrentFile_f; +} + +bool QuaZip::goToNextFile() +{ + p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode"); + return false; + } + p->zipError=unzGoToNextFile(p->unzFile_f); + p->hasCurrentFile_f=p->zipError==UNZ_OK; + if(p->zipError==UNZ_END_OF_LIST_OF_FILE) + p->zipError=UNZ_OK; + return p->hasCurrentFile_f; +} + +bool QuaZip::getCurrentFileInfo(QuaZipFileInfo *info)const +{ + QuaZipFileInfo64 info64; + if (info == NULL) { // Very unlikely because of the overloads + return false; + } + if (getCurrentFileInfo(&info64)) { + info64.toQuaZipFileInfo(*info); + return true; + } else { + return false; + } +} + +bool QuaZip::getCurrentFileInfo(QuaZipFileInfo64 *info)const +{ + QuaZip *fakeThis=(QuaZip*)this; // non-const + fakeThis->p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::getCurrentFileInfo(): ZIP is not open in mdUnzip mode"); + return false; + } + unz_file_info64 info_z; + QByteArray fileName; + QByteArray extra; + QByteArray comment; + if(info==NULL) return false; + if(!isOpen()||!hasCurrentFile()) return false; + if((fakeThis->p->zipError=unzGetCurrentFileInfo64(p->unzFile_f, &info_z, NULL, 0, NULL, 0, NULL, 0))!=UNZ_OK) + return false; + fileName.resize(info_z.size_filename); + extra.resize(info_z.size_file_extra); + comment.resize(info_z.size_file_comment); + if((fakeThis->p->zipError=unzGetCurrentFileInfo64(p->unzFile_f, NULL, + fileName.data(), fileName.size(), + extra.data(), extra.size(), + comment.data(), comment.size()))!=UNZ_OK) + return false; + info->versionCreated=info_z.version; + info->versionNeeded=info_z.version_needed; + info->flags=info_z.flag; + info->method=info_z.compression_method; + info->crc=info_z.crc; + info->compressedSize=info_z.compressed_size; + info->uncompressedSize=info_z.uncompressed_size; + info->diskNumberStart=info_z.disk_num_start; + info->internalAttr=info_z.internal_fa; + info->externalAttr=info_z.external_fa; + info->name=p->fileNameCodec->toUnicode(fileName); + info->comment=p->commentCodec->toUnicode(comment); + info->extra=extra; + info->dateTime=QDateTime( + QDate(info_z.tmu_date.tm_year, info_z.tmu_date.tm_mon+1, info_z.tmu_date.tm_mday), + QTime(info_z.tmu_date.tm_hour, info_z.tmu_date.tm_min, info_z.tmu_date.tm_sec)); + // Add to directory map + p->addCurrentFileToDirectoryMap(info->name); + return true; +} + +QString QuaZip::getCurrentFileName()const +{ + QuaZip *fakeThis=(QuaZip*)this; // non-const + fakeThis->p->zipError=UNZ_OK; + if(p->mode!=mdUnzip) { + qWarning("QuaZip::getCurrentFileName(): ZIP is not open in mdUnzip mode"); + return QString(); + } + if(!isOpen()||!hasCurrentFile()) return QString(); + QByteArray fileName(MAX_FILE_NAME_LENGTH, 0); + if((fakeThis->p->zipError=unzGetCurrentFileInfo64(p->unzFile_f, NULL, fileName.data(), fileName.size(), + NULL, 0, NULL, 0))!=UNZ_OK) + return QString(); + QString result = p->fileNameCodec->toUnicode(fileName.constData()); + if (result.isEmpty()) + return result; + // Add to directory map + p->addCurrentFileToDirectoryMap(result); + return result; +} + +void QuaZip::setFileNameCodec(QTextCodec *fileNameCodec) +{ + p->fileNameCodec=fileNameCodec; +} + +void QuaZip::setFileNameCodec(const char *fileNameCodecName) +{ + p->fileNameCodec=QTextCodec::codecForName(fileNameCodecName); +} + +QTextCodec *QuaZip::getFileNameCodec()const +{ + return p->fileNameCodec; +} + +void QuaZip::setCommentCodec(QTextCodec *commentCodec) +{ + p->commentCodec=commentCodec; +} + +void QuaZip::setCommentCodec(const char *commentCodecName) +{ + p->commentCodec=QTextCodec::codecForName(commentCodecName); +} + +QTextCodec *QuaZip::getCommentCodec()const +{ + return p->commentCodec; +} + +QString QuaZip::getZipName() const +{ + return p->zipName; +} + +QIODevice *QuaZip::getIoDevice() const +{ + if (!p->zipName.isEmpty()) // opened by name, using an internal QIODevice + return NULL; + return p->ioDevice; +} + +QuaZip::Mode QuaZip::getMode()const +{ + return p->mode; +} + +bool QuaZip::isOpen()const +{ + return p->mode!=mdNotOpen; +} + +int QuaZip::getZipError() const +{ + return p->zipError; +} + +void QuaZip::setComment(const QString& comment) +{ + p->comment=comment; +} + +bool QuaZip::hasCurrentFile()const +{ + return p->hasCurrentFile_f; +} + +unzFile QuaZip::getUnzFile() +{ + return p->unzFile_f; +} + +zipFile QuaZip::getZipFile() +{ + return p->zipFile_f; +} + +void QuaZip::setDataDescriptorWritingEnabled(bool enabled) +{ + p->dataDescriptorWritingEnabled = enabled; +} + +bool QuaZip::isDataDescriptorWritingEnabled() const +{ + return p->dataDescriptorWritingEnabled; +} + +template +TFileInfo QuaZip_getFileInfo(QuaZip *zip, bool *ok); + +template<> +QuaZipFileInfo QuaZip_getFileInfo(QuaZip *zip, bool *ok) +{ + QuaZipFileInfo info; + *ok = zip->getCurrentFileInfo(&info); + return info; +} + +template<> +QuaZipFileInfo64 QuaZip_getFileInfo(QuaZip *zip, bool *ok) +{ + QuaZipFileInfo64 info; + *ok = zip->getCurrentFileInfo(&info); + return info; +} + +template<> +QString QuaZip_getFileInfo(QuaZip *zip, bool *ok) +{ + QString name = zip->getCurrentFileName(); + *ok = !name.isEmpty(); + return name; +} + +template +bool QuaZipPrivate::getFileInfoList(QList *result) const +{ + QuaZipPrivate *fakeThis=const_cast(this); + fakeThis->zipError=UNZ_OK; + if (mode!=QuaZip::mdUnzip) { + qWarning("QuaZip::getFileNameList/getFileInfoList(): " + "ZIP is not open in mdUnzip mode"); + return false; + } + QString currentFile; + if (q->hasCurrentFile()) { + currentFile = q->getCurrentFileName(); + } + if (q->goToFirstFile()) { + do { + bool ok; + result->append(QuaZip_getFileInfo(q, &ok)); + if (!ok) + return false; + } while (q->goToNextFile()); + } + if (zipError != UNZ_OK) + return false; + if (currentFile.isEmpty()) { + if (!q->goToFirstFile()) + return false; + } else { + if (!q->setCurrentFile(currentFile)) + return false; + } + return true; +} + +QStringList QuaZip::getFileNameList() const +{ + QStringList list; + if (p->getFileInfoList(&list)) + return list; + else + return QStringList(); +} + +QList QuaZip::getFileInfoList() const +{ + QList list; + if (p->getFileInfoList(&list)) + return list; + else + return QList(); +} + +QList QuaZip::getFileInfoList64() const +{ + QList list; + if (p->getFileInfoList(&list)) + return list; + else + return QList(); +} + +Qt::CaseSensitivity QuaZip::convertCaseSensitivity(QuaZip::CaseSensitivity cs) +{ + if (cs == csDefault) { +#ifdef Q_WS_WIN + return Qt::CaseInsensitive; +#else + return Qt::CaseSensitive; +#endif + } else { + return cs == csSensitive ? Qt::CaseSensitive : Qt::CaseInsensitive; + } +} + +void QuaZip::setDefaultFileNameCodec(QTextCodec *codec) +{ + QuaZipPrivate::defaultFileNameCodec = codec; +} + +void QuaZip::setDefaultFileNameCodec(const char *codecName) +{ + setDefaultFileNameCodec(QTextCodec::codecForName(codecName)); +} + +void QuaZip::setZip64Enabled(bool zip64) +{ + p->zip64 = zip64; +} + +bool QuaZip::isZip64Enabled() const +{ + return p->zip64; +} + +bool QuaZip::isAutoClose() const +{ + return p->autoClose; +} + +void QuaZip::setAutoClose(bool autoClose) const +{ + p->autoClose = autoClose; +} diff --git a/3rdparty/quazip-0.7/quazip/quazip.h b/3rdparty/quazip-0.7/quazip/quazip.h new file mode 100644 index 0000000..71d1db9 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.h @@ -0,0 +1,571 @@ +#ifndef QUA_ZIP_H +#define QUA_ZIP_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +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. + **/ + +#include +#include +#include + +#include "zip.h" +#include "unzip.h" + +#include "quazip_global.h" +#include "quazipfileinfo.h" + +// just in case it will be defined in the later versions of the ZIP/UNZIP +#ifndef UNZ_OPENERROR +// define additional error code +#define UNZ_OPENERROR -1000 +#endif + +class QuaZipPrivate; + +/// ZIP archive. +/** \class QuaZip quazip.h + * 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 \c + * IBM866 encoding instead of \c 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? + **/ +class QUAZIP_EXPORT QuaZip { + friend class QuaZipPrivate; + public: + /// Useful constants. + enum Constants { + MAX_FILE_NAME_LENGTH=256 /**< Maximum file name length. Taken from + \c UNZ_MAXFILENAMEINZIP constant in + unzip.c. */ + }; + /// Open mode of the ZIP file. + enum Mode { + 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 + * \c 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 \em 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. + }; + /// 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. + **/ + enum CaseSensitivity { + csDefault=0, ///< Default for platform. Case sensitive for UNIX, not for Windows. + csSensitive=1, ///< Case sensitive. + csInsensitive=2 ///< Case insensitive. + }; + /// Returns the actual case sensitivity for the specified QuaZIP one. + /** + \param cs The 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. + */ + static Qt::CaseSensitivity convertCaseSensitivity( + CaseSensitivity cs); + private: + QuaZipPrivate *p; + // not (and will not be) implemented + QuaZip(const QuaZip& that); + // not (and will not be) implemented + QuaZip& operator=(const QuaZip& that); + public: + /// Constructs QuaZip object. + /** Call setName() before opening constructed object. */ + QuaZip(); + /// Constructs QuaZip object associated with ZIP file \a zipName. + QuaZip(const QString& zipName); + /// Constructs QuaZip object associated with ZIP file represented by \a ioDevice. + /** The IO device must be seekable, otherwise an error will occur when opening. */ + QuaZip(QIODevice *ioDevice); + /// Destroys QuaZip object. + /** Calls close() if necessary. */ + ~QuaZip(); + /// Opens ZIP file. + /** + * Argument \a 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 \a 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. + * + * \return \c true if successful, \c false otherwise. + * + * \note ZIP/UNZIP API open calls do not return error code - they + * just return \c NULL indicating an error. But to make things + * easier, quazip.h header defines additional error code \c + * UNZ_ERROROPEN and getZipError() will return it if the open call + * of the ZIP/UNZIP API returns \c NULL. + * + * Argument \a 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 \c 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 using 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 \em must be NULL + * because due to the backwards compatibility issues it can be used to + * provide a 32-bit API only. + * + * \note If the \ref QuaZip::setAutoClose() "no-auto-close" feature is used, + * then the \a ioApi argument \em 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 \a ioApi argument and you'll be + * fine. + **/ + bool open(Mode mode, zlib_filefunc_def *ioApi =NULL); + /// 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. + */ + void close(); + /// 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 \c IBM866 + * encoding. + **/ + void setFileNameCodec(QTextCodec *fileNameCodec); + /// Sets the codec used to encode/decode file names inside archive. + /** \overload + * Equivalent to calling setFileNameCodec(QTextCodec::codecForName(codecName)); + **/ + void setFileNameCodec(const char *fileNameCodecName); + /// Returns the codec used to encode/decode comments inside archive. + QTextCodec* getFileNameCodec() const; + /// Sets the codec used to encode/decode comments inside archive. + /** This codec defaults to locale codec, which is probably ok. + **/ + void setCommentCodec(QTextCodec *commentCodec); + /// Sets the codec used to encode/decode comments inside archive. + /** \overload + * Equivalent to calling setCommentCodec(QTextCodec::codecForName(codecName)); + **/ + void setCommentCodec(const char *commentCodecName); + /// Returns the codec used to encode/decode comments inside archive. + QTextCodec* getCommentCodec() 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. + * \sa setZipName(), setIoDevice(), getIoDevice() + **/ + QString getZipName() const; + /// Sets the name of the ZIP file. + /** Does nothing if the ZIP file is open. + * + * Does not reset error code returned by getZipError(). + * \sa setIoDevice(), getIoDevice(), getZipName() + **/ + void setZipName(const QString& zipName); + /// 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. + * \sa setIoDevice(), getZipName(), setZipName() + **/ + QIODevice *getIoDevice() const; + /// Sets the device representing the ZIP file. + /** Does nothing if the ZIP file is open. + * + * Does not reset error code returned by getZipError(). + * \sa getIoDevice(), getZipName(), setZipName() + **/ + void setIoDevice(QIODevice *ioDevice); + /// Returns the mode in which ZIP file was opened. + Mode getMode() const; + /// Returns \c true if ZIP file is open, \c false otherwise. + bool isOpen() const; + /// Returns the error code of the last operation. + /** Returns \c UNZ_OK if the last operation was successful. + * + * Error code resets to \c UNZ_OK every time you call any function + * that accesses something inside ZIP archive, even if it is \c + * const (like getEntriesCount()). open() and close() calls reset + * error code too. See documentation for the specific functions for + * details on error detection. + **/ + int getZipError() 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. + **/ + int getEntriesCount() const; + /// Returns global comment in the ZIP file. + QString getComment() const; + /// 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. + * + * \sa open() + **/ + void setComment(const QString& comment); + /// Sets the current file to the first file in the archive. + /** Returns \c true on success, \c false otherwise. Call + * getZipError() to get the error code. + **/ + bool goToFirstFile(); + /// Sets the current file to the next file in the archive. + /** Returns \c true on success, \c 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 + * \c UNZ_OK instead of \c UNZ_END_OF_LIST_OF_FILE. This is to make + * things like this easier: + * \code + * for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) { + * // do something + * } + * if(zip.getZipError()==UNZ_OK) { + * // ok, there was no error + * } + * \endcode + **/ + bool goToNextFile(); + /// Sets current file by its name. + /** Returns \c true if successful, \c false otherwise. Argument \a + * 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 \c UNZ_OK, not \c + * 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 \a fileName is null string then this function unsets the + * current file and return \c 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. + * + * \sa setFileNameCodec(), CaseSensitivity + **/ + bool setCurrentFile(const QString& fileName, CaseSensitivity cs =csDefault); + /// Returns \c true if the current file has been set. + bool hasCurrentFile() const; + /// Retrieves information about the current file. + /** Fills the structure pointed by \a info. Returns \c true on + * success, \c false otherwise. In the latter case structure pointed + * by \a info remains untouched. If there was an error, + * getZipError() returns error code. + * + * Should be used only in QuaZip::mdUnzip mode. + * + * Does nothing and returns \c false in any of the following cases. + * - ZIP is not open; + * - ZIP does not have current file. + * + * In both cases getZipError() returns \c 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. + * + * \sa getCurrentFileInfo(QuaZipFileInfo64* info)const + * \sa QuaZipFileInfo64::toQuaZipFileInfo(QuaZipFileInfo&)const + **/ + bool getCurrentFileInfo(QuaZipFileInfo* info)const; + /// Retrieves information about the current file. + /** \overload + * + * This function supports zip64. If the archive doesn't use zip64, it is + * completely equivalent to getCurrentFileInfo(QuaZipFileInfo* info) + * except for the argument type. + * + * \sa + **/ + bool getCurrentFileInfo(QuaZipFileInfo64* info)const; + /// Returns the current file name. + /** Equivalent to calling getCurrentFileInfo() and then getting \c + * name field of the QuaZipFileInfo structure, but faster and more + * convenient. + * + * Should be used only in QuaZip::mdUnzip mode. + **/ + QString getCurrentFileName()const; + /// Returns \c 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. + **/ + unzFile getUnzFile(); + /// Returns \c 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. + **/ + zipFile getZipFile(); + /// 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 \c true, then the data descriptor + is mandatory and will be written even if this flag is set to false. + + \param enabled If \c true, enable local descriptor writing, + disable it otherwise. + + \sa QuaZipFile::isDataDescriptorWritingEnabled() + */ + void setDataDescriptorWritingEnabled(bool enabled); + /// Returns the data descriptor default writing mode. + /** + \sa setDataDescriptorWritingEnabled() + */ + bool isDataDescriptorWritingEnabled() const; + /// Returns a list of files inside the archive. + /** + \return 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). + \sa getFileInfoList() + */ + QStringList getFileNameList() const; + /// Returns information list about all files inside the archive. + /** + \return 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. + + \sa getFileNameList() + \sa getFileInfoList64() + */ + QList getFileInfoList() const; + /// Returns information list about all files inside the archive. + /** + \overload + + This function supports zip64. + + \sa getFileNameList() + \sa getFileInfoList() + */ + QList getFileInfoList64() const; + /// Enables the zip64 mode. + /** + * @param zip64 If \c 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. + * + * \sa isZip64Enabled() + */ + void setZip64Enabled(bool zip64); + /// Returns whether the zip64 mode is enabled. + /** + * @return \c true if and only if the zip64 mode is enabled. + * + * \sa setZip64Enabled() + */ + bool isZip64Enabled() const; + /// Returns the auto-close flag. + /** + @sa setAutoClose() + */ + bool isAutoClose() 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. + + @sa isAutoClose() + @sa setIoDevice() + */ + void setAutoClose(bool autoClose) const; + /// 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. + * + * @param codec The codec to use by default. If NULL, resets to default. + */ + static void setDefaultFileNameCodec(QTextCodec *codec); + /** + * @overload + * Equivalent to calling + * setDefltFileNameCodec(QTextCodec::codecForName(codecName)). + */ + static void setDefaultFileNameCodec(const char *codecName); +}; + +#endif diff --git a/3rdparty/quazip-0.7/quazip/quazip.pri b/3rdparty/quazip-0.7/quazip/quazip.pri new file mode 100644 index 0000000..1a9db99 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.pri @@ -0,0 +1,33 @@ +INCLUDEPATH += $$PWD +DEPENDPATH += $$PWD +HEADERS += \ + $$PWD/crypt.h \ + $$PWD/ioapi.h \ + $$PWD/JlCompress.h \ + $$PWD/quaadler32.h \ + $$PWD/quachecksum32.h \ + $$PWD/quacrc32.h \ + $$PWD/quagzipfile.h \ + $$PWD/quaziodevice.h \ + $$PWD/quazipdir.h \ + $$PWD/quazipfile.h \ + $$PWD/quazipfileinfo.h \ + $$PWD/quazip_global.h \ + $$PWD/quazip.h \ + $$PWD/quazipnewinfo.h \ + $$PWD/unzip.h \ + $$PWD/zip.h + +SOURCES += $$PWD/qioapi.cpp \ + $$PWD/JlCompress.cpp \ + $$PWD/quaadler32.cpp \ + $$PWD/quacrc32.cpp \ + $$PWD/quagzipfile.cpp \ + $$PWD/quaziodevice.cpp \ + $$PWD/quazip.cpp \ + $$PWD/quazipdir.cpp \ + $$PWD/quazipfile.cpp \ + $$PWD/quazipfileinfo.cpp \ + $$PWD/quazipnewinfo.cpp \ + $$PWD/unzip.c \ + $$PWD/zip.c diff --git a/3rdparty/quazip-0.7/quazip/quazip.pro b/3rdparty/quazip-0.7/quazip/quazip.pro new file mode 100644 index 0000000..c869e59 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.pro @@ -0,0 +1,81 @@ +TEMPLATE = lib +CONFIG += qt warn_on +QT -= gui + +# The ABI version. + +!win32:VERSION = 1.0.0 + +# 1.0.0 is the first stable ABI. +# The next binary incompatible change will be 2.0.0 and so on. +# The existing QuaZIP policy on changing ABI requires to bump the +# major version of QuaZIP itself as well. Note that there may be +# other reasons for chaging the major version of QuaZIP, so +# in case where there is a QuaZIP major version bump but no ABI change, +# the VERSION variable will stay the same. + +# For example: + +# QuaZIP 1.0 is released after some 0.x, keeping binary compatibility. +# VERSION stays 1.0.0. +# Then some binary incompatible change is introduced. QuaZIP goes up to +# 2.0, VERSION to 2.0.0. +# And so on. + + +# This one handles dllimport/dllexport directives. +DEFINES += QUAZIP_BUILD + +# You'll need to define this one manually if using a build system other +# than qmake or using QuaZIP sources directly in your project. +CONFIG(staticlib): DEFINES += QUAZIP_STATIC + +# Input +include(quazip.pri) + +unix:!symbian { + headers.path=$$PREFIX/include/quazip + headers.files=$$HEADERS + target.path=$$PREFIX/lib/$${LIB_ARCH} + INSTALLS += headers target + + OBJECTS_DIR=.obj + MOC_DIR=.moc + +} + +win32 { + headers.path=$$PREFIX/include/quazip + headers.files=$$HEADERS + target.path=$$PREFIX/lib + INSTALLS += headers target + # workaround for qdatetime.h macro bug + DEFINES += NOMINMAX +} + + +symbian { + + # Note, on Symbian you may run into troubles with LGPL. + # The point is, if your application uses some version of QuaZip, + # and a newer binary compatible version of QuaZip is released, then + # the users of your application must be able to relink it with the + # new QuaZip version. For example, to take advantage of some QuaZip + # bug fixes. + + # This is probably best achieved by building QuaZip as a static + # library and providing linkable object files of your application, + # so users can relink it. + + CONFIG += staticlib + CONFIG += debug_and_release + + LIBS += -lezip + + #Export headers to SDK Epoc32/include directory + exportheaders.sources = $$HEADERS + exportheaders.path = quazip + for(header, exportheaders.sources) { + BLD_INF_RULES.prj_exports += "$$header $$exportheaders.path/$$basename(header)" + } +} diff --git a/3rdparty/quazip-0.7/quazip/quazip.sln b/3rdparty/quazip-0.7/quazip/quazip.sln new file mode 100644 index 0000000..549f3a4 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual C++ Express 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "quazip.vcproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32 + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32 + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32 + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/3rdparty/quazip-0.7/quazip/quazip.vcproj b/3rdparty/quazip-0.7/quazip/quazip.vcproj new file mode 100644 index 0000000..8034007 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.vcproj @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/3rdparty/quazip-0.7/quazip/quazip.vcxproj b/3rdparty/quazip-0.7/quazip/quazip.vcxproj new file mode 100644 index 0000000..5400a6d --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.vcxproj @@ -0,0 +1,121 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD} + Win32Proj + + + + DynamicLibrary + + + DynamicLibrary + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + Debug\ + Debug\ + true + Release\ + Release\ + true + + + + Disabled + WIN32;_DEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + + + QtCored4.lib;%(AdditionalDependencies) + true + Windows + MachineX86 + + + + + WIN32;NDEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + + + QtCore4.lib;%(AdditionalDependencies) + true + Windows + true + true + MachineX86 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/3rdparty/quazip-0.7/quazip/quazip.vcxproj.filters b/3rdparty/quazip-0.7/quazip/quazip.vcxproj.filters new file mode 100644 index 0000000..68677d5 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip.vcxproj.filters @@ -0,0 +1,117 @@ + + + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/3rdparty/quazip-0.7/quazip/quazip_global.h b/3rdparty/quazip-0.7/quazip/quazip_global.h new file mode 100644 index 0000000..7ea5cd8 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazip_global.h @@ -0,0 +1,59 @@ +#ifndef QUAZIP_GLOBAL_H +#define QUAZIP_GLOBAL_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include + +/** + This is automatically defined when building a static library, but when + including QuaZip sources directly into a project, QUAZIP_STATIC should + be defined explicitly to avoid possible troubles with unnecessary + importing/exporting. + */ +#ifdef QUAZIP_STATIC +#define QUAZIP_EXPORT +#else +/** + * When building a DLL with MSVC, QUAZIP_BUILD must be defined. + * qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc. + */ +#if defined(QUAZIP_BUILD) + #define QUAZIP_EXPORT Q_DECL_EXPORT +#else + #define QUAZIP_EXPORT Q_DECL_IMPORT +#endif +#endif // QUAZIP_STATIC + +#ifdef __GNUC__ +#define UNUSED __attribute__((__unused__)) +#else +#define UNUSED +#endif + +#define QUAZIP_EXTRA_NTFS_MAGIC 0x000Au +#define QUAZIP_EXTRA_NTFS_TIME_MAGIC 0x0001u + +#endif // QUAZIP_GLOBAL_H diff --git a/3rdparty/quazip-0.7/quazip/quazipdir.cpp b/3rdparty/quazip-0.7/quazip/quazipdir.cpp new file mode 100644 index 0000000..e1a2b94 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipdir.cpp @@ -0,0 +1,567 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quazipdir.h" + +#include +#include + +/// \cond internal +class QuaZipDirPrivate: public QSharedData { + friend class QuaZipDir; +private: + QuaZipDirPrivate(QuaZip *zip, const QString &dir = QString()): + zip(zip), dir(dir), caseSensitivity(QuaZip::csDefault), + filter(QDir::NoFilter), sorting(QDir::NoSort) {} + QuaZip *zip; + QString dir; + QuaZip::CaseSensitivity caseSensitivity; + QDir::Filters filter; + QStringList nameFilters; + QDir::SortFlags sorting; + template + bool entryInfoList(QStringList nameFilters, QDir::Filters filter, + QDir::SortFlags sort, TFileInfoList &result) const; + inline QString simplePath() const {return QDir::cleanPath(dir);} +}; +/// \endcond + +QuaZipDir::QuaZipDir(const QuaZipDir &that): + d(that.d) +{ +} + +QuaZipDir::QuaZipDir(QuaZip *zip, const QString &dir): + d(new QuaZipDirPrivate(zip, dir)) +{ + if (d->dir.startsWith('/')) + d->dir = d->dir.mid(1); +} + +QuaZipDir::~QuaZipDir() +{ +} + +bool QuaZipDir::operator==(const QuaZipDir &that) +{ + return d->zip == that.d->zip && d->dir == that.d->dir; +} + +QuaZipDir& QuaZipDir::operator=(const QuaZipDir &that) +{ + this->d = that.d; + return *this; +} + +QString QuaZipDir::operator[](int pos) const +{ + return entryList().at(pos); +} + +QuaZip::CaseSensitivity QuaZipDir::caseSensitivity() const +{ + return d->caseSensitivity; +} + +bool QuaZipDir::cd(const QString &directoryName) +{ + if (directoryName == "/") { + d->dir = ""; + return true; + } + QString dirName = directoryName; + if (dirName.endsWith('/')) + dirName.chop(1); + if (dirName.contains('/')) { + QuaZipDir dir(*this); + if (dirName.startsWith('/')) { +#ifdef QUAZIP_QUAZIPDIR_DEBUG + qDebug("QuaZipDir::cd(%s): going to /", + dirName.toUtf8().constData()); +#endif + if (!dir.cd("/")) + return false; + } + QStringList path = dirName.split('/', QString::SkipEmptyParts); + for (QStringList::const_iterator i = path.constBegin(); + i != path.end(); + ++i) { + const QString &step = *i; +#ifdef QUAZIP_QUAZIPDIR_DEBUG + qDebug("QuaZipDir::cd(%s): going to %s", + dirName.toUtf8().constData(), + step.toUtf8().constData()); +#endif + if (!dir.cd(step)) + return false; + } + d->dir = dir.path(); + return true; + } else { // no '/' + if (dirName == ".") { + return true; + } else if (dirName == "..") { + if (isRoot()) { + return false; + } else { + int slashPos = d->dir.lastIndexOf('/'); + if (slashPos == -1) { + d->dir = ""; + } else { + d->dir = d->dir.left(slashPos); + } + return true; + } + } else { // a simple subdirectory + if (exists(dirName)) { + if (isRoot()) + d->dir = dirName; + else + d->dir += "/" + dirName; + return true; + } else { + return false; + } + } + } +} + +bool QuaZipDir::cdUp() +{ + return cd(".."); +} + +uint QuaZipDir::count() const +{ + return entryList().count(); +} + +QString QuaZipDir::dirName() const +{ + return QDir(d->dir).dirName(); +} + +QuaZipFileInfo64 QuaZipDir_getFileInfo(QuaZip *zip, bool *ok, + const QString &relativeName, + bool isReal) +{ + QuaZipFileInfo64 info; + if (isReal) { + *ok = zip->getCurrentFileInfo(&info); + } else { + *ok = true; + info.compressedSize = 0; + info.crc = 0; + info.diskNumberStart = 0; + info.externalAttr = 0; + info.flags = 0; + info.internalAttr = 0; + info.method = 0; + info.uncompressedSize = 0; + info.versionCreated = info.versionNeeded = 0; + } + info.name = relativeName; + return info; +} + +static void QuaZipDir_convertInfoList(const QList &from, + QList &to) +{ + to = from; +} + +static void QuaZipDir_convertInfoList(const QList &from, + QStringList &to) +{ + to.clear(); + for (QList::const_iterator i = from.constBegin(); + i != from.constEnd(); + ++i) { + to.append(i->name); + } +} + +static void QuaZipDir_convertInfoList(const QList &from, + QList &to) +{ + to.clear(); + for (QList::const_iterator i = from.constBegin(); + i != from.constEnd(); + ++i) { + QuaZipFileInfo info32; + i->toQuaZipFileInfo(info32); + to.append(info32); + } +} + +/// \cond internal +/** + An utility class to restore the current file. + */ +class QuaZipDirRestoreCurrent { +public: + inline QuaZipDirRestoreCurrent(QuaZip *zip): + zip(zip), currentFile(zip->getCurrentFileName()) {} + inline ~QuaZipDirRestoreCurrent() + { + zip->setCurrentFile(currentFile); + } +private: + QuaZip *zip; + QString currentFile; +}; +/// \endcond + +/// \cond internal +class QuaZipDirComparator +{ + private: + QDir::SortFlags sort; + static QString getExtension(const QString &name); + int compareStrings(const QString &string1, const QString &string2); + public: + inline QuaZipDirComparator(QDir::SortFlags sort): sort(sort) {} + bool operator()(const QuaZipFileInfo64 &info1, const QuaZipFileInfo64 &info2); +}; + +QString QuaZipDirComparator::getExtension(const QString &name) +{ + if (name.endsWith('.') || name.indexOf('.', 1) == -1) { + return ""; + } else { + return name.mid(name.lastIndexOf('.') + 1); + } + +} + +int QuaZipDirComparator::compareStrings(const QString &string1, + const QString &string2) +{ + if (sort & QDir::LocaleAware) { + if (sort & QDir::IgnoreCase) { + return string1.toLower().localeAwareCompare(string2.toLower()); + } else { + return string1.localeAwareCompare(string2); + } + } else { + return string1.compare(string2, (sort & QDir::IgnoreCase) + ? Qt::CaseInsensitive : Qt::CaseSensitive); + } +} + +bool QuaZipDirComparator::operator()(const QuaZipFileInfo64 &info1, + const QuaZipFileInfo64 &info2) +{ + QDir::SortFlags order = sort + & (QDir::Name | QDir::Time | QDir::Size | QDir::Type); + if ((sort & QDir::DirsFirst) == QDir::DirsFirst + || (sort & QDir::DirsLast) == QDir::DirsLast) { + if (info1.name.endsWith('/') && !info2.name.endsWith('/')) + return (sort & QDir::DirsFirst) == QDir::DirsFirst; + else if (!info1.name.endsWith('/') && info2.name.endsWith('/')) + return (sort & QDir::DirsLast) == QDir::DirsLast; + } + bool result; + int extDiff; + switch (order) { + case QDir::Name: + result = compareStrings(info1.name, info2.name) < 0; + break; + case QDir::Type: + extDiff = compareStrings(getExtension(info1.name), + getExtension(info2.name)); + if (extDiff == 0) { + result = compareStrings(info1.name, info2.name) < 0; + } else { + result = extDiff < 0; + } + break; + case QDir::Size: + if (info1.uncompressedSize == info2.uncompressedSize) { + result = compareStrings(info1.name, info2.name) < 0; + } else { + result = info1.uncompressedSize < info2.uncompressedSize; + } + break; + case QDir::Time: + if (info1.dateTime == info2.dateTime) { + result = compareStrings(info1.name, info2.name) < 0; + } else { + result = info1.dateTime < info2.dateTime; + } + break; + default: + qWarning("QuaZipDirComparator(): Invalid sort mode 0x%2X", + static_cast(sort)); + return false; + } + return (sort & QDir::Reversed) ? !result : result; +} + +template +bool QuaZipDirPrivate::entryInfoList(QStringList nameFilters, + QDir::Filters filter, QDir::SortFlags sort, TFileInfoList &result) const +{ + QString basePath = simplePath(); + if (!basePath.isEmpty()) + basePath += "/"; + int baseLength = basePath.length(); + result.clear(); + QuaZipDirRestoreCurrent saveCurrent(zip); + if (!zip->goToFirstFile()) { + return zip->getZipError() == UNZ_OK; + } + QDir::Filters fltr = filter; + if (fltr == QDir::NoFilter) + fltr = this->filter; + if (fltr == QDir::NoFilter) + fltr = QDir::AllEntries; + QStringList nmfltr = nameFilters; + if (nmfltr.isEmpty()) + nmfltr = this->nameFilters; + QSet dirsFound; + QList list; + do { + QString name = zip->getCurrentFileName(); + if (!name.startsWith(basePath)) + continue; + QString relativeName = name.mid(baseLength); + if (relativeName.isEmpty()) + continue; + bool isDir = false; + bool isReal = true; + if (relativeName.contains('/')) { + int indexOfSlash = relativeName.indexOf('/'); + // something like "subdir/" + isReal = indexOfSlash == relativeName.length() - 1; + relativeName = relativeName.left(indexOfSlash + 1); + if (dirsFound.contains(relativeName)) + continue; + isDir = true; + } + dirsFound.insert(relativeName); + if ((fltr & QDir::Dirs) == 0 && isDir) + continue; + if ((fltr & QDir::Files) == 0 && !isDir) + continue; + if (!nmfltr.isEmpty() && !QDir::match(nmfltr, relativeName)) + continue; + bool ok; + QuaZipFileInfo64 info = QuaZipDir_getFileInfo(zip, &ok, relativeName, + isReal); + if (!ok) { + return false; + } + list.append(info); + } while (zip->goToNextFile()); + QDir::SortFlags srt = sort; + if (srt == QDir::NoSort) + srt = sorting; +#ifdef QUAZIP_QUAZIPDIR_DEBUG + qDebug("QuaZipDirPrivate::entryInfoList(): before sort:"); + foreach (QuaZipFileInfo64 info, list) { + qDebug("%s\t%s", info.name.toUtf8().constData(), + info.dateTime.toString(Qt::ISODate).toUtf8().constData()); + } +#endif + if (srt != QDir::NoSort && (srt & QDir::Unsorted) != QDir::Unsorted) { + if (QuaZip::convertCaseSensitivity(caseSensitivity) + == Qt::CaseInsensitive) + srt |= QDir::IgnoreCase; + QuaZipDirComparator lessThan(srt); + qSort(list.begin(), list.end(), lessThan); + } + QuaZipDir_convertInfoList(list, result); + return true; +} + +/// \endcond + +QList QuaZipDir::entryInfoList(const QStringList &nameFilters, + QDir::Filters filters, QDir::SortFlags sort) const +{ + QList result; + if (d->entryInfoList(nameFilters, filters, sort, result)) + return result; + else + return QList(); +} + +QList QuaZipDir::entryInfoList(QDir::Filters filters, + QDir::SortFlags sort) const +{ + return entryInfoList(QStringList(), filters, sort); +} + +QList QuaZipDir::entryInfoList64(const QStringList &nameFilters, + QDir::Filters filters, QDir::SortFlags sort) const +{ + QList result; + if (d->entryInfoList(nameFilters, filters, sort, result)) + return result; + else + return QList(); +} + +QList QuaZipDir::entryInfoList64(QDir::Filters filters, + QDir::SortFlags sort) const +{ + return entryInfoList64(QStringList(), filters, sort); +} + +QStringList QuaZipDir::entryList(const QStringList &nameFilters, + QDir::Filters filters, QDir::SortFlags sort) const +{ + QStringList result; + if (d->entryInfoList(nameFilters, filters, sort, result)) + return result; + else + return QStringList(); +} + +QStringList QuaZipDir::entryList(QDir::Filters filters, + QDir::SortFlags sort) const +{ + return entryList(QStringList(), filters, sort); +} + +bool QuaZipDir::exists(const QString &filePath) const +{ + if (filePath == "/" || filePath.isEmpty()) + return true; + QString fileName = filePath; + if (fileName.endsWith('/')) + fileName.chop(1); + if (fileName.contains('/')) { + QFileInfo fileInfo(fileName); +#ifdef QUAZIP_QUAZIPDIR_DEBUG + qDebug("QuaZipDir::exists(): fileName=%s, fileInfo.fileName()=%s, " + "fileInfo.path()=%s", fileName.toUtf8().constData(), + fileInfo.fileName().toUtf8().constData(), + fileInfo.path().toUtf8().constData()); +#endif + QuaZipDir dir(*this); + return dir.cd(fileInfo.path()) && dir.exists(fileInfo.fileName()); + } else { + if (fileName == "..") { + return !isRoot(); + } else if (fileName == ".") { + return true; + } else { + QStringList entries = entryList(QDir::AllEntries, QDir::NoSort); +#ifdef QUAZIP_QUAZIPDIR_DEBUG + qDebug("QuaZipDir::exists(): looking for %s", + fileName.toUtf8().constData()); + for (QStringList::const_iterator i = entries.constBegin(); + i != entries.constEnd(); + ++i) { + qDebug("QuaZipDir::exists(): entry: %s", + i->toUtf8().constData()); + } +#endif + Qt::CaseSensitivity cs = QuaZip::convertCaseSensitivity( + d->caseSensitivity); + if (filePath.endsWith('/')) { + return entries.contains(filePath, cs); + } else { + return entries.contains(fileName, cs) + || entries.contains(fileName + "/", cs); + } + } + } +} + +bool QuaZipDir::exists() const +{ + return QuaZipDir(d->zip).exists(d->dir); +} + +QString QuaZipDir::filePath(const QString &fileName) const +{ + return QDir(d->dir).filePath(fileName); +} + +QDir::Filters QuaZipDir::filter() +{ + return d->filter; +} + +bool QuaZipDir::isRoot() const +{ + return d->simplePath().isEmpty(); +} + +QStringList QuaZipDir::nameFilters() const +{ + return d->nameFilters; +} + +QString QuaZipDir::path() const +{ + return d->dir; +} + +QString QuaZipDir::relativeFilePath(const QString &fileName) const +{ + return QDir("/" + d->dir).relativeFilePath(fileName); +} + +void QuaZipDir::setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity) +{ + d->caseSensitivity = caseSensitivity; +} + +void QuaZipDir::setFilter(QDir::Filters filters) +{ + d->filter = filters; +} + +void QuaZipDir::setNameFilters(const QStringList &nameFilters) +{ + d->nameFilters = nameFilters; +} + +void QuaZipDir::setPath(const QString &path) +{ + QString newDir = path; + if (newDir == "/") { + d->dir = ""; + } else { + if (newDir.endsWith('/')) + newDir.chop(1); + if (newDir.startsWith('/')) + newDir = newDir.mid(1); + d->dir = newDir; + } +} + +void QuaZipDir::setSorting(QDir::SortFlags sort) +{ + d->sorting = sort; +} + +QDir::SortFlags QuaZipDir::sorting() const +{ + return d->sorting; +} diff --git a/3rdparty/quazip-0.7/quazip/quazipdir.h b/3rdparty/quazip-0.7/quazip/quazipdir.h new file mode 100644 index 0000000..09d989b --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipdir.h @@ -0,0 +1,223 @@ +#ifndef QUAZIP_QUAZIPDIR_H +#define QUAZIP_QUAZIPDIR_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +class QuaZipDirPrivate; + +#include "quazip.h" +#include "quazipfileinfo.h" +#include +#include +#include + +/// 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. +*/ +class QUAZIP_EXPORT QuaZipDir { +private: + QSharedDataPointer d; +public: + /// The copy constructor. + QuaZipDir(const QuaZipDir &that); + /// Constructs a QuaZipDir instance pointing to the specified directory. + /** + If \a dir is not specified, points to the root of the archive. + The same happens if the \a dir is "/". + */ + QuaZipDir(QuaZip *zip, const QString &dir = QString()); + /// Destructor. + ~QuaZipDir(); + /// The assignment operator. + bool operator==(const QuaZipDir &that); + /// operator!= + /** + \return \c true if either this and \a that use different QuaZip + instances or if they point to different directories. + */ + inline bool operator!=(const QuaZipDir &that) {return !operator==(that);} + /// operator== + /** + \return \c true if both this and \a that use the same QuaZip + instance and point to the same directory. + */ + QuaZipDir& operator=(const QuaZipDir &that); + /// Returns the name of the entry at the specified position. + QString operator[](int pos) const; + /// Returns the current case sensitivity mode. + QuaZip::CaseSensitivity caseSensitivity() const; + /// 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. + */ + bool cd(const QString &dirName); + /// Goes up. + bool cdUp(); + /// Returns the number of entries in the directory. + uint count() const; + /// Returns the current directory name. + /** + The name doesn't include the path. + */ + QString dirName() const; + /// Returns the list of the entries in the directory. + /** + \param nameFilters The list of file patterns to list, uses the same + syntax as QDir. + \param filters The entry type filters, only Files and Dirs are + accepted. + \param sort Sorting mode. + */ + QList entryInfoList(const QStringList &nameFilters, + QDir::Filters filters = QDir::NoFilter, + QDir::SortFlags sort = QDir::NoSort) const; + /// Returns the list of the entries in the directory. + /** + \overload + + The same as entryInfoList(QStringList(), filters, sort). + */ + QList entryInfoList(QDir::Filters filters = QDir::NoFilter, + QDir::SortFlags sort = QDir::NoSort) const; + /// Returns the list of the entries in the directory with zip64 support. + /** + \param nameFilters The list of file patterns to list, uses the same + syntax as QDir. + \param filters The entry type filters, only Files and Dirs are + accepted. + \param sort Sorting mode. + */ + QList 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. + /** + \overload + + The same as entryInfoList64(QStringList(), filters, sort). + */ + QList entryInfoList64(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. + */ + 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. + /** + \overload + + The same as entryList(QStringList(), filters, sort). + */ + QStringList entryList(QDir::Filters filters = QDir::NoFilter, + QDir::SortFlags sort = QDir::NoSort) const; + /// Returns \c 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. + */ + bool exists(const QString &fileName) const; + /// Return \c true if the directory pointed by this QuaZipDir exists. + bool exists() const; + /// Returns the full path to the specified file. + /** + Doesn't check if the file actually exists. + */ + QString filePath(const QString &fileName) const; + /// Returns the default filter. + QDir::Filters filter(); + /// Returns if the QuaZipDir points to the root of the archive. + /** + Not that the root path is the empty string, not '/'. + */ + bool isRoot() const; + /// Return the default name filter. + QStringList nameFilters() const; + /// Returns the path to the current dir. + /** + The path never starts with '/', and the root path is an empty + string. + */ + QString path() 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. + * + * @param fileName The path to the file, should start with "/" + * if relative to the archive root. + * @return Path relative to the current dir. + */ + QString relativeFilePath(const QString &fileName) const; + /// Sets the default case sensitivity mode. + void setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity); + /// Sets the default filter. + void setFilter(QDir::Filters filters); + /// Sets the default name filter. + void setNameFilters(const QStringList &nameFilters); + /// 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). + */ + void setPath(const QString &path); + /// Sets the default sorting mode. + void setSorting(QDir::SortFlags sort); + /// Returns the default sorting mode. + QDir::SortFlags sorting() const; +}; + +#endif // QUAZIP_QUAZIPDIR_H diff --git a/3rdparty/quazip-0.7/quazip/quazipfile.cpp b/3rdparty/quazip-0.7/quazip/quazipfile.cpp new file mode 100644 index 0000000..0312233 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipfile.cpp @@ -0,0 +1,502 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +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. + **/ + +#include "quazipfile.h" + +using namespace std; + +/// The implementation class for QuaZip. +/** +\internal + +This class contains all the private stuff for the QuaZipFile class, thus +allowing to preserve binary compatibility between releases, the +technique known as the Pimpl (private implementation) idiom. +*/ +class QuaZipFilePrivate { + friend class QuaZipFile; + private: + /// The pointer to the associated QuaZipFile instance. + QuaZipFile *q; + /// The QuaZip object to work with. + QuaZip *zip; + /// The file name. + QString fileName; + /// Case sensitivity mode. + QuaZip::CaseSensitivity caseSensitivity; + /// Whether this file is opened in the raw mode. + bool raw; + /// Write position to keep track of. + /** + QIODevice::pos() is broken for non-seekable devices, so we need + our own position. + */ + qint64 writePos; + /// Uncompressed size to write along with a raw file. + quint64 uncompressedSize; + /// CRC to write along with a raw file. + quint32 crc; + /// Whether \ref zip points to an internal QuaZip instance. + /** + This is true if the archive was opened by name, rather than by + supplying an existing QuaZip instance. + */ + bool internal; + /// The last error. + int zipError; + /// Resets \ref zipError. + inline void resetZipError() const {setZipError(UNZ_OK);} + /// Sets the zip error. + /** + This function is marked as const although it changes one field. + This allows calling it from const functions that don't change + anything by themselves. + */ + void setZipError(int zipError) const; + /// The constructor for the corresponding QuaZipFile constructor. + inline QuaZipFilePrivate(QuaZipFile *q): + q(q), zip(NULL), internal(true), zipError(UNZ_OK) {} + /// The constructor for the corresponding QuaZipFile constructor. + inline QuaZipFilePrivate(QuaZipFile *q, const QString &zipName): + q(q), internal(true), zipError(UNZ_OK) + { + zip=new QuaZip(zipName); + } + /// The constructor for the corresponding QuaZipFile constructor. + inline QuaZipFilePrivate(QuaZipFile *q, const QString &zipName, const QString &fileName, + QuaZip::CaseSensitivity cs): + q(q), internal(true), zipError(UNZ_OK) + { + zip=new QuaZip(zipName); + this->fileName=fileName; + if (this->fileName.startsWith('/')) + this->fileName = this->fileName.mid(1); + this->caseSensitivity=cs; + } + /// The constructor for the QuaZipFile constructor accepting a file name. + inline QuaZipFilePrivate(QuaZipFile *q, QuaZip *zip): + q(q), zip(zip), internal(false), zipError(UNZ_OK) {} + /// The destructor. + inline ~QuaZipFilePrivate() + { + if (internal) + delete zip; + } +}; + +QuaZipFile::QuaZipFile(): + p(new QuaZipFilePrivate(this)) +{ +} + +QuaZipFile::QuaZipFile(QObject *parent): + QIODevice(parent), + p(new QuaZipFilePrivate(this)) +{ +} + +QuaZipFile::QuaZipFile(const QString& zipName, QObject *parent): + QIODevice(parent), + p(new QuaZipFilePrivate(this, zipName)) +{ +} + +QuaZipFile::QuaZipFile(const QString& zipName, const QString& fileName, + QuaZip::CaseSensitivity cs, QObject *parent): + QIODevice(parent), + p(new QuaZipFilePrivate(this, zipName, fileName, cs)) +{ +} + +QuaZipFile::QuaZipFile(QuaZip *zip, QObject *parent): + QIODevice(parent), + p(new QuaZipFilePrivate(this, zip)) +{ +} + +QuaZipFile::~QuaZipFile() +{ + if (isOpen()) + close(); + delete p; +} + +QString QuaZipFile::getZipName() const +{ + return p->zip==NULL ? QString() : p->zip->getZipName(); +} + +QuaZip *QuaZipFile::getZip() const +{ + return p->internal ? NULL : p->zip; +} + +QString QuaZipFile::getActualFileName()const +{ + p->setZipError(UNZ_OK); + if (p->zip == NULL || (openMode() & WriteOnly)) + return QString(); + QString name=p->zip->getCurrentFileName(); + if(name.isNull()) + p->setZipError(p->zip->getZipError()); + return name; +} + +void QuaZipFile::setZipName(const QString& zipName) +{ + if(isOpen()) { + qWarning("QuaZipFile::setZipName(): file is already open - can not set ZIP name"); + return; + } + if(p->zip!=NULL && p->internal) + delete p->zip; + p->zip=new QuaZip(zipName); + p->internal=true; +} + +void QuaZipFile::setZip(QuaZip *zip) +{ + if(isOpen()) { + qWarning("QuaZipFile::setZip(): file is already open - can not set ZIP"); + return; + } + if(p->zip!=NULL && p->internal) + delete p->zip; + p->zip=zip; + p->fileName=QString(); + p->internal=false; +} + +void QuaZipFile::setFileName(const QString& fileName, QuaZip::CaseSensitivity cs) +{ + if(p->zip==NULL) { + qWarning("QuaZipFile::setFileName(): call setZipName() first"); + return; + } + if(!p->internal) { + qWarning("QuaZipFile::setFileName(): should not be used when not using internal QuaZip"); + return; + } + if(isOpen()) { + qWarning("QuaZipFile::setFileName(): can not set file name for already opened file"); + return; + } + p->fileName=fileName; + if (p->fileName.startsWith('/')) + p->fileName = p->fileName.mid(1); + p->caseSensitivity=cs; +} + +void QuaZipFilePrivate::setZipError(int zipError) const +{ + QuaZipFilePrivate *fakeThis = const_cast(this); // non-const + fakeThis->zipError=zipError; + if(zipError==UNZ_OK) + q->setErrorString(QString()); + else + q->setErrorString(QuaZipFile::tr("ZIP/UNZIP API error %1").arg(zipError)); +} + +bool QuaZipFile::open(OpenMode mode) +{ + return open(mode, NULL); +} + +bool QuaZipFile::open(OpenMode mode, int *method, int *level, bool raw, const char *password) +{ + p->resetZipError(); + if(isOpen()) { + qWarning("QuaZipFile::open(): already opened"); + return false; + } + if(mode&Unbuffered) { + qWarning("QuaZipFile::open(): Unbuffered mode is not supported"); + return false; + } + if((mode&ReadOnly)&&!(mode&WriteOnly)) { + if(p->internal) { + if(!p->zip->open(QuaZip::mdUnzip)) { + p->setZipError(p->zip->getZipError()); + return false; + } + if(!p->zip->setCurrentFile(p->fileName, p->caseSensitivity)) { + p->setZipError(p->zip->getZipError()); + p->zip->close(); + return false; + } + } else { + if(p->zip==NULL) { + qWarning("QuaZipFile::open(): zip is NULL"); + return false; + } + if(p->zip->getMode()!=QuaZip::mdUnzip) { + qWarning("QuaZipFile::open(): file open mode %d incompatible with ZIP open mode %d", + (int)mode, (int)p->zip->getMode()); + return false; + } + if(!p->zip->hasCurrentFile()) { + qWarning("QuaZipFile::open(): zip does not have current file"); + return false; + } + } + p->setZipError(unzOpenCurrentFile3(p->zip->getUnzFile(), method, level, (int)raw, password)); + if(p->zipError==UNZ_OK) { + setOpenMode(mode); + p->raw=raw; + return true; + } else + return false; + } + qWarning("QuaZipFile::open(): open mode %d not supported by this function", (int)mode); + return false; +} + +bool QuaZipFile::open(OpenMode mode, const QuaZipNewInfo& info, + const char *password, quint32 crc, + int method, int level, bool raw, + int windowBits, int memLevel, int strategy) +{ + zip_fileinfo info_z; + p->resetZipError(); + if(isOpen()) { + qWarning("QuaZipFile::open(): already opened"); + return false; + } + if((mode&WriteOnly)&&!(mode&ReadOnly)) { + if(p->internal) { + qWarning("QuaZipFile::open(): write mode is incompatible with internal QuaZip approach"); + return false; + } + if(p->zip==NULL) { + qWarning("QuaZipFile::open(): zip is NULL"); + return false; + } + if(p->zip->getMode()!=QuaZip::mdCreate&&p->zip->getMode()!=QuaZip::mdAppend&&p->zip->getMode()!=QuaZip::mdAdd) { + qWarning("QuaZipFile::open(): file open mode %d incompatible with ZIP open mode %d", + (int)mode, (int)p->zip->getMode()); + return false; + } + info_z.tmz_date.tm_year=info.dateTime.date().year(); + info_z.tmz_date.tm_mon=info.dateTime.date().month() - 1; + info_z.tmz_date.tm_mday=info.dateTime.date().day(); + info_z.tmz_date.tm_hour=info.dateTime.time().hour(); + info_z.tmz_date.tm_min=info.dateTime.time().minute(); + info_z.tmz_date.tm_sec=info.dateTime.time().second(); + info_z.dosDate = 0; + info_z.internal_fa=(uLong)info.internalAttr; + info_z.external_fa=(uLong)info.externalAttr; + if (p->zip->isDataDescriptorWritingEnabled()) + zipSetFlags(p->zip->getZipFile(), ZIP_WRITE_DATA_DESCRIPTOR); + else + zipClearFlags(p->zip->getZipFile(), ZIP_WRITE_DATA_DESCRIPTOR); + p->setZipError(zipOpenNewFileInZip3_64(p->zip->getZipFile(), + p->zip->getFileNameCodec()->fromUnicode(info.name).constData(), &info_z, + info.extraLocal.constData(), info.extraLocal.length(), + info.extraGlobal.constData(), info.extraGlobal.length(), + p->zip->getCommentCodec()->fromUnicode(info.comment).constData(), + method, level, (int)raw, + windowBits, memLevel, strategy, + password, (uLong)crc, p->zip->isZip64Enabled())); + if(p->zipError==UNZ_OK) { + p->writePos=0; + setOpenMode(mode); + p->raw=raw; + if(raw) { + p->crc=crc; + p->uncompressedSize=info.uncompressedSize; + } + return true; + } else + return false; + } + qWarning("QuaZipFile::open(): open mode %d not supported by this function", (int)mode); + return false; +} + +bool QuaZipFile::isSequential()const +{ + return true; +} + +qint64 QuaZipFile::pos()const +{ + if(p->zip==NULL) { + qWarning("QuaZipFile::pos(): call setZipName() or setZip() first"); + return -1; + } + if(!isOpen()) { + qWarning("QuaZipFile::pos(): file is not open"); + return -1; + } + if(openMode()&ReadOnly) + // QIODevice::pos() is broken for sequential devices, + // but thankfully bytesAvailable() returns the number of + // bytes buffered, so we know how far ahead we are. + return unztell(p->zip->getUnzFile()) - QIODevice::bytesAvailable(); + else + return p->writePos; +} + +bool QuaZipFile::atEnd()const +{ + if(p->zip==NULL) { + qWarning("QuaZipFile::atEnd(): call setZipName() or setZip() first"); + return false; + } + if(!isOpen()) { + qWarning("QuaZipFile::atEnd(): file is not open"); + return false; + } + if(openMode()&ReadOnly) + // the same problem as with pos() + return QIODevice::bytesAvailable() == 0 + && unzeof(p->zip->getUnzFile())==1; + else + return true; +} + +qint64 QuaZipFile::size()const +{ + if(!isOpen()) { + qWarning("QuaZipFile::atEnd(): file is not open"); + return -1; + } + if(openMode()&ReadOnly) + return p->raw?csize():usize(); + else + return p->writePos; +} + +qint64 QuaZipFile::csize()const +{ + unz_file_info64 info_z; + p->setZipError(UNZ_OK); + if(p->zip==NULL||p->zip->getMode()!=QuaZip::mdUnzip) return -1; + p->setZipError(unzGetCurrentFileInfo64(p->zip->getUnzFile(), &info_z, NULL, 0, NULL, 0, NULL, 0)); + if(p->zipError!=UNZ_OK) + return -1; + return info_z.compressed_size; +} + +qint64 QuaZipFile::usize()const +{ + unz_file_info64 info_z; + p->setZipError(UNZ_OK); + if(p->zip==NULL||p->zip->getMode()!=QuaZip::mdUnzip) return -1; + p->setZipError(unzGetCurrentFileInfo64(p->zip->getUnzFile(), &info_z, NULL, 0, NULL, 0, NULL, 0)); + if(p->zipError!=UNZ_OK) + return -1; + return info_z.uncompressed_size; +} + +bool QuaZipFile::getFileInfo(QuaZipFileInfo *info) +{ + QuaZipFileInfo64 info64; + if (getFileInfo(&info64)) { + info64.toQuaZipFileInfo(*info); + return true; + } else { + return false; + } +} + +bool QuaZipFile::getFileInfo(QuaZipFileInfo64 *info) +{ + if(p->zip==NULL||p->zip->getMode()!=QuaZip::mdUnzip) return false; + p->zip->getCurrentFileInfo(info); + p->setZipError(p->zip->getZipError()); + return p->zipError==UNZ_OK; +} + +void QuaZipFile::close() +{ + p->resetZipError(); + if(p->zip==NULL||!p->zip->isOpen()) return; + if(!isOpen()) { + qWarning("QuaZipFile::close(): file isn't open"); + return; + } + if(openMode()&ReadOnly) + p->setZipError(unzCloseCurrentFile(p->zip->getUnzFile())); + else if(openMode()&WriteOnly) + if(isRaw()) p->setZipError(zipCloseFileInZipRaw64(p->zip->getZipFile(), p->uncompressedSize, p->crc)); + else p->setZipError(zipCloseFileInZip(p->zip->getZipFile())); + else { + qWarning("Wrong open mode: %d", (int)openMode()); + return; + } + if(p->zipError==UNZ_OK) setOpenMode(QIODevice::NotOpen); + else return; + if(p->internal) { + p->zip->close(); + p->setZipError(p->zip->getZipError()); + } +} + +qint64 QuaZipFile::readData(char *data, qint64 maxSize) +{ + p->setZipError(UNZ_OK); + qint64 bytesRead=unzReadCurrentFile(p->zip->getUnzFile(), data, (unsigned)maxSize); + if (bytesRead < 0) { + p->setZipError((int) bytesRead); + return -1; + } + return bytesRead; +} + +qint64 QuaZipFile::writeData(const char* data, qint64 maxSize) +{ + p->setZipError(ZIP_OK); + p->setZipError(zipWriteInFileInZip(p->zip->getZipFile(), data, (uint)maxSize)); + if(p->zipError!=ZIP_OK) return -1; + else { + p->writePos+=maxSize; + return maxSize; + } +} + +QString QuaZipFile::getFileName() const +{ + return p->fileName; +} + +QuaZip::CaseSensitivity QuaZipFile::getCaseSensitivity() const +{ + return p->caseSensitivity; +} + +bool QuaZipFile::isRaw() const +{ + return p->raw; +} + +int QuaZipFile::getZipError() const +{ + return p->zipError; +} + +qint64 QuaZipFile::bytesAvailable() const +{ + return size() - pos(); +} diff --git a/3rdparty/quazip-0.7/quazip/quazipfile.h b/3rdparty/quazip-0.7/quazip/quazipfile.h new file mode 100644 index 0000000..ec91a40 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipfile.h @@ -0,0 +1,456 @@ +#ifndef QUA_ZIPFILE_H +#define QUA_ZIPFILE_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +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. + **/ + +#include + +#include "quazip_global.h" +#include "quazip.h" +#include "quazipnewinfo.h" + +class QuaZipFilePrivate; + +/// A file inside ZIP archive. +/** \class QuaZipFile quazipfile.h + * 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. + * + * \section quazipfile-sequential 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. + * + **/ +class QUAZIP_EXPORT QuaZipFile: public QIODevice { + friend class QuaZipFilePrivate; + Q_OBJECT + private: + QuaZipFilePrivate *p; + // these are not supported nor implemented + QuaZipFile(const QuaZipFile& that); + QuaZipFile& operator=(const QuaZipFile& that); + protected: + /// Implementation of the QIODevice::readData(). + qint64 readData(char *data, qint64 maxSize); + /// Implementation of the QIODevice::writeData(). + qint64 writeData(const char *data, qint64 maxSize); + public: + /// Constructs a QuaZipFile instance. + /** You should use setZipName() and setFileName() or setZip() before + * trying to call open() on the constructed object. + **/ + QuaZipFile(); + /// Constructs a QuaZipFile instance. + /** \a 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(QObject *parent); + /// Constructs a QuaZipFile instance. + /** \a parent argument specifies this object's parent object and \a + * 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(const QString& zipName, QObject *parent =NULL); + /// Constructs a QuaZipFile instance. + /** \a parent argument specifies this object's parent object, \a + * zipName specifies ZIP archive file name and \a fileName and \a 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. + * + * \sa QuaZip::setCurrentFile() + **/ + QuaZipFile(const QString& zipName, const QString& fileName, + QuaZip::CaseSensitivity cs =QuaZip::csDefault, QObject *parent =NULL); + /// Constructs a QuaZipFile instance. + /** \a parent argument specifies this object's parent object. + * + * \a zip is the pointer to the existing QuaZip object. This + * QuaZipFile object then can be used to read current file in the + * \a 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: + * \code + * 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 + * \endcode + * So, what exactly happens here? When we change current file in the + * \c zip archive, \c 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 \c 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: + * \code + * 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(); + * \endcode + **/ + QuaZipFile(QuaZip *zip, QObject *parent =NULL); + /// Destroys a QuaZipFile instance. + /** Closes file if open, destructs internal QuaZip object (if it + * exists and \em is internal, of course). + **/ + virtual ~QuaZipFile(); + /// 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. + * + * \sa setZipName() getFileName() + **/ + QString getZipName()const; + /// Returns a pointer to the associated QuaZip object. + /** Returns \c NULL if there is no associated QuaZip or it is + * internal (so you will not mess with it). + **/ + QuaZip* getZip()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). + * + * \sa getActualFileName + **/ + QString getFileName() 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). + * + * \sa getFileName + **/ + QuaZip::CaseSensitivity getCaseSensitivity() const; + /// Returns the actual file name in the archive. + /** This is \em 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: + * \code + * 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 + * \endcode + * + * \sa getZipName(), getFileName(), QuaZip::CaseSensitivity + **/ + QString getActualFileName()const; + /// 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. + **/ + void setZipName(const QString& zipName); + /// Returns \c true if the file was opened in raw mode. + /** If the file is not open, the returned value is undefined. + * + * \sa open(OpenMode,int*,int*,bool,const char*) + **/ + bool isRaw() const; + /// Binds to the existing QuaZip instance. + /** This function destroys internal QuaZip object, if any, and makes + * this QuaZipFile to use current file in the \a 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 setZip(QuaZip *zip); + /// 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. + * + * \sa QuaZip::setCurrentFile + **/ + void setFileName(const QString& fileName, QuaZip::CaseSensitivity cs =QuaZip::csDefault); + /// Opens a file for reading. + /** Returns \c true on success, \c 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 \a mode, or open will fail. + **/ + virtual bool open(OpenMode mode); + /// Opens a file for reading. + /** \overload + * Argument \a password specifies a password to decrypt the file. If + * it is NULL then this function behaves just like open(OpenMode). + **/ + inline bool open(OpenMode mode, const char *password) + {return open(mode, NULL, NULL, false, password);} + /// Opens a file for reading. + /** \overload + * Argument \a password specifies a password to decrypt the file. + * + * An integers pointed by \a method and \a level will receive codes + * of the compression method and level used. See unzip.h. + * + * If raw is \c true then no decompression is performed. + * + * \a method should not be \c NULL. \a level can be \c NULL if you + * don't want to know the compression level. + **/ + bool open(OpenMode mode, int *method, int *level, bool raw, const char *password =NULL); + /// Opens a file for writing. + /** \a 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 \a password argument specifies the password for crypting. Pass NULL + * if you don't need any crypting. The \a 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 \a method and \a 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, \a level + * has no other effects with method 0. + * + * If \a raw is \c true, no compression is performed. In this case, + * \a crc and uncompressedSize field of the \a info are required. + * + * Arguments \a windowBits, \a memLevel, \a strategy provide zlib + * algorithms tuning. See deflateInit2() in zlib. + **/ + 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); + /// Returns \c true, but \ref quazipfile-sequential "beware"! + virtual bool isSequential()const; + /// 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 + * \ref quazipfile-sequential "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. + **/ + virtual qint64 pos()const; + /// Returns \c true if the end of file was reached. + /** This function returns \c 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 \c false is + * returned because of error or because end of file was reached. + * Well, on the other side you may interpret \c 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 \c true (because you + * are always writing to the end of file). + * + * Error code returned by getZipError() is not affected by this + * function call. + **/ + virtual bool atEnd()const; + /// 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 + * \ref quazipfile-sequential "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. + **/ + virtual qint64 size()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. + **/ + qint64 csize()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. + **/ + qint64 usize()const; + /// 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. + * + * \return \c 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(). + * + * \sa getFileInfo(QuaZipFileInfo64*) + **/ + bool getFileInfo(QuaZipFileInfo *info); + /// Gets information about current file with zip64 support. + /** + * @overload + * + * \sa getFileInfo(QuaZipFileInfo*) + */ + bool getFileInfo(QuaZipFileInfo64 *info); + /// Closes the file. + /** Call getZipError() to determine if the close was successful. + **/ + virtual void close(); + /// Returns the error code returned by the last ZIP/UNZIP API call. + int getZipError() const; + /// Returns the number of bytes available for reading. + virtual qint64 bytesAvailable() const; +}; + +#endif diff --git a/3rdparty/quazip-0.7/quazip/quazipfileinfo.cpp b/3rdparty/quazip-0.7/quazip/quazipfileinfo.cpp new file mode 100644 index 0000000..a855e01 --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipfileinfo.cpp @@ -0,0 +1,176 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include "quazipfileinfo.h" + +static QFile::Permissions permissionsFromExternalAttr(quint32 externalAttr) { + quint32 uPerm = (externalAttr & 0xFFFF0000u) >> 16; + QFile::Permissions perm = 0; + if ((uPerm & 0400) != 0) + perm |= QFile::ReadOwner; + if ((uPerm & 0200) != 0) + perm |= QFile::WriteOwner; + if ((uPerm & 0100) != 0) + perm |= QFile::ExeOwner; + if ((uPerm & 0040) != 0) + perm |= QFile::ReadGroup; + if ((uPerm & 0020) != 0) + perm |= QFile::WriteGroup; + if ((uPerm & 0010) != 0) + perm |= QFile::ExeGroup; + if ((uPerm & 0004) != 0) + perm |= QFile::ReadOther; + if ((uPerm & 0002) != 0) + perm |= QFile::WriteOther; + if ((uPerm & 0001) != 0) + perm |= QFile::ExeOther; + return perm; + +} + +QFile::Permissions QuaZipFileInfo::getPermissions() const +{ + return permissionsFromExternalAttr(externalAttr); +} + +QFile::Permissions QuaZipFileInfo64::getPermissions() const +{ + return permissionsFromExternalAttr(externalAttr); +} + +bool QuaZipFileInfo64::toQuaZipFileInfo(QuaZipFileInfo &info) const +{ + bool noOverflow = true; + info.name = name; + info.versionCreated = versionCreated; + info.versionNeeded = versionNeeded; + info.flags = flags; + info.method = method; + info.dateTime = dateTime; + info.crc = crc; + if (compressedSize > 0xFFFFFFFFu) { + info.compressedSize = 0xFFFFFFFFu; + noOverflow = false; + } else { + info.compressedSize = compressedSize; + } + if (uncompressedSize > 0xFFFFFFFFu) { + info.uncompressedSize = 0xFFFFFFFFu; + noOverflow = false; + } else { + info.uncompressedSize = uncompressedSize; + } + info.diskNumberStart = diskNumberStart; + info.internalAttr = internalAttr; + info.externalAttr = externalAttr; + info.comment = comment; + info.extra = extra; + return noOverflow; +} + +static QDateTime getNTFSTime(const QByteArray &extra, int position, + int *fineTicks) +{ + QDateTime dateTime; + for (int i = 0; i <= extra.size() - 4; ) { + unsigned type = static_cast(static_cast( + extra.at(i))) + | (static_cast(static_cast( + extra.at(i + 1))) << 8); + i += 2; + unsigned length = static_cast(static_cast( + extra.at(i))) + | (static_cast(static_cast( + extra.at(i + 1))) << 8); + i += 2; + if (type == QUAZIP_EXTRA_NTFS_MAGIC && length >= 32) { + i += 4; // reserved + while (i <= extra.size() - 4) { + unsigned tag = static_cast( + static_cast(extra.at(i))) + | (static_cast( + static_cast(extra.at(i + 1))) + << 8); + i += 2; + int tagsize = static_cast( + static_cast(extra.at(i))) + | (static_cast( + static_cast(extra.at(i + 1))) + << 8); + i += 2; + if (tag == QUAZIP_EXTRA_NTFS_TIME_MAGIC + && tagsize >= position + 8) { + i += position; + quint64 mtime = static_cast( + static_cast(extra.at(i))) + | (static_cast(static_cast( + extra.at(i + 1))) << 8) + | (static_cast(static_cast( + extra.at(i + 2))) << 16) + | (static_cast(static_cast( + extra.at(i + 3))) << 24) + | (static_cast(static_cast( + extra.at(i + 4))) << 32) + | (static_cast(static_cast( + extra.at(i + 5))) << 40) + | (static_cast(static_cast( + extra.at(i + 6))) << 48) + | (static_cast(static_cast( + extra.at(i + 7))) << 56); + // the NTFS time is measured from 1601 for whatever reason + QDateTime base(QDate(1601, 1, 1), QTime(0, 0), Qt::UTC); + dateTime = base.addMSecs(mtime / 10000); + if (fineTicks != NULL) { + *fineTicks = static_cast(mtime % 10000); + } + i += tagsize - position; + } else { + i += tagsize; + } + + } + } else { + i += length; + } + } + if (fineTicks != NULL && dateTime.isNull()) { + *fineTicks = 0; + } + return dateTime; +} + +QDateTime QuaZipFileInfo64::getNTFSmTime(int *fineTicks) const +{ + return getNTFSTime(extra, 0, fineTicks); +} + +QDateTime QuaZipFileInfo64::getNTFSaTime(int *fineTicks) const +{ + return getNTFSTime(extra, 8, fineTicks); +} + +QDateTime QuaZipFileInfo64::getNTFScTime(int *fineTicks) const +{ + return getNTFSTime(extra, 16, fineTicks); +} diff --git a/3rdparty/quazip-0.7/quazip/quazipfileinfo.h b/3rdparty/quazip-0.7/quazip/quazipfileinfo.h new file mode 100644 index 0000000..dc527cb --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipfileinfo.h @@ -0,0 +1,172 @@ +#ifndef QUA_ZIPFILEINFO_H +#define QUA_ZIPFILEINFO_H + +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include +#include +#include + +#include "quazip_global.h" + +/// Information about a file inside archive. +/** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to + * fill this structure. */ +struct QUAZIP_EXPORT QuaZipFileInfo { + /// File name. + QString name; + /// Version created by. + quint16 versionCreated; + /// Version needed to extract. + quint16 versionNeeded; + /// General purpose flags. + quint16 flags; + /// Compression method. + quint16 method; + /// Last modification date and time. + QDateTime dateTime; + /// CRC. + quint32 crc; + /// Compressed file size. + quint32 compressedSize; + /// Uncompressed file size. + quint32 uncompressedSize; + /// Disk number start. + quint16 diskNumberStart; + /// Internal file attributes. + quint16 internalAttr; + /// External file attributes. + quint32 externalAttr; + /// Comment. + QString comment; + /// Extra field. + QByteArray extra; + /// Get the file permissions. + /** + Returns the high 16 bits of external attributes converted to + QFile::Permissions. + */ + QFile::Permissions getPermissions() const; +}; + +/// Information about a file inside archive (with zip64 support). +/** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to + * fill this structure. */ +struct QUAZIP_EXPORT QuaZipFileInfo64 { + /// File name. + QString name; + /// Version created by. + quint16 versionCreated; + /// Version needed to extract. + quint16 versionNeeded; + /// General purpose flags. + quint16 flags; + /// Compression method. + quint16 method; + /// 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. + */ + QDateTime dateTime; + /// CRC. + quint32 crc; + /// Compressed file size. + quint64 compressedSize; + /// Uncompressed file size. + quint64 uncompressedSize; + /// Disk number start. + quint16 diskNumberStart; + /// Internal file attributes. + quint16 internalAttr; + /// External file attributes. + quint32 externalAttr; + /// Comment. + QString comment; + /// Extra field. + QByteArray extra; + /// Get the file permissions. + /** + Returns the high 16 bits of external attributes converted to + QFile::Permissions. + */ + QFile::Permissions getPermissions() 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. + + \return \c true if all fields converted correctly, \c false if an overflow + occured. + */ + bool toQuaZipFileInfo(QuaZipFileInfo &info) 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. + * @param fineTicks If 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. + * @sa dateTime + * @sa getNTFSaTime() + * @sa getNTFScTime() + * @return The NTFS modification time, UTC + */ + QDateTime getNTFSmTime(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. + * @param fineTicks If 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. + * @sa dateTime + * @sa getNTFSmTime() + * @sa getNTFScTime() + * @return The NTFS access time, UTC + */ + QDateTime getNTFSaTime(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. + * @param fineTicks If 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. + * @sa dateTime + * @sa getNTFSmTime() + * @sa getNTFSaTime() + * @return The NTFS creation time, UTC + */ + QDateTime getNTFScTime(int *fineTicks = NULL) const; +}; + +#endif diff --git a/3rdparty/quazip-0.7/quazip/quazipnewinfo.cpp b/3rdparty/quazip-0.7/quazip/quazipnewinfo.cpp new file mode 100644 index 0000000..db6c70a --- /dev/null +++ b/3rdparty/quazip-0.7/quazip/quazipnewinfo.cpp @@ -0,0 +1,277 @@ +/* +Copyright (C) 2005-2014 Sergey A. Tachenov + +This file is part of QuaZIP. + +QuaZIP 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 3 of the License, or +(at your option) any later version. + +QuaZIP 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 QuaZIP. If not, see . + +See COPYING file for the full LGPL text. + +Original ZIP package is copyrighted by Gilles Vollant and contributors, +see quazip/(un)zip.h files for details. Basically it's the zlib license. +*/ + +#include + +#include "quazipnewinfo.h" + +#include + +static void QuaZipNewInfo_setPermissions(QuaZipNewInfo *info, + QFile::Permissions perm, bool isDir) +{ + quint32 uPerm = isDir ? 0040000 : 0100000; + if ((perm & QFile::ReadOwner) != 0) + uPerm |= 0400; + if ((perm & QFile::WriteOwner) != 0) + uPerm |= 0200; + if ((perm & QFile::ExeOwner) != 0) + uPerm |= 0100; + if ((perm & QFile::ReadGroup) != 0) + uPerm |= 0040; + if ((perm & QFile::WriteGroup) != 0) + uPerm |= 0020; + if ((perm & QFile::ExeGroup) != 0) + uPerm |= 0010; + if ((perm & QFile::ReadOther) != 0) + uPerm |= 0004; + if ((perm & QFile::WriteOther) != 0) + uPerm |= 0002; + if ((perm & QFile::ExeOther) != 0) + uPerm |= 0001; + info->externalAttr = (info->externalAttr & ~0xFFFF0000u) | (uPerm << 16); +} + +template +void QuaZipNewInfo_init(QuaZipNewInfo &self, const FileInfo &existing) +{ + self.name = existing.name; + self.dateTime = existing.dateTime; + self.internalAttr = existing.internalAttr; + self.externalAttr = existing.externalAttr; + self.comment = existing.comment; + self.extraLocal = existing.extra; + self.extraGlobal = existing.extra; + self.uncompressedSize = existing.uncompressedSize; +} + +QuaZipNewInfo::QuaZipNewInfo(const QuaZipFileInfo &existing) +{ + QuaZipNewInfo_init(*this, existing); +} + +QuaZipNewInfo::QuaZipNewInfo(const QuaZipFileInfo64 &existing) +{ + QuaZipNewInfo_init(*this, existing); +} + +QuaZipNewInfo::QuaZipNewInfo(const QString& name): + name(name), dateTime(QDateTime::currentDateTime()), internalAttr(0), externalAttr(0), + uncompressedSize(0) +{ +} + +QuaZipNewInfo::QuaZipNewInfo(const QString& name, const QString& file): + name(name), internalAttr(0), externalAttr(0), uncompressedSize(0) +{ + QFileInfo info(file); + QDateTime lm = info.lastModified(); + if (!info.exists()) { + dateTime = QDateTime::currentDateTime(); + } else { + dateTime = lm; + QuaZipNewInfo_setPermissions(this, info.permissions(), info.isDir()); + } +} + +void QuaZipNewInfo::setFileDateTime(const QString& file) +{ + QFileInfo info(file); + QDateTime lm = info.lastModified(); + if (info.exists()) + dateTime = lm; +} + +void QuaZipNewInfo::setFilePermissions(const QString &file) +{ + QFileInfo info = QFileInfo(file); + QFile::Permissions perm = info.permissions(); + QuaZipNewInfo_setPermissions(this, perm, info.isDir()); +} + +void QuaZipNewInfo::setPermissions(QFile::Permissions permissions) +{ + QuaZipNewInfo_setPermissions(this, permissions, name.endsWith('/')); +} + +void QuaZipNewInfo::setFileNTFSTimes(const QString &fileName) +{ + QFileInfo fi(fileName); + if (!fi.exists()) { + qWarning("QuaZipNewInfo::setFileNTFSTimes(): '%s' doesn't exist", + fileName.toUtf8().constData()); + return; + } + setFileNTFSmTime(fi.lastModified()); + setFileNTFSaTime(fi.lastRead()); + setFileNTFScTime(fi.created()); +} + +static void setNTFSTime(QByteArray &extra, const QDateTime &time, int position, + int fineTicks) { + int ntfsPos = -1, timesPos = -1; + unsigned ntfsLength = 0, ntfsTimesLength = 0; + for (int i = 0; i <= extra.size() - 4; ) { + unsigned type = static_cast(static_cast( + extra.at(i))) + | (static_cast(static_cast( + extra.at(i + 1))) << 8); + i += 2; + unsigned length = static_cast(static_cast( + extra.at(i))) + | (static_cast(static_cast( + extra.at(i + 1))) << 8); + i += 2; + if (type == QUAZIP_EXTRA_NTFS_MAGIC) { + ntfsPos = i - 4; // the beginning of the NTFS record + ntfsLength = length; + if (length <= 4) { + break; // no times in the NTFS record + } + i += 4; // reserved + while (i <= extra.size() - 4) { + unsigned tag = static_cast( + static_cast(extra.at(i))) + | (static_cast( + static_cast(extra.at(i + 1))) + << 8); + i += 2; + unsigned tagsize = static_cast( + static_cast(extra.at(i))) + | (static_cast( + static_cast(extra.at(i + 1))) + << 8); + i += 2; + if (tag == QUAZIP_EXTRA_NTFS_TIME_MAGIC) { + timesPos = i - 4; // the beginning of the NTFS times tag + ntfsTimesLength = tagsize; + break; + } else { + i += tagsize; + } + } + break; // I ain't going to search for yet another NTFS record! + } else { + i += length; + } + } + if (ntfsPos == -1) { + // No NTFS record, need to create one. + ntfsPos = extra.size(); + ntfsLength = 32; + extra.resize(extra.size() + 4 + ntfsLength); + // the NTFS record header + extra[ntfsPos] = static_cast(QUAZIP_EXTRA_NTFS_MAGIC); + extra[ntfsPos + 1] = static_cast(QUAZIP_EXTRA_NTFS_MAGIC >> 8); + extra[ntfsPos + 2] = 32; // the 2-byte size in LittleEndian + extra[ntfsPos + 3] = 0; + // zero the record + memset(extra.data() + ntfsPos + 4, 0, 32); + timesPos = ntfsPos + 8; + // now set the tag data + extra[timesPos] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC); + extra[timesPos + 1] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC + >> 8); + // the size: + extra[timesPos + 2] = 24; + extra[timesPos + 3] = 0; + ntfsTimesLength = 24; + } + if (timesPos == -1) { + // No time tag in the NTFS record, need to add one. + timesPos = ntfsPos + 4 + ntfsLength; + extra.resize(extra.size() + 28); + // Now we need to move the rest of the field + // (possibly zero bytes, but memmove() is OK with that). + // 0 ......... ntfsPos .. ntfsPos + 4 ... timesPos + //
+ memmove(extra.data() + timesPos + 28, extra.data() + timesPos, + extra.size() - 28 - timesPos); + ntfsLength += 28; + // now set the tag data + extra[timesPos] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC); + extra[timesPos + 1] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC + >> 8); + // the size: + extra[timesPos + 2] = 24; + extra[timesPos + 3] = 0; + // zero the record + memset(extra.data() + timesPos + 4, 0, 24); + ntfsTimesLength = 24; + } + if (ntfsTimesLength < 24) { + // Broken times field. OK, this is really unlikely, but just in case... + size_t timesEnd = timesPos + 4 + ntfsTimesLength; + extra.resize(extra.size() + (24 - ntfsTimesLength)); + // Move it! + // 0 ......... timesPos .... timesPos + 4 .. timesEnd + //