summaryrefslogtreecommitdiff
path: root/liblangtag
AgeCommit message (Collapse)AuthorFilesLines
2012-10-14Enable cross-compilation in general, not just with MinGWTor Lillqvist2-6/+6
Change-Id: I655c6094e98939d5b087ecb3d2bd6ffef0ea3a05
2012-09-21Mark patch pushed upstreamStephan Bergmann1-0/+2
Change-Id: I8edbd023f4eca28ccfe4cf373eb742551523ef46
2012-09-20Do not call xmlCleanupParser from liblangtagStephan Bergmann2-0/+21
Despite its name, it is a cleanup function for libxml2 that must only be called when the process as a whole no longer needs libxml2. Calling it from a library like liblangtag is not appropriate (just like liblangtag does not call xmlInitParser, either). In LibreOffice, this caused confusion about pthread keys for thread-local storage (xmlCleanupParser calls pthread_key_delete, but apparently if libxml2 is later used by unrelated code in LibreOffice again, it still uses the stale key, and if that key is now reused via an unrelated pthread_key_create, arbitrary crashes happen during thread termination in pthread's __nptl_deallocate_tsd). Change-Id: I82cef8bc400d48f19eaa94f26d50d4b8589da106
2012-09-20Add RPATH to liblangtagStephan Bergmann1-0/+8
...so that it consistenly uses the LO versions of libxml2/glibc libs at runtime. Change-Id: I89b7fd13a8b5b7e697ec21db74fdf8ef088fdb92
2012-09-14mingw compile fixes for liblangtagLuboš Luňák4-1/+45407
I couldn't find out a decent way of getting the compiled binary needed only at build time, so the file needs to be generated manually. Change-Id: I4a77aa8ee350f374c9b8b91361797d86871ff8b4
2012-08-11langtag: worked around reg2xml libxml2 encoding problemEike Rathke2-0/+19
libxml2 has a problem when a document encoding is specified, even though documentation says that all internal representation would be in UTF-8 and language-subtag-registry data already is passed in UTF-8, when specifying the document encoding to be UTF-8 the output to language-subtag-registry.xml is conversion garbage, '?' on Linux UTF-8 locale, ISO-8859-1 on Windows. If no document encoding is specified at all no conversion happens and non-ASCII values are correctly written as entities.
2012-08-10Implement --disable-liblangtag, to be able to build without that.Jan Holesovsky1-2/+2
Change-Id: Ic38d0282dba99efe2ecc45142a927ba3d8fa167d
2012-08-10added LanguageTag unit testEike Rathke1-0/+10
2012-08-10cosmeticsChristian Lohmaier1-15/+15
Change-Id: Ie3f95efe013306637adbb336234266b10421ca24
2012-08-10help XCode 2.5 resolve @loader_path/libfoo.dylibChristian Lohmaier1-0/+3
Change-Id: I81837acd40f306c2db03f54f3896b79bb7fcbb08
2012-08-09disable un-needed GObject introspection pieces for liblangtagMichael Meeks1-0/+4
This avoids the dumb parser trying to exec "ccache gcc" and failing.
2012-08-08Fix Mac OS X install name for liblangtagStephan Bergmann1-1/+1
Change-Id: I9776f5abb70caa6f73ad481535ee84781540a00a
2012-08-08Fix liblangtag MacOSX build when using system libxml2Tor Lillqvist1-0/+4
Change-Id: Iefbce119e682e870283cb698018c99a3378cd157
2012-08-08changed prefix and destdir to acommodate MacOSX using OUT2LIB magicEike Rathke2-11/+33
2012-08-08MSVC warning C4510: default constructor could not be generatedStephan Bergmann2-0/+22
and warning C4610: struct can never be instantiated - user defined constructor required Change-Id: Ie387f62def8a3d282f39f861971f25ff52df73d3
2012-08-08liblangtag: deliver wouldn't pick up lib64Miklos Vajna1-1/+1
Change-Id: Iae138b59e29dff6105ab879bf98b48c0051012f3
2012-08-07parallelism spoils the Windows buildEike Rathke1-1/+1
Change-Id: Ied298c1339fa9af9484d448d3252fd9085609e02
2012-08-07Make #include <libxml/xpath.h> work --without-system-libxmlStephan Bergmann1-1/+1
Change-Id: I7856fe2d3ed07fcc3a191ac8fb93ff17b793e005
2012-08-06deliver .dylibEike Rathke1-0/+1
Change-Id: I30b6b2e782197c918704efccea4af8a0b94926a2
2012-08-06install liblangtag and dataEike Rathke2-10/+16
2012-06-13implemented lt_db_set_datadir() overrideEike Rathke1-11/+80
+ added lt_db_set_datadir() and lb_db_get_datadir() functions to point to liblangtag data and override REGDATADIR define - removed LIBO_LANGTAG_DATADIR environment variable hack
2012-06-04configure prefix for "installation" and get_data() functionEike Rathke3-48/+56
* LIBO_LANGTAG_DATADIR environment variable may point to liblangtag data and override REGDATADIR define. * deliver data files to $SOLARVER/$INPATH/share/liblangtag
2012-06-04ported liblangtag build to wntmsciEike Rathke3-2/+215
2012-06-04added liblangtag for BCP 47 language tagsEike Rathke7-0/+188