summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2013-12-19m_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) Reviewed-on: https://gerrit.libreoffice.org/7097 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-18Keep using component_getImplementationEnvironment in extensionsStephan Bergmann2-0/+14
...instead of relying on the implicit CPPU_CURRENT_LANGUAGE_BINDING_NAME convention. Keeping that convention an implementation detail makes it easier to do improvements in the future. (Theoretically, the bundled extension in mysqlc could be considered internal code and not adapted, but just be safe.) (cherry picked from commit fa2a7c1c95f78d20ed572091e12700fd4d852835) Conflicts: desktop/test/deployment/active/active_native.cxx odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_cpp/component.cxx odk/examples/cpp/counter/counter.cxx Change-Id: Iae41a6e072dabc2bf7c1481ba6cfed61680edf37 Reviewed-on: https://gerrit.libreoffice.org/7119 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-11-20rhbz#1031989 Accept --pt in addition to deprecated -ptStephan Bergmann1-1/+1
Change-Id: I3593b3fc7e0ad405612216fb07e8632050b75cee (cherry picked from commit 5cb10c4c99e46c97984e4e1c1bca5915f83f0a1d) Reviewed-on: https://gerrit.libreoffice.org/6723 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-21fdo#51639 soffice.exe --version displays a dialog box with the version numberAndras Timar1-0/+3
Change-Id: I3656c005a23d291bc7cde2bc461e584df342babf Reviewed-on: https://gerrit.libreoffice.org/6362 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-20unopkg: use default umask when installing shared extensionsBjörgvin Ragnarsson1-0/+4
This makes sure shared extensions are readable by users when root's umask has been set to a value such as 0027. Change-Id: Ia1e389e1e6a271d78bd9fe90df345134befaaac0 Reviewed-on: https://gerrit.libreoffice.org/5523 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-15intermittent crash with failed empty response during update checkCaolán McNamara1-2/+2
version1 is empty and version2 is not, so on second segment of version2 the i1 is already -1 from the first segment check -> kaboom Change-Id: Ic19511a3b150f40d3cd9cf66bf9d86c94f3f9187 (cherry picked from commit 3bb28b5aaef5e85a981dc9411db1f05524aeedf6) Reviewed-on: https://gerrit.libreoffice.org/5436 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-07-30fdo#54264: Fix multi-argument ApplicationEvent::TYPE_OPEN/PRINTStephan Bergmann1-10/+14
...that had been broken when 5c22a03320f20ae9ac2c3c16025e7c5e3a7915d5> "Cleaned up CommandLineArgs" changed the representation of those multi-arguments from a single string with \n delimiters to vector<string> in desktop/soruce/app/cmdlineargs.hxx, but missed updating other producers of such ApplicationEvents. (cherry picked from commit 787940e0ac285aa1101ca8964d252faaab3ea8c1, plus 04f4d4bfb708ef477618fa47d5f17779f4e4cf3c "Add TODO comment expressing doubts about existing code") Conflicts: sfx2/source/appl/appdde.cxx Change-Id: I527d620c60a87f3a01d970927c521163fb6df192 Reviewed-on: https://gerrit.libreoffice.org/5192 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22fdo#35785 LibreOffice's support of recent documents in Windows 7 brokenJesús Corrius1-39/+0
Change-Id: I916ba1335b0a0420f568ab9340632f273e3c9516 Reviewed-on: https://gerrit.libreoffice.org/4997 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> (cherry picked from commit 19f3d9310caef84fe2815eb89af448a81937bddd) Shell32.dll is already loaded Since the vcllo.dll links already the shell32.dll because of its symbol SHAddToRecentDocs, no need to increase reference of that library. Just get the module handle. Moreover, a mere presence of the symbol SHGetPropertyStoreForWindow in shell32.dll indicates that we are running at least on Windows 7 or Windows Server 2008 R2. There is thus no need to check for the library version. Change-Id: I9ddfb8407fd805faf588779ac5fa8c10a0ae8898 Reviewed-on: https://gerrit.libreoffice.org/5016 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> (cherry picked from commit 50d330c3d238b7b6182787959b30a6d665eab078) Reviewed-on: https://gerrit.libreoffice.org/5024 Reviewed-by: Jesús Corrius <jcorrius@gmail.com> Reviewed-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-06-05Related: fdo#65407 set a default size related to font size rather than pixelsCaolán McNamara2-2/+7
Change-Id: I97ff54de97ca1e02aff2a94dc01f2e4991600cd5 (cherry picked from commit 65df76208a8ad5d7b6de22b7bcae14148271dc54)
2013-05-22UI Controller Factory fixesAriel Constenla-Haile1-14/+12
- "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 (cherry picked from commit 8b050d1e91a6623fb2770421e564a74d6259d816)
2013-05-22Revert "fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service"Caolán McNamara1-10/+16
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 (cherry picked from commit f4bccae9eb48d36de9edd1fa5551e5e8de85b17e)
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist2-5/+5
2013-05-14Remove obsolete RestrictedPath env var supportStephan Bergmann1-13/+0
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
2013-05-14coverity#1000721 Resource LeakNorbert Thiebaud1-1/+8
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 Thiebaud1-2/+4
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 Meeks1-1/+1
Change-Id: I7ce3837a1a451560f5867786bb20d8280e7bef23
2013-05-11fdo#64311 - fix pre-processor conditionals & don't bail-out without gnome-vfs.Michael Meeks2-18/+26
Change-Id: Ia7a805c95625b52fc99face000587692de21461e
2013-05-10gbuild: gcc platforms: link with C compiler if no C++ filesMichael Stahl1-0/+6
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 Bergmann4-14/+14
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-10Abstract over PACKAGEDIRNAME as it is MacOS rather than program on Mac OS XStephan Bergmann4-14/+14
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 Stahl1-1/+1
- 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 Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-06fix typos (wich instead of which)Philipp Riemer1-1/+1
2013-05-05drop unused scriptsDavid Tardon4-36/+0
Change-Id: Icf4526214d9cfaaa9fe41b40b662c1e3bd9e6960
2013-05-05copy scripts to instdirDavid Tardon2-1/+36
Change-Id: Id7367d8f540f708071df89fd056dba485751df1c
2013-05-04copy pagein-* into instdirDavid Tardon2-0/+23
Change-Id: Iab77db4f7841fd3d118fc371de5d0368f08f6c2d
2013-05-02Resolves: #i119272# Trigger deletion of temporary files of extension managerAndre Fischer1-0/+4
(cherry picked from commit 84598594a6f36c2e3fc219d8cf1ec74b902e5e11) Change-Id: I5f581cb46e21c738ebf95eb30bcb517922e7f24b
2013-04-30install branding images using filelistsDavid Tardon6-140/+51
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 Tardon1-21/+0
Change-Id: Id8e7980a97d8c0828b14c59e2e382b0efc51c9f5
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks4-92/+16
2013-04-30fdo#35785: don't rely on the old apps fallback mechanism to fix this bugJesús Corrius1-1/+39
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 Bergmann2-2/+2
...which lead to std::unoexpected from sw/PythonTest_sw_python. Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449
2013-04-29Remove residue of undocumented "edition" featureStephan Bergmann2-13/+3
...whereby some branding could be orverridden with information from a program/edition/ directory. Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-28namespacing cleanupThomas Arnhold9-75/+60
Change-Id: I1384bf53a29e174bb97db4c0644f9dce39c0e36d
2013-04-26Fix fdo#35785: recent documents feature of the Windows 7 Start menu brokenJesús Corrius9-52/+0
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 Stahl20-59/+59
Change-Id: Ice900801109efc8591b9a3fb5c490d070b23730a
2013-04-24gbuild: drop empty use_packages callsDavid Tardon6-18/+0
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 Tardon5-5/+0
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 Tardon3-5/+0
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 Bergmann1-45/+12
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 Meeks60-1330/+240
2013-04-19Small refactoring of the Android "desktop app" code, no functional changeTor Lillqvist1-2/+2
Move the native methods out to a separate AppSupport class so that they aren't in our "experimenal" Desktop app's namespace. Don't hardcode the name of that class in the native code, but have the app register the class to which the damage callbacks should be done. Possibly the AppSupport and Bootstrap classes should be combined. Later. Also, the "android" part of the package name is superfluous; it is Android-specific code, no information gained by having an "android" part in the package name. Change-Id: Iddf55c8034ead7693887ace8438deb002c5eea9f
2013-04-19Java cleanup, remove unnecessary castsNoel Grandin1-10/+10
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f Reviewed-on: https://gerrit.libreoffice.org/3431 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18desktop: add STR_BOOTSTRAP_ERR_USERINSTALL_FAILEDMichael Stahl3-1/+7
... or why do we handle this case separately to put up a generic "internal error" message? Change-Id: Id51534adb0092cdd459c1811dac0385f0dcbaddb
2013-04-18Desktop::HandleBootstrapPathErrors: try to not be totally uselessMichael Stahl1-5/+1
Change-Id: I400790635849171f710fbc70969dbd337ffe6859
2013-04-16Revert "do not merge public ure libraries"Matúš Kukan1-1/+1
Does not work because cppuhelper depends on private libraries. So, either by setting URELIBS we break API or can't merge that much or need to think about it more and implement something clever. This reverts commit 75ece7acdc81d17ce26bab966e57fbca7406bf52.
2013-04-16do not merge public ure librariesMatúš Kukan1-1/+1
No more need for URELIBS, depend only on MERGELIBS. Change-Id: I5a93031116c26bbbe375e9c467e7b427487ec18b
2013-04-15add desktop libs to libmergedPeter Foley3-6/+6
Change-Id: I0e5477f84de316598015330cea995e42f1249acb
2013-04-15autoinstall more OOOLIBS librariesMatúš Kukan1-1/+1
Change-Id: I02c86d7ab6814bfcf559af7408e5d0e1eef59666
2013-04-15fdo#60724 successfull -> successfulThomas Arnhold1-1/+1
Change-Id: I287bef5b7f2baf5aaaab47141267ae2cadfe2451