Age | Commit message (Collapse) | Author |
|
not before vowels with a consonant sound so its a url not an url
Change-Id: Ic27ff3bee67469284d460c31ced6f63cb3633db2
Reviewed-on: https://gerrit.libreoffice.org/72062
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Iafbb69a405a3c9ee8d0ae7dbe8a24a75d237519d
Reviewed-on: https://gerrit.libreoffice.org/71924
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
|
|
Plus some build fixes triggered by this.
Change-Id: I59b21def706598ceffd45ae5b1f0262ec9c1ad50
Reviewed-on: https://gerrit.libreoffice.org/71581
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
|
|
Replace OSL_VERIFY with if-statement and SAL_WARN and add some unit
tests to ensure the implementation works and the replacements don't
introduce some side effects.
Change-Id: I4ed50eee53e4dba4d392ed2486186d48f919ce1d
Reviewed-on: https://gerrit.libreoffice.org/71712
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I20e6de52e8244ef118973671cd25fb9fc6f3e22f
Reviewed-on: https://gerrit.libreoffice.org/71632
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
The declaration in BarChart.cxx is particularly suspicious, because it
was using a < for the KeyEqual template parameter.
Been there since:
commit b2c3233e5f267b5d244d722a94424a3b224b3314
Date: Thu Dec 21 20:08:33 2017 +0900
chart2: suspend/resume setting rects dirty for 3D shapes
comphelper::OInterfaceCompare is no longer necessary
Change-Id: I8278c4a3d9113a18570ca237cd05d553ec8f3975
Reviewed-on: https://gerrit.libreoffice.org/71537
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
Change-Id: Ie0193edb4e729c4469c15bc5940dbc8005caf28b
Reviewed-on: https://gerrit.libreoffice.org/71561
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I0af0c7c750018a9766dc0b3af4a6c114a7b27144
Reviewed-on: https://gerrit.libreoffice.org/71560
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I881b23341ee1fc8d1ff3443e8ab52f51e07c3646
Reviewed-on: https://gerrit.libreoffice.org/71499
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
as noted here:
https://mail.gnome.org/archives/desktop-devel-list/2019-April/msg00016.html
wrt:
https://gitlab.gnome.org/GNOME/evolution-data-server/issues/33
Change-Id: I88f900b3adf12de545b1d2d16da67eae22fde748
Reviewed-on: https://gerrit.libreoffice.org/71281
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
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>
|
|
Change-Id: I54c1f438a755267db0896637c79f915de9113f83
Reviewed-on: https://gerrit.libreoffice.org/71074
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
|
|
For one, it is deprecated since Java 9, and for another it causes a
NullPointerException when called from the JNI Invocation API (i.e., without a
Java caller frame) at least with some Java 12.
(Found when doing a test build with Java 12 and JAVA_SOURCE/TARGET_VER
explicitly configured as 7 with d365f36331874f94bbd9832fbd19ace90fafefec "Allow
to pass JAVA_SOURCE/TARGET_VER into configure".)
I have entered information about the NullPointerException at
<https://bugreport.java.com/bugreport/start_form.do>, but haven't heard back
yet, so duplicate that information here:
Issue Type:
> Bug
Component:
> Core Libraries
Operating System:
> Linux 64-bit
Java Release:
> 12
Synopsis:
> Calling java.lang.Class.newInstance from JNI Invocation API causes NullPointerEx
Description:
> I can reproduce this with the OpenJDK 12 RPMs on Fedora 30, but from looking at <https://hg.openjdk.java.net/jdk/jdk12/file/06222165c35f/src/java.base/share/classes/java/lang/Class.java> it looks plausible that it is a common issue that Reflection.getCallerClass() returns null when java.lang.Class.newInstance is called from the JNI Invocation API, and that null is propagated to jdk.internal.reflect.Reflection.verifyMemberAccess as parameter currentClass, which dereferences it at <https://hg.openjdk.java.net/jdk/jdk12/file/06222165c35f/src/java.base/share/classes/jdk/internal/reflect/Reflection.java#l130>.
> This is known to have been working with older OpenJDK (at least 1.8).
Steps to Reproduce:
> Compile the provided test.cc with `g++ -I/usr/lib/jvm/java-12-openjdk-12.0.0.33-1.ea.1.rolling.fc30.x86_64/include -I/usr/lib/jvm/java-12-openjdk-12.0.0.33-1.ea.1.rolling.fc30.x86_64/include/linux /usr/lib/jvm/java-12-openjdk-12.0.0.33-1.ea.1.rolling.fc30.x86_64/lib/server/libjvm.so test.cc` and run it with `LD_LIBRARY_PATH=/usr/lib/jvm/java-12-openjdk-12.0.0.33-1.ea.1.rolling.fc30.x86_64/lib/server ./a.out`.
Expected Result:
> exit 0
Actual Result:
> Exception in thread "main" java.lang.NullPointerException
> at java.base/jdk.internal.reflect.Reflection.verifyMemberAccess(Reflection.java:130)
> at java.base/java.lang.reflect.AccessibleObject.slowVerifyAccess(AccessibleObject.java:673)
> at java.base/java.lang.reflect.AccessibleObject.verifyAccess(AccessibleObject.java:666)
> at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:638)
> at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:490)
> at java.base/java.lang.reflect.ReflectAccess.newInstance(ReflectAccess.java:166)
> at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(ReflectionFactory.java:404)
> at java.base/java.lang.Class.newInstance(Class.java:590)
> Aborted
Source code for an executable test case:
> #include <cstdlib>
>
> #include "jni.h"
>
> void handleError(JNIEnv * env) {
> if (env->ExceptionCheck()) {
> env->ExceptionDescribe();
> std::abort();
> }
> }
>
> int main() {
> JavaVM * vm;
> JNIEnv * env;
> JavaVMInitArgs args{JNI_VERSION_1_2, 0, nullptr, true};
> if (JNI_CreateJavaVM(&vm, reinterpret_cast<void **>(&env), &args) != JNI_OK) {
> std::abort();
> }
> auto const c1 = env->FindClass("java/lang/Class");
> handleError(env);
> auto const id = env->GetMethodID(c1, "newInstance", "()Ljava/lang/Object;");
> handleError(env);
> auto const c2 = env->FindClass("java/lang/Object");
> handleError(env);
> env->CallObjectMethod(c2, id);
> handleError(env);
> }
Workaround:
> Call via JNI the suggested replacement of clazz.getDeclaredConstructor().newInstance() instead of the deprecated java.lang.Class.newInstance().
Change-Id: I85ff7102a18b98561f188e609873753546bc050d
Reviewed-on: https://gerrit.libreoffice.org/71240
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I9cc5e13681b047fe772704b42796e210ad070601
Reviewed-on: https://gerrit.libreoffice.org/71148
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I8080b857566a4f066a388114b36458d575d43f1a
Reviewed-on: https://gerrit.libreoffice.org/71057
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: If8b06f8879712ade0bfaaf807c37222bb06bd279
Reviewed-on: https://gerrit.libreoffice.org/71025
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
|
|
Change-Id: I17877a9b45ad288b715cc2bf8def06532e679e4f
Reviewed-on: https://gerrit.libreoffice.org/71026
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
|
|
Change-Id: Id8422102f776f438e00b40a2ee0ae0b96e4f552a
Reviewed-on: https://gerrit.libreoffice.org/70997
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I6a22d7b302bd8ef8e06d93f73a13929625a444f7
Reviewed-on: https://gerrit.libreoffice.org/70996
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I30282339753722d242684b35407577352bbbf771
Reviewed-on: https://gerrit.libreoffice.org/70967
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: Ica38eedeb2733095a1e6d987ad57064cb9be99bd
Reviewed-on: https://gerrit.libreoffice.org/70973
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I84ef63b6c82175132b376122253d3b262a065944
Reviewed-on: https://gerrit.libreoffice.org/70976
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I1021d7cfc2b27924e3a30d0f0d6a936e2bec99f9
Reviewed-on: https://gerrit.libreoffice.org/70907
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: Ief0343a128ae45ee62f7965a6ea77b2dcbd0ae49
Reviewed-on: https://gerrit.libreoffice.org/70911
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I72ac69f9cbea34f69d828f55468fb630ca8290fe
Reviewed-on: https://gerrit.libreoffice.org/70885
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
This has been broken with 48314f25241e014a634dd5371543b90137ffd2bc "improve
function-local statics in basic..cui" (and has been found with a new plugin to
be commited).
Change-Id: I518360e3273af9db4a8560a89bc8a789410c8033
Reviewed-on: https://gerrit.libreoffice.org/70875
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: Ic29460926173ed37c60d8626872dda15cc1f76ec
Reviewed-on: https://gerrit.libreoffice.org/70851
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I678ddb576f6cfeadf2418781675023def545c2c8
Reviewed-on: https://gerrit.libreoffice.org/70850
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I6307b00dfc1dad4cc0b22bfd6d142d54a1c96c92
Reviewed-on: https://gerrit.libreoffice.org/70852
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
to find stuff like
OUString s = OUString("xxx")
Change-Id: Ie7ed074c1ae012734c67a2a89c564c1900a4ab04
Reviewed-on: https://gerrit.libreoffice.org/70697
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
Change-Id: Idaf6df71470d2a838ac793bb992f979a51b1c581
Reviewed-on: https://gerrit.libreoffice.org/70739
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I9776431ebce95a88ae42715aaba2ddc28fb52471
Reviewed-on: https://gerrit.libreoffice.org/70642
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
Change-Id: I1c3fccac03b5cc8acdd1d25dc5536f5874ff26ad
Reviewed-on: https://gerrit.libreoffice.org/70575
Tested-by: Jenkins
Reviewed-by: himajin100000 <himajin100000@gmail.com>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Where it can be done by removing useless / duplicate code.
For XFListStyle I removed the copy operator entirely, because it
was bugous and it seems not to be used anyway.
Change-Id: Iba0eb0d5c45b42f0e78be466c617acdc1216eb22
Reviewed-on: https://gerrit.libreoffice.org/70482
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
|
|
Change-Id: I2e41d3d80a4c3c75b923a90507b7b9b1ed3669c3
Reviewed-on: https://gerrit.libreoffice.org/70438
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
|
|
Change-Id: I7fc32ad2bcbff4cd8bedea9bed49a0f4748ebe0f
Reviewed-on: https://gerrit.libreoffice.org/70392
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
Change-Id: I2d5b20bdc5c87edce37930b5acced910fe1aec70
Reviewed-on: https://gerrit.libreoffice.org/70332
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I334a253dcbf6aef8b182e249605b625b89347450
Reviewed-on: https://gerrit.libreoffice.org/69908
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Found with:
run-clang-tidy-7 -checks=-*,misc-unused-using-decls
Change-Id: I50f6dfa881ac4e752668e762ade0943aaf28ab96
Reviewed-on: https://gerrit.libreoffice.org/69601
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
See https://bugs.documentfoundation.org/show_bug.cgi?id=123999#c14
Change-Id: I47ff6171c873c701794f179b924005c43551ba21
Reviewed-on: https://gerrit.libreoffice.org/69770
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
|
|
look for places we are doing code like:
Reference<XProperty>(model, css::uno::UNO_QUERY)->getAsProperty()
which might result in a SIGSEGV is the query fails
Change-Id: I5cbdbc9e64bd0bed588297c512bf60cbacb9442e
Reviewed-on: https://gerrit.libreoffice.org/69044
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|
|
... duplicating the type name
Change-Id: I12b2302c4316b3ec1f22df366100c3b2a4d87454
Reviewed-on: https://gerrit.libreoffice.org/69173
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
|
|
See commit f33eb08a2b74e5de033af9b5f5283b220ac58ded for details
TODO: reimplement defaults to be taken from the Drivers.xcu, not from
ODatabaseModelImpl::getDefaultDataSourceSettings.
TODO: always write settings, even if they are equal to defaults (unless
they are schema defaults) - that will allow to change a default, and not
break existing configurations.
Change-Id: Ic0fa9a03bf801aeca3e6373eb7019f5ad7e8eb46
Reviewed-on: https://gerrit.libreoffice.org/69076
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
Change-Id: Iea9ca5fed98f1040dd697324f9818d0014f5f79f
Reviewed-on: https://gerrit.libreoffice.org/69149
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I02f75be483529ba1f7a6e460e34c4752b4265221
Reviewed-on: https://gerrit.libreoffice.org/68893
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
|
|
i.e. https://help.libreoffice.org/Common/Special_Settings#Supports_primary_keys
"This tri-state check box by default is set to the undetermined state"
otherwise the fix for tdf#123975 has no effect
this change initially in...
commit 3208fcb3a36d75d6290d9c548430682f153b09db
Date: Thu Sep 13 22:57:58 2018 +0200
tdf#119743: add Features entries in Properties block Drivers.xcu
Change-Id: Ic08fb1330985b90eec10662d50462f4ec127b9f9
Reviewed-on: https://gerrit.libreoffice.org/69042
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
This property corresponds to AppendTableAliasInSelect in Features
sections.
Also the default value in Drivers.xcu for ODBC made consistent
with that in ODatabaseModelImpl::getDefaultDataSourceSettings.
Change-Id: I95335e0808b9b8021189c2c75826c2d792a10566
Reviewed-on: https://gerrit.libreoffice.org/69028
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
As mentioned in connectivity/registry/README, the property should
be named differently in Features and Properties sections.
Also the default value set in ODbAdminDialog::createItemSet should
be synchronized with the other defaults, because otherwise, in case
when the value is absent in the set (when it is default), this value
is used in the dialog... sigh, we have too much places where relevant
defaults are generated and need to be in sync. TODO: this should be
reimplemented to take all defaults from the xcu.
Change-Id: Ia61ab2e585107ede9c977cf563cb30e45d624bed
Reviewed-on: https://gerrit.libreoffice.org/69002
Tested-by: Jenkins
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
|
|
Change-Id: Id92be196bd4a6a061ef7985d8a07ab0be4523a0f
Reviewed-on: https://gerrit.libreoffice.org/68986
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
|
|
Change-Id: I318508531b3f52da2d699e6d35c7cda72d4de115
Reviewed-on: https://gerrit.libreoffice.org/68981
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
|