summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)AuthorFilesLines
2016-07-28Revert "temp tinderbox fix"Caolán McNamara1-15/+7
This reverts commit d4cb9c3a8851cb874fd8b6c77d4d7521da7579b7. Change-Id: Ifd11427ea6b4137d0e0c007e7f140fbc6caa3f31
2016-07-28sfx2: just use Idle in SfxItemDisruptor_ImplMichael Stahl1-15/+11
This Application::InsertIdleHdl() stuff is ancient and now obsolete. Change-Id: I082870328711b2159b05d8cb077c0e439b7ee94c Reviewed-on: https://gerrit.libreoffice.org/27597 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-07-27temp tinderbox fixCaolán McNamara1-7/+15
Change-Id: Id233762e6b8547078544c55b2932462a10749882
2016-07-27tdf#95144: Add a default css::ucb::XCommandEnvironmentGiuseppe Castagno1-1/+11
Makes use of a dedicated interaction wrapper to server ssl certificates correctly. See comphelper::SimpleFileAccessInteraction for details. Change-Id: I5728225065ec03f9b793940de316ccd97ee7114d Reviewed-on: https://gerrit.libreoffice.org/27596 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-27tdf#101116 Template manager not correctly exposed to assistive technolgiesAkshay Deep1-0/+2
Tooltips to work as labels Change-Id: Ie4637028b018a962ce8c59667c43ae4eee0fea74 Reviewed-on: https://gerrit.libreoffice.org/27575 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-27Start Center: Separate thumbnail view buttons in UIAkshay Deep1-24/+35
Change-Id: If406b3d13ef3b39334079f9c41ef0c25dd2e21f9 Reviewed-on: https://gerrit.libreoffice.org/27571 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-27cppcheck: noExplicitConstructorCaolán McNamara4-4/+4
Change-Id: Id0a6cd461b2ba56e3b9b944514f3b0d0eb75cc44
2016-07-27improve passstuffbyref return analysisNoel Grandin11-23/+23
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-26crash on clicking links in offline helpCaolán McNamara1-4/+1
Change-Id: I59f9ca3293dacbf02af49215cd8334291927f324
2016-07-26masses of MessBoxes not being disposed promptlyCaolán McNamara13-31/+31
since... commit ba81e5c6bd420b41a84ade6ccd774011a8089f7f Date: Thu May 28 21:35:43 2015 +0100 tdf#91702 - fix stack-based MessBox allocation. There is no special ScopedVclPtr<X>::Create or ScopedVclPtrInstance<X>::Create just VclPtr<X>::Create and a raw VclPtr<X>::Create()->foo doesn't call dispose on the owned X Change-Id: Ifacc8d5e742820701307c3c37b9b86487667d84f
2016-07-25tdf#101089 Distribute the Dutch example classification fileGabor Kelemen1-0/+1
Change-Id: I3692f313b728219ed2d7d2b57aee7209f852d04e Reviewed-on: https://gerrit.libreoffice.org/27461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-25new loplugin overrideparamNoel Grandin1-1/+1
verify that parameters on override methods have the same set of default values for their params as their parent/super-methods do. Change-Id: Ibdbc1c6e417fbaa680ea025a6bbf5ba9c2e5bcd2 Reviewed-on: https://gerrit.libreoffice.org/27437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-24tdf#101088 fix Dutch translation of <baf:Scale> tagsGabor Kelemen1-4/+4
Change-Id: I8cf4ff4ab84ee10c51e98e2622dde4f7bafcf849 Reviewed-on: https://gerrit.libreoffice.org/27460 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-23tdf#101087 Add Hungarian example xml for classificationGabor Kelemen2-0/+72
Change-Id: Ic35a2c12973863545397c417704a1e68703daec4 Reviewed-on: https://gerrit.libreoffice.org/27459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-07-22Fix typosAndrea Gelmini1-1/+1
Thanks to Carlo Bertoldi for the german translation. Change-Id: I76f554e757318aed4e28b5a05fae0ba15bd46afb Reviewed-on: https://gerrit.libreoffice.org/27355 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-07-22tdf#100351 example_pt-BR.xml for classificationOlivier Hallot2-0/+72
Change-Id: I2857d1209b7261cbbbf6908d7e8dde84be3e1da5 Reviewed-on: https://gerrit.libreoffice.org/27371 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-07-22GSoC notebookbar: file menuSzymon Kłos7-3/+219
+ added icon to the notebookbar, after click the file menu will appear Change-Id: I30e1ed7e2c4a194e150c7196652904fd4e5c9e8e Reviewed-on: https://gerrit.libreoffice.org/27347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-19sfx2 lok: expose part number in SfxLokHelper::notifyOtherViews()Miklos Vajna2-0/+7
This way a client can decide if the view cursor it gets is relevant (the views show the same part) or not. Change-Id: I7b274b28f0c4f0509df5071831acf50512eff640 Reviewed-on: https://gerrit.libreoffice.org/27311 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-18GSoC notebookbar: don't show empty space for hidden tabsSzymon Kłos1-1/+1
Change-Id: Ia00f64c1cb5d990e852cc297b6b7bd76df4b1b05 Reviewed-on: https://gerrit.libreoffice.org/27191 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-18GSoC notebookbar: dropdown with hidden objectsSzymon Kłos6-4/+257
+ added dropdown for hidden content Change-Id: I86c9277d91b18fbe9e8505ccf170196fdb28638f Reviewed-on: https://gerrit.libreoffice.org/27241 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-16Resolves: tdf#100910 yes/no doesn't clear bgCaolán McNamara1-2/+2
Change-Id: If6a31cefe7137d338a57b5a28dfda63809957190
2016-07-15sfx2 lok: handle when SfxViewFrame::Current() returns nullptrMiklos Vajna1-15/+2
In these two cases no need to call it and dereference the result unconditionally, there are other ways to get the info. Change-Id: Idb5969e909dc2faed97a5a4ac79dfcc1aec8ddcd
2016-07-15sw: indentation fixesMiklos Vajna1-2/+2
Change-Id: I6cdc7cff7c45e58c9b684ff53a8dd84af7cf0c83
2016-07-15new loplugin unnecessary overrideNoel Grandin11-92/+0
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb Reviewed-on: https://gerrit.libreoffice.org/27135 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-07-14sc lok: add more toolbar itemsHenry Castro1-4/+6
.uno:SortAscending .uno:SortDescending Change-Id: I3d307b43fb18ffce75b00a0b919b63320bf6db05 Reviewed-on: https://gerrit.libreoffice.org/27223 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-14Dutch example.xml - file added too.. - related: tdf#100352Cor Nouws1-0/+71
Change-Id: I8f16c5982a4ca10bebf0acd5de718b9dbdfe61d8 Reviewed-on: https://gerrit.libreoffice.org/27200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-07-13these can be references nowCaolán McNamara1-12/+12
Change-Id: I4b58c362cd01387f05aa7bf70b3f47794fd5bc32
2016-07-13Remove SfxInterface::operator[]Mark Page1-4/+4
This operator can be confusing when reading the SfxSlotPool source Also this operator could return nullptr that SfxSlotPool doesn't check or require. Change-Id: I8d6009ea1b1f18e7022f1e7065c27f31feb02a6a Reviewed-on: https://gerrit.libreoffice.org/27185 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-07-13Moved SfxModule owner to SfxApplicationMark Page3-42/+19
::GetAppData replaced with SfxApplication::GetModule that now returns SfxModule* SfxModule no longer registers self for ownership instead it is now registered using SfxApplication::SetModule Change-Id: Ifbbe1b2b4c5122da8e643b7926d47878d116c6c8 Reviewed-on: https://gerrit.libreoffice.org/26914 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-12Fix a warning when DontTerminateEdit is mentionedPranav Kant2-0/+4
DontTerminateEdit was added in a5a71cea62ac3041006c5e9815ae2317999639ac Change-Id: Ia1d2ac626dbdeea689a1f36494963be18316127f Reviewed-on: https://gerrit.libreoffice.org/27161 Reviewed-by: pranavk <pranavk@collabora.com> Tested-by: pranavk <pranavk@collabora.com>
2016-07-12tdf#100600 sfx2 classification: never replace the control with labelMiklos Vajna1-1/+3
Thanks to Caolán McNamara for pointing out where is the condition of the replacement in VCL. Change-Id: I7e1ef4a016a37b25e084c4c6467a42ca557069a4 Reviewed-on: https://gerrit.libreoffice.org/27133 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-10ditch the application per-language IsAutoMnemonicEnabled settingCaolán McNamara2-8/+0
Change-Id: I9734ada09edb6544a332893a7c5d31730b0d081d
2016-07-10ditch the multiply dialog width * X where X is based on language thingCaolán McNamara1-1/+0
Which should be unnecessary since the vcl layout work and optimal size widgets, and its a small and arbitary set of languages for which its set. Change-Id: Ifa397218510ade251f795cdd9360d6bdccb115b7
2016-07-10Menu's dispose needs non-zero ref count, tdf#100829Markus Mohrhard1-2/+2
Change-Id: Ie1db4aa8ab2487b9ef058478a2f86d43cf8eba41
2016-07-09tdf#100352 Make the watermarks and colored infobar work in SlovenianAdolfo Jayme Barrientos1-15/+15
The elements <baf:Scale> and <baf:Identifier> must match the values set in sfx2/source/view/classificationhelper.cxx to work. I moved the translated words to their proper place. Change-Id: Id860a375654e371742ba15435d3e73506ef5ef0e Reviewed-on: https://gerrit.libreoffice.org/26685 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-07-09tdf#75280 Cleaning up of sal_uIntPtr usage #2tymyjan1-4/+4
Change-Id: I673d99a61b6805e8ad2ef91736839620283a898c Reviewed-on: https://gerrit.libreoffice.org/27063 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-08Resolves: tdf#100452 class Date full (BCE,CE) proleptic Gregorian calendarEike Rathke1-1/+1
... implementing signed years with year 0 gap. Date(31,12,-1) last day BCE Date(1,1,1) first day CE New class Date member functions: * AddYears(sal_Int16) to be used instead of aDate.SetYear(aDate.GetYear()+sal_Int16) to handle year 0 gap. * convenience GetNextYear() to be used insted of GetYear()+1 * convenience GetPrevYear() to be used insted of GetYear()-1 * AddMonths(sal_Int32) * operator=(const css::util::Date&) New class DateTime member functions: * operator=(const css::util::DateTime&) Made some conversion ctors explicit, specifically Date(sal_Int32) Adapted hopefully all places that used a sal_uInt16 year to use sal_Int16 where appropriate. Eliminated some quirks in date handling found on the fly. Added era handling to i18npool icu calendar setting interface, which missing was responsible for 0001-01-01 entered in Calc being set as -0001-01-01, hence subtracting one day resulted in -0002-12-31. Change-Id: I77b39fba9599ebd5067d7864f6c9ebe01f6f578f Reviewed-on: https://gerrit.libreoffice.org/27049 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-07-08cppcheck: noCopyConstructorCaolán McNamara1-0/+3
Change-Id: Ic81697b8b1d826bf421a3b52f9a00f34536af8c8
2016-07-08GSoC notebookbar: container with prioritySzymon Kłos3-0/+156
+ extended vcl builder to parse priority + IPrioritable interface for controls with priorities + added IPrioritable as a base for VclContainer + Added PriorityHBox - box which shows controls if we have enough space PriorityHBox listen vcl events from SystemWindow to detect Resize Change-Id: I74ac1a80e7d0a061f5e7a8584dbb2abf956053c7 Reviewed-on: https://gerrit.libreoffice.org/26983 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-07loplugin:passstuffbyref also for {css::uno,rtl}::ReferenceStephan Bergmann9-9/+9
Change-Id: Idb9dba0a96236b7b4240a1e94693d16e77484a29
2016-07-07sc lok: add number format toolbar itemsHenry Castro1-1/+4
Change-Id: I420750d99d5998cb589d0d6ec0fb6555c41a85cf Reviewed-on: https://gerrit.libreoffice.org/27015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-07hitting esc while insert->table float is open crashesCaolán McNamara1-0/+1
Change-Id: I96817f0c061c29eafba942884fcf37788341ff20
2016-07-06sc lok: add toolbar item wrap text and merge cellsHenry Castro1-1/+3
Change-Id: I266b7171ee0a8a324ee8f71680f76c132b5c5fbd Reviewed-on: https://gerrit.libreoffice.org/26985 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Henry Castro <hcastro@collabora.com>
2016-07-06restore loplugin:vclwidget checking for calling clear() on VclPtr fieldsNoel Grandin4-0/+7
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405 Reviewed-on: https://gerrit.libreoffice.org/26806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-05Template Manager: Merge local view and abstract viewAkshay Deep8-381/+315
Change-Id: I789ca15f04d27c1fe1422ff1a81746004b627977 Reviewed-on: https://gerrit.libreoffice.org/26890 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-04merge sfx2::IXmlIdRegistrySupplier with SfxObjectShellNoel Grandin1-4/+5
Change-Id: I7e8bad6b1c944f14b850b91b902b82613c26faeb Reviewed-on: https://gerrit.libreoffice.org/26899 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04SfxModule to use initializer_list instead of variadic argumentsMark Page1-7/+6
The compiler can perform type checking with initializer lists Change-Id: I1d26b56a3a2b67fe719f33d758ca9b0c95ebd4d1 Reviewed-on: https://gerrit.libreoffice.org/26852 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04remove comphelper::string::removeNoel Grandin5-10/+6
and replace it with OUString/OString::replaceAll Change-Id: I37b1c3b51251dfd9d749d6f1060c75b3a93d7f1a Reviewed-on: https://gerrit.libreoffice.org/26850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04comphelper::OBaseMutex -> cppu::BaseMutexNoel Grandin1-2/+2
convert usage of deprecated class, and remove the old class Change-Id: I19fb9271090d19e5531622b58492e1a848d306e2 Reviewed-on: https://gerrit.libreoffice.org/26843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-07-04loplugin:stringconstantStephan Bergmann1-2/+2
Change-Id: I09f4dc83cd1408c4286a11a94f592b8e3d2b027c