744df77d4730cff99ac36f9761153620105dd9d7 |
|
14-Mar-2013 |
Elliott Hughes <enh@google.com> |
am 2e7b8d63: am f861bc5c: Merge "Don\'t search off the end of the index for bad Olson ids." * commit '2e7b8d6399fdea6e43dd07f353346324d2bf4ec4': Don't search off the end of the index for bad Olson ids.
|
e0175ca7e440a87e9d03f249fc8f210063df7908 |
|
14-Mar-2013 |
Elliott Hughes <enh@google.com> |
Don't search off the end of the index for bad Olson ids. In the old code, the index was a file to itself, so it made sense to read until you hit the end of the file. In the new code, the index is followed by hundreds of KiB of data, so we need to just search the index. Bug: 8368791 Change-Id: Icf5f8b5516cf3a93679fa849c9f6cd1cb100e0f1
|
4a05bef4c06dac05f1c9aa8cfc5b7e7dd6642385 |
|
12-Mar-2013 |
Elliott Hughes <enh@google.com> |
Cache the most-recently used timezone for mktime_tz and localtime_tz. Normally, the C library implicitly caches your timezone by virtue of the fact that the prehistoric API assumes a single timezone for the entire process. The unfortunate mktime_tz and localtime_tz extensions work around this, but represent timezones as strings to their callers, so code that makes heavy use of these needs a cache to be able to perform acceptably until it can hopefully one day be rewritten to use java.util.Calendar or icu4c. Bug: 8270865 Change-Id: I92e3964e86dc33ceac925f819cc5e26ff4203f50
|
b989c9ceda71f6f75112645b5c45af341275cbab |
|
16-Jan-2013 |
Elliott Hughes <enh@google.com> |
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."" This reverts commit f4b34b6c3942be273ad7298a40be0d312b183aab.
|
acb907fb0d253391c1515f488f2a51dcda502e7c |
|
15-Jan-2013 |
Elliott Hughes <enh@google.com> |
Revert "DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic."" This reverts commit f4b34b6c3942be273ad7298a40be0d312b183aab. The revert was only meant to apply to the jb-mr1 branch, but accidentally leaked out into AOSP. This revert-revert gets AOSP master and internal master back in sync.
|
49271d89dabae182f5614c0d5fb232dac3c16067 |
|
25-Oct-2012 |
Elliott Hughes <enh@google.com> |
Fix recovery: don't assert if there's no tzdata. Change-Id: I4d808b57c63ec1ccc024da7fd6a65691e0d455c5
|
2393535f0d7df55dae3b4fbf5dbcfa7f87192762 |
|
22-Oct-2012 |
Elliott Hughes <enh@google.com> |
Support zone.tab in bionic, and remove the file format version. Bug: 7012465 Change-Id: I6335c91ebadc609fae85bad94db972be7574b6e4
|
1c295720343009a7393706f2285a4d026e97eebf |
|
20-Oct-2012 |
Elliott Hughes <enh@google.com> |
Make bionic look in /data/misc for tzdata updates. Bug: 7012465 Change-Id: I4d1018f686f2409600fdb6630732cae33efe8f02
|
8b95404d001b285220ae7cbef661b0446a02858b |
|
18-Oct-2012 |
Elliott Hughes <enh@google.com> |
Fixes x86 build. Change-Id: I0e576784b2224668d58ebea03986d534ee0e43b4
|
d23af232688bf6980e4503cda6b12ed739292931 |
|
18-Oct-2012 |
Elliott Hughes <enh@google.com> |
Pull bionic's time zone data from the new single 'tzdata' file. Bug: 7012465 Change-Id: Iec71e448bf7a40af30ca89150b3c336e67a44a43
|
f4b34b6c3942be273ad7298a40be0d312b183aab |
|
24-Sep-2012 |
Elliott Hughes <enh@google.com> |
DO NOT MERGE Revert "Add the libcutils localtime_tz and mktime_t extensions to bionic." This reverts commit 3a936a4980046a7eeb8d53a3296058d8f3a1f770. We don't want this in jb-mr1.
|
3a936a4980046a7eeb8d53a3296058d8f3a1f770 |
|
11-Sep-2012 |
Elliott Hughes <enh@google.com> |
Add the libcutils localtime_tz and mktime_t extensions to bionic. Bug: 7012465 Change-Id: Ib66f061e29199ba134545111dc79f9b50c8f4a21
|
6481b91520150e9664a3c4abc5d2aebdce422f93 |
|
06-Dec-2010 |
David 'Digit' Turner <digit@google.com> |
<time.h>: Add timegm(), timelocal() and others. Add timegm(), timelocal(), time2posix() and posix2time() to the C library. Change-Id: I34d5771ed83dd994870a5ca58a511d01898b1ffb
|
50ace4fec5e8cb5afcbc656a4556fa528adfd760 |
|
17-Jun-2010 |
David 'Digit' Turner <digit@google.com> |
Remove compiler warnings when building Bionic. Also add missing declarations to misc. functions. Fix clearerr() implementation (previous was broken). Handle feature test macros like _POSIX_C_SOURCE properly. Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
|
194d3fa048cf909ca592dd56fa538dc9cd3f5ddb |
|
13-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
eclair snapshot
|
2093d350be21ff086f9e145404877941b9a42c5c |
|
10-Sep-2009 |
David 'Digit' Turner <digit@google.com> |
Fix an infinite loop in time2sub. The problem is that time_t is signed, and the original code relied on the fact that (X + c < X) in case of overflow for c >= 0. Unfortunately, this condition is only guaranteed by the standard for unsigned arithmetic, and the gcc 4.4.0 optimizer did completely remove the corresponding test from the code. This resulted in a missing boundary check, and an infinite loop. The problem is solved by testing explicitely for TIME_T_MIN and TIME_T_MAX in the loop that uses this. Also fix increment_overflow and long_increment_overflow which were buggy for exactly the same reasons. Note: a similar fix is needed for system/core/libcutils
|
edbe7fc97bab7ff0684053d1be564330689bf3ad |
|
19-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import //branches/master/...@140412
|
1dc9e472e19acfe6dc7f41e429236e7eef7ceda1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
1767f908af327fa388b1c66883760ad851267013 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
|
a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
|