summaryrefslogtreecommitdiff
path: root/configmgr
AgeCommit message (Collapse)AuthorFilesLines
2015-02-06fdo#80536 UI: Menu entry for 'Edit File' -> 'Edit Mode'Joren De Cuyper1-1/+1
In this commit not only a menu entry is created, also the name is changed from 'Edit File' to 'Edit Mode'. Change-Id: Icd7998307cb0337dd2ee95b298452557ab37375b Reviewed-on: https://gerrit.libreoffice.org/10211 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-09There is no css::uno::Sequence<bool>Stephan Bergmann1-3/+3
This partially reverts 78b9537b6aca0f998f939988e6e1a56528d28baf "various: sal_Bool->bool." Change-Id: I732b2fb2cca3e66b396a35645f12ae96a40163d5
2014-05-08various: sal_Bool->boolNoel Grandin1-3/+3
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
2014-05-06Avoid using incomplete types with std containersStephan Bergmann1-3/+2
...which is explicitly supported by Boost.Container though, but we cannot use boost::container::map here as Boost.Container is only available since Boost 1.48 and our base is 1.47 still. However, there appears no need for Children to be sorted, and std::unordered_map (and thus boost::unordered_map) requires that pointers to elements are not invalidated by insertions, which we do require. Change-Id: I70ad6f40318d2bafae53ebb67d84c1c89a7d68f6
2014-04-12Unnecessary to mention dependency on icudata as only libicuuc directly uses itTor Lillqvist1-1/+0
libicudata exports a single symbol, icudt52_data (for ICU version 52), and only libicuuc refers to it. Change-Id: Ia04356fda20cf8109156ccd1cbbd9091e70adf27
2014-04-09Missing includeStephan Bergmann1-0/+1
Change-Id: I166ce50c038cdd3474cbdcf2ac360c237a98307c
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann18-212/+212
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-18Use cppu::BaseMutex instead of plain osl::Mutex as baseStephan Bergmann1-5/+5
Change-Id: Ie87cc749556d0a9b135b285143d33dc80d49a2ad
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin1-1/+1
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann11-261/+261
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-14Drop unused #includeTakeshi Abe1-1/+0
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-07auto_ptr -> scoped_ptrStephan Bergmann1-3/+3
Change-Id: I5e405ec2689000c973cf8ff1f86c1c2d6202eda9
2014-02-03fix winreg exampleAndras Timar1-1/+1
Change-Id: I8115fb899e4248e6eab1aa9349456103353918e6
2014-01-27coverity#707684 Uninitialized scalar fieldCaolán McNamara1-1/+1
Change-Id: I960aa77ce107c4f02f1e331cda07b75435beed5d
2014-01-27coverity#983618 Uncaught exceptionCaolán McNamara1-4/+7
Change-Id: I3abf410e7235b8dd1d126a3c8705e3ef9722e93b
2014-01-27coverity#983617 Uncaught exceptionCaolán McNamara2-2/+5
Change-Id: I3f9c98d235d1bd5155653c6a56b757393bca2979
2014-01-27coverity#707681 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I88796c85447571d446c398439066029c3a200b4b
2014-01-27coverity#707680 Uninitialized scalar fieldCaolán McNamara1-1/+3
Change-Id: I763dc95a393bf296a7f3f5ce2a739f175fd528fb
2014-01-24Replace "known-good" dynamic_casts with static_castsStephan Bergmann7-38/+38
...it avoids false warnings about unchecked dynamic_cast results from static code analyzers, and potentially makes the code a little faster, too. (Most of these dynamic_casts were kind of a leftover from a very early design that dispateched on Node type via dynamic_cast instead of a Node::Kind, but which was much too slow.) Change-Id: I8db08a1c35783f8ea6c51eed55b11faa2d958807
2014-01-24Revert "coverity#704575 et al. and clean-up."Stephan Bergmann2-146/+89
This reverts commit 753eeac8a641d70ad0c44bb15fa8949ac991f5d9, which added bogus if (... != 0) checks after dynamic_casts that cannot fail, making the code now look as if it was expected that those casts can fail and the code is prepared to handle it (which it is not). Silencing the false coverity reports will be addressed in a follow-up commit. (That commit unfortunately mixed those changes with mass cosmetic changes.)
2014-01-22coverity#704575 et al. and clean-up.Norbert Thiebaud2-89/+146
Change-Id: I24b38b63d26bc2d4e1d479754120dfd5b5635737
2014-01-19do not resolve empty locale here when set, fdo#73549 relatedEike Rathke1-1/+1
Change-Id: Id9c8c3926f64826fd2295e0f75f007ce435f5915
2014-01-08Fix some configmgr XServiceInfoStephan Bergmann2-5/+25
Change-Id: I208f5892f6fb54d53ed4d17ddb189f0a24051a17
2013-12-16Allow setting environment value directly in .component filesStephan Bergmann1-2/+2
...for internal loader="com.sun.star.loader.SharedLibrary" components, instead of exported component_getImplementationEnvironmen (or implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME). Adapted a few .component files as proof- of-concept, more to follow. Change-Id: I82332e0a48e6fc1da245990bb72265fe6e58447e
2013-12-16change config example in commentAndras Timar1-3/+3
because Expert Config is no longer a leaf in option page tree, it became a standalone window. Change-Id: Ib82b5eb958073d1afbd9ad2b8493e2670dee591b
2013-12-12simplify - use OUString::startsWith where possibleNoel Grandin1-1/+1
Convert code like if( !aStr.isEmpty() && aStr[0] == 'x' ) to if( aStr.startsWith("x") ) Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
2013-12-09Get rid of redundant configmgr::XcuParser::State::lockedStephan Bergmann2-92/+88
Change-Id: If7019fc334c0f11fae464b65c135d01acfb1a46b
2013-12-09fdo#69027 check for state_.top().lockedAndras Timar1-1/+1
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>: I wonder why I originally introduced State::locked in addition to State:ignored in the first place, but can't find a good reason for that now. So the patch looks ok, though it could be further simplified to completely get rid of State::locked. Will do that in a follow-up commit. Change-Id: If07a07b21effbf42918408a0b60b2d18bdc8665c
2013-12-06Do not create paths starting "//" when root is just "/"Stephan Bergmann1-3/+4
Change-Id: If0b413a4fdd93465074548c7ea5451288c1d12aa
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin1-8/+4
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-21Some more adaptions to cppu::supportsServiceStephan Bergmann4-7/+11
Change-Id: I0fa482b3303f339afabf5ed8f3e432b56c6590aa
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin1-32/+16
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin4-12/+12
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist1-1/+1
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza1-1/+0
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-17The getSupportedServiceNames implementations will already take careStephan Bergmann1-4/+1
Change-Id: I0c7ae8e0393f069259b943e04368e874abdf8386
2013-10-17fdo#54938: Adapt svtools and comphelper module ...Marcos Paulo de Souza1-7/+2
to use cppu::supportsService and other pieces. Change-Id: I16893b3d31a8055acd214ff23d01e63d38fe0826 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-15Allow starts-/endsWith* to also return the rest of the matched stringStephan Bergmann2-17/+9
...as there are many cases where the code later wants to obtain this part, and esp. for the string literal variants it is awkward to calculate the length of the literal again if this is coded with a following copy() call. Adapt some code to use this new feature. (Strictly speaking, the @since tags for the---backwards-compatibly---modified functions are no longer accurate of course. Also, clean up some sal_Bool and SAL_THROWS(()) that are unnecesssary cargo-cult here, and where the clean-up should have no practical compatibility consequences.) Change-Id: I43e5c578c8c4b44cb47fd08f170b5c69322ad641
2013-10-15Simplify some matchAsciiL -> matchStephan Bergmann1-8/+3
Change-Id: Ib0cac79b86ed60b4df1fc90db15842cc99abc1e9
2013-10-02winreg backend: add support for oor:op in config nodesJanos Farago1-6/+67
Change-Id: I9cc4472b37d24e426a67661806805c11b521dfb1 Reviewed-on: https://gerrit.libreoffice.org/6074 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2013-09-25fdo#69028 Set PropertyAttribute::READONLY for finalized configmgr propsStephan Bergmann1-3/+4
...thanks to Andras for pointing me to the problem Change-Id: I98786e8fe3159426b7e4c8b5345be500be2fc87b
2013-09-10configmgr: more makefile cleanup.Michael Meeks1-3/+4
Change-Id: I672077a2096cc51e7a3668f5873a91299fd00ca1
2013-09-10configmgr: cleanup unit test pieces.Michael Meeks2-40/+39
Change-Id: I3d849a1676c638d431a15672c5a7253b70f4e610
2013-09-10fdo#46723 enable configmgr unit testsJelle van der Waa3-5/+63
Change-Id: Id2a10374d207fc079093cdb9a78ac30171251e46
2013-09-10Some clean upStephan Bergmann2-145/+152
...post 5a02076358a547bae8a9b596d9722a7cd2d46c34 "Windows registry configuration backend." Change-Id: I4d27c17d4f26254bce175910a76f0076639581e8
2013-09-10Windows registry configuration backendJanos Farago6-7/+226
The goal is to manage LibreOffice configuration centrally in the enterprise. In Windows Server environment using Group Policies is a common solution for configuration management. Therefore it is required that LibreOffice can read configuration data from Windows registry, too. Windows registry is another configuration layer on the top of normal xml based configuration. For example the following registry setting: [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\o] "Value"="Example Corp." "Final"=dword:00000001 becomes the following in configuration: <item oor:path="/org.openoffice.UserProfile/Data"> <prop oor:name="o" oor:finalized="true"> <value>Example Corp.</value> </prop> </item> Change-Id: I2cdd83fc93922bf2806417bfd1b83f85cc926d4c Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-3/+3
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist1-1/+3
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-07-24Style and graceStephan Bergmann1-1/+1
Change-Id: I90854a061d3b51537669365f7a28a0fabe3dac2b
2013-07-23Clean up redundant explicit OUString(...) ctorsStephan Bergmann16-351/+204
Change-Id: Ieb5d4a1d669e0472ec08704c618a9d9c1d30b77f