summaryrefslogtreecommitdiff
path: root/extra/locale
AgeCommit message (Collapse)Author
2008-12-22- fix for !GETOPT_LONGBernhard Reutner-Fischer
2008-12-22extra/locale/gen_wctype.c: remove __CTYPE_isalnum and friends;Denis Vlasenko
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)
2008-12-22UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko
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)
2008-12-21more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko
2008-12-20extra/locale/locale_mmap.h: fix broken whitespaceDenis Vlasenko
2008-12-20libc/misc/locale/locale.c: heed a pile of warningsDenis Vlasenko
from signed/unsigned char conversions
2008-12-20libc/misc/locale/locale.c: remove one unneeded static data,Denis Vlasenko
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
2008-11-23- fix args (untested)Bernhard Reutner-Fischer
2008-11-11- update recommendation for pregenerated locales.Bernhard Reutner-Fischer
- update name of locale-tarball. We will retroactively fill them in, eventually
2008-11-07- less verbose make cleanBernhard Reutner-Fischer
2008-10-14- fix locale dependencies and make default locale generation less verbose.Bernhard Reutner-Fischer
The verbosity can be set to the previous level by passing V=2 to make.
2008-10-09- standardize fopen error message a bitBernhard Reutner-Fischer
2008-10-09- mention a FIXME for some make guru :)Bernhard Reutner-Fischer
2008-10-08- sync comment to rule as pointed out by psm.Bernhard Reutner-Fischer
2008-10-08- fix building locale (pre- and generated, even parallel)Bernhard Reutner-Fischer
2008-10-08- add/use variables to make build-tools configurableBernhard Reutner-Fischer
2008-09-25- add missing dependency on lt_defines.hBernhard Reutner-Fischer
- retry with some different locale if en_US happens not to be there
2008-09-24- do not segfault if we end up with empty tablesBernhard Reutner-Fischer
- silence some warnings while at it
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-06-11Fix some compiler warningsCarmelo Amoroso
2008-05-27Fix build failure due to missing 'smallint' definitionCarmelo Amoroso
These are source files built on the host. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-20Introduce and use small[u]int type. Changes in size:Denis Vlasenko
- 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
2008-05-19Added a bounch of locale fixes.Carmelo Amoroso
* 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>
2008-05-02- indentBernhard Reutner-Fischer
2008-05-02Added implementation for 'locale' command.Carmelo Amoroso
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-03-16Remove extra file separatorCarmelo Amoroso
2007-11-09Fix build system to generate locale data instead of using pregenerated onesCarmelo Amoroso
2006-08-24psm says: use $(top_builddir) instead of $(top_srcdir) when accessing ↵Mike Frysinger
generated header files
2006-08-23fixes from psm so we can pull in uClibc headers properlyMike Frysinger
2006-06-26Michael Troß writes: Yes, the missing initialization of uniqblock seems to ↵Mike Frysinger
cause all this trouble. Now gen_wctype works without the rlimit stack hack.
2006-06-26if we cannot generate a locale, be a bit more specific in telling the user ↵Mike Frysinger
we are skipping it
2006-06-26Michael Troß writes:Mike Frysinger
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.
2006-02-27Remove explicit compile rulesPeter S. Mazinger
2006-02-13libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger
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
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2005-12-06Remove a loop if locales are to be builtPeter S. Mazinger
2005-11-25Change HOSTCFLAGS to BUILD_CFLAGS proposed by vapierPeter S. Mazinger
2005-11-25Correct a dependency loopPeter S. Mazinger
2005-11-25Remove clean target in extra/locale and use locale_cleanPeter S. Mazinger
2005-11-25Integrate locales into new build system, move everything locale related to ↵Peter S. Mazinger
extra/locale, as download, unpack, locale_data.o
2005-11-25forgot to commit added filePeter S. Mazinger
2005-11-25locales prepared for new build system, will allow to autobuild locales, not ↵Peter S. Mazinger
only use the pregenerated ones
2005-11-18Replace TOPDIR, add/update copyrightPeter S. Mazinger
2005-10-12Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
2005-09-28Remove ar-target and shared targets, at build time now we traverse the tree ↵Peter S. Mazinger
only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a
2005-02-26- avoid segfaulting when rlimit stack is set to low for gen_wctype by ↵Ned Ludd
calling setrlimit(RLIMIT_STACK, &limit)
2005-02-12no more cvsMike Frysinger
2004-02-05Allow building on 64 bit archs. Hopefully the last cvs activity thisManuel Novoa III
stuff will see other than "delete".
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-09-16This should enabled building of uClibc locale support when using uClibc itself.Manuel Novoa III
Sorry I didn't test this before the release. Please remember that the locale data generation tools are not very robust, so doing something like disabling 8-bit codeset support is likely to break things. As it stands, UTF-8 support is required, but I'm not sure I test for that. Also, you will notice a difference in the locale data generated by uClibc verses glibc. That's because the bg_BG locale specifies use of grouping in LC_NUMERIC, but supplies no grouping char. The uClibc locale code tests for and works around this (at the moment) by disabling grouping. But the result is slightly different data which ripples throughout the rest of the tables.