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

756 Commits

Author SHA1 Message Date
Delyan Angelov
ba088056ed
solaris: make 'v test-compiler' pass (stage 2) 2020-03-21 09:48:02 +01:00
radare
c21e976cad
builtin: do not use unsafe sprintf/vsprintf functions 2020-03-21 06:37:58 +01:00
Alexander Medvednikov
4b36098e07 cgen: 1 error left 2020-03-20 20:35:00 +01:00
Delyan Angelov
f89f83deb6
solaris: _solaris.v and #flag solaris (stage 1) 2020-03-20 20:20:01 +01:00
Alexander Medvednikov
5a7f683f61 cgen: minor fixes 2020-03-20 17:20:53 +01:00
Alexander Medvednikov
6b571155f4 cgen: fix print(struct); use automatic referencing 2020-03-20 17:11:58 +01:00
yuyi
2f27758a4b
os: realpath => real_path 2020-03-20 16:41:18 +01:00
yuyi
010f3efcf0
os: filename => file_name 2020-03-19 15:49:07 +01:00
Delyan Angelov
0fbb056ac7
hotreload: fix compilation of .so file on macos 2020-03-19 14:50:37 +01:00
Alexander Medvednikov
dd96421a9f compiler: remove old vh generator 2020-03-19 13:24:57 +01:00
SleepyRoy
f798a0937a
expression: set floats as f64 by default 2020-03-19 07:24:49 +01:00
Delyan Angelov
cc847f83a8
compiler: when compiling a single .v file, check that it is not a folder 2020-03-19 07:07:02 +01:00
fantassin
d81d804cb6
cgen: add c headers for Solaris / Illumos 2020-03-18 15:48:42 +01:00
radare
f5e44fbef2
compiler: better NetBSD and OpenBSD support in vfmt and $if 2020-03-17 12:43:59 +01:00
Alexander Medvednikov
8e2537a366 cgen: array init fix; 2020-03-15 07:42:49 +01:00
Alexander Medvednikov
843bb6dac1 cgen: lots of fixes 2020-03-15 00:46:08 +01:00
yuyi
8bfa7f0d82
compiler: fix interface bug 2020-03-14 14:19:56 +01:00
yuyi
424bd1c465
scanner: minor optimization 2020-03-13 22:22:59 +01:00
Marko Zitkovic
26b9987880
compiler: fix panic when dealing with variadic functions 2020-03-12 18:21:02 +01:00
vitalyster
0df6eaa927
"#flag mingw ..." support 2020-03-12 18:20:19 +01:00
Joe Conigliaro
07921194f2 parser: revert changes to format_str 2020-03-13 00:32:26 +11:00
Joe Conigliaro
597811093c parser/cgen: fix order of escape replacements 2020-03-13 00:21:43 +11:00
Joe Conigliaro
b750f1d1bb compiler: prerequisite changes for upcoming map update 2020-03-12 22:19:13 +11:00
Joe Conigliaro
99398ba652 cgen: escape quotes & nl in string literals 2020-03-12 21:13:46 +11:00
Alexander Medvednikov
4470252913 parser: fix import's position 2020-03-11 18:52:55 +01:00
Delyan Angelov
dff17ee0d7
compiler: pass -shared to build a .so file from a module 2020-03-11 17:31:20 +01:00
Joe Conigliaro
1cea85df0c compiler: save mutability of unnamed fn args 2020-03-12 01:44:41 +11:00
Alexander Medvednikov
0ad9eb5e16 scanner: remove the "too long name" error; checker: check string() cast arg 2020-03-11 06:46:14 +01:00
yuyi
8ff86dbee6
os: is_abs => is_abs_path 2020-03-10 16:09:37 +01:00
yuyi
57b1b12ab6
os: tmpdir => temp_dir 2020-03-10 15:02:09 +01:00
yuyi
876b73f92c
os: join => join_path 2020-03-09 02:23:34 +01:00
Delyan Angelov
f6480be3aa
add C.environ to cheaders.v 2020-03-08 17:38:53 +01:00
yuyi
a569959fb8
os api: cachedir => cache_dir 2020-03-08 15:57:47 +01:00
yuyi
23b11c84b1
os api: basedir => base_dir 2020-03-08 15:43:56 +01:00
hazohelet
ee6f2f84bb
compiler: fix redefinition error message for consts 2020-03-08 15:40:07 +01:00
yuyi
783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
Delyan Angelov
5e541e1f11
vfmt: alias type and sum type + sum type fix 2020-03-07 17:37:55 +01:00
Delyan Angelov
d2ab9d3e77
compiler: fix generation of default .str() methods in interpolation 2020-03-07 14:13:53 +01:00
lutherwenxu
aab31f4b35
cmd/v: rewrite flags 2020-03-06 18:53:29 +01:00
Alexander Medvednikov
a8e45251c4
sync.pool: simplify usages of pool.work_on_items 2020-03-05 18:37:57 +01:00
Alexander Medvednikov
b32a94627c cc: -ferror-limit 2020-03-05 00:45:43 +01:00
Alexander Medvednikov
4161cfcdb8 cgen: lots of fixes 2020-03-05 00:43:09 +01:00
Alexander Medvednikov
b0ece3a9d8
sync: implement pool.work_on_items to process a list of items in parallel 2020-03-04 20:28:42 +01:00
Alexander Medvednikov
f27f832ede cgen: definitions + other fixes; calloc fix 2020-03-04 17:08:28 +01:00
Alexander Medvednikov
37453945d0 cgen: remaining nodes; match type fix; v2.c is now generated 2020-03-04 15:48:43 +01:00
yuyi
448ed41562
os api: rmdir_recursive => rmdir_all 2020-03-03 15:02:50 +01:00
Delyan Angelov
90996269fd
compiler: more precise default error context for C errors 2020-03-03 12:01:23 +01:00
yuyi
ea10f44fe6
os api: flush_stdout => flush 2020-03-03 00:00:30 +01:00
Delyan Angelov
c6107276df
compiler: stabilize the interface code generation a little 2020-03-02 17:10:26 +01:00
Delyan Angelov
1066ec5cd9
compiler: import modules relative to v.mod 2020-03-01 15:49:39 +01:00