summaryrefslogtreecommitdiff
path: root/liblangtag
AgeCommit message (Collapse)AuthorFilesLines
2012-12-14upstream has moved to http://tagoh.bitbucket.org/liblangtag/Eike Rathke1-1/+1
Change-Id: I844ae1363ff37578fe734125bc6ee6aa8fb352c6 (cherry picked from commit 63d116cb0e7654d2b4f0cf9b6a5223f98d755001)
2012-12-01vsnprintf() is not portableLuboš Luňák2-0/+31
http://perfec.to/vsnprintf/ At least MSVC2010 implementation returns -1 when the result doesn't fit, so the excepted size is not computed correctly. Let's hope 16k is big enough for everybody(TM). Change-Id: I636487c7723651bfa74513018be786a45b6c796d
2012-11-25Work around Windows' missing symlinksStephan Bergmann1-3/+3
Instead of creating a single solver/*/installation/program -> ../../bin symlink used by all gb_CppunitTest_use_executable together, individually copy each gb_CppunitTest_use_executable into a true solver/*/install/program/ diretory. (Renamed solver/*/installation/ to solver/*/install/ so that old existing solver/*/installation/program symlinks on non-Windows platforms would not interfere with the new cp rule.) Change-Id: I4ce82b41856056669ad074ff2ef8004fdc6533c1
2012-11-24Move in-build liblangtag data to solver's unittest/installation/shareStephan Bergmann1-3/+3
...let BRAND_BASE_DIR point to solver's unittest/installation during CppUnit tests, and get rid of LIBLANGTAG_SHARE special case. (Intending to add further code to CppUnit tests soon that requires a fake BRAND_BASE_DIR, so clean this up now.) Change-Id: Ia5f0f247e54952f901c37ca31eda53f9c6591458
2012-11-24Remove unused liblangtag/CustomTarget_langtag.mkStephan Bergmann1-19/+0
Change-Id: Ia45446db1263b8969cf933e5d34130102605b3e9
2012-11-22Mark patch pushed upstreamStephan Bergmann1-0/+3
Change-Id: I561ef2f20037e60c1f8735c7be8c89b899b99204
2012-11-22Use xmlDocCopyNode to merge nodes into different docs in liblangtagStephan Bergmann2-0/+15
...otherwise, at least an --enable-dbgutil --without-system-libxml build will issue warnings at soffice.bin exit, as liblangtag merged together docs with xmlCopyNode (instead of xmlDocCopyNode) and xmlAddChild, and libxml2's debugXML.c xmlCtxtCheckName then stumbles over the merged-in nodes whose strings do not belong to the dict of the doc they got merged into. Change-Id: I5d7889670b897cbeb9ca8a555d8f2d770a8ee692
2012-11-21fix build on ppcCaolán McNamara2-0/+11
Change-Id: I4b09aa9eeb2c34d19043148144383ad4e37a8d10
2012-11-13fix liblangtag for win and cleanup autoconfPeter Foley2-3/+11
Change-Id: I6d69eb2af6a3b1a693ad782f2a0e51f6b0ef932c
2012-11-13liblangtag really does not need to be a shared libraryFridrich Štrba2-16/+3
Change-Id: I73f9422268f58ded971150f1ef16643885669ea3
2012-11-13Fix the pthread branch of lt-atomic.hFridrich Štrba1-0/+9
Change-Id: I12b8c5e43dbe96fe9e2b2175dc6bb6bf15a8bdf8
2012-11-13Oops, a typoFridrich Štrba1-1/+1
Change-Id: I02dcde7d83df864561a5d4af8cda5e57f30f811a
2012-11-13Shortcircuit liblangtag's builtin detection using config.cacheFridrich Štrba1-1/+3
Change-Id: Ib53ab293d90b9b8a68d97b10d2ad020c69ab46f5
2012-11-12get macosx to run againCaolán McNamara1-0/+1
Change-Id: Id250a54d6789b06df1946ecc6a9d29d24fc57c70
2012-11-12Mention the fragility of its MSVC configuryTor Lillqvist1-0/+5
Change-Id: Id2ee3c5dae27a1b7f33872d6421f53a40442d805
2012-11-12Fix MSVC build: put the CFLAGS inside CC for preprocessor check to succeedTor Lillqvist1-4/+5
Change-Id: Iafc7f735a99f3e3ac335efa8610ff415d3deae3b
2012-11-12Missing "/inc"Stephan Bergmann1-1/+1
Change-Id: Ia68a683bdafe6dc89ac98635e797b84a2e0ff615
2012-11-11fix liblangtag 'delivery' on MacNorbert Thiebaud1-1/+3
Change-Id: I6ca26a6637ebe36bd5055fc6283258ae288df461
2012-11-11fix liblangtagPeter Foley1-1/+3
Change-Id: I89153efde9441180f5bb49968d11d77fc951f774
2012-11-11fix langtag so namePeter Foley1-1/+1
Change-Id: I0b61fc9436ac08368991251b04343e0a53c2257c
2012-11-11convert liblangtag to gbuildPeter Foley12-860/+253
Change-Id: Ib019e248b16a39ea058cdebeaa1f37a967a00d6c
2012-11-09This is a bit more elegantFridrich Štrba1-3/+3
Change-Id: I0f458caa1bda23882c76cbae414b738a5d04ab32
2012-11-08corrected Windows lt_atomic_int_dec_and_test()Eike Rathke1-1/+1
check pre-decremented value for zero Change-Id: Ib2289cb6064941db2072b2dfbd6ad5f03bcff7aa
2012-11-08MinGW: Deliver liblangtag-1.dll correctly.Jan Holesovsky1-1/+1
Change-Id: Icea86ae6f6c07d43c212bc02defb860759ff65d6
2012-11-08Ask MSVC to be less verbose: -nologoTor Lillqvist1-1/+1
Change-Id: I332b322343ccbabe55c247f9bd934a0394ebd429
2012-11-07check for builtins pollutes CFLAGS and in turn breaks pthread checkChristian Lohmaier3-62/+64
since the -march=i486 is not supported on PPC, all further compile checks done in liblangtag's configure break. So moving the corresponding patch out of the windows patch in a generic one and also apply that for Mac. Change-Id: I65716bc9d7ff19976e5e82ae869c7594978e93e3 Reviewed-on: https://gerrit.libreoffice.org/999 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-07Avoid "Warning: -- Macro `CC' redefined after use"Tor Lillqvist1-2/+2
Change-Id: I99352369cd29d695ef09b6bdc58ff4f10ac73880
2012-11-07Should not call lt_mem_add_ref() with a NULL pointer here eitherTor Lillqvist1-2/+5
Change-Id: I34f7ccca0fdfa71a53c2a80ae51178c5461b5640
2012-11-07Must not call lt_mem_add_ref() with a NULL pointerTor Lillqvist1-1/+7
Otherwise will get the lt-mem.c: line 216: assertion `p != ((void *)0)' failed message. Change-Id: Ic585ad638211fda66a54725c5a4bd041499349ef
2012-11-07Use -Zi when debug info wanted with MSVCTor Lillqvist1-0/+3
It really sucks to have to propagate debugging options to the compiler in an ad-hoc fashion like this. But then each dmake-based external library module really is an individual, especially the ways they are built with MSVC. Liblangtag is especially exotic, as it uses autotools and libtool(!) also for a MSVC build. Which works, but just barely, almost by accident. For instance, it ends up using the Cygwin ar and ranlib on MSVC-produced object files. Which luckily seems to work at least with MSVC2008. Change-Id: I1c5244b2a599775c04ae8a003e4a096a0a11648f
2012-11-07Fix MinGW build.Jan Holesovsky1-0/+11
Change-Id: I12fb6b8b8fdb7b9b00070c6d2a87da5d7d2fed13
2012-11-07Windows absolute path does not need to start with path separatorFridrich Štrba1-0/+13
Change-Id: Ic76cf78c0b61778008c0aaa0b76a2c622c3e48c5
2012-11-07Don't patch an xml file with its own contentFridrich Štrba1-45304/+0
Change-Id: I7967230df84e794376abfe9f24dd8f9e01e9aed8
2012-11-07Fix windows linking of i18npoolFridrich Štrba1-3/+3
Change-Id: I9e66d0528a8b095897e27216352979c4bcfb4eae
2012-11-06Adding msvc projects to liblangtag, in case neededFridrich Štrba2-0/+707
Change-Id: Iebd6b7d925f402c41103cdd157d7009a9eda8e62
2012-11-07Make sure -MD is used with MSVC (use the MSVCRT runtime)Tor Lillqvist1-0/+1
Change-Id: I864e45b6925fa35d4b75c9214b799f664a5c1247
2012-11-07Use HAVE_STDINT_H instead of _MSC_VERTor Lillqvist1-1/+1
Change-Id: I921f5adc72bb0c83389f74659127c4512fc93738
2012-11-07Configury fixes for MSVC, avoid accidentally using -march=i486Tor Lillqvist1-0/+22
Change-Id: I2c3083ce84872e415e61c61e41473a3da14ed88a
2012-11-06Pass V=1 when verbose to see compiler command linesTor Lillqvist1-1/+1
Change-Id: I0fee18b1d5470c493b583e067b7ba6ff8b741b75
2012-11-06More work trying to build this thing on windowsFridrich Štrba3-1/+145
Change-Id: I064ef350fa1b01642917a4797f3a6e0a810174d0
2012-11-06Start making liblangtag 0.4.0 build for WindowsTor Lillqvist2-0/+292
Harder than I expected. Still incomplete. Thanks to Fridrich for the atomic stuff. Change-Id: Iacf6d3708ee04c75b98da4ffe250194657fda7c8
2012-11-06liblangtag: fix 0.4.0 breakages on MacNorbert Thiebaud2-2/+127
Change-Id: I354d82a86e4e45d49578ccea083d258f1660b60e
2012-11-06Tiny cleanupFridrich Štrba1-2/+2
Change-Id: Ie5d2a6bbcf94c0906441a03b72100706884d0dcd
2012-11-06Remove last remenants of glib from liblangtag and try to fix buildFridrich Štrba1-18/+1
Change-Id: Iae3aa684ce54e5025545179c35affc75eaf88dab
2012-11-06Upgrading to liblangtag 0.4.0Fridrich Štrba15-501/+221
Change-Id: Ia3e08af69fd3f7a3d2d523272ba849fc43a42c67
2012-10-31fdo#55514 put liblangtag dll into the install setDavid Tardon1-0/+1
Change-Id: I81019488c06d83e80ff63f43d416fa0b74be8e15
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