#
3e1163d6 |
|
08-Apr-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
libroot: Disambiguate parameters of ICUCollateData::Strxfrm. Same thing that was done for wcsxfrm in 218604196afb8f7bc142ab94af6e9cafdf5327b2.
|
#
d338200e |
|
30-May-2022 |
Trung Nguyen <trungnt282910@gmail.com> |
libs/posix: Implemented new locale functions Implemented the missing POSIX functions in <locale.h>: newlocale, duplocale, uselocale, and freelocale, and also provided missing type definitions for <locale.h>. Implemented missing POSIX locale-based function variants. Modified LocaleBackend so that it could support thread-local locales. Some glibc-like locale-related variables supporting ctype and printf family of functions have also been updated to reflect the thread-local variables present in the latest glibc sources. As there have been some modifications to global symbols in libroot, libroot_stubs.c has been regenerated. Bug: #17168 Change-Id: Ibf296c58c47d42d1d1dfb2ce64042442f2679431 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5351 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
21860419 |
|
11-Jan-2022 |
Augustin Cavalier <waddlesplash@gmail.com> |
libroot: Fix ICU locale implementation of wcsxfrm. * The "size" parameter is the size of "out" not "in", and the return size_t parameter is supposed to always have the total amount of wchar_ts needed, not how many are actually used. * In the case where "outSize == 0", we set "requiredSize" and then return. Fixes crashes seen in glib2 Unicode collation routines, which are used in GTK file dialogs. Thanks to PulkoMandy for glancing at this.
|
#
c1e6e51a |
|
20-Feb-2021 |
Jérôme Duval <jerome.duval@gmail.com> |
libroot: implement timegm calling the ICU backend Change-Id: Ib4de4288e061670acbc2edea3671cee029305d33 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3748 Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
|
#
1bad1ff3 |
|
02-Aug-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Prepare for ICU update - libicule and libiculx do not exist anymore in newer ICU versions (harfbuzz replaces them), but we didn't actually use them, so remove them from the build feature and from the package dependencies - Add namespace usage marcos since the newer ICU packages put ICU things in a namespace, making it easier to have multiple versions of ICU used side by side. No functional change intended, but this makes it possible to build the code with either ICU 57 (for gcc2) or 66 (for other architectures).
|
#
3aeed660 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
04da290f |
|
27-Dec-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Minor cleanup.
|
#
1e1278f4 |
|
23-Feb-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement taking date strings from messages locale. * mimic LocaleKit and add option to POSIX locale backend for taking the date strings from the messages locale (instead of time locale)
|
#
bd55dcbe |
|
07-Jan-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add our implementation for wcscoll() and wcsxfrm(). * add Wcscoll() and Wcsxfrm() ICU locale backend * provide implementations of wcscoll() and wcsxfrm() that are using the respective methods of the locale backend
|
#
995d6d82 |
|
11-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement our own version of wcsrtombs(). * add WcharStringToMultibyte() to libroot's locale backend * implement wcstombs(), wcsrtombs() and wcsnrtombs() on top of that new backend function
|
#
73186b2f |
|
07-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add implementation of mbsrtowcs() to our locale backend. * add MultibyteStringToWchar() to ICU locale backend * implement mbsrtowcs() and mbsnrtowcs() on top of MultibyteStringToWchar() * drop respective glibc files
|
#
c894d186 |
|
23-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Bring rewritten multibyte-support into repository. * update copyrights of locale backend files Multibyte-support has been rewritten to use ICU as backend. While this does not necessarily work properly in every aspect (e.g. the shell still has [different] problems with multibyte- characters now), it does fix #6263 and #7700.
|
#
28ae43d0 |
|
22-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add multibyte-support to ctype-locale backend. * add actual converter methods MultibyteToWchar() and WcharToMultibyte() to locale backend and implement them in the ctype subpart * add management code for maintaining converters referenced by mbstate_t
|
#
bf5ff480 |
|
22-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use TLS and converter manager in locale backend.
|
#
25dc253d |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
de2e54ac |
|
12-Nov-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Adjust tzset() implementation to better follow the POSIX specs and make some more perl tests happy. * no longer expect a ICU timezone ID in the TZ environment variable, but only expect this format if the TZ-value is starting with ':' * accept "standard" TZ-values like "EST5" (of which only "EST" is relevant to us) - if such a value is specified, we hardcode the timezone name to the given value, no matter how ICU calls it * adjust tests accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39415 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560b10ff |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU * no longer keep a separate time-backend, since the implementation needs to access (data of) the locale backend anyway * moved more stuff from localtime_fading_out.c to localtime.cpp * added respective tests to locale_test * added two more tests copied from glibc, test_time.c and tst-mktime.c git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3aeed6607cd07762c0e709633c012b3a632dbad9 |
|
07-Aug-2014 |
Jérôme Duval <jerome.duval@gmail.com> |
include strings.h where appriopriate... instead or additionally to string.h, in preparation for functions move. * moves str[n]casecmp() functions and others to strings.h. * strings.h doesn't include string.h anymore. * this solves #10949
|
#
04da290fd6f6a0e392268bbab1435863de93454e |
|
27-Dec-2012 |
Axel Dörfler <axeld@pinc-software.de> |
Minor cleanup.
|
#
1e1278f46f459739aeb288450aba883e563513fb |
|
23-Feb-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement taking date strings from messages locale. * mimic LocaleKit and add option to POSIX locale backend for taking the date strings from the messages locale (instead of time locale)
|
#
bd55dcbefbf303b990bbc118370f2325fe064cc2 |
|
07-Jan-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add our implementation for wcscoll() and wcsxfrm(). * add Wcscoll() and Wcsxfrm() ICU locale backend * provide implementations of wcscoll() and wcsxfrm() that are using the respective methods of the locale backend
|
#
995d6d827f60efc46a0fcb29d3b9ea8226188339 |
|
11-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement our own version of wcsrtombs(). * add WcharStringToMultibyte() to libroot's locale backend * implement wcstombs(), wcsrtombs() and wcsnrtombs() on top of that new backend function
|
#
73186b2fcd3d7af7b513f0f9c4a481315d0579bc |
|
07-Dec-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add implementation of mbsrtowcs() to our locale backend. * add MultibyteStringToWchar() to ICU locale backend * implement mbsrtowcs() and mbsnrtowcs() on top of MultibyteStringToWchar() * drop respective glibc files
|
#
c894d1868ef1d23e5536bfdbd8608402cef14607 |
|
23-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Bring rewritten multibyte-support into repository. * update copyrights of locale backend files Multibyte-support has been rewritten to use ICU as backend. While this does not necessarily work properly in every aspect (e.g. the shell still has [different] problems with multibyte- characters now), it does fix #6263 and #7700.
|
#
28ae43d0339118e569c3a0ba1443b3befbb40a38 |
|
22-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Add multibyte-support to ctype-locale backend. * add actual converter methods MultibyteToWchar() and WcharToMultibyte() to locale backend and implement them in the ctype subpart * add management code for maintaining converters referenced by mbstate_t
|
#
bf5ff48092a49e5055f86154063d72b695cbe1db |
|
22-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Use TLS and converter manager in locale backend.
|
#
25dc253d6ab28ce204fa4de2d3e7a27d167fc817 |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
de2e54ace0213b150fb13d9b740e92f4c1433a06 |
|
12-Nov-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Adjust tzset() implementation to better follow the POSIX specs and make some more perl tests happy. * no longer expect a ICU timezone ID in the TZ environment variable, but only expect this format if the TZ-value is starting with ':' * accept "standard" TZ-values like "EST5" (of which only "EST" is relevant to us) - if such a value is specified, we hardcode the timezone name to the given value, no matter how ICU calls it * adjust tests accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39415 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560b10ff88d306ac6e6f8f76eafc61df94f941d6 |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implement tzset(), gmtime(), localtime() and mktime() on top of ICU * no longer keep a separate time-backend, since the implementation needs to access (data of) the locale backend anyway * moved more stuff from localtime_fading_out.c to localtime.cpp * added respective tests to locale_test * added two more tests copied from glibc, test_time.c and tst-mktime.c git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38162 a95241bf-73f2-0310-859d-f6bbb57e9c96
|