summaryrefslogtreecommitdiffstats
path: root/libc/misc/locale
Commit message (Collapse)AuthorAgeFilesLines
* locale.c: export newlocale only if XLOCALE is definedPeter S. Mazinger2011-03-071-0/+2
| | | | | | | newlocale is used by setlocale, so we need the hidden version even if XLOCALE is not defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* locale.c, locale.h: no need for hidden duplocalePeter S. Mazinger2011-03-071-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* update some headersPeter S. Mazinger2011-03-031-0/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* prettify make cleanBernhard Reutner-Fischer2010-03-251-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-6/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-26/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* support building out-of-treeBernhard Reutner-Fischer2009-08-171-0/+2
| | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.xDenis Vlasenko2009-01-211-15/+15
| | | | | | | | | | | | | | | | | | | is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR
* more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko2008-12-211-1/+1
|
* libc/misc/locale/locale.c: heed a pile of warningsDenis Vlasenko2008-12-201-17/+17
| | | | | from signed/unsigned char conversions
* libc/misc/locale/locale.c: remove one unneeded static data,Denis Vlasenko2008-12-201-11/+19
| | | | | | | | | | | | 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
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-8/+8
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* libc_hidden_proto removal, a few more functionsDenis Vlasenko2008-11-181-5/+5
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-4/+4
|
* - whitespace fixesBernhard Reutner-Fischer2008-10-311-19/+19
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-57/+57
|
* Fix typo that prevented "make clean" from removing objects in libc/misc/locale.Bernd Schmidt2008-06-041-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-10/+10
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* 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>
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-1/+0
| | | | I had clearly run search/replace on that were cluttering things up.
* Correct build if UCLIBC_HAS_CTYPE_TABLES is not definedPeter S. Mazinger2006-03-221-0/+2
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-221-1/+2
| | | | _ISOC99/XOPEN_SOURCE
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-11/+0
| | | | most of global data relocations are back
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-39/+11
| | | | 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
* Add files for IMA. Yes, I know it's a hack and no, I won't split the ↵Peter S. Mazinger2006-02-1311-0/+93
| | | | affected files
* global data uses libc_hidden_data_def, convert all -I hope- and add some newPeter S. Mazinger2006-02-011-2/+2
|
* some more prototypesPeter S. Mazinger2006-01-301-1/+2
|
* Patch by Joseph S. Myers to add support for ARM EABIMike Frysinger2006-01-291-0/+4
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-2/+0
| | | | is a useless attempt
* Last relocs jump and global data, (even locales) that I could remove are ↵Peter S. Mazinger2006-01-161-1/+20
| | | | gone from libc. The remaining are left as exercise for others ;-)
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-6/+11
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-56/+63
| | | | missing headers, other jump relocs removed
* Hide localesPeter S. Mazinger2005-12-161-9/+12
|
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-0/+1
|
* Do __nl_langinfo, partly sync header w/ glibc, add missing nl_langinfo_l, ↵Peter S. Mazinger2005-12-091-3/+8
| | | | change users to hidden version
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-1/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-26/+26
|
* Hiding againPeter S. Mazinger2005-11-291-2/+2
|
* Hide some of mem* and str*Peter S. Mazinger2005-11-271-0/+2
|
* Integrate locales into new build system, move everything locale related to ↵Peter S. Mazinger2005-11-251-16/+1
| | | | extra/locale, as download, unpack, locale_data.o
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Correct XLOCALE enabled builds pointed out by nitinkgPeter S. Mazinger2005-11-041-5/+5
|
* Last bits for IMA, now everything can be built w/ DOMULTI=y on gcc-3.4.4 ↵Peter S. Mazinger2005-11-031-1/+4
| | | | with my config (no locale, the rest enabled). Not tested if libc is complete and usable. All the files listed in *_NO_MULTI need love, best would be to replace all multisources w/ single sources.
* Enable IMAPeter S. Mazinger2005-11-031-3/+2
|
* Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger2005-11-011-3/+12
|
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-59/+8
|
* typo s/notdir/dir/Peter S. Mazinger2005-10-281-1/+1
|
* Correct building locales and backport the changesPeter S. Mazinger2005-10-282-7/+6
|