# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) include $(module_directory)/../solenv/gbuild/partial_build.mk # vim: set noet sw=4 ts=4: e41969e819d9941cdb I had to rename some .cxx files to follow the same patterns. The renaming cause clang-format to be triggered for those files CppunitTest_sc_functionlistobj fails with xindexaccess.cxx:26:Assertion Test name: sc_apitest::ScFunctionListObj::testGetCount equality assertion failed - Expected: 395 - Actual : 508 if it doesn't use gb_CppunitTest_use_components Change-Id: I7c929512bbf05293118bc54b343a59c8bbee5538 Change-Id: I21971773f1e2d4bc7a6f33e4c392b20abf8d54de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142387 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
I had to rename some .cxx files to follow the same patterns.
The renaming cause clang-format to be triggered for
those files

CppunitTest_sc_functionlistobj fails with

xindexaccess.cxx:26:Assertion
Test name: sc_apitest::ScFunctionListObj::testGetCount
equality assertion failed
- Expected: 395
- Actual  : 508

if it doesn't use gb_CppunitTest_use_components
Change-Id: I7c929512bbf05293118bc54b343a59c8bbee5538

Change-Id: I21971773f1e2d4bc7a6f33e4c392b20abf8d54de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142387
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
add gbuild function for a common PCH and use it in sc/ and sax/ 2019-10-04T06:59:34+00:00 Luboš Luňák l.lunak@collabora.com 2019-09-22T20:08:56+00:00 ba33189343a622bddb78657bbb111e5f10ba82a4 And make it simple to disable the whole feature by setting gb_DISABLE_PCH_REUSE=1, just in case. Also work around a possible BOOST_ALL_NO_LIB mismatch when using the common PCH. Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193 Reviewed-on: https://gerrit.libreoffice.org/79365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
And make it simple to disable the whole feature by setting
gb_DISABLE_PCH_REUSE=1, just in case.
Also work around a possible BOOST_ALL_NO_LIB mismatch when
using the common PCH.

Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193
Reviewed-on: https://gerrit.libreoffice.org/79365
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Remove obsolete (cargo-cult copied) dependencies 2018-07-23T15:21:39+00:00 Jens Carl j.carl43@gmx.de 2018-07-23T04:23:45+00:00 a1b58837206fec2fe89a8a16567b1e1499ec9385 Change-Id: I1a926f45510e18cf399aa2eb7e1bf0ad8f4f0226 Reviewed-on: https://gerrit.libreoffice.org/57836 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Change-Id: I1a926f45510e18cf399aa2eb7e1bf0ad8f4f0226
Reviewed-on: https://gerrit.libreoffice.org/57836
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
extract common components to one place for sc unoapi tests 2018-03-11T22:53:31+00:00 Tomaž Vajngerl tomaz.vajngerl@collabora.co.uk 2018-03-11T14:45:38+00:00 cab04bc39b5164ea74216cd849c3af5f5b298f79 The declared components in a test of uno api don't change much or at all, so instead of duplicating this in every test, define it in a common file use when needed. Some more common things could be extracted in a similar way. Change-Id: I07ae641afca55ffaf3c5c93624bfaa2143590886 Reviewed-on: https://gerrit.libreoffice.org/51079 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
The declared components in a test of uno api don't change much
or at all, so instead of duplicating this in every test, define
it in a common file use when needed. Some more common things
could be extracted in a similar way.

