summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-17Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann11-11/+25
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-17make CPPUNITTRACE=TRUE a shortcut for debuging on WNTBjoern Michaelsen4-3/+14
Change-Id: Ie834e1e1592163977435f0af6dde04c4fe86c1bf Reviewed-on: https://gerrit.libreoffice.org/19977 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-17refactor unittest help messageBjoern Michaelsen7-41/+76
- get platform switch logic out of shell script - platform specific stuff should be in $(GBUILDDIR)/platform, if possible - do not suggest shell-polluting exports, which might lead to confusion later, suggest setting the var as a one-off addition to the make command - move exception caching down, as it is assumed to be used rather rarely Change-Id: I01db3ca07582a6c6213ebac86fddabb28c925d50 Reviewed-on: https://gerrit.libreoffice.org/19976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann3-5/+7
Change-Id: I9865090364220527830b7f32d5b506e50a2c0874
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann1-2/+2
Change-Id: Ic025383863651f1ab70c4a819737106279d9aa1c
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann4-4/+4
Change-Id: I7fcaa4e86f264182db7f4e46c2388402f801531a
2015-11-17editeng: fix SvxTableField::operator==()Michael Stahl1-1/+1
This was erroneously returning false due to inverted dynamic_cast check, causing "svl/source/items/itempool.cxx:750: unequal items in Put(): no operator==?, with ID/pos 4048" (regression from fa91dd31f39a24329d288d4e1cda28db3a16af0d) Change-Id: I9c5b49150470fc78d58ecd2a2e990637627bd591
2015-11-17qadevOOo: fix race in the ScAccessiblePreviewTable event testMichael Stahl1-7/+11
XAccessibleEventBroadcaster::addAccessibleEventListener test calls the fireEvent() and the problem is that the event is triggered not on the print preview itself, but some toolbar button. This then causes an accessible event to be broadcast from the print preview too, but only after doAccessibleAction() returns, some time later from VCL main-loop. If the test checks the flag in the listener before the main thread sends the event, the test fails; try to fix that with XToolkit::processEventsToIdle(). Change-Id: Ia52bdf99cdc349ffb0a03536fba271b792caae0f
2015-11-17remove vestigial Adabas D references in tests etc.Michael Stahl6-119/+6
Adabas D connector was removed in 8256eb0205fcddb79a67be13d6507b2653ff5e08 Change-Id: Ie142763ac32728c1596c196d919cbe84e6735c96
2015-11-17vcl: add parameter to detect if OS events are processed during Yield.Michael Meeks16-31/+54
Intended as a non-functional change. Change-Id: I1915aad03786540da1a4bfe9031d33f2c2a9b4e3 Reviewed-on: https://gerrit.libreoffice.org/20006 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-17compilerplugins: enhance badstatics plugin to follow pointersMichael Stahl1-8/+70
.... and references. This gives numerous false positives as pointers may be re-set prior to shutdown, so needs a white-list. Change-Id: I19a011c6f19501cc31b3d9ae76b599296f132478 Reviewed-on: https://gerrit.libreoffice.org/19949 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-17Added Test for tdf#67238 table cell UnprotectVarun Dhall1-0/+95
Change-Id: Iaaaaca1bcc5f5b6274f54ef4fcd3f35ffe1a9cd0 Reviewed-on: https://gerrit.libreoffice.org/20008 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-17use unique_ptr for pImpl in ucbhelper/Noel Grandin14-19/+18
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
2015-11-17use unique_ptr for pImpl in unotools/Noel Grandin6-28/+24
Change-Id: I4128ca0d4ff18f6e0c3c9f8ecad13b69c38c3157
2015-11-17use unique_ptr for pImpl in ucb/Noel Grandin10-16/+13
Change-Id: I9a626a11d665b081a7b05db52955598dbd90721e
2015-11-17use unique_ptr for pImpl in vcl,vbahelper,uuiNoel Grandin6-8/+8
Change-Id: Icb7573c24c681a8fc0570d61b6a30dab91378eb8
2015-11-17use unique_ptr for pImpl in writerperfect/Noel Grandin4-8/+4
Change-Id: I23ab4d214ed01073f26cbbf2e88732ccde4ebc10
2015-11-17sw: unomapproperties.hxx can be private to unocoreMiklos Vajna1-0/+0
Change-Id: Ia3d1c1ccef53113e50f81a2f93aa157c4e23963b
2015-11-17Typo "stirng" -> "string"Stephan Bergmann2-2/+2
Change-Id: I08c98ed0f81894444a75adcf7da3a952c7f418cf
2015-11-17instead of converting from std::string to OUString...Xisco Fauli3-19/+15
... use OUString directly Change-Id: Ibdf863d7dbbb578e7fe87eac51e3d773a5b05199 Reviewed-on: https://gerrit.libreoffice.org/20009 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17Check for OpenGL errors right where an error might be generatedTor Lillqvist6-46/+123
CHECK_GL_ERROR() is now zero-cost in a production build, so no reason to avoid it. Don't check for OpenGL errors after glX or wgl calls. They don't generate OpenGL errors but use the X and Win32 error mechanisms, as far as I see. Change-Id: I8f97ef434cbdc89d6e345a247456cfc4a1a82bb6
2015-11-17use unique_ptr for pImpl's in xmloff/Noel Grandin35-78/+58
Change-Id: Ib95118941938af83fed566a085837e17f092017a
2015-11-16Updated coreAndras Timar1-0/+0
Project: translations 7a70fe0c90384e2259a141073d2db4d6bf0038c5 Updated Slovenian translation Change-Id: Ie3fd52c15d78d44e7e46207a92d7d23bab492814
2015-11-16If SAL_WARN() does nothing, no point in CHECK_GL_ERROR() eitherTor Lillqvist1-0/+4
Earlier, CHECK_GL_ERROR() always called OpenGLHelper::checkGLError(). That function looks up the OpenGL error status using glGetError(), which might be a not so light-weight operation, and outputs error information using SAL_WARN(). In a production build where SAL_WARN() is a no-op anyway, that is fairly pointless. Change-Id: I2d044bff6128a8ac7739020f8e414d7d3615e8d5
2015-11-16slideshow: initial work on "honeycomb" transition (incomplete)Tomaž Vajngerl5-2/+80
Change-Id: I4a46f7f1ec289f96f9fd1b849317b7548ac29383
2015-11-16Use injected class nameStephan Bergmann2-10/+10
Change-Id: I22bf0f7024538ea7a6c2c328a6647d3aeb478141 Reviewed-on: https://gerrit.libreoffice.org/20000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-16tdf#83300 DOCX import: 'TOC Heading' should not be 'keep with next' by defaultMiklos Vajna3-1/+6
On one hand, neither our binary DOC import, nor Word maps the "TOC Heading" style to something special, and that's how the DOCX import added that property to some paragraphs in the document, moving the as-char picture from the first to the second page. OTOH, the DOCX export filter has a lcl_guessQFormat() function that explicitly assumes that such a style name exists in Writer document models, so again it doesn't make sense to handle this style name with special care. Change-Id: I3af548930f9683695fc3ad56b486e013f107d61a
2015-11-16tdf#95824: Crash: when opening Function WizardJulien Nabet1-2/+1
Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=ccde2360d5c29bb99008cfae5ab3675bee4ca46c Let's just initialize m_pDoc in ctor Change-Id: I4fe0f8eff5439b3150c90ac14343aaf8e0a4e43e Reviewed-on: https://gerrit.libreoffice.org/20004 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-16vcl: de-layer needless module fragmentation in gtk and gtk3.Michael Meeks35-46/+46
Change-Id: I299fa196e960f14e9480e2ac1047bcdcc95b1021
2015-11-16opengl: remove unused mbPixmap & glPix members.Michael Meeks2-29/+11
We use textures bound to FBO's for everything in recent times. Change-Id: I7c9068d75b3653a2ceff0056e2ade1f27955422f Reviewed-on: https://gerrit.libreoffice.org/19995 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-16Add comment to 'direct' parameter: un-related to double-buffering.Michael Meeks1-2/+2
Change-Id: I07002fd73fc004439aea75c5aca8ca3700ec1079 Reviewed-on: https://gerrit.libreoffice.org/19996 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-16Remove the ability to set tooltips in the toolbar xml filesSamuel Mehrbrodt4-50/+7
It was possible to set a tooltip for a certain toolbar entry. However, this hasn't been used since that tooltip needed to be repeated for each occurence of the same command. Instead, a TooltipLabel property has been introduced lately (see 9c2f197e8e945f584e718e889938c06fbf644897). This doesn't affect extensions (They have their own format to specify toolbars). Change-Id: I0f0fd05b310bb49dd5b4123e31d3e7fec997dd15
2015-11-16this is pure cairo, no xlib foo hereCaolán McNamara1-2/+0
Change-Id: I037f4a293c64071306b782a156162735a2658e23
2015-11-16build cairo on androidCaolán McNamara14-40/+59
Change-Id: Ie2f7662a4cc3955963517f265894b8f6a495ece8 Reviewed-on: https://gerrit.libreoffice.org/19991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16sw lok comments: fix sidebar width with custom zoomMiklos Vajna1-11/+11
Change-Id: I6772cce10d157421d983d6b93efb52bf8b95f5b8
2015-11-16Move functionality to retrieve command image to CommandInfoProviderSamuel Mehrbrodt4-94/+79
Change-Id: I79c22e0507c5eba8b5e28721de3279131aececc9
2015-11-16Move CommandInfoProvider to vcl and use it from thereSamuel Mehrbrodt11-65/+47
Change-Id: If7e3ef81cad8974bc54f359096e3ecc700fa62d6 Reviewed-on: https://gerrit.libreoffice.org/19984 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-16sc lok: use client zoom for ViewRowColumnHeadersAndrzej Hunt2-0/+8
Change-Id: I85000851f82ea7cdc4b536683adbc8570de9af7e
2015-11-16tdf#94008 Crash opening password protected file - CJK UITakeshi Abe1-1/+1
This fixes a buffer overflow writing over the end of pCaretXArray, which can happen e.g. when drawing mnemonics in the password dialog. Based on a similar calculation of nCurrIdx found in GenericSalLayout::GetCaretPositions(). Change-Id: I7d723cf8cfaeb66f340c7d9ea5b3bc728c6d6209 Reviewed-on: https://gerrit.libreoffice.org/19385 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-16-Werror,-Winconsistent-missing-overrideStephan Bergmann1-1/+1
Change-Id: I3bb2764b625d44f6e0cecbdde3363440faef63b5
2015-11-16rename-sw-abbreviations.sh: Add Crsr -> Cursor, Frm -> Frame and Stk -> Stack.Jan Holesovsky1-1/+1
The build works fine with these now, and produces no (new) warning. Change-Id: I3e5aad7baaec172ee4d2b50ea66876bdb7e9cac5
2015-11-16don't allow caito to add -flto to its own cflagsCaolán McNamara1-2/+0
Change-Id: I22c66755e8e5ede01cf3e5f21c910f759b55de7a
2015-11-16sw: prefix members of SwChartDataSequence.Jan Holesovsky2-86/+86
Change-Id: Ie0c91e739ee7a3bda55fd6dd45aa79c6b75675d1
2015-11-16prevent ForceArray propagation on the same token, tdf#95670 follow-upEike Rathke1-1/+1
This may happen if the last RPN token is put and the function has a ForceArray parameter but now again would be wrong if not all parameters are ForceArray. Change-Id: I890fb6b5b88337033cfcf2e8189371ee39461205
2015-11-16Bin some const char arrays used only onceTor Lillqvist1-10/+2
Change-Id: I08c4cc689016708f4c219f36492bf827111bbc30
2015-11-16unit test for tdf#95670Eike Rathke1-0/+8
Change-Id: I5874a7fea97311b0e69dbeae8923517a08b63c9a
2015-11-16Resolves: tdf#95670 propagate ForceArray per parameterEike Rathke7-15/+86
Regression of b5cd11b4b02a85a83db77ba9d8d1763f0cd88cb1 It was always wrong to propagate ForceArray already if a function had a ForceArray parameter *somewhere*, we need to do this per parameter instead. Change-Id: If188d45366279d9a7bf641edc7e4dd7095d6d035
2015-11-16desktop: stop --convert-to from creating some not requested ...Michael Stahl1-60/+66
... file format by default if the requested filter does not exist. Much better to write an error message and do nothing. Change-Id: Ie5404772e7aae5751126bd4c2784b58177804448
2015-11-16sc: add some assertions on ScAccessibleEditLineTextDataMichael Stahl1-0/+6
JunitTest_sc_unoapi crashed when accessing a disposed ScTextWnd from ~ScAccessibleEditLineTextData(), but the ScTextWnd::dispose() would also call ScAccessibleEditLineTextData::Dispose() and clear mpWindow, so it seems impossible to observe a disposed ScTextWnd in the dtor? Change-Id: If571ee61d9a29601acb1de552ec1b9cc36d0d51e
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin21-103/+7
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>