summaryrefslogtreecommitdiffstats
path: root/extra/locale
Commit message (Collapse)AuthorAgeFilesLines
* remove superfluous extra semicolonsBernhard Reutner-Fischer2009-11-221-10/+10
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support selecting which locales to buildBernhard Reutner-Fischer2009-11-091-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix make {,install_}{,host}utilsBernhard Reutner-Fischer2009-09-182-2/+27
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* use CURDIRBernhard Reutner-Fischer2009-09-031-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-193-205/+212
| | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* locale: gen_wc8bit: try to find UTF8 locale automaticallyMike Frysinger2009-07-091-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* - sync r24496 from trunkBernhard Reutner-Fischer2008-12-231-11/+35
|
* sync with trunk. Compile tested on i386Denis Vlasenko2008-12-236-447/+376
|
* Fix memset argsCarmelo Amoroso2008-11-261-2/+2
|
* Synch with trunk @ 24071.Carmelo Amoroso2008-11-178-302/+440
| | | | | Step 2 locale stuff - configuration and top Makefiles
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-315-29/+29
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-093-5/+5
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added 'locale' utilities Carmelo Amoroso2008-07-092-0/+819
|
* Remove extra / from directory nameCarmelo Amoroso2008-03-051-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-201-3/+3
| | | | <carmelo.amoroso@st.com>
* More merging from trunk."Steven J. Hill"2007-01-213-3/+17
|
* Merge from trunk."Steven J. Hill"2006-08-211-13/+3
|
* Temporary hack."Steven J. Hill"2006-08-211-0/+2
|
* Merge from trunk."Steven J. Hill"2006-02-271-6/+0
|
* Merge from trunk. Going pretty good so far. Kind of. Okay, not really."Steven J. Hill"2006-02-256-14/+4
|
* Merge from trunk."Steven J. Hill"2005-12-081-1/+2
|
* You !$#$ piece of crap."Steven J. Hill"2005-11-292-2/+2
|
* Merge from trunk that gives us a valid NPTL dynamic loader and the start of ↵"Steven J. Hill"2005-11-291-93/+4
| | | | the new build system. I have probably another 300 and some files to go *sigh*.
* Copy from trunk."Steven J. Hill"2005-11-291-0/+179
|
* First batch of merges for new build system."Steven J. Hill"2005-11-191-4/+11
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-1/+1
| | | | going to smash your keyboard.
* - avoid segfaulting when rlimit stack is set to low for gen_wctype by ↵Ned Ludd2005-02-261-0/+12
| | | | calling setrlimit(RLIMIT_STACK, &limit)
* no more cvsMike Frysinger2005-02-121-14/+0
|
* Allow building on 64 bit archs. Hopefully the last cvs activity thisManuel Novoa III2004-02-051-2/+2
| | | | stuff will see other than "delete".
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-5/+5
| | | | | | | 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).
* This should enabled building of uClibc locale support when using uClibc itself.Manuel Novoa III2003-09-162-4/+6
| | | | | | | | | | | | | | | | 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.
* Add back in table-less ctype funcs for those interested in minimizingManuel Novoa III2003-09-081-2/+2
| | | | | | static build sizes and not needing wchar support. Add in a SUSv3 getopt as an option for those not needing gnu getopt. Again, mainly for the static linking crowd.
* Fix a few bugs in the new extended locale functions.Manuel Novoa III2003-08-241-39/+3
| | | | | | | | | Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot.
* Fixed a bug where locales nontrivially derived from iso14651_t1 did not haveManuel Novoa III2003-08-181-10/+30
| | | | the UNDEFINED entry set properly.
* Fix a silly error.Manuel Novoa III2003-08-011-0/+1
| | | | | | | To use the pregenerated locales, untar in the extra/locale directory. Do a 'make config' or 'make menuconfig' in the uClibc root dir, then a 'make headers' followed by 'make -C extra/locale pregen'. Then continue with 'make' as usual.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-017-167/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
* Ok... pasting in DUMPn() is unnecessary and technically incorrect.Manuel Novoa III2003-06-171-4/+4
|
* Obligatory forgotten update...Manuel Novoa III2002-12-201-141/+183
|
* Add a target so that people can download and use pregenerated locale dataManuel Novoa III2002-12-201-0/+6
| | | | | files instead of generating approx 40Mb of glibc locales to get the 300+ locales currently supported.
* The big thing is locale dependent collation support.Manuel Novoa III2002-12-20158-827/+64827
| | | | Also added outdigit support and (legacy) YESSTR/NOSTR support.
* Change some variable names so we are more consistant with whatEric Andersen2002-12-041-5/+5
| | | | | the linux kernel uses. -Erik
* Ok... here's the summary:Manuel Novoa III2002-11-228-75/+563
| | | | | | | | | | | | | | Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
* Add a few more entries.Manuel Novoa III2002-11-011-0/+16
|
* Work around glibc brain-damage regarding nl_langinfo and {mon_}groupingManuel Novoa III2002-11-011-2/+85
| | | | entries.
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-1/+1
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Sigh. OpenBSD used /usr/bin/{true|false}Eric Andersen2002-10-011-2/+2
|
* Fixup build a bit moreEric Andersen2002-05-071-4/+9
|
* When it is going to fail silently anyways, whine loudly andEric Andersen2002-05-071-1/+22
| | | | | abort early with instructions on what to do... -Erik
* The obligatory forgotten files...Manuel Novoa III2002-05-061-0/+81
|