| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-04-16 | Fix parsing a locale string with multiple components. | mlelstv | |
| Also check for truncation of a long locale string. | |||
| 2022-12-31 | setlocale.3: Reflect state of NetBSD locale support in the 21st century | nia | |
| Don't use LC_COLLATE in a real code example, since a real call to set LC_COLLATE will fail. Mention this. Inconsistencies noticed by khw on IRC. | |||
| 2022-04-19 | lib: remove CONSTCOND comment | rillig | |
| Since 2021-01-31, lint doesn't need it anymore for the common pattern of 'do ... while (0)'. | |||
| 2021-10-24 | setlocale.3: minor updates to reflect the current implementation | gutteridge | |
| Reflect a couple of amendments noted by John Marino on tech-userlevel: http://mail-index.netbsd.org/tech-userlevel/2021/10/19/msg013091.html | |||
| 2021-02-15 | Remove reference to multibyte(3) and trailing commas. | wiz | |
| 2021-02-15 | Remove FreeBSD portions that are not relevant to our implementation (pointed | christos | |
| out by joerg@) | |||
| 2021-02-15 | Add missing man pages (from FreeBSD) | christos | |
| 2020-06-02 | Don't overalign _RuneStatePriv, it must share the alignment of mbstate_t | joerg | |
| it aliased with. Assert that the alignment actually used reflects the alignment required by existing implementation and for newly build modules assert that it is at most the guaranteed alignment. | |||
| 2018-01-04 | Add bunch of missing includes of namespace.h in libc | kamil | |
| The NetBSD Standard C Library uses internally some of its functions with a mangled symbol name, usually "_symbol". The internal functions shall not use the global (public) symbols. This change eliminates usage of the global changes of the following symbols: - strlcat -> _strlcat - sysconf -> __sysconf - closedir -> _closedir - fparseln -> _fparseln - kill -> _kill - mkstemp -> _mkstemp - reallocarr -> _reallocarr - strcasecmp -> _strcasecmp - strncasecmp -> _strncasecmp - strptime -> _strptime - strtok_r -> _strtok_r - sysctl -> _sysctl - dlopen -> __dlopen - dlclose -> __dlclose - dlsym -> __dlsym Sponsored by <The NetBSD Foundation> | |||
| 2017-12-09 | PR/52801: Kamil Rytarowski: Add missing weak aliases for wcsto{f,d,ld}_l | christos | |
| XXX: pullup-8 | |||
| 2017-10-25 | Add towupper to the NAME section as well. | abhinav | |
| 2017-07-03 | Remove workaround for ancient HTML generation code. | wiz | |
| 2017-01-10 | pacify lint. | christos | |
| 2016-06-27 | Fix function prototype in the SYNOPSIS | abhinav | |
| Also, fix function name in the RETURN VALUES section. From Henning Petersen in PR lib/51284 | |||
| 2016-04-29 | Go back to just using normal visibility for the locale symbols. Without | joerg | |
| an actual specifier like dllimport, protected visibility is unusable. | |||
| 2016-03-17 | undo the dso protected for clang | christos | |
| 2016-03-08 | Undo the __dso_protected hackery. | christos | |
| 2016-01-29 | disable dso protected to work around binutils bug. | christos | |
| 2013-09-13 | Redo the locale cache to be constant. It now contains the localeconv() | joerg | |
| data and which LC_MONETARY and LC_NUMERIC values it is derived from. In newlocale(3) and setlocale(3), check for the existing entries and on miss, create a new entry. This is currently not using a lock for the list as the worst case is a small memory leak. | |||
| 2013-08-20 | Extract the data for nl_langinfo directly from the corresponding | joerg | |
| part implementation using a category/offset table. | |||
| 2013-08-19 | Remove most LC_CTYPE specific parts of locale.cache. | joerg | |
| 2013-08-19 | Missing locale specific change. | joerg | |
| 2013-08-19 | Shut up lint. | joerg | |
| 2013-08-19 | Add nl_langinfo_l, catopen_l and wcsftime_l. | joerg | |
| 2013-08-18 | Rename fixup to update_global to better reflect the purpose. | joerg | |
| Remove the various Current pointers, they are implementation internals that shouldn't be leaked. Remove _CATEGORY_DEFAULT related handling and directly pick the implemenation pointer from the C locale. Merge the C locale data into global_locale.c with the exception of _DefaultRuneLocale. Mark that one hidden. Move _RUNE_LOCALE and _CITRUS_CTYPE into multibyte.h and pick up the correct rl_citrus_ctype for non-default locales. | |||
| 2013-08-17 | Remove empty file. | joerg | |
| 2013-05-28 | Add mbsnrtowcs and wcsnrtombs. Approved by core. | joerg | |
| 2013-05-17 | Provide explicit LC_C_LOCALE accessor and drop the various NULL checks. | joerg | |
| Provide LC_GLOBAL_LOCALE in a way that works with all locale functions. Merge constant data used by the initial global locale and the C locale. Drop function call layer for _current_locale() and directly return the locale reference, not a pointer to it. Use protected access for global variables, so that libc references can avoid the GOT overhead. | |||
| 2013-04-30 | Make that to process PATH_LOCALE the first time _find_category is | joerg | |
| called. Use this to implement newlocale and provide duplocale/freelocale as well. Based on patches by Takehiko Nozaki with simplications and fix for the init order by myself. | |||
| 2013-04-21 | Store time-specific locale data directly in the locale. | joerg | |
| Ad dstrftime_l, strftime_lz and strptime_l. | |||
| 2013-04-19 | Add MB_CUR_MAX_L. | joerg | |
| 2013-04-18 | Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l, | joerg | |
| mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l. | |||
| 2013-04-18 | Add wcstof_l, wcstod_l and wcstold_l. | joerg | |
| 2013-04-18 | Add mblen_l, mbstowcs_l, wctomb_l, mbtowc_l and wcstombs_l. | joerg | |
| 2013-04-17 | Add localeconv_l. | joerg | |
| 2013-04-16 | Add support for wcstoimax_l and friends. | joerg | |
| 2013-04-16 | Add wcwidth_l, wcswidth_l and the wctype.h family of *_l functions. | joerg | |
| 2013-04-14 | Provide a const copy of global_locale for libc-internal use. | joerg | |
| This will be used by *_l when a NULL pointer is given. | |||
| 2013-04-14 | Rename struct _locale_impl_t to struct _locale, since it will end up as | joerg | |
| locale_t later. | |||
| 2013-04-13 | Extend ctype classification table to 16bit. Based on patch by | joerg | |
| Takehiko Nozaki, with changes to compile fail when using the old names and to exploit __BUILD_LEGACY | |||
| 2012-08-08 | Restore RCS Id lost in previous. | wiz | |
| 2012-08-08 | fix PR lib/46781 statically compiled bash makes locale loading fail. | tnozaki | |
| analyzed and patch provided by enami@ nonaka@ obache@ soda@, thanks. patch modified by me. | |||
| 2012-06-25 | Update old-style definitions to ANSI, remove a couple of register | abs | |
| definitions along the way. Fixed gcc 4.1 build (thank you vax) | |||
| 2012-06-24 | fix old style definitions; XXX: gcc should have picked them up but it did not. | christos | |
| 2012-03-21 | cast CHAR_MAX to (char) for unsigned character machines | christos | |
| 2012-03-20 | Use C89 Prototypes. | matt | |
| Remove use of __P | |||
| 2012-03-04 | don't use __link_set_* stuff for locale implementation. | tnozaki | |
| patch reviewed by matt@, thanks. | |||
| 2012-01-20 | Remove code for CITRUS!=yes. | joerg | |
| 2012-01-18 | _runetype_from_ctype is unused | joerg | |
| 2011-10-15 | close on exec fixes: | christos | |
| - open + fcntl -> open O_CLOEXEC - configuration database file descriptors that can stay open are now opened fopen(db, "re") | |||
