Commit Graph
42 Commits
Author SHA1 Message Date
Michael Stahl f7115dc7ef sfx2: finally resolve FIXME and test custom metadata
Yay, we have assertXPath now!

Change-Id: I74dedf535f5f0997dc94b3654558ccd451db813a
2017-10-24 13:48:58 +02:00
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
Armin Le Grand ce6cbf86a5 screenshots: add new global make target
Up to now the screenshot creation was added/dependent of
target slowcheck. Since quite some modules have added screenshot
creations now, I added an own target 'screenshot' to allow to keep
current slowcheck and screenshot creation separated

Change-Id: I80a49a0db607edf8e0405672d570f624d29912e7
2016-08-18 02:39:15 +02:00
Armin Le Grand 641d1367a5 screenshots: add dialog test cases for sfx2
All *.ui files create a screenshot, but not all look useful

Change-Id: I2bf5165828daed91a7e09205e6b329f0c844c3fc
2016-08-18 02:39:14 +02:00
Akshay Deep 72e6f08c69 GSoC Emoji Control
Tab Window
Add emoji.json to installation directory
Read the JSON data from code
Filter emojis according to categories
Insert Emoji at cursor position
Toolbar control

Change-Id: Ia5a577ce41398132872914ebfa499e4d4077d57e
Reviewed-on: https://gerrit.libreoffice.org/26700
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-07-28 20:54:44 +00:00
Miklos Vajna 626f6cd534 Add initial CppunitTest_sfx2_classification
Change-Id: Id896d10b8e735b4c95e14863428e4061326c3fbc
Reviewed-on: https://gerrit.libreoffice.org/25193
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-05-20 12:09:28 +00:00
Miklos Vajna e5202379e3 sfx2 classification: include example XML in the instset
Change-Id: I23c0227ee304a6b756ff3d474866609d95e6a071
2016-02-22 14:31:46 +01:00
Miklos Vajna c2befb4619 sfx2 classification: add categories example
This one has 4 choices, it shows how a category can trigger a specific
header, footer or watermark. Also validate the XML file against the XSD
as part of the build.

Change-Id: Id6cf3de63e7fadd16366465c7721d6052c7c60ed
Reviewed-on: https://gerrit.libreoffice.org/22615
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-02-22 12:54:40 +00:00
Laurent Godard 187445b2d2 Uno api sidebar unit test tdf#91806
- python test subsequentcheck
- correct deck setTitle APi (UI update)
- enhance UnoInProcess for flexiility in loading parameter

