summaryrefslogtreecommitdiff
path: root/desktop/source
AgeCommit message (Collapse)AuthorFilesLines
2014-06-13liblok: set the size for the correct structure.Michael Meeks1-2/+2
(cherry picked from commit 4ed5bacc86e0137d9ace5a2ceda09c2393716793) Signed-off-by: Andrzej Hunt <andrzej.hunt@collabora.com> Conflicts: desktop/source/lib/init.cxx Change-Id: Id79d76893bfc931334afd59b05ab96a31e441e02
2014-06-13allow extensions to override Access2BaseLionel Elie Mamane1-1/+2
In particular, this allows users or administrators to upgrade Access2Base by installing the extension version of it. Change-Id: I1650e5beced0fd168afa029dbac2025e2fa16e1f Reviewed-on: https://gerrit.libreoffice.org/9754 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-01ignore legacy OpenOffice.org-*-version, when a LibreOffice-*-version is givenBjoern Michaelsen1-2/+13
Change-Id: Ie5b6ffee07b6e5ebf922bad1b4a268ff636412c9 Reviewed-on: https://gerrit.libreoffice.org/8853 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> (cherry picked from commit 42905aecfcdee9eb2c184bceeec4f8688056cd73) Reviewed-on: https://gerrit.libreoffice.org/9207 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-09liblo: We need to provide LibreOffice with fake command line args too.Tomaž Vajngerl1-0/+1
Change-Id: I34f364e63f814921bfe88af7cdf4ff4cdf6745fa Reviewed-on: https://gerrit.libreoffice.org/8894 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-19fdo#73549 do not attempt to resolve an empty localeEike Rathke1-0/+3
... to match installed UI locales Change-Id: If0ad0fde392bc5ea3cf454f4858330f5e93a6666 (cherry picked from commit 8e826c7ff7c597e9f585377b2117f4dc24239dcc) fdo#73549 do not resolve empty locale here if not determined yet Change-Id: Iad03d6209a2b4024b27c6195195e5aa557c295fe (cherry picked from commit db6f8f9f8969b592ed90c841960fdd186e1cbc5a) do not resolve empty locale here when set, fdo#73549 related Change-Id: Id9c8c3926f64826fd2295e0f75f007ce435f5915 (cherry picked from commit 26fc9be1bf2d6aaeb52a571ea416f4527a52e146) Reviewed-on: https://gerrit.libreoffice.org/7529 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2013-12-19use proper LanguageTag fallback instead of dumb startsWith(), fdo#68714Eike Rathke1-9/+4
A ca_ES@valencia (=> ca-ES-valencia) locale did not result in 'ca-valencia' UI being selected but 'ca' only instead. Change-Id: Ifa405add2ff7b45e030b02af4338de195b457cb2 (cherry picked from commit 03e7a16fe2802160b8344058f225a57bdb9c59f5)
2013-12-18resolved fdo#72778 keep setting system locale and LanguageTag in syncEike Rathke1-1/+1
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13 (cherry picked from commit cc54c08a66046c00af3713fbe5e69995ccb7f73b)
2013-12-16m_bHasActive must be false after last visible entry is removedStephan Bergmann1-0/+6
...otherwise, ExtensionBox_Impl::RecalcAll would crash in CalcActiveHeight(-1). Change-Id: If399825951c79b821ed44ebefa19d1032ab4f850 (cherry picked from commit 661f7bdefc8215f742951727b93395d47293cf0e)
2013-12-09fix equalsAscii conversion. Noticed in fdo#72391Noel Grandin1-1/+1
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6 Reviewed-on: https://gerrit.libreoffice.org/7008 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold1-4/+0
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-19Use startsWith rest parameterStephan Bergmann1-21/+14
Change-Id: I5ec5f68c13ceb93b4e2cea83ec757b9427b8608d
2013-11-19Consistently accept all cmd line args only in lower caseStephan Bergmann1-24/+23
Change-Id: Ie57814f1e938ee9d909d69a518bed29026cb4963
2013-11-19Consistently warn about all deprecated cmd line args starting with a single -Stephan Bergmann2-403/+387
Change-Id: Ib4cb8939b0b12dd01af3bb845649e5ac5480352b
2013-11-19String function clean-upStephan Bergmann1-11/+11
Change-Id: I0bb807748f67af3ee1210c6df649bc8ae506e090
2013-11-19rhbz#1031989 Accept --pt in addition to deprecated -ptStephan Bergmann1-1/+1
Change-Id: I3593b3fc7e0ad405612216fb07e8632050b75cee
2013-11-19-Werror,-Wunused-variableStephan Bergmann1-2/+1
Change-Id: I46138b946ff38df5366760dbc1999057fee35bd3
2013-11-19convert equalsAsciiL calls to startWith calls where possibleNoel Grandin1-1/+1
Simplify code like: aStr.equalsAsciiL( "%", 1 ) to aStr.startsWith( "%" ) Change-Id: Iee0e4e60b0ae6d567fa8f72db5d616fffbec3c00
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin2-2/+2
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin1-1/+1
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-15WaE: C4190 for extern "C" functions returning C++ typeTor Lillqvist1-22/+22
Change-Id: Ic1ac345781782bc4333ae2634f8f819914a0ca6e
2013-11-15-Werror,-Wmismatched-tagsStephan Bergmann1-2/+2
Change-Id: I5388bcf7228b181e429a0d82e9b0968a2ed5a06c
2013-11-15liblibo: expose a C API for ABI reasons, and wrap with C++.Michael Meeks2-46/+84
Change-Id: I7b3bcead05788e663d94724522bfa3f227b15499
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann1-2/+2
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann1-8/+0
Change-Id: I1e91eb89b25aea247bb2d615a14a7d1cdd2b488c
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin1-1/+1
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin2-4/+4
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11remove unnecessary use of OUString constructor in DESKTOP moduleNoel Grandin9-36/+34
Change-Id: I467334094a621f4bab0ff251267412fb3a0fb4b7
2013-11-08Don't unnecessarily wrap RuntimeExceptionsStephan Bergmann1-1/+1
(and IllegalArgumentException is a RuntimeException now) Change-Id: Ic18f11ff7675878c7f6b5e9ee52453bbb9f1e787
2013-11-08Unwind confusing namespace aliasStephan Bergmann1-119/+118
Change-Id: I08d3e5f71278c7f96adb2db546da5602df84aad8
2013-11-07make the error not a secretCaolán McNamara1-2/+2
Change-Id: I4ee261bd1dc2c63f0b54e19a2684c8bf1c221680
2013-11-07liblibo: share crude URL absolutization, and clean.Michael Meeks1-16/+20
Change-Id: I559eac8626a011644f68f8391631447f15c643eb
2013-11-07liblibo: fixes and improvements for liblibreofficeChristoph Lutz1-13/+35
fixes for liblibreoffice-Impl (init.cxx): determine outputfilter from file suffix if no filter is provided; ensure that url provided to XStorable.storeToUrl is really an url; improved error handling small improvements in somektest/libtest.cxx: output times required for init, load and save. Change-Id: Ic8b2c0d34cbeae3250c43cac02690e6ec1954ed7
2013-11-05Improve debug outputStephan Bergmann1-5/+6
Change-Id: Ia09e61a37bc485509c604df9279275003050d916
2013-11-04remove redundant calls to OUString constructorNoel Grandin3-10/+9
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-11-01fdo#71005 Remove odd "Workaround for automated testing"Stephan Bergmann1-2/+0
...that got added by 62ee5e1a752033344c172ad2380a5f1e2492330a "INTEGRATION: CWS calcshare2: #i85794# workaround for automated testing" but does not make much sense, esp. as all our (subsequent-)checks each use a dedicated, throwaway UserInstallation anyway. Change-Id: I64ca47a7d7ee3c2eb2ab33eebcec5a79a7e3d0df
2013-10-28fixincludeguards.sh: desktopThomas Arnhold42-93/+93
Change-Id: Iaeba85d313af1840f925fd0536d11ac83545a118
2013-10-23convert code to use OUString::endsWithNoel Grandin2-2/+2
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22Remove unnecessary component_getProcessComponentContext C wrapperStephan Bergmann3-6/+6
Change-Id: I9d9f1a542dbbfc461dd27c32b57e4cad5532fab0
2013-10-22fdo#68849 add some header guardsThomas Arnhold1-0/+1
Change-Id: I1cd598fba94e337c2ccad68a4a888743aeb292f0
2013-10-21fdo#68849 add some header guardsThomas Arnhold1-0/+5
Change-Id: I9d25a58f22095689eccc0ac444c163d1e9bee69f Reviewed-on: https://gerrit.libreoffice.org/6364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-21fdo#51639 soffice.exe --version displays a dialog box with the version numberAndras Timar1-0/+3
Change-Id: I3656c005a23d291bc7cde2bc461e584df342babf
2013-10-20drop unnecessary tools/string includesCaolán McNamara7-7/+0
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18Some clean-upStephan Bergmann2-116/+47
Change-Id: I142f9c4e73585272c3028880e40c20f4a056f3c3
2013-10-13Minor refactoring of iOS codeTor Lillqvist1-1/+5
Rename functions so that functions called by the UI layer for actions to happen in the LO layer and functions called by the LO layer for things to happen in the UI layer use different prefixes. Move declarations to the generic <touch/touch.h> and avoid iOS-specific types in the API. Change-Id: Ieb8979065e02a87c4a415c934163265f2790d011
2013-10-11-Werror,-Wunused-variableStephan Bergmann2-11/+16
Change-Id: I4727687b1f359ecf4eb8855b7894bf2a2047ba9d
2013-10-10little String to OUString + documentationThomas Arnhold1-3/+1
Change-Id: I982e44150fd2909da0571409f16051d79377d7a3 Reviewed-on: https://gerrit.libreoffice.org/6192 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-10-04'ist' -> 'is' here and there.Jan Holesovsky1-1/+1
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-01desktop: stop replacing %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSIONMichael Stahl1-11/+0
... and %PRODUCTXMLFILEFORMATNAME at runtime and hard-code OpenOffice.org 1.0 for these too. Change-Id: Id96390506d2a0f367f932e85d3115362ad483bc3
2013-10-01remove run-time replacement of %WRITERCOMPATIBILITYVERSIONOOO11Michael Stahl1-15/+0
Instead hard-code OpenOffice.org 1.1 as the value, since StarOffice and StarSuite are irrelevant. Change-Id: I9ab3d1cf38cf64cd4e440b3ae43158f748ead7d2
2013-09-26typo fixes in commentsAndras Timar2-2/+2
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab