History log of /trunk/ (Results 2726 - 2750 of 8532)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5b780c4a16-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 ...


main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlCatalog.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlConnection.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlDriver.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlPreparedStatement.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlResultSet.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlStatement.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/PostgresqlTable.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/comphelper/PropertySet.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/comphelper/PropertySetAdapter.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OCatalog.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OColumn.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/ODescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OIndex.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OIndexColumn.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OKey.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OKeyColumn.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/OTable.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/descriptors/SdbcxColumnDescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/descriptors/SdbcxIndexColumnDescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/descriptors/SdbcxIndexDescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/descriptors/SdbcxKeyColumnDescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/descriptors/SdbcxKeyDescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/sdbcx/descriptors/SdbcxTableDescriptor.java
main/connectivity/java/sdbc_postgresql/src/com/sun/star/sdbcx/comp/postgresql/util/DatabaseMetaDataResultSet.java
main/javaunohelper/com/sun/star/lib/uno/helper/ComponentBase.java
3ebbe7a115-Sep-2017 Matthias Seidel

Minor changes to Windows installer (AdminNetworkLocation/InstallChangeFolder)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808486 13f79535-47bb-0310-9956-ffa450edef68

1b58676814-Sep-2017 Matthias Seidel

Fixed typo

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808378 13f79535-47bb-0310-9956-ffa450edef68

2ece9fab13-Sep-2017 Matthias Seidel

Shortened German translation

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808293 13f79535-47bb-0310-9956-ffa450edef68

b090b9f312-Sep-2017 Matthias Seidel

Deleted whitespace

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808186 13f79535-47bb-0310-9956-ffa450edef68

7fca656d12-Sep-2017 Matthias Seidel

Minor changes to OpenOffice Windows installer (AdminNetworkLocation/CustomSetup/FilesInUse)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808185 13f79535-47bb-0310-9956-ffa4

Minor changes to OpenOffice Windows installer (AdminNetworkLocation/CustomSetup/FilesInUse)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808185 13f79535-47bb-0310-9956-ffa450edef68

show more ...

3702903112-Sep-2017 Matthias Seidel

Updated README for 225 Mio. downloads

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808184 13f79535-47bb-0310-9956-ffa450edef68

b0a3bec211-Sep-2017 Matthias Seidel

Shortened German translation

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808038 13f79535-47bb-0310-9956-ffa450edef68

dac059a111-Sep-2017 Matthias Seidel

Minor changes to Windows installer (SDK/InstallChangeFolder)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808036 13f79535-47bb-0310-9956-ffa450edef68

c4462b7b10-Sep-2017 Damjan Jovanovic

main/connectivity/util depends on main/connectivity/java/sdbc_postgresql.
The missing dependency was sometimes causing util to build first,
failing due to missing sdbc_postgresql.xcu.

main/connectivity/util depends on main/connectivity/java/sdbc_postgresql.
The missing dependency was sometimes causing util to build first,
failing due to missing sdbc_postgresql.xcu.

Found by: Matthias Seidel
Patch by: me



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807949 13f79535-47bb-0310-9956-ffa450edef68

show more ...

f0e63c4809-Sep-2017 Matthias Seidel

Minor changes to Windows installer (CustomSetup)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807934 13f79535-47bb-0310-9956-ffa450edef68

cf02f0b108-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 ...

9f89845506-Sep-2017 Matthias Seidel

Small optical changes to Windows Installer

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807543 13f79535-47bb-0310-9956-ffa450edef68

a91f054c06-Sep-2017 Matthias Seidel

Corrected translation (Netzwerkstelle->Netzwerkpfad)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807542 13f79535-47bb-0310-9956-ffa450edef68

24549e5106-Sep-2017 Matthias Seidel

NoWrap in DlgTitle

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807536 13f79535-47bb-0310-9956-ffa450edef68

40ca807806-Sep-2017 Damjan Jovanovic

Simplify the Java OContainer by requiring unique names, something C++
should probably also do as append and co check uniqueness explicitly.
This does however complicate the client code, as we

Simplify the Java OContainer by requiring unique names, something C++
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



git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807517 13f79535-47bb-0310-9956-ffa450edef68

show more ...

3177a9d605-Sep-2017 Matthias Seidel

Rearranged VolumeCostList

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807410 13f79535-47bb-0310-9956-ffa450edef68

cac39a6c05-Sep-2017 Matthias Seidel

Rearranged VolumeCostList (en-US/de)

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807394 13f79535-47bb-0310-9956-ffa450edef68

fc68372603-Sep-2017 Matthias Seidel

Cleaned up

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807178 13f79535-47bb-0310-9956-ffa450edef68

30cf86b203-Sep-2017 Matthias Seidel

White background for banner, centered logo

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807157 13f79535-47bb-0310-9956-ffa450edef68

739386c803-Sep-2017 Matthias Seidel

Removed quotation marks that destroyed some strings for Pootle export

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807153 13f79535-47bb-0310-9956-ffa450edef68

fdf1c9b603-Sep-2017 Matthias Seidel

White background for banner, centered logo

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807148 13f79535-47bb-0310-9956-ffa450edef68

862cd78403-Sep-2017 Matthias Seidel

White background for banner, centered logo

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807144 13f79535-47bb-0310-9956-ffa450edef68

8b71952602-Sep-2017 Matthias Seidel

Changed database name (.msi) for SDK

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1807027 13f79535-47bb-0310-9956-ffa450edef68

9887894329-Aug-2017 Matthias Seidel

Use same icon as in setup_native

git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806613 13f79535-47bb-0310-9956-ffa450edef68

1...<<101102103104105106107108109110>>...342