summaryrefslogtreecommitdiffstats
path: root/libc/string/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add memmem().Manuel Novoa III2003-06-161-1/+1
|
* The big thing is locale dependent collation support.Manuel Novoa III2002-12-201-2/+3
| | | | Also added outdigit support and (legacy) YESSTR/NOSTR support.
* Added some temporary "stubs" for collation.Manuel Novoa III2002-11-081-6/+3
| | | | | | | | strcoll is an alias for strcmp. strxfrm is an alias for strlcpy. wcscoll is an alias for wcscmp. wcsxfrm is implemented as a wchar version of strlcpy. Real locale-dependent implementations are coming soon.
* 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
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-011-2/+1
| | | | 'wcschrnul.o' appeares two times in MOBJW2
* Hide my personal #warning reminders. Add __wcschrnul, rename strchrnulManuel Novoa III2002-09-191-1/+2
| | | | to __strchrnul, and add weak aliases for them.
* Reimplement sys_errlist[] so that it works on sparc, alpha, and mips.Manuel Novoa III2002-08-271-1/+1
| | | | | | | | In my opinion, this is a complete waste of good memory and is only done to avoid the anticipated whining by people who think this libary is named uCglibc. At some point this may become a configurable option. And even then, it may not be available in all configs... for instance when system error messages become locale-dependent.
* sparc, alpha, and mips have different errno values than the otherManuel Novoa III2002-08-261-1/+1
| | | | | | | supported platforms. Adjust _susv3_strerror_r function to deal with this. Also fix an error in strerror() wrt invalid errnos. NOTE: sys_errlist and sys_nerr are no longer supported!!!
* Fix a preprocessor buglet. Redo sys_siglist/strsignal/psignal.Manuel Novoa III2002-07-081-18/+1
|
* Obligatory forgotten file.Manuel Novoa III2002-07-071-3/+4
|
* Add two missing glibc wide string funcs as well as OpenBSD string funcsManuel Novoa III2002-07-051-3/+3
| | | | strlcat and strlcpy.
* Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III2002-07-031-0/+2
| | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
* Cleanup the mess, remove now obsolete filesEric Andersen2002-06-121-8/+0
| | | | -Erik
* Write a new strxfrm that doesn't make function calls. Uses the same logic asEric Andersen2002-06-121-9/+2
| | | | | | before but unrolls the func calls and thereby eliminates some steps and some bytes. Now adds just 40 bytes to .text. -Erik
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-061-13/+42
| | | | | | | | | | | | | | | | | | | | | | LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
* Implement mempcpyEric Andersen2002-01-091-1/+1
|
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Add basename and dirname. Write memrchr.Eric Andersen2001-12-191-2/+3
| | | | -Erik
* Add strndup, written by Stefan Soucek <ssoucek@coactive.com>Eric Andersen2001-10-111-1/+1
|
* I just wrote a stpncpy() since someone wanted itEric Andersen2001-08-111-1/+1
|
* Added stpcpy and strcasestr along with some code to test them.David McCullough2001-07-041-3/+10
|
* Remove nonstandard functions.Manuel Novoa III2001-06-271-1/+1
|
* Add locale-enabled strcoll function from vodz, plus supporting tool.Manuel Novoa III2001-06-021-0/+4
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-2/+1
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
* Put weak symbols where they can find what they are aliasing. Clean up strcspn.cManuel Novoa III2001-03-191-2/+1
|
* Hah. It turned out that index and rindex were _already_Eric Andersen2001-03-151-10/+3
| | | | | | | there and already implemented as wrapper funcs. And so just the header files were wrong. Anyway, axe the old index and rindex. -Erik
* Add strxfrm and strcollEric Andersen2001-03-151-1/+2
|
* Add index and rindexEric Andersen2001-03-151-1/+1
|
* Add strnlenEric Andersen2001-03-081-1/+1
|
* strtok_r.c was not being compiled in, so fix that.Eric Andersen2001-03-031-3/+3
|
* Added "psignal" functionDavid McCullough2001-02-261-2/+9
|
* Add missing ffs, used by rpc crap.Eric Andersen2001-02-091-1/+1
| | | | -Erik
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-2/+2
|
* Fix doc blunder.Eric Andersen2000-11-041-4/+4
|
* Make spelling of uClibc be consistant.Eric Andersen2000-11-041-1/+1
|
* More reorg. A place for everything and everything in its place...Eric Andersen2000-10-231-1/+1
|
* Strip all object files of all non global symbols and .note andEric Andersen2000-10-201-1/+5
| | | | | .comment, saving a lot of space in the resultant binaries... -Erik
* More updates. Implement strsignal. Add pwd_grp testsEric Andersen2000-10-181-3/+3
|
* Stupid makefile bug,Eric Andersen2000-10-161-3/+3
|
* Makefile updateEric Andersen2000-10-121-3/+3
|
* Finish reorganizing things. At least I think I've finished.Eric Andersen2000-10-111-3/+10
|
* Bug ugly formatting updateEric Andersen2000-10-091-3/+8
|
* Update and simplification.Eric Andersen2000-10-071-5/+2
|
* Remove obsolete files. Update dependancies.Eric Andersen2000-10-071-2/+1
|
* Major update to string handling. strcmp and friends were horriblyEric Andersen2000-10-051-4/+6
| | | | | broken. They now test out as working properly. -Erik
* Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen2000-10-041-13/+29
| | | | -Erik
* Yet more updates. Getting closer....Eric Andersen2000-08-111-16/+17
| | | | -Erik
* Rework all the string handling. Make const stuff be constified.Eric Andersen2000-07-061-2/+2
| | | | -Erik
* Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen2000-07-051-1/+0
| | | | | It is getting closer... -Erik