summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2015-07-01prototype native gtk3 .ui loading message dialogfeature/gtk3nativedialogsCaolán McNamara1-1/+1
native gtkbuilder loading our .ui files Change-Id: Iff07d8d0d92e0c0f67fb10605f7329d46235aeff
2015-07-01some random tweaksCaolán McNamara4-31/+87
Change-Id: I305c23e5bf717c0a8f1e3889b3533458f242ec6f
2015-07-01split out ref-count-base into a base classCaolán McNamara1-23/+31
Change-Id: I90f86ae62fd03f71f87d2983189b21b0799da6e8
2015-06-30tdf#90452: Templates should adhere to the recent docs colors too.Jan Holesovsky2-4/+6
Change-Id: I5df89581796eca4e48e0a305d4319e4674f8dd87
2015-06-30tdf#90452: Implement the new design of the startcenter.Jan Holesovsky2-7/+6
See the comment 45 in the bug for the agreed design. Change-Id: I428f339df48f530f606525434a4a2be8a79acaab
2015-06-30Fix typosAndrea Gelmini6-6/+6
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-30Coverity 1308555, 1308562, 1308600: Drop some SAL_THROW_EXTERN_CStephan Bergmann1-14/+7
...from most rtl/bootstrap.h functions. They are effectively only called from C++ code (there is no plain C UNO binding), so it should be fine to let std exceptions (like bad_alloc or length_error) propagate from their implementations to call sites. (The exception is rtl_bootstrap_args_close, which is typically called from C++ dtors, so should not throw anyway.) This would strictly speaking be an [API CHANGE], but it should make no practical difference whether a process terminates abruptly because an exception cannot pass through a SAL_THROW_EXTERN_C() nothrow specification or because legacy client code does not expect exceptions to be thrown from functions from which SAL_THROW_EXTERN_C() has now been removed. Change-Id: I08e8479e9c5731e46021aadd6a725c1793024d10
2015-06-30Remove unnecessary includeStephan Bergmann1-1/+0
Change-Id: I46fffbdbf952b2eb67a469a5960bc94c8ee7d377
2015-06-30add English (Gambia) [en-GM] to language list, tdf#92442Eike Rathke1-0/+1
Change-Id: Ifcc2d9c53660f8af92739bd674987acfc1d610d2
2015-06-30remove some unnecessary typedefs to pointerNoel Grandin4-23/+15
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2015-06-29tdf#84381: Improved sidebar selection analyser for Calc and Draw/ImpressRishabh Kumar1-0/+1
Disables the area tab when a line is selected Change-Id: Ib02a68fb548a7cc10f9af7e0d1b6191119f18915 Reviewed-on: https://gerrit.libreoffice.org/16165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-06-29coverity#1308463 Uncaught exceptionCaolán McNamara1-2/+2
Change-Id: If0308eb0068951af425cb691672b915decc384a2
2015-06-29coverity#1308592 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I1a63116534430ebf8d203c21baf248a84a39b221
2015-06-29coverity#1308587 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I45e699ebf255e7d933a3b5d77717dcd7583d8383
2015-06-29lokdocview: Remove superfluous *_post_key()Pranav Kant1-4/+0
Instead directly let LOKDocView handle the input. Change-Id: I260a460df23c3e2e5c78d8b363bb864ae5c63dab
2015-06-29coverity#1308571 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ib844cbd5c5d7be28e4ee2922caf06fb43c7b8a46
2015-06-29Revert "return and use std::vector from OInterfaceContainerHelper"Noel Grandin1-12/+4
This reverts commit e57314f61f67b093510c5a8a8f34a62126ba8734.
2015-06-29remove custom RTTI from SvxAutoCorrectNoel Grandin1-2/+0
unused Change-Id: I2f4504fdbe88fa83abe6da8a1f733f9ae1c2742d
2015-06-29remove custom RTTI from SfxFrameNoel Grandin1-2/+0
unused Change-Id: I009f43d192942c14d0ccbf56c78257570c65e41a
2015-06-29remove custom RTTI from SotFactoryNoel Grandin1-1/+0
unused Change-Id: I22f55aa403cd97ce2c5bf6a521c14a693e4373a7
2015-06-29remove custom RTTI from ImageMapNoel Grandin1-2/+0
unused Change-Id: I74a26815a5e11fd68094e70adc5ffc3bd4c83d73
2015-06-29remove custom RTTI from SdrObjUserDataNoel Grandin2-3/+0
nothing is using it Change-Id: I9f86b7766b40cc2c4b725795b138e008b915c4fb
2015-06-29remove custom RTTI from XFillExchangeDataNoel Grandin1-2/+0
nothing is using it Change-Id: Ie626fcb7f35d98294ec41620c679d46a34a77d90
2015-06-29remove custom RTTI from SvDataCopyStreamNoel Grandin4-9/+0
nothing is using it, except perhaps for XFillExchangeData, which was using it incorrectly :-( Change-Id: Ib9246a20bc97ad91d3e3e97fa642217686fc8c46
2015-06-29SfxSimpleHint only needs a sal_uInt32 for the hintNoel Grandin2-9/+9
Change-Id: I7f7f99ba93d4f06575228e62f96703fd2c54c469 Reviewed-on: https://gerrit.libreoffice.org/16271 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-29sal_uLong->sal_Int32 in SvtIconChoiceCtrlNoel Grandin1-8/+6
and drop the pass-by-reference param from GetSelected, nothing uses it Change-Id: I6d616a2b147912af9305410625af6e7afae34e59 Reviewed-on: https://gerrit.libreoffice.org/16312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-29return and use std::vector from OInterfaceContainerHelperNoel Grandin1-4/+12
since most of the time we don’t need a heavyweight uno::Sequence. Adds a new method getElementsAsVector(). Change-Id: I9e72bef0c0c723ffd0dd7d4152db5baec6784a7a Reviewed-on: https://gerrit.libreoffice.org/15747 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-28coverity#1308564 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Iffb972ca2b89f8b943ec54db4d22db6b7052ab5f
2015-06-28coverity#1308551 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I61fb5e047b64873b3f5e07582dd1155340d7a1b5
2015-06-28coverity#1308548 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I62d538799a814346df4de00dc232a04376e77ad7
2015-06-28coverity#1308545 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ic2f04532680f0742ea11ab793fe2366d55cc7376
2015-06-28coverity#1308544 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Iebc59db0f9c6738da316c18f18eaefdbfed35936
2015-06-28coverity#1308539 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Id9cad4eaccd71c769fea06d71bbfdd03e8c112ae
2015-06-28coverity#1308515 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I22d666417a45eaecf4ade96e3b9207700d8fe778
2015-06-28coverity#1308509 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I6313447f6b62e5ab2a233bd418508afb84b9473b
2015-06-28Fix typosAndrea Gelmini3-3/+3
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28Fix typosAndrea Gelmini3-3/+3
Change-Id: Ifd126a535f18db79a18aaec61b76cdf26ab33dff Reviewed-on: https://gerrit.libreoffice.org/16522 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-28coverity#1308505 Uncaught exceptionCaolán McNamara1-1/+2
Change-Id: I952d464c2a9382c60b0616eeb0cf727e914785bd
2015-06-28coverity#1308503 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: I3ee78e7f4e6208523f4f47af974ccff82f6b823d
2015-06-28coverity#1308483 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I7d778173ecff7c343b289eb371b53b825f6cc301
2015-06-27coverity#1308460 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Idb239c4bcfa9cd593977425555702cf746272dd2
2015-06-27coverity#1308448 Uncaught exceptionCaolán McNamara1-1/+1
Change-Id: Ib6e994cc89ddfaf504f5b585127d5ea4fb257458
2015-06-26vcl: fix Win32 deadlocks from SolarMutexReleaserMichael Stahl1-1/+7
To create and destroy thread-affine Win32 Windows and DCs, non-main threads SendMessage() special messages like SAL_MSG_CREATEFRAME. The main thread must handle these messages and return the result to un-block the other thread. This works fine as long as the main thread is in its message loop anyway and blocked on GetMessage(); however if the main blocks trying to acquire the SolarMutex that is held by the sending thread, deadlock results. In order to work around this, there is some peculiar code in ImplSalYieldMutexAcquireWithWait() to avoid blocking the main thread on mpSalYieldMutex but instead block in GetMessage(). The crucial detail is that GetMessage() will immediately dispatch any message sent via SendMessage(), which avoids the deadlock. https://msdn.microsoft.com/en-us/library/windows/desktop/ms644936.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms644927.aspx Most of the Win32 WndProc that acquire SolarMutex do so via ImplSalYieldMutexAcquireWithWait(), but the main thread may also temporarily drop SolarMutex and re-aquire it with the questionable SolarMutexReleaser hack, which calls ImplSalAcquireYieldMutex() instead, which blocks on mpSalYieldMutex. Fix SolarMutexReleaser to call a new function Application::ReAcquireSolarMutex() that does the right thing here: acquire SolarMutex via ImplSalYieldMutexAcquireWithWait(). It turns out that this problem was already fixed before in commit 6a8fd4c76a969ac98d1aff91ff7442f43aee0006 but the problem was insufficiently documented in the commit and it introduced the bug that Application::Reschedule() was called without having the SolarMutex locked, which caused timers to run without SolarMutex, so the commit was reverted in 1ef1781390845d03b6e1518bbac81b818be62f3d. Change-Id: I60aae555a9ee3c6390f584feddbc6b3cb7de0250
2015-06-26Remove workarounds for no longer supported GCC 4.6Stephan Bergmann3-95/+56
In bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx, the #if also covered Clang, which actually needs these declarations (for now; the right fix will probably be to #include <cxxabi.h>). Change-Id: I1eebd59e2371f3498d740ab78244927358c4f23f
2015-06-26Add optimized OUString += literal overloadStephan Bergmann2-0/+42
Change-Id: Ib34196185f90204a71598f2c659c3fddce7a0e4d
2015-06-26SAL_WARN_UNUSED_RESULT missing from some of the operator+ overloadsStephan Bergmann1-0/+3
Change-Id: I70acf02c36ced3ff19f424768f293f2221ef7af5
2015-06-26Unnecessary nested #ifdef LIBO_INTERNAL_ONLYStephan Bergmann1-2/+0
Change-Id: I889aa10e0cb7b5779527e5ef2be5d707dd493e90
2015-06-25implement equalize width and height for impress/drawCaolán McNamara3-1/+10
Equalize width/height adjusts width/height of selected objects to the width/height of the last selected object. Change-Id: I7c222a6591112cb674322d310ebd87f04a9198bd
2015-06-25loplugin:stringconstant: Flag more inefficienciesStephan Bergmann1-1/+1
Change-Id: I0e2e161a29b653cf16b2e3a6ddeb89567b5342c8
2015-06-25Revert "Revert "Generalize OUStringLiteral1""Stephan Bergmann6-199/+413
This reverts commit 5cba714b4d03ed54debf71534ad8c8edc383a01e, now including a workaround for <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53658> "internal compiler error -- segmentation fault." Change-Id: I31f6d9ddcb0b884134703df2b9dc1800ba0a84be