summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2015-12-09tdf#96317: Add API for copy/paste from/to the widgetPranav Kant1-0/+29
Change-Id: Iac869ddb65cbdd2227f96d047d83159ca7819f11 Reviewed-on: https://gerrit.libreoffice.org/20534 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 7d7fad258dfde500c5ee99b5f1691172724383bd)
2015-12-09lokdocview: Set a 'default' path for LOK initPranav Kant1-1/+2
When passed NULL to lok_doc_view_new, use the default path : $libdir/libreoffice/program as LOK install path Change-Id: I1e033c407184b29b1509cfb8c416b514591d67ce Reviewed-on: https://gerrit.libreoffice.org/20476 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 424c09b10d3d6ba6edfed2dcf560d5ce2c950b9d)
2015-12-09tdf#96318: Add searching APIPranav Kant1-0/+38
Clients should now use these APIs to search for text in the widget, rather than executing UNO commands directly on the widget. This allows searching for text in the widget in view-only mode too. Change-Id: I013b6f96e69a634ec33367394d39c0f645a4994d Reviewed-on: https://gerrit.libreoffice.org/20488 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> (cherry picked from commit 0f64cf72ff3b930e306e937bb18f4cbe55a8026a)
2015-12-07last arg of SetOutputSizePixelScaleOffsetAndBuffer no longer usedCaolán McNamara1-4/+2
Reviewed-on: https://gerrit.libreoffice.org/20441 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 2191a11022f657eae5fb21f87dd443ea9228920b) Change-Id: I65e7e82e46c5751617b00a39df47d864b29b6ce1
2015-12-07Resolves: tdf#96224 don't fiddle around with a separate alpha bufferCaolán McNamara1-4/+0
use a format that supports alpha directly now we can unify the android and linux cases as well and drop the BGRX support Change-Id: I3c845913691d8194822423005d308cfa7ef13ec3 Reviewed-on: https://gerrit.libreoffice.org/20440 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit bc45215ec6e5d508415465ad3f619c3dbe23f7c8)
2015-12-07tdf#96246: Make pRenderingArguments nullablePranav Kant1-1/+1
Type gchar* is not nullable by convention. See: https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations#Nullable_parameters Change-Id: Ibfee816a3ef2d29c7376071fb61eda7bf0538efb Reviewed-on: https://gerrit.libreoffice.org/20425 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit 9e9703389e015d0f3520344715df6719559362e4)
2015-12-07improve error message for nonexist. pathDavid Tardon1-0/+7
... which is currently somewhat misleading, because it mentions libmerged.so. Change-Id: I1ab21ce0fe2f94eba1831c2c977d900827f320f1 (cherry picked from commit 764ec21307009a84b2611fed5cb20069caa6d566)
2015-12-07tdf#96243 don't crash if LibO install. wasn't foundDavid Tardon1-0/+2
Change-Id: I538e7238feb711a7d71faf745033264894f688f4 (cherry picked from commit 7f73ea2e3975b305e09467eb7980a3d01cd37de9)
2015-12-07fix powerpc buildNoel Grandin1-0/+3
fallout from the wide char changes <sberg> noelgrandin, _rene_, ah, yeah, that's something that broke with 0b07406f7147b9abbb2095d9e038b13293cb8b10 <IZBot> core - Use C++11 char16_t for sal_Unicode - http://cgit.freedesktop.org/libreoffice/core/commit/?id=0b07406f7147b9abbb2095d9e038b13293cb8b10 Change-Id: If4303bd1d8577612250b1857b809b022d13759e4 (cherry picked from commit b2d145193e34b57ca991063fc7c3cf8200339dea)
2015-12-02valgrind: scary warning that the cairo font options were deleted before useCaolán McNamara1-3/+0
Change-Id: I58427aafb30eca64a67bcf7dd9a7738d8da3e085 (cherry picked from commit 3520b0f82aa2146958fbc1bda1cf7e9b5beb9a5d)
2015-11-28introduce SvNumberFormatter::GetFormatStringForExcel()Eike Rathke1-1/+11
Taking implementation from sc/source/filter/excel/xestyle.cxx GetNumberFormatCode(), slightly modified to ensure valid conversion and force en-US locale data. Also don't unnecessarily convert if format is for system locale and system locale is en-US. Change-Id: I9223eaa655132b4106a35c94cb0005559d7575b1 (cherry picked from commit 2011b5412c4daa47bc5624a2efc996960e19c2a9)
2015-11-28introduce SvNumberFormatter::FillKeywordTableForExcel()Eike Rathke1-0/+4
... to conflate the places that do this on their own. Change-Id: Idde2173780e0515ad982b4be46fc4df23a7577ad (cherry picked from commit b55548043e969a6aa4c211217cfc3fb85d50d2da)
2015-11-27mutex used in post-main dtorCaolán McNamara1-0/+2
Change-Id: Ia4f4def1fd58d82a7c994114e45a36227269671c (cherry picked from commit fa7708def7601bd07cb7642dc444993d7f8f8587)
2015-11-26vcl: reduce pointless timer / scheduler / idle includes.Michael Meeks5-20/+7
Change-Id: I8bf7f8d6ba1a54f2969e055956fadc52ff6c8673
2015-11-26vcl: fix event processing to idle - for JUnit tests.Michael Meeks1-2/+4
Change-Id: Ibeb1f6627815fc34c6e166357c88e076b75f6abb Reviewed-on: https://gerrit.libreoffice.org/20197 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-26vcl: cleanup scheduler debug name usage.Michael Meeks1-0/+1
Change-Id: I94975d220452ca91cbbd9db5e7895fa0b3a88e4a
2015-11-26vcl: move private impl. detail of Scheduler out of global header.Michael Meeks1-13/+2
Change-Id: Iee56131a15f9554c263406356456f65694515719
2015-11-26vcl: don't treat non-ready timers as idle handlers.Michael Meeks3-4/+13
Fixes the busy-loop - 100% CPU all the time. Change-Id: I965f62d6a6f2ec1830c0897dd97179a739c70afc Reviewed-on: https://gerrit.libreoffice.org/20186 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-26vcl: improve scheduler debugging information.Michael Meeks1-0/+1
Change-Id: I6f7d7d3b5b027097417a15804a42aaaab4a03158 Reviewed-on: https://gerrit.libreoffice.org/20185 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25store custom icon set info into ODFMarkus Mohrhard1-0/+3
Change-Id: I1581b28237d2b9f9c22d3f3b0436dc281508aafa Reviewed-on: https://gerrit.libreoffice.org/20118 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25loplugin:unusedfields in include/toolkit,include/toolsNoel Grandin3-29/+0
Change-Id: I22966b66b1b8e4dff2e565de456f21a668f33f28
2015-11-25loplugin:unusedfields in include/svxNoel Grandin15-64/+6
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
2015-11-25loplugin:unusedfields in include/sot,include/svl,include/svtoolsNoel Grandin4-6/+0
Change-Id: Ia2dd13c2c48b127ab85311a668fa1f37608d360a
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin6-35/+6
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-25loplugin:unusedfields in include/package,include/registryNoel Grandin2-4/+0
Change-Id: Iadba30885ba3bab7aaee58e298a9dc6b22c8b977
2015-11-24vcl: re-introduce idle handling.Michael Meeks1-1/+1
The idea here is that we should process 'idle' events - like re-paint after we have processed any OS messages - such as key/mouse input, window re-size events etc. The previous approach wasn't achieving this - it was processing a single idle event each time around the main-loop iteration; urk. Lubos implemented something -like- this, the vestiges of it need cleaning up and removing in: 06d731428ef6cf93c7333e8228bfb6088853b52f but it was disabled (most likely because it broke gtk in tdf#91727, which was itself broken by using silly values for timeouts in the scheduler (now fixed)) Tested on Windows, gtk, kde4, unx-generic. Change-Id: I7756bca874779c00f72b372cacb7745d0f189f66 Reviewed-on: https://gerrit.libreoffice.org/20158 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24Resolves: tdf#95962 incorrect scanline strideCaolán McNamara1-6/+3
we were reusing the stride of the surface we were cloning, but the new surface has a different underlying size. remove the custom stride argument and just change our stride calculation to use the same scheme that cairo and GDI uses, which remove another platform/drawing-system variable Change-Id: I257dac9757b121642e9ccfde7db0911edc9f3fb1 Reviewed-on: https://gerrit.libreoffice.org/20149 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-24vcl: reduce maximum timeout to some sensible range.Michael Meeks1-1/+1
This fixes a bug with glib, where prepare of a source with such a large (max uint64) causes precision & wrap-around problems. Add assert to avoid recurrence. Also add a helpful user-visible source name in debug mode. Change-Id: I9e1eb41af9cc49f8bff88e07f04d4bc4d1877376 Reviewed-on: https://gerrit.libreoffice.org/20152 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24vcl: remove UpdateStack concept.Michael Meeks1-1/+0
Change-Id: I6d9b7de7c57349bfb9c75a35e63bcf1eac172fd2 Reviewed-on: https://gerrit.libreoffice.org/20143 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24Vcl Toolbox: Move Impl and local defines out of header filesSamuel Mehrbrodt1-86/+0
This reverts part of 1e82a3e6e3ea8b5cda520551faed81bc74c848c1 Change-Id: I683a855727c4a52d3ac6a7c5a1f104a6cf5b9ee2
2015-11-24loplugin:unusedfields in include/oox/Noel Grandin6-53/+1
Change-Id: Ie7a53f3ecc05d1d4f6f71aa8165315f9155c60dc
2015-11-24loplugin:unusedfields in include/framework/Noel Grandin2-45/+0
Change-Id: I04603a3b78b0611fcca4974b00e2da06045308d1
2015-11-24loplugin:unusedfields in include/filter/Noel Grandin3-20/+0
Change-Id: Id79bc51ba273746873a1381243b2c1d32711bbb4
2015-11-24loplugin:unusedfields in include/comphelper,include/editengNoel Grandin9-42/+5
Change-Id: I619c2cf1765df97159fc52ee84e0e9e8d16a22fe
2015-11-24add SAL_WARN_UNUSED to css::uno::WeakReference and SvCompatWeakRefNoel Grandin2-2/+2
Change-Id: Idb784d398ed22f2291f1beaffb82f68642d68bcd
2015-11-24Replace return boolean from DoYield with pleasant enumeration.Michael Meeks1-1/+3
Change-Id: I1b1f885b4d7916a18dfb2457a8e9af9a5b4ae6e4 Reviewed-on: https://gerrit.libreoffice.org/20138 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-24Vcl: Cleanup ToolboxSamuel Mehrbrodt1-43/+91
* Move defines to header file * Limit line length to 120 chars * Some other smaller cleanups (unused defines etc) Change-Id: I14b52579f9b5bae4ea0bc1df434cc3d29c223d4e Reviewed-on: https://gerrit.libreoffice.org/20133 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-23crashtesting: fdo30583-1 hits the Clone ugly tree all the way downCaolán McNamara2-0/+8
Change-Id: I091c3a61a28275e090975016908e3b25c7506fba
2015-11-23crashtesting: ooo55544-2.sxi, etc. missing ClonesCaolán McNamara2-0/+8
Change-Id: I3e1b8f78289500bad8013e858f9abf03ab14914a
2015-11-23updae getTileModeCaolán McNamara1-1/+1
Change-Id: Ic8d67f08d40f475020c0534570fe3bea07aa431b
2015-11-23VirtualDevices either match another device depth, or are 1 bitCaolán McNamara2-18/+26
cairo can therefore always render to a svp virtual device with need for a fallback Change-Id: I5d03ae541820389e26f7448444444be009fb28a4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara2-7/+11
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-23vcl: simplify Image internalsTomaž Vajngerl1-0/+4
Image could be of 2 types - BITMAP or IMAGE, where BITMAP used to store the content in a Bitmap and IMAGE in a ImplImageData, which contained a BitmapEx. This was refactored with this commit to always store the content in a BitmapEx and there are no distinct image types anymore. This greatly simplfies the code. Drawing of the image in case of type IMAGE was done in the class ImplImageBmp which also modified the image according to DrawImageFlags (for example to create a "disabled" image). This was moved to ImplImage and the bitmap manipulation code was moved to BitmapProcessor (done in previous commits). Change-Id: Iec9f63a7c05618c457d8465f1ec60ed4f16bd579
2015-11-23vcl: add colorizeImage to BitmapProcessorTomaž Vajngerl1-0/+1
Change-Id: Ic90368e83d7f9a187eb8404d8aaec4380ff5bcb1
2015-11-23vcl: Bitmap processor to create a disabled imageTomaž Vajngerl1-0/+1
Change-Id: Iba5d86988736fa28329e1ba2783dfb15e37815a8
2015-11-23remove unused constructor parameterTomaž Vajngerl1-3/+2
Change-Id: Ia2d1a8d7d43ceac36b6bce87f5a733d6bce3bd6f
2015-11-23Update-check, expand to allow reporting of H/W and OS versions.Michael Meeks1-0/+5
Off by default. Expand config options to show the user agent used. Re-use this to show more useful info in Help->About too. Change-Id: I1044116ef9beeb341a537c0f4451dca54e198f67 Reviewed-on: https://gerrit.libreoffice.org/20098 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-23loplugin:sallogareasStephan Bergmann1-0/+1
Change-Id: Ibffaa2e3924877b22abbcd17aaa8fac01607f639
2015-11-23LOK: add Document::getTileMode()Miklos Vajna3-0/+20
So that clients can know if they get old-style RGBA or new-style ARGB output in paintTile(). Change-Id: Icfde4b3259444b3524e64478ccd976664a3fe0ed
2015-11-23Fix buildMaxim Monastirsky1-0/+1
Change-Id: I310d10793613bae05d7b89f6cb4773a1c2d5556b