Age | Commit message (Collapse) | Author |
|
Notes:
prefer: a5783fe922b2419b5b662eb5f544a1f401341dbf
|
|
Some "@Override" and "final" cleanups as per NetBeans.
Patch by: me
Notes:
ignore: aoo
|
|
C++14 mode.
Notes:
prefer: b0a284053e43d2ea32a748f7875f3f59c2b90d0c
|
|
Notes:
prefer: af9709c3cba8c386a30553c43a620320b15c65f4
|
|
Remove a duplicated and commented T3SQLNativeSql definition.
Patch by: me
Notes:
merged as: dbb42ebced375a366712394c1e8917e78abd7a5e
|
|
Patch by: me
Notes:
prefer: 19ef5bcc8d9dbcf965f79495e1afd86ac0f22c31
|
|
(https://docs.microsoft.com/en-us/sql/odbc/reference/odbc-64-bit-information).
Patch by: me
Notes:
prefer: 19ef5bcc8d9dbcf965f79495e1afd86ac0f22c31
|
|
was converting nulls to empty strings, so do the same.
Fix parsing strings into UNO timestamps.
Dispose of all undisposed statements when the JDBC connection is disposed.
Patch by: me
Notes:
ignore: aoo
|
|
service names, implementation names, logging channels and messages,
initialization arguments, and general behaviour is all preserved, so it
should be completely transparent to client code.
Allow PropertySetAdapter.getPropertyValue() to throw WrappedTargetException,
and PropertySetAdapter.setPropertyValue() to throw PropertyVetoException,
IllegalArgumentException, and WrappedTargetException, as these are
sometimes used to change values in a database driver, which can fail.
Port helper classes from main/comphelper for logging.
Port AutoRetrievingBase.
Add in-memory Column, ResultSet and metadata classes.
Improve handling of Any in ORowSetValue.
Move PostgreSQL's database metadata result set class to dbtools, and
have it only override the method it needs.
It's "information_schema" in PostgreSQL - "INFORMATION_SCHEMA"
doesn't exist and gives an error.
Add a new UNO service com.sun.star.sdb.ParameterSubstitution as was
intended by main/connectivity/source/dbtools/dbtools.component
that allow substituting parameters, so it can be used from Java.
Keep the database drivers in a common install package.
Patch by: me
Notes:
ignore: aoo
|
|
the support code that can be reused by other drivers.
Also put it in an org.apache.openoffice base package.
Patch by: me
Notes:
ignore: aoo
|
|
to be the same throughout the lifetime of the catalog!!
Patch by: me
Notes:
ignore: aoo
|
|
Patch by: me
Notes:
ignore: aoo
|
|
database driver.
Patch by: me
Notes:
ignore: aoo
|
|
--with-system-apache-commons=yes was passed to configure.
Notes:
ignore: obsolete
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
Notes:
ignore: obsolete
|
|
KDE 3.2 - 3.6, which are obsolete since 9 years ago.
Patch by: me
Notes:
prefer: 4ffdb6750fa7d656d249a745f9c6d5ba98353b14
|
|
Patch by: me
Notes:
merged as: 1307212b87194f5c18eae0517f0dc4fcb0833e33
|
|
Notes:
ignore: obsolete
|
|
connectivity/source/parse/sqliterator.cxx
Fix a *nix build breaker from my 2 previous commits.
Patch by: me
Notes:
prefer: 1967376c7b3072fefb6f74566cfa70fd03b9bd04
|
|
connectivity/source/parse/sqliterator.cxx
Fix compile errors in Patricia's patch in #1747439.
Patch by: me
Notes:
prefer: 1967376c7b3072fefb6f74566cfa70fd03b9bd04
|
|
connectivity/source/parse/sqliterator.cxx
Commit Patricia's initial broken patch which starts in the right direction,
and fix it in my next commit.
Patch by: pats
Review by: me
Notes:
prefer: 1967376c7b3072fefb6f74566cfa70fd03b9bd04
|
|
Why worry about some sprinkled German when we haven't yet learned English.
Notes:
prefer: b37a07f2da6c4fcc1a01cc3ea547c558c23edd71
|
|
Patch by: me
Notes:
ignore: obsolete
|
|
Our CSV field parsing algorithms treats fields starting with a quote
(immediately at the beginning of the row, or after the field delimiter) as
quoted. A quoted field ends at the corresponding closing quote, and any
remaining text between the closing quote and the next field delimeter or end
of line is appended to the text already extracted from the field, but not
processed further. Any quotes in this extra text are taken verbatim - they
do not quote anything.
Our CSV line parsers were big hacks - they essentially read and concatenate
lines until an even number of quote characters is found, and then feed this
through the CSV field parsers.
This patch rewrites the line parsers to work exactly how the field parsers
work. Text such as:
"another" ",something else
is now correctly parsed by both Calc and Base as:
[another "],[something else]
instead of breaking all further parsing.
Patch by: me
Notes:
merged as: 2049e55f507b00cf70f72706900e75d20ff3bb30
|
|
Calc does)
The flat file driver, in file
main/connectivity/source/drivers/flat/ETable.cxx, method
OFlatTable::fillColumns(), which reads lines to initialize columns,
assumes fields in the header and the first few lines never continue onto
the next line(s). This causes truncation of columns when they do.
Read all lines using the readLine() method instead of
SvStream::ReadByteStringLine(), which takes overflow onto next lines into
account. Also implement a new version of readLine() which allows reading
into an arbitrary string, as opposed to m_aCurrentLine only.
Patch by: me
Notes:
prefer: 48b29cd42ba10fbb3f7be697fd79a0984b4daa1b
|
|
This was probably a remnant from the days when the Mozilla address book was
a database driver we supported.
Patch by: me
Notes:
ignore: obsolete
|
|
In the case of the Illumos/Solaris-i386 port there are some
conflicts caused by internal C definitions. Try to work them
out with some help of Illumos' opengrok.
On the case of the odbcbase driver rename the affected typedef
to avoid conflicts.
Notes:
prefer: 81c5a10a8db5530eb028c85887f0cc73d16c04d3
|
|
It is well known that clang-3.4 doesn't build all AOO correctly.
Workaround the issue for FreeBSD 10 which ships with clang-3.4.
The workaround may still be needed for other clang based platforms.
Submitted by: Don Lewis
Notes:
ignore: obsolete
|
|
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.
Notes:
merged as: 0a1d822372927e3252f40b7a16590716ccc2eedd
|
|
Notes:
prefer: 112bdf84d684590e042725c7173e059b4afa2f83
|
|
but keep the --without-stlport configure option for now
it is the new default anyway
Notes:
ignore: obsolete
|