629cc605a4
Intermediate commit of hacking on --disable-database-connectivity
...
Add HAVE_FEATURE_DBCONNECTIVITY to <config_features.h> instead of
using (or not, more likely) -DDISABLE_DBCONNECTIVITY.
The plan is still that database connectivity would be disabled always
for the non-desktop platforms, and otherwise disabling it would be a
configure option.
But, still lots to do; the TiledLibreOffice iOS test app gets tons of
undefineds when linking if I actually try to disable the database
connectivity.
Change-Id: If1e4b55faa1514cd55dec5fc5487a30d689739ac
2014-04-18 00:04:15 +03:00
199d333f13
connectivity: sal_Bool->bool
...
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
2014-04-16 11:51:51 +02:00
4bc0bd7348
non-desktop: Avoid dbaccess.
...
Change-Id: I4cabda76917cded05a2978b1a280775b7f77a0de
2014-04-15 13:10:56 +02:00
6835d9f307
It's "its", not "it's"
...
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
7938279a0d
/include/connectivity/dbtools.hxx: sal_Bool->bool
...
Change-Id: Ie1e1952e3d39d53756583482826dfc3b65b5f9e0
2014-04-04 13:44:18 +02:00
39d3f2bb3a
connectivity: sal_Bool->bool
...
Change-Id: Ice855d69c70d4f5fc119ddf1ddebf18ee6add270
2014-04-01 07:38:09 +02:00
8728c34662
connectivity: sal_Bool->bool
...
Change-Id: Iafa52d3643b9313c20c75cf98f6b1ec231bf9d6d
2014-04-01 07:38:09 +02:00
73c1ac010c
connectivity: sal_Bool->bool
...
Change-Id: Ia45f9776e0b27720647c664541a41b5f46eedc37
2014-04-01 07:38:09 +02:00
3194d22a24
connectivity: sal_Bool->bool and fix method name
...
Convert method name
getBoleanComparisonPredicate
to
getBooleanComparisonPredicate
Change-Id: I00c726b1fecd8352dc49f2af98c3ae3c799ef424
2014-04-01 07:38:08 +02:00
2c7bef7b8d
connectivity: sal_Bool->bool
...
Change-Id: Ic583deda8b0be3c89bcd644a1872ebd83276487a
2014-04-01 07:38:08 +02:00
8b533d84f3
Missing XTypeProvider base class
...
Change-Id: I4e457b55d7d5cd255a0931030f35150d1dd6bf09
2014-03-28 11:16:38 +01:00
567ef6d578
Second batch of adding SAL_OVERRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
70cc2b191b
First batch of adding SAL_OVERRRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
358be80f65
comphelper,connectivity: prefer passing OUString by reference
...
Change-Id: I19b2613918ec62ee39bb3e447f3587c5dba1e36a
2014-03-14 07:47:01 +02:00
8792ec7b21
Remove visual noise from include
...
Conflicts:
include/framework/preventduplicateinteraction.hxx
include/sfx2/sfxbasecontroller.hxx
include/sfx2/sfxbasemodel.hxx
include/toolkit/awt/vclxtabpagemodel.hxx
include/vcl/field.hxx
include/vcl/settings.hxx
Change-Id: Ibccf9f88c68267a3d7e656012b51eaf644c418c2
Reviewed-on: https://gerrit.libreoffice.org/8272
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-03-01 09:51:32 -06:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
625971b104
fdo#54938 Convert sfx2, xmloff and connec.. to cppu::supportsService
...
Change-Id: Ib5d3aabf8aa88ec24e44584047d0405a09fa44ed
Reviewed-on: https://gerrit.libreoffice.org/7864
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com >
2014-02-05 14:01:18 +00:00
ead1525417
bool improvements
...
Change-Id: If35c939adede6a912dee14714a7ceeab84ac977e
2014-01-28 20:24:39 +01:00
a5ce8c77a0
fdo#72916 correct rounding of time part of DateTime
...
Change-Id: I135478755f9e5a844119129b470fef8de2cd0409
2013-12-21 16:49:50 +01:00
6e6d0ef0b8
janitorial: correction in comment
...
Change-Id: I8a3dd1a368c1c1eb327c818f5053545f3ff44b09
2013-12-16 04:18:12 +01:00
ee712dd696
fdo#72267 boolean_test is subsumed by general case "foo IS [NOT] bar"
...
Change-Id: Ie9666b1c8878dd26593629b4b64d74b7448f98c1
2013-12-07 21:35:57 +01:00
b0926378ac
Clean up includes of comphelper/stl_types.hxx
...
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06 17:56:11 +01:00
c78f7d85ab
Get rid of DECLARE_STL_MAP
...
Change-Id: Ifbda934a89087fcc1c031978d3e5b5783722b328
2013-12-06 10:37:50 +01:00
4a8175ebeb
Get rid of DECLARE_STL_USTRINGACCESS_MAP
...
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-06 08:04:22 +01:00
0c55303581
Get rid of DECLARE_STL_STDKEY_SET
...
Change-Id: I4817694d183d525fa5a29eb9693a20d491549e5d
2013-12-05 18:36:21 +01:00
aff270d89a
fdo#65108 inter-module includes <>
...
Change-Id: I338b2f923a31058dc7a3a9a4dcefba52109aa3b0
2013-11-09 18:48:39 -06:00
0bd7f12d41
fixincludeguards.sh: include/c*
...
Change-Id: Icba422d99836518a1b662b15144bc9334bed1473
2013-10-23 23:22:30 +02:00
abb6ab4145
Fix warnings in sqlflex.l, sqlbison.y
...
Change-Id: I6c6b9452014940e09f8f4b7466c5a5f562c9fff5
2013-10-02 16:49:48 +02:00
8e30689680
drop worthless _VECTOR_/_MAP_ header guards
...
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-25 19:24:24 +02:00
7b4b3ad8c6
Don't clobber argument on failure
...
Change-Id: I709305d4ec3c37d3fc1c2c911551174f8cfbb883
2013-09-13 12:08:03 +02:00
7a6fd503b1
Remove sal_char* from dbexception and some cleanup.
...
Change-Id: I81909e4542bd5e8d1f8ae182c3c17f9bbea9745d
Reviewed-on: https://gerrit.libreoffice.org/5881
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-09-12 17:33:02 +00:00
4216518982
Update implementations of ColumnLocate::findColumn to throw on invalid column.
...
Change-Id: I7a9354ecd35a70a005c6c50e38d27de9b33332bd
Reviewed-on: https://gerrit.libreoffice.org/5922
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-09-12 17:26:12 +00:00
1d3483ed27
Remove some unused code from unusedcode.easy
...
Change-Id: Ic3e96eebbb914c5b905a8c58532ead9cb01dd41d
Reviewed-on: https://gerrit.libreoffice.org/5721
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-09-01 09:15:44 +00:00
84286f674b
Rearrange createStandardTypePart to not include extraneous parameters.
...
We specifically only want the type identifier but not any autoincrement/
nullabe parameters which have to be modified separately in some databases
(e.g. firebird).
Change-Id: I8b33bae8ce4aaf5f325c4156955140ad4fb17db7
2013-08-20 21:37:50 +01:00
acd9f66f28
Split type-description out of createStandardColumnPart.
...
createStandardColumnPart returns a string that is usable in table creation,
the type descriptor (e.g. CHAR(N)) is also useful in column-type altering
statements, hence this is split into a separate function.
This is needed primarily in the firebird driver where column-type alter
statements are in a different form to most dbs.
Change-Id: If44554f979f6dd14bf679455978f3f0b44784bf5
Reviewed-on: https://gerrit.libreoffice.org/5432
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-08-19 09:12:03 +00:00
08452f1208
Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
...
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
378510aeba
Fix build.
...
Change-Id: Ia08b6e87b5be3ca2994e0c5fbc6b91c1a800208e
2013-07-15 16:02:50 +02:00
40370f759c
ORDER BY columns are prioritarily *SELECT* columns
...
as opposed to *table* columns,
and notwithstanding HSQLDB 1.8 (our embedded database) bugs.
Actually, supporting ORDER BY on non-select (but table) columns is OPTIONAL for DBMSs
(but quite common)
Change-Id: I6725dfda36b09429a78262bff6f3d3e3dd9032b6
2013-07-11 17:53:30 +02:00
a0c50b739c
Further fallout from the connectivity SQL parser changes
...
A couple of headers now need to be public because they are indirectly
included in other modules.
Change-Id: Id01945197b67183a0a042e854289875ae147a0eb
2013-07-10 20:48:49 +03:00
f220c3913a
make SQL grammar Generalised LR
...
This fixes parsing failures, like e.g.
warn:legacy.osl:30429:1:dbaccess/source/core/api/SingleSelectQueryComposer.cxx:783: OSingleSelectQueryComposer::getColumns: could not parse the column retrieval statement!
when opening query "Balance" of https://bugs.freedesktop.org/attachment.cgi?id=71964
OTOH, since we have reduce/reduce conflicts, we might have true
ambiguities in our grammar. This change makes the parsing fail
in the presence of full-expression ambiguities instead of making
a ~arbitrary choice.
Change-Id: I88574da91045dd52f198f193c78d144302f298a4
2013-07-10 03:15:12 +02:00
d6bba47bcb
remove ::connectivity::to(Date)?(Time)?String; same as DBTypeConversion::*
...
Change-Id: I5f2ef1ecff7e2071b55c27b9dc60e7d92950435c
Reviewed-on: https://gerrit.libreoffice.org/4563
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 12:25:55 +00:00
1b0a43142b
new dbtools::DBTypeConversion::toTimeStringS for time in second precision
...
(no fractional second)
Change-Id: I8bf448783b24fceae9a750f40887d6296999b203
2013-06-27 09:29:33 +02:00
cdbbbdce99
include: convert <type> here too
...
sed -i "s,<type>\([^<]\+\)</type>,\1,"
Change-Id: Ibdaeb2c396ad29ced05716142b38c6a1c3e49847
2013-06-04 12:00:59 +02:00
bf080115ba
include: convert type scope="foo"> here too
...
sed -i 's,<type scope="\([^"]*\)">\([^<]\+\)</type>,\1::\2,g'
Change-Id: I7eb32acd44132de79cc7ac1e7f78b43bb4814d14
2013-06-04 12:00:58 +02:00
d209e13319
fdo#46808, Convert comphelper::ComponentContext in forms module
...
Change-Id: I8a9913d964633381f00c0a4885cc655805fa1974
2013-06-03 10:00:03 +02:00
2838b8eb5e
fdo#46808, Convert ComponentContext in connectivity,extension..
...
...modules.
Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
2013-06-03 10:00:02 +02:00
a0b720c9fc
remove never-generated "predicate_check" entry
...
Change-Id: Ib3957fbadf6bfebfaabd5bef09aaf7ab21862cd6
2013-04-26 16:49:50 +02:00
16c9ce4877
QueryDesign: in criteria, remove matching column_ref in simple expressions
...
Basically, in first children of infix predicates in search_conditions
Change-Id: I0e2f8fbdde023b088f33d2e2fcbd41110f0e02a8
2013-04-26 16:49:49 +02:00
1bc4a49d9b
QueryDesign: in criteria, remove column_ref when table *and* column name match
...
As opposed to only the column name
Change-Id: I261d13f23214f950daa55a5b63cd486e59a0e127
2013-04-26 16:49:48 +02:00
e3d0f6ad11
sal_Bool -> bool
...
Change-Id: I157e0e84cbc9832dd863607b8f52359596b51c8c
2013-04-26 16:49:45 +02:00