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

1398 Commits

Author SHA1 Message Date
flopetautschnig
1c63ce479c
vweb: adding a vweb.csrf protection module (#15586) 2022-09-06 13:18:39 +03:00
Larpon
0d0c2b278d
vgret: add region support (#15651) 2022-09-04 13:39:10 +03:00
Louis Schmieder
6110373519
orm: init or implementation (#14989) 2022-08-31 14:43:20 +03:00
wahur666
dbf28c5bfb
cmd/tools/where: check if parent already included vlib_dir (#15527) 2022-08-26 07:04:44 +03:00
yuyi
c662431cfd
checker: check unsafe array assign (fix #9651) (#15515) 2022-08-25 08:52:13 +03:00
Delyan Angelov
4718b8b45a
all: unify the displaying of compiler errors, using a common util.show_compiler_message/2 function. 2022-08-24 13:38:47 +03:00
Swastik Baranwal
d08edf8cba
vdoc: highlight generic struct everywhere (#15506) 2022-08-23 15:21:26 +03:00
irishgreencitrus
8db945ec52
vpm: force v install to clone git submodules too (#15487) 2022-08-22 11:23:32 +03:00
Delyan Angelov
3656d445ab
Revert "Revert "tools/fast: do not build V with -usecache""
This reverts commit ad322f4eb0.
2022-08-21 10:40:27 +03:00
Delyan Angelov
ad322f4eb0
Revert "tools/fast: do not build V with -usecache"
This reverts commit f97a4f1904.
2022-08-21 08:56:05 +03:00
Alexander Medvednikov
f97a4f1904 tools/fast: do not build V with -usecache 2022-08-21 04:40:32 +03:00
Swastik Baranwal
a1de8f5f98
vdoc: highlight variadic function parameters (#15474) 2022-08-20 12:02:50 +03:00
Swastik Baranwal
22a79cfa1e
v doc: add highlighting for new types and fix highlighting for edge cases (#15455) 2022-08-18 18:06:55 +03:00
Ken
001144fa82
doc: fix a typo in the -no-preludes option description in v help build-c (#15404) 2022-08-13 10:07:08 +03:00
l-m
8c33a40c5a
vrepl: implement the 'pin' command from crepl (#15371) 2022-08-07 14:06:50 +03:00
Delyan Angelov
77495c8d03
all: support assert condition, extra_message, evaluating and showing extra_message on assert failure (#15322) 2022-08-03 01:14:01 +03:00
Delyan Angelov
fa75713bc3
tools: create the vmodules folder, when it does not exist, on v translate hw.c 2022-07-31 15:43:04 +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
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
Alexander Medvednikov
caa0c2f153 vfmt: voidptr(0) => unsafe { nil } (p.1) 2022-07-21 20:46:01 +03:00
Ned
57a201f28c
tools: add helpful message, when the vls server executable is not found on v ls (#15129) 2022-07-20 14:26:49 +03:00
Ned
c7ec71cd06
tools/vls: skip 'ls' argument on v ls (#15126) 2022-07-19 10:52:39 +03:00
Zhomart Mukhamejanov
c1502b3c1f
examples: add macos_tray example app (#15101) 2022-07-18 09:42:45 +03:00
Delyan Angelov
bd4e9f6225
v: offer a suggestion for misspelled commands like v held 2022-07-16 14:58:26 +03:00
Delyan Angelov
b01df8ed0a
help: chmod 644 cmd/v/help/where.txt 2022-07-16 12:45:08 +03:00
Sebastian Atlántico
4f997feee7
tools: add tests for v where; improve usability (#15059) 2022-07-15 07:59:11 +03:00
Sebastian Atlántico
47b5d206a6
cmd/tools: vwhere fixes (#15051) 2022-07-13 18:04:26 +03:00
Sebastian Atlántico
28fd17654e
tools: add a v where fn join_path command, for platform independent searching the location of a symbol in the local project, vlib, ~/.vmodules (#15014) 2022-07-13 07:40:54 +03:00
Delyan Angelov
5498a6c263 tests: add more -skip-unused cases to v test-all 2022-07-11 11:02:17 +03:00
Ned
a331cf577a
tools/vls: fix installing vls when config is not present (#15017) 2022-07-11 07:56:53 +03:00
Ned
235ef23588
tools: add v ls - a VLS launcher and updater utility (#15009) 2022-07-10 20:27:50 +03:00
Delyan Angelov
5d8d11c989
ci: fix v cmd/tools/vast after ast.StructInit field renaming 2022-07-10 18:28:24 +03:00
Larpon
e18c5c7908
tools: add generic_screenshot method to vget (#14943) 2022-07-05 06:40:38 +03:00
Alexander Medvednikov
5523c11dd4 help: remove "coming soon in 0.3" for v translate 2022-07-05 06:38:33 +03:00
Delyan Angelov
30401e003f
v: support better separation of general Android vs Termux specific code (part 1) 2022-07-01 12:48:35 +03:00
Markus F.X.J. Oberhumer
74bb5ae17a
os: add an optional "mode" parameter to os.mkdir and os.mkdir_all (#14887) 2022-06-30 13:49:47 +03:00
Joe Conigliaro
c3866bb7b1
gen.golang: skip tests only on ubuntu-docker-musl 2022-06-29 21:11:28 +10:00
Joe Conigliaro
86549feafa
gen.golang: globally skip go backend tests & run only on ubuntu-tcc 2022-06-29 20:55:43 +10:00
Alexander Medvednikov
a4eb5b6356 gen: basic initial work on the Go backend 2022-06-28 09:41:15 +03:00
Alexander Medvednikov
ca30397e7a cli: fix compilation 2022-06-26 07:08:05 +03:00
Delyan Angelov
2524207d1c
tools: support c2v.exe in v translate, use os.quoted_path, cleanup errors. 2022-06-23 03:31:10 +03:00
Alexander Medvednikov
989c5e26f5 c2v: use https git clone 2022-06-22 22:49:29 +03:00
Alexander Medvednikov
c9ab086029 cmd/tools: enable c2v 2022-06-22 22:10:46 +03:00
Delyan Angelov
6a4ba22eae
tests: flush test headers to ensure stable output with VJOBS>1 2022-06-22 12:46:32 +03:00
Larpon
9f5e442dab
tools: add bump flags to vcomplete (#14813) 2022-06-21 15:11:42 +03:00
Delyan Angelov
c6f94e9cab
tools: distribute vpm queries randomly between the available backend servers 2022-06-21 12:58:37 +03:00
Delyan Angelov
f08c768c8e
tools: add a new readonly VPM server mirror url, to mitigate failures of the main vpm.vlang.io 2022-06-21 12:27:41 +03:00
Delyan Angelov
1fc9e1a716
tools: build c2v in non verbose mode by default 2022-06-20 16:03:39 +03:00
Delyan Angelov
fa2e8d8459
tools: use os.system for the c2v runs to monitor the progress more easily 2022-06-20 15:50:38 +03:00
Delyan Angelov
0e4198f23b
tools: fix v vet file.v for return if x { y // comment } else { z } 2022-06-20 13:29:22 +03:00