Commit Graph
61 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
Caolán McNamara 816190b7b0 remove extensions bitmaps from .src files
resulting in the removal of a updchk .res file

Change-Id: I7a6f3601f25763253ba34590a1970ca8a042db23
2017-04-26 08:57:30 +01:00
Tor Lillqvist e597ef0489 No need for --disable-activex and --disable-atl any longer
Change-Id: I7ac4f32cb01bfcc3a2c06e69280c2150d408ec6b
Reviewed-on: https://gerrit.libreoffice.org/35174
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2017-03-14 21:41:26 +00:00
David Tardon 0a5a20e929 merge cond. blocks to one
Change-Id: Iad5858955244e12a849336f84938a39b6f3219e0
2016-06-08 12:51:42 +02:00
Rene Engelhard 4c18af27bf tdf#96398 kill remaining NPAPI support for plugins _inside_ LO
- probably out of date
- links against Gtk2 and thus causes a GTk2 dependency in core packages
- the only serious usecase (Flash) is doomed anyway

Change-Id: I7264ab5eb04c2f4b6c31a815e45b9818209e5ae2
Reviewed-on: https://gerrit.libreoffice.org/20658
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Reviewed-by: Bryan Quigley <gquigs@gmail.com>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-17 15:31:17 +00:00
Bryan Quigley 496bc3cd6c fdo#45071 Remove Libreoffice browser plugin
This removes ENABLE_NPAPI_INTO_BROWSER while it should keep
ENABLE_NPAPI_FROM_BROWSER (embed flash in LO) intact.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Conflicts:
	extensions/source/nsplugin/source/npshell.cxx

Change-Id: I80a9159a75653c74423d8fdc7c188568d3188e04
2014-09-09 15:20:35 +02:00
Caolán McNamara 1bb161ece5 these strings should be translatable
so bring back scn.res and add them in there

Change-Id: I378d64f524c64295d26223f54fe17950b475cd80
2014-08-18 11:13:55 +01:00
Caolán McNamara 5c53bb8a99 scn resource file is empty now post ui-ification
Change-Id: Id8a6d6c4faf3101b13d84de180f8db7cab2cb16f
2014-06-12 13:54:15 +01:00
Palenik Mihály f188c982d5 Convert RID_SANE_DIALOG to .ui
Change-Id: I1f08493cdc18f4c0691a8436368432fe4e94dec3
Reviewed-on: https://gerrit.libreoffice.org/9696
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-11 13:27:30 +00:00
Caolán McNamara 910638a560 convert select type address book page to .ui
Change-Id: I94c0ed3385e64f854875f62c32adaa066d3b1ead
2014-04-20 21:51:01 +01:00
Bjoern Michaelsen 78c7eb3507 uiconfig is a l10n-relevant target
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-16 17:36:26 +01: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
Manal Alhassoun 2f7f7e7717 Convert tab order dialog to widget UI
Change-Id: I2aebcf6486b80af31f1a06e9ae38e5610bee0cb4
Reviewed-on: https://gerrit.libreoffice.org/5970
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-17 11:42:29 +00:00
Norbert Thiebaud 1376af9a72 ENABLE_NPAPI_* Harmonize ENABLE_* variable to TRUE/<nothing>
Change-Id: Ia7575f0f51bc3ba355ec01d937bd155adb287572
Reviewed-on: https://gerrit.libreoffice.org/5684
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-30 07:08:28 +00:00
David Tardon 8e31b90052 install SpotlightImporter bundle using filelists
Change-Id: I01ea506b76356ce62688350d096ff77c2cddcbdf
2013-04-30 17:49:07 +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
David Tardon bec67a2e7f deliver all uiconfig files by UIConfig
Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02
Reviewed-on: https://gerrit.libreoffice.org/3229
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11 03:39:16 +00:00
David Tardon 203cb5d967 only build WinResTarget on windows
Change-Id: I144e89996fb980514f4031d0e2aa0d0ced529d35
2013-04-09 19:29:12 +02:00
Michael Stahl 5a68f57606 extensions: remove obsolete oleautobridge2 library
This library was never shipped with LibreOffice; presumably it is some
backward compat kludge for StarOffice versions older than 5.2 that only
shipped with StarOffice.

Change-Id: I5e07e14fde0f62814f4648b362f9e9333fd6c84f
2013-02-28 22:48:28 +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
Tor Lillqvist 12152d253e Replace GUIBASE checks with equivalent OS checks
The idea is to get rid of GUIBASE and GUI checks as much as possible.

GUIBASE=aqua <=> OS=MACOSX
GUIBASE=WIN <=> OS=WNT
GUIBASE=cocoatouch <=> OS=IOS
GUIBASE=android <=> OS=ANDROID

Don't set GUIBASE to these values any more in configure.ac
either.

GUIBASE_FOR_BUILD is not used anywhere.

Conflicts:
	configure.ac
	postprocess/packcomponents/makefile.mk
	postprocess/packregistry/makefile.mk

Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-18 20:52:24 -05:00
Stephan Bergmann a6139f6fe6 Key different browser plugin features to specific flags
This is a rework of f9059d4eee "Key all browser
plugin features to --enable-nsplugin."  The problem with that was that Mac OS X
supports pluging browser plugins into LO documents (which was originally
controlled by --enable-mozilla) but not plugging LO into browser windows (which
was originally controlled by --enable-nsplugin), so controlling the former with
the same switch as the latter did not actually work.

