summaryrefslogtreecommitdiffstats
path: root/toolkit
Commit message (Collapse)AuthorAgeFilesLines
...
* Changed SetText() / GetText() to take/return OUStringChr. Rossmanith2013-01-211-1/+1
| | | | | | | | | replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* fdo#46808, Adapt SystemClipboard UNO service to new styleNoel Grandin2013-01-151-7/+5
| | | | | | this is the datatransfer::clipboard::SystemClipboard service Change-Id: I00227a2d84e2f1eaf9ca1ebb4fbe1f1548a6621d
* we only ever want the preferred window size from GetOptimalSizeCaolán McNamara2013-01-141-1/+1
| | | | | | so remove the MAX and MIN options and simplify the whole lot Change-Id: Iaaf350c37e01f7fce434af760bcddb9b7d7135ea
* QUARTZ is equivalent to MACOSXTor Lillqvist2013-01-114-11/+11
| | | | | | | So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
* fix windows buildNoel Grandin2013-01-091-1/+1
| | | | | | broken by my UNO changes Change-Id: I40910d3c9e2fadb9288208689e71a5ec4f367fd4
* fdo#46808, convert UnoControl and sub-classes to XComponentContextNoel Grandin2013-01-0943-383/+352
| | | | Change-Id: I4ade267a44620f5a3af8009ac57a2456c62b83bc
* allow menu items to be referred to by a nameCaolán McNamara2013-01-071-2/+2
| | | | Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
* Cleanup: #include <tools/gen.hxx>Matteo Casalin2013-01-071-2/+1
| | | | | | | Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Call SetOutputSizePixelScaleOffsetAndBuffer for non-AndroidTor Lillqvist2013-01-071-6/+1
| | | | Change-Id: I59febb87f3da3098e1644087b498d9821b5d7047
* fix dialog language support mess fdo#42978Noel Power2012-12-201-2/+7
| | | | | | | | | | during some rework ( not sure if it was me or not ) we try to register ControlContainerBase on construction as a XModifyListener ( but it's not ). Patch make ControlContainerBase implement XModifyListener now. iirc the code in question was moved from UnoDialogControl at some stage and it appears some balls were dropped :-) Change-Id: Ifc7084bd7260ceb06334117582facb95bafb6fed
* Replace GUIBASE checks with equivalent OS checksTor Lillqvist2012-12-181-2/+2
| | | | | | | | | | | | | | | | | | | | | The idea is to get rid of GUIBASE and GUI checks as much as possible. GUIBASE=aqua <=> OS=MACOSX GUIBASE=WIN <=> OS=WNT GUIBASE=cocoatouch <=> OS=IOS GUIBASE=android <=> OS=ANDROID Don't set GUIBASE to these values any more in configure.ac either. GUIBASE_FOR_BUILD is not used anywhere. Conflicts: configure.ac postprocess/packcomponents/makefile.mk postprocess/packregistry/makefile.mk Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
* fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new styleNoel Grandin2012-12-061-6/+2
| | | | Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-303-8/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* toolkit: s/EventEvent/Event/ in a11y complex testMichael Stahl2012-11-291-5/+5
| | | | Change-Id: Ie8bf5881bb99d1d0c5202aadee69e330a5976528
* API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens2012-11-293-9/+9
| | | | | | | | | | | | | The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2012-11-282-10/+13
| | | | Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
* Make ~Window more robustStephan Bergmann2012-11-261-10/+13
| | | | | | | | ...in cases where the Window(WindowType) ctor did not call Window::ImplInit, so many members are null; if then a derived class's ctor throws an exception, ~Window must be careful not to dereference those null members. Change-Id: I12c4b1b5d7f3633387b85acf9da6d57c42e793b4
* some i18n wrappers with LanguageTagEike Rathke2012-11-231-11/+3
| | | | Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
* get rid of unnecessary LocaleDataWrapper temporary instancesEike Rathke2012-11-221-0/+1
| | | | Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
* AllSettings with LanguageTagEike Rathke2012-11-224-3/+4
| | | | Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
* fdo#51304: Remove @author annotationJosé Guilherme Vanz2012-11-205-5/+0
| | | | | | | | | | This commit removes some @author annotations and some cleanup. Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1122 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* warning C4100: unreferenced formal parameterMichael Stahl2012-11-191-1/+1
| | | | Change-Id: I49da06b94bdc91b1cdc4bb3d047804d353b0aba8
* targetted cleanup of misc. vba pieces.Noel Power2012-11-162-8/+5
|
* ensure translations are built before using themDavid Tardon2012-11-151-1/+1
| | | | Change-Id: Ia172f144616d7468466a057bb1a431b3047209fd
* fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin2012-11-151-1/+1
| | | | | | | Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
* merge SetDescription into SetTextCaolán McNamara2012-11-131-3/+3
| | | | | | that way the display text always matches the link text Change-Id: I3f4901803bd9354d2cd0fc29d7d91ccd8e3def54
* move svtools's FixedHyper.hxx to vclCaolán McNamara2012-11-125-122/+7
| | | | | | | merge with fixedhyperbase and map GtkLinkButton to FixedHyper. Convert to String while I'm at it. Change-Id: Ibc61fd29c01796561eeef952a159c82ff215a095
* Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann2012-10-313-21/+8
| | | | | | | | | | | | | ...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
* fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin2012-10-243-27/+9
| | | | | | | | | Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
* fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..Noel Grandin2012-10-242-4/+4
| | | | | | | ..because we want to use the name for the new merged interface for the Toolkit service. Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
* mark lcl_ functions static or rename them if they are not local at allLuboš Luňák2012-10-123-4/+2
| | | | | | http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I37b2c7b7acd31437f4be74b0163f4dac2279655b
* WaE: 's_hAccessibleImplementationModule' defined but not usedTor Lillqvist2012-10-071-0/+2
| | | | Change-Id: I700f66cbc3ddb01d723b9a50709b4b1d5ab66405
* Handle lack of module loading/unloading API when DISABLE_DYNLOADINGTor Lillqvist2012-10-071-0/+8
| | | | | | | | | | | | | | | | There are basicically two classes of cases: 1) Where the code is for obscure historical reasons or what I see as misguided "optimization" split into a more libraries than necessary, and these then are loaded at run-time. Instead, just use direct linking. 2) Where dynamic loading is part of the functionality offered to some upper (scripting etc) layer, or where some system-specific non-LO library is loaded dynamically, as it is not necessarily present on end-user machines. Can't have such in the DISABLE_DYNLOADING case. Change-Id: I9eceac5fb635245def2f4f3320821447bb7cd8c0
* Link directly to CreateWindow (in svtools) when DISABLE_DYNLOADINGTor Lillqvist2012-10-041-1/+19
| | | | Change-Id: Iaf1f6c0fc76b97b1cfca63edfb91d5a39988c8c0
* re-base on ALv2 code. Includes:Michael Meeks2012-10-03104-2356/+1477
| | | | | | | | | | | | | | | | tkr41: #117828# office crash fixed . (null pointer) + add unit test Patch contributed by Tobias Krause http://svn.apache.org/viewvc?view=revision&revision=1172105 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 remove the OutDev::GetKernPair* stubs completely Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1179221 reverting un-necessary OS/2 conditionals.
* toolkit: cleanup unit test, and remove obsolete src2xml.Michael Meeks2012-10-0324-3150/+5
|
* fs34b: integrated complex test cases into GNUMake's subsequentcheck targetFrank Schoenheit [fs]2012-10-033-97/+57
|
* Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2012-10-0116-17/+6
| | | | | | | Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solarisMichael Stahl2012-09-281-2/+2
| | | | Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* having two SetPosSizePixel is a blasted nuisanceCaolán McNamara2012-09-281-1/+1
| | | | | | | | | Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
* replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2012-09-255-12/+12
| | | | | | | Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* unusedcode: add #if SCROLLABLEFRAME for ScrollableWrapper<GroupBox>Matúš Kukan2012-09-211-0/+2
| | | | Change-Id: I68df188c229f7cd31d5b79c073fe9440e307ad1d
* Remove unused method "getScrollVisibility"Julien Nabet2012-09-201-1/+0
| | | | Change-Id: Ic0ecaad629cfaed7d249852db24fd24d2020686b
* Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann2012-09-181-1/+1
| | | | | | | | | | | | ...with the same rationale as recent 543158edba6678d3d76eee983a9d4edd2a422fee "Require XComponentContext.getServiceManager to throw instead of returning null" (this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGIN"). Removed comphelper::createProcessComponent[WithAguments] and replaced its few uses with direct calls to createInstance[WithArguments]. Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
* gridfixes: #i117145#Norbert Thiebaud2012-09-143-14/+25
| | | | | | | Change-Id: I215bcfca6a29274f7397d1100e3674d747ae19f2 Reviewed-on: https://gerrit.libreoffice.org/531 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* gridfixes: ensure removal of a column in grid control adjusts the cursorNorbert Thiebaud2012-09-143-56/+108
| | | | | | | Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a Reviewed-on: https://gerrit.libreoffice.org/554 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* gridfixes: #i117549# create/loadTabPageNorbert Thiebaud2012-09-141-7/+13
| | | | | | | | | use a GeometryControlModel only if the parent model is one, too Change-Id: I8cf7bb8cf721b6f841ddfbb7e02475c6e2c6741a Reviewed-on: https://gerrit.libreoffice.org/550 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>