Commit graph

2734 commits

Author SHA1 Message Date
Tor Lillqvist
815cee8bd2 Add the genstaticheader.pl script 2012-04-18 08:19:28 +03:00
Tor Lillqvist
f06e6513a8 Use static linking when DISABLE_DYNLOADING (iOS) 2012-04-18 01:23:51 +03:00
Michael Meeks
5d646f4ba5 i18npool: use URLs for type database in localedata build 2012-04-14 01:35:00 +02:00
Caolán McNamara
8d7e8a0a3b setup/teardown default component context once before/after all tests
avoids the problems of dangling uno singletons invalidated after the first
dispose and the chain of other singletons that don't expect to need to
re-initialize, etc.

reenable editeng cppunit test

inherit i18npool cppunit test from unotest base

drop LibreOfficeProtector, do "throwable" work in setUp/tearDown not
in ctors/dtors
2012-04-13 13:15:25 +01:00
Matúš Kukan
5dce272584 move dependency on localedata_en to i18npool 2012-04-12 20:53:14 +02:00
Caolán McNamara
16cd97480d Resolves: fdo#40292 Tamil grapheme cluster rules 2012-04-12 09:46:23 +01:00
Matúš Kukan
f98ffc5be6 use gb_Helper_make_url here 2012-04-09 21:04:43 +02:00
Matúš Kukan
0a45deba2b enforce only one possible use of gb_CustomTarget
This brings two changes:
- no more recursive calling of make
- gbuild_simple is now not used => removed
2012-04-09 21:04:39 +02:00
David Tardon
5fcacd8408 rename gb_CppunitTest_uses_ure 2012-04-08 15:17:45 +02:00
David Tardon
fbbb833dda compile- and run-time use of UNO must be split
There are unit tests that do not use URE, e.g., in cppuhelper.

This reverts commit 33e9f3d3d6.

Conflicts:

	sot/CppunitTest_sot_test_sot.mk
	svl/CppunitTest_svl_urihelper.mk
