summaryrefslogtreecommitdiff
path: root/extensions/CppunitTest_extensions_test_update.mk
AgeCommit message (Collapse)AuthorFilesLines
2017-08-01move resmgr to unotoolsCaolán McNamara1-1/+1
and the vast majority of translations is to the ui language so default ctor with that arg and now drop OModuleResourceClient Change-Id: I3b85a560ffdfe5f019c2271ac56a5fe4a361522b
2017-07-21migrate to boost::gettextCaolán McNamara1-0/+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
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky1-1/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko1-4/+1
This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2014-07-10use SimpleReferenceObject in extensions/update moduleNoel Grandin1-0/+1
to replace hand-rolled version Change-Id: I4cd74b3e95a61c32d3aa52646d654ce306791fae
2014-06-30extensions: MSVC tinderbox wants its InternetGetConnectedStateExMichael Stahl1-0/+1
Change-Id: Ie5486e910ba562954ef38c83b2fa673511a9e931
2014-06-30Allow CppunitTest_extensions_test_update direct access to UpdateCheck classStephan Bergmann1-1/+4
Change-Id: Ifa1dafe838e0e9c5bfa4525eaa744d4851551fc8
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-04-28prefer makefile-gmake-modeTakeshi Abe1-1/+1
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-21/+4
2013-01-27fix omissions in a53586f4efe26b8875107d04001f4ecec760c343Michael Stahl1-0/+2
Change-Id: I65e3fc3e34416b74365490a1cd7cba178ef7eb55
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl1-1/+1
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon1-1/+1
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon1-0/+2
There are unit tests that do not use URE, e.g., in cppuhelper. This reverts commit 33e9f3d3d6b29545ef9df3f5334c015e15caa5c8. Conflicts: sot/CppunitTest_sot_test_sot.mk svl/CppunitTest_svl_urihelper.mk
2012-04-08simplify use of configuration from unit testsDavid Tardon1-3/+1
2012-04-08always use --protector for UNO testsDavid Tardon1-1/+0
2012-04-08drop uses_ureDavid Tardon1-2/+0
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon1-4/+0
Or is there any use case where we would need to use UNO API headers, but not require the appropriate type database at runtime?
2012-04-08gbuild: "use" vs. "add":Michael Stahl1-5/+5
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-02always pass --headless to cppunitsLuboš Luňák1-1/+0
They should not need any actual UI anyway, and most of them already pass the option manually. http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan1-1/+0
2012-01-15these are not old component files anymoreMatúš Kukan1-5/+2
2011-12-19extensions: d'oh, i've pasted C++ emacs modelines in makefilesMichael Stahl1-0/+1
2011-12-19extensions: what is all this realpath stuff doing?Michael Stahl1-1/+1
2011-12-17extensions: merge in Peter Foley's work in updatePeter Foley1-7/+9
Main improvement is that the unit test is now linked against updchk library.
2011-12-14extensions: convert update stuff to gbuildMichael Stahl1-1/+1
The updchk is renamed to updatecheckui so it does not collide with updchk.uno.
2011-12-14configmgr.component is no longer an old one.Stephan Bergmann1-1/+1
2011-12-09add curl to RepositoryExternal.mkMichael Stahl1-1/+2
2011-11-30online update: Unit testing framework + rewrite of load().Jan Holesovsky1-0/+3
- introduce first two basic tests (to be improved) - rewrite of UpdateInformationProvider::load() to use comphelper - smaller splitting of functions to be able to unit test
2011-11-30online update: Make the test for update to actually start (still fails).Jan Holesovsky1-0/+22
2011-11-27remove pch from the include listNorbert Thiebaud1-1/+0
2011-10-22Make the update unit test compile.Jan Holesovsky1-0/+9
It is not useful yet, so disabled.
2011-10-17Skeleton of the unit test for updates.Jan Holesovsky1-0/+51