Age | Commit message (Collapse) | Author | Files | Lines |
|
It takes a lot of time and we can save 1% of size if at all. Rather
store them uncompressed in the zip file.
Maybe we should not deflate jpeg files at all. For some small ones,
about 100KB - 200KB, I've seen 2% savings.
With png, we can save a bit more, although it's still only about 4% - 8%.
Change-Id: I43a3e3812882e4ce85e7af9d0aaab454d98c4860
|
|
Change-Id: Iae804a34f344aa793a6d5c13315f7bc1eb64c0a2
|
|
Change-Id: I495e147b679b770c479eb0bb2c2714d815e5b9e9
|
|
I just want to see what's going to happen - if anything.
Change-Id: Iba09c261126654ab19fc5755b3923b406db15031
|
|
Change-Id: I66cbbfb2aa6abc6c8ebe34d9ea69855436c23edd
|
|
Change-Id: Ic2538ca8b0f7261064e1dfbf3884dd452003c797
|
|
This reverts commit 8c10cb5edc6902a96dc265d36faad0a8382b1a4a.
|
|
Change-Id: I1803cd61e283bcc20d4d59870121e785bc778f4a
|
|
Change-Id: I4d98b6f8b3315b731206700eb65f08463299dda3
|
|
This is not intended to land in master; it's just for testing.
Change-Id: If93cb78dcef903584de7b23f37282852c6d69f35
|
|
For that:
1, create ZipPackageStream::successfullyWritten to be called after
the content is written
2, Do not take mutex when reading from WrapStreamForShare - threads should
be using different streams anyway, but there is only one common mutex. :-/
Change-Id: I90303e49206b19454dd4141e24cc8be29c433045
|
|
Preparation step to parallel deflating.
Rename putNextEntry to setEntry and make it a static function.
We need to call setEntry before starting thread but writeLOC after.
Change-Id: I99a9ffa7dc4c18b47c621847b48bf8469bfb789a
|
|
Change-Id: I504f5c0c9aa9b655ffb53d9820a33677dad6aa08
|
|
Change-Id: Ib8fa3351ba25416a13d6c8bf63bd5fc8e43703c5
|
|
Change-Id: Ibf81dc3cd8a9a9da3dfd6ee6e587a522c4d56a44
|
|
Change-Id: Ib6a69a83f4a378df838b2231b9eba7fba49cd9f1
|
|
Change-Id: Ie3f8ac261a70c9a2b5182fc7d36938d0a46ec045
|
|
We want to use ZipOutputEntry only for deflating (and maybe rename it).
ca13a9377e4a36436e4c82bb33648d0f3b6db6f5 was not a good idea because the
data still needs to be written sequentially anyway. Otherwise it's hard
to get offset positions of individual entries right.
Since this commit rawCloseEntry needs to be called always; also when we
use write&closeEntry because we don't call writeEXT in closeEntry
anymore.
Need to rename and add comments later.
Change-Id: I03bd48ca6e108e6253a77a137746165909ca3c3d
|
|
Since commit 0c5bb3f42d38b3c16015dc0a45defd1b1dad4f92.
Change-Id: I5511f9dc829aca42790f05cb8fb3ebd83b2acad4
|
|
Change-Id: I70640f42db49da274118f7336ff072b1b53ac640
|
|
Change-Id: I05a7700b782d63654406139532a775173295ea9f
|
|
Change-Id: I7c1245eacd92b5869e6dab0389ee0ca3cebd98da
|
|
Change-Id: Ib703cb24619228c081c156c4ed52bf7b878fbedd
|
|
Change-Id: I82fad3f152fe5a563675686accedb583d07d2b13
|
|
Change-Id: I508eb91d7c32e8604525511c33c39471afd3ffbf
|
|
Change-Id: I9521ed7d75cae1a1e90fd73dd7b8bd822ab4521f
|
|
Change-Id: I2005b792c74ad5a5f58c831dcc7caa5134280890
|
|
Change-Id: I87df4e9c1d3f36afccf13aebfd95d1b4f3bfa655
|
|
... as proven by the un-checked dereference in the dispose() method
called from the dtor; simplify based on that and assert in ctor.
Change-Id: Id369b80bd89fa59d99b209796c33acb39cbb10f3
|
|
Change-Id: Id43ec2e7ddb1035d3306170523764bb9a74c03b8
|
|
Change-Id: Icd108215874e830e5c9587f7dbb38a7f11ee27c8
|
|
..and adapt what needs to be changed.
So that, we can kill at least some usages of horrible ContentInfo struct.
Change-Id: I32d41f3b8ce2dfb65f0d1df18a540a3f67dcab6d
|
|
Change-Id: I02a1c3189c6b52f4f539b0eaa8878985cae8b321
|
|
Preparation commit for deflating streams in parallel.
We still use the same single XOutputStream (ByteChucker :-) for
sequential writing but this can now be changed more easily.
Change-Id: Idf26cc2187461660e31ac2e12c4708e761596fb2
|
|
Change-Id: Ic8d2963536b793f0a229901d9e13d8e54842d9b9
|
|
Change-Id: I3ec05ae695428f92b7424295b6f2d3e833c6b162
|
|
Which makes bSetParams always false; remove that too, together with nLevel.
Change-Id: I94a4ec14b2b2c498d749ef72c1b6b118bba37076
|
|
Change-Id: I9b705664c3814aea5c433526ad147a8ab11c2d0f
|
|
SAXException thrown and not caught
Change-Id: I874ffbcd457e102b572f398f4e531f4be30ca3d3
|
|
Change-Id: Ia3a20e0692e658d847e1b825fc97e32ac8a1854b
|
|
And make them static. Probably would be better to kill ContentInfo and
add saveChild as pure virtual into ZipPackageEntry, from which are both
ZipPackageFolder and ZipPackageStream inheriting.
This will also create a bit more sensible call graph when profiling.
Change-Id: If8151332cfa6359e8736c912b7a5633a9162ab36
|
|
Change-Id: I9cc21ba87484560ec0db5424800dd67f80e00540
|
|
Change-Id: Id177c99ba8b91586cf61457ab2ef084af9c7f490
|
|
Change-Id: Iac189fef77c930e35cbd20452027662127047e01
|
|
Change-Id: Iea517d2287bded4a702c73dfdd1f182023425d67
|
|
of application/vnd.oasis.opendocument.text-master-template with
suffic otm
https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html
desktop/icons/oasis-master-document-template.icns is just a copy
of
desktop/icons/oasis-master-document.icns
because I can't draw
Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1
Reviewed-on: https://gerrit.libreoffice.org/11350
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
|
|
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
|
|
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
|
|
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
|