summaryrefslogtreecommitdiffstats
path: root/liblangtag
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of (most uses of) GUITor Lillqvist2012-12-253-3/+3
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* upstream has moved to http://tagoh.bitbucket.org/liblangtag/Eike Rathke2012-12-141-1/+1
| | | | Change-Id: I844ae1363ff37578fe734125bc6ee6aa8fb352c6
* vsnprintf() is not portableLuboš Luňák2012-12-012-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
* Work around Windows' missing symlinksStephan Bergmann2012-11-251-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
* Move in-build liblangtag data to solver's unittest/installation/shareStephan Bergmann2012-11-241-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
* Remove unused liblangtag/CustomTarget_langtag.mkStephan Bergmann2012-11-241-19/+0
| | | | Change-Id: Ia45446db1263b8969cf933e5d34130102605b3e9
* Mark patch pushed upstreamStephan Bergmann2012-11-221-0/+3
| | | | Change-Id: I561ef2f20037e60c1f8735c7be8c89b899b99204
* Use xmlDocCopyNode to merge nodes into different docs in liblangtagStephan Bergmann2012-11-222-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
* fix build on ppcCaolán McNamara2012-11-212-0/+11
| | | | Change-Id: I4b09aa9eeb2c34d19043148144383ad4e37a8d10
* fix liblangtag for win and cleanup autoconfPeter Foley2012-11-132-3/+11
| | | | Change-Id: I6d69eb2af6a3b1a693ad782f2a0e51f6b0ef932c
* liblangtag really does not need to be a shared libraryFridrich Štrba2012-11-132-16/+3
| | | | Change-Id: I73f9422268f58ded971150f1ef16643885669ea3
* Fix the pthread branch of lt-atomic.hFridrich Štrba2012-11-131-0/+9
| | | | Change-Id: I12b8c5e43dbe96fe9e2b2175dc6bb6bf15a8bdf8
* Oops, a typoFridrich Štrba2012-11-131-1/+1
| | | | Change-Id: I02dcde7d83df864561a5d4af8cda5e57f30f811a
* Shortcircuit liblangtag's builtin detection using config.cacheFridrich Štrba2012-11-131-1/+3
| | | | Change-Id: Ib53ab293d90b9b8a68d97b10d2ad020c69ab46f5
* get macosx to run againCaolán McNamara2012-11-121-0/+1
| | | | Change-Id: Id250a54d6789b06df1946ecc6a9d29d24fc57c70
* Mention the fragility of its MSVC configuryTor Lillqvist2012-11-121-0/+5
| | | | Change-Id: Id2ee3c5dae27a1b7f33872d6421f53a40442d805
* Fix MSVC build: put the CFLAGS inside CC for preprocessor check to succeedTor Lillqvist2012-11-121-4/+5
| | | | Change-Id: Iafc7f735a99f3e3ac335efa8610ff415d3deae3b
* Missing "/inc"Stephan Bergmann2012-11-121-1/+1
| | | | Change-Id: Ia68a683bdafe6dc89ac98635e797b84a2e0ff615
* fix liblangtag 'delivery' on MacNorbert Thiebaud2012-11-111-1/+3
| | | | Change-Id: I6ca26a6637ebe36bd5055fc6283258ae288df461
* fix liblangtagPeter Foley2012-11-111-1/+3
| | | | Change-Id: I89153efde9441180f5bb49968d11d77fc951f774
* fix langtag so namePeter Foley2012-11-111-1/+1
| | | | Change-Id: I0b61fc9436ac08368991251b04343e0a53c2257c
* convert liblangtag to gbuildPeter Foley2012-11-1112-860/+253
| | | | Change-Id: Ib019e248b16a39ea058cdebeaa1f37a967a00d6c
* This is a bit more elegantFridrich Štrba2012-11-091-3/+3
| | | | Change-Id: I0f458caa1bda23882c76cbae414b738a5d04ab32
* corrected Windows lt_atomic_int_dec_and_test()Eike Rathke2012-11-081-1/+1
| | | | | | check pre-decremented value for zero Change-Id: Ib2289cb6064941db2072b2dfbd6ad5f03bcff7aa
* MinGW: Deliver liblangtag-1.dll correctly.Jan Holesovsky2012-11-081-1/+1
| | | | Change-Id: Icea86ae6f6c07d43c212bc02defb860759ff65d6
* Ask MSVC to be less verbose: -nologoTor Lillqvist2012-11-081-1/+1
| | | | Change-Id: I332b322343ccbabe55c247f9bd934a0394ebd429
* check for builtins pollutes CFLAGS and in turn breaks pthread checkChristian Lohmaier2012-11-073-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>
* Avoid "Warning: -- Macro `CC' redefined after use"Tor Lillqvist2012-11-071-2/+2
| | | | Change-Id: I99352369cd29d695ef09b6bdc58ff4f10ac73880
* Should not call lt_mem_add_ref() with a NULL pointer here eitherTor Lillqvist2012-11-071-2/+5
| | | | Change-Id: I34f7ccca0fdfa71a53c2a80ae51178c5461b5640
* Must not call lt_mem_add_ref() with a NULL pointerTor Lillqvist2012-11-071-1/+7
| | | | | | | | Otherwise will get the lt-mem.c: line 216: assertion `p != ((void *)0)' failed message. Change-Id: Ic585ad638211fda66a54725c5a4bd041499349ef
* Use -Zi when debug info wanted with MSVCTor Lillqvist2012-11-071-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
* Fix MinGW build.Jan Holesovsky2012-11-071-0/+11
| | | | Change-Id: I12fb6b8b8fdb7b9b00070c6d2a87da5d7d2fed13
* Windows absolute path does not need to start with path separatorFridrich Štrba2012-11-071-0/+13
| | | | Change-Id: Ic76cf78c0b61778008c0aaa0b76a2c622c3e48c5
* Don't patch an xml file with its own contentFridrich Štrba2012-11-071-45304/+0
| | | | Change-Id: I7967230df84e794376abfe9f24dd8f9e01e9aed8
* Fix windows linking of i18npoolFridrich Štrba2012-11-071-3/+3
| | | | Change-Id: I9e66d0528a8b095897e27216352979c4bcfb4eae
* Adding msvc projects to liblangtag, in case neededFridrich Štrba2012-11-062-0/+707
| | | | Change-Id: Iebd6b7d925f402c41103cdd157d7009a9eda8e62
* Make sure -MD is used with MSVC (use the MSVCRT runtime)Tor Lillqvist2012-11-071-0/+1
| | | | Change-Id: I864e45b6925fa35d4b75c9214b799f664a5c1247
* Use HAVE_STDINT_H instead of _MSC_VERTor Lillqvist2012-11-071-1/+1
| | | | Change-Id: I921f5adc72bb0c83389f74659127c4512fc93738
* Configury fixes for MSVC, avoid accidentally using -march=i486Tor Lillqvist2012-11-071-0/+22
| | | | Change-Id: I2c3083ce84872e415e61c61e41473a3da14ed88a
* Pass V=1 when verbose to see compiler command linesTor Lillqvist2012-11-061-1/+1
| | | | Change-Id: I0fee18b1d5470c493b583e067b7ba6ff8b741b75
* More work trying to build this thing on windowsFridrich Štrba2012-11-063-1/+145
| | | | Change-Id: I064ef350fa1b01642917a4797f3a6e0a810174d0
* Start making liblangtag 0.4.0 build for WindowsTor Lillqvist2012-11-062-0/+292
| | | | | | | Harder than I expected. Still incomplete. Thanks to Fridrich for the atomic stuff. Change-Id: Iacf6d3708ee04c75b98da4ffe250194657fda7c8
* liblangtag: fix 0.4.0 breakages on MacNorbert Thiebaud2012-11-062-2/+127
| | | | Change-Id: I354d82a86e4e45d49578ccea083d258f1660b60e
* Tiny cleanupFridrich Štrba2012-11-061-2/+2
| | | | Change-Id: Ie5d2a6bbcf94c0906441a03b72100706884d0dcd
* Remove last remenants of glib from liblangtag and try to fix buildFridrich Štrba2012-11-061-18/+1
| | | | Change-Id: Iae3aa684ce54e5025545179c35affc75eaf88dab
* Upgrading to liblangtag 0.4.0Fridrich Štrba2012-11-0615-501/+221
| | | | Change-Id: Ia3e08af69fd3f7a3d2d523272ba849fc43a42c67
* fdo#55514 put liblangtag dll into the install setDavid Tardon2012-10-311-0/+1
| | | | Change-Id: I81019488c06d83e80ff63f43d416fa0b74be8e15
* Enable cross-compilation in general, not just with MinGWTor Lillqvist2012-10-142-6/+6
| | | | Change-Id: I655c6094e98939d5b087ecb3d2bd6ffef0ea3a05
* Mark patch pushed upstreamStephan Bergmann2012-09-211-0/+2
| | | | Change-Id: I8edbd023f4eca28ccfe4cf373eb742551523ef46
* Do not call xmlCleanupParser from liblangtagStephan Bergmann2012-09-202-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