dils2k
|
8dede3b535
|
builder: add a verror, when the output folder is not existing and writable (#5966)
|
2020-08-03 18:19:36 +03:00 |
joe-conigliaro
|
1ea511b530
|
builder/cgen: get -usecache working for self cimpilation
|
2020-07-31 20:10:19 +10:00 |
Delyan Angelov
|
2c45e601ef
|
builder: increase backtrace size with tcc to 25 frames
|
2020-07-30 16:56:58 +03:00 |
Alexander Medvednikov
|
280afb2282
|
builder: rename `a` to `args`
|
2020-07-28 22:33:33 +02:00 |
Leah Lundqvist
|
51c9b49d3f
|
iOS: basic building and running (#5999)
|
2020-07-28 22:27:38 +02:00 |
Delyan Angelov
|
9c028bb299
|
checker: fix passing enum to a method expecting string
|
2020-07-28 13:50:40 +03:00 |
Enzo
|
2de1437a1e
|
ci: vet all files from the compiler (#5994)
|
2020-07-27 12:15:29 +02:00 |
joe-conigliaro
|
1086150ab9
|
builder: add comment to parse_imports `re: dup file parsing`
|
2020-07-27 12:06:48 +10:00 |
Alexander Medvednikov
|
cf4235ab65
|
http: fix cookies
|
2020-07-26 15:54:21 +02:00 |
Delyan Angelov
|
c1e14b451e
|
builder: show timing info in bold; also add a `checker summary:` line with -stats
|
2020-07-25 10:32:29 +03:00 |
Alexander Medvednikov
|
3c1427a4e8
|
all: fix current module in build-module mode
|
2020-07-25 01:37:54 +02:00 |
pancake
|
04ef2a2671
|
os: implement os.system for iOS and uncomment the `$if ios` blocks (#5947)
|
2020-07-24 10:17:32 +03:00 |
Delyan Angelov
|
c2083203b3
|
v.util: fix util.emanager.set_support_color
|
2020-07-24 08:31:05 +03:00 |
Alexander Medvednikov
|
632e27a4a9
|
all: fix a big mutability bug and update all mutable vars
|
2020-07-23 23:16:36 +02:00 |
Alexander Medvednikov
|
653d40bfe8
|
parser: do not duplicate table imports
|
2020-07-23 21:59:48 +02:00 |
pancake
|
36352085ae
|
v: add support for iOS crosscompilation (#5943)
|
2020-07-23 07:58:44 +03:00 |
Emily Hudson
|
1476602f99
|
builder: pass define flags to msvc (#5931)
|
2020-07-22 17:24:12 +03:00 |
Delyan Angelov
|
8b930b4888
|
builder: measure msvc execution too
|
2020-07-21 19:45:50 +03:00 |
Delyan Angelov
|
de0fc53d62
|
CI: fix failing tests because of hash.wyhash duplicates
|
2020-07-18 15:27:57 +03:00 |
Alexander Medvednikov
|
38e5569503
|
all: cached modules fixes
|
2020-07-18 11:15:44 +02:00 |
Nick Treleaven
|
105a0e015e
|
checker: warn if unsafe method called outside unsafe block (#5863)
|
2020-07-17 19:14:12 +02:00 |
Alexander Medvednikov
|
dc89a914ea
|
cc: build-module/module cache fixes; strconv: move all code in one module
|
2020-07-16 19:01:56 +02:00 |
Alexander Medvednikov
|
c563168d69
|
rand: string()
|
2020-07-15 21:36:09 +02:00 |
Delyan Angelov
|
1873a0cb6d
|
builder: pass -g3 for -cg
|
2020-07-15 12:46:24 +03:00 |
Alexander Medvednikov
|
60ce938149
|
builder: make builtin, strconv, os work with `v build-module`
|
2020-07-14 18:27:14 +02:00 |
Delyan Angelov
|
e23925f2be
|
pref: add -show-timings option
|
2020-07-14 18:47:40 +03:00 |
Delyan Angelov
|
f1fdafcdff
|
pref: add -check-syntax for just parsing files, without checking them
|
2020-07-12 22:44:38 +03:00 |
Delyan Angelov
|
75b7b9564a
|
builder: show the contents of the C .rsp file on -showcc
|
2020-07-10 13:07:20 +03:00 |
Daniel Däschle
|
c5dc1a33b6
|
all: remove `it` smartcast and replace with original variable name (#5764)
|
2020-07-09 17:14:14 +02:00 |
Alexander Medvednikov
|
9511b7d0a1
|
cc: do not use -ldl in cross compiling for now
|
2020-07-09 12:29:49 +02:00 |
Alexander Medvednikov
|
8c338a7c3b
|
cc: format and fix linuxroot download
|
2020-07-09 12:26:15 +02:00 |
Daniel Däschle
|
5ea17ad2d4
|
all: if smartcast part 2 (#5754)
|
2020-07-08 15:46:58 +02:00 |
Emily Hudson
|
3b0dfd9ae1
|
cc: use @response files to avoid command line length limits (#5750)
|
2020-07-08 15:50:17 +03:00 |
Delyan Angelov
|
69d3c3f596
|
cgen: sort const inits/cleanups topologically, skip calling non `fn init(){}` fns
|
2020-07-08 14:28:58 +03:00 |
Alexander Medvednikov
|
2425c05c42
|
Revert "cgen: sort const inits/cleanups topologically too"
This reverts commit 38000f8622 .
|
2020-07-08 12:56:56 +02:00 |
Delyan Angelov
|
38000f8622
|
cgen: sort const inits/cleanups topologically too
|
2020-07-08 11:22:30 +03:00 |
yuyi
|
bd16dd9fdf
|
cgen: fix assert `sumtype is` (#5739)
|
2020-07-08 09:05:01 +03:00 |
Emily Hudson
|
cdfb578565
|
builder: cache msvc (#5733)
|
2020-07-07 20:35:49 +02:00 |
Delyan Angelov
|
6b2777e681
|
compiler: support VTMP; tests: delete .tmp.c files on successfull tests
|
2020-07-06 15:08:46 +03:00 |
Delyan Angelov
|
25771a1afe
|
compiler: remove -keepc option (it is now always on)
|
2020-07-06 13:42:18 +03:00 |
Enzo
|
7778cbe9f5
|
all: make `os` global in scripts (#5669)
|
2020-07-04 23:37:41 +02:00 |
Delyan Angelov
|
f374e37b61
|
checker: add details about a non matching functional argument
|
2020-07-04 22:37:06 +03:00 |
Delyan Angelov
|
78e1127d99
|
cgen: treat the main module like any other v module
|
2020-07-01 00:53:53 +02:00 |
joe-conigliaro
|
73da3c9e4c
|
generic structs: better naming & comments
|
2020-06-30 09:22:15 +10:00 |
joe-conigliaro
|
7565fe595b
|
builder: generic struct fix - derive field type
|
2020-06-30 04:37:07 +10:00 |
joe-conigliaro
|
ab37dcaa9c
|
generic structs: initial implementation
|
2020-06-29 20:09:09 +02:00 |
Emily Hudson
|
09236a438b
|
msvc: unique names for pdb files, remove test job limit
|
2020-06-26 17:16:15 +02:00 |
Alexander Medvednikov
|
076d0208cd
|
cc: add -ldl and .o in cross builds
|
2020-06-23 12:57:06 +02:00 |
Alexander Medvednikov
|
011e26ca9a
|
checker: check sum types in `match`; cross compilation fixes; orm fixes
|
2020-06-21 23:09:53 +02:00 |
spaceface777
|
624005bbd0
|
tcc_win: fix tests
|
2020-06-19 12:54:56 +02:00 |
Alexander Medvednikov
|
1d28d45c5c
|
builder: add -lpthread; x64: a+b, a-b
|
2020-06-18 14:14:42 +02:00 |
Delyan Angelov
|
cadde3e9f0
|
vlib: fix os.exec().output usages, that may rely on trimmed lines
|
2020-06-15 15:38:20 +03:00 |
Alexander Medvednikov
|
45a3d8474e
|
cc: remove sysroot hack now that $ bug is fixed
|
2020-06-13 22:54:20 +02:00 |
Alexander Medvednikov
|
183924e2a8
|
cc: linux cross compilation fixes + make work with openssl
|
2020-06-13 16:19:19 +02:00 |
Delyan Angelov
|
05177b9dcb
|
builder: add 'builtin' to builtin_module_parts instead of .clone()
|
2020-06-11 19:23:13 +03:00 |
Delyan Angelov
|
b2428290f9
|
builder: fix a const changing bug that prevented 2 builders
|
2020-06-11 18:35:41 +03:00 |
Alexander Medvednikov
|
1254d7a302
|
cc: fix windows cross compiling for programs that use json
|
2020-06-10 17:15:24 +02:00 |
Delyan Angelov
|
8a16086084
|
builder: pass -bt10 for tcc (phase 1 for using tcc_backtrace)
|
2020-06-08 10:40:01 +03:00 |
Ryan Willis
|
08814d6de4
|
tools/vsymlink: use the win32 api to update the system environment
|
2020-06-08 09:19:31 +02:00 |
Alexander Medvednikov
|
13a7ce9e69
|
gg: GG => Context
|
2020-06-04 20:26:18 +02:00 |
Delyan Angelov
|
86862d6a94
|
checker: remove mod_file_cacher exception
|
2020-06-01 17:43:03 +03:00 |
Alexander Medvednikov
|
3d83934caf
|
checker: check mutating methods; generics fixes
|
2020-06-01 15:44:10 +02:00 |
Alexander Medvednikov
|
a5ddb613fb
|
builder: linux cross compilation
|
2020-05-31 15:09:07 +02:00 |
Delyan Angelov
|
f9cb0d443b
|
builder: improve suggestion on a w64 cross compile fail on linux
|
2020-05-30 13:49:03 +03:00 |
Delyan Angelov
|
d148920b54
|
v.util: prepare CI for the external markdown module (needed for vdoc)
|
2020-05-30 11:06:16 +03:00 |
JalonSolov
|
b7dc5b2f7b
|
stopwatch: auto_start option, make pause cumulative
|
2020-05-30 10:20:54 +03:00 |
pancake
|
b3f2c629c6
|
builder: use .dylib for -shared builds in macOS
|
2020-05-29 04:52:19 +02:00 |
Alexander Medvednikov
|
01dbb25a37
|
checker: do not allow defining methods on types from other modules
|
2020-05-28 15:23:20 +02:00 |
Delyan Angelov
|
f6bdb3ae81
|
v.vmod: cleanup vmod.mod_file_cacher API
|
2020-05-28 01:38:11 +03:00 |
Delyan Angelov
|
2046ae78df
|
builder: improve `redefinition of function` messages
|
2020-05-28 00:56:28 +03:00 |
Delyan Angelov
|
0292666ac1
|
builder: use verror instead of panic when a _test.v file does not exist
|
2020-05-27 21:38:09 +03:00 |
Alexander Medvednikov
|
85d19dd253
|
cmd/v: error-limit
|
2020-05-24 04:47:51 +02:00 |
Alexander Medvednikov
|
67750c91d7
|
generics: lots of fixes
|
2020-05-24 04:43:03 +02:00 |
yuyi
|
dda875a9c8
|
all: unify const names to snake_case
|
2020-05-22 17:36:09 +02:00 |
Swastik Baranwal
|
bf7ab19d09
|
builder: do not allow importing 'builtin' module
|
2020-05-21 16:31:41 +02:00 |
Abdullah Atta
|
9888bacad5
|
v: make js hello world work
|
2020-05-21 16:17:16 +03:00 |
Delyan Angelov
|
9d4fe88d09
|
compiler: support for -color/-nocolor option overrides
|
2020-05-20 20:34:04 +03:00 |
Alexander Medvednikov
|
0d3f133436
|
parser: show location of a previously defined function
|
2020-05-20 17:27:37 +02:00 |
spaceface777
|
e07869af91
|
builder: fix false-positive import cycle warning
|
2020-05-19 14:17:03 +03:00 |
Uwe Krüger
|
2635be511f
|
all: re-apply C++ support
|
2020-05-18 21:38:06 +02:00 |
Alexander Medvednikov
|
07a78b2843
|
Revert "all: C++ compiler support"
This reverts commit 9a237c3e82 .
|
2020-05-18 17:05:48 +02:00 |
Uwe Krüger
|
9a237c3e82
|
all: C++ compiler support
|
2020-05-18 15:51:36 +02:00 |
Delyan Angelov
|
53ffee1e02
|
compiler: respect -showcc, -prod, -cg, when cross compiling for windows
|
2020-05-18 12:11:26 +03:00 |
Delyan Angelov
|
627400723c
|
x64 gen: improve error handling for unknown nodes
|
2020-05-17 15:45:17 +03:00 |
Alexander Medvednikov
|
0845b2cfbe
|
builder: skip warnings; pref: move pref creation to pref.v
|
2020-05-16 22:45:38 +02:00 |
Alexander Medvednikov
|
f49ef39708
|
checker: handle unexpected `or` blocks
|
2020-05-14 18:19:40 +02:00 |
Alexander Medvednikov
|
e5d4786371
|
builder: simplify C error message
|
2020-05-14 18:14:38 +02:00 |
yuyi
|
6d0b791ac8
|
parser: warning about unused imports
|
2020-05-14 17:14:24 +02:00 |
yuyi
|
70b76a8e31
|
builder: use verror for not found modules
|
2020-05-14 10:59:29 +03:00 |
Alexander Medvednikov
|
1cb4aa7642
|
builder: cross compiling for linux, part 1
|
2020-05-14 04:15:04 +02:00 |
Alexander Medvednikov
|
e60e8f3b34
|
builder: bring back cross compilation for windows
|
2020-05-13 23:02:31 +02:00 |
Ned Palacios
|
5f0ad0f562
|
compiler: add output mode for errors and warnings, support for `-silent` flag
|
2020-05-10 12:26:57 +03:00 |
Alexander Medvednikov
|
d7c4630d33
|
checker: make pub field check an error
|
2020-05-09 18:34:07 +02:00 |
Alexander Medvednikov
|
c64f8b0d1f
|
parser/checker: pub: struct fields
|
2020-05-09 15:16:48 +02:00 |
Delyan Angelov
|
e08566d571
|
compiler: do not exit early, when given -o x.c or -o x.js
|
2020-05-08 15:31:03 +03:00 |
Alexander Medvednikov
|
be063d740b
|
ci: test self compilation with -autofree
|
2020-05-07 17:37:12 +02:00 |
Delyan Angelov
|
a3bc32f3e0
|
builder: use time.new_stopwatch instead of benchmark.new_benchmark (reduces exe size)
|
2020-05-05 15:31:38 +03:00 |
Delyan Angelov
|
f9fe5b60a7
|
v doc: skip _x.c.v when not on x, i.e. filter files like v itself
|
2020-05-05 08:08:03 +03:00 |
Delyan Angelov
|
845ffb59a6
|
live: use mostly pure V code for reloading, eases customization
|
2020-05-03 20:22:24 +03:00 |
Delyan Angelov
|
dbbfb04e7c
|
docs: change obsolete -show_c_cmd to -showcc and -keepc
|
2020-05-02 19:01:53 +03:00 |