summaryrefslogtreecommitdiff
path: root/include/vcl
AgeCommit message (Collapse)Author
2013-12-23add a basic GetOptimalSize to progress barCaolán McNamara
Change-Id: I34b98d4c98b3f9af062473f254ffeadb05130471
2013-12-21add an intermediate virtual 'response' to MessageDialogCaolán McNamara
so subclasses can decide to not EndDialog on a given responseid Change-Id: I78a02f121b414c458bece1574f890d952ad5cc23
2013-12-20hidpi: Make many places Hi-DPI aware.Keith Curtis
This also introduces a getter for the mnDPIScaleFactor variable. Change-Id: I02ba6858fb1842f911d62976f4c54afc3bfa337f
2013-12-19Introduce DPI scale factor for Hi-DPI displays.Jan Holesovsky
This is supposed to stay 1 (no scale) for printers and default virtual devices, but should be set accordingly (2 or 3) for windows and virtual devices derived from windows. Various VCL widgets or paint operations should incrementally become aware of this, and changed so that they draw nicely on the Hi-DPI displays. This patch only introduces the behavior for waved lines. The default is currently being set depending on the DPI setting only; could be changed to a more clever way if necessary. Change-Id: I71118f9ab6b64028d1eeee76e860e999d5cd9d19
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-13fdo#70338 : Fixed file corruption issue after save for docx.Sushil Shinde
- File was giving corruption message if saved in LO. - Issue due to video file. - Attached file contain .mov which was not handled properly. - Added mov extension support in graphic filter. Reviewed on: https://gerrit.libreoffice.org/6818 Change-Id: Ia278127ddc4afcd2d5fe04e86ed6201fb28dc04f
2013-12-13Bin unused or duplicate forward class declarationsTor Lillqvist
Change-Id: Ic6fbb345e333d67f967a3ea09a5a90ecef910040
2013-12-13UNOWindowData has been dead since the year 2000 at leastTor Lillqvist
Change-Id: I8d3079f5b508008a4c25a4baa604fc89c81aab33
2013-12-12chmod -xTor Lillqvist
Change-Id: I51d817cf01ba3cd87a2b78e00c96707dbdb78a3b
2013-12-12Add CGContext field to SystemGraphicsData for iOS, tooTor Lillqvist
2013-12-12CosmeticsTor Lillqvist
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11regband.hxx is private to vclTor Lillqvist
Change-Id: If17510b572aa172c8d973f74b881b0d723213eef
2013-12-11octree.hxx is private to vclTor Lillqvist
Change-Id: I3cb377cfa99914fdba00504fb7d955e088bfca76
2013-12-11fontmanager.hxx is private to vclTor Lillqvist
Change-Id: Iec1d1539db0b44d2ddc420cf500585098d4793fc
2013-12-11displayconnectiondispatch.hxx is private to vclTor Lillqvist
Change-Id: I86fab011150be6f151e4fd6a51246f41e86e5833
2013-12-06Remove irrelevant comment.Andrzej Hunt
Change-Id: I4858667f781f4e8142dcd096222e98316cf1b9b6
2013-12-05fdo#39956 Delete JABDavid Ostrovsky
JAB has been discontinued in favor of the native IA2 bridge. Change-Id: I88461f73c620507d3e97b077ea2abdd2229322e1 Reviewed-on: https://gerrit.libreoffice.org/6819 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-12-05Resolves: #i123795# variable names should not confuse vcl...Herbert Dürr
Window and cocoa NSWindow types VCL's Window type and Cocoa's NSWindow type are quite different. Naming variables as if they were the same introduces gratuitous complexity especially when debugging stacks where both types are used. The names of NSView type variables have been adjusted too. (cherry picked from commit 5e6120c21a979c05bc6b9297035e31a47b98b785) Conflicts: vcl/aqua/source/app/vclnsapp.mm vcl/aqua/source/gdi/salgdi.cxx vcl/aqua/source/gdi/salgdiutils.cxx vcl/aqua/source/window/salframe.cxx vcl/aqua/source/window/salobj.cxx vcl/inc/vcl/sysdata.hxx vcl/source/window/syschild.cxx vcl/source/window/window.cxx Change-Id: Ic4143dfddfa9502a529c871ac4ce0bea413b6ce9
2013-12-04oox: render progress bar in main thread for threaded import.Michael Meeks
Experimental only. This avoids ,us deadlocking as the main thread tries to join it's children, and the child threads wait to 'Yield' in the progress bar update. Also it's generally safer to move progress reporting out of the other threads, and to have the mainloop spinning here. Finally this allows people to continue to use the LibreOffice suite while large XLSX spreadsheets are loading. Change-Id: Id41c18f3941d6fc5eea593f7cfcf6a8b7215b3f8
2013-12-04Bin ATSUI codeTor Lillqvist
TDF has been shipping a CoreText-using LO since 4.1 and the sky hasn't fallen. Getting rid of the ATSUI code will make other needed refactoring easier. Change-Id: I494096c3988ea26fa2b336621857d32b64b040f0
2013-12-04No more uses of printer built in fontsKhaled Hosny
Less parsing of AFM files at startup. Change-Id: I62d4c81d6e892f2356df22b53bb35c0f9f7bc344 Reviewed-on: https://gerrit.libreoffice.org/6860 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04Device-specific font substitution is not usedKhaled Hosny
This was only used for printer built in fonts, which was dropped in the previous commit. Change-Id: Iff62786284470ff3873c8d4b0aae0614bf69c7f3 Reviewed-on: https://gerrit.libreoffice.org/6859 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04Don't perform printer font substitutionKhaled Hosny
The so called printer resident fonts is a relic of a bygone era, when life was simple and there was only ASCII and Type1 fonts. It is just broken by design these days, offers nothing useful and can go wrong in many ways. Since 1f3a91cf2ace315fb332c0149808a2433eb9ae71 this "feature" is disabled by default anyway, so scrap this code to make room for some long due cleanup. Change-Id: Id124b2cad1a484099701a885c4d96e6a12af8d9a Reviewed-on: https://gerrit.libreoffice.org/6858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04convert OutputDevice::HasGlyphs from xub_StrLen->sal_Int32Noel Grandin
Change-Id: Ic8f0ae3d263d6cb02e6faa7226db0241681fc45f
2013-12-03longparas: convert GetTextBreak to sal_Int32Caolán McNamara
Change-Id: I693e4c9916e1968c33ebd922829662f6efc27bfb
2013-12-03drop unused argumentCaolán McNamara
Change-Id: Ifc262144b7a4c027529ad2927996a4ebf766a5c2
2013-12-03convert Edit::GetCharPos from xub_StrLen to sal_Int32Noel Grandin
Change-Id: I8fe982d0c0c0a04e2a10cff0f0ae68d51bed590a
2013-12-02Resolves: #i74854# fix buttons in MsgBox with info iconHerbert Dürr
Patch by: hanya.runo@gmail.com Found by: ooo@catcons.co.uk Tested by: hdu@apache.org (cherry picked from commit 02cc651a1b45cbfbdab0aca6b57bff7bdf9e4f2c) Conflicts: basic/source/runtime/methods.cxx vcl/inc/vcl/msgbox.hxx Change-Id: I1656263e189f1a6cfa58436741bfa74ae0e6fffa
2013-11-25Integrate branch of IAccessible2Steve Yin
Change-Id: I3b5936bb92bb258f9e9e76402dd2b55f29aa686a
2013-11-25Integrate branch of IAccessible2Steve Yin
Change-Id: I8c2fea0367ebfa53ce5e109ef48fd661cbfb78b3
2013-11-20sal_Bool to bool in VCL Timer and minor cleanupsRodolfo Ribeiro Gomes
Change-Id: I72e3987af4509239b2e989483b7396512c17e48b Signed-off-by: Rodolfo Ribeiro Gomes <rodolforg@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/6695 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-19uia: merge VCL pieces of IAccessible2 work.Michael Meeks
Original code from: Author: Steve Yin <steve_y@apache.org> Date: Sat Nov 16 23:58:19 2013 +0100 Integrate branch of IAccessible2 With these improvements: Make IAccessible2 an experimental feature, with fallback to Java a11y. Move initial setup of windows into the bridge and clean, remove conditionals Check for presence of AT in the bridge as well to clean. Merge VCL events extensions and their handling. Clean and split WB_GETOBJECT handling out to it's own method. Add component prefix namespacing. Cleanup msaa service info, and implement XComponent to share mxAccessBridge. Add suitable debugging output, remove VCL dependency from UAccCOM causing registration issues. Change-Id: Ib19e38ddca71182018df438df27dcdb555d91402
2013-11-19Gbuildify winaccessibility serviceDavid Ostrovsky
Conflicts: winaccessibility/source/UAccCOM/UAccCOM.def winaccessibility/source/service/AccObjectWinManager.cxx winaccessibility/source/service/checkmt.cxx winaccessibility/source/service/checkmt.hxx Change-Id: Ia66872bee7c70c840c1bd5caa626bf63eac9ef7c
2013-11-18want to be able to support non homogeneous buttons in buttonboxesCaolán McNamara
Change-Id: I7ea4c093d6318a24106542f851cfd58230bc3ea3
2013-11-13Respect svg:font-face-format element.Brennan Vincent
Call libeot to parse font if value "embedded-opentype" is found. Change-Id: I03a072fd4db47d151a3934e959ad17c1e24fcf09 Reviewed-on: https://gerrit.libreoffice.org/6144 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-09fdo#65108 inter-module includes <> include/vclNorbert Thiebaud
Change-Id: I085f87fafef860cea5b4130ad602c64c121995e2
2013-11-07convert vcl/Edit::Impl* methods from xub_StrLen to sal_Int32Noel Grandin
Change-Id: I009dd167d399d817689877a5e7e22dc4ab60ec61
2013-11-01The "source size" of a VCL bitmap is not used for anythingTor Lillqvist
Thorsten thought it might have been used for to the handling of the "Original Size" functionality originally. That seems slightly broken currently in some use cases, and this change doesn't make it any worse. (To see the brokenness, play with resizing an image, reloading the document, and using "Original Size". With the right sequence of actions, LO seems to think that the "original size" is very small (1x1 pixel perhaps).) Change-Id: I4e0852d2b367def5bc40baf95aac273d59731eec
2013-10-29Resolves: rhbz#1021915 force menubar menus to be up/down onlyCaolán McNamara
If a menu won't fit in the desired location the default mode is to place it somewhere it will fit. e.g. above, left, right. For some cases, e.g. menubars, it's desirable to limit the options to above/below and force the menu to scroll if it won't fit Change-Id: I1998a842d25752389ec9032e54673408d1ed6cb5
2013-10-26Seems that <vcl/cvtsvm.hxx> is private to VCL, so move it thereTor Lillqvist
Change-Id: I3fd1ac8aaea2e79efcd9e2d4b12347a387d0d28b
2013-10-26Minor cleanup and comment (un-)translationTor Lillqvist
Drop some ASCII graphics. Fix columnar alignment to match surrounding code. Bin comments that translate field names that are in understandable English (like maSize) to German. Translate one (actually informative) German comment to English. Change-Id: I1e167e3d2f9da4b453140b47c0a8629246e1d932
2013-10-23fixincludeguards.sh: include/vclThomas Arnhold
Change-Id: Iaea4396f60aeade5303bf83a4504ad62f161b83c
2013-10-22ImplCalcSize etc can be constCaolán McNamara
Change-Id: Idd1e33b6da8be9575e74701735f0dbc742849c07
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22vcl: Image: mark newly added constructor "explicit"Michael Stahl
Change-Id: I6d114e932d113f3d126cac3f7e43fade2a740245
2013-10-22Resolves: fdo#38838 remove UniStringCaolán McNamara
hammer silver nails into coffin and bury in concrete Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
2013-10-21Simplify further after the kerning pair changesTor Lillqvist
The ImplKernPairData struct was used now only by the VCL Windows code, and was apparently supposed to be identical to the Win32 KERNINGPAIR struct anyway. GetKernPairs() was called just once with zero and NULL parameters anyway, so it can be simplified. Change-Id: Iaa288868d1e590e0385377abc5b9d9d331d39d97
2013-10-21Removed unused kerning stuffKhaled Hosny
Kerning is just another font feature and is already handled by the layout engine, there is nothing special about it. Non of this seems to be used anywhere, anyway. Change-Id: Ia40c66ec186d11ab46d5d5256b09307a319318c0 Reviewed-on: https://gerrit.libreoffice.org/6259 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>