summaryrefslogtreecommitdiff
path: root/toolkit
AgeCommit message (Collapse)Author
2012-06-22use generic names rather than specific algorithm names when scalingLuboš Luňák
The Lanczos scaling is of very good quality, but it's rather slow, which can be very noticeable with large images, so it's not a very good default for everything. And in general, it's not good to refer to a specific algorithm when all one usually wants is fast/default/best. Some of these changes are a bit of a guess between default/best, but the general logic is that best should be used only for images that won't be large or where the possible waiting does not matter. Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-18WaE: unused parametersTor Lillqvist
Change-Id: I8dc4dadd3e26578500b555cdf850c3fb95bc1401
2012-06-18touch depends on sal, toolkit depends on touchTor Lillqvist
Change-Id: I77e108391b48a9dc50491f8e76de8f277f92dfc6
2012-06-18Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()Tor Lillqvist
Pass on to VirtualDevice where used to set the MapMode of the device appropriately. Adapt DocumentLoader, use to scale the page rendering to exactly fit the virtual device. Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-15callcatcher: chainsaw out some unnecessary codeCaolán McNamara
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-13reduce use of UniString ctor from null-terminated unicodearrayCaolán McNamara
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-12Implement XToolkit2::createScreenCompatibleDeviceUsingBuffer for AndroidTor Lillqvist
Change-Id: I8dd16850a35cd2de7260dcbe9a8aa7afae2294be
2012-06-12nuke dead codeTakeshi Abe
Change-Id: If8b6b4a3d9222726ae562e5b685710d86b5fe332
2012-06-09Remove superfluous empty lines on topThomas Arnhold
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-05Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.Jan Holesovsky
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of BMP_SCALE_INTERPOLATE. Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-05-30i#87757: do not create empty Rectangle bounding box for glyphs:Michael Stahl
Enforce a minimum width and height of 1 in GlyphMetric::SetSize(), preventing X11SalGraphics::GetGlyphBoundRect() from returning a Rectangle that has one side set as RECT_EMPTY. This problem has surfaced due to the change of the status bar in ce14342c4292628a641a72d4f63d9c048e030c6a, causing the AccessibleStatusBarItem to fail in getCharacterBounds() because the text of the control, "Words: 0", now contains a space, for which an empty Rectangle bounding box is created, which results in a wrong return value from getCharacterBounds(): LOG> Character bounds outside component LOG> Character rect: 43, -566, 0, 0 LOG> Component rect: 91, 2, 71, 18 It turns out that the following test was disabled due to this problem, so re-enable it now: toolkit.AccessibleFixedText::com::sun::star::accessibility::XAccessibleText
2012-05-29targeted string re-workNorbert Thiebaud
Change-Id: I6ce76c22118586b213161a0e307a53b22b318004
2012-05-28targeted string re-workNorbert Thiebaud
Change-Id: If929937d8b1243032983b8b379f067a47d2717a4
2012-05-21removed unused temporary rtl::OUStringTakeshi Abe
Change-Id: I81e04b1b71b8ee5a903185b6857e8cf91b67eed1
2012-05-08work around spurious signed overflow warningsMichael Stahl
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC): /com/sun/star/uno/Sequence.hxx:178:10: error: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Werror=strict-overflow]
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02!= instead of < for comparison with end iteratorJulien Nabet
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-24save the next guy from getting caught with msvc template requirementsCaolán McNamara
2012-04-24inline unused ctor needed by MSVC at compile timeCaolán McNamara
2012-04-24Remove unused method UnoControlBase::UnoControlBase()Xavi Escriche Galindo
2012-04-20WaE: MSVC20082 unreferenced argumentCaolán McNamara
2012-04-18after 11 years it's time to forget about that to-doCaolán McNamara
2012-04-17Remove some unused methodsJulien Nabet
2012-04-13Little bit more explanation, feel free to improveTor Lillqvist
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-07callcatcher: update and remove newly unused methodsCaolán McNamara
2012-04-07don't need this pure virtual implCaolán McNamara
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-05UniString::CreateFromInt32 -> rtl::OUString::valueOfCaolán McNamara
2012-04-05callcatcher: update list, add README, remove some newly unused codeCaolán McNamara
2012-04-05disabled for 11 years, not like to get fixed soonCaolán McNamara
2012-03-30remove static OUStrings from static_initialization_and_destruction chainCaolán McNamara
2012-03-29Remove unnecessary tools/table.hxx #includesNoel Grandin
2012-03-23.java files don't need executable bitsMichael Stahl
2012-03-21chmod -xTor Lillqvist
2012-03-16Introduced SystemShellExecuteFlags::URIS_ONLYStephan Bergmann
2012-03-14Enable -Wnon-virtual-dtor for GCC 4.6Stephan Bergmann
...which has the necessary features to support it. Change a lot of classes to either contain a protected non-virtual dtor (which is backwards compatible, so even works for cppumaker-generated UNO headers) or a public virtual one. cppuhelper/propertysetmixin.hxx still needs to disable the warning, as the relevant class has a non-virtual dtor but friends, which would still cause GCC to warn. Includes a patch for libcmis, intended to be upstreamed.
2012-03-13Convert tools/table.hxx usage to std::set in toolkit module in ↵Noel Grandin
UnoPropertyArrayHelper class
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-03-05fix dbgutil buildCaolán McNamara
2012-03-05Convert ImplPropertyTable from tools/table.hxx to std::mapNoel Grandin
In the process, remove the ImplControlProperty struct, since it was duplicating information already stored in the key of the map.