summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/XToolkitExperimental.idl
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26tdf#153519 use new IdleTask::waitUntilIdleDispatchedNoel Grandin1-0/+3
to wait until the Idle inside sw/ has done populating the navigator tree. Which required (*) moving the code down from test/ to vcl/ to avoid circular dependency issues. (*) adding a call SolarMutexGuard before Application::Yield inside IdleTask::waitUntilIdleDispatched (*) exposing the function to python by adding a method to the XToolkitExperimental UNO API Change-Id: Iee418f7a0beb1f5b53addb7fe25823d61720eb3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158495 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-06-13Drop obsolete preprocessor directives from UNOIDL filesStephan Bergmann1-7/+0
...which were used by ildc, which is gone since a8485d558fab53291e2530fd9a1be581c1628deb "[API CHANGE] Remove deprecated idlc and regmerge from the SDK", and have always been ignored as legacy by its unoidl-write replacement. This change has been carried out (making use of GNU sed extensions) with > for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl which apparently happened to do the work. (The final two files are not UNOIDL source files.) Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-11-12make it possible to find out what fonts are actually really usedLuboš Luňák1-2/+2
A document specifies which font each text is supposed to use, but we still need to map that to a real available font, which includes also font fallback in case the font selected doesn't cover all glyphs. This commit adds API to track this font mapping, first StartTrackingFontMappingUse() will make VCL record this information, and then FinishTrackingFontMappingUse() will stop and return all the information, as a listing saying that a requested font got mapped to a list of fonts and the number of times this took place. This can be useful to find out what actually gets used for a specific document, or compare how changing fonts available affects a specific document. Change-Id: I6426ecef354166bef337b1dc9b9007fda148d5c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123051 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2017-06-15comphelper: add a profiling APILászló Németh1-0/+22
Using the guard style ProfileZone aZone("foo"). Test macro: Sub TimeLog toolkit = createUnoService("com.sun.star.awt.Toolkit") toolkit.startRecording() toolkit.processEventsToIdle() toolkit.stopRecording() a = toolkit.getRecordingAndClear() s = "" For Each i in a s = s + i + ", " Next i Print s End Sub Change-Id: Iceaf9143d0387c87e7936dc67eecbbf71ee8d74a Reviewed-on: https://gerrit.libreoffice.org/38786 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-06-10Add a pause() method to XToolkitExperimentalTor Lillqvist1-1/+4
Pauses the main thread of LibreOffice for the requested amount of time. Change-Id: I5978a3a9b9561623c698526d8c29695d71df3d03
2016-05-31tdf#100092: Deterministic scheduling to prevent unpredictable behavior.Jan Holesovsky1-6/+10
Low priority idles can fire more or less randomly, and consequently two consequent runs of LibreOffice differ in the amount of the idles that have been performed during an operation. This commit adds a possibility to turn on a 'deterministic mode' where two subsequent runs of LibreOffice trigger about the same amount of events when they perform the same set of operations. Change-Id: I92566ef4eee20e7d604cfd48f01c4df30c77e653
2016-01-26Add API to get the number of OpenGL buffer swaps, including through UNOTor Lillqvist1-0/+5
Change-Id: Iff29ac615ad4b6516790b1cbbde0215a3cd0efe6
2015-11-27No need to extend css.awt.XToolkitExperimentalStephan Bergmann1-4/+0
Change-Id: Idbaca99c9376ade11cd36526c0f667562a2d9c53
2015-11-23Update-check, expand to allow reporting of H/W and OS versions.Michael Meeks1-0/+3
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>
2014-12-18Kill createScreenCompatibleDeviceUsingBufferTor Lillqvist1-11/+0
A certain 3rd party uses processEventsToIdle() from XToolkitExperimental, and their code is not C++, so it should be OK to change the ABI of XToolkitExperimental, says mmeeks. Change-Id: I4ba641ad98c17ae42a2ae2eff389fd3354618597
2014-12-17Tell people not to use createScreenCompatibleDeviceUsingBuffer()Tor Lillqvist1-13/+1
I would have liked to kill this whole interface but it turns out that despite it being not published it is already being used for essential functionality by 3rd parties. Oh well, that is of course exactly what to expect with something explicitly marked as "experimental". Change-Id: I38716a23580313d955ae6bf09dfbcac519a7fb4e
2014-11-05idle: allow processing pending handlers remotely.Michael Meeks1-0/+5
Change-Id: Idb835f1fb04a3f9ca2430781cabeb785285ccf7b
2013-06-04*api: fix loads of badly documented parametersMichael Stahl1-1/+1
Change-Id: Ifcfdcc1aee5f45745ab17d83f69c2cf293b58196
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-1/+1
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin1-2/+2
Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..Noel Grandin1-0/+50
..because we want to use the name for the new merged interface for the Toolkit service. Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3