Change-Id: I07ae641afca55ffaf3c5c93624bfaa2143590886
Reviewed-on: https://gerrit.libreoffice.org/51079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Move (and rename) graphic stuff from svtools to vcl 2018-03-11T12:37:21+00:00 Tomaž Vajngerl tomaz.vajngerl@collabora.co.uk 2018-03-11T02:16:34+00:00 7fbb96c2fbf99c47eca6f493f54fc3974f55cf86 This is preparing to change how GraphicManager works where it won't base itself around GraphicObject anymore but Graphic. No functional or cosmetic change was made to the classes, only changes that were needed because of the move and rename. The only thing that wasn't moved is the GraphicRenderer as it is not needed in vcl for now (but makes sense to move it in the future to keep graphic stuff together). grfmgr was renamed to GraphicObject as the GraphicManager will be changed a lot and most likely moved out, so the name grfmgr won't make any sense anymore. All the UNO implementations were renamed with a prefix Uno and used the same name as the class name. This is made to be more specific which are the Uno objects (for example graphic.cxx contained the implementation of XGraphic, which is similar to graph.cxx contains Graphic). Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137 Reviewed-on: https://gerrit.libreoffice.org/51068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
This is preparing to change how GraphicManager works where it
won't base itself around GraphicObject anymore but Graphic. No
functional or cosmetic change was made to the classes, only
changes that were needed because of the move and rename.

The only thing that wasn't moved is the GraphicRenderer as it
is not needed in vcl for now (but makes sense to move it in the
future to keep graphic stuff together).

grfmgr was renamed to GraphicObject as the GraphicManager will be
changed a lot and most likely moved out, so the name grfmgr won't
make any sense anymore.

All the UNO implementations were renamed with a prefix Uno and
used the same name as the class name. This is made to be more
specific which are the Uno objects (for example graphic.cxx
contained the implementation of XGraphic, which is similar to
graph.cxx contains Graphic).

Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137
Reviewed-on: https://gerrit.libreoffice.org/51068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Process all pending events during Cppunit setUp 2017-10-06T17:21:19+00:00 Jan-Marek Glogowski glogow@fbihome.de 2017-10-06T10:53:05+00:00 141fe1c5e7fbf67a083b34e49e19b6ea78a0eb2b Larger unit tests collect a lot of events, which are just processed on shutdown. But since the Scheduler is just an unsorted linked list, processing these in order is O(n^2) for lookup, which really adds up, e.g. sw_ooxmlexport8 has 35047 tasks on shutdown. So this just processes all pending events before running each unit test. Also adds missing spellchecking components to some calc tests. Change-Id: Icf12146015afc17a1f52f79c18f248b72650ad46 Reviewed-on: https://gerrit.libreoffice.org/43199 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Larger unit tests collect a lot of events, which are just processed
on shutdown. But since the Scheduler is just an unsorted linked
list, processing these in order is O(n^2) for lookup, which really
adds up, e.g. sw_ooxmlexport8 has 35047 tasks on shutdown.

So this just processes all pending events before running each unit
test.

Also adds missing spellchecking components to some calc tests.

Change-Id: Icf12146015afc17a1f52f79c18f248b72650ad46
Reviewed-on: https://gerrit.libreoffice.org/43199
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
gbuild: Remove MSVC 2013 legacy code 2017-04-21T16:18:44+00:00 David Ostrovsky david@ostrovsky.org 2017-03-04T13:36:08+00:00 de030cd7a234fd9191364647deb1a4836ca992cb 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>
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>
Add various uui dependency 2016-07-28T18:50:01+00:00 Giuseppe Castagno giuseppe.castagno@acca-esse.eu 2016-07-28T18:38:56+00:00 fed8226315b08078a0101785f12693f5a3daa6f7 Change-Id: I926a0df300aad01f531832f857373e9764c32b1a Reviewed-on: https://gerrit.libreoffice.org/27653 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Change-Id: I926a0df300aad01f531832f857373e9764c32b1a
Reviewed-on: https://gerrit.libreoffice.org/27653
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
tdf#94698 cleanup Makefiles. Get rid of udkapi and offapi 2016-06-09T09:47:11+00:00 Gleb Mishchenko gleb.mishchenko.96@gmail.com 2016-03-22T07:43:56+00:00 a97b392879c96145701b2454b26dc0c4f6aa4bb2 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>
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>