1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

43 Commits

Author SHA1 Message Date
Casper Kuethe
a43064af07
picoev, picohttparser: reimplement in V (#18506) 2023-07-12 09:40:16 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Haren S
bc06866b20
make: add clock_gettime on macOS < 10.12 (fix #6605) (#15611) 2022-08-31 11:03:25 +03:00
Vincenzo Palazzo
02c80bd445
time: fix repetitive time.now().local().local().local() offsetting the time further and further (#13861) 2022-04-01 00:11:17 +03:00
Alexander Medvednikov
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
JalonSolov
b3c641f7d5
time: use &C.time_t instead of &time_t in C fn declaration (#11232) 2021-08-18 17:05:43 +03:00
Delyan Angelov
efa8dcf4d2
time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050) 2021-08-04 13:12:02 +03:00
shadow
66bc8bc0cb
vlib: remove many deprecated functions (#10972) 2021-07-28 09:22:19 +03:00
Delyan Angelov
55eeb701a9
time: fix time.parse_iso8601(2037-07-23)?.add_days(181).str() == "1901-12-13 17:31:44" 2021-07-06 18:54:33 +03:00
Uwe Krüger
72358833e0
time: use Duration(C.INT64_MAX) as infinite (#10539) 2021-06-22 12:17:44 +03:00
Enzo
df2b688337
checker: cleanup type alias pascal case check (#10217) 2021-05-27 22:40:32 +03:00
Delyan Angelov
7c664de8aa time: fix macos job (building V with -cflags --Werror) 2021-04-05 22:32:33 +03:00
Delyan Angelov
cc8948efcf time: fix compilation on macos 2021-04-05 15:31:29 +03:00
Delyan Angelov
82de973ee6
time: run vfmt 2021-04-05 10:25:02 +03:00
Delyan Angelov
c58b4cb1da
ci: fix v -cc clang-11 -cflags -Werror cmd/v 2021-04-05 10:23:58 +03:00
Delyan Angelov
4cde74f120
checker: make the compiler stricter when checking pointers 2021-04-05 10:02:47 +03:00
Delyan Angelov
517c1841c1
time: fix .sleep() with -gc boehm 2021-03-20 16:24:46 +02:00
joe-conigliaro
2d73411396
checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
Alexander Medvednikov
3a2d696fac time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
zakuro
ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
Lukas Neubert
d660f2cc6f
fmt: insert newline after last HashStmt (#8482) 2021-02-01 14:50:41 +01:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
crthpl
70ad49e186
time: complete doc (#8070) 2021-01-13 16:30:54 +02:00
Alexander Medvednikov
13f16b4a82 time: rename to_local_time() to local(); time.offset() 2020-12-26 02:10:47 +01:00
zakuro
c69947160b
time: change type of duration constants from i64 to Duration (#7435) 2020-12-21 09:27:06 +01:00
zakuro
6a74058190
time: make parse_iso8601 support a date only format (#7277) 2020-12-16 13:10:02 +02:00
Uwe Krüger
591e523cf3
time: fix date parsing tests in winter for regions using DST (#7304) 2020-12-14 05:01:58 +01:00
Takahiro Yaota
0c50f0c9dc
time: v fmt (#7160) 2020-12-06 15:19:39 +01:00
spaceface777
b44620d065
time: use linux high-precision timers on Android as well (#6476) 2020-09-25 18:02:02 +03:00
Daniel Däschle
abc98c273c
parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
Uwe Krüger
8df6e59678
sync: add semaphores (#5831) 2020-07-15 10:22:33 +02:00
ka-weihe
df45488e09
cgen: fix warnings (#5820) 2020-07-14 00:16:31 +02:00
Tomas Hellström
2dc547a45c
time: fix iso8601 parser and utc time 2020-06-10 11:14:55 +02:00
Tomas Hellström
9c8769503f
time: add microsecond precision to Time struct 2020-06-07 16:19:09 +03:00
Alexander Medvednikov
03525843a0 parser: do not allow calling private functions 2020-05-18 22:54:11 +02:00
Uwe Krüger
2635be511f
all: re-apply C++ support 2020-05-18 21:38:06 +02:00
Alexander Medvednikov
07a78b2843 Revert "all: C++ compiler support"
This reverts commit 9a237c3e82.
2020-05-18 17:05:48 +02:00
Uwe Krüger
9a237c3e82
all: C++ compiler support 2020-05-18 15:51:36 +02:00
Delyan Angelov
ddb5a8e6e4 time: add specialized vpc_now_darwin to fix -os cross 2020-05-05 17:31:21 +03:00
Delyan Angelov
e523540f3a profile: use specialized time__vpc_now 2020-04-26 22:14:54 +03:00
Major Taylor
25f2b171fc
time: Timer -> StopWatch; time.Duration 2020-04-24 07:33:25 +02:00
lutherwenxu
dc4db87be3
vlib: use new filename format 2020-04-11 19:51:32 +02:00