Change-Id: Id04cb78c6162ac84fb3bfd8577f84763109d993e
Reviewed-on: https://gerrit.libreoffice.org/16180
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-23 06:38:56 +00:00
Michael Meeks 5ccc46b0fe Skeletal SfxControllerItem / bindings unit test.
Change-Id: I0fdda736243c3e4a74f2faedf6fa5ea49453fe8c
Reviewed-on: https://gerrit.libreoffice.org/16040
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-03 08:45:30 +00: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
Tor Lillqvist 08452f1208 Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVA
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-19 10:29:04 +03:00
Michael Stahl 429a850d0d sfx2: remove Package_sdi
There are just a handful of sdi files in sfx2 anyway so just put
sfx2/sdi on include path.

Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
2013-05-08 17:49:55 +02: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 869b3a614c make file names match library names
Change-Id: Id9b7decbf2f3cfc89e76e7c86a801904375971be
2013-04-14 12:06:38 -04:00
David Tardon ed72983131 rename UI to UIConfig
I plan to use it to deliver all */uiconfig files, not just .ui, as a
preliminary step to get rid of postprocess/packconfig.

Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149
Reviewed-on: https://gerrit.libreoffice.org/3225
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11 03:37:30 +00:00
Caolán McNamara 06e3724d1c convert password dialog to .ui
Change-Id: Ib2e9c5a72239fc0fa3a54ac3717d90fe1b779d63
2012-10-05 14:37:49 +01:00
Pierre-Eric Pelloux-Prayer 7d7b41cf12 solaris/intel: update .mk files to fix build errors
Change-Id: Iba306cde71eb5efeed29a4a44cefa19a47bac84b
2012-07-10 18:45:35 +02:00
Michael Meeks e2799d253b re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer:
    cws mba34issues01: #i117713#: remove superfluous assertions about field unit fallbacks
    http://svn.apache.org/viewvc?view=revision&revision=1172341
    cws mba34issues01: #i117718#: provide filter name in case
    storage of medium does not allow to detect one
    cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation
    http://svn.apache.org/viewvc?view=revision&revision=1172343
    http://svn.apache.org/viewvc?view=revision&revision=1172350
    cws mba34issues01: #i117708#: status indicator for inactive documents
    http://svn.apache.org/viewvc?view=revision&revision=1172358
    cws mba34issues01: #i116025#: fix typo and add missing treatment of new parameter
    http://svn.apache.org/viewvc?view=revision&revision=1172359
    cws mba34issues01: #i117024#: rework parameter conversion for load/save slots
    http://svn.apache.org/viewvc?view=revision&revision=1172360
    cws mba34issues01: #i116803#: possible crash on Linux when
    dispatch.cxx is compiled with optimization
    http://svn.apache.org/viewvc?view=revision&revision=1172367
    cws mba34issues01: #i114600#: fix compiler warning for name clash found on Solaris
    http://svn.apache.org/viewvc?view=revision&revision=1172371
2012-07-06 20:29:14 +01:00
Andrew Higginson 8a3aae9b69 Resolves: fdo#31022 about dialog is suboptimal 2012-04-10 12:49:49 +01:00
Felix Zhang eacfa0f77c removing obsolete layout code 2011-11-15 14:39:55 +01:00
Takeshi Abe b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Tor Lillqvist 4122c3b9d5 Add consistent Emacs and vim mode lines 2011-07-30 23:02:30 +03:00
Bjoern Michaelsen 92667c8edb Merge branch 'master' into feature/gnumake4
Conflicts:
	connectivity/source/cpool/Zregistration.cxx
	connectivity/source/drivers/evoab/LCatalog.cxx
	connectivity/source/drivers/evoab/LColumnAlias.cxx
	connectivity/source/drivers/evoab/LColumnAlias.hxx
	connectivity/source/drivers/evoab/LColumns.cxx
	connectivity/source/drivers/evoab/LColumns.hxx
	connectivity/source/drivers/evoab/LConfigAccess.cxx
	connectivity/source/drivers/evoab/LConfigAccess.hxx
	connectivity/source/drivers/evoab/LConnection.cxx
	connectivity/source/drivers/evoab/LConnection.hxx
	connectivity/source/drivers/evoab/LDatabaseMetaData.cxx
	connectivity/source/drivers/evoab/LDatabaseMetaData.hxx
	connectivity/source/drivers/evoab/LDriver.cxx
	connectivity/source/drivers/evoab/LDriver.hxx
	connectivity/source/drivers/evoab/LFolderList.cxx
	connectivity/source/drivers/evoab/LFolderList.hxx
	connectivity/source/drivers/evoab/LNoException.cxx
	connectivity/source/drivers/evoab/LPreparedStatement.cxx
	connectivity/source/drivers/evoab/LPreparedStatement.hxx
	connectivity/source/drivers/evoab/LResultSet.cxx
	connectivity/source/drivers/evoab/LResultSet.hxx
	connectivity/source/drivers/evoab/LServices.cxx
	connectivity/source/drivers/evoab/LStatement.cxx
	connectivity/source/drivers/evoab/LStatement.hxx
	connectivity/source/drivers/evoab/LTable.cxx
	connectivity/source/drivers/evoab/LTable.hxx
	connectivity/source/drivers/evoab/LTables.cxx
	connectivity/source/drivers/evoab/LTables.hxx
	connectivity/source/drivers/evoab/evoab.xml
	connectivity/source/drivers/evoab/makefile.mk
	editeng/Library_editeng.mk
	framework/Library_fwe.mk
	framework/test/test.cxx
	idl/prj/d.lst
	idl/util/idlpch.cxx
	linguistic/Makefile
	linguistic/Module_linguistic.mk
	linguistic/inc/linguistic/lngdllapi.h
	linguistic/inc/linguistic/lngprophelp.hxx
	linguistic/inc/linguistic/misc.hxx
	linguistic/prj/build.lst
	linguistic/prj/d.lst
	linguistic/qa/unoapi/Test.java
	linguistic/source/grammarchecker.cxx
	linguistic/source/grammarchecker.hxx
	linguistic/source/hyphdta.cxx
	linguistic/source/lngprophelp.cxx
	linguistic/source/makefile.mk
	linguistic/source/spelldta.cxx
	sfx2/Library_qstart.mk
	sfx2/Library_sfx.mk
	sfx2/inc/sfx2/qswin32.h
	sfx2/prj/build.lst
	sfx2/qa/cppunit/makefile.mk
	xmlscript/inc/xmlscript/xcrdllapi.h
	xmlscript/prj/d.lst
	xmlscript/util/makefile.mk
