summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29String to OUStringThomas Arnhold
Change-Id: I68c0cc796760928c70cd29be27ed1280f9117702
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-16Don't build icule library as we no longer use itKhaled Hosny
Change-Id: I25401eee45988bf4d156c11d9a5848c783204c02
2013-06-15clean executables in Repository.mkMatúš Kukan
..so that no executable in gb_Helper_register_executables,NONE is installed (except cppunittester from scp2/source/smoketest/) and all others are installed. Also remove unused officeloader executable. Change-Id: I1726afc4d9d6848bca7fa07ebce3acd340777e8a
2013-06-10_UNICODE macro unusedFridrich Štrba
Change-Id: I4820830f24c8a9a6d9ec3ad79df51bb2ac4f1e4d
2013-06-10Macro reported as unusedFridrich Štrba
Change-Id: Iaf7c4bc438147a283e6493598d250c9b53dd6fc0
2013-06-10fdo#46808, Use service constructor for connection::AcceptorNoel Grandin
Change-Id: I0e69e43b5e6c6907447d6a8c23c0579b88ceb9a3
2013-06-07further reduce GUIBASE usage; don't set it to headlessMatúš Kukan
Change-Id: I76916c15f380bd80e823845f52f32a1c444079da
2013-06-05Related: fdo#65407 set a default size related to font size rather than pixelsCaolán McNamara
Change-Id: I97ff54de97ca1e02aff2a94dc01f2e4991600cd5
2013-06-05fdo#46808, Convert XMultiServiceFactory in filter moduleNoel Grandin
Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
2013-06-03fdo#46808, Convert XMultiServiceFactory to XComponentContextNoel Grandin
Change-Id: Ice5ec3a056f7f2f5184523bda1c709ccac876736
2013-06-03fdo#46808, Convert office::Quickstart service to new styleNoel Grandin
Service already existed, just needed an IDL file. Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071
2013-06-02C4702: unreachable codeJulien Nabet
Change-Id: Ia5151a143583c597d30b9ba64733e610877ccab1
2013-05-31fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan
- replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac Reviewed-on: https://gerrit.libreoffice.org/4044 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-27Better debug loggingStephan Bergmann
Change-Id: Ida97a74a8629e0b170d882b38b0eeaa8f53d9bd3
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-21UI Controller Factory fixesAriel Constenla-Haile
- "ModuleName" --> "ModuleIdentifier": the IDL definition for css::frame::PopupMenuControllerFactory and css::frame::StatusbarControllerFactory tells to use a property named "ModuleIdentifier", but in the code it is named "ModuleName" - Undocumented css::frame::ToolbarControllerFactory - Fix service name of ToolbarControllerFactory (ToolbarControllerFactory instead of ToolBarControllerFactory) - Convert the three service factories to new style, and use these new-style services in the source code - Implement multiple inheritance: added new css::frame::XUIControllerFactory - Added a (true) base class and implemented the three factories in a single file (cherry picked from commit acc7fed28f54f836b0923180431a0c180f91e98c) Conflicts: framework/inc/pch/precompiled_framework.hxx framework/inc/uielement/toolbarmanager.hxx framework/inc/uifactory/popupmenucontrollerfactory.hxx framework/inc/uifactory/statusbarcontrollerfactory.hxx framework/inc/uifactory/uicontrollerfactory.hxx framework/source/uielement/addonstoolbarmanager.cxx framework/source/uielement/menubarmanager.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/statusbarmanager.cxx framework/source/uielement/toolbarmanager.cxx framework/source/uifactory/popupmenucontrollerfactory.cxx framework/source/uifactory/statusbarcontrollerfactory.cxx framework/source/uifactory/uicontrollerfactory.cxx framework/source/unotypes/fwk.xml offapi/com/sun/star/frame/PopupMenuControllerFactory.idl offapi/com/sun/star/frame/StatusbarControllerFactory.idl offapi/com/sun/star/frame/makefile.mk svtools/source/uno/toolboxcontroller.cxx Change-Id: Ia8580539badf650a84bc6e57a6b832071e011f0a
2013-05-21Revert "fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service"Caolán McNamara
This reverts commit e93a0018871ebea4da1959c72c06f3c7f4dc7b27. Conflicts: desktop/source/app/app.cxx framework/source/uielement/menubarmanager.cxx framework/source/uielement/popupmenucontroller.cxx offapi/UnoApi_offapi.mk Change-Id: I3d4d49f98603e75357fb315a603a10851b3a7090
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-14Remove obsolete RestrictedPath env var supportStephan Bergmann
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
2013-05-14coverity#1000721 Resource LeakNorbert Thiebaud
Change-Id: I59161a08eee0406ac71b1212a0a8697edf27911f Reviewed-on: https://gerrit.libreoffice.org/3897 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-14coverity#982969 Resource leakNorbert Thiebaud
Change-Id: Iabf637be4b704de4165c5cefb6a19687a1b5637a Reviewed-on: https://gerrit.libreoffice.org/3902 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-11fdo#64311 - fix namespace issue / compile failure.Michael Meeks
Change-Id: I7ce3837a1a451560f5867786bb20d8280e7bef23
2013-05-11fdo#64311 - fix pre-processor conditionals & don't bail-out without gnome-vfs.Michael Meeks
Change-Id: Ia7a805c95625b52fc99face000587692de21461e
2013-05-10gbuild: gcc platforms: link with C compiler if no C++ filesMichael Stahl
In 5589c72b88e502bfca045ae38af16c854afdd401 a problem due to linking pyuno_wrapper with g++ was fixed: the library should not have a dependency on libstdc++. It's possible to implement this in gbuild directly by checking whether there are any C++ input files. (apparently on GNU/Linux g++ implicitly links in libm too...) Change-Id: I04dce06f796e20047ce7f5eab65e6110c0244445
2013-05-10More gb_PROGRAMDIRNAME clean upStephan Bergmann
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-10Abstract over PACKAGEDIRNAME as it is MacOS rather than program on Mac OS XStephan Bergmann
Otherwise, the FILELIST scp2 items would create a program directory even on Mac OS X, before gid_Brand_Unixlink_Program creates the program -> MacOS symlink. (gb_Pyuno_PROGRAMDIRNAME shoudl be renamed to something more general than Pyuno, and maybe more */Package_*.mk would benefit from using it.) Change-Id: Ib6fc8d1abaf3b1a47a0f026a62bf0abdb14fc521
2013-05-08configure: substantially de-bong libpng handlingMichael Stahl
- remove --unix-qstart-libpng: the internal libpng is static lib so this option is pointless - clean up duplicative libpng checks - replace usage of ENABLE_QUICKSTART_LIBPNG with ENABLE_HEADLESS, which is the one case where it could still be disabled Change-Id: Ie2e2c7e4a2396572742fdf056bf23c4271f04811
2013-05-07officecfg: remove Package_cppheaderMichael Stahl
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-05drop unused scriptsDavid Tardon
Change-Id: Icf4526214d9cfaaa9fe41b40b662c1e3bd9e6960
2013-05-05copy scripts to instdirDavid Tardon
Change-Id: Id7367d8f540f708071df89fd056dba485751df1c
2013-05-04copy pagein-* into instdirDavid Tardon
Change-Id: Iab77db4f7841fd3d118fc371de5d0368f08f6c2d
2013-05-02Resolves: #i119272# Trigger deletion of temporary files of extension managerAndre Fischer
(cherry picked from commit 84598594a6f36c2e3fc219d8cf1ec74b902e5e11) Change-Id: I5f581cb46e21c738ebf95eb30bcb517922e7f24b
2013-04-30install branding images using filelistsDavid Tardon
This also reinstates the use of brand_dev/intro.png for non-release builds, lost with gbuildization of instsetoo_native (commit 1d84e9d1d363bd550129efcbeafe670c0a049dd0). Change-Id: I43477505c5c9a3d6ec961d640608e6e91379868e
2013-04-30shell.zip is unusedDavid Tardon
Change-Id: Id8e7980a97d8c0828b14c59e2e382b0efc51c9f5
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-30fdo#35785: don't rely on the old apps fallback mechanism to fix this bugJesús Corrius
Change-Id: Id0967358956868538f7563c51f7ed5e106771302 Reviewed-on: https://gerrit.libreoffice.org/3639 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-29RuntimeException missing from exception specification for UNO methodStephan Bergmann
...which lead to std::unoexpected from sw/PythonTest_sw_python. Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449
2013-04-29Remove residue of undocumented "edition" featureStephan Bergmann
...whereby some branding could be orverridden with information from a program/edition/ directory. Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-28namespacing cleanupThomas Arnhold
Change-Id: I1384bf53a29e174bb97db4c0644f9dce39c0e36d
2013-04-26Fix fdo#35785: recent documents feature of the Windows 7 Start menu brokenJesús Corrius
Change-Id: I61cffeaf661db7e7b8f642bbbd9457203f75cb9a Reviewed-on: https://gerrit.libreoffice.org/3623 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-24desktop: rename WinResTarget target to match source fileMichael Stahl
Change-Id: Ice900801109efc8591b9a3fb5c490d070b23730a
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann
This reverts commit 67e69a55820f50973ca0de75ccab2bb07d0bada8, applying a band- aid fix to cli_ure/source/climaker for now. Conflicts: stoc/inc/bootstrapservices.hxx stoc/source/tdmanager/lrucache.hxx stoc/source/tdmanager/tdmgr.cxx stoc/source/tdmanager/tdmgr_common.hxx stoc/source/tdmanager/tdmgr_tdenumeration.cxx stoc/source/tdmanager/tdmgr_tdenumeration.hxx Change-Id: Iae669985d0194f06fa349a4a39f0ebd230bc5d28
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks