summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-05-19vcl emf test: test clip region is correct for problematic filesTomaž Vajngerl
Change-Id: I60caf9ebcff417e0f87bae9c6b5d308b5e2f0b37
2014-05-19fdo#72590 scale or map only when EMR_EXTSELECTCLIPRGN actionTomaž Vajngerl
Change-Id: Ie42c855e696922b38760876d4090d572deaa689a
2014-05-19vcl wmf: EnhWMFReader more cleanupTomaž Vajngerl
Change-Id: Ia6bff28bc70214da965c26cd72ea332573576cc1
2014-05-19vcl wmf: EnhWMFReader constructor, ReadHeader, cleanupTomaž Vajngerl
Change-Id: I43b95f3ee7af42b5b1c9110cafbbae325dddb946
2014-05-19vcl wmf: cleanup winmtf.hxxTomaž Vajngerl
Change-Id: I8d8114378e639438f548b7ee77f8b0ef6275051f
2014-05-18vcl: don't build demos for windows at the momentThomas Arnhold
as they are broken, see red tinderboxes Change-Id: I09fed7b4c4dec0bebd9e8f85c6266688cf0d68ea
2014-05-18vcl: missing demo filesChris Sherlock
Change-Id: If269ee28c80210186699a2f2de85db8c914b28f1
2014-05-18vcl: fix svpclientChris Sherlock
I have converted the UNO stuff to the more modern variety (i.e. the stuff that actually works now...), use GraphicFilter to get the bitmap and fixed the string copy typo. Change-Id: I6a3c1af54d222ef70814d2bb581cc2f3c058bb2f
2014-05-18vcl: fix svptestChris Sherlock
Change-Id: Ibaec6e027aa9fd61824ff6b4f1f71b69d217dfdc
2014-05-18vcl: make vcldemo workChris Sherlock
Change-Id: Icef2d988c37fb7b25245ad9f3f3856fa86f76a77
2014-05-18vcl: make svdem called on Application::Abort() instead of exit(1)Chris Sherlock
Change-Id: I7660d4f0081d2d88689f5bcacef7ad2bff083636
2014-05-18WaE: overriding virtual function declaration not marked 'SAL_OVERRIDE'Tor Lillqvist
Change-Id: Id20db2d9dada07fa5090de1fa74f2b2acb684b68
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15Julien Nabet
Change-Id: I38e855966598342eb2352e70e04f7a5e09e54f83
2014-05-17Don't build svdemo for Android and iOS.Andrzej Hunt
f89296db5959cf009668f8aad85cfd860b9252ee adds building of svdemo, this however uses SAL_IMPLEMENT_MAIN from include/sal/main.h -- which specifically can't be built on Android and iOS, hence we shouldn't build svdemo for those platforms. Change-Id: I6ce851ece90837112279c89467326b82f7a2070b Reviewed-on: https://gerrit.libreoffice.org/9391 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-05-17avoid segfault when nBrekPos is past the endLionel Elie Mamane
Change-Id: Ieedc24c0443ba10d8277cd6327b3b735203e5d45
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-17add missing OpenGL type error stringMarkus Mohrhard
Change-Id: I53a7eba4a4f8b1bd61381283b20190cfc05a138a
2014-05-17vcl: fixup svdemoChris Sherlock
Change-Id: Ifb7cc12da349fcbcd1d3dc25b64cd2bf3fd7e819 Reviewed-on: https://gerrit.libreoffice.org/9378 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-05-16fdo#78799 - ignore overlayed monitors with co-incident origin.Michael Meeks
This happens with certain fglrx drivers etc. where 'cloned' is not set but instead both monitors are placed over the top of each other (by XFCE) -> work around that. Change-Id: I9d1846bfae2692681606717f7f5e8408df532d95
2014-05-16coverity#705542 Unintentional integer overflowCaolán McNamara
Change-Id: I87712c71689d45259bc9e4e2f71c92375bc887ea
2014-05-16coverity#1202771 Operands don't affect resultCaolán McNamara
Change-Id: I6a0228594d31cda252f299cad55469ad02c6b353
2014-05-16lsan: mpFontCharMap double-add-ref, never releasedCaolán McNamara
Change-Id: Id511d6d0d975434b4754786204cc0fc91568168e
2014-05-15vcl wmf test: null terminate streamTomaž Vajngerl
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
2014-05-15loplugin:unreffunStephan Bergmann
Change-Id: I10ca928ce30631b531a2549985b54ca071efb79c
2014-05-15wmf: assume WinOrg/ViewportOrg = (0,0) if they are not providedTomaž Vajngerl
Change-Id: Ia8a91a565118d102ff769da8bca65f16b5dfece2
2014-05-15wmf: add SAL_INFOs for interesting things at WMF importTomaž Vajngerl
Change-Id: Ic21709896fe156c7393ece54345b00bceb37587d
2014-05-15wmf: test that non-placeable WMF uses correct sizesTomaž Vajngerl
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
2014-05-15fdo#78603 mixup (Left->Top) in Rectangle constructionTomaž Vajngerl
Change-Id: I7fa566e036508d43b153c7983dc89fc6660718e7
2014-05-15wmf: put WMFReader constructor out of the header fileTomaž Vajngerl
Change-Id: I8bf15c9990745759dd1414296257558adf5a42c0
2014-05-15vcl: problems with WriteWithVersion so remove for nowTomaž Vajngerl
A sw test fails when WriteWithVersion is used istead of direct replacement. Remove it for now. Change-Id: I0425c85d6492061a5d7565e709d5913b79b28a46
2014-05-15vcl: remove macros in metaact.cxx{hxx}Tomaž Vajngerl
Macros to reduce code duplication in metaact.cxx are discuraged as it is not possible to find those classes using "git grep". Lets find a better way to reduce code duplication for those classes (some have already been replaced in this commit). Change-Id: I35c7cd74d6345f37e937754e2d0177b816e0e0fa
2014-05-15vcl WMF: in non-placable images use SETWINDOW{ORG,EXT} for BoundsTomaž Vajngerl
If the image is non-placable the image bounds are bounds of all elements. Special cases are when both SETWINDOWEXT and SETWINDOWORG or SETVIEWPORTORG and SETVIEWPORTEXT are available - in those two cases use those bounds bounds instead. Change-Id: I60e53cf6c47ccfc0f1139a11a866392f3e8e3ed1
2014-05-15vcl WMF: some code clean-upTomaž Vajngerl
Change-Id: I0b8d433d3d3bf03e3f414b2586a718146380ee2a
2014-05-15fdo#70498 work-around scaling in SetClipPathTomaž Vajngerl
Scaling needed to be worked-around again so that the image in the bug report could be drawn correctly. The issue needs some more investigation how to detect what are the exact conditions that scaling is needed. Change-Id: Icd3f57a8ded92c49848feea92dc5a14362718874
2014-05-15WMF: partially revert change as for some documents text is not drawnTomaž Vajngerl
revert part of 00e577ac012405f29003533c145bd29d0edbf6db which causes that the text in some WMF images is not drawn. For example the document in fdo#56886 Change-Id: I401c702f0567b1f142a82a4417abe719687a86f9
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15introduce picking mode in 3D codeMarkus Mohrhard
Change-Id: Ifbe35a9b311bf79fa15bbad6b9fdfc5a472f516f
2014-05-15AOO: #i124823# fix the calculation of leading metrics for CoreTextHerbert Dürr
tml says: As such, for us the sample document from the above AOO issue already gets laid out corectly (according to how the bug reporter says it should be laid out), both in master and 4.2. We already set the external leading field based on what CTFontGetLeading() says. Also, our code around here is a little bit different as we don't have any fFPIY paramter or mfFontScale field, so the change did not apply directly. But I adapted it and applied anyway. Effectively, for us the only change is that the internal leading is now returned as non-zero. No visible change to the sample document's layout. Change-Id: I4f8967723e371fa2b695f726ff2f28c0f6d6ae27
2014-05-15+sal_Int32 ComboBox::GetEntryPos( const void* pData ) constEike Rathke
Change-Id: I9199da366eb70e818e1d85823cd7cf530f70167d
2014-05-14Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part12Julien Nabet
Change-Id: I7c514b7a1d86f52d77672b826b1f08b825fd7aa7
2014-05-14loplugin:passsequencebyrefStephan Bergmann
Change-Id: I3a6656117b2d2aa9d9cdcadc53a804e963f805a7
2014-05-14provide the click event to chart2Markus Mohrhard
Change-Id: I4ee1c51d6602a089483099f5700afcb03f474d5b
2014-05-14Find places where uno::Sequence is passed by value.Noel Grandin
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14cid#705542 Unintentional integer overflowNoel Grandin
Change-Id: Ibd3ef676de7d99ebdd273ee85665ddf9ec0f9c10
2014-05-13Typo: shoud -> shouldJulien Nabet
Change-Id: I44f4fb9682a56af6654e1f7462dc37557d60e735
2014-05-13coverity#1213522 Uncaught exceptionCaolán McNamara
and a gadzillion more refactor to avoid slicing catch and rethrow Change-Id: I5c05d1c151b81ff481eff8cd7544db9838143c71
2014-05-13loplugin:unreffunMatúš Kukan
Change-Id: Ifd544db272652e1e9c45093291ab7f8ae3dd53a0
2014-05-13sal_Int32 ComboBox::InsertEntryWithImage()Eike Rathke
Change-Id: Iaa1ddc931b71fcdf08d571c7e3573a936d378709
2014-05-13vcl: clipping functions moved from window.cxx to clipping.cxxChris Sherlock
Change-Id: Iaaabbe2002b14540bdf4a51269909b44bf5d8880
2014-05-13vcl: move window order and stack functions into stacking.cxxChris Sherlock
Change-Id: I96eabf2507f2d365d589a436a30087adb9738f90