summaryrefslogtreecommitdiff
path: root/sdext
AgeCommit message (Collapse)AuthorFilesLines
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin6-10/+10
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-08Fix typoTakeshi Abe1-1/+1
Change-Id: Iec20cfa243e336d36e12e13d36564eacc9db1435
2015-07-08Fix typosAndrea Gelmini1-1/+1
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-08sdext: the PDF library, not the treeMichael Stahl1-1/+1
Change-Id: Ic867140ace06337f6121d7c4576eb9850577d7cb
2015-07-07Improve sdext/ README.Michael Meeks1-0/+19
Change-Id: I64a5313f39efbe091a5c7164ca29535e4b45b00c
2015-07-07loplugin:unusedmethods sdextNoel Grandin17-51/+0
Change-Id: I9119e612a92d05f587a1f1e19ca21b2f95102891 Reviewed-on: https://gerrit.libreoffice.org/16809 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-04Fix typosAndrea Gelmini2-2/+2
Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1 Reviewed-on: https://gerrit.libreoffice.org/16710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-07-01Work around const-ness issues in the GooString APIStephan Bergmann1-4/+8
cf. <https://gerrit.libreoffice.org/#/c/16357> "Revert the removal of cast to build on old poppler" Change-Id: I75184cec64b4f32e0cf9adedeb84c8591be4fc73
2015-06-22Fix typosAndrea Gelmini1-1/+1
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-19Fix check for broken standard libraryStephan Bergmann2-3/+4
The compiler's __GNUC__ etc. need not match the libstdc++ version used (esp. when using Clang as compiler), and libstdc++'s __GLIBCXX__ macro doesn't inrease monotonically with version numbers, so resort to a configure check. Change-Id: I06de6b68324169863f6f5c31ae5d855e8b04cd6b
2015-06-19Catch inadvertent uses of OUString(sal_Unicode) ctorStephan Bergmann1-3/+3
...with numeric values that are not meant to be characters. Inspired by <https://gerrit.libreoffice.org/#/c/16339/> "OUString: add constructor from single Unicode code point" and ecaf1cb3861c1b519a1495487fc796884cf37b92 "seems to be what was meant." Found e46e8d19458fd64ff20b1013e5eeabd07e62379c "Shall this produce a string representation of a number?" and f2a0e4032734d6be635f14ade3dea499c29ec6c2 "Don't truncate a UTF-32 code point to a UTF-16 code unit." (LIBO_INTERNAL_ONLY mostly because it uses a C++11 delegating ctor for simplicity, but also because it requires mild modifications to client code, see additional changes in this commit and some other recent commits.) Change-Id: I8a156f01d1b772c6052d7afaa088ae13ed234e2b
2015-06-19once more unto the breech dear fellowsNoel Grandin2-3/+2
workaround GCC4.8 issue Change-Id: Iea4d10a02a114ce94e0219e8b89acf48db5411d0
2015-06-19workaround older compilers that do not have std::list::erase(const_iterator)Noel Grandin2-4/+15
Change-Id: Iaa1164904febd8e97d4962e4004ec4719a1f4a42
2015-06-19fix older compilerNoel Grandin1-27/+29
after my commit e0f3e7c007e9eeced888b491ec2698acba4bc588 "tdf#42374 some small optimisations for opening this PDF file" Change-Id: I908770ca618581ffe26ebb2205b804d1abcae5a7
2015-06-19add commentNoel Grandin1-0/+1
Change-Id: I336e6ea9b08edaa7e9718f8af9c112b983eeaa58
2015-06-19fix older compilerNoel Grandin1-34/+35
after my commit e0f3e7c007e9eeced888b491ec2698acba4bc588 "tdf#42374 some small optimisations for opening this PDF file" Change-Id: Ib9dc0aaf3ad2afca272160a934049d89bbd54175
2015-06-19tdf#42374 - read PDF in larger chunksNoel Grandin1-27/+67
Optimise the reading of the imported PDF file by reading in larger chunks. Eliminates roughly 10% of the time on my box Change-Id: I48fff325076850a4ccd32ad85a3092621a923034
2015-06-19tdf#42374, improve perf by fixing bug in pdfi::HashedStyle::hashCode()Noel Grandin1-1/+1
which was rendering it largely useless for hashing purposes Change-Id: Ie94457ea0a6e53fd9ceed9461656e2d3b0840d58
2015-06-19tdf#42374 some small optimisations for opening this PDF fileNoel Grandin2-43/+33
makes it about 10% faster Change-Id: I145faed5aa7c312372f08cc651df5afcf10c70ab
2015-06-19the ElementTreeVisitable interface is doing nothing usefulNoel Grandin3-26/+7
Change-Id: I89e8fb90de8aadce89a8f5e353a923c972e1569f
2015-06-18Fix typosAndrea Gelmini1-1/+1
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin2-6/+3
Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
2015-06-13Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifaa52b49b717d893846fc1e7ae4ac50735f824ac Reviewed-on: https://gerrit.libreoffice.org/16260 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann4-7/+7
Change-Id: I8bd47784ae34ecd57f43b1e680ab863a6272c32f
2015-06-02loplugin:loopvartoosmallNoel Grandin2-4/+4
Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2-3/+3
Change-Id: Ie77fdb078c9c8f8ed01dfd6c5dd583c6535803b2
2015-06-02loplugin:loopvartoosmallNoel Grandin3-3/+3
Change-Id: I809e408c994222cfa95ba8f56e4db7bd96be7080
2015-05-26tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks1-3/+3
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe
2015-04-29tdf#63054: pdf_string_parser incorrectly handles escapesMike1-2/+2
This patch fixes the escapes handling by avoiding boost built-in functions that skip whitespaces behind the scenes. Change-Id: I9607ecd9e2e052aadcba69cf30ec25c981743c49 Reviewed-on: https://gerrit.libreoffice.org/15562 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-27More loplugin:simplifyboolStephan Bergmann2-5/+5
Change-Id: I4ea5c7e9f807dfd5242c8e87a87d9ad604ebd035
2015-04-24loplugin:simplifyboolStephan Bergmann2-3/+3
Change-Id: If5f4042642364424f8d7e1e13b6285503df1d381
2015-04-23loplugin:staticmethodsNoel Grandin4-18/+7
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-21No more need for PartialWeakComponentImplHelper hereStephan Bergmann1-10/+1
...since 70626249cd247d9acdad417b8eaf252bae22c059 "API CHANGE a11y unpublishing and add/removeListener rename." Change-Id: I89d81326d97712abcac94c3436a13905954c55cf
2015-04-21Make cpp/poppler-version.h header optionalTomáš Chvátal1-0/+8
Older popler (SLE11) does not have this header yet. With the code simply if the header not found define version to oldest possible working candidate and also raise the .pc check to the same. Change-Id: I039c879879188fe2eb90cd119b80a1d6354a6a9c Reviewed-on: https://gerrit.libreoffice.org/15339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin60-720/+720
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-07loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: Id3d6b50e07ea0850af18ab9bdadfffe0e4602aab
2015-04-07loplugin:staticmethodsNoel Grandin5-16/+16
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
2015-04-02loplugin:staticmethodsNoel Grandin5-21/+21
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-02loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I3ae555fd9f0dc3c11ea301ee1cb2c799fbec820d
2015-03-30loplugin:staticfunctionNoel Grandin26-74/+69
Change-Id: I4b7b04031fa74956379c5a1b21abe10b0717f3e9
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann2-3/+3
Change-Id: I525293c6baaa2ab13db8f3205782a0d206d9d7ca
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann3-3/+3
Change-Id: I207f23b084013f9ce2fcf087a7f335bd8a194f50
2015-03-18fix higher debug levelsCaolán McNamara1-1/+1
Change-Id: I10556946c4bd6c60adcd9f662462b0f4b73781a2
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann9-19/+135
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann1-2/+4
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-12add accel. to switch monitors to pres. consoleDavid Tardon1-1/+4
Change-Id: I86c458f2c0a1c6a6baa6461a44b68c5f48ea55b0
2015-03-09V801: Decreased performanceCaolán McNamara2-13/+13
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
2015-03-09V801: Decreased performanceCaolán McNamara3-19/+19
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-02cppcheck: duplicate inherited memberNoel Grandin5-8/+3
Change-Id: Iee20ca4523739eb082ea1fa8c1145891c0caed29
2015-03-01Typo: embeded->embeddedJulien Nabet1-1/+1
Change-Id: I27d0cdac158a674274647fe0081a8d8c046fe0ea