66 Commits

Author SHA1 Message Date
Michael Stahl
16986df561 normalize values of WITH_MOZAB4WIN
Change-Id: Iad5aa66635a34a4dfceb0bd6145f2d9bd197cc17
2014-03-11 11:57:18 +01:00
Michael Stahl
d744bcae5d normalize values of BUILD_POSTGRESQL_SDBC
Change-Id: Iab7ef9ef27ea970aded726a8c8d2c46267454a64
2014-03-11 11:57:16 +01:00
Marcos Paulo de Souza
692c724f5e fdo#60698: Merge odbcbase into odbc
We odbcbase is just used inside odbc library, so merge them.

Change-Id: I4f4b34873b570ddcf1065c49e5310a1e73092fd6
2013-12-24 09:12:16 +00:00
Bjoern Michaelsen
04dead1c6b make l10n buildable separately
- this renames the 'almost' module target to non-l10n
- and adds a l10n target which is intended to only build l10n parts of
  the product
- packagers should then be able to build l10n and non-l10n parts of the
  product independently, thus:
   - enable quicker rebuilds
   - distribution of load
   - updates to l10n without a full rebuild
   - security fixes to binaries without rebuilding all l10n
- the new targets are called build-l10n-only and build-non-l10n-only
- note this is not intended to move a concept of split packages
  upstream -- while this exsists in distros, the number of test
  scenarios for this would explode upstream

Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863

Conflicts:
	filter/Module_filter.mk
2013-11-14 16:45:02 +01:00
Tor Lillqvist
08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Christian Lohmaier
f351c13993 allow to build for Windows XP when using Visual Studio 2012
VS 2012 Update 1 added the possibility to target Windows XP by using a
SDK that is based on the Windows 7 one.
http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx

This patch probably should not be integrated as is, as it disables a
test that fails in this configuration (CppunitTest_connectivity_ado)

Change-Id: I3ba8723882452950c40049ccdc95b04c60862cbf
Reviewed-on: https://gerrit.libreoffice.org/4966
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-19 08:04:11 +00:00
Andrzej J.R. Hunt
f32dc63b52 Make firebird-sdbc install consistent with other drivers.
Change-Id: I01673bda5a08ca793f4fba89ddae036e3f1483e2
2013-07-16 16:40:16 +02:00
Andrzej J.R. Hunt
304ab4488c Rename firebird-sdbc to firebird_sdbc to compile with latest master.
Change-Id: I56e3180095c8a1fa660e1e27588320bdce972952
2013-07-16 16:40:11 +02:00
Javier Fernandez
f53228c59a Firebird: initial implementation of the skeleton driver.
Change-Id: I45087282fe7b7fc5bcebeeb2bbb79d0db1e043bd
2013-07-16 16:40:03 +02:00
Michael Stahl
ee67132692 connectivity: remove Package_generated
This one is ugly, the Yacc generated header is used in lots of places;
the dependencies are already right because using the header requires
using the dbtools library which builds the YaccTarget, so just yet
another include path has to be added.

Change-Id: I031fde80ac326551d4719533305b1ae35351ca43
2013-05-07 17:07:44 +02:00
David Tardon
f995c1ce83 oops. drop ALRT_hsqldb from Module too
Change-Id: I5f67cef527fe54030fd848d0411e82c30cc06713
2013-05-05 09:38:26 +02:00
Michael Meeks
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
Bjoern Michaelsen
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
Peter Foley
8042b521fd add calc, dbase, file, and flat to Library_merged
Change-Id: Ib6b03cda815ba0450930cec970bfe7eb4d98ac44
2013-03-28 09:58:06 -04:00
David Ostrovsky
2bd856e643 ORowSetValue: clean up sign/unsigned union member
Also switch BOOLEAN constructor from sal_Bool to bool.

old/new signed/unsigned storage situation:

-------------------------------------------------------
 SQL type | signed    | unsigned old     | unsigned new
-------------------------------------------------------
 TINYINT  | sal_Int8  | sal_Int16        | sal_uInt8
 SMALLINT | sal_Int16 | sal_Int32        | sal_uInt16
 INTEGER  | sal_Int32 | sal_Int64        | sal_uInt32
 BIGINT   | sal_Int64 | pValue (String*) | sal_uInt64
-------------------------------------------------------

