summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2016-10-14silence warningsCaolán McNamara
Change-Id: I80abf5092c7d4e7b8cf75e4b79ffdb9a5e0c7580
2016-10-14Related: tdf#101699 gtk3: get correct arrow widthCaolán McNamara
Change-Id: If02c598306ec6f19cf83958c4a176cafa67076dc
2016-10-14Related: tdf#101699 gtk3: get correct combobox and listbox arrowsCaolán McNamara
Change-Id: Ib2322bfda09b05925c74d93a530b9ed9fac73032
2016-10-14coverity#1373665 Useless callCaolán McNamara
it was always this way, so might as well lock that in now. Odd that it warns now, maybe it warned before and it got ignored and now the ResId changes are in it appears as a new warning Change-Id: I81c04aa4e28b280641cbfaddbb3b776928a7ad6d
2016-10-14-Werror=maybe-uninitializedStephan Bergmann
Change-Id: If03aefa1582e41955b9656b4bae88731735a4660
2016-10-13Add IsExperimental method to CommandInfoProviderSamuel Mehrbrodt
Change-Id: I827ae6db25a1df9f25b58ca122e39dc9cb4b0652
2016-10-13Resolves: tdf#103051 pdf export assumed 1bit bitmaps were N1BitMsbPalCaolán McNamara
Change-Id: I2268d8b74f187d07f161f42cc9530be3ebbc86d0
2016-10-13Resolves: tdf#102999 get_selected_printer is transfer noneCaolán McNamara
gtk_print_unix_dialog_get_settings returns a new GObject we have to unref, but gtk_print_unix_dialog_get_selected_printer doesn't add a ref so dies along with its parent dialog. Change-Id: Ie5f8ecd83f5cc2c13e4a8c3ba292ffa381f9bdf5
2016-10-13Resolves: tdf#103166 if the menu is empty, add a disabled placeholderCaolán McNamara
i.e. <No Selection Possible> otherwise it looks like a bug of some kind. Change-Id: Ib35146698c31fd3f3d51915ea460eab1dde39d26
2016-10-13move pseudo bitmap resources to an ilstCaolán McNamara
Change-Id: Ib649db6620c83a42e96ca45e4a5018fdff74286b
2016-10-12Related: tdf#92776 set parent style of notebook to toplevel window styleCaolán McNamara
Change-Id: Iec16b2617c82c363a540f967f66c514b5b2b104b
2016-10-12drop unused argumentCaolán McNamara
Change-Id: I54a86f98289877abc435e2c7397ff5fd6c516545
2016-10-12GetAutoHelpId logically can only return an empty string nowCaolán McNamara
Change-Id: Ie7368f083a5aa6bcfb249375fbae1f4cd92e02ba
2016-10-12DockingWindow ResId code needed only by removed ToolBar src supportCaolán McNamara
Change-Id: Ib0dff4b569ac1b95a59b618258036ecf3d2c4e73
2016-10-12no toolboxes are loaded from .src anymoreCaolán McNamara
Change-Id: Ia2eabf157845b9b6b00b745332a558ffdd1e0ec7
2016-10-11tdf#103103: Many Arabic fonts dont render correctlyKhaled Hosny
Revert the remaining bits of 1da9b4c24e806ad2447b4a656e2a7192755bb6a8, the rest was reverted in 6323e6628668849438e6e19ba7ad2c6598263261. This break many assumptions made by GenericSalLayout::ApplyDXArray(). Change-Id: I25fbafe06032ab1e8860df6c5932a7157575aa32
2016-10-11Revert "Hack to make Arabic subtending marks work"Khaled Hosny
This reverts commit 983e03a7d81c0ab24782b28ab899452fa6fd99ac. Fixes part of tdf#103103. Change-Id: Ib9026044b19b353e8156bc039a4a84fdeb1ec415
2016-10-11vcl: put in anonymous namespaceTomaž Vajngerl
Change-Id: Ib24a8dd044003f8d667d97e989fbbf640d4eacdf
2016-10-11loplugin:constantfunctionNoel Grandin
update the plugin similarly to commit 3ee3b36ae0c064fb5c81268d8d63444309d1b970 Author: Stephan Bergmann <sbergman@redhat.com> Date: Fri Oct 7 12:05:49 2016 +0200 loplugin:staticmethods: Don't be fooled by decls starting with macros Change-Id: I98ac3216d5acf89a49a26feb089ae2fd34e6e510 Reviewed-on: https://gerrit.libreoffice.org/29665 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-11Height and Width seem to be swapped hereMaxim Monastirsky
when height takes left-right borders, and width top-bottom. And also - Why do we calculate the borders twice - as the call to CalcWindowSize does this again? Change-Id: I63a66939bd526a225ccac9bdd6262feba48da5c2
2016-10-11Merge SystemWindow and FloatingWindow setPosSizeOnContainee methodsMaxim Monastirsky
This reverts commit 95942b16f44bc6eac57ad7b579b4158565446884 ("Resolves: tdf#90481 fix cropped buttons"), and changes the code in a way that seems to not crop buttons anymore. Tested under gtk3 with File > Digital Signatures... and the toolbar underline dropdown. Change-Id: Idcb680c82f594f630b1dd7c76c42912e6b5a093a
2016-10-11The key event is not needed for the non-ToolBox caseMaxim Monastirsky
Change-Id: I8d593665f1c2bcafa583eca311cd86ab618dec3d
2016-10-10no numericfield, spinfield or spinbutton loaded from .src nowCaolán McNamara
Change-Id: I90e4390d1fadcbb18036861dc9b9d39fa8a73551
2016-10-10Expand some silly macrosStephan Bergmann
Change-Id: Idf7b9285c655aef40e2618b44c35248ccd13084d Reviewed-on: https://gerrit.libreoffice.org/29663 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-10tdf#89307: Removed SvRef::operator T*()Jacek Fraczek
Conditional statements are using SvRef::Is() method. Changed static_cast<T*>(svRef<T>) occurances to svRef.get(). Added operator == and != to SvRef. SbxObject::Execute is using SbxVariableRef internally. SbxObject::FindQualified is using SbxVariableRef internally. Change-Id: I45b553e35d8fca9bf71163e6eefc60802a066395 Reviewed-on: https://gerrit.libreoffice.org/29621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-10loplugin:unnecessaryoverride in vclNoel Grandin
Change-Id: I8a49316dccdc142389d2f7121ff7c8cbbad55638 Reviewed-on: https://gerrit.libreoffice.org/29655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-09no ComboBoxes loaded from .src anymoreCaolán McNamara
Change-Id: Ic497dddfe326e9cc06e71c39284b2848d17ae0c8
2016-10-09tdf#86472 Fix breeze borders and set breeze_dark fallbackYousuf Philips
Change-Id: Id7c536fee42e9f8c69dd058aa683baf5be58def6 Reviewed-on: https://gerrit.libreoffice.org/29620 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-09loplugin:badstaticsStephan Bergmann
...so make aPostedEventList a member of the global ImpSVAppData singleton Change-Id: Ie7ac49b56107eb393514d9ba1d91ee66296f60a0 Reviewed-on: https://gerrit.libreoffice.org/29612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-09No need for bitfield bool micro-optimization in these structsStephan Bergmann
...of which there is just one global instance each Change-Id: I0aae0c4b517223b4fa89b7c2fea10f26eb43d14f Reviewed-on: https://gerrit.libreoffice.org/29611 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-09Add title-based tearoff to DockingManager, take 2Maxim Monastirsky
Change-Id: I2582756fd1fb6e823daa7336a7fb1ce5d752f83e
2016-10-09mbGripAtBottom is always trueMaxim Monastirsky
Change-Id: I76db4c796933996cdf9d1782e9a6fb19ee7860a7
2016-10-09Just get the last window posMaxim Monastirsky
Change-Id: I1cf0964d11e9045366697b75c2606df6f62aa438
2016-10-09Revert "Add title-based tearoff to DockingManager"Maxim Monastirsky
Careful reading of the code reveals that WB_POPUP is what adds the tearoff title, not WB_OWNERDRAWDECORATION, so we can use that instead of introducing yet another title implementation into ImplPopupFloatWin. This reverts commit 6128a8311d37514c49c2fe3ba80f850a51de37d6. Change-Id: I681686c9a0bd79d80f43ce213caeef77dcbab6b8
2016-10-08no radiobuttons or checkboxes loaded from src files anymoreCaolán McNamara
Change-Id: Ie10ebcf56a6145c8edeb903bed1beb0cf5cf8a7a
2016-10-07no CheckBox loaded from src files anymoreCaolán McNamara
Change-Id: I3211707d38c15a6fd3edcbe70fc3cee9b65dd6f6
2016-10-07no SpinFields are directly loaded from .src files nowCaolán McNamara
Change-Id: Ie9280d465e86b5f5b87ffd7b2944f3ed789724d1
2016-10-07loplugin:staticmethods: vclStephan Bergmann
Change-Id: I9a563100400375cd185729282b3e4f1ff3a44151
2016-10-07tdf#39256: Fix "Orientation treated as Escapement"Mike Kaganski
This fixes #5 issue of abovementioned bugzilla entry. As LO font doesn't support individual rotation of characters, now we simply ignore lfOrientation (as MS Word does). Change-Id: I36fd05f8e27f768ea690527360434df29e1d843f Reviewed-on: https://gerrit.libreoffice.org/28684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-10-06CPPUNIT_ASSERT[_DOUBLES]_EQUALStephan Bergmann
Change-Id: I417cea926abcc511e74a090ee90a851c138ac0c0
2016-10-06I can't see any evidence of any remaining magenta mask using image resourcesCaolán McNamara
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
2016-10-06drop unused RscImageListFlags::MaskColorCaolán McNamara
Change-Id: Idb34feecb710c1415cf8863717809927665cd31b
2016-10-06ImageList just reads and discards the MaskColor, so drop itCaolán McNamara
Change-Id: I243e739fea28e3f38b91534182cc54c2aa660f0e
2016-10-06vcl: allow runtime disable/enable of pdf writer compressionMiklos Vajna
Replace the DEBUG_DISABLE_PDFCOMPRESSION ifdef with a VCL_DEBUG_DISABLE_PDFCOMPRESSION environment variable. The less build configurations we have, the better, I guess. Also remove the COMPRESS_PAGES define, which was exactly defined when DEBUG_DISABLE_PDFCOMPRESSION wasn't. Change-Id: Iaa5530317432e59dee0d3ea2cb606661e8283835
2016-10-06no MetricFields are loaded from .src files nowCaolán McNamara
Change-Id: I4b30cbc7bc6a3a3a635c3889d43b7fa6513209f5
2016-10-06tdf#102852 Fixed BreakDlgArmin Le Grand
Needed to ensure correct return value in dialog and that it repaints Change-Id: I029d10b6699629b2f2f8651f6d96ceceba7a3d8c Reviewed-on: https://gerrit.libreoffice.org/29401 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-10-06drop now unused BitmapItem rsc fieldsCaolán McNamara
Change-Id: I02ed667a3573b3374fce069be0d32dbd91292e49
2016-10-06Don't assume anything about wchar_t in portable codeStephan Bergmann
Change-Id: Ic036f374604729ed7f10ae62a8b458173a5bc22c
2016-10-05tdf#102922: Password fields should use u2022 as masking character instead of *Ilya Ponamarev
Change-Id: If4f8077de953a0756967d180b8e463eb5fd7dcec Reviewed-on: https://gerrit.libreoffice.org/29532 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-05InfoFont/Color is not used by vcl nowCaolán McNamara
anywhere anyone wanted to Get[Font|Color] give it the Label ones instead. why this is exposed through uno is bewildering, stubbed those out for the moment Change-Id: I7a31d027287436be1c075c76a370047efd010bf3