2012-04-08 15:12:18 +02:00
David Tardon
cd2c512f9f clean up 2012-04-08 14:53:10 +02:00
David Tardon
e5f16b8d3e always use --protector for UNO tests 2012-04-08 14:53:08 +02:00
David Tardon
33e9f3d3d6 drop uses_ure 2012-04-08 14:53:08 +02:00
David Tardon
fe209e78db let use_api handle the use of type rdbs at runtime
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-08 14:53:07 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
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-08 01:05:52 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
27cea710fd Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *) *{$/\1\2 ( \3 == \4 ) {/' \{\} \;
2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Eike Rathke
9dce646fbc fdo#48111 added English_Malawi [en-MW] locale data 2012-04-04 16:59:59 +02:00
Eike Rathke
43084e8b30 only as of ICU 4.9 RBBI the Prepend property is empty
This reverts 0c08a84c04 and instead strips the
Prepend variable during build time.
2012-04-03 00:15:30 +02:00
Arfrever Frehtes Taifersar Arahesis
0c08a84c04 Make ICU build with icu-49 by removing no-longer used variables.
Signed-off-by: Tomas Chvatal <tchvatal@suse.cz>
2012-04-02 18:48:10 +02:00
Luboš Luňák
1cdb1ea6a8 don't use string literals with embedded \0's
Followup to 791f276833.
2012-04-02 16:58:13 +02:00
Takeshi Abe
2cab28c2b8 removed duplicate includes in filter / i18npool / sdext 2012-03-30 22:30:45 +09:00
Matúš Kukan
4352326b6b fix windows build, properly set LO_LIB_DIR 2012-03-25 00:18:35 +01:00
Matúš Kukan
15bd35e4f2 i18npool: use CustomTarget_*.mk makefiles
Also done lot of simplification and modernization.
2012-03-24 22:39:53 +01:00
Michael Stahl
9345437f36 .txt files don't need executable bits 2012-03-23 21:58:18 +01:00
Cheng-Chia Tseng
c7b319d2f1 resolved fdo#46947 duplicated date format [zh-TW]
Use GG era abbreviation in one format instead of full GGG.
2012-03-18 19:54:44 +01:00
Matúš Kukan
6c1c06f1c2 gbuild: remove some more realpaths
Where necessary, replace with wildcard, what does not change path.
2012-03-10 21:23:21 +01:00
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +01:00
Caolán McNamara
80b0a3a7b6 fold i18npaper into i18nutil
It's too small to justify standalone existence.

We can accumulate i18n things we link to directly into
i18nutil and rework i18npool uno implementions in terms
of thin wrappers over i18nutil and prefer linking to
i18nutil internally and leave the uno forwarders for
use by external components and scripting
2012-03-08 12:02:38 +00:00
Caolán McNamara
5b39562590 de-uno-ize ScriptTypeDetector
leave a UnoScriptTypeDetector implementation that points to the
trivial ScriptTypeDetector for external consumers, e.g. sdext
2012-03-08 12:02:37 +00:00
Caolán McNamara
a80495526c OUString::createFromAscii -> new style 2012-03-08 12:02:37 +00:00
Eike Rathke
20c25d497a fdo#46411 added [pjt-AU] Pitjantjatjara locale data 2012-02-28 16:08:06 +01:00
Eike Rathke
082b2bca9f fdo#46411 added [pjt-AU] Pitjantjatjara to language list 2012-02-23 12:27:00 +01:00
Eike Rathke
894502df74 resolved rhbz#794679 use proper Indian Rupee currency symbol U+20B9 2012-02-17 13:11:47 +01:00
Tor Lillqvist
a1fe0a772f Use the same simple lo_main() on iOS as on Android
Let's do the iOS specific stuff in separate main() source
file(s). Don't attempt to build complete iOS programs using normal
LibreOffice mechanisms, it will work for only the very lowest level
unit tests anyway, because of static linking and the circularish
UNO/URE/bootstrap/whatnot (run-time) dependencies between different
parts of the code.

We thus can't build the various iOS-specific *_cppunittester_all unit
test executables any more. Corresponding unit tests (and more complex
ones) for iOS will have to be done in a different way.
2012-02-16 15:25:37 +02:00
Eike Rathke
ec7ed71cd3 changed [et-EE] single quotation marks to be such 2012-02-14 20:07:08 +01:00
Eike Rathke
5930f866b6 added [fr-CH] date acceptance patterns "D/M" and "D.M." 2012-02-14 19:44:48 +01:00
Caolán McNamara
475d0c59c6 use icu's breakiterator for Thai, not our customized generic rules 2012-02-14 16:10:30 +00:00
Caolán McNamara
fad63878e5 add northern-thai example 2012-02-14 16:10:30 +00:00
Caolán McNamara
1a450f53db add a unit test to demo broken thai word-boundary detection 2012-02-14 16:10:30 +00:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Eike Rathke
4bee7187cd corrections to Komi languages patch
* Changed LCID 0x0A69 to 0x066A to comply with the user-assigned space.
* Added RU country for mapping to locales' ISO codes.
  * All locales should consist of language and country, except those where the
    language is not mappable to any country.
2012-02-01 00:44:02 +01:00
Harri Pitkänen
38b94d743e Support Komi-Zyrian and Komi-Permyak as text language for spell checking 2012-02-01 00:44:02 +01:00
Eike Rathke
91e9cdd329 added [br-FR] date acceptance pattern "D/M" 2012-01-27 17:10:18 +01:00
Eike Rathke
e6870cf32d added [et-EE] date acceptance patterns "D.M", "D.M." and with spaces 2012-01-27 17:01:54 +01:00
Eike Rathke
2d8a5940a0 added [tr-TR] date acceptance patterns "D.M" "D/M" "D-M" 2012-01-23 17:51:11 +01:00
Eike Rathke
49e6856631 added [fi-FI] date acceptance pattern "D.M." 2012-01-23 17:43:01 +01:00