When sticking an UNSIGNED TINYINT into an Any,
silently promote it to UNSIGNED SMALLINT (that is sal_uInt16),
else Any would take it as a sal_Bool and normalise to
sal_True (1) or sal_False (0).

When constructing an ORowSetValue from a sal_Bool,
silently keep it as an unsigned 8 bit integer
(that is understand it as a sal_uInt8).
This will work in most cases,
since when asked back for a bool or sal_Bool,
we'll give back the right value.
Only code looking at the type tag could possibly
make a "wrong" decision.
The main (hopefully only?) path
through which this would happen is
through an implementation of
  XParameters::setBoolean
  XRowUpdate::updateBoolean
that would use its sal_Bool argument
to construct an ORowSetValue.
So make sure each implementation
constructs a proper BOOLEAN so as not to get confused.

For authorship/copyright purposes, this patch is a cooperation between
 Lionel Elie Mamane <lionel@mamane.lu>
and
 David Ostrovsky <david@ostrovsky.org>

Change-Id: I3f1f08716127147f077bff4edb6ec558b1b09e09
2013-02-05 15:46:17 +01:00
Tor Lillqvist
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
Stephan Bergmann
ffc75b5734 Revert inadvertent chmod
Change-Id: Ia433a842feb1d4bf2e2398de61144e45ee33d0da
2012-12-05 17:24:14 +01:00
Stephan Bergmann
e4bbf6d3cf WITH_MOZAB4WIN=NO still needs mozbootstrap
Change-Id: I9b9cd072c885387988492a6a945a9ca099635ecf
2012-12-05 17:21:40 +01:00
Mathias Michel
a0c53a961a First fix for fdo#56902
Restrict moz to windows, and build vars also
impacts nss, connectivity

Change-Id: I27aae1398f3f8a4d046c2c7805d64bc7523c7282
Reviewed-on: https://gerrit.libreoffice.org/1233
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-04 10:53:36 +00:00
David Ostrovsky
c68cd0125d enable ado driver unit test again
The problem is that ado driver creates a link file in the tree
leaving it dirty: tinderbox doesn't like it. Instead of reading
the mdb file direct from srcdir we copy it first to workdir and
read it from there with the new function: getPathFromWorkdir.
Thank you Norbert!

Change-Id: I504bc26b80686db55a505bac19a95cc9c6022fcc
Reviewed-on: https://gerrit.libreoffice.org/1004
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-07 23:06:25 +00:00
Stephan Bergmann
2ece91f79b Always package at least mozbootstrap
...if not even mozab.  Otherwise, there is no implementation of
com.sun.star.mozilla.MozillaBootstrap and "File - Digital Signatures... - Sign
Document..." cannot show any certificates from Mozilla profiles.

Change-Id: Ie9b73fad798b2c2a3b52ba374ea967401694f685
2012-11-07 13:37:57 +01:00
David Ostrovsky
33973b8185 disable ado test to make tinderbox happy
Change-Id: I2c1aa64db61e281dc1cddc2e7d89d9b109dcf287
2012-11-05 08:41:09 +01:00
David Ostrovsky
1f02853ecc fdo#53070 add complete unit test
Change-Id: I34f7a8ae58fa6af4c8cfdd13330420f1576fa2c9
2012-11-03 10:42:15 +01:00
Caolán McNamara
d814448c41 put the test and the thing to be tested inside the same if condition
Change-Id: I0bb23749cd74797838fe45ef6e739f75879eea6a
2012-10-10 11:12:37 +01:00
Tor Lillqvist
fce309fcab No mork on non-desktop OSes
Change-Id: Ic9391a020915cdb794434d8728bad1bd64dd20c8
2012-10-10 13:07:15 +03:00
David Ostrovsky
36026a6ae5 mork driver: add list tables and unit test
Change-Id: I594b24341eb38c05523f578c1dc2e43d90544f30
2012-10-10 13:35:13 +05:30
Tor Lillqvist
ed95cdf4f2 No point with ODBC for Android or iOS
Sure, little point for them with the other stuff here in connectivity
either, but those parts at least compile. If/when I get back to
getting the --disable-database-connectivity thing to work, all of
conectivity will be bypassed for Android and iOS, of course.

Change-Id: I4eeeb9ccdf46fb2e1df8bf75aef63e17cbb97bbf
2012-10-07 07:59:12 +03:00
Stephan Bergmann
fe4c47e41f Some clean-up of mork-related changs
And reverted for now the configure error when --enable-mozilla on non-Windows;
it is still used for other features, too.

