summaryrefslogtreecommitdiff
path: root/uui
AgeCommit message (Collapse)AuthorFilesLines
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-12/+3
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-26Related fdo#46808: Fix UUIInteractionHandler::initialize argument handlingStephan Bergmann1-8/+16
This was a regression introduced with c25cb8a641723ab098980bb842caf75c0dc9b059 "fdo#46808, Adapt task::InteractionHandler UNO service to new style." Change-Id: I52e36c4aabbf4b2b4552ed0e8ea164db15071980
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin1-1/+1
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-09String->OUString in tools::ErrorContextNoel Grandin2-3/+3
Change-Id: Ibd0cd3e8d7281b5abde420df5cc1d51e9354069c Reviewed-on: https://gerrit.libreoffice.org/769 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-04Fixes/improvements on previous commitStephan Bergmann6-29/+49
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin4-50/+37
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann4-8/+8
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-17fdo#54858: fix UNO service conversionIvan Timofeev1-6/+2
regression from 197a79e57131c976a489882479a679ba2ab61b82 Change-Id: I3fbba4da0d293659d8521c768d34de18cd6bc634 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-09-11Improvement on previous commitStephan Bergmann2-49/+15
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
2012-09-11fdo#46808, Adapt task::PasswordContainer UNO service to new styleNoel Grandin3-15/+15
Create a merged XPasswordContainer2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I245b566b43e4646f10914b0aee13b2a0b0e296ae
2012-09-04fdo#46808, Adapt DocumentDigitalSignatures UNO service to new styleNoel Grandin3-19/+17
Rename service from "Decryptor" to "DocumentDigitalSignatures" to be consistent with the other UNO services, and with it's own header file name. Add service constructor for passing in arguments. Change-Id: Iaca0c40bb2f1a1af2ef9ca29361bfd023ade2678
2012-09-03fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin1-8/+4
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann4-6/+2
Change-Id: I70dca6915daf6647271ee89c752a50365cff7010
2012-08-30Revert "no member named 'OStringBuffer' in namespace 'rtl'"Tor Lillqvist1-4/+5
Instead just #include <rtl/strbuf.hxx> then. This reverts commit 15768dac2b0a326cb1f8b7985f18a6ab54d1a664. Change-Id: Ib6aed3f73bf106b4804fb418af80fefa6d662c79
2012-08-30no member named 'OStringBuffer' in namespace 'rtl'Tor Lillqvist1-4/+4
Change-Id: Idb06612e30b6ef3e9ce26d461f3664fbafdb1cab
2012-08-22do not deliver these module-description xml filesMatúš Kukan2-34/+0
Change-Id: Ife2f42b3a917ece10dc7ee9fcd83f1558084c4f1 Reviewed-on: https://gerrit.libreoffice.org/454 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-08-08reduce ascii noise and useless commentsThomas Arnhold1-8/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold2-11/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-06There is not need to allocate memory just for getting the 'indexOf'Christophe JAILLET1-2/+1
a literal within a OUString. Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-07-30Typo ressource -> resourceStephan Bergmann1-1/+1
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-14Remove unused HIDsThomas Arnhold1-2/+0
Those were only listed in help_hid.lst Change-Id: I491a037b375015db76c30c93a59b615a63fb1838
2012-07-14hrc cleanup: Remove include guards from src filesThomas Arnhold15-50/+0
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-13re-base on ALv2 code. Includes:Michael Meeks36-829/+543
cws mba34issues01: #i117709#: make sure that parent of error message box is visible Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172346 i#119036 - improve user experience of certification dialog - only shown once Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-07-13Search for char instead of 1 char long string, when possible.Christophe JAILLET1-1/+1
It is faster and even avoid memory allocation somtimes. Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-03ditch String::CreateFromAsciiCaolán McNamara2-3/+3
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02hrc cleanup: Remove include guardsThomas Arnhold1-4/+0
Also add some missing include guards. Change-Id: I320a3c017ca65d34f2cd516849bcde3dec9b33f1
2012-07-02hrc cleanup: Remove unused definesThomas Arnhold1-1/+0
Change-Id: Iaa7da7745fc01544d9a503b313479b2450810524
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-06-27Remove unused include filesThomas Arnhold1-89/+0
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27Reduce newline bloat at eofThomas Arnhold5-125/+0
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-26re-base on ALv2 code.Michael Meeks1-26/+17
2012-06-22.xml files don't need executable bitsMichael Stahl1-0/+0
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22re-base on ALv2 code.Michael Meeks2-46/+28
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks14-337/+211
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks26-634/+400
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold1-8/+0
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-18removed unused forward declarations of classTakeshi Abe2-6/+0
Change-Id: I32894b853912741e935e2409d2857fe384f67665
2012-06-11remove EraseLeadingChars and EraseTrailingCharsCaolán McNamara1-4/+3
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-2/+2
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-01targeted string re-workNorbert Thiebaud4-19/+15
Change-Id: I39922dc7cbb32ce236995df89b183d4db1210b15
2012-05-29targetted SAL_N_ELEMENTS reversion.Michael Meeks2-5/+5
Change-Id: I30be93ccaeb1f9fd17cbe9e3ed3165e094810b2e
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe1-1/+0
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-07removed unused definesTakeshi Abe1-1/+0
Change-Id: Ieaba4fe704cc588bd515b427a7f14008afea8c03
2012-05-07tidy ResId String/rtl::OUString cast fooCaolán McNamara9-39/+37
Change-Id: I1e8fca182a27efb403e903b424ca4c1c0d3acc49
2012-05-03drop ensure for non-NULL pointer and use a refCaolán McNamara4-27/+8
Change-Id: I492c576a9a04874538f07769f5ac40f84e2d4308
2012-04-30make ResId::toString a non-static memberCaolán McNamara1-1/+1
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
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