summaryrefslogtreecommitdiff
path: root/basctl
AgeCommit message (Collapse)Author
2012-10-23fdo#46808, Adapt packages::manifest::ManifestWriter UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file Change-Id: I04c617a97262e9cc96af17fcae9cc084245c0149
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-23fdo#46808, Adapt ui::dialogs::FolderPicker UNO service to new styleNoel Grandin
Create a merged XFolderPicker2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I4a2c2a8d491a8d5633c19ddcea547f0efe75b91d
2012-10-22Some ::rtl::OUString to OUString in basctlRicardo Montania
Change-Id: Ifbc60c2e6f2906cc0b7a3ea3fb9dfa1a8421d6a2 Reviewed-on: https://gerrit.libreoffice.org/896 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-10-22OUString cleanup in basctlRicardo Montania
Change-Id: I9644427f6d3bb4b2f488325eb520b365115a8e82 Reviewed-on: https://gerrit.libreoffice.org/892 Reviewed-by: Ivan Timofeev <timofeev.i.s@gmail.com> Tested-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2012-10-19Merge SvLBoxTreeList and SvTreeList.Kohei Yoshida
Change-Id: I318ff6f1009b1aaa7d0bd3abb250f92fb51a21cd
2012-10-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-18more explicit char* => OUString conversion in basctlPetr Mladek
it will hopefully fix build on the Windows tinderbox
2012-10-16More rtl::OUString cleanup in basctlRicardo Montania
Change-Id: Ife2754b17e111c0e129670b95bd2e16d81ad906c Reviewed-on: https://gerrit.libreoffice.org/873 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-16rtl::OUString cleanup in basctlRicardo Montania
Change-Id: If57c184b355224f31fdf7872ab1f52c034e5c7f0 Reviewed-on: https://gerrit.libreoffice.org/872 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-15Use isEmpty().Jan Holesovsky
Change-Id: I0b2a30384cbbe3f05d25968c4e7e19e84c23e267
2012-10-13fix String->OUString conversionIvan Timofeev
Change-Id: Icc21b8998f205b635a21275ea4355824eca83a60
2012-10-13Review corrections in basctl/.../basobj3.cxxRicardo Montania
Change-Id: I905e85ce9d754047ad287c9dd3caa92427b25b0d
2012-10-12766 gerrit patch, fix appendAscii in bastype2.cxxRicardo Montania
Change-Id: I4409d1b0585a8c52cba14d1e67ccf776c6070c8a Reviewed-on: https://gerrit.libreoffice.org/854 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-09Some OUString and RTL_CONST refactoringRicardo Montania
Change-Id: I27709f12ef6e3448ed457bd0e9f2056979ba0291
2012-10-09::rtl::OUString to OUString in basctlRicardo Montania
Change-Id: If6a53fd69f8a99bafc7fc324911132dd51e67266
2012-10-09More ::rtl::OUString to OUString in basctlRicardo Montania
Change-Id: Ie27a55e933462c644f315d0123978082054d79af
2012-10-09rtl::OUString to OUString in basctlRicardo Montania
Change-Id: Iaa56c5f8a15032c3102ad58011c80e3c86fe287c
2012-10-05More ::rtl::OUString cleanup in basctlRicardo Montania
Change-Id: If7cefe8d2e188e65a465a25a5d5f77e6daebcd17 Reviewed-on: https://gerrit.libreoffice.org/760 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-05::rtl::OUString to OUString in basctlRicardo Montania
Change-Id: I34228049e15ee8a899a4c5e1484d7ed3bc541dd4 Reviewed-on: https://gerrit.libreoffice.org/748 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-03OUString and RTL_CONSTASCII_US... cleanup in basctlRicardo Montania
Change-Id: I440d245d013873ec2830280ad01a4d0625fc4c1a Reviewed-on: https://gerrit.libreoffice.org/741 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-10-01Use prefixTor Lillqvist
Change-Id: Ide081f18af82e68b55d6d48168a0a567e5e64f04
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28::rtl::OUString to OUString in basctlRicardo Montania
Change-Id: I7be699102eab9cbf7184a5777a4b161db885adec Reviewed-on: https://gerrit.libreoffice.org/711 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-28convert writer, draw, impress, calc and starmath printer dialogsCaolán McNamara
to new-style widget layout mostly described in .ui format Change-Id: I8ead53a246a8ac3e2d446d158f06d7e2e436ce60
2012-09-27::rtl::OUString cleanup in basctlRicardo Montania
Change-Id: Icb6f04d6ad22f1652abbb399beb08645daf8b9c9 Reviewed-on: https://gerrit.libreoffice.org/705 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2012-09-27String to OUString in basctlRicardo Montania
Change-Id: I52ce4fcf4b02746df898c7fbbf57a58b274dd0b2 Reviewed-on: https://gerrit.libreoffice.org/706 Tested-by: Noel Power <noel.power@suse.com> Reviewed-by: Noel Power <noel.power@suse.com>
2012-09-27fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new styleNoel Grandin
Create a merged XGlobalEventBroadcaster interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also add two interfaces to the IDL, which the service already implemented, and existing client code already used. Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-24callcatcher: update unused code listsCaolán McNamara
Change-Id: I58bad0806354eff2e91370ab3395199fa8691764
2012-09-24::rtl::OUString to OUString in basctlRicardo Montania
Change-Id: I3fc3d463fbaefe31b3541502c9f3dfbd4d1db4f9 Reviewed-on: https://gerrit.libreoffice.org/678 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-10-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I5f450365498304d8118dce88af3becc5a8c9ddeb
2012-09-07-Werror,-Wmismatched-tagsStephan Bergmann
Change-Id: Idc0830c4b893f55f56e0d322e87b4eff4a60d995
2012-09-07-Werror: initialize iLastWin with an invalid valueUray M. János
iLastWin will get a valid value if !bEmpty Change-Id: I8f598b7a9d5e8317fca0ef0fcc3313bc0691f0da
2012-09-07basctl: int -> long for Point and SizeUray M. János
To be consequent, because Point and Size use long. Change-Id: I776a1839ee5d2cbdbcedad2b2922cb33b94c7b37
2012-09-07Basic IDE: Filling space of non-docking windowsUray M. János
Now if we make e.g. the stack window floating, then the watch window will occupy the whole width of the line (and vice versa, also for the Dialog Editor with object catalog and property browser). If we put it back again, than we get back the previous state of the strip. Change-Id: I634614ff2e9d5f790ad759656a79a38d49c4afc4
2012-09-07Cleanup in basctl (raw pointers)Uray M. János
Lots of raw pointers have been converted to boost::scoped_ptr to reduce the number of 'delete's and the possibility of memory leaks. Some pointers have been converted to references, to reduce the needless checking for nullptrs, and so simplifying the code. Also some #define-s have been converted to C++ constants or enumerations. Change-Id: Ifbeb78f744bac7a96c8a446ff4db90dedf85fe26
2012-09-07Fix for docking property browserUray M. János
This fixes the crash of 'Basic IDE: Docking property browser under object catalog' commit. The aPropertyBrowser data member was replaced by a new-allocated pointer. We need this because toolkit releases it by delete. When the property browser is closed in the floating state, it tells DialogWindowLayout to null the pointer. If the user clicks the 'property browser' button on the toolbar, it is created again. Change-Id: Ie842a72fe37dfdd2ed5921ffa2f1f41d3f2c51c6 Reviewed-on: https://gerrit.libreoffice.org/568 Tested-by: Noel Power <noel.power@suse.com> Reviewed-by: Noel Power <noel.power@suse.com>
2012-09-07Basic IDE: Docking property browser under object catalogUray M. János
Now the property browser can be docked in the same way as all other dialogs in the Basic IDE and the Dialog Editor. The property browser (PropBrw, for which PropertyBrowser would be a better and easier-to-remember name IMO) is derived from basctl::DockingWindow instead of SfxDockingWindow. PropBrwMgr was removed (it seemed to be only a wrapper), and PropBrw is now a data member of DialogWindowLayout (aPropertyBrowser). Change-Id: I06737a5cbc985888432630714cb919d1bbbcbb49 Reviewed-on: https://gerrit.libreoffice.org/518 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2012-09-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin
Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853