Commit Graph

766 Commits (c71d36356b2a5d245cb37bb1b2e2b350fc115d96)

Author SHA1 Message Date
Alexander Medvednikov ec4be80bcc Revert "db: increase db module level in vlib "
This reverts commit cd6d175180.
2020-03-26 09:23:54 +01:00
yuyi cd6d175180
db: increase db module level in vlib 2020-03-26 09:21:34 +01:00
hazohelet d8bcd13e86
compiler: fix #3973 by dealing with name mangling problem 2020-03-26 08:54:33 +01:00
Alexander Medvednikov 60fbceea43 memory: free_scope_vars() 2020-03-25 12:26:59 +03:00
Alexander Medvednikov f101e9b9e2 v2: string fixes, is_dir fix 2020-03-24 11:14:11 +01:00
Alexander Medvednikov 9c536f2233 compiler: hide the u64 warning for now 2020-03-23 21:00:20 +01:00
SleepyRoy 67ba56c65c
expression: set integer literals as int by default 2020-03-23 20:05:37 +01:00
yuyi 2efc37947d
time: calc_unix => unix_time 2020-03-22 19:43:59 +01:00
Alexander Medvednikov e5f6a0949f cgen: autofree: first step 2020-03-21 19:52:19 +01:00
radare cc75fe4fe5
builtin: Fix undefined behaviour when allocating empty structs (#4088) 2020-03-21 12:24:34 +01:00
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