summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-05-19fix OUString conversionThomas Arnhold
Both were CompareIgnoreCaseToAscii( "starsymbol", 10) which is startsWithIgnoreCaseAscii. Fixes 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 Change-Id: I21e2eb8c578b65d5f0e4181ed64af02ec480463e
2013-05-19fix OUString conversionThomas Arnhold
Both were EqualsIgnoreCaseAscii before. Fixes 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 and 754fee5d1b6adcc04b58a834c84568585afd728a. Thanks to Julien pointing this out :) Change-Id: I1a1983b642ca5b49a76f4e238a9eeb78e8234e9e
2013-05-19enable coretext by default on MacNorbert Thiebaud
use --disable-coretext explicitely to turn it off (and revert to ATSUI) Change-Id: I86685482a08cd62665a94eb6e241b59a217d0b52
2013-05-19Secured some places where PolyPolygons were createdArmin Le Grand
using a all-points count and a all-points array (cherry picked from commit 8ee49906f04106317997e9ca3bb890870816e274) Conflicts: svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx tools/inc/tools/poly.hxx tools/source/generic/poly2.cxx Change-Id: I57f7f08d8dd87c83c30ab2d16ca22b772b2bd834
2013-05-19fdo#39468 Translate German comments - graphicfilterChristian M. Heller
Change-Id: I4e64c2d9ca8d85251a4cde5d3ab68f0956a4f0d1 Reviewed-on: https://gerrit.libreoffice.org/3955 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-19don't check the same twiceThomas Arnhold
Change-Id: Ic97f8066e88d7e05abd20d4978533ab91dd7c1ed
2013-05-19Changed compareTo to startsWithricardobotto
Change-Id: Ia72e220f29c26bdf789bd3f1102b850aafcf525d Reviewed-on: https://gerrit.libreoffice.org/3956 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-05-18sal_Bool to boolTakeshi Abe
Change-Id: I5bc7eba1ba17162916c016218b8e5f43627ce047
2013-05-18Keep the functions localTakeshi Abe
Change-Id: I7d56a72b8c22ce5e4c664b5ccf45aa984b9df88b
2013-05-18Drop unused mpGlyphPositions arrayKhaled Hosny
Change-Id: I858832a41ef140fa9916e05548edf2df6b0af451
2013-05-18Simplify Core Text drawingKhaled Hosny
No need to keep a fonts array around; we don’t modify the glyph array in anyway so we can just query the CTLine directly. Change-Id: I24fd49b8fcc8391de7fe132db60bc81bc9941a81
2013-05-18Remove unused variableKhaled Hosny
isVerticalRun is not used anywhere, remove for now. Change-Id: I29a9650e3031dc1faaacd13f4aa9fefe661edaa7
2013-05-18Fix Core Text GetCaretPositions()Khaled Hosny
The secondary caret is a special caret that is inserted when the text changes its direction e.g. between an RTL and LTR segments, not whatever who wrote this code thought it is. This should now be more or less the same as ATSUI version (for better or worse), though it probably makes no difference anyway since GetCaretPositions(), despite its name, is *not* used for determining caret positions but only for drawing mnemonic underlines, and we don’t draw any menus by ourselves on Mac. While at it, adopt variable naming used in the rest of the code (not the spacing, though. Why any sane person would want no space before opening parenthesis and space after it!). Change-Id: I3e8d1db33c899d0c69f65b57f0a52d10cbed1025
2013-05-17I can see no use anywhere of OverridePageSizeCaolán McNamara
Change-Id: If922b5a21babd120262436b66cd01098341fa92b
2013-05-17ImplDateIncrementYear: handle February 29Eike Rathke
Change-Id: I1120950f1161e51591701368229844f6a5344eeb
2013-05-17obtain days in month from non-normalized date, fdo#63805 relatedEike Rathke
Change-Id: I05cefb96d7d6290ff7e1a89fa88b21da7a6c82a2
2013-05-17Related: fdo#61186 ensure printer settings paper format is not clobberedCaolán McNamara
scenario 1: with attached test document a file->printer settings->properties->paper set a paper size, ideally something not used in the test doc, e.g. Executive b file->print->print c file->printer settings->properties->paper the paper size here should now still be what was selected in a and *not* what happened to be the last page format used in the document which is letter Change-Id: I66be32e2d03381dc2103479f1be46669a342a2ab
2013-05-16assertion removed: allow BitmapEx constructors with empty Mask or AlphaMaskArmin Le Grand
(cherry picked from commit c66db94a90efe954691da4ac6bb1ce82ff99e22f) Change-Id: Ifd4c734fee97d7b8f904a1f32c1367a13dde92b2 assertion corrected: BitmapEx constructors with Mask or AlphaMask... needed more checks (cherry picked from commit 560ab48c4b4453ffdd316d8db5dbda111f08650c) Change-Id: Ib6d41bf3349ee89458e06c632342bff43d7a233c
2013-05-16readio group -> radio groupMiklos Vajna
Change-Id: I3a849fddeb977f4184a69af7fa35c452cf39472a
2013-05-16WaE: unused functionsTor Lillqvist
Change-Id: I45ae680a89848f32e045a0d3252fe6624decbde7
2013-05-16Remove code associated with psprint::CompatMetricOverride serviceNoel Grandin
We don't actually have any implementations of this service. This service was introduced by commit 01cf481111436df2cc3f01d1c57cc4348fc037ef Author: Kurt Zenker <kz@openoffice.org> Date: Wed Jun 20 09:07:44 2007 +0000 INTEGRATION: CWS compmetric (1.77.2); FILE MERGED 2007/05/09 16:27:46 pl 1.77.2.2: #146890# algorithm is needed 2007/05/09 12:13:59 pl 1.77.2.1: #146890# backwards compatibility service for metrics Michael Stahl seems to think it was a Sun-internal hack introduced for a specific customer. Change-Id: I1b27778f827504c2adb0e27e8d7c0f0dedcaf940 Reviewed-on: https://gerrit.libreoffice.org/3824 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-05-16convert proxy page to .uiCaolán McNamara
Change-Id: I61db7bf0def96209a85656128188f85899b72292
2013-05-16Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
Change-Id: Ie154eadd9960b159f5a250cde93c4bd7a8a948cf
2013-05-16sal_Bool to boolTakeshi Abe
Change-Id: I0247e462b648b0dc7fc9ea12723415fbf6dcaff5
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-14Fix return type of SalYieldMutex::tryToAcquire() to match declarationTor Lillqvist
Change-Id: I3a659b736bede41dd4790e8ec062c81ac3fa03e5
2013-05-14vcl: attempt to fix high quality scaling to get aspect ratio right.Michael Meeks
Change-Id: Ic62c6a16c39dd4e4e19bf9a96503ecf6ac50f292
2013-05-14Remove redundant overrideStephan Bergmann
Change-Id: Idda7987a5042b93a02cfa65160a355f040a03543
2013-05-14SolarMutex does not belong into the URE interfaceStephan Bergmann
...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
2013-05-14sal_Int*/sal_uInt* to boolTakeshi Abe
Change-Id: I133445673895e26d6f19a7843f005dc13870f9ca
2013-05-14initialized with plain 0, instead of sal_False/falseTakeshi Abe
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
2013-05-14sal_Bool to boolTakeshi Abe
Change-Id: If2f09533666a6090d4860e79b33a05d12e058940
2013-05-13Remove redundant OSL_ENSUREStephan Bergmann
Change-Id: Icb3c4a4afe80e50d6f39e9a8092eab71afed2e2d
2013-05-13cppcheck: fix arrayIndexThenCheck in vclJulien Nabet
Change-Id: Id7258dd35c131c2c8151bc5e0f97076241e6d10f Reviewed-on: https://gerrit.libreoffice.org/3868 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-05-13Handle fonts without hhea or OS/2 table e.g. Type1Khaled Hosny
Change-Id: Ib7245e9f8b7874087966cb1098e63d1f83acaa6a
2013-05-13Related fdo#35546: Further improve Layout of Photo Album DialogSamuel Mehrbrodt
With suggestions from http://nabble.documentfoundation.org/Streamlining-the-Photo-Album-Creator-td4054397.html * Moved "Album Layout" to the right * Changed buttons to GTK Stock buttons, added VCL equivalents * Improved the wording of the Layout options Change-Id: Icfb24a8678d096bb596bcdeabbf539e9fe1835db Reviewed-on: https://gerrit.libreoffice.org/3852 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-13fdo#46808, Convert util::PathSettings service to new styleNoel Grandin
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-05-13WaE: signed/unsigned mismatchTor Lillqvist
Change-Id: Id655a3f97107fd99bdf3c271fdc1938e22d6317d
2013-05-13Support IMR_QUERYCHARPOSITION in Writer and Calc.Yohei Yukawa
IMR_QUERYCHARPOSITION is one of optional but fundamental request message sent from IMEs to application. This message is used for retrieving the positional information for each character in a composition text especially when the composition text is drawn by the application. This information is critical for IMEs to align suggestion window with the composition text. Change-Id: I53a344a78688060004cc8bcbbf1127f22a468e20 Reviewed-on: https://gerrit.libreoffice.org/3849 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-13TypoKhaled Hosny
Change-Id: I28ea63722f542a79aef904f9be40645baac191e4
2013-05-12Remove old scale convolution methods from Bitmap.Tomaž Vajngerl
Change-Id: I0265a4b4c7b2fda267eb56ef719fd6a53d49d460
2013-05-12Resolves: #i120165# Adapt Mask/Alpha at BitmapEx construction...Armin Le Grand
when size differs from base bitmap Original patch by: pengyunquan Changed patch by: alg Review by: alg(cherry picked from commit 3cfc24693469fb9b682e9c76c28610be1e004799) Change-Id: I6f09cb18206487c1df01147a902ea0f390d65c65
2013-05-12WaE: signed/unsigned comparisonCaolán McNamara
Change-Id: I89d6ce71fc463ee8aca34cb3d39afc9d2304f445
2013-05-12Some loggingKhaled Hosny
Change-Id: I4515d4d6760e22ce4d77fbb3cbce93e3ce097b98
2013-05-12Resolves: #i119450# Added EMR_ALPHABLEND case to EnhWMFReaderArmin Le Grand
to correct visualisations Patch by: Jianyuan Li Review by: alg(cherry picked from commit 1ea8c3a924d518043c5d3d1427cd40cf500c8b21) Conflicts: svtools/source/filter/wmf/enhwmf.cxx Change-Id: If1436cc58ba48048777571e74511f4fc97d2bef3
2013-05-12Resolves: #i122241# Made Push/Pop with PUSH_MAPMODE safe...Armin Le Grand
for mbMap flag and MapMode preservation (cherry picked from commit 664f4d882129c98d502463e08ce601259b85fc8c) Change-Id: Ibe062a01c495ca0e067e9c4399b55fccf65baebe (cherry picked from commit 579a09b817eada81f1ffbfffa38b63bd5ca34165)
2013-05-12WaE: private field 'mpGraphics' is not usedTor Lillqvist
Change-Id: Id10519547445b5e67d3328a82909f85f9de83a80
2013-05-12EMF+ fixesChris Sherlock
A number of fixes have been made to commit 256e42646bedbeb9cba900f962f36ba4b1a1cda3: * Missing redirect in SAL_WARN - only gets picked up when DBG_LEVEL > 1 * Some errant newlines in SAL_INFO * Some missing braces * Missing semi-colon fixed (!) * Changed int to sal_Int32 (causing ambiguity error) * Add dumpWords to the SAL_WARN that ensures that size is not greater than length * Show values when proessing EMF+ comment record (only enabled when DBG_LEVEL > 2) * Missing std::hex in SAL_INFO Change-Id: I059ba24964dd428a56a31d100109cfec938a8a49 Reviewed-on: https://gerrit.libreoffice.org/3861 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-11[coretext] Attempt to fix jumping linesKhaled Hosny
No more jumping and spaces between text runs are not eaten, but text selection is still broken, as well as editing. Change-Id: Ic9d2a6df0add20b63d6edf0ddf84b7d6f8de0983
2013-05-11fdo#64311 - fix pre-processor conditionals & don't bail-out without gnome-vfs.Michael Meeks
Change-Id: Ia7a805c95625b52fc99face000587692de21461e