Thus I replaced the single ENABLE_NSPLUGIN feature flag with two dedicated ones,
ENABLE_NPAPI_FROM_BROWSER (for plugging browser plugins into LO documents) and
ENABLE_NPAPI_INTO_BROWSER (for plugging LO into browser windows).  The
--enable-nsplugin configure switch is gone completely, setting the feature flags
is always done fully automatically now.

Change-Id: Iecf706637465e865c987563b5de489fa90b4c904
2012-11-20 11:24:05 +01:00
Stephan Bergmann f9059d4eee Key all browser plugin features to --enable-nsplugin
...instead of having them spread across --enable-nsplugin (plug LO into browser
windows) and --enable-mozilla (plug browser plugins into LO documents).  The
ultimate goal is to clean up the various configure options mentioning "mozilla"
and WITH_MOZILLA.

Change-Id: I6f4b1c3a5701424f586cc1e303af90c9d59a91b6
2012-11-19 17:41:01 +01:00
Tor Lillqvist 68669491ad Don't do these for Android and iOS for now
Again, must of the rest of the stuff here probably doesn't make sense
for Android or iOS either, but at least it compiles. (It won't get
linked into an app anyway, so just a small waste of time to have it
compiled.)

Change-Id: I32f56a11312c6a3b5eba00d2db8f0a43dd0752e0
2012-10-07 07:59:13 +03:00
Michael Stahl 800133e8c8 extensions: convert unoapi test to gbuild
It even seems to run on my system

Change-Id: I0246467b82bec7617d6de7dbad84c45fc279c24c
2012-09-05 21:01:48 +02:00
Matúš Kukan 9ec8d331dc kill more unneeded stuff; rename uiconfig Packages
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c
2012-08-24 23:24:11 +02:00
Caolán McNamara 8c05d8b827 fix probable cut-and-paste build error
Change-Id: I71a3ea0fd548bb6dcaf2df823fa3d63026b1b3dc
2012-07-20 16:55:02 +01:00
Michael Meeks d3c4d9a0f8 android: x86 porting work. 2012-07-20 16:40:21 +01:00
Fridrich Štrba 336c956262 First attempt at removing mozilla ldap at all (please help to fix)
Change-Id: I0559cf1820c782d22c4d75749f2171d7702b4e73
2012-07-16 17:22:49 +02:00
Stephan Bergmann 7a56eef989 Clean up optional online update module
* The updatecheckui lib is part of that module; should its scp entry also be
marked ComponentCondition="ISCHECKFORPRODUCTUPDATES=1"?

* unpack_update (and other scripts as well?) need only be generated if
ENABLE_ONLINE_UPDATE.

* It is inconsistent that there is a distinct onlineupdate.xcd not merged into
main.xcd, while the updchk and updatecheckui component files are merged into
the global services.rdb.

* The updchk res file should also go into (a resource sub-module of) the
optional online update module.
2012-04-05 21:10:57 +02:00
Matúš Kukan 1e7fd91514 fix so_activex_idl, part two
The order seems to be important here.
However it has worked for me and I am not sure this will fix tinderboxes.
2012-04-04 14:14:38 +02:00
Matúš Kukan b635ee568c extensions: use CustomTarget makefiles 2012-04-04 11:31:58 +02:00
Michael Stahl d343dddc3f extensions: split out static library from npsoplugin 2012-03-12 18:30:34 +01:00
Michael Stahl 5926ce12ed extensions: split out static library for X11 plugin connection stuff 2012-03-12 18:30:33 +01:00
David Tardon 09888c688e fix building of so_activex (fdo#46847) 2012-03-04 10:32:52 +01:00
David Tardon e358dc89fe use custom target for copying sources 2012-03-04 10:32:51 +01:00
Matúš Kukan 8829b7c91d build nsplugin also without mozilla as in 3-5 branch 2012-03-03 16:36:57 +01:00
Riccardo Magliocchetti 84c8559820 Fix most of the build with --disable-database-connectivity 2012-02-21 15:36:49 +02:00
Tor Lillqvist ab2f830bbb Use gb_STDLIBS; No on-line update on non-desktop OSes 2012-02-18 10:51:23 +02:00
Matúš Kukan ab84770bb6 Build nsplugin only in with mozilla case.
This replaces commits 830a2b9235
and 68b08a11ba with,
hopefully, proper one.
2012-01-13 15:50:43 +01:00
Matúš Kukan 830a2b9235 use ENABLE_NSPLUGIN again 2012-01-12 17:44:08 +01:00
Matúš Kukan 0482c914c7 extensions: remove unused xmx library 2012-01-11 20:44:49 +01:00
Thorsten Behrens 84c33ebf34 Make nsplugin build on Mac, take two.
Now with some help from Michael Stahl - seems to work.
2012-01-10 17:33:50 +01:00
Norbert Thiebaud a8bdde191c fix sanedlg.hrc dep issue due to gbuildification of extensions 2012-01-04 01:48:03 -06:00
Peter Foley 1841baf54f extensions: convert activex to gbuild 2011-12-18 01:28:13 +01:00
Peter Foley 42506a1cfd extensions: convert resource, xmlextract to gbuild 2011-12-18 00:47:43 +01:00
Peter Foley bc4fda7310 extensions: convert abpilot to gbuild 2011-12-18 00:23:55 +01:00
Peter Foley ead4cd1fa5 extensions: convert dbpilots to gbuild 2011-12-18 00:13:28 +01:00
Peter Foley 2e6705a728 extensions: convert logging to gbuild 2011-12-17 23:58:52 +01:00
Peter Foley ac8733d8be extensions: convert bibliography to gbuild 2011-12-17 23:47:32 +01:00