de739a45 | 08-Jul-2024 |
John Bampton |
Fix spelling (#222) * Fix spelling * Update unochart.cxx --------- Co-authored-by: Matthias Seidel <mseidel@apache.org> |
Revision tags: AOO420-Dev5-m5 |
|
61a74f28 | 06-Nov-2023 |
Damjan Jovanovic |
Use the HTML <code> tag instead of <kdb> from commit 872b2513907e4389be70e2d9b563f47e0d2c5a9f, which breaks on some older Java versions. Reported by: mseidel Patch by: me |
872b2513 | 29-Oct-2023 |
Damjan Jovanovic |
The <tt> HTML tag ended with HTML 4, and newer versions of javadoc (Java 17's at least) support HTML 5 tags only. Use <kbd> instead. Patch by: me |
Revision tags: AOO4115-GA, AOO4114-GA, AOO420-Dev4-m4 |
|
f0491042 | 16-Oct-2022 |
Damjan Jovanovic |
InputStreamToXInputStreamAdapter.readBytes() should read until the buffer is full, or the file ends. It shouldn't care about available(). Patch by: me |
6cb06142 | 16-Oct-2022 |
Damjan Jovanovic |
Fix the java.lang.NullPointerException in readBytes() and readSomeBytes() methods in InputStreamToXInputStreamAdapter when called from the inter-process UNO bridge. XInputStream::readByt
Fix the java.lang.NullPointerException in readBytes() and readSomeBytes() methods in InputStreamToXInputStreamAdapter when called from the inter-process UNO bridge. XInputStream::readBytes() documents how the buffer is an "out" parameter, and isn't passed to the implementing end, which is why we get the buffer as a "byte[][] b" and b[0] == null. Its role is to box a byte[] array to be returned the client. Thus, allocate the buffer if it is missing or too small. Additionally, virtually all other readBytes() and readSomeBytes() implementations trim this sequence to the actual number of bytes read. This presumably reduces the inter-process traffic, but some callers even rely on the sequence to be trimmed, eg. main/sax/source/expatwrap/xml2utf.cxx. Thus trim our returned array too. Patch by: me
show more ...
|
Revision tags: AOO4113-GA, AOO4112-GA, AOO4111-GA, AOO420-Dev3-m3, AOO4110-GA, AOO419-GA, AOO418-GA |
|
7950f2af | 14-Jun-2020 |
mseidel |
Fixed typos (the the -> the) and some more |
Revision tags: 420-Dev2-m2, AOO417, AOO420-Dev-m1, AOO416, AOO416-RC1 |
|
a8f4084d | 31-May-2018 |
Matthias Seidel |
Fixed typos: contructor -> constructor convinient -> convenient git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1832633 13f79535-47bb-0310-9956-ffa450edef68 |
Revision tags: AOO415, AOO414 |
|
5b780c4a | 16-Sep-2017 |
Damjan Jovanovic |
Locking and disposal cleanup. Firstly, add isDisposed() and checkDisposed() methods to main/javaunohelper's com.sun.star.lib.uno.helper.ComponentBase, so that Java components can eas
Locking and disposal cleanup. Firstly, add isDisposed() and checkDisposed() methods to main/javaunohelper's com.sun.star.lib.uno.helper.ComponentBase, so that Java components can easily test and assert their disposal state. Comment these for a clearer understanding of how disposal works, namely that locking against disposal must cover all access of that component, so that the component can't be disposed half-way through being used. These methods are stricter than before, where only bDisposed was checked, which allowed the component to be used during disposal (as postDisposing() runs before bDisposed is set)!! Fix and simplify locking in the PostgreSQL driver, first by using the new methods in ComponentBase instead of tracking disposal separately with our own variable, then expand locking to entire methods so components can't be disposed during a method's execution, and finally eliminate disposal tracking in components that purely wrap another component and modify data in transit, as all disposal management is done by the wrapped component and we don't have to worry as long as our postDispose() has nothing special to do and just delegates to the wrapped component. Also eliminate internal locks in objects, and use "this" as the lock for the non-container objects like Table / Column / Key, while using the parent's "this" as the lock for contain objects like Tables, Columns, Keys etc., as this further simplifies locking, allow using method-level locking instead of "synchronized (this)", reduces the number of fields, simplifies locking in subclasses, and theoretically allows callers to hold the lock across multiple method invocations. Other minor fixes, some exception cleanup, use of AtomicInteger to generate numbers in PropertySetAdapter, etc. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808517 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
cf02f0b1 | 08-Sep-2017 |
Damjan Jovanovic |
Fix a locking bug in our Java ComponentBase class, where after the transition to disposed, the relevant variables (bDisposed and bInDispose) are written to outside a synchronized block.
Fix a locking bug in our Java ComponentBase class, where after the transition to disposed, the relevant variables (bDisposed and bInDispose) are written to outside a synchronized block. The equivalent C++ implementation in main/cppuhelper/source/implbase.cxx, method WeakComponentImplHelperBase::dispose(), already does this. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807667 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
80c1851d | 06-Jul-2017 |
Damjan Jovanovic |
Fix some comment typos in javaunohelper's PropertySet.java Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1800966 13f79535-47bb-0310-9956-ffa45
Fix some comment typos in javaunohelper's PropertySet.java Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1800966 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
4105c8c6 | 06-Jul-2017 |
Damjan Jovanovic |
Update javaunohelper's MultiTypeInterfaceContainer.java to use generics, and fix performance bugs in getContainer() where O(n) iteration over all keys was being done instead of an O(1) map.ge
Update javaunohelper's MultiTypeInterfaceContainer.java to use generics, and fix performance bugs in getContainer() where O(n) iteration over all keys was being done instead of an O(1) map.get(), and in getContainedTypes() where iteration over keys and then n calls to map.get() for the value was being done instead of iteration over entries. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1800960 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO413 |
|
5b5659a7 | 25-Mar-2017 |
Damjan Jovanovic |
Add some Java performance optimizations with boxing of basic types: instead of using "new <Type>(<value>)", use <Type>.valueOf(<value>), or better yet, rely on autoboxing. Since the
Add some Java performance optimizations with boxing of basic types: instead of using "new <Type>(<value>)", use <Type>.valueOf(<value>), or better yet, rely on autoboxing. Since the box objects are immutable, Java can and does cache them for values between -128 and 127, which includes all possible boolean and byte values and many common values for all other basic types. Thus, unlike the constructor, calling valueOf() or autoboxing such values does not allocate memory at all, and only returns the pre-existing instance, which is not only faster, but uses zero extra memory too. This is the first of many patches. This one fixes this problem in bridges, javaunohelper and jurt, which are parts of the Java<->Uno bridge, which is critical to performance. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1788667 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
7c736323 | 09-Dec-2016 |
damjan |
Delete the other javaunohelper dmake makefiles. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1773450 13f79535-47bb-0310-9956-ffa450edef68 |
26f17024 | 09-Dec-2016 |
damjan |
Port main/javaunohelper to gbuild. Also fix building odk with the new path to the zipped .java files. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/t
Port main/javaunohelper to gbuild. Also fix building odk with the new path to the zipped .java files. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1773449 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO4121 |
|
30acf5e8 | 22-May-2016 |
pfg |
Spelling, spelling ... Why worry about some sprinkled German when we haven't yet learned English. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1745006 13f79535
Spelling, spelling ... Why worry about some sprinkled German when we haven't yet learned English. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1745006 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO412, SNAPSHOT, AOO411 |
|
c86fe57e | 24-Aug-2015 |
Damjan Jovanovic |
Fix all remaining javadoc errors that break the build with Java 8. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1697312 13f79535-47bb-0310-9956-ffa450edef68 |
e0f9f944 | 23-Aug-2015 |
Damjan Jovanovic |
More javadoc fixes for building with Java 8. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1697237 13f79535-47bb-0310-9956-ffa450edef68 |
2f57578e | 23-Aug-2015 |
Damjan Jovanovic |
Fix some of the many javadoc 8 errors. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1697228 13f79535-47bb-0310-9956-ffa450edef68 |
a893be29 | 29-Apr-2014 |
Pedro Giffuni |
Many spelling fixes: directories h* - p*. Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame
Many spelling fixes: directories h* - p*. Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1591060 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO410, AOO410_Beta, AOO401, AOO400 |
|
37bc8009 | 11-Jun-2013 |
Jürgen Schmidt |
#122483# set correct classpath, inlcude unoil.jar git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1491821 13f79535-47bb-0310-9956-ffa450edef68 |
e6b649b5 | 25-Dec-2012 |
Pedro Giffuni |
Cleanup various javadoc issues. Collect several javadoc issues from Noel: Fix a bunch of javadoc warnings in param. Cleanup javadoc see tags. Fix various misc. javadoc issue
Cleanup various javadoc issues. Collect several javadoc issues from Noel: Fix a bunch of javadoc warnings in param. Cleanup javadoc see tags. Fix various misc. javadoc issues. Author: Noel Grandin git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1425753 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO340 |
|
45ef6fe1 | 31-Mar-2012 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1307723 13f79535-47bb-0310-9956-ffa450edef68 |
67e470da | 15-Feb-2012 |
Herbert Dürr |
remove svn:executable properties from source files git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1244478 13f79535-47bb-0310-9956-ffa450edef68 |
67a4c099 | 11-Jan-2012 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229826 13f79535-47bb-0310-9956-ffa450edef68 |
e6b7d829 | 11-Jan-2012 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229816 13f79535-47bb-0310-9956-ffa450edef68 |