Lionel Elie Mamane
1883d4f10f
when reading a bool from a database, treat is as a bool
...
This in particular allows recognition of strings "true" and "false".
Change-Id: I590a5357206e4fb0b92b78b8ee4655e445e6f152
2013-10-16 18:45:19 +02:00
Jan Holesovsky
66013a154b
[API CHANGE]: PreView -> Preview, including .uno:PrintPagePreView.
...
Will be .uno:PrintPagePreview going forward.
Change-Id: Ie5a35467917a54a60dab9eaacf0690c9df27e6f6
2013-10-16 16:57:22 +02:00
Stephan Bergmann
7a3381c2a8
CID#1000838 Fix overrides' exception specifications
...
Includes also fixes for
CID#1000839
CID#1000840
CID#1000841
Change-Id: I4c7d0bbaec59357af722353bdf947f5629dde1b0
2013-10-16 10:04:44 +02:00
Tor Lillqvist
6954aad4e5
Reduce copypasta: Introduce SAL_NEWLINE_STRING and use it
...
Contains the platform-dependent on-disk line separator ("\r\n" for Windows,
"\n" otherwise, and yes, I assume an ASCII-based world).
Use it instead of static constant char array fields, with ifdeffed
initialisations, in various classes here and there.
Change-Id: Ibea1f2cc1acfb8cc067c3892a41f73bf44f2c78a
2013-10-13 13:49:24 +03:00
Tor Lillqvist
8b73652822
Test _WIN32 instead of UNX as it is Win32 that's different here
...
Change-Id: I05e93ef13523a4729c46c9dbf36657d7288c62e6
2013-10-12 18:29:51 +03:00
Caolán McNamara
44fa08ed89
CID#1103679 calm coverity re invalid iterators
...
Change-Id: Iad07aa59c6016752ec9467945d737380d214c3c0
2013-10-11 08:51:26 +01:00
Caolán McNamara
541bb85933
CID#1103666 check for NULL
...
Change-Id: Idb8cf3c80422d38c271dc2cc8176ff231cf64025
2013-10-10 17:06:01 +01:00
Stephan Bergmann
f58ee783ee
Improve ErrorCodeIOException messages
...
...and clean up some includes.
Change-Id: Ia5843cd38f967722d7173a6c87fba26064e3ffd6
2013-10-09 21:02:11 +02:00
Thomas Arnhold
c20f23a660
html export: 4.0 needs type attribute for style tag
...
Change-Id: Iaa076f639a4da564945385ee616d346c4f0d0889
2013-10-07 11:53:33 +02:00
Thomas Arnhold
646950f96d
html export: use only HTML 4.0 for export
...
Change-Id: I36d8ddf7b8b38e27686c6cc51ef2a676394f97fb
2013-10-07 11:53:33 +02:00
Jesús Corrius
050248fea5
Initial fix for fdo#69915
...
Change-Id: Id673eb7a55aefb35ff8ab612f926bfd115129ab4
2013-10-04 10:02:35 +02:00
Andrzej J.R. Hunt
e5961c6a09
HSQLDB unit test doesn't depend on firebird.
...
Change-Id: I393381984eded19bcd0712c824e4ec0798e60321
2013-10-03 21:42:56 +01:00
Tor Lillqvist
e036d4b706
Spell "indices" correctly
...
Change-Id: I63b1de195bf2f3f8bfd185181f48b1520cdd849f
2013-10-02 21:57:42 +03:00
Lionel Elie Mamane
a102d822c9
janitorial: more const, comments
...
Change-Id: I5366840ab67fdf89575e890a0d97602b8e78f71a
2013-10-02 19:02:33 +02:00
Stephan Bergmann
e67308c306
-Werror,-Wunused-variable
...
Change-Id: I9379b66c8ad5bffeebd60a2d38fe466b6856e613
2013-10-02 18:40:15 +02:00
Stephan Bergmann
7f3d893634
-Werror,-Wunused-variable
...
Change-Id: I1f3b4c25176db53fc3b827e9514ff497a33f419c
2013-10-02 18:40:14 +02:00
Stephan Bergmann
82902dd38b
-Werror,-Wunused-variable
...
Change-Id: I62dbc62446dbdcb25c7a221d88f59862333e5a4d
2013-10-02 18:40:14 +02:00
Stephan Bergmann
34063e35f7
-Werror,-Wunused-variable
...
Change-Id: I805b898faaae631d047ec82e7139c6d6ccaea3b1
2013-10-02 18:40:14 +02:00
Stephan Bergmann
0ff379fa1c
-Werror,-Wunused-variable
...
Change-Id: I0d587538c3bee7ad71acb2272c7f85f5f7454158
2013-10-02 18:40:14 +02:00
Stephan Bergmann
075d472a9d
Use std::auto_ptr::reset where applicable
...
(avoids warnings about std::auto_ptr ctor being deprecated)
Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-10-02 16:49:49 +02:00
Caolán McNamara
f7f4216702
remove some UniString::GetBuffer
...
Change-Id: I808026a6f593b0251ee107d27e7ca12d55b2d0a0
2013-10-02 11:43:04 +01:00
Matúš Kukan
e1b51e7beb
gbuild: use .xcd configuration files from instdir
...
..instead of .xcu files in solver/*/xml/registry
when running unittests and gengal.
Change-Id: I390a6c531d653acca7ef3379c49fe65fcb8f3c2a
Reviewed-on: https://gerrit.libreoffice.org/6057
Tested-by: Michael Stahl <mstahl@redhat.com >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2013-10-01 10:54:14 +00:00
Noel Grandin
b47e4dbc08
convert more of dbaccess from String to OUString
...
seemed to have missed this the first time around
Change-Id: I8b7b78c95c576b178e3e181c7589da81e5189ee3
2013-10-01 10:08:44 +02:00
Noel Grandin
d11ed5a57e
convert dbaccess module from String to OUString
...
Change-Id: I110c925f8d955dfd841cdd1092c13df4d8205393
2013-10-01 10:08:43 +02:00
Andrzej J.R. Hunt
bdde962f91
Revert "Disable HSQLDB unit test for now."
...
This reverts commit d4a41ab30c
.
This test failed once on one windows TB, but seems to run on my
local machine. Reenabling to verify whether all TBs fail or if
this is limited to one machine.
Change-Id: I40c121833eaef091aaa9cc4a80fefb88fde2cc5f
2013-09-30 17:56:36 +01:00
Andrzej J.R. Hunt
d4a41ab30c
Disable HSQLDB unit test for now.
...
Will require some debugging to make work on Windows.
Change-Id: I264e6cdb93c5b9ea89f2a80b332df4e9c879f1d1
2013-09-27 21:05:21 +01:00
Andrzej J.R. Hunt
981b73c985
Add normal (non PreparedStatement) insert test.
...
Change-Id: I0f6220917d8a9e8ecce30acbabf8386e73372ed3
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
c058510595
Refactor performance test.
...
This is to allow for comparing the use of Prepared/Normal statements.
Change-Id: I6e120892f1c66f8b1c59bda309e88b2b7f39d230
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
7c87a5383a
Implement firebird/hsqldb performance comparison test.
...
Change-Id: Iaf28b0fcb04ee713ccae6a593e56653eac6e2eba
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
2fe4dd1e8b
Make our_sFilePath protected to allow reuse.
...
Change-Id: Id760cfd196bb25aa1d982efa0b2b47211680c77e
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
24320dca85
Implement hsqldb loading test.
...
Change-Id: I7dc6390b1061585054d1fa435414cae245122a1c
2013-09-27 18:09:18 +01:00
Andrzej J.R. Hunt
1301f29e10
Silence some (irrelevant) exceptions in firebird unit test.
...
Change-Id: I0639b2c69f5f111e37e5566bf4cbea6719de8789
2013-09-27 18:09:17 +01:00
Stephan Bergmann
5063e39261
getURLFromWorkdir should actually return a URL
...
Change-Id: Id6d67f820226da15d90b95aa047767926583cc2e
2013-09-27 14:26:51 +02:00
Lionel Elie Mamane
a9a0933ec6
raah... getURLFromWorkdir does not put the URL scheme
...
Change-Id: I62162230b313c66872ef1b3e8b18070126169aa1
2013-09-27 13:07:44 +02:00
Lionel Elie Mamane
c24161acd6
get workdir URL directly
...
as opposed to buggily trying to build it ourselves from the path
Change-Id: Ibf44fac809a9cf12bc654a5a2f8ac8f00866b1a3
2013-09-27 12:52:42 +02:00
Lionel Elie Mamane
e93df5c7b2
a dependency started requiring boost...
...
Change-Id: Ifd32f99f4ab1df1625464c2f269bc85f7283783f
2013-09-27 12:18:08 +02:00
Lionel Elie Mamane
92c53b9d94
unittest for fdo#67685
...
Change-Id: I44500717109a026d7c71e6494daacbea1f224263
2013-09-27 11:38:08 +02:00
Andras Timar
7f436c1fd3
typo fixes in comments
...
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00
Caolán McNamara
8e30689680
drop worthless _VECTOR_/_MAP_ header guards
...
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-09-25 19:24:24 +02:00
Caolán McNamara
98de5b40c8
Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
...
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
Noel Grandin
ffc782c23c
remove dead definitions
...
Change-Id: I69d2df6cb0a7f994339972a23a913938307e5791
2013-09-19 10:14:15 +02:00
Norbert Thiebaud
24f277a4ad
Do not use int64 litteral without the proper wrapping
...
Change-Id: I879a47720f337b57038ac3207cb466aa42d0beeb
2013-09-12 20:37:54 -05:00
Andrzej J.R. Hunt
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
Andrzej J.R. Hunt
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
Caolán McNamara
1c4f72748d
CID#736168 help coverity out a bit
...
coverity thinks theres an overrun here, I think its wrong, but its
needlessly complicated code, simplify
Change-Id: I9db4886b4e60d49c25de514081953cb380d4146f
2013-09-12 13:09:05 +01:00
Andrzej J.R. Hunt
ca247672c5
Remove unneeded lines.
...
Change-Id: Ica14f151653f57f01dfd46754b705231e8423fac
2013-09-10 19:52:00 +01:00
Andrzej J.R. Hunt
e4b07b2917
Add missing component to firebird unit test.
...
(Windows throws an Error on this.)
Change-Id: Ica3aeac294d3a32a4faa6837309a0fb5d8d15b92
2013-09-10 11:28:34 +01:00
Andrzej J.R. Hunt
f7383e8b58
Split reusable parts of Firebird unit test into DBTestBase.
...
Change-Id: I6b2d131e0e4b53bb6b4cec69c5b0e99b8b9e74a7
2013-09-10 11:28:33 +01:00
Andrzej J.R. Hunt
8dc5941064
Fix typo.
...
Change-Id: I34df96334478b10f151e630188f45e6ce0487f1a
2013-09-10 09:05:04 +01:00
Andrzej J.R. Hunt
da8d7533f8
Try to fix Mac/Win Tinderboxes.
...
Change-Id: Ibfd017c23cf510bf481d60b1e836654fd7240df0
2013-09-10 08:56:08 +01:00