summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
9 daysRevert r1808599; apparently we really do need Any.VOID instead of Java'saoo/trunkDamjan Jovanovic8-35/+64
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
9 daysWhen an unknown column is passed to ColumnContainer, which it will be whenDamjan Jovanovic3-19/+31
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
10 daysAdd support for adding and deleting columns in Java's SDBCX tables,Damjan Jovanovic2-1/+37
currently used by the PostgreSQL driver. Patch by: me Notes: ignore: aoo
10 daysImplement XServiceInfo in all the Java SDBCX classes and standardize itDamjan Jovanovic14-16/+311
to a common form. Patch by: me Notes: ignore: aoo
10 daysMore naming errors. There are no "Descriptions" in the SDBCX module,Damjan Jovanovic4-8/+8
there are only "Descriptors". Patch by: me Notes: merged as: 7d6a17e4b1451610011d23fe9286ba54c0c9bd15
10 daysFix a typo in the XServiceInfo implementationDamjan Jovanovic1-3/+3
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
10 daysIn buildName(), schema should be the empty string, instead of null.Damjan Jovanovic1-2/+7
Add some JavaDoc for it, and use getClass().getName() for getImplementationName(), which is most accurate for Java. Patch by: me Notes: ignore: aoo
12 daysMinor changes to Windows installer (AdminChangeFolder)Matthias Seidel3-17/+17
Notes: ignore: aoo
12 daysThere is no need to use Any.VOID when Java's null gets translated to itDamjan Jovanovic4-17/+13
automatically. Patch by: me Notes: ignore: aoo
13 daysNow that locking has been simplified, we can also delete the specialDamjan Jovanovic24-148/+43
factory create() methods on objects, and use constructors instead to simplify creation further. Patch by: me Notes: ignore: aoo
13 daysLocking and disposal cleanup.Damjan Jovanovic25-474/+209
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
13 daysMinor changes to Windows installer (AdminNetworkLocation/InstallChangeFolder)Matthias Seidel2-11/+11
Notes: ignore: aoo
2017-09-12Minor changes to OpenOffice Windows installer ↵Matthias Seidel1-9/+9
(AdminNetworkLocation/CustomSetup/FilesInUse) Notes: ignore: aoo
2017-09-12Updated README for 225 Mio. downloadsMatthias Seidel1-1/+1
Notes: ignore: aoo
2017-09-11Minor changes to Windows installer (SDK/InstallChangeFolder)Matthias Seidel1-6/+6
Notes: ignore: aoo
2017-09-10main/connectivity/util depends on main/connectivity/java/sdbc_postgresql.Damjan Jovanovic1-1/+1
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
2017-09-09Minor changes to Windows installer (CustomSetup)Matthias Seidel2-21/+21
Notes: ignore: aoo
2017-09-08Fix a locking bug in our Java ComponentBase class, where after the transitionDamjan Jovanovic1-2/+5
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
2017-09-06Small optical changes to Windows InstallerMatthias Seidel1-8/+8
Notes: ignore: aoo
2017-09-06NoWrap in DlgTitleMatthias Seidel1-1/+1
Notes: ignore: aoo
2017-09-06Simplify the Java OContainer by requiring unique names, something C++Damjan Jovanovic13-96/+92
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
2017-09-05Rearranged VolumeCostListMatthias Seidel1-2/+2
Notes: ignore: aoo
2017-09-05Rearranged VolumeCostList (en-US/de)Matthias Seidel1-1/+1
Notes: ignore: aoo
2017-09-03Cleaned upMatthias Seidel1-38/+0
Notes: ignore: aoo
2017-09-03White background for banner, centered logoMatthias Seidel2-67/+65
Notes: ignore: aoo
2017-09-03Removed quotation marks that destroyed some strings for Pootle exportMatthias Seidel1-3/+3
Notes: merged as: 14164f75a5e8d4c803c6c9aeda1d0dd4c8930f0f
2017-09-03White background for banner, centered logoMatthias Seidel2-98/+60
Notes: ignore: aoo
2017-09-03White background for banner, centered logoMatthias Seidel2-101/+63
Notes: ignore: aoo
2017-09-02Changed database name (.msi) for SDKMatthias Seidel1-1/+1
Notes: ignore: aoo
2017-08-29Use same icon as in setup_nativeMatthias Seidel1-0/+0
Notes: ignore: aoo
2017-08-28Access cleanups. Keep OContainer abstract methods protectedDamjan Jovanovic12-56/+77
instead of public. Also added some Javadoc for OContainer. Patch by: me Notes: ignore: aoo
2017-08-27More Javadoc for helper classes.Damjan Jovanovic3-13/+94
Patch by: me Notes: ignore: aoo
2017-08-27Rearrange the directory structure, to resemble the C++ one.Damjan Jovanovic8-11/+10
Patch by: me Notes: ignore: aoo
2017-08-27It's a descriptor.Damjan Jovanovic1-1/+1
Patch by: me Notes: ignore: aoo
2017-08-27Port some Javadoc to helper classes.Damjan Jovanovic3-18/+39
Don't use Java 8 only methods. Patch by: me Notes: ignore: aoo
2017-08-27Error handling cleanups.Damjan Jovanovic2-246/+236
Boxing into NameComponents cleanup. Port findDataSource() and use it in isDataSourcePropertyEnabled(). Logging cleanup. Patch by: me Notes: ignore: aoo
2017-08-26#i127341# Updated English dictionaryMatthias Seidel1-1/+1
Notes: ignore: aoo
2017-08-25Removed branding and closed DlgLineMatthias Seidel3-174/+174
Notes: ignore: aoo
2017-08-25Changed %PRODUCT_RELEASE% for SDK from 4.2 to 4.2.0Matthias Seidel1-1/+1
Notes: ignore: aoo
2017-08-23Do not require mediawiki for Apache Commons Lang, as the PostgreSQLDamjan Jovanovic1-1/+1
database connector needs it too, and it has no configurable component. Patch by: me Notes: ignore: aoo
2017-08-20#i127350# - Table design: can't change length of Postgresql char typesDamjan Jovanovic71-14/+11235
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
2017-08-20#i32546# - Java UnoRuntime.getUniqueKey/generateOid do not work reliablyDamjan Jovanovic1-1/+13
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
2017-08-19Returned to recommended size (150x57), centered logoMatthias Seidel2-0/+0
Notes: ignore: aoo
2017-08-19URE is integrated in AOO, no need for separate installer graphicsMatthias Seidel2-0/+0
Notes: ignore: aoo
2017-08-16Align w/ AOO414 on these fixesJim Jagielski5-19/+24
Notes: prefer: 74844277cc2194c9e43f5bd7a6f78a9603da32f3
2017-08-16Remove some incorrect API documentation for theDamjan Jovanovic1-2/+0
com.sun.star.sdbc.SQLException ErrorCode field. Patch by: me Notes: merged as: afa71c58f13726a76f7b0d46b6e834403ac8f97b
2017-08-16Fix the Windows 64bit shell extension build breakage caused by expat-2.2.3.Don Lewis1-3/+9
The 64 bit expat libraries also need to include loadlibrary.obj. Notes: ignore: obsolete
2017-08-15Get compiling/building again on osx/macosJim Jagielski1-1/+1
Notes: ignore: obsolete
2017-08-15macOS fixes... Source the correct file and allow for macOS XCode8 SDKJim Jagielski1-1/+1
Notes: ignore: obsolete
2017-08-15Strip carriage return characters from the output of MSVC in "make depend"Don Lewis1-0/+1
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