Commit Graph

13045 Commits (1e750041ee1f3f682da549cd50c50495e3cd3fcc)

Author SHA1 Message Date
Delyan Angelov 1e750041ee
math.big: reduce memory usage of Integer.str() (free intermediary Integers), optimise some operations using `[direct_array_access]` (#14353) 2022-05-13 10:10:39 +02:00
yuyi 870ed86afc
checker, cgen: fix generic fn with array and fixed array arguments (#14385) 2022-05-13 10:10:39 +02:00
Daniel Däschle 54bbc00493
fmt: remove space in front of ? and ! (#14366) 2022-05-13 10:10:39 +02:00
Delyan Angelov 0866c73f4b
Revert "ci: run `code-formatting` job before everything else (try 2) (#14379)"
This reverts commit 0972e67f72.
2022-05-13 10:10:39 +02:00
Daniel Däschle 9501866b17
ci: run `code-formatting` job before everything else (try 2) (#14379) 2022-05-13 10:10:39 +02:00
Delyan Angelov 76e759b7fd
ci: run `v fmt -w vlib/v/checker/fn.v` (fix CI regression after 4952967) 2022-05-13 10:10:39 +02:00
Delyan Angelov b9ee4204df
parser: make script mode errors more informative, when a top level declaration is encountered, after script mode had already started 2022-05-13 10:10:39 +02:00
Hunam b1b10f48ad
checker: fix typo (#14368) 2022-05-13 10:10:39 +02:00
playX 31453e321a
checker: alias C2V fix (#14377) 2022-05-13 10:10:39 +02:00
yuyi d09c84f46f
checker: check error for generic sumtype types (#14374) 2022-05-13 10:10:39 +02:00
penguindark 4eb5aacd20
regex: fix #14370, last IST not managed in advance tests (#14372) 2022-05-13 10:10:38 +02:00
Delyan Angelov f77085e34f
checker: fix a compiler panic on `fntest()?(&int,&int){return test()?}` 2022-05-13 10:10:38 +02:00
yuyi 49d57dfccd
rand: minor cleanup in choose() (#14376) 2022-05-13 10:10:38 +02:00
yuyi a8dceb74ec
checker: check error for cast function to string (#14375) 2022-05-13 10:10:38 +02:00
CC a91bd5a5bb
builtin: add a map.clear() method (#14373) 2022-05-13 10:10:38 +02:00
spaceface 1bde8611f0
gen: make the closure implementation more performant (#14352) 2022-05-13 10:10:38 +02:00
Emily Hudson 50ab19d136
net: select with deadlines (#14369) 2022-05-13 10:10:38 +02:00
yuyi d2eef45612
checker: check generic sumtype declare error (#14367) 2022-05-13 10:10:38 +02:00
Larpon d8531717d1
os: add `raw_execute` on Windows (#14363) 2022-05-13 10:10:38 +02:00
David 'Epper' Marshall 66e61d771e
time: update doc comments (#14359) 2022-05-13 10:10:38 +02:00
Larpon b42e897a5d
szip: expose zip_folder (#14356) 2022-05-13 10:10:38 +02:00
yuyi 56093b53d6
parser: check error for generic struct parameter (#14362) 2022-05-13 10:10:37 +02:00
Delyan Angelov b9864446ab
Revert "strings: reduce time spent in Builder.writeln (very frequently called)"
This reverts commit b53b1cc7cb.
2022-05-13 10:10:37 +02:00
yuyi f5885f587a
checker: minor cleanup and speedups in fn_call() (#14343) 2022-05-13 10:10:37 +02:00
yuyi 04aae1e17b
cgen: fix error for printing aliases of multi fixed array (#14348) 2022-05-13 10:10:37 +02:00
yuyi fba29f1bb1
checker: check error for returning aliases of fixed array (#14349) 2022-05-13 10:10:37 +02:00
Isaiah 71af8abb43
net.http: fix crash on Windows when using Boehm GC (#14351) 2022-05-13 10:10:37 +02:00
yuyi 1c7cd95664
checker: minor cleanup in method_call() (#14342) 2022-05-13 10:10:37 +02:00
Subhomoy Haldar a26b4581bd
rand: update README.md (#14341)
* update README for rand module

* use concrete values

* make sure code works
2022-05-13 10:10:37 +02:00
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