Delyan Angelov
|
a16f9ac41f
|
mysql: include workaround for windows programs that just exit, when the libmysql.dll is not found, into vlib/mysql/README.md
|
2022-07-27 22:26:36 +03:00 |
|
l-m
|
10f3c9f127
|
builtin: add string.replace_char and string.normalize_tabs (#15239)
|
2022-07-27 22:04:39 +03:00 |
|
yuyi
|
60094d95e2
|
cgen: check comptime call method (no value) used as value (#15241)
|
2022-07-27 21:32:00 +03:00 |
|
Davide Beatrici
|
8af87a9e98
|
make: rename "V" to "VEXE" in GNUmakefile, to prevent conflicts while building RPMs (#15237)
This fixes a build failure when using "%make_build" in an RPM spec file:
make: 1: No such file or directory
make: *** [GNUmakefile💯 all] Error 127
|
2022-07-27 21:04:29 +03:00 |
|
yuyi
|
6a7eb82d9e
|
cgen: fix comptime for method call with arguments (#15236)
|
2022-07-27 03:22:05 +03:00 |
|
stringnick
|
afaab7ab4d
|
stdatomic: add/sub return result of op (#15235)
|
2022-07-27 03:21:03 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
e5e750d533
|
orm: default attribute (#15221)
|
2022-07-27 00:59:32 +03:00 |
|
yuyi
|
c976a691ad
|
scanner: correct error message of empty character literal (fix #15226) (#15228)
|
2022-07-26 15:07:08 +03:00 |
|
Bastian Buck
|
4ab72ccb69
|
os: add a security advisory for potential TOCTOU risks when using os.is_writable , os.is_executable etc (#15222)
|
2022-07-26 12:02:48 +03:00 |
|
yuyi
|
03b7c76b38
|
cgen: optimize auto_str_methods of [str:skip] fields (#15227)
|
2022-07-26 09:38:50 +03:00 |
|
yuyi
|
0b0c496eff
|
cgen: fix printing struct with skip fields (#15224)
|
2022-07-26 04:37:16 +03:00 |
|
Alexander Medvednikov
|
f1ebfb2d42
|
cgen: str:skip field
|
2022-07-25 17:25:47 +03:00 |
|
Alexander Medvednikov
|
5a3a145e99
|
gg: fix native draw_circle on macos
|
2022-07-25 17:25:47 +03:00 |
|
yuyi
|
f619becbdc
|
scanner: check undefined ident in string literal (#15212)
|
2022-07-25 14:28:47 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
82db1e4746
|
pg: improve pg README.md (#15206)
|
2022-07-25 08:32:21 +03:00 |
|
Tim Richardson
|
7bf2ad6889
|
vscode.md: fix typo (#15207)
|
2022-07-25 08:04:06 +03:00 |
|
Andrew Compton
|
f9385f6300
|
os: make get_raw_line() should not break lines on \r on windows (fix #5900) (#15205)
|
2022-07-25 08:03:07 +03:00 |
|
Delyan Angelov
|
6a5db0df61
|
v.token: use a more performant KeywordMatcher in the scanner and parser (#15196)
|
2022-07-25 06:32:06 +03:00 |
|
Subhomoy Haldar
|
297cb5f89c
|
math.big: improve multiplication performance (#15200)
|
2022-07-24 19:35:37 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
2d7406a8cd
|
examples: v back-end example for vweb (#15141)
|
2022-07-24 13:02:57 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
1f3be99859
|
crypto: add an example of how to verify jwt tokens (#15198)
|
2022-07-24 10:27:21 +03:00 |
|
yuyi
|
5464de406c
|
cgen: fix custom str on struct with too many fields (#15195)
|
2022-07-24 10:15:22 +03:00 |
|
Delyan Angelov
|
de0683fe30
|
tests: fix compilation of tcp_test.v
|
2022-07-23 23:33:43 +03:00 |
|
Delyan Angelov
|
c63fed5393
|
tests: remove needless import math in translated_test.v
|
2022-07-23 23:24:17 +03:00 |
|
Alexander Medvednikov
|
d8b0df1a31
|
doc: fix ci
|
2022-07-23 01:55:17 +03:00 |
|
Alexander Medvednikov
|
d6de53362f
|
checker: improve unused label check
|
2022-07-23 01:36:27 +03:00 |
|
Alexander Medvednikov
|
4d3401c852
|
checker: check for unused labels
|
2022-07-23 01:25:20 +03:00 |
|
Alexander Medvednikov
|
af41058979
|
doc: map ordering
|
2022-07-23 00:53:42 +03:00 |
|
Reuben Thomas
|
2ffad85f06
|
doc: remove misleading comment about stdin() (#15154)
|
2022-07-23 00:22:50 +03:00 |
|
yuyi
|
b0c32e0dbf
|
checker: fix fn variadic with enum value (#15177)
|
2022-07-22 16:08:22 +03:00 |
|
yuyi
|
092f5f0bf8
|
checker: fix comptime if in const declaration (fix #15160) (#15169)
|
2022-07-22 16:03:45 +03:00 |
|
zakuro
|
9ec8a99243
|
parser: cleanup orblock duplicate code (#15173)
|
2022-07-22 12:36:50 +03:00 |
|
Delyan Angelov
|
e9809572b1
|
ast: use const empty_expr instead of fn empty_expr (thanks to Joe Conigliaro for the idea) (#15175)
|
2022-07-22 12:14:46 +03:00 |
|
Delyan Angelov
|
c6aea659e3
|
cgen,ci: fix v -usecache self on macos
|
2022-07-22 11:43:20 +03:00 |
|
Delyan Angelov
|
f75d7eb114
|
ci: fix v build-examples (use voidptr(u64(0)) inside vlib/js/dom/dom.js.v)
|
2022-07-21 23:08:18 +03:00 |
|
Delyan Angelov
|
5340f8afea
|
ci: fix vlib/v/checker/tests/nil.vv and its .out file
|
2022-07-21 23:05:02 +03:00 |
|
Delyan Angelov
|
474033c055
|
ci: allow unsafe { a := nil } , add separate nil case in pointer_ops.vv, to test the nil checker errors independently from the voidptr ones
|
2022-07-21 22:52:38 +03:00 |
|
Delyan Angelov
|
697d546d46
|
ci: fix fixed_array_conv.out output (the .vv file was formatted)
|
2022-07-21 22:45:54 +03:00 |
|
Delyan Angelov
|
cf42ba2b80
|
ci: revert nil to voidptr(u64(0)) in voidptr_dereference_err.vv too. nil should have its own .vv/.out pair.
|
2022-07-21 22:43:14 +03:00 |
|
Delyan Angelov
|
cdefb878d6
|
ci: make pass_voidptr_as_interface_reference_test.v use voidptr again
|
2022-07-21 22:41:27 +03:00 |
|
Delyan Angelov
|
2e89eeb477
|
ci: make voidptr_casted_as_an_interface_test.v use voidptr again (it does test exactly that edge case, it should not have been converted to use nil)
|
2022-07-21 22:40:21 +03:00 |
|
Delyan Angelov
|
71cd256f0c
|
ci,cgen: fix -usecache compilation of V itself
|
2022-07-21 22:29:44 +03:00 |
|
Delyan Angelov
|
73b02cdf36
|
ci: fix spurious native_backend_tests.yml cancellations
|
2022-07-21 22:13:21 +03:00 |
|
Delyan Angelov
|
81104ac309
|
ci: fix v test-cleancode failures
|
2022-07-21 22:05:17 +03:00 |
|
Delyan Angelov
|
231623b75b
|
ci: vfmt tcp_test.v
|
2022-07-21 22:04:51 +03:00 |
|
Delyan Angelov
|
dc1b54c669
|
ci: fix failing ./v vlib/builtin/builtin_test.v (globals initialisation)
|
2022-07-21 21:49:00 +03:00 |
|
Delyan Angelov
|
ed43bfc469
|
ci: fix dlmalloc again (workaround vfmt)
|
2022-07-21 21:21:20 +03:00 |
|
Delyan Angelov
|
e29f6d1393
|
markused: fix ./v -skip-unused -cc gcc -keepc -freestanding -o bel vlib/os/bare/bare_example_linux.v
|
2022-07-21 21:18:33 +03:00 |
|
Delyan Angelov
|
d9fe2edc41
|
ci: fix failing build-module-docs (because of unsafe { unsafe { nil } } )
|
2022-07-21 21:11:43 +03:00 |
|
Delyan Angelov
|
6ebe668a74
|
tools: show the exact failing c2v command on v translate failure for easier diagnostic/debugging.
|
2022-07-21 21:04:06 +03:00 |
|