Commit Graph

13016 Commits (2cc8cb64aa9d5a64b2f012e650d1cdadb78f4ee5)

Author SHA1 Message Date
StunxFS 2cc8cb64aa
parser,checker: support `$compile_error('message')` and `$compile_warn('message')` (#14320) 2022-05-13 10:10:37 +02:00
Dialga bd7e53a777
szip: fix extracting dot folders (#13387) 2022-05-13 10:10:37 +02:00
yuyi 10474ced5f
checker: fix error for match sumtype that referenced before (#14338) 2022-05-13 10:10:37 +02:00
Merlin Diavova 3d4dde4af1
pg: resolve PG string datetime values to V time.Time ones (#14336)
Co-authored-by: Merlin Diavova <md@merlindiaova.org>
2022-05-13 10:10:36 +02:00
David 'Epper' Marshall 3fd63264d7
regex: add split (#14329) 2022-05-13 10:10:36 +02:00
Delyan Angelov 0bd8d872d1
time: let time.parse_rfc3339('2015-01-06T15:47:32.080254511Z') succeed (dockerd timestamps, Go's RFC3339Nano).
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
2022-05-08 14:04:00 +02:00
WoodyAtHome e294e18bad
net.smtp: correct date in smtp body (#14326) 2022-05-08 14:04:00 +02:00
Alexander Medvednikov a7ec734967
tools: hide tcc warning on macos for now 2022-05-08 14:03:59 +02:00
Merlin Diavova 9fbab969ab
pg: add type 18 for pg boolean data type (#14335) 2022-05-08 14:03:59 +02:00
StunxFS f27d95560e
checker: check error for `json.decode` (fix #6732) (#14305) 2022-05-08 14:03:59 +02:00
David 'Epper' Marshall 26e3825b90
strings: builder: add clear (#14328) 2022-05-08 14:03:59 +02:00
yuyi 7b6db1b15f
ast, checker, cgen: fix error for generic method with generic fn type argument (fix #14239) (#14333) 2022-05-08 14:03:59 +02:00
yuyi bd21ec396c
cgen: fix error for if cond with optional expr (#14334) 2022-05-08 14:03:59 +02:00
David 'Epper' Marshall 2367b29262
docs: cleanup (#14327) 2022-05-08 14:03:58 +02:00
Delyan Angelov f8d518f5f6
strings: reduce time spent in Builder.writeln (very frequently called) 2022-05-08 14:03:58 +02:00
Delyan Angelov f66836458f
v.util: support -d trace_cached_read_source_file 2022-05-08 14:03:58 +02:00
Delyan Angelov ed9cb69d07
builtin: inline manually isnil calls in array.push_many (very frequently called) 2022-05-08 14:03:58 +02:00
Delyan Angelov 5ff83f5990
docs: fix `teh` typo 2022-05-08 14:03:58 +02:00
Delyan Angelov f1398b7762
ci: restore the `v -autofree .` step for gitly (gitly now has a workaround) 2022-05-08 14:03:58 +02:00
Delyan Angelov e344d68b62
ci: comment out the go2v testing step for now 2022-05-08 14:03:57 +02:00
Alexander Medvednikov e044ba2400
Revert "checker: remove more unnecessary `void` errors"
This reverts commit 89c1e7f980.
2022-05-08 14:03:57 +02:00
Alexander Medvednikov 6613391ed0
doc: closures work on arm64 too 2022-05-08 14:03:57 +02:00
playX 1e83e10119
checker: c2v fixes (#14332) 2022-05-08 14:03:57 +02:00
Alexander Medvednikov cb52c68a62
doc: closures now work on Windows 2022-05-08 14:03:57 +02:00
Alexander Medvednikov 7226868d94
checker: remove more unnecessary `void` errors 2022-05-08 14:03:57 +02:00
yuyi e208e1617e
scanner: minor simplification in scanner.v (#14331) 2022-05-08 14:03:56 +02:00
Alexander Medvednikov 9d5a0d9f64
cgen: fix c2v consts; enum_decl() 2022-05-08 14:03:56 +02:00
yuyi e3ec27b73f
checker: fix error for generic method on nested struct (#14322) 2022-05-08 14:03:56 +02:00
Hunam 2572c30d13
builtin: add `map.values()` (#14301) 2022-05-08 14:03:56 +02:00
Lathanao 57b490706b
net.http: make parse_form return POST requests with json data as a map with a `json` key, containing the json payload (#14289) 2022-05-08 14:03:56 +02:00
StunxFS 5344215e96
docs: update keyword list (#14319) 2022-05-08 14:03:56 +02:00
Ekopalypse f3f83e79ca
v.builder: harmonise the default settings of the different Windows compilers (#14314) 2022-05-08 14:03:55 +02:00
Daniel Däschle cf97a8dbbf
builtin,cgen: rename `Option` to `_option` (#14317) 2022-05-08 14:03:55 +02:00
yuyi 11b7dc3a8c
checker: minor cleanup in fn_call() (#14307) 2022-05-08 14:03:55 +02:00
yuyi 055af924d9
checker: check for optional argument in dump() (#14316) 2022-05-08 14:03:55 +02:00
Claudio Cesar de Sá 3f588a1c4e
examples: 2 new examples for graph algorithms (topological sorting) (#14303) 2022-05-08 14:03:55 +02:00
Andréas Livet 4f6b7a384f
docs: add missing function names in the `builtin` example doc comments (#14318) 2022-05-08 14:03:55 +02:00
Daniel Däschle 84086bb7a3
checker: fix returning error on reference results (#14313) 2022-05-08 14:03:54 +02:00
Jef Roosens 3afb88c4e8
chore: switched to vieter/vc repo
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
2022-05-05 10:59:59 +02:00
yuyi 798873fe44
parser, checker: fix generic method on nested struct (fix #14089) (#14310) 2022-05-05 10:59:50 +02:00
playX a17d744e8b
checker: c2v: allow passing fixed array as pointer to functions; bool <-> int (#14309) 2022-05-05 10:59:49 +02:00
StunxFS 3f87f8f4b4
.gitignore: minor cleanup (#14279) 2022-05-05 10:59:49 +02:00
Delyan Angelov 01e97d75a5
ci: comment out the `v -autofree .` step for gitly temporarily 2022-05-05 10:59:49 +02:00
Delyan Angelov a3279a1c2b
vfmt: fix stackoverflow on long nested infix expressions 2022-05-05 10:59:49 +02:00
Delyan Angelov c405c19168
tools: fix building `vdoctor.v` with `v build-tools`
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
2022-05-04 22:34:53 +02:00
Delyan Angelov f6e73f9f9a
ci: wrap the too long line in README.md that failed `./v check-md -hide-warnings .` 2022-05-04 22:34:52 +02:00
Ned 26a1d332a4
builtin: add libbacktrace as option for generating stack traces (#14277) 2022-05-04 22:34:52 +02:00
yuyi ca2ab70c8b
checker: add comptime_selector() (#14286) 2022-05-04 22:34:52 +02:00
yuyi 6cf707261d
parser: make peek_token_after_var_list() private (#14288) 2022-05-04 22:34:52 +02:00
Ikko Ashimine 499892bab8
builtin: fix typo in array_bare.v (#14299) 2022-05-04 22:34:52 +02:00