summaryrefslogtreecommitdiff
path: root/sfx2/source
AgeCommit message (Collapse)Author
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-22remove unused fields pName and pMethodName in SfxSlot classNoel Grandin
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
2014-09-22fdo#84086 Fix assorted use-after-free bugsMatthew J. Francis
Change-Id: Iec004fffdb0afbe27bd69f379db90f6d904a8a65 Reviewed-on: https://gerrit.libreoffice.org/11553 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-22fdo#62104 Optimize thumbnail size by using PNG8 and other tricksTomaž Vajngerl
Change-Id: I54ece4a1977fe93c0e7bbb11774bd8657912c6bb
2014-09-21Disable the email sending menu entries when sandboxed on OS XTor Lillqvist
The way we send email doesn't work anyway in a sandboxed app on OS X. If we want to offer the functionality, we need to implement it in an OS X -specific way, perhaps using the Scripting Target functionality of Mail.app. What we need, to be really "native" in this regards on OS X, would be to have a "share" functionality that would in addition to sharing through email offer AirDrop, Facebook, Twitter etc. Like Apple's own apps. Quite possibly there are system APIs that automate much of that. But they probably require your app to be more "native" in other ways, too, like using NSDocument etc. Later... Change-Id: Id1424377b7d493d4ec696f3242dae55a2a67dfc7
2014-09-21Present tense and capitalizationAdolfo Jayme Barrientos
Change-Id: I4a4301f166036e294e4250c1ab1b599ad5bba7c5 Reviewed-on: https://gerrit.libreoffice.org/11526 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-17TyposJulien Nabet
Change-Id: Icf850c4b7b146a82a5638a3cd88ad02f3171aff3
2014-09-17Convert SvxColorWindow_Impl to Widget LayoutKrisztian Pinter
Change-Id: I8c830de56892fd8eb1c14add25f65c25046d47fd
2014-09-17Add writer document font colors to color palettesKrisztian Pinter
Change-Id: If3fedc45586eee068c40e92da87d5d550a456a64
2014-09-15Resolves: fdo#81635 crash after 3rd call to ApplicationScriptLibraryContainerCaolán McNamara
in PackageImpl::processPackage_ xComponentContext->getServiceManager()->createInstanceWithContext( "com.sun.star.script.ApplicationScriptLibraryContainer" does not increment the refcount, so on leaving the method the refcount is decremented by 1, because on the first enter the refcount happens to be three, then if the extension has more than 3 items in it the refcount hits 0 here and falls over some of fdo#79301, fdo#70607, fdo#66706 might be dups of this regression from 306efefe22e02248eff14f8be2cef68d75d26e55 I believe Change-Id: I3da50693fe656b68c5555b641d9b32246c8fc208
2014-09-12sfx2: sal_Bool -> boolStephan Bergmann
Change-Id: I2db25fa6f7b9fdc2096e622918b7e55228960a94
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-11create a master document template typeCaolán McNamara
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-10Typo: (N|n)ormaly->(N|n)ormallyJulien Nabet
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
2014-09-10no member named 'UNKNOWN' in 'SfxItemState'Tor Lillqvist
Change-Id: Ice3d2bc4a575b324377273cdb655e06577f6a4a2
2014-09-10more fixes for SfxItemStateNoel Grandin
In commit 88a874fc "convert SfxItemState constants to a proper enum" I made some mistakes in converting bitwise logic to boolean logic. I fixed one of those places in commit 7ad83656 "fix bitwise->logic conversion in SfxItemState commit" This commit fixes the other places where I converted bitwise to normal boolean logic. I also validated that none of the existing code tries to uses combinations of these enum values. This commit also introduces an exception-throwing check in the one place where the enum is explicitly cast to make sure that no combinations sneak in. Change-Id: I545f7d17b76c4fd999078867caec314e83ffe165 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-10Replace uses of old SFX_ITEM_AVAILABLE alias with SFX_ITEM_DEFAULTStephan Bergmann
Change-Id: I88eeac06413fc3935cbbdb357ff8bf9acaa383a8
2014-09-10fdo#55380 replaced use of obsolete interfacesDaniel Sikeler
Change-Id: I94fed6a9361f21457b3e631efffc0db833068aef Reviewed-on: https://gerrit.libreoffice.org/11256 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-10callcatcher: update unused codeCaolán McNamara
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
2014-09-10vcl: sal_Bool -> boolStephan Bergmann
Change-Id: Iff4da6d6281eb9194db348ebc10fbe7718538401
2014-09-09Doxygenize comments, and move them in front of the functions.Jan Holesovsky
Change-Id: I03723d1078b7ba726c8cc94887ca854324e3f9d8
2014-09-08coverity#1237351 Logically dead codeCaolán McNamara
Change-Id: Ia82d8d137c5f36cc48826cc851d6f00626e978aa
2014-09-06Related fdo#82088: removing aliases in headersStefan Weiberg
Change-Id: Id3496d1720630dd7a873edd04b664fc279c1c25e Reviewed-on: https://gerrit.libreoffice.org/11294 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06fdo#56562 OSX: Update URL in Writer title bar when saving .docMatthew J. Francis
Change-Id: I839ee3fd76d9c5666dd7f82cba26596c80ff2602 Reviewed-on: https://gerrit.libreoffice.org/11106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06FloatingWindows are no longer loaded from resource filesCaolán McNamara
Change-Id: I2705bbb4db52779e0065400f09604384fd9cf151
2014-09-06Window::GetType returns WindowType not ResourceTypeCaolán McNamara
yikes! Change-Id: I5aba88fbc1e452c85fb4a75260bc3518bdf5facc
2014-09-05convert RID_SCROLL_NAVIGATION_WIN floating window to .uiCaolán McNamara
Change-Id: I92d13856fc4d206323d5517a8a48671bba683fec
2014-09-03convert RID_SVXTBX_UNDO_REDO_CTRL floating window to .uiCaolán McNamara
Change-Id: I88a5e0aec20170dfb71bf28cb35e860773657937
2014-09-03Related fdo#82088: removing another bunch of aliasStefan Weiberg
Change-Id: I6e2ab6d20723803aedb530b4d25aa79ec0edbb8f Reviewed-on: https://gerrit.libreoffice.org/11260 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-09-02fdo#83302 don't display read-only infobar for Base form in normal modeLionel Elie Mamane
Change-Id: I03c32883dbf8421824069efea2318e67c8dc4313 Reviewed-on: https://gerrit.libreoffice.org/11231 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-09-02fdo#44081 don't remove 'edit' pop-up menu entry from form in design modeLionel Elie Mamane
Change-Id: I009b0e1a155c298bd7f461547125df4ba76805d9 Reviewed-on: https://gerrit.libreoffice.org/11230 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-09-02convert SID_RECORDING_FLOATWINDOW to .uiCaolán McNamara
Change-Id: Iae3f0269e5e7f830465580dc4a520ba01ef87a79
2014-09-02widget leak on filling non-existing infobar in helpCaolán McNamara
Window () with live children destroyed: PushButton (Edit document) Change-Id: I2aa05f59f08cfa78ba895933ef298908a9cbb675
2014-09-02extent .ui loading to SfxFloatingWindowsCaolán McNamara
Change-Id: I3e16ef8455b35faf14838509f315cb2f70e7cb9a
2014-09-01Revert "fdo#83302 don't display read-only infobar for Base form in normal mode"Miklos Vajna
This reverts commit 542ae4e06f9f70e328a3e85f1272ead558b36766, which breaks the build without 15cea073e7ed4970e60967fe036fc492e2052203, which had to reverted.
2014-09-01Revert "fdo#44081 don't remove 'edit' pop-up menu entry from form in design ↵Miklos Vajna
mode" This reverts commit 15cea073e7ed4970e60967fe036fc492e2052203. I overlooked the fact during review that this introduces an svx <-> sfx2 circular dependency.
2014-09-01fdo#44081 don't remove 'edit' pop-up menu entry from form in design modeLionel Elie Mamane
Change-Id: I9700d0d729a8f2d1255fcd03a07e05799e21f8d0 Reviewed-on: https://gerrit.libreoffice.org/11152 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-09-01fdo#83302 don't display read-only infobar for Base form in normal modeLionel Elie Mamane
Change-Id: I6faae7f5b1b2ec243c53453a8627bd0a540a46ad Reviewed-on: https://gerrit.libreoffice.org/11219 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-09-01fdo#83311 Fix infobar for documents with read-only propertySamuel Mehrbrodt
Change-Id: Ic813ab3eb74a088b60b4dc3dcd56e7b19683190c Reviewed-on: https://gerrit.libreoffice.org/11220 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2014-08-29Make opengl chart window always activeZolnai Tamás
Fortunately there is a special ole object group with the MS_EMBED_ACTIVATEWHENVISIBLE flag which define this behaviour. Problem is that both Aspect and EmbedMisc are MS specific enums so we can't use them directly for non-MS objects. But we can handle opengl charts the same as this ole object group. Change-Id: I49abeffce319cbb775709a72ba198a1f76b65374
2014-08-29fdo#80538 Show an infobar when document is in read-only modeSamuel Mehrbrodt
and remove the Edit icon from the toolbar Change-Id: I27d9506bd0fb76b3f1ad056a9866f7744674a3e2 Reviewed-on: https://gerrit.libreoffice.org/11182 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2014-08-28Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happyStephan Bergmann
Change-Id: I786e07caf28b2f5f898b50fc2a46247d821248cf
2014-08-28Reduce nesting / style in thumbnail creation routinesTomaž Vajngerl
Change-Id: I733b677f4d4c7dfdf6fef531b43e1de36131f55d
2014-08-28callcatcher: update unused codeCaolán McNamara
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
2014-08-28SfxMedium::Transfer_Impl: fix indentationMiklos Vajna
Change-Id: I05856f88dc1263bac39d9f1e76ef7c4697c345a6
2014-08-27callcatcher: update unused codeCaolán McNamara
Change-Id: Idaed255e4f004ad555ccbd6ba9dc29bf522d3c5f
2014-08-26convert sw use of template manager to new managerCaolán McNamara
this completes the conversion of resource hosted dialogs and tabpages to .ui gtkbuilder format Change-Id: Ic1b49d5560bfa47f287e04918c01daeebba28163