summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2017-03-19Fix typo to have "NEEDS_QUALITY_PARAMETER"Julien Nabet
Change-Id: I7621c171ede3bbfc49fc2298f793473f10f21175 Reviewed-on: https://gerrit.libreoffice.org/35432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19This can move out of the header as wellKhaled Hosny
Change-Id: I995ad7fb040e11363a70ee2b5cd88e068f06771c
2017-03-19TypoKhaled Hosny
Change-Id: Icdcf060b8e6d5ecbb08a1915261687026d674c0b
2017-03-19cppcheck: alloca (vcl/printerjob)Julien Nabet
Remove it since useless Add an assert to pBuffer Remove an useless variable Change-Id: Icac2bc6582ca6f2bebe628e9454b9212206b269d Reviewed-on: https://gerrit.libreoffice.org/35408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-19Fix typos + some German translationsAndrea Gelmini
Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253 Reviewed-on: https://gerrit.libreoffice.org/35406 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19Remove GetVerticalOrientation declaration from header.Mark Hung
Change-Id: Icedd82e7a0092c18e1ff5b4ad4be22f2a30c33e2 Reviewed-on: https://gerrit.libreoffice.org/35384 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-19vcl: have AcquaSalInstance use osl::Condition instead of oslConditionChris Sherlock
Condition is deprecated already, but there is no need for the AcquaSalInstance class to use the low-level C-API, when in fact there is a C++ fascade that calls on this via the C++ abstraction, osl::Condition. This will make it much easier to switch to using std::condition_variable in the future. Change-Id: Ic495c4120a59480bf50a8c5b73608874fc4228ea Reviewed-on: https://gerrit.libreoffice.org/35392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-03-18use SAL_NO_FONT_LOOPUP for consistent resultsCaolán McNamara
Change-Id: Ibdc0df66325b49fb24c8e59c86beb2875b0e200e
2017-03-18noone cares about the return valueCaolán McNamara
Change-Id: I1f5e0ea481c39b92726812722d3f6f782f3cec9d
2017-03-18rework jpeg error handling to throw rather than setjmp to avoid leaksCaolán McNamara
Change-Id: I00e5041db7dcfb71d646438f7fda538d90ce6223 Reviewed-on: https://gerrit.libreoffice.org/35414 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-18Use char instead of unsigned charJulien Nabet
to avoid some reinterpret_cast + prepare to replace some alloca calls + replace C cast by using plain char assignment Change-Id: Iff65b9a324ca1cc936c9effd2b3b71596d6e9b0f Reviewed-on: https://gerrit.libreoffice.org/35398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-18ofz: floating point exception in values close to zeroCaolán McNamara
Change-Id: Idd8c7d4dd42c63f4f4a67ba61b9f3760ec04f2f1
2017-03-18ofz#891 an exception is an acceptable outcomeCaolán McNamara
Change-Id: Ia5939b81f6bc2d44a4966266a91ed14d4fafad2f
2017-03-18vcl: change opengl gpWatchdogExt from oslCondition to osl::ConditionChris Sherlock
Condition is deprecated already, but there is no need for the us to use the low-level C-API, when in fact there is a C++ fascade that calls on this via the C++ abstraction, osl::Condition. This will make it much easier to switch to using std::condition_variable in the future. Change-Id: I0d7fda22ad00a79767b68cd06f00decfc0555371 Reviewed-on: https://gerrit.libreoffice.org/35390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-03-18vcl: make GtkData use osl::Condition instead of oslConditionChris Sherlock
Condition is deprecated already, but there is no need for the GtkData class to use the low-level C-API, when in fact there is a C++ fascade that calls on this via the C++ abstraction, osl::Condition. This will make it much easier to switch to using std::condition_variable in the future. Change-Id: Iddd2cad0e1137c0b458ebe25b506d463847a6dc0 Reviewed-on: https://gerrit.libreoffice.org/35389 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-03-18vcl: have SolarThreadExecutor use osl::Condition, not oslConditionChris Sherlock
Condition is deprecated already, but there is no need for the SolarThreadExecutor class to use the low-level C-API, when in fact there is a C++ fascade that calls on this via the C++ abstraction, osl::Condition. This will make it much easier to switch to using std::condition_variable in the future. Change-Id: I81e8530d42fe1451c4ca5bce998b13de0576bc4e Reviewed-on: https://gerrit.libreoffice.org/35386 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2017-03-18Move the check to start, clearer this wayKhaled Hosny
Change-Id: I6c7626161d7f8ab8ee2a8a87eea470338861d80e
2017-03-17ofz#889 readjust jpeg importCaolán McNamara
Change-Id: I4e25db429b8dee9265ab2ad468c21cc34a50df6c Reviewed-on: https://gerrit.libreoffice.org/35325 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-17tweak libjpeg to honor JPEGMEM and set it in file format testersCaolán McNamara
Change-Id: I6660ccc68d3c82bf6118c2106a9293fd37e801ae Reviewed-on: https://gerrit.libreoffice.org/35283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-17tdf#106295 fix vertical orientation for fullwidth colon and semicolon.Mark Hung
Chinese users would expect fullwidth colon (U+FF1A) and semi-colon (U+FF1B) to be Tu( transformed upright ) instead of Tr ( Transformed rotated ) in vertical writing mode. Make them exceptions of UTR50 when language is zh. Change-Id: If7d01199973d73136a621bf2f32377da76ccb22a Reviewed-on: https://gerrit.libreoffice.org/34980 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-17vcl: OutputDevice::GetGlyphBoundRects()'s nIndex and nBase is always the sameMiklos Vajna
So keeping just nIndex is enough. Change-Id: I5d3a0e6b4a6ce1305a56cf50e7ff181a098f6412 Reviewed-on: https://gerrit.libreoffice.org/35336 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-03-17tdf#106458 Color widget should have same number of rowsMaxim Monastirsky
... across different platforms/themes, so the standard palette will always fit without a scrollbar. For this, we must not hardcode some arbitrary fixed size, but calculate the size based on the number of rows of the standard palette. Change-Id: Ica1d615b43b350aece6b2c29a73337439dd05ac6
2017-03-16ofz#882: test available len against max possible compressionCaolán McNamara
Change-Id: I19867b74d860f379eae17916cc7f6415e6d20074
2017-03-16ofz: reject invalid fraction negative nYNumCaolán McNamara
Change-Id: I9f86dba2408bdd1e2678c3165386cc99fd94a5a7
2017-03-16Keep menubar hidden after Unity registrar activatedMaxim Monastirsky
... if it was hidden before. Otherwise it becomes out of sync with MenuBar::mbDisplayable. Change-Id: I03c551ee70131a50fa694b7009c24833ac391990
2017-03-16This conditional isn't neededMaxim Monastirsky
Change-Id: If54f3d815605b07fae505b52e3b532af608e9b7e
2017-03-16gtk3: Keep menubar hidden after customizationMaxim Monastirsky
... if it was hidden before. Otherwise it becomes out of sync with MenuBar::mbDisplayable. Change-Id: I4957f5cef916abfa54add2901b330463364d3dba
2017-03-16ofz#880 timeout loading svmCaolán McNamara
Change-Id: I8b19a66a7cb8d4eda3774ddc32a43e8653e1c6a0
2017-03-16fix tinderbox build, ends up using gen backend and icons are missingCaolán McNamara
put the icons back, and replace the bare 1 etc which hid the usage Change-Id: Id90de7b29a29141b448107adb4028407ed203e2a
2017-03-16KDE fix various clang plugin complainsJan-Marek Glogowski
Fixes clang plugin reported problems in the KDE and KDE4 backend. Change-Id: I0280beae9dd6f33ee59bdbe89cd38222f33fdc68
2017-03-16Fix typosAndrea Gelmini
Change-Id: I1488e2147fa0cd4a821eb5bfe172a58a4e396ace Reviewed-on: https://gerrit.libreoffice.org/35224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-03-16remove unused defines from HRC files in vclNoel Grandin
Change-Id: Ic61bce94fe784d345b8c66ee2132dcc78f199808 Reviewed-on: https://gerrit.libreoffice.org/35220 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-16avoid slow conversion between scanline format and dest formatCaolán McNamara
when we can, e.g. for the svp/gtk3 case Change-Id: I74f7b01004423f27ed2f142b325c2c74b4de290b Reviewed-on: https://gerrit.libreoffice.org/35229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-16can set the out_color_space after jpeg_start_decompressCaolán McNamara
Change-Id: I8432f5147a3e73f0a4eafefceab7fbf715f58acf Reviewed-on: https://gerrit.libreoffice.org/35228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-16reinstate utl::TempFile changeCaolán McNamara
This reverts commit 5411d99c0a7345e9c68ad55debcb20eecdc0b36a.
2017-03-16tdf#103235 Notebookbar: use persona themeSzymon Kłos
Change-Id: I043f184ccd21c782c16d4ae1bc1c939b5e31acc2 Reviewed-on: https://gerrit.libreoffice.org/35234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-15ofz: infinite loopCaolán McNamara
Change-Id: I00eb3c1d97d27755c8b34676d2fa73a72fc8f9d7
2017-03-15tdf#105040 Notebookbar: added shortcuts toolboxSzymon Kłos
In the tabbed notebookbar the shortcuts toolbox is introduced. It is placed before tab labels, after the menu button. Customization is possible, buttons are loaded from the newly created toolbar "Notebookbar shortcuts". NotebookbarTabControl was moved to the sfx module. Change-Id: Ifa4a1688c6e92c2f03bd386608e3e9d1c28069d4 Reviewed-on: https://gerrit.libreoffice.org/35194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-15rollback utl::TempFile changeCaolán McNamara
2017-03-15Actually output the error messageStephan Bergmann
Change-Id: I09e23a4828f5c251687b35fa0b7c70c1018422c0
2017-03-15Improve test failure outputStephan Bergmann
Change-Id: I1678e746b8b37750b488b3328ad915d7ae50caef
2017-03-15take pre-calculated size from vector::sizeCaolán McNamara
Change-Id: I5a7f2c4c67de48f3a34f311f69de3bfdb94423d5
2017-03-15add ppt fuzzerCaolán McNamara
Change-Id: I283d24fc2d7420273c3769fcd4ea3938da85afb4
2017-03-15utl::TempFile can give a stream directly without bringing ucb into itCaolán McNamara
Change-Id: Ic6eb0934fdb63492d831b9dad07e93c968ee9bf2
2017-03-15add SAL_DISABLE_PRINTERLIST to fftesterCaolán McNamara
Change-Id: I55fd87a33e8a5dce2af9003ec6f2fa216ed1b72c
2017-03-14return early on clearly broken xbmsCaolán McNamara
Change-Id: Ic94a75aacb6bcd47d594a12e0df999a58b04b061
2017-03-14add a separate fuzzer for OLE2David Tardon
Change-Id: I518bd8dc6fd50e96746d6d415190551c6cbfdea5 Reviewed-on: https://gerrit.libreoffice.org/35178 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-14Clean up uses of integer types in vcl/textengStephan Bergmann
Change-Id: Ic70f57784e69cd82910d834c43a65bce4c00caea
2017-03-14Use int to count to threeStephan Bergmann
Change-Id: Ic44c13fb32f4563a776c18a49c408d2a021e55af
2017-03-14tdf#105454: Stop ignoring font kerning settingKhaled Hosny
Make sure the default is for kerning to be enable, and honor the setting to disable it. This also updates the expectations for chart2_xshape tests for file that had kerning disabled and was previously ignored. Change-Id: Icf6bb75e71cae43868fba323ca3c61e4a3e81523 Reviewed-on: https://gerrit.libreoffice.org/34169 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>