summaryrefslogtreecommitdiffstats
path: root/jurt
Commit message (Collapse)AuthorAgeFilesLines
* Cut down on -pthread/-lpthread proliferationStephan Bergmann2020-05-011-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Building against libstdc++ effectively always requires -pthread anyway (as various standard C++ headers require it, see the comment added to solenv/gbuild/platform/unxgcc.mk), so many explicit uses of -pthread/-lpthread can be removed. Doing a (partial) test build on Linux with Clang -stdlib=libc++ suggests that libc++ indeed doesn't need -pthread as libstdc++ does. The remaining uses of -pthread/-lpthread are mostly in configure.ac for the various BSDs (which somebody else might want to clean up now), and related to external projects. I tried to be careful to remove -pthread/-lpthread from makefiles only when C++ object files are involved (so -pthread will now be included on the link command line by default). Change-Id: I936e082839cb9a434bd273ce5a1f187a4245dfa1 Reviewed-on: https://gerrit.libreoffice.org/71291 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93206 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* tdf#123481 jurt: Avoid thread deadlockingSamuel Mehrbrodt2019-02-181-1/+3
| | | | | | | | | | | | Change-Id: I7b6454090aeb1046a814520166a5b8c39b716f6d Reviewed-on: https://gerrit.libreoffice.org/67861 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> (cherry picked from commit ea3c25358e3136cf900bc4e7d1bd6387dcca7883) Reviewed-on: https://gerrit.libreoffice.org/67958 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* Fix many Java subsequentcheck test by using JUHJan-Marek Glogowski2018-11-091-1/+1
| | | | | | | | | | | | | | | | | Splits gb_JunitTest_set_unoapi_test_class_and_jars into two separate defines as: - gb_JunitTest_use_unoapi_jars - gb_JunitTest_use_unoapi_test_class Then replaces many of the gb_JunitTest_use_jars lists with the new gb_JunitTest_use_unoapi_jars to fix the JUH dependencies. This probably adds some unneeded JUH dependencies to some Java tests, but that shouldn't be a problem. Change-Id: I0c4fce6b50f7c6eb8d62bfb2c50f056b97584794 Reviewed-on: https://gerrit.libreoffice.org/63119 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
* tdf#120703 PVS: V547 Expression is always trueMike Kaganski2018-11-031-44/+43
| | | | | | | | | This fixes possible leaks from missed pipe releases Change-Id: Ic3cdbd46e0eadc503e5711fe447d14bd5f0f7273 Reviewed-on: https://gerrit.libreoffice.org/62804 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* loplugin:external (clang-cl)Stephan Bergmann2018-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | Including: * expanding STDAPI to its definition (as per <https://msdn.microsoft.com/library/ms686631(vs.85).aspx> "STDAPI"), to add __declspec(dllexport) into its middle, in extensions/source/activex/so_activex.cxx; as discussed in the comments at <https://gerrit.libreoffice.org/#/c/60691/> "Get rid of Windows .def files in setup_native, use __declspec(dllexport)", having a function both listed in a .def file EXPORTS and marking it dllexport is OK, and the latter helps the heuristics of loplugin:external; however, the relevant functions in extensions/source/activex/so_activex.cxx probably don't even need to be exported in the first place? * follow-up loplugin:salcall in sal/osl/w32/file-impl.hxx Change-Id: Ida6e17eba19cfa3d7e5c72dda57409005c0a0191 Reviewed-on: https://gerrit.libreoffice.org/60938 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typo: s/an other/another/gAndrea Gelmini2018-08-291-1/+1
| | | | | | | | Change-Id: Ifd83affcb16209f4134c725640fbd95077c8ab0f Reviewed-on: https://gerrit.libreoffice.org/59099 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* the custom SAL allocator is no longer usedNoel Grandin2018-07-311-1/+0
| | | | | | | | | | | | | ever since commit bc6a5d8e79e7d0e7d75ac107aa8e6aa275e434e9 Date: Wed Nov 15 16:52:44 2017 +0530 Disable custom allocator which makes FORCE_SYSALLOC redundant which makes SYS_ALLOC redundant Change-Id: I42e1d651473e7601e2280d9fb0662c89808c88f6 Reviewed-on: https://gerrit.libreoffice.org/58263 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
* Use https instead of httpGulsah Kose2018-04-161-1/+1
| | | | | | | | | | | Use "https://cgit.freedesktop.org/libreoffice/core" instead of "http://cgit.freedesktop.org/libreoffice/core" Change-Id: Ic7248eeb2a9452da7236eeee08414a77714dd234 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/52926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Fix typosAndrea Gelmini2018-01-271-1/+1
| | | | | | | Change-Id: Id1a19f2c8b44131773d4d5270a607c1907b16597 Reviewed-on: https://gerrit.libreoffice.org/48684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jens Carl <j.carl43@gmx.de>
* Remove stdlib.h from sal/config.hStephan Bergmann2018-01-252-0/+5
| | | | | | | | | | | This reverts 5da3337c007e0572028283d70bad43e9a29d45c1 "readded include stdlib.h, because of missing NULL definition in many headers, #100000, #101685", which is no longer relevant. Change-Id: I544ed9a7afbf7b611bc481b8d50acca3193d93de Reviewed-on: https://gerrit.libreoffice.org/48131 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Fix typosAndrea Gelmini2018-01-171-3/+3
| | | | | | | Change-Id: I5fff9ccb1bc74b85ee378439ffa2272583ffcb0f Reviewed-on: https://gerrit.libreoffice.org/48024 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2018-01-141-2/+2
| | | | | | | Change-Id: I2b4988e1d81fe60f7699362480cd739d2620c053 Reviewed-on: https://gerrit.libreoffice.org/47856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2017-12-191-1/+1
| | | | | | | Change-Id: Ibffe19c1dfda9d0f4ba8d2a0761ad1222491007f Reviewed-on: https://gerrit.libreoffice.org/46599 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* loplugin:includeform: jurt (Windows)Stephan Bergmann2017-10-271-3/+3
| | | | Change-Id: I8f9c8bdcb3cabc47dfd211c28a70e90aae86339a
* loplugin:includeform: jurtStephan Bergmann2017-10-231-2/+2
| | | | Change-Id: I27eaa6a60f85c2f02205babb9369a56441604d8c
* Use more WIN32_LEAN_AND_MEANMike Kaganski2017-09-161-0/+1
| | | | | | | | | https://msdn.microsoft.com/en-us/aa383745 Change-Id: I83528dc8e6a5e119e7aa816219d35f1ea3723b96 Reviewed-on: https://gerrit.libreoffice.org/42338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Typos for "available"Julien Nabet2017-09-021-4/+4
| | | | | | | Change-Id: I8050b1f2ea5414b6e6da3392e8e22d330c794ff5 Reviewed-on: https://gerrit.libreoffice.org/41836 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* new loplugin:droplongNoel Grandin2017-08-141-1/+1
| | | | | | | | | | | | The types 'long' and 'unsigned long' are different sizes on different platforms, making them wholy unsuitable for portable code. And when I mean different sizes, I mean 64bit Linux and 64bit Windows have different bit sizes. Change-Id: Id4d8cd709bf71a3f85ed6515fae2b0a21ae8c25d Reviewed-on: https://gerrit.libreoffice.org/41130 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix typos: uniform registeredAndrea Gelmini2017-06-232-6/+6
| | | | | | | | | We have in the same files "registered" and "registred". Change-Id: I604a8fdb7d5c40fe208fc11e9120333b3eaef3da Reviewed-on: https://gerrit.libreoffice.org/39097 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* spelling instanciate -> instantiateNoel Grandin2017-06-051-2/+2
| | | | | | | Change-Id: Ic1393da64328c0dc7e2860334b204139bf537d81 Reviewed-on: https://gerrit.libreoffice.org/38401 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Revert "Fix typos"Stephan Bergmann2017-05-182-2/+2
| | | | | This reverts commit 26a67002fcb9381b54de6cae1aaa37120d49066a. "Iff" is not a typo, see 2a65bf32ec270484dcea4d22d3c93552dc0c24dd "Revert 'Typo: iff->if'".
* Fix typosAndrea Gelmini2017-05-182-2/+2
| | | | | | | | | Only replaced "iff" with "if" Change-Id: Ib9dfa5c12b05500043147fe3b65f923b1b12a581 Reviewed-on: https://gerrit.libreoffice.org/37782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
* Also filter out flags like -fsanitize-address-globals-dead-strippingStephan Bergmann2017-05-161-2/+2
| | | | | | | ...to avoid -Werror,-Wunused-command-line-argument in case some ASan build setting passes in such flags Change-Id: Ia613a10e3564a23715019ee0c7c755cdcbf7a47c
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-212-5/+0
| | | | | | | | | Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
* Fix typosAndrea Gelmini2017-03-251-2/+2
| | | | | | | Change-Id: Id5811d092917c872715559f4508d01e4173d090c Reviewed-on: https://gerrit.libreoffice.org/35636 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typosAndrea Gelmini2017-03-162-2/+2
| | | | | | | Change-Id: I1488e2147fa0cd4a821eb5bfe172a58a4e396ace Reviewed-on: https://gerrit.libreoffice.org/35224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* -Werror=implicit-fallthrough= (GCC 7)Stephan Bergmann2017-01-261-0/+4
| | | | Change-Id: I703a5f19536b08a87f2282a278218d0fcecfb515
* Adapt jurt staticsalhack to MACOSXStephan Bergmann2016-11-072-0/+25
| | | | Change-Id: I0525b68cdb097edd3241809ae0dc9c22e1ad9814
* coverity#1371380 Resource leak on an exceptional pathCaolán McNamara2016-08-192-4/+12
| | | | Change-Id: I278f8d50dfaaa45e582a34e43ddba3b143203796
* coverity#1371379 Resource leak on an exceptional pathCaolán McNamara2016-08-191-0/+4
| | | | Change-Id: I0e26dfe610aa7e2cb5eb292aca239ba5e1ad34d9
* Fix some spelling errors in comments and stringsOtto Kekäläinen2016-07-041-1/+1
| | | | | | | Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e Reviewed-on: https://gerrit.libreoffice.org/26883 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
* [API CHANGE] Drop deprecated I*Description interfacesNoel Grandin2016-06-077-59/+54
| | | | | | | | | And make the fields of com.sun.star.uno.Type private Change-Id: Ied7698b4157460e9726f271092c92b6b382239fd Reviewed-on: https://gerrit.libreoffice.org/25971 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* fix synchronization of JobQueueNoel Grandin2016-06-061-1/+1
| | | | Change-Id: I51d58896065a06564d7963aab1145ba9083fdefc
* cid#1362511: Concurrent data access violationStephan Bergmann2016-06-061-3/+5
| | | | Change-Id: I35a381f9601178a3aab98b11172d33372d5c3dc1
* Use AtomicLong in ThreadId instead of synchronizingNoel Grandin2016-06-031-8/+5
| | | | | | | Change-Id: Ia10bab23b0cecb587cd3faa9c7e93b18384ecb88 Reviewed-on: https://gerrit.libreoffice.org/25827 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Use ArrayList for JobQueueNoel Grandin2016-06-022-36/+24
| | | | | | | | | | | | | | and make various internals of the class privatey (This is not an ABI change, as package com.sun.star.lib.uno.environments.remote is not considered part of the stable URE interface; it is not included in the documentation at <http://api.libreoffice.org/docs/java/ref/index.html>.) Change-Id: I25719239c0208b770ecd96b452b4220ac02b309d Reviewed-on: https://gerrit.libreoffice.org/25779 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* jurt: add missing modelinesMiklos Vajna2016-05-0577-0/+215
| | | | | | | | | So that it's harder to introduce tabs in those files. Change-Id: Iccaf0095fd103c4a3da44afc38f1a9d23be9863f Reviewed-on: https://gerrit.libreoffice.org/24673 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
* Unused private fieldsStephan Bergmann2016-03-231-9/+0
| | | | Change-Id: I69fd266df5cfb5392d1f2b5501bfb0b9e5f2cd83
* ThreadPool doesn't exist - etiher point to IThreadPool or implementationChristian Lohmaier2016-03-112-2/+2
| | | | Change-Id: I96e1607945802d06dcc01b64267117d98f9a9994
* interface is called "DisposeNotifier", not "NotifyDispose"Christian Lohmaier2016-03-111-1/+1
| | | | Change-Id: Ib60120bedb360b178a09a649de635ae3459f3af4
* ComponentFactoryWrapper was removed in 2002Christian Lohmaier2016-03-111-5/+0
| | | | | | with commit 9e50970ccf5b12d634a8a786579220c0728f1076 Change-Id: Icb1077f9aa47874ec601a93adc3561d0d99c4261
* [I]ThreadPoolFactory is dead since 2003Christian Lohmaier2016-03-111-2/+1
| | | | | | f195124f6d58624f31469259a4dd6333e1f5c9cd killed it off for good Change-Id: Ibf217096d2f14caa5a7b1572895c81ab295f0c46
* typoStephan Bergmann2016-03-111-5/+5
| | | | Change-Id: I8ae443a69aab715a59f347a2de5a36b458a934f5
* Synchronize all access to _sync_counter, _passedAyncStephan Bergmann2016-03-111-1/+1
| | | | Change-Id: I34e9b3fb9481af30ddda8cde45ccbb27819fc452
* cid#1326391: Dereference null return valueStephan Bergmann2016-02-241-2/+8
| | | | | | ...replacing implicit NullPointerException with explicit IOException Change-Id: I673c836c64e141a7a3e4b40fca0922feee26bd03
* cid#1326441,1326442,1326392: Dereference null return valueStephan Bergmann2016-02-241-7/+17
| | | | | | | ...replacing implicit NullPointerException/IndexOutOfBoundsException with explicit RuntimeException Change-Id: I519b0fcd2b2d2657ae82ef7eb28f88a0e13fa970
* Be specific about illegal inputStephan Bergmann2016-02-241-0/+4
| | | | Change-Id: Ib840f5516e503ce92078150933217149fd322bde
* cid#1326440 Dereference null return valueStephan Bergmann2016-02-241-0/+4
| | | | | | ...replacing implicit NullPointerException with explicit RuntimeException Change-Id: I14dfe81a6a05d33cb311a6274c085ea0dcf95692
* coverity#1326462 Dereference null return valueCaolán McNamara2016-02-181-2/+5
| | | | Change-Id: I80358cffe74f64fa710d9381b9615b64f903db3e
* use consistent #define checks for the Windows platformNoel Grandin2016-02-171-5/+5
| | | | | | | | | | | | stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>