| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Limit to max of 9 fraction second digits, part deux. | Jeroen van Rijn | 2024-05-24 | 1 | -2/+2 |
| | | |||||
| * | Limit to max of 9 fraction second digits. | Jeroen van Rijn | 2024-05-24 | 1 | -1/+1 |
| | | |||||
| * | Add dedicated ISO 8601 parser. | Jeroen van Rijn | 2024-05-24 | 1 | -0/+113 |
| | | |||||
| * | Allow lowercase z TZ indicator. | Jeroen van Rijn | 2024-05-24 | 1 | -1/+1 |
| | | |||||
| * | Allow space (in addition to T and t) as RFC 3339 date/time separator. | Vitalii Kravchenko | 2024-05-24 | 1 | -6/+6 |
| | | |||||
| * | add a default heap/general purpose allocator for wasm to `base:runtime` | Laytan Laats | 2024-05-16 | 1 | -2/+0 |
| | | |||||
| * | Merged with master | Andreas T Jonsson | 2024-05-02 | 1 | -16/+5 |
| |\ | |||||
| | * | sys/unix: add sysctlbyname for darwin | Laytan Laats | 2024-04-30 | 1 | -16/+5 |
| | | | |||||
| * | | Initial commit of NetBSD port | Andreas T Jonsson | 2024-04-16 | 1 | -1/+1 |
| |/ | |||||
| * | Remove using from validate_datetime | Chris | 2024-04-09 | 1 | -4/+4 |
| | | |||||
| * | fix js_wasm `time.tick_now`, `performance.now()` returns a float | Laytan Laats | 2024-04-08 | 1 | -2/+2 |
| | | |||||
| * | Update time.odin | blob1807 | 2024-03-26 | 1 | -1/+1 |
| | | |||||
| * | Update time.odin | blob1807 | 2024-03-26 | 1 | -1/+1 |
| | | |||||
| * | Updated windows time period call | blob1807 | 2024-03-26 | 1 | -1/+2 |
| | | | | | | Updated win32.time_begin_period to windows.timeBeginPeriod Added a note about calling windows.timeEndPeriod once you don't need accurate_sleep, as per MS's docs https://learn.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timebeginperiod#remarks | ||||
| * | More better validation. | Jeroen van Rijn | 2024-03-20 | 2 | -17/+19 |
| | | |||||
| * | Ensmallen Date struct. | Jeroen van Rijn | 2024-03-20 | 2 | -9/+9 |
| | | |||||
| * | Ensmallen Time struct. | Jeroen van Rijn | 2024-03-20 | 2 | -14/+13 |
| | | |||||
| * | Change Ordinal from int to i64 | Jeroen van Rijn | 2024-03-20 | 6 | -84/+92 |
| | | |||||
| * | Add WiP datetime package and tests. | Jeroen van Rijn | 2024-03-18 | 6 | -51/+655 |
| | | | | | | | | | | | | | A new package `core:time/datetime` has been added which can represent moments much further in the past and future than `core:time`. It is based on *the* reference work on the subject, Calendrical Calculations Ultimate Edition, Reingold & Dershowitz. More procedures will be added to it in the future, to for example calculate the 3rd Thursday in March to figure out holidays. The package has been tested for more than a year and can handle dates 25 quadrillion years into the past and future with 64-bit day ordinals, or 5 million with 32-bit ones. This also fixes a longstanding bug where converting between YYYY-MM:DD hh:mm:ss and `time.Time` and back could result in a mismatch. RFC 3339 timestamps can now also be parsed using the `core:time` package. | ||||
| * | Merge branch 'odin-lang:master' into haiku | avanspector | 2024-03-01 | 1 | -0/+8 |
| |\ | |||||
| | * | Fix leap year bug | gingerBill | 2024-02-29 | 1 | -0/+8 |
| | | | |||||
| * | | fix core and libc | avanspector | 2024-02-25 | 1 | -1/+1 |
| |/ | |||||
| * | Remove `core:os` dependency for `base:runtime` | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 2 | -3/+3 |
| | | |||||
| * | Implement new sys/unix package | flysand7 | 2023-10-27 | 1 | -16/+14 |
| | | |||||
| * | Fix calling time.now() in wasm js runtime | Damian Tarnawski | 2023-10-19 | 1 | -2/+2 |
| | | |||||
| * | Clean up usage of `using` throughout core and vendor | gingerBill | 2023-07-31 | 1 | -17/+19 |
| | | |||||
| * | Merge pull request #2520 from matias-eduardo/master | Jeroen van Rijn | 2023-05-09 | 1 | -2/+2 |
| |\ | | | | | Allow for custom sleep duration in tsc frequency fallback | ||||
| | * | Allow custom sleep on tsc fallback. | Matias Fernandez | 2023-05-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | This gives the user more control over the spectrum of precision vs. load time on Windows. Spall's output with much lower sleep times is still useful in my experience. NOTE: A better API might be to allow the user to pass the freq as a param to "create_context" in case they already paid for it beforehand, but this seems fine for now. | ||||
| * | | fix spacing | Laytan Laats | 2023-05-06 | 1 | -2/+2 |
| | | | |||||
| * | | add time.weekday proc | Laytan Laats | 2023-05-05 | 1 | -0/+6 |
| |/ | |||||
| * | add null-impl for tsc_frequency for alt-platforms | Colin Davidson | 2023-03-04 | 3 | -14/+6 |
| | | |||||
| * | shuffle tsc around a little | Colin Davidson | 2023-02-22 | 1 | -15/+13 |
| | | |||||
| * | add sleep-fallback and invariant check | Colin Davidson | 2023-02-21 | 4 | -20/+60 |
| | | |||||
| * | more function name changes | Colin Davidson | 2023-02-21 | 4 | -53/+47 |
| | | |||||
| * | block all x86 tsc functions in when block | Colin Davidson | 2023-02-21 | 3 | -44/+50 |
| | | |||||
| * | adjust func names | Colin Davidson | 2023-02-21 | 2 | -2/+2 |
| | | |||||
| * | use the libc call on darwin so sysctlbyname works | Colin Davidson | 2023-02-21 | 4 | -37/+21 |
| | | |||||
| * | sort out units to make things happier | Colin Davidson | 2023-02-19 | 1 | -1/+1 |
| | | |||||
| * | more typo. yay. | Colin Davidson | 2023-02-19 | 1 | -1/+1 |
| | | |||||
| * | intrinsics typo | Colin Davidson | 2023-02-19 | 1 | -1/+1 |
| | | |||||
| * | derp. raw-syscalls | Colin Davidson | 2023-02-19 | 1 | -1/+1 |
| | | |||||
| * | oops, add intrinsics import | Colin Davidson | 2023-02-19 | 1 | -0/+1 |
| | | |||||
| * | add a tsc frequency get for windows | Colin Davidson | 2023-02-19 | 1 | -0/+28 |
| | | |||||
| * | add osx support | Colin Davidson | 2023-02-19 | 1 | -0/+23 |
| | | |||||
| * | begin adding tsc frequency getters | Colin Davidson | 2023-02-19 | 2 | -1/+65 |
| | | |||||
| * | create _yeild stub for wasi_wasm32 target to avoid compile error | JopStro | 2022-10-31 | 1 | -0/+2 |
| | | |||||
| * | Heavily improve time handling on Windows for `time.now()` and `os.File_Info` | gingerBill | 2022-10-26 | 2 | -35/+44 |
| | | |||||
| * | Remove `strings` dependency from `core:sys/windows` | gingerBill | 2022-06-02 | 1 | -4/+4 |
| | | |||||
| * | Update `time` procedures for js targets | gingerBill | 2022-05-21 | 1 | -8/+17 |
| | | |||||