summaryrefslogtreecommitdiffstats
path: root/extra/locale
Commit message (Collapse)AuthorAgeFilesLines
* extra/locale/Makefile: Consider the case of building out of sourcedirKhem Raj2010-12-181-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Fix gen_wc8bit support for finding a UTF8 locale on host.Andy Gibbs2010-05-051-2/+3
| | | | | | | | | | | | | gen_wc8bit was previously patched to support UTF8 locales other than the default en_US.UTF-8 by patch id 0e14b8f425c562749d3821a42414b1ce6b3b0923. This was incomplete in its implementation and still failed where item(s) in the list returned by 'locale -a' already had 'UTF8' appended to the name. This patch rectifies this situation, plus adds an extra fix to avoid trimming '\n' from an empty line which could cause a segfault. Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* prettify make cleanBernhard Reutner-Fischer2010-03-251-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* remove superfluous extra semicolonsBernhard Reutner-Fischer2009-11-201-10/+10
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* support selecting which locales to buildBernhard Reutner-Fischer2009-10-281-15/+17
| | | | | | | | | | Introduce UCLIBC_BUILD_MINIMAL_LOCALES and if selected build only those locales. Based on a patch by Bernhard Reutner-Fischer. Signed-off-by: Marc Andre Tanner <mat@brain-dump.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix make {,install_}{,host}utilsBernhard Reutner-Fischer2009-09-182-2/+27
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* use CURDIRBernhard Reutner-Fischer2009-08-251-4/+4
| | | | | | | use CURDIR instead of spawning a separate shell as suggested by Mike. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* use pwd, not PWDBernhard Reutner-Fischer2009-08-191-4/+5
| | | | | | PWD may point to somewhere else if we're run from another make Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-173-205/+212
| | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* locale: gen_wc8bit: try to find UTF8 locale automaticallyMike Frysinger2009-06-281-1/+24
| | | | | | | | | | Rather than require everyone to have en_US.UTF-8 when we really need any UTF8 locale, do a scan for possible UTF8 locales if the default en_US does not exist. Hopefully this should make the utility "just work" for most people. Reported-by: Daniel Cordero <theappleman@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - fix for !GETOPT_LONGBernhard Reutner-Fischer2008-12-221-11/+36
|
* extra/locale/gen_wctype.c: remove __CTYPE_isalnum and friends;Denis Vlasenko2008-12-221-379/+354
| | | | | | | | | stop using macros with hidden parameter - that's evil; reformat broken indenting (it was not matching the number of {}s); fix format warnings (int vs size_t vs long) No code changes (verified with objdump)
* UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko2008-12-223-64/+19
| | | | | | | | | | | | | | | | | | | | | | equal to "include/bits/uClibc_ctype.h" __CTYPE_unclassified and other similar __CTYPE_xxxx constants are moved to separate include file, bits/uClibc_charclass.h Duplicate declaration of these constants is removed from libc/misc/wctype/_wctype.c Ugly re-inclusion trick in extra/locale/gen_wctype.c deleted Large ifdefed-out chunk in extra/locale/gen_wctype.c removed Move __CTYPE_isalnum() etc macros from uClibc_ctype.h to their single user, extra/locale/gen_wctype.c (can be simplified further) Overall, no code changes (verified with objdump)
* more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko2008-12-211-1/+1
|
* extra/locale/locale_mmap.h: fix broken whitespaceDenis Vlasenko2008-12-201-17/+15
|
* libc/misc/locale/locale.c: heed a pile of warningsDenis Vlasenko2008-12-201-2/+2
| | | | | from signed/unsigned char conversions
* libc/misc/locale/locale.c: remove one unneeded static data,Denis Vlasenko2008-12-201-2/+2
| | | | | | | | | | | | rewrite one exceptionally unreadable loop. Heed a few warnings (wrong type for string op params) text data bss dec hex filename - 1164 16 0 1180 49c libc/misc/locale/newlocale.os + 1180 0 0 1180 49c libc/misc/locale/newlocale.os - 494480 2751 15684 512915 7d393 lib/libuClibc-0.9.30-svn.so + 494472 2735 15684 512891 7d37b lib/libuClibc-0.9.30-svn.so
* - fix args (untested)Bernhard Reutner-Fischer2008-11-231-2/+2
|
* - update recommendation for pregenerated locales.Bernhard Reutner-Fischer2008-11-111-1/+1
| | | | - update name of locale-tarball. We will retroactively fill them in, eventually
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-4/+3
|
* - fix locale dependencies and make default locale generation less verbose.Bernhard Reutner-Fischer2008-10-144-281/+389
| | | | The verbosity can be set to the previous level by passing V=2 to make.
* - standardize fopen error message a bitBernhard Reutner-Fischer2008-10-097-10/+10
|
* - mention a FIXME for some make guru :)Bernhard Reutner-Fischer2008-10-091-0/+4
|
* - sync comment to rule as pointed out by psm.Bernhard Reutner-Fischer2008-10-081-2/+2
|
* - fix building locale (pre- and generated, even parallel)Bernhard Reutner-Fischer2008-10-083-34/+49
|
* - add/use variables to make build-tools configurableBernhard Reutner-Fischer2008-10-081-3/+3
|
* - add missing dependency on lt_defines.hBernhard Reutner-Fischer2008-09-252-4/+5
| | | | - retry with some different locale if en_US happens not to be there
* - do not segfault if we end up with empty tablesBernhard Reutner-Fischer2008-09-242-4/+15
| | | | - silence some warnings while at it
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-235-29/+29
|
* Fix some compiler warningsCarmelo Amoroso2008-06-111-2/+2
|
* Fix build failure due to missing 'smallint' definitionCarmelo Amoroso2008-05-272-2/+2
| | | | | | These are source files built on the host. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-202-2/+2
| | | | | | | | | | | | | | - 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
* Added a bounch of locale fixes.Carmelo Amoroso2008-05-191-1/+1
| | | | | | | | | | | | | | | | | * extra/locale/gen_wc8bit.c: use strrchr to parse locale name to handle the case in which it contains a '.' character like ANSI_X3.4-1968 * include/locale.h: use __UCLIBC_HAS_XLOCALE__ to control inclusion of xlocale.h only * libc/misc/ctype/ctype.c: add missing weak_alias for __tolower_l and __toupper_l * libc/misc/locale/locale.c: use strcasecmp (case insensitive) for utf-8 locale name. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - indentBernhard Reutner-Fischer2008-05-021-181/+177
|
* Added implementation for 'locale' command.Carmelo Amoroso2008-05-022-0/+823
| | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* Remove extra file separatorCarmelo Amoroso2008-03-161-1/+1
|
* Fix build system to generate locale data instead of using pregenerated onesCarmelo Amoroso2007-11-091-1/+3
|
* psm says: use $(top_builddir) instead of $(top_srcdir) when accessing ↵Mike Frysinger2006-08-241-1/+3
| | | | generated header files
* fixes from psm so we can pull in uClibc headers properlyMike Frysinger2006-08-233-3/+15
|
* Michael Troß writes: Yes, the missing initialization of uniqblock seems to ↵Mike Frysinger2006-06-261-12/+0
| | | | cause all this trouble. Now gen_wctype works without the rlimit stack hack.
* if we cannot generate a locale, be a bit more specific in telling the user ↵Mike Frysinger2006-06-261-1/+1
| | | | we are skipping it
* Michael Troß writes:Mike Frysinger2006-06-261-0/+2
| | | | | | | | | | gen_wctype segfaults on my system when optimized with -O2. It does work without optimization, even -O1 does not cause the segfault. Problem is in newopt, at gen_wctype.c:865: memcpy(tbl->ti + i * blocksize, ti[uniqblock[i]], blocksize); The segfault is caused by the uninitialized variable uniqblock when newopt is called recursively. The attached patch fixes this.
* Remove explicit compile rulesPeter S. Mazinger2006-02-271-6/+0
|
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-3/+4
| | | | libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-225-11/+0
| | | | is a useless attempt
* Remove a loop if locales are to be builtPeter S. Mazinger2005-12-061-1/+2
|
* Change HOSTCFLAGS to BUILD_CFLAGS proposed by vapierPeter S. Mazinger2005-11-251-6/+6
|
* Correct a dependency loopPeter S. Mazinger2005-11-251-1/+1
|
* Remove clean target in extra/locale and use locale_cleanPeter S. Mazinger2005-11-251-3/+0
|
* Integrate locales into new build system, move everything locale related to ↵Peter S. Mazinger2005-11-251-27/+44
| | | | extra/locale, as download, unpack, locale_data.o