2011-06-19 12:24:29 +02:00
Michael Stahl 6bdcd00465 gnumake4: #i117610#: add RepositoryExternal.mk, and use it. [hg:62e2f8dc95a7] 2011-06-17 09:55:38 +02:00
Robert Nagy c22ab8e95f do what we de on linux for *BSD too 2011-04-05 12:02:58 +02:00
Bjoern Michaelsen ceda7874fb reeabling unittests as the cppunittester location is fixed now in solenv 2011-03-14 20:18:19 +01:00
Norbert Thiebaud 9cd038e5b8 fix mis-merge all-around. 2011-03-12 18:57:32 -06:00
Michael Stahl d171285f37 gnumake3: remove dmake files for tests in converted modules 2011-02-01 19:21:09 +01:00
Mathias Bauer b0ccccea67 CWS gnumake3: several clean ups and fixes in makefiles 2011-01-26 10:30:19 +01:00
Mathias Bauer 80fa6e0c97 CWS gnumake3: fix license headers 2011-01-25 18:19:55 +01:00
Bjoern Michaelsen cc72dd1a32 gnumake3: renamed TestFixture to CppunitTest 2011-01-11 13:00:38 +01:00
Bjoern Michaelsen df399dd5b1 gnumake3: complex tests in sfx2 2011-01-11 12:43:09 +01:00
Bjoern Michaelsen b127144838 gnumake3: intermediate commit junit tests 2011-01-10 19:31:53 +01:00
Bjoern Michaelsen e9fd262a9e gnumake3: updating existing check in sfx2 to new check infrastructure 2011-01-06 19:07:23 +01:00
Bjoern Michaelsen ddc253aaa0 gnumake3: first try with TestFixtures 2011-01-05 13:18:26 +01:00
Bjoern Michaelsen 00b02d6380 gnumake2: added component registration 2010-11-06 15:58:44 +01:00
Bjoern Michaelsen 983a703217 gnumake2: fixes for pch in sfx2, fixes for qstart lib 2010-08-04 13:24:30 +02:00
Bjoern Michaelsen 75e6b31662 gnumake2: first try with gtk quickstarter, reenabling pch on sfx2 as it should work now after resync to DEV300_m84 2010-07-23 14:54:11 +02:00
Bjoern Michaelsen e8ec11b412 CWS gnumake2: hacking for qstart lib for now 2010-07-08 16:05:14 +02:00
Bjoern Michaelsen 95f3d4c562 CWS gnumake2: module reorg 2010-06-26 01:29:37 +02:00