summaryrefslogtreecommitdiff
path: root/vcl/aqua
AgeCommit message (Collapse)Author
2013-07-19remove Application::GetWorkAreaPosSizePixelNoel Grandin
This internal API has always been problematic because we cannot support it under the Linux toolkits, where it has in fact always just returned the size of the screen. Change-Id: I406bcbca8a4161b4261ef46940823bb07c6ad18b Reviewed-on: https://gerrit.libreoffice.org/4976 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-26fdo#31525 Dialogues now have an appropriate background in OSXJason Hulme
The proper background is now set using HIThemeBackground. Change-Id: I71e4287273f7345a18eee4c4fc494eea10f2deb2 Reviewed-on: https://gerrit.libreoffice.org/4287 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-06-23fdo#50506, incomplete indent markers in Mac rulersKhaled Hosny
AquaSalGraphics::drawPolygon() should close the path like other polygon drawing functions. It have been like that for 5 years since 3ca40fb8a2e8c805517b351ebd97c1385cfc92a3, no idea how it was never noticed. Change-Id: Ifba740afa66ad485943c7873d78e007b778cd7b3 Reviewed-on: https://gerrit.libreoffice.org/4448 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-18fdo#63547: Fix wheel/trackpad scrolling on OS X: Single char copy/paste errorTor Lillqvist
Change-Id: I06faa28c25e976d0c9e072858cbe37093a61d38d
2013-06-17The PICT format was formally deprecated already in OS X v10.4Tor Lillqvist
The documentation says: "The PICT format was formally deprecated in OS X v10.4 along with QuickDraw. You should not be explicitly providing or looking for PICT data on the pasteboard." Change-Id: I01cc600286f9a2933a91e19bb611df08944ab997
2013-06-16Resolves: #i122420# Re-activated the internal OpenOfficeToSystemFlavorArmin Le Grand
(cherry picked from commit 11d6690fddcebec67baba285f87e647241ebfd82) Change-Id: I23c71470e587f8ece54aa9f2991634211ff3b4b5
2013-06-16Remove duplicated call to SalData::ensureThreadAutoreleasePool()Tor Lillqvist
Change-Id: I788949fbec9eea3d65b9f063dec416e41ba4815b
2013-06-16WaE: 'UpdateSystemActivity' is deprecated: first deprecated in OS X 10.8Tor Lillqvist
Instead use IOKit as described in http://developer.apple.com/library/mac/#qa/qa1340/_index.html , said to work in 10.6 or later, thus fine for us. Change-Id: I1bfcc2b9bce6cdf5d7274e89f96b1739898fa735
2013-06-16Get rid of SalLayout::GetFallbackFontData()Khaled Hosny
This is only used in conjunction with SalLayout::GetNextGlyphs() in vcl/source/gdi/pdfwriter_impl.cxx to retrieve the fallback font, if any, used to layout the given glyph, but it is a very convoluted way to do a straight forward thing, and hard to adapt for new SalLayout implementations. So now I just pass a fallback fonts array, when requested, in GetNextGlyphs() itself. Change-Id: I24e7931f64867a4fb4e7b728c65faa6198e24aba Reviewed-on: https://gerrit.libreoffice.org/4285 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2013-06-16We only support 10.6 or laterTor Lillqvist
No need to check whether running on 10.5 ("Leopard") or later. Besides, Gestatl() is deprecated in 10.8. Change-Id: I8d20d1e4d208eef8fbe980cbed4d70662cf4bb0d
2013-06-15allow Mac port running with completely inactive AppleRemoteHerbert Dürr
(cherry picked from commit ba037c7d3d5b79c9a5fd96671a86403dcf573128) Change-Id: I3c81b33e62b56defc431f2a3e155718e2f64ba32
2013-06-14Related: #i121534# support native drawing of affinely-transformed images...Herbert Dürr
on Mac (cherry picked from commit 947f7594c18a01eb070fac3b01d48d22f6bfb040) Conflicts: vcl/aqua/source/gdi/salgdi.cxx Change-Id: I7e38ed34caf4f0e841f95ef5c4de52e241d561db
2013-06-14Resolves: #i121534# Reintegrating changes for rotated bitmap supportArmin Le Grand
(cherry picked from commit b2cc0de3fc9adee90787ca760e86869f9255b380) Conflicts: canvas/source/vcl/spritecanvashelper.cxx drawinglayer/Library_drawinglayer.mk drawinglayer/source/processor2d/vclhelperbitmaprender.cxx drawinglayer/source/processor2d/vclhelperbitmaprender.hxx drawinglayer/source/processor2d/vclhelperbitmaptransform.cxx drawinglayer/source/processor2d/vclhelperbitmaptransform.hxx drawinglayer/source/processor2d/vclprocessor2d.cxx officecfg/registry/schema/org/openoffice/Office/Draw.xcs svx/source/svdraw/svdograf.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/aqua/salgdi.h vcl/inc/os2/salgdi.h vcl/inc/salgdi.hxx vcl/inc/unx/pspgraphics.h vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/outdev.hxx vcl/inc/vcl/salbtype.hxx vcl/os2/source/gdi/salgdi2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/salgdilayout.cxx vcl/source/gdi/salmisc.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/generic/gdi/salgdi2.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svpgdi.hxx vcl/unx/headless/svppspgraphics.cxx vcl/unx/headless/svppspgraphics.hxx vcl/win/source/gdi/salbmp.cxx vcl/win/source/gdi/salgdi.cxx vcl/win/source/gdi/salgdi3.cxx vcl/win/source/gdi/salgdi_gdiplus.cxx vcl/win/source/gdi/winlayout.cxx Change-Id: I871d1d107b019758f3913e5eb63bc9bc0ba403fd Do not name unused arguments to prevent compiler warnings. (cherry picked from commit f3118889a0cd941f193e9b6557c0792015d77a34) Change-Id: I482d1f96d695c7bf9912ec464bb39e7fdd14adef Related: #i121534# fix graphite-enabled windows build (cherry picked from commit c90a6ca92b1239d01a2892e15488e4a183a88b1a) Conflicts: vcl/win/source/gdi/winlayout.cxx Change-Id: I95fd41ad6f7187f34ba9474674a471fb4fc65314
2013-06-14s/rtl_copyMemory/memmoveTor Lillqvist
Change-Id: Iead9b7ee98a11ad5a9916d6e176c8938378b817a
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) Conflicts: automation/source/server/statemnt.cxx basic/source/runtime/methods.cxx canvas/source/vcl/devicehelper.cxx canvas/source/vcl/spritedevicehelper.cxx drawinglayer/source/processor2d/vclhelperbufferdevice.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/tools/converters.cxx dtrans/source/win32/dtobj/FmtFilter.cxx editeng/source/items/bulitem.cxx extensions/source/scanner/sanedlg.cxx external/gcc3_specific/makefile.mk filter/source/graphicfilter/eos2met/eos2met.cxx filter/source/graphicfilter/ios2met/ios2met.cxx filter/source/msfilter/msdffimp.cxx fpicker/source/office/iodlg.cxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwe/helper/actiontriggerhelper.cxx sc/source/filter/excel/xiescher.cxx sc/source/ui/docshell/docsh.cxx sc/source/ui/inc/viewfunc.hxx sd/source/ui/app/sdxfer.cxx sd/source/ui/unoidl/unopage.cxx sd/source/ui/view/sdview3.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/linkmgr2.cxx sfx2/source/dialog/filedlghelper.cxx sfx2/source/dialog/intro.cxx sfx2/source/doc/docinf.cxx sot/inc/sot/formats.hxx sot/source/base/formats.cxx svtools/bmpmaker/bmpcore.cxx svtools/bmpmaker/bmpsum.cxx svtools/inc/svtools/transfer.hxx svtools/source/filter/filter.cxx svtools/source/filter/wmf/emfwr.cxx svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/filter/wmf/wmfwr.cxx svtools/source/graphic/graphic.cxx svtools/source/graphic/provider.cxx svtools/source/misc/transfer.cxx svx/inc/svx/xoutbmp.hxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/xoutdev/_xoutbmp.cxx sw/source/core/view/viewsh.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/ww8par.hxx sw/source/ui/dochdl/swdtflvr.cxx toolkit/source/awt/vclxbitmap.cxx toolkit/source/helper/vclunohelper.cxx vcl/Library_vcl.mk vcl/Package_inc.mk vcl/aqua/source/dtrans/DataFlavorMapping.cxx vcl/aqua/source/dtrans/OSXTransferable.cxx vcl/aqua/source/dtrans/PictToBmpFlt.cxx vcl/aqua/source/dtrans/PictToBmpFlt.hxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/pngwrite.hxx vcl/inc/vcl/salbtype.hxx vcl/inc/vcl/wall.hxx vcl/source/gdi/animate.cxx vcl/source/gdi/bitmap2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/bmpconv.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/impimagetree.cxx vcl/source/gdi/metaact.cxx vcl/source/gdi/wall.cxx Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-12WaE: non-constant-expression cannot be narrowed from 'long' to 'CGFloat'Tor Lillqvist
Change-Id: Ifc73c13a9e0695ee43158ea14965c01a2dbe6c59
2013-06-12Resolves: #i121237# Rework/Cleanup of Region code...Armin Le Grand
due to missing complete support for B2DPolygon class (cherry picked from commit cab10eeb7878edf224a004fd7640bd4adf8d3c51) Conflicts: cppcanvas/source/mtfrenderer/implrenderer.cxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/svdraw/svdpntv.cxx vcl/aqua/source/gdi/salgdi.cxx vcl/inc/region.h vcl/inc/unx/gtk/gtkgdi.hxx vcl/inc/vcl/regband.hxx vcl/inc/vcl/region.hxx vcl/os2/source/gdi/salgdi.cxx vcl/source/gdi/bmpacc3.cxx vcl/source/gdi/outdev2.cxx vcl/source/gdi/outmap.cxx vcl/source/gdi/regband.cxx vcl/source/gdi/region.cxx vcl/source/window/window.cxx vcl/unx/generic/gdi/pspgraphics.cxx vcl/unx/headless/svpgdi.cxx vcl/unx/headless/svppspgraphics.cxx vcl/win/source/gdi/salgdi.cxx Change-Id: Iee9a66ff431c3cecb7603e445147b67715de0f7d Remove unused variable to prevent compiler warning (cherry picked from commit 0ac65ccf079e3e22ac23cbe7ae546504c863c31f) Change-Id: Icbcaa9d576a7e560d96debc7360bdbe9090b3fd3 Wrong comparison with bool corrected (cherry picked from commit 612cefdcf6176b6bb847ce899d89af40ef313a90) Change-Id: I1cf5de6734b588f78d8e870ba7b7860634b461ce
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-04Drop "CJK extra leading" crackKhaled Hosny
It have been unused on Mac OS X since since 2008 (commit da4d070d9d2d563f6e1401496957b22b51c81ff9). Change-Id: I4b3eabe71a54021903009310a87319c9caecfd4c
2013-05-24Resolves: #i120481# Add registered transferable flavor...Andre Fischer
to make the Writer accept column headers dragged from database tables. (cherry picked from commit a32aabba57b53f581691f60e5484a6ddf3deb9f2) Change-Id: I63d41c8000cdfc7f0b2ca28e83aaedf2e822e64d
2013-05-22Add mouse rollover effect to menubar on KDE and WindowsIsamu Mogi
- Add mouse rollover handling code to vcl::MenuBarWindow and vcl::Menu - Add member variable of rollover color to StyleSettings and ImplStyleData - Add rollover color definitions for each platforms Change-Id: I9ececd8a7089918ac63c5f2027c0c2f361a9d227 Reviewed-on: https://gerrit.libreoffice.org/3856 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22Revert "fdo#62846 incorrect glyph to Unicode mappings in PDFs"Tor Lillqvist
Breaks the build for Windows: vcl/win/source/gdi/winlayout.cxx(1897) : error C2065: 'nCharPos' : undeclared identifier This reverts commit 0b70e4ea4fcf0adccdfdf4886e5cc45d46479692.
2013-05-22fdo#62846 incorrect glyph to Unicode mappings in PDFsJonathan Schultz
Change-Id: Idebc7f69f95d8f72626373475d8611ea68f1483a
2013-05-14Fix return type of SalYieldMutex::tryToAcquire() to match declarationTor Lillqvist
Change-Id: I3a659b736bede41dd4790e8ec062c81ac3fa03e5
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-10protect SalFrameView's isOpaque() method by an isAlive() checkHerbert Dürr
(cherry picked from commit feb1be19817d10e0ed1a18bada9c917f2a4532db) Change-Id: I9e6ddcf04047bdc905f00b709db84459112122db
2013-05-10Related: #i112873# check native widget's control value type...Herbert Dürr
before converting to SpinbuttonValue or ScrollbarValue Else problems like #i112873# or even crashes can and do happen. (cherry picked from commit d2fde1d34c3c28572b1b6b4780269c15dd4c2bef) Conflicts: vcl/unx/kde/salnativewidgets-kde.cxx Change-Id: I6429205ab41b3194577bc50aa02384c920e11ed2
2013-04-19remove unused component_canUnload functionsMatúš Kukan
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19fdo#31082 cursor visible during impress presentationjorendc
Change-Id: I8983676244d0b996c237cbfc487ed68a535803d1 Reviewed-on: https://gerrit.libreoffice.org/3376 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-15AquaA11yTextAttributesWrapper: trigraphs confuse llvm-g++ 4.2.1Michael Stahl
Change-Id: Ic45a2219c8352625f40619373f5828b981864fef
2013-04-10fix the A11Y text attribute color in AquaHerbert Dürr
Using the SalColor->CGFloat[] helper gets more of VCL into the scope which causes conflicting declarations between css::awt and vcl-classic font attributes so their namespace must be explicitly qualified (cherry picked from commit 5ffbf3126f57d2f6a3dc6874bca2ffbc29b99ffb) Conflicts: vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm Change-Id: Icc7d7125e508188a9a389014bbc2f40e90bc3e34
2013-04-09Related: fdo#62287 make it impossible to use a dead AquaSalFrameCaolán McNamara
Change-Id: Ie56a41e901ea26d5ea946260bdf25a903185be99
2013-04-09Related: #i120237# cache the updated frame reference in AquaSalGraphicsHerbert Dürr
(cherry picked from commit 6e4214e604f8aa86b08a7fbe315a80d7751ffc2d) Change-Id: Id10d49737ba773e95a3198997e25fbfd98708f65
2013-04-09Resolves: #i120237# workaround a crash on OSX...Herbert Dürr
when a VirtualDevice is reused that was created for a now dead window regression was introduced by the changes for #i116758# Patch-By: Herbert Duerr Suggested-By: Herbert Duerr Found-By: Herbert Duerr (cherry picked from commit 6550c7c0595670c10e340e2c7b41be7e128af40a) Change-Id: I1a813f128ad16e6eb840b22fbd14af49b34e11d0
2013-04-08GetGlyphOutlines is unusedTor Lillqvist
Change-Id: I9c5b60b52030110f4b308a9a75010fade2b8d575
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07Drop workarounds for Mac OS X SDKs 10.4 and 10.5Tor Lillqvist
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-07Add comments to some questionable codeTor Lillqvist
Change-Id: I06121b065f360ecfeddb25c9e1487f4849e453a2
2013-04-07Log the ImplLayoutArgs parameter in AdjustLayout().Tor Lillqvist
Change-Id: Ib875973d31f71bab75973f683621118eb9cb927b
2013-04-03fdo#58807 bring Beep() for basic backThomas Arnhold
The functionality was removed by fdo#48549. This partially reverts 0f6101cfef4c2e45d9f1f1b3a61ef94799e4526b 0bdf6fc7c71c4c49e6d6f83d56ac953272ad16d5 85cb9084533605657aca0394afe4516058a8e4ef I changed the behavior to always beep, because only the basic macro function is using Beep(). Looks like the Beep macro function didn't even work correctly before the removal, because the default was to not beep for most platforms. So I set the volume from disable (0) to 50% for XBell(). Change-Id: I663ffb7af75d2fd6d2c1f94073e4412d9744de4a Reviewed-on: https://gerrit.libreoffice.org/3124 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-27Need <vcl/syswin.hxx> for WINDOWSTATE_*Tor Lillqvist
Change-Id: Ic4f729554d92652f38d783bb237448e8469e6faf
2013-03-27No need for two sets of names for the same exttextinput flag bitsTor Lillqvist
Change-Id: Ic5756d75bc86795a7add95694aef6fc9d1f6b9fa
2013-03-27No need for two sets of names for the same frame/window state bitsTor Lillqvist
Bin the SAL_FRAMESTATE_* defines which as the comment said had to be the same as the WINDOWSTATE_*] in syswin.hxx. Change-Id: I42fcd91db543821f007038e558872ba8f69e4a78
2013-03-26(author=pl) fix for transporting OOo types through OSX system clipboardHerbert Dürr
Change-Id: Idc00fbc8ac1adb04c76ecb4b641cfa055f5901b8
2013-03-25vcl: fix typoMichael Stahl
Change-Id: I606be5f7eea9290ac647b0369fcd3c279e9594d0
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann
...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-22blind try to fix MacOs buildingJulien Nabet
Change-Id: Ia6dac95a754c61a8f98120af1a703bd27d3be95c
2013-03-22get rid of two-argument compareToAsciiChristian Lohmaier
As I don't see a point in comparing a mimetype with only a substring, it probably could be a simple compareToAscii, but play it save and use startsWith. Change-Id: Ic33c8089283def615999ddf80cd12f6fe219ed17 Reviewed-on: https://gerrit.libreoffice.org/2907 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>