| Age | Commit message (Collapse) | Author | Files | Lines |
|
null. Also fix one more place where this is the problem.
(I wonder why. Seems like something that could be improved.)
Fix "Refresh Tables", which was making all tables disappear. Apparently
we needed to actually re-read our tables, and deal with the fact that the
OCatalog is disposed after the return. Further development is ongoing.
Also make other null strings into empty strings like UNO requires.
Patch by: me
Notes:
ignore: aoo
|
|
a new column is created, re-read it from the database.
Strings in UNO can't be null. Ensure this is the case in Column and
SdbcxColumnDescriptor.
Patch by: me
Notes:
ignore: aoo
|
|
currently used by the PostgreSQL driver.
Patch by: me
Notes:
ignore: aoo
|
|
to a common form.
Patch by: me
Notes:
ignore: aoo
|
|
there are only "Descriptors".
Patch by: me
Notes:
merged as: 7d6a17e4b1451610011d23fe9286ba54c0c9bd15
|
|
for main/connectivity/source/sdbcx/VIndexColumn.cxx.
It's implementation/service names are com.sun.star.sdbcx.VIndexColumn and
com.sun.star.sdbcx.IndexColumn, not com.sun.star.sdbcx.VIndex and
com.sun.star.sdbcx.Index.
Patch by: me
Notes:
merged as: d6e8e522a396f97f71a92d9b5d7e03947a4ad803
|
|
Add some JavaDoc for it, and use getClass().getName() for
getImplementationName(), which is most accurate for Java.
Patch by: me
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
automatically.
Patch by: me
Notes:
ignore: aoo
|
|
factory create() methods on objects, and use constructors instead
to simplify creation further.
Patch by: me
Notes:
ignore: aoo
|
|
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
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
(AdminNetworkLocation/CustomSetup/FilesInUse)
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
The missing dependency was sometimes causing util to build first,
failing due to missing sdbc_postgresql.xcu.
Found by: Matthias Seidel
Patch by: me
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
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
Notes:
merged as: 1963dc64554a8b64c229ddd72bc615f3e736731a
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
should probably also do as append and co check uniqueness explicitly.
This does however complicate the client code, as we have to throw
exceptions when we dedect duplication on the initial names we are
initialized with.
Patch by: me
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
merged as: 14164f75a5e8d4c803c6c9aeda1d0dd4c8930f0f
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
instead of public. Also added some Javadoc for OContainer.
Patch by: me
Notes:
ignore: aoo
|
|
Patch by: me
Notes:
ignore: aoo
|
|
Patch by: me
Notes:
ignore: aoo
|
|
Patch by: me
Notes:
ignore: aoo
|
|
Don't use Java 8 only methods.
Patch by: me
Notes:
ignore: aoo
|
|
Boxing into NameComponents cleanup.
Port findDataSource() and use it in isDataSourcePropertyEnabled().
Logging cleanup.
Patch by: me
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
database connector needs it too, and it has no configurable component.
Patch by: me
Notes:
ignore: aoo
|
|
Add the initial version of a new SDBC driver, for the PostgreSQL database.
Also its build changes: since it needs Apache Commons Lang version 3,
get configure.ac to check for that, and get that to always build,
just like our driver does.
Patch by: me
Notes:
prefer: e28033fdfad9750ebe96885b9514adee629acf88
|
|
In the Java UNO bridge, UnoRuntime.generateOid() generated the
object-specific part of the OID using java.lang.Object.hashCode(),
which is only 32 bits long, and is commonly overriden and could thus
return values from an even smaller range, so OID collisions were quite
likely.
This changes UnoRuntime.generateOid() to use 128 bit UUIDs for the
object-specific part of the OID, and store these in an object => oid
java.util.WeakHashMap, making OID collisions almost impossible.
Patch by: me
Suggested by: Stephan Bergmann (stephan dot bergmann dot secondary at
googlemail dot com)
Notes:
merged as: 3f84390f585cf71331a77ab5ca632cacaf3ad7b9
|
|
Notes:
ignore: aoo
|
|
Notes:
ignore: aoo
|
|
Notes:
prefer: 74844277cc2194c9e43f5bd7a6f78a9603da32f3
|
|
com.sun.star.sdbc.SQLException ErrorCode field.
Patch by: me
Notes:
merged as: afa71c58f13726a76f7b0d46b6e834403ac8f97b
|
|
The 64 bit expat libraries also need to include loadlibrary.obj.
Notes:
ignore: obsolete
|
|
Notes:
ignore: obsolete
|
|
Notes:
ignore: obsolete
|
|
mode so that these characters don't get appended to the file names in
the dependency files. This breaks all the gbuild modules because gmake
thinks the file names have ^M appended to them and can't find them.
Notes:
ignore: aoo
|