summaryrefslogtreecommitdiff
path: root/basic/Module_basic.mk
AgeCommit message (Collapse)Author
2017-07-21migrate to boost::gettextCaolán McNamara
* 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-02-05basic: Merge macro snippet testsMatúš Kukan
Change-Id: Ia2d8944227c6be8b5ae7b42f7d566ac150d522b9
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- 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-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-03-07Add some stand alone vba specific tests ( mostly vba only functions )Noel Power
Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73
2012-11-03basic add a generic unit test fixtureNorbert Thiebaud
basic_coverage is a generic unit test that scan qa/basic_coverage/* each file there is supposed to be a well formed Basic script that define as least a Function doUnitTest as Integer that return 1 if OK, 0 if not OK Change-Id: I6c3cfac1e7ce4748f46c04344102a0eff69b6a49
2012-07-18re-base on ALv2 code. Includes:Michael Meeks
118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-05split out some common basic test stuff, add intial nested struct testNoel Power
Change-Id: I8da6b3166e40e92c31ee001ce19938f286e057b9
2012-05-14Revert "attempt to disable multi-defined symbol on windows for basic test"Michael Stahl
Let's hope this works now. This reverts commit 6113b27ec15da2a3b140ae58676062d74c99b31e. This reverts commit 4e90345a4dea1ddf0ddded4f1fcae1c87894e120.
2012-05-14fix missing ')' in Module.basic.mkNoel Power
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14attempt to disable multi-defined symbol on windows for basic testNoel Power
CppunitTest_basic_enable.mk & test_basic_enable.dll seems to suffer for some strange multiple defined symbol crack which is killing the tinderboxes, disable for the moment Change-Id: I1584c11a0445ac36c138ae075ca365ad4b2effe1
2012-05-14simple compile test for use of 'Enable' in a Dim statementNoel Power
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
2012-03-05Change my mind again: Do build a subset sb library even for DISABLE_SCRIPTINGTor Lillqvist
The tables functionality in Writer documents need SbxValue.
2012-03-05Revert "Build libsb with a few dummy classes also for --disable-scripting"Tor Lillqvist
Nah, these dummy classes would turn out quite complex anyway. Better to just use ifdefs elsewhere, the number required is not that large. This reverts commit 6d33801b4498f5c13d2dc75588f88c22a11f455b.
2012-03-01Build libsb with a few dummy classes also for --disable-scriptingTor Lillqvist
Work in progress, the dummy class implementations surely still incomplete and/or might contain methods not actually needed. More dummy class implementations needed, hopefully not too many though. Will add also a few ifdefs for DISABLE_SCRIPTING in some key places in sc and elsewhere to cut down on the need.
2012-02-27s/interpreters/scripting/Tor Lillqvist
2012-02-27Decouple disabling of scripting (BASIC &co) from OS being iOSTor Lillqvist
2012-01-27Do deliver headers also for iOS even if we don't build the libsTor Lillqvist
2012-01-27Bypass building BASIC and scripting related modules for iOSTor Lillqvist
Any LO-based app distributed through the App Store can't have scripting or extendability anyway. Sure, this will break the build elsewhere because of missing headers. No big deal, I will take care of that eventually. It isn't as if there would anybody else building for iOS anyway, as far as I know. If there is, please make yourself heard.
2011-12-08Remove archaic testsAugust Sodora
2011-12-05Prevent the testtool from buildingAugust Sodora
2011-10-21misc trivial tweaks, and documentation additionMichael Meeks
2011-10-21String->OUString, with accompanying testsAugust Sodora
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist
2011-07-30convert basic to gbuildMatúš Kukan