Change-Id: I1ce5ff1a7a3d140a1ab7ba1e905166d91229c926
2012-09-18 18:26:42 +02:00
David Ostrovsky
903065dda1 switch build system to mork driver implementation
On all non windows platforms no mozilla is used any more.
On windows it used for O and OE address book access.
Once alternative implementation for it exists,
mozilla can be stripped there too.

Change-Id: I54144005e6a284326b45a34eb958d170e872471e
Reviewed-on: https://gerrit.libreoffice.org/637
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-09-18 14:17:27 +00:00
David Ostrovsky
77e4adbe47 mork driver implementation
This is a preparation for merge into master, feature/mork
branch is obsoslete and shouldn't be used any more. In
context of this change the usage of old mozilla based mork
driver depends on platform: all non windows platforms use
this new mork driver, windows still uses mozilla.

Because mozilla driver shipping was stripped on feature/mork
branch for all platforms, the corresponding commits were
changed prior to creating this change (the build file changes
are reverted now). So the build and shipping of different mork
driver implementation should be implemented from scratch:
mozilla on windows, new mork dirver on all other platforms.

Currently the new mork dirver is compiled (on all platforms),
but not used. It can be tested with mork_helper executable.

fdo#51004

Change-Id: Ib2413ab6856f163337aa311c4bf7b1182d6c6f63
Reviewed-on: https://gerrit.libreoffice.org/635
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-18 08:30:01 +00:00
Matúš Kukan
091c1b6fc5 more old module-description xml files
Change-Id: I9ac503b073ee3f9b8e7958264ffcc26d9446c220
2012-08-22 23:27:34 +02:00
Timothy Pearson
0700d6a1f3 fix TDE FTBFS
Change-Id: Icde6310d922a3d5e2822789a23403b9f188efaf4
2012-08-18 16:19:05 +02:00
Tor Lillqvist
2f378a6a61 Bypass unless BUILD_TYPE includes DBCONNECTIVITY
Change-Id: I4450b0bae9223c96f2e5e26e7ffad72b4fc1ff07
2012-05-29 18:50:30 +03:00
David Tardon
db90240a65 ConnectivityTools.jar is only used by complex tests
Change-Id: I480ec61e44f008e8f473825063a2ac0575970d7b
2012-05-29 07:35:23 +02:00
David Tardon
aa99f07604 connectivity: convert tdeab to gbuild
Change-Id: I6653686ef251bdf64610ff9bab7e27e39acee799
2012-05-29 07:24:52 +02:00
David Tardon
b7c152e14d rename evoab2 back to evoab 2012-05-29 07:24:47 +02:00
David Tardon
7d5a3fe556 connectivity: convert configuration 2012-05-29 07:24:45 +02:00
David Tardon
7a72abad23 disable broken complex test 2012-05-29 07:24:42 +02:00
David Tardon
30e15cda5b connectivity: convert subsequent test 2012-05-29 07:24:40 +02:00
David Tardon
9c24d6c542 keep the list sorted 2012-05-29 07:24:40 +02:00
David Tardon
c4e37af4f1 the resources were not all packed into one file originally 2012-05-29 07:24:39 +02:00
David Tardon
4b9949d8dd sqlbison.hxx must be delivered, because it is used by another header from inc 2012-05-29 07:24:38 +02:00
David Tardon
c678a4cbf2 connectivity: convert mozab (hopefully .-) 2012-05-29 07:24:38 +02:00
David Tardon
8bc7afbf5f connectivity: convert postgresql driver 2012-05-29 07:24:37 +02:00
David Tardon
579f52d41e connectivity: convert hsqldb 2012-05-29 07:24:36 +02:00
Peter Foley
85778230cb connectivity: convert dbase to gbuild 2012-05-29 07:24:33 +02:00
Peter Foley
9956f6d006 connectivity: convert flat to gbuild 2012-05-29 07:24:33 +02:00
Peter Foley
41c23a6d09 connectivity: convert file to gbuild 2012-05-29 07:24:33 +02:00
Peter Foley
afe5106342 connectivity: convert jdbc to gbuild 2012-05-29 07:24:32 +02:00
Peter Foley
b8998bc7fe connectivity: don't build jars unless java is enabled 2012-05-29 07:24:32 +02:00