Commit Graph
80 Commits
Author SHA1 Message Date
Caolán McNamara 00657aef09 migrate to boost::gettext
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl
* all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string")
* ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching
  MODULE .mo files
* UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui
  goes from l10n target to normal one, so the res/lang.zips of UI files go away
* translation via Translation::get(hrc-define-key, imbued-std::locale)
* python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there
  to keep finding the .hrc file uniform) so magic numbers can go away there
* java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation
  mechanism
* en-US res files go away, their strings are now the .hrc keys in the source code
* remaining .res files are replaced by .mo files
* in .res/.ui-lang-zip files, the old scheme missing translations of strings
  results in inserting the english original so something can be found, now the
  standard fallback of using the english original from the source key is used, so
  partial translations shrink dramatically in size
* extract .hrc strings with hrcex which backs onto
   xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap
* extract .ui strings with uiex which backs onto
   xgettext --add-comments --no-wrap
* qtz for gettext translations is generated at runtime as ascii-ified crc32 of
   content + "|" + msgid
* [API CHANGE] remove deprecated binary .res resouce loader related uno apis
      com::sun::star::resource::OfficeResourceLoader
      com::sun::star::resource::XResourceBundleLoader
      com::sun::star::resource::XResourceBundle
    when translating strings via uno apis
      com.sun.star.resource.StringResourceWithLocation
    can continue to be used

Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-21 08:20:50 +01:00
Miklos Vajna 69068f2228 connectivity: add initial writer backend
Similar to the calc one. As a first step the Driver and the Connection
interfaces are implemented, though the later has some stubs.

Change-Id: Id043f7742fdb2006d4f88526ef4d055a6d8dee82
Reviewed-on: https://gerrit.libreoffice.org/40033
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-07-17 10:02:05 +02:00
Michael Stahl 4ffdb6750f remove TDE integration (vclplug, address book, config backend)
It has ~no users, can't even be built on modern Linuxes, and it annoys
folks who want to refactor VCL.

Per ESC decision from 2017-06-08, remove --enable-tde and --enable-tdeab.

Change-Id: I51ce4786f29f8fcac2e2bb2a654c41fbfbbd8afd
Reviewed-on: https://gerrit.libreoffice.org/38718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-13 10:41:24 +02:00
Caolán McNamara 8efb852024 another name for a nonlocalized string is a string
Change-Id: Ic4ff92720edd1c10dd6d5eff026e79cb02990005
2017-04-27 13:29:58 +01:00
Caolán McNamara c00b5ee5f2 always have dbtools
Change-Id: I6a3658a275c520c95490df2bb4c99ad3e3a15cef
Reviewed-on: https://gerrit.libreoffice.org/32208
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-20 09:28:03 +00:00
Michael Stahl 8565cef55b connectivity: remove MSVC 2012 specific hack
Change-Id: I78a25118d68ab7ad1db5240910f0974ba1e8381f
2016-01-12 20:30:10 +01:00
David Ostrovsky 4e3086da3e Remove Seamonkey based address book driver
Seamonkey based address book driver is based on pre-compiled libraries
and is only used on Windows 32 bit. Remove it in favor of mork driver.

Given that Seamonkey based mozab driver also provides Outlook and
Outlook Express address book integration, that Windows-32-bit--only
feature is lost for now.  If necessary, support for that feature could
be rewritten from scratch, in a way that would also work for Windows 64
bit.

Change-Id: Ie1c125e692598bda999767c328c9e2262a2b82af
Reviewed-on: https://gerrit.libreoffice.org/19560
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-10-25 15:02:44 +00:00
Michael Stahl 72699595aa remove KDE3 support, --enable-kde and --enable-kdeab
With the new RHEL6-era baseline TDF can finally ship KDE4 support.

Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3
Reviewed-on: https://gerrit.libreoffice.org/18267
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03 08:18:03 +00:00
Michael Stahl 0cbe2e92a2 connectivity: just check the WITH_MOZAB4WIN variable
Either build mozab or mork driver, and install it in Repository.mk too.

Change-Id: I456d6cb4ebe99625a64a960d1133cb06d836e8c7
2015-02-04 17:32:21 +01:00
Stephan Bergmann 0c3505f01a Typo $(CPU) -> $(CPUNAME)
Change-Id: I2e121c36021508bbdbc9111087f5cc6e1aae6524
2015-02-04 17:26:44 +01:00
Stephan Bergmann 484d591457 Revert "Do not let WNT non-INTEL run into the else branch"
This reverts commit c0f080403b,
logic error, true fix will follow.
2015-02-04 17:24:41 +01:00
Stephan Bergmann c0f080403b Do not let WNT non-INTEL run into the else branch
Change-Id: I85a5f35fb8b44734e84c686ecdffc6096226b91d
2015-02-04 17:03:00 +01:00
David Ostrovsky e6a58b5e69 Activate mork driver on windows 64 bit build
On Windows 32 bit ancient seamonkey library is linked against
libreoffice. In 64 bit we cannot used this library and we cannot
recompile it because it was removed. Instead use mork driver.

This would still meant functionality loss because Outlook and Outlook
Express address book wouldn't be supported any more.

Change-Id: I77fbb59aaeb6c7f3b6754e7ffb9172064155e8f3
Reviewed-on: https://gerrit.libreoffice.org/14275
Tested-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-04 13:19:01 +00:00
David Ostrovsky 949ee4fe12 Disable ado unit test on x86_64 platform on windows
ADO is not available on 64bit.

Change-Id: Iaad115219eac0051346b99ecb9076e29d528df2b
Reviewed-on: https://gerrit.libreoffice.org/13367
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-01-10 21:40:38 +00:00
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