summaryrefslogtreecommitdiffstats
path: root/framework
Commit message (Collapse)AuthorAgeFilesLines
* fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa2013-07-2331-165/+5
| | | | | | | Change-Id: Ib0edc828691c6a8edbd1f45d3c0e2851c32c865f Reviewed-on: https://gerrit.libreoffice.org/5013 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* convert more services in framework module to WeakImplHelperNoel Grandin2013-07-2330-393/+114
| | | | Change-Id: I417ae2ce644f39fce0e8eb9fbe6a3a3c783b6227
* remove unused fieldNoel Grandin2013-07-232-8/+1
| | | | Change-Id: I1b81b39a4c66895c6f6b7d40e00ea2a483d8b4fd
* Convert the easy cases in framework to WeakImplHelperNoel Grandin2013-07-2344-689/+320
| | | | Change-Id: I6547c4aee2aa4d15ad516a6a45002b81b7a8ac13
* Convert GlobalSettings_Access to WeakImplHelperNoel Grandin2013-07-231-15/+5
| | | | Change-Id: Iaa1134bee8e3b36e940376622b5c22085892b81b
* Convert ModuleUIConfigurationManagerSupplier to WeakImplHelperNoel Grandin2013-07-232-24/+6
| | | | Change-Id: I526eb65bb00808c85caa8fcba3359321e7cec2da
* Convert UIConfigurationManager to WeakImplHelperNoel Grandin2013-07-232-32/+5
| | | | Change-Id: I1e8a498f38e19419d3f8fdc91c0bcaf2cb3f41a5
* Convert ConfigurationAccess_WindowState to WeakImplHelperNoel Grandin2013-07-231-33/+3
| | | | Change-Id: I962e87e81905bfc61b03e1c1c7ee9f01b030df9d
* convert WindowStateConfiguration to WeakImplHelperNoel Grandin2013-07-232-18/+1
| | | | | | It was already half way there, just some leftover macro definitions. Change-Id: I607eb22d08fd0e5d7d0be0b8bb217bcc7740d983
* Convert framework::StatusBarManager to WeakImplHelperNoel Grandin2013-07-232-31/+7
| | | | Change-Id: I25cc72536d8832d93d6832591bdba25ac0654ee3
* Convert framework::ToolBarManager to WeakImplHelperNoel Grandin2013-07-232-37/+16
| | | | Change-Id: I2fc48b892c68cc6054ceec51c4b050e445c22f6a
* Convert framework::AcceleratorConfigurationReader to WeakImplHelperNoel Grandin2013-07-232-15/+3
| | | | Change-Id: I2e2528c539ba93eb72466bd361c189be5746ecfe
* improve commentsNoel Grandin2013-07-231-5/+5
| | | | Change-Id: Ib2735c946ca331382e0c178b303c3769c0a35185
* fdo#46808, Convert ui::ModuleUIConfigurationManager service to new styleNoel Grandin2013-07-235-93/+66
| | | | | | .. and convert it to WeakImplHelper at the same time. Change-Id: I20549f5cc6efb60c5210d3f9b6ecf3ade7e4a75a
* fdo#35785 LibreOffice's support of recent documents in Windows 7 brokenJesús Corrius2013-07-201-2/+30
| | | | | | | Change-Id: I916ba1335b0a0420f568ab9340632f273e3c9516 Reviewed-on: https://gerrit.libreoffice.org/4997 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* typo fix in commentMÁTÉ Gergely2013-07-191-1/+1
| | | | | | | Change-Id: I4c4d9927f6165b3febd089bc5cfb6af188aedcf0 Reviewed-on: https://gerrit.libreoffice.org/4990 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
* remove Application::GetWorkAreaPosSizePixelNoel Grandin2013-07-191-1/+1
| | | | | | | | | | | | This internal API has always been problematic because we cannot support it under the Linux toolkits, where it has in fact always just returned the size of the screen. Change-Id: I406bcbca8a4161b4261ef46940823bb07c6ad18b Reviewed-on: https://gerrit.libreoffice.org/4976 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* Move comment.Jan Holesovsky2013-07-181-1/+1
| | | | Change-Id: I7c35c6878455fd68eaddd75b39009a59352dd2c3
* startcenter: No need for special GetFocus().Jan Holesovsky2013-07-182-10/+0
| | | | Change-Id: I789f21e035f864d5b7ac84700a62a1c81f53c2be
* startcenter: Re-introduce code that handles accelerators.Jan Holesovsky2013-07-182-3/+84
| | | | Change-Id: I171de7f63e644c9446a76f6ade592c8242cadcac
* startcenter: The explicit Show() is not necessary.Jan Holesovsky2013-07-181-2/+0
| | | | Change-Id: I6e817a6c5465adb02f5431737f2ac649ac0274a5
* startcenter: Remove unused headers & members, move consts to .cxx.Jan Holesovsky2013-07-182-98/+69
| | | | Change-Id: Id163a02ac663141f113195bfc68fcedd6c4dc500
* startcenter: Simplify the button setup & make it work better.Jan Holesovsky2013-07-182-104/+51
| | | | | | | This fixes some drawing artifacts previously visible thanks to the SetPaintTransparent( sal_False ). Change-Id: Icd6fb222e2d78f02cd298b02afbfa8e652c4566f
* startcenter: Make the Open button work as a MenuButton.Jan Holesovsky2013-07-183-25/+19
| | | | Change-Id: Ic02a271c0c2b892e0dca0a07a5c2ff9a7862ab9f
* startcenter: The window & strings are initialized in .ui, remove from .src.Jan Holesovsky2013-07-185-62/+11
| | | | Change-Id: I951e4bc12696a2cb5b1b93f28de25cd4783b9387
* startcenter: The images have moved to .ui, remove from .src.Jan Holesovsky2013-07-183-73/+0
| | | | Change-Id: Ib83a8903062f40f9e64d93a2afe5d7d088f8451a
* startcenter: Make the widgets in .ui resizable.Jan Holesovsky2013-07-181-17/+40
| | | | Change-Id: Ifc34e80bfcb71e041e7adb444c464ba917fea2b1
* startcenter: GSOC Use Widget Layout for the Start CenterKrisztian Pinter2013-07-184-465/+456
| | | | | | | | Known issue: after starting a module from the startcenter, and closing it, the buttons for the modules remain stuck after hovering the mouse over them Change-Id: I50883868764565be62a2f123a832154ef015e763
* String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara2013-07-141-6/+4
| | | | Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
* use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2013-07-131-1/+1
| | | | | | | | If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
* PCH for more librariesLuboš Luňák2013-07-128-11/+423
| | | | Change-Id: I6f9a1969605e0016b11157ddb5754ac77fd3966b
* remove duplicate debug area for framework/Luboš Luňák2013-07-111-3/+3
| | | | | | | It'd be probably better to rename all the cryptic abbreviations instead, but two different debug areas for the same thing simply doesn't work well. Change-Id: I895fadb47ebf408a36d13dbb32386caa3f472f1c
* Resolves: #i122678# Workaround for dynamic cast runtime bugAriel Constenla-Haile2013-07-081-2/+2
| | | | | | (cherry picked from commit be9ff0830ba1f8b3c782aa269c78657d264e48a9) Change-Id: I89a7b4ba8680606d97c26b9fde604f63ca814319
* module svl: all String and some bool and related clean-upNorbert Thiebaud2013-07-071-13/+13
| | | | | | | Change-Id: I36eb559fa58dbe75384b7119c788af0048813aed Reviewed-on: https://gerrit.libreoffice.org/4733 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* fdo#66524 - defer population of AddOns toolbar icons until they are shown.Michael Meeks2013-07-054-8/+38
| | | | | | Some addons eg. LibreLogo are almost never shown, so avoid their startup cost. Change-Id: Ibbc072dd740eca6a97aeff918ae0a5c105278acf
* fdo#66524 - defer loading and scaling AddOns images until necessary.Michael Meeks2013-07-051-111/+102
| | | | | | | | | Avoid expensive scaling of images that we will not use, don't hard-code the toolbar size - but query it instead from the toolbar/theme, unwind various other tangles: still quite some cleanup left here including HC handling. Change-Id: Ia2a1a0f91e5910c2de01f11229b32ed71dd8cf28
* module sot: String, bool and other clean-upNorbert Thiebaud2013-07-041-0/+1
| | | | | | | | Change-Id: Ibe2bfdf20c500e9fd98c3baef66d36aa79ca4b52 Reviewed-on: https://gerrit.libreoffice.org/4710 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* OUString convertion for unotoolsNorbert Thiebaud2013-07-021-2/+2
| | | | | | | | Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707 Reviewed-on: https://gerrit.libreoffice.org/4659 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* remove OUString wrap for string literalsThomas Arnhold2013-06-2921-45/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* remove toolkit/unohlp.hxx hackThomas Arnhold2013-06-2822-22/+21
| | | | | | | Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* fdo#43460 framework,i18npool,accessibility: use isEmpty()Jelle van der Waa2013-06-242-2/+2
| | | | | | | Change-Id: I4cd9841127b1d4a294d7f001b646259c61eb1172 Reviewed-on: https://gerrit.libreoffice.org/4443 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Resolves: #i121577# Allow setting toolbar name in Addons.xcuAriel Constenla-Haile2013-06-242-10/+72
| | | | | | | | | | | | (cherry picked from commit 37894067213a63c51c7a73083d7b0ace5f5c40da) Conflicts: framework/inc/framework/addonsoptions.hxx framework/source/fwe/classes/addonsoptions.cxx framework/source/layoutmanager/toolbarlayoutmanager.cxx officecfg/registry/schema/org/openoffice/Office/Addons.xcs Change-Id: Icc8ed1bb5ac2cfecd6c03c53c137c503dc78bc66
* Resolves: #i116455# Make toolbar style settings persistentAriel Constenla-Haile2013-06-241-5/+9
| | | | | | | | | (cherry picked from commit fff79c8807c5b174507888a8e393f2605b28ea29) Conflicts: framework/source/layoutmanager/toolbarlayoutmanager.cxx Change-Id: I25bfff7116c04aa6e40a062ce465960e50f68f7c
* Resolves: #i122401# framework::NewToolbarController needs...Ariel Constenla-Haile2013-06-242-14/+16
| | | | | | | | | | | | early initialization of its PopupMenu (cherry picked from commit 5149ad822bb66cca9561b7c181c6c2279affc29a) Conflicts: framework/inc/uielement/popuptoolbarcontroller.hxx framework/source/uielement/popuptoolbarcontroller.cxx Change-Id: I619fe7b86a19b146079792a73a50d23682d04a3c
* Add missing copy&paste of SfxAppToolBoxControl_Impl::SelectAriel Constenla-Haile2013-06-242-1/+42
| | | | | | | | | | (cherry picked from commit 47204c74d9e52f54f6983af19b66af2a96b42e61) Conflicts: framework/inc/uielement/popuptoolbarcontroller.hxx svtools/inc/svtools/toolboxcontroller.hxx Change-Id: I304d17c662450f29eeffb17f576b418986f3fb0a
* Kill SfxAppToolBoxControl_ImplAriel Constenla-Haile2013-06-241-1/+1
| | | | | | | | | | | | | | | | | | | (cherry picked from commit 273121f8d7e277e35c8e5a8aad46ef0c103ebc03) Conflicts: sfx2/inc/sfx2/mnuitem.hxx sfx2/inc/sfx2/tbxctrl.hxx sfx2/source/appl/appreg.cxx sfx2/source/menu/mnuitem.cxx sfx2/source/toolbox/tbxitem.cxx Change-Id: I6d0750d89ad009f82c5552d971537b78e45426f2 Silence warning C4706 (cherry picked from commit 0b373b3e4c45d09c40a8949e9366adb9b991de4b) Change-Id: Id497469eba8288565145c47c84b7938a1316c21a
* framework::PopupMenuController clean-upAriel Constenla-Haile2013-06-2410-319/+520
| | | | | | | | | | | | | | | | | | | | Changed the name, it is not a PopupMenuController, but a ToolbarController that shows a PopupMenu filled at runtime by a PopupMenuController Make it a base class for other ToolbarController components, there is no sense to make it a component by itself Use this base class for three new pure UNO ToolbarController's (cherry picked from commit 9d1015051c92900def3d465d2eb8bf179f19a398) Conflicts: framework/Library_fwk.mk framework/inc/uielement/popupmenucontroller.hxx framework/source/uielement/popupmenucontroller.cxx officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu Change-Id: I2f5ec06df098d65ffaa17a8f7f6f3ea8774b43c3
* Resolves: #i121542# Unify the Menu APIAriel Constenla-Haile2013-06-2313-35/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit 399946b82f5efec19cd82d1c320d5aa9295d235d) Conflicts: chart2/source/controller/main/ChartController_Window.cxx framework/source/uielement/langselectionmenucontroller.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/recentfilesmenucontroller.cxx framework/source/uielement/toolbarsmenucontroller.cxx odk/examples/DevelopersGuide/GUI/UnoMenu.java odk/examples/DevelopersGuide/GUI/UnoMenu2.java odk/examples/cpp/StatusbarController/SelectionModeStatusbarController/SelectionModeStatusbarController.cxx offapi/com/sun/star/awt/MenuBar.idl offapi/com/sun/star/awt/MenuEvent.idl offapi/com/sun/star/awt/MenuItemStyle.idl offapi/com/sun/star/awt/MenuItemType.idl offapi/com/sun/star/awt/MenuLogo.idl offapi/com/sun/star/awt/PopupMenu.idl offapi/com/sun/star/awt/PopupMenuDirection.idl offapi/com/sun/star/awt/XMenu.idl offapi/com/sun/star/awt/XMenuBar.idl offapi/com/sun/star/awt/XMenuBarExtended.idl offapi/com/sun/star/awt/XMenuExtended.idl offapi/com/sun/star/awt/XMenuExtended2.idl offapi/com/sun/star/awt/XMenuListener.idl offapi/com/sun/star/awt/XPopupMenu.idl offapi/com/sun/star/awt/XPopupMenuExtended.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb svtools/inc/svtools/popupmenucontrollerbase.hxx svtools/source/uno/popupmenucontrollerbase.cxx svx/source/tbxctrls/extrusioncontrols.cxx toolkit/inc/pch/precompiled_toolkit.hxx toolkit/inc/toolkit/awt/vclxmenu.hxx toolkit/inc/toolkit/helper/listenermultiplexer.hxx toolkit/source/awt/vclxmenu.cxx Change-Id: I3d9a1e109b9ff35901a3075b44a4c27e7c12b5c7 Related: #i121542# css::awt::XPopupMenu::execute() needs a Rectangle (cherry picked from commit c01a6f4f370b72f0751cf4f5c11310682e2b3248) Conflicts: odk/examples/DevelopersGuide/GUI/UnoMenu2.java offapi/type_reference/types.rdb toolkit/inc/toolkit/awt/vclxmenu.hxx Change-Id: I2cccc95086fe3d1522d03346e3c577fb2f21f621
* Small (hopefully non-controversial) changes to the existing brandingStefan Knorr2013-06-181-4/+4
| | | | | | | | | | * Make sure about window background covers entire window * Make sure start center images are centred Change-Id: I402448ef4ea77633fe4e1ad5d5f93952efb495af Reviewed-on: https://gerrit.libreoffice.org/4308 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
* add missing modelines.Michael Meeks2013-06-1610-0/+28
| | | | Change-Id: Ia0472d4dbce203f0b813e353b4b29f9dc9618664