summaryrefslogtreecommitdiff
path: root/starmath/Module_starmath.mk
AgeCommit message (Collapse)AuthorFilesLines
2017-07-21migrate to boost::gettextCaolán McNamara1-2/+2
* 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
2016-08-18screenshots: add new global make targetArmin Le Grand1-1/+2
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-18screenshots: add dialog test cases for starmathArmin Le Grand1-0/+4
All *.ui files create a screenshot, but not all look useful Change-Id: Iee511be3b1a94e036b289e55d77f690e10627706
2016-07-31tdf#101022 Export Greek symbol to MathML with correct mathvariantTakeshi Abe1-0/+1
In StarMath notation "{ital %GAMMA}" is recognized as italic, and "{nitalic %iGAMMA}" is non-italic. That is, the ital/nitalic directive takes priority over special characters' flavor. On the other hand, in MathML a mathvariant attribute given in <mi> overwrites inherited value. This does not handle "bold-italic" case etc. yet. Change-Id: I9c72dc4472f8cec553417d516d9d82aebd43d15c Reviewed-on: https://gerrit.libreoffice.org/27604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-01-13fdo#70185: starmath: unit test writingTakeshi Abe1-0/+1
This adds a unit test of importing a simple MathML file. New smdllapi.hxx defines a macro SM_DLLPUBLIC to turn on visibility of symbols required from a CppunitTest. Change-Id: I4f72d7d8f2766751580e5bde7dac4870e8dad62a Reviewed-on: https://gerrit.libreoffice.org/13861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen1-1/+1
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-14make l10n buildable separatelyBjoern Michaelsen1-1/+4
- 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-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-17/+4
2013-04-11deliver all uiconfig files by UIConfigDavid Tardon1-1/+0
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-11rename UI to UIConfigDavid Tardon1-1/+1
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>
2012-11-23try to fix and reenable starmath unit testsCaolán McNamara1-3/+3
Change-Id: I4c2a1476ea6ae12fdebb8301b68eab8060bc86f8
2012-09-28convert writer, draw, impress, calc and starmath printer dialogsCaolán McNamara1-0/+1
to new-style widget layout mostly described in .ui format Change-Id: I8ead53a246a8ac3e2d446d158f06d7e2e436ce60
2012-09-22make starmath's gbuild module name the same as dirDavid Tardon1-4/+4
Otherwise make starmath.all does not work as expected. Change-Id: I747b7dd9f1cd6347d6fe8d5edbbb0dff079a253b
2012-06-15tweak to capture recent changes in starmath and gbuildNorbert Thiebaud1-3/+3
Change-Id: I1e7fb1ae0da02a60f1ee3655a09693c11108f61d
2012-06-15Add consistent Emacs and vim mode linesNorbert Thiebaud1-0/+3
cherry-picked from 24b6225f93ea5d22d727e0b03bc468bc5cc21af3 Change-Id: Ic0624618591285544e3fe4032ba9ac12a96ee003
2012-06-15reenable unit testNorbert Thiebaud1-0/+4
cherry-picked from 95357d3144b817726507758c1314a82303c25157 Change-Id: I1d403859091a6e59b1045126c5db2bf2ffd573e1
2012-06-15move UNO API test to subsequentchecksDavid Tardon1-1/+3
2012-06-15migrate starmath subsequenttests to gbuildNorbert Thiebaud1-4/+5
cherry-picked from 969d60a477742d24afe370fae70db057d2db9341 Change-Id: I074f2f024624aafea4456304295d747318755ffd
2012-06-15convert starmath to gnumakeNorbert Thiebaud1-0/+31
cherry-pick from da5f126844fab3c647c3d95cdf613aaf2e22ceed Change-Id: I1e462668270f33f7f7f2082b20c12c18d0ad8042
2012-06-15revert gmk4 mismergeNorbert Thiebaud1-47/+0
Change-Id: I013893c7ca4b9d4364d2d19fdd0440c7dcf08910
2011-11-11Make .component files directly usable within UNO_SERVICES.Stephan Bergmann1-1/+0
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>. * solenv/gbuild/CppunitTest.mk got new functions gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors). * This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not work currently, as it catenates the input component files instead of passing them through packcomponents.xslt (which now takes care about the surrounding <components> in the input). In the future, it will likely be combined with the recently added solenv/gbuild/ComponentsTarget.mk.
2011-10-04adapt starmath unittests to separate RdbTarget makefile requirementBjoern Michaelsen1-0/+6
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe1-1/+1
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist1-1/+2
2011-06-16CWS gnumake4: convert starmath to new build systemMathias Bauer1-0/+41