summaryrefslogtreecommitdiffstats
path: root/extensions/CppunitTest_extensions_test_update.mk
Commit message (Collapse)AuthorAgeFilesLines
* log nice exception messages whereever possibleNoel Grandin2019-03-071-0/+1
| | | | | | | Change-Id: Idd125c18bee1a39b9ea8cc4f8c55cddfd37c33e1 Reviewed-on: https://gerrit.libreoffice.org/68579 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* move resmgr to unotoolsCaolán McNamara2017-08-011-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
* migrate to boost::gettextCaolán McNamara2017-07-211-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
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-211-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>
* tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko2016-06-091-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>
* use SimpleReferenceObject in extensions/update moduleNoel Grandin2014-07-101-0/+1
| | | | | | to replace hand-rolled version Change-Id: I4cd74b3e95a61c32d3aa52646d654ce306791fae
* extensions: MSVC tinderbox wants its InternetGetConnectedStateExMichael Stahl2014-06-301-0/+1
| | | | Change-Id: Ie5486e910ba562954ef38c83b2fa673511a9e931
* Allow CppunitTest_extensions_test_update direct access to UpdateCheck classStephan Bergmann2014-06-301-1/+4
| | | | Change-Id: Ifa1dafe838e0e9c5bfa4525eaa744d4851551fc8
* DeInitVCL at end of testsStephan Bergmann2014-06-041-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
* prefer makefile-gmake-modeTakeshi Abe2014-04-281-1/+1
| | | | Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-301-21/+4
|
* fix omissions in a53586f4efe26b8875107d04001f4ecec760c343Michael Stahl2013-01-271-0/+2
| | | | Change-Id: I65e3fc3e34416b74365490a1cd7cba178ef7eb55
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl2012-09-281-1/+1
| | | | | | | add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* rename gb_CppunitTest_uses_ureDavid Tardon2012-04-081-1/+1
|
* compile- and run-time use of UNO must be splitDavid Tardon2012-04-081-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
* simplify use of configuration from unit testsDavid Tardon2012-04-081-3/+1
|
* always use --protector for UNO testsDavid Tardon2012-04-081-1/+0
|
* drop uses_ureDavid Tardon2012-04-081-2/+0
|
* let use_api handle the use of type rdbs at runtimeDavid Tardon2012-04-081-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?
* gbuild: "use" vs. "add":Michael Stahl2012-04-081-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)
* always pass --headless to cppunitsLuboš Luňák2012-04-021-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
* fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan2012-02-101-1/+0
|
* these are not old component files anymoreMatúš Kukan2012-01-151-5/+2
|
* extensions: d'oh, i've pasted C++ emacs modelines in makefilesMichael Stahl2011-12-191-0/+1
|
* extensions: what is all this realpath stuff doing?Michael Stahl2011-12-191-1/+1
|
* extensions: merge in Peter Foley's work in updatePeter Foley2011-12-171-7/+9
| | | | | Main improvement is that the unit test is now linked against updchk library.
* extensions: convert update stuff to gbuildMichael Stahl2011-12-141-1/+1
| | | | | The updchk is renamed to updatecheckui so it does not collide with updchk.uno.
* configmgr.component is no longer an old one.Stephan Bergmann2011-12-141-1/+1
|
* add curl to RepositoryExternal.mkMichael Stahl2011-12-091-1/+2
|
* online update: Unit testing framework + rewrite of load().Jan Holesovsky2011-11-301-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
* online update: Make the test for update to actually start (still fails).Jan Holesovsky2011-11-301-0/+22
|
* remove pch from the include listNorbert Thiebaud2011-11-271-1/+0
|
* Make the update unit test compile.Jan Holesovsky2011-10-221-0/+9
| | | | It is not useful yet, so disabled.
* Skeleton of the unit test for updates.Jan Holesovsky2011-10-171-0/+51