cosmopolitan/libc/str
Justine Tunney b0df6c1fce
Implement proper time zone support
Cosmopolitan now supports 104 time zones. They're embedded inside any
binary that links the localtime() function. Doing so adds about 100kb
to the binary size. This change also gets time zones working properly
on Windows for the first time. It's not needed to have /etc/localtime
exist on Windows, since we can get this information from WIN32. We're
also now updated to the latest version of Paul Eggert's TZ library.
2024-05-04 23:06:37 -07:00
..
a64l.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
bcmp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
blake2.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
blake2.h Reduce header complexity 2023-11-28 14:39:42 -08:00
blocks.txt Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
btowc.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
BUILD.mk Implement proper time zone support 2024-05-04 23:06:37 -07:00
c16rtomb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
c32rtomb.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
chomp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
chomp16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
compareslices.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
compareslicescase.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
crc32c.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
djbsort.c Make improvements 2024-02-12 10:23:00 -08:00
dosdatetimetounix.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
eastasianwidth.txt Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
endswith.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
endswith16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
freelocale.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getcachesize.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getx86processormodel.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcdircomment.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcdircommentsize.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcdiroffset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcdirrecords.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcdirsize.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcfilecompressedsize.c Fix ZipOS extraction of ZIP64 assets 2024-03-30 19:00:40 -07:00
getzipcfilemode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcfileoffset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getzipcfiletimestamps.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getzipcfileuncompressedsize.c Fix ZipOS extraction of ZIP64 assets 2024-03-30 19:00:40 -07:00
getzipeocd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getziplfilecompressedsize.c Fix ZipOS extraction of ZIP64 assets 2024-03-30 19:00:40 -07:00
getziplfileuncompressedsize.c Fix ZipOS extraction of ZIP64 assets 2024-03-30 19:00:40 -07:00
hexpcpy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
highwayhash64.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
highwayhash64.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
intsort.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
isalnum.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isalpha.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isascii.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isblank.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iscntrl.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isdigit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isgraph.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
islower.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iso8601.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
iso8601us.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
isprint.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ispunct.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isspace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
istext.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isupper.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isutf8.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
iswalnum.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswalpha.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswblank.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswcntrl.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswctype.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswdigit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswgraph.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswlower.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
iswprint.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswpunct.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswseparator.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswspace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswupper.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
iswxdigit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isxdigit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iszipeocd32.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iszipeocd64.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
joinpaths.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
khextoint.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kmonthyearday.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
kx86processormodels.c Add more Intel microarchitectures 2024-01-09 01:54:26 -08:00
l64a.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
langinfo.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
langinfo.h Reduce header complexity 2023-11-28 14:39:42 -08:00
locale.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
locale.h Implement proper time zone support 2024-05-04 23:06:37 -07:00
localeconv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
longsort.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lz4check.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lz4cpy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lz4decode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
lz4len.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mb.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
mb.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
mblen.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mbrlen.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mbrtoc16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mbrtoc32.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mbrtowc.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mbsinit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mbsnrtowcs.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mbsrtowcs.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mbstowcs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mbtowc.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memcasecmp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memccpy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memchr16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memfrob.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memmem.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memrchr16.c Make improvements 2024-02-12 10:23:00 -08:00
memset16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
newlocale.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
nltypes.h Add OpenMP support 2024-01-28 22:39:02 -08:00
rawmemchr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
rawmemchr16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
rldecode2.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
setlocale.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
slice.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
smoothsort.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
SpecialCasing.txt Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
startswith.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
startswith16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
startswithi.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
stpncpy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
str.h Make improvements 2024-02-12 10:23:00 -08:00
strcasecmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcasecmp16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcasestr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strcat16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strchr16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strchrnul16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcmp16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcoll.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strcpy16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strcspn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strcspn16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strlcat.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
strlcpy.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
strlen16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strncasecmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strncasecmp16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strncat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strncat16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strncmp16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strncpy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strnlen16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strnlen_s.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strnwidth.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strnwidth16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strpbrk.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strpbrk16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strrchr16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strsep.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strspn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strspn16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strstr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strstr16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strtok.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strtok_r.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strverscmp.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
strwidth.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strwidth.h Reduce header complexity 2023-11-28 14:39:42 -08:00
strwidth16.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strxfrm.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tab.internal.h Replace COSMO define with _COSMO_SOURCE 2023-08-13 20:55:04 -07:00
thompike.h Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
timespectowindowstime.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timevaltowindowstime.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timingsafe_bcmp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
timingsafe_memcmp.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
toascii.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
todd.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
tolower.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
toupper.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
towctrans.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
towlower.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
towupper.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tpdecodecb.internal.h Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
tprecode8to16.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
tprecode16to8.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
unicode-properties.txt Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
unicode.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
unicodedata.txt Fold LIBC_UNICODE into LIBC_STR 2022-08-13 08:42:32 -07:00
update.sh Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
uselocale.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
utf16.h Reduce header complexity 2023-11-28 14:39:42 -08:00
wchomp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcrtomb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcscasecmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcscat.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcschr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcschrnul.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcscmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcscpy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcscspn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsendswith.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcslen.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsncasecmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsncat.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsncmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsncpy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsnlen.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsnlen_s.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsnrtombs.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsnwidth.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcspbrk.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsrchr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsrtombs.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsspn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsstartswith.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcsstr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcstok.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcstombs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcswidth.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcsxfrm.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wctob.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wctomb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wctrans.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wctype.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wcwidth.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wcwidth_osx.c Get TEST_LIBC_STR passing on AARCH64 2023-05-12 18:09:23 -07:00
wcwidth_osx.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
windowsdurationtotimespec.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
windowsdurationtotimeval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
windowstimetotimespec.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
windowstimetotimeval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wmemchr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wmemcmp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wmemcpy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wmemmove.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wmempcpy.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wmemrchr.c Make improvements 2024-02-12 10:23:00 -08:00
wmemset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00