summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2014-02-20prefer a Scoped[Read|Write}AccessMarkus Mohrhard
Change-Id: I8ddad720685f3cbcc330b9d1f61fcf833a3d2472
2014-02-20more scope reductionMarkus Mohrhard
Change-Id: I5eb438ae70330990a58bc103406a0c434e53ca3f
2014-02-20more scope reductionMarkus Mohrhard
Change-Id: Ibfe4b4b5f9033aa0f29cf761b3a674e8c3c5f3d2
2014-02-20reduce scopeMarkus Mohrhard
Change-Id: I7e296a0983a1d4e3a7501333cfd3cdf7c561383c
2014-02-20more stylistic cleanupMarkus Mohrhard
Change-Id: Ia7aea86d0bf787b851a5ecbae5b697436e1192e5
2014-02-20reduce scope for more variablesMarkus Mohrhard
Change-Id: I4b92f186bd315ced47973ea142d7e3ad8defa328
2014-02-20make these variables const, they are just loop boundariesMarkus Mohrhard
Change-Id: I66c67c424c43515043e4119ea6bfad0d7f31ccb1
2014-02-20reduce scope for more variablesMarkus Mohrhard
many more to go Change-Id: Ia941638ef31138af132b142f0e960f7959b18dda
2014-02-20reduce scope of many variablesMarkus Mohrhard
Change-Id: Id401a0414f650fb2ee14d895d261f9e38cd104b0
2014-02-20make the assignment a bit more obviousMarkus Mohrhard
We prefer readable code. Change-Id: I8212c0a40354b2fd1d6e56c1223c3b558104f505
2014-02-20remove explicit memory managementMarkus Mohrhard
Change-Id: Id9b02dcb65d21bcdef398188d739a56b11f63d21
2014-02-19Related: fdo#74242 hook up a selection and caret change for multiline editsCaolán McNamara
a) split the textengine selection changed broadcast into a text selection changed and text caret change event b) handle both in existing places that handled the text selection event c) listen for them in VclMultiLineEdit and translate to VCLEVENT_EDIT_SELECTIONCHANGED VCLEVENT_EDIT_CARETCHANGED events d) profit from the VCLEVENT_EDIT_SELECTIONCHANGED and VCLEVENT_EDIT_CARETCHANGED handling in accessibility/source/standard/vclxaccessibleedit.cxx for VCLXAccessibleEdits Change-Id: I09187e76ae4eb189ee9469e388374154087faf80
2014-02-19loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I0c444f2e81e2e0ac9d6969f674ec3da013427cee
2014-02-19coverity#738862 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ib970ef372e7754db890b5a4cd9c9b422a129ba02
2014-02-19unotools: sal_Bool -> boolStephan Bergmann
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
2014-02-19Related: fdo#74242 send selection change before caret changeCaolán McNamara
because that's what I see gtk does Change-Id: Ifa20f4d84fd31ea6fcc640589b72efd00c9665fd
2014-02-19Fix minimal VCL menu item height with iconsJan-Marek Glogowski
Don't reset the calculated minimal menu item height to the icon height, if the minimal height is already larger then the icon height. Change-Id: Ifcd6c750352c4d3f754a693df7254a4654a8afe6
2014-02-18vcl: CUPS printing: notify user if spooling failedMichael Stahl
CUPS does not accept jobs for a printer that has been stopped; pop up an error message in this case instead of silently ignoring failure. Change-Id: I1bc9120c9c9f438e350c964ed7ef29924a72ce78
2014-02-18fdo#41524: CUPS printing: use "collate" option when PDF is availableMichael Stahl
Assume that the CUPS printer is able to handle collating by itself, don't send multiple print jobs (except if user clicks on "Create single print jobs for collated output" of course...). To enable collating with PDF based printers, add the "collate" option; legacy PS based printers still get the weird stuff read from the PPD (not sure what the risks of changing that are). Change-Id: Ia12dc69f9083bba94f2ed633ecbd153aac7e40ab
2014-02-18vcl: convert some printfs to SAL_INFOMichael Stahl
Change-Id: I0c0ec5242160333a47a4a459c7be5c0a25079f44
2014-02-18Translated German comments - find-german-comments cleanLuc Castermans
Change-Id: I2521bb87dbd0d4f896b99865c741cc4900b4d31c Reviewed-on: https://gerrit.libreoffice.org/8113 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18corrected translation, thanks to Philipp WeissenbacherLuc Castermans
Change-Id: I7b2f9c6ed95d07c2004ece64f5ff24b9a8a003d4 Reviewed-on: https://gerrit.libreoffice.org/8112 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18fix SIGBUS on mac due to Font Attribute not always availableNorbert Thiebaud
Change-Id: I95c574e6386cacc473cad232100a224ff6a08dbb
2014-02-18coverity#738933 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ice55badc2d02d2a49feafbff6ffe10c34b41fa52
2014-02-18coverity#738937 Uninitialized scalar fieldCaolán McNamara
Change-Id: I53ef199b8d20fdf6432bd9f8b2603a75bd54a093
2014-02-18coverity#738944 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ic4cc2e8e8b1ff21bc4e1d74cf2fddc0c0d85eafd
2014-02-18Translated German comments - find-german-commentsLuc Castermans
Change-Id: I716d135de71605ac79c04e575ef946f303196097 Reviewed-on: https://gerrit.libreoffice.org/8023 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18Fix iOS fallout from cda903f83831341f44833b94e7d38e598f5a7198Tor Lillqvist
Change-Id: I48e418ff7d5a8bbf64bc6072b4ad2ef30cb24625
2014-02-18fdo#72042: Fix for "Font names are not localized (Mac OS X)"Tomofumi Yagi
This patch will bring the behavior of 4.0 to master(4.3). This patch has 1 changes on implementation of vcl/quartz/ctfonts.cxx. We will use CTFontDescriptorCopyLocalizedAttribute() API,If possible. So DevFontFromCTFontDescriptor() can return the localized fontname. Change-Id: I7eb5bda4fa69540fb32de573190a30bcb2c01cd2 Reviewed-on: https://gerrit.libreoffice.org/8071 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-17Clipboard content dumping tool to README.Jan Holesovsky
Found it by chance, don't want to lose the link ;-) Change-Id: Ie3a1c253a287a8e3ff6f82e75176e22305a03b39
2014-02-17Related: fdo#74284 try AccessibleRole::PANEL for VclBoxes under windowsCaolán McNamara
Change-Id: Ic8c743c2646c8610b3d90425024413b40dfdab13
2014-02-17CVE-2014-1947: add testcaseCaolán McNamara
Change-Id: I71b1fa7cfb536e49801752ae8ba48428918b6a36
2014-02-17fix debug=2 buildCaolán McNamara
Change-Id: Id7c6db5c6cbefef427d9c2cc4bd210811b5a7991
2014-02-17Fix fallout from 772c3a202481506b92c496948cfdc0f23ab94b2cTor Lillqvist
Change-Id: I0019ca081086544142b39aac5e6f00d5f1822ccb
2014-02-14coverity#738935 Unitialized scalar fieldNorbert Thiebaud
Change-Id: I88d921cc3a670a6cfd2f8a10e5c866a4874eb484
2014-02-14coverity#738936 Unitialized scalar fieldNorbert Thiebaud
Change-Id: Ic35d33e99db9b8449f18fb0a1a8cb6c1003c5931
2014-02-14fix another crash on iostsahi glik
2014-02-14fix duplicated symbols on ios salgraphicstsahi glik
2014-02-14cid#441406 dereference after nullNoel Grandin
someone already tried to fix this, but the check was too late Change-Id: I63a8140009bc3f52ac924972a32c22603cf01971
2014-02-14fdo#74931 Prevent UpdateSettings from dereferencing null pointerChris Sherlock
When calling on GtkSalFrame::GetGraphics(), if all graphics are in use then it will return NULL. We don't currently check for this, but we still try to use the graphics object even if none are available. I have added a warning when this occurs and just return immediately, as there's nothing more we can do. Change-Id: I24dfbb6f37f41527078a60a7577cb3b20de3fcca Reviewed-on: https://gerrit.libreoffice.org/8031 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-13fast scale doubling of biptmap mess up mac retina but is needed otherwiseNorbert Thiebaud
Change-Id: I3d4a4bbbd85719fbf1422d9397727dd73bd09f37
2014-02-13initialize mnRefCount members directly in ctorsCaolán McNamara
Change-Id: I7b4ff643eb256519bc47d27f6e0a6a60aaf8768e
2014-02-13extend signatures to make some coverity rework easierCaolán McNamara
Change-Id: I670eaa51aa95bf29f51bc6542eae2f562987d5a4
2014-02-13enable spin-size for NumericField tooDavid Tardon
Change-Id: I77660572947f7a863982be7742cbcb1c784379ed
2014-02-13fdo#74468 fix timing of slide transitionsDavid Tardon
Regression since commit 16428c9600964a4945cf6fd0d938dea047d1248b. Change-Id: Id274c21e08d10d2e727f3b5a3fd852cd297e4637
2014-02-13fix homogeneous grid spanning row/col handlingCaolán McNamara
Change-Id: I26ca29f2b02a1587cfe94d5342809f51a207a194
2014-02-12coverity#1130358 Deference after null checkNorbert Thiebaud
Change-Id: I3ce41c86f57ed65fd87d403e50df47e3343a5a41
2014-02-12vcl: convert some WNT only SvStream::operator>>Michael Stahl
Change-Id: I1752bbc6f079feb6dc3ac3b94d2e434a4201824e
2014-02-12remove SvStream::operator>> methodsNoel Grandin
in favour of ReadXXX methods. Change-Id: Ic2c0a7b6b92ff4c236ae99b39d77f3d935b301e3 Reviewed-on: https://gerrit.libreoffice.org/7915 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-12more SvStream:operator>> conversionNoel Grandin
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>