Commit Graph

25 Commits

Author SHA1 Message Date
Tor Lillqvist
9ecac3874d Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTING
Feature test macros that govern conditional compilation should be
defined in config_*.h include files, not on the compilation command
line.

Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-22 09:30:23 +03:00
Bjoern Michaelsen
04dead1c6b make l10n buildable separately
- 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-11-14 16:45:02 +01:00
Bjoern Michaelsen
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
Noel Power
76c3184813 Add some stand alone vba specific tests ( mostly vba only functions )
Change-Id: I137e93a8af67b7eec4c51348caf3d0d03dbbce73
2013-03-07 16:27:35 +00:00
Norbert Thiebaud
b68a0f6595 basic add a generic unit test fixture
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-11-03 20:24:28 -05:00
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Noel Power
cac7e7cdc2 split out some common basic test stuff, add intial nested struct test
Change-Id: I8da6b3166e40e92c31ee001ce19938f286e057b9
2012-07-05 13:56:42 +01:00
Michael Stahl
e9bc6d7897 Revert "attempt to disable multi-defined symbol on windows for basic test"
Let's hope this works now.

This reverts commit 6113b27ec1.
This reverts commit 4e90345a4d.
2012-05-14 16:34:10 +02:00
Noel Power
4e90345a4d fix missing ')' in Module.basic.mk
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14 15:08:28 +01:00
Noel Power
6113b27ec1 attempt to disable multi-defined symbol on windows for basic test
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-14 15:06:29 +01:00
Noel Power
d87676da22 simple compile test for use of 'Enable' in a Dim statement
Change-Id: I051dbb5cd56fe61e2b0aea1184dcdb03c6413834
2012-05-14 12:01:08 +01:00
Tor Lillqvist
b69285590d Change my mind again: Do build a subset sb library even for DISABLE_SCRIPTING
The tables functionality in Writer documents need SbxValue.
2012-03-05 22:30:10 +02:00
Tor Lillqvist
c91f279e7e Revert "Build libsb with a few dummy classes also for --disable-scripting"
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 6d33801b44.
2012-03-05 02:05:24 +02:00
Tor Lillqvist
6d33801b44 Build libsb with a few dummy classes also for --disable-scripting
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-03-01 01:26:18 +02:00
Tor Lillqvist
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
Tor Lillqvist
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00
Tor Lillqvist
a925b72db3 Do deliver headers also for iOS even if we don't build the libs 2012-01-27 22:44:04 +02:00
Tor Lillqvist
81cf9f5099 Bypass building BASIC and scripting related modules for iOS
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.
2012-01-27 22:43:58 +02:00
August Sodora
99ec322768 Remove archaic tests 2011-12-08 23:59:57 -05:00
August Sodora
f58ae13e8a Prevent the testtool from building 2011-12-05 17:16:45 -05:00
Michael Meeks
e31496c938 misc trivial tweaks, and documentation addition 2011-10-21 10:08:58 +01:00
August Sodora
034350a509 String->OUString, with accompanying tests 2011-10-21 10:08:57 +01:00
Takeshi Abe
b2bd33ea25 prefer makefile-gmake-mode to plain makefile-mode 2011-08-10 02:12:48 +09:00
Tor Lillqvist
4122c3b9d5 Add consistent Emacs and vim mode lines 2011-07-30 23:02:30 +03:00
Matúš Kukan
c8e76fbfed convert basic to gbuild 2011-07-30 10:39:20 +02:00