bc7637c3 | 24-Oct-2017 |
Damjan Jovanovic |
Implement views in the PostgreSQL driver. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1813122 13f79535-47bb-0310-9956-ffa450edef68 |
71ef6539 | 24-Oct-2017 |
Damjan Jovanovic |
Fix a serious bug in naming PropertyIds variables of the PostgreSQL database driver. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1813120
Fix a serious bug in naming PropertyIds variables of the PostgreSQL database driver. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1813120 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
9c6e9b7d | 29-Sep-2017 |
Don Lewis |
We don't need to build the apache-commons module if --with-system-apache-commons=yes was passed to configure. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1810067 1
We don't need to build the apache-commons module if --with-system-apache-commons=yes was passed to configure. git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1810067 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
1f8a0be0 | 20-Sep-2017 |
Damjan Jovanovic |
Revert r1808599; apparently we really do need Any.VOID instead of Java's null. Also fix one more place where this is the problem. (I wonder why. Seems like something that could be improved.)
Revert r1808599; apparently we really do need Any.VOID instead of Java's 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 git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808968 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
a91eb973 | 19-Sep-2017 |
Damjan Jovanovic |
When an unknown column is passed to ColumnContainer, which it will be when a new column is created, re-read it from the database. Strings in UNO can't be null. Ensure this is the case in
When an unknown column is passed to ColumnContainer, which it will be when 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 git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808960 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
10751405 | 19-Sep-2017 |
Damjan Jovanovic |
Add support for adding and deleting columns in Java's SDBCX tables, currently used by the PostgreSQL driver. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/
Add support for adding and deleting columns in Java's SDBCX tables, currently used by the PostgreSQL driver. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808824 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
c34b9ec6 | 19-Sep-2017 |
Damjan Jovanovic |
Implement XServiceInfo in all the Java SDBCX classes and standardize it to a common form. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@18
Implement XServiceInfo in all the Java SDBCX classes and standardize it to a common form. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808811 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
ac472dbc | 19-Sep-2017 |
Damjan Jovanovic |
More naming errors. There are no "Descriptions" in the SDBCX module, there are only "Descriptors". Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trun
More naming errors. There are no "Descriptions" in the SDBCX module, there are only "Descriptors". Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808810 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
5f867bfd | 19-Sep-2017 |
Damjan Jovanovic |
Fix a typo in the XServiceInfo implementation for main/connectivity/source/sdbcx/VIndexColumn.cxx. It's implementation/service names are com.sun.star.sdbcx.VIndexColumn and com.sun.s
Fix a typo in the XServiceInfo implementation 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 git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808809 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
f9f0c9e8 | 18-Sep-2017 |
Damjan Jovanovic |
In buildName(), schema should be the empty string, instead of null. Add some JavaDoc for it, and use getClass().getName() for getImplementationName(), which is most accurate for Java.
In buildName(), schema should be the empty string, instead of null. Add some JavaDoc for it, and use getClass().getName() for getImplementationName(), which is most accurate for Java. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808736 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
0529ab72 | 17-Sep-2017 |
Damjan Jovanovic |
There is no need to use Any.VOID when Java's null gets translated to it automatically. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@18085
There is no need to use Any.VOID when Java's null gets translated to it automatically. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808599 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
68b6fe01 | 16-Sep-2017 |
Damjan Jovanovic |
Now that locking has been simplified, we can also delete the special factory create() methods on objects, and use constructors instead to simplify creation further. Patch by: me
Now that locking has been simplified, we can also delete the special factory create() methods on objects, and use constructors instead to simplify creation further. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1808526 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
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 ...
|
c4462b7b | 10-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 ...
|
40ca8078 | 06-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 ...
|
e7b6717c | 28-Aug-2017 |
Damjan Jovanovic |
Access cleanups. Keep OContainer abstract methods protected instead of public. Also added some Javadoc for OContainer. Patch by: me git-svn-id: https://svn.apache.org/
Access cleanups. Keep OContainer abstract methods protected instead of public. Also added some Javadoc for OContainer. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806396 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
07229555 | 27-Aug-2017 |
Damjan Jovanovic |
More Javadoc for helper classes. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806375 13f79535-47bb-0310-9956-ffa450edef68 |
a4c4717c | 27-Aug-2017 |
Damjan Jovanovic |
Rearrange the directory structure, to resemble the C++ one. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806374 13f79535-47bb-0310-9956-ffa4
Rearrange the directory structure, to resemble the C++ one. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806374 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
ce7f60c4 | 27-Aug-2017 |
Damjan Jovanovic |
It's a descriptor. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806373 13f79535-47bb-0310-9956-ffa450edef68 |
da8b8393 | 27-Aug-2017 |
Damjan Jovanovic |
Port some Javadoc to helper classes. Don't use Java 8 only methods. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806372 13f79535-47bb-03
Port some Javadoc to helper classes. Don't use Java 8 only methods. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806372 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
3980c8a3 | 27-Aug-2017 |
Damjan Jovanovic |
Error handling cleanups. Boxing into NameComponents cleanup. Port findDataSource() and use it in isDataSourcePropertyEnabled(). Logging cleanup. Patch by: me g
Error handling cleanups. Boxing into NameComponents cleanup. Port findDataSource() and use it in isDataSourcePropertyEnabled(). Logging cleanup. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1806354 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
3c5114b8 | 20-Aug-2017 |
Damjan Jovanovic |
#i127350# - Table design: can't change length of Postgresql char types Add the initial version of a new SDBC driver, for the PostgreSQL database. Also its build changes: since it ne
#i127350# - Table design: can't change length of Postgresql char types 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 git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1805579 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
ade3f226 | 09-Aug-2017 |
Damjan Jovanovic |
Write a main/ant.properties file from main/set_soenv, which can be used in Ant projects to work out settings, locations, and paths to dependencies without getting them from a parent build too
Write a main/ant.properties file from main/set_soenv, which can be used in Ant projects to work out settings, locations, and paths to dependencies without getting them from a parent build tool (dmake/gbuild), which allows Ant projects to build by themselves, independently of AOO, and allows them to be cleanly opened in (at least) Eclipse. Also port main/connectivity's sdbc_hsqldb.jar to use these changes. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1804591 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
c0ecde16 | 21-Jul-2017 |
Damjan Jovanovic |
Remove the obsolete KDE address book SDBC driver, that only worked on KDE 3.2 - 3.6, which are obsolete since 9 years ago. Patch by: me git-svn-id: https://svn.apache.
Remove the obsolete KDE address book SDBC driver, that only worked on KDE 3.2 - 3.6, which are obsolete since 9 years ago. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1802537 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|
Revision tags: AOO413 |
|
2c64eeb8 | 04-Dec-2016 |
damjan |
Fix some comment typos. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1772503 13f79535-47bb-0310-9956-ffa450edef68 |