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

4493 Commits

Author SHA1 Message Date
84785bbb59 tests: fix msvc transient failures when sleep_ms takes longer 2020-05-01 11:58:56 +03:00
51da324465 tests: fix eventbus_test.v 2020-05-01 10:57:19 +02:00
666801f9f9 docs: v doc 2020-05-01 10:55:48 +02:00
66f4c881ec docs.md: add profiling section 2020-05-01 11:04:00 +03:00
3608c81cb9 time: add stopwatch_test.v 2020-05-01 10:21:15 +03:00
182e7071bf array: map() function 2020-05-01 00:29:54 +02:00
87813e84e9 v.ctags: improve detection of mut x := 2020-04-30 20:20:48 +03:00
b0c710c985 checker: allow fn == 0 comparison for now 2020-04-30 18:51:33 +02:00
a6dfc6d46b compiler: support ctags with -print_v_files and .ctags.d/v.ctags 2020-04-30 19:45:50 +03:00
250dea7bd1 cgen: another imported interface fix 2020-04-30 18:23:17 +02:00
f1903f3c1f parser: fix imported interfaces 2020-04-30 18:06:14 +02:00
9971c58ca3 all: remove var key 2020-04-30 16:55:33 +02:00
20013e4b4b table: interfaces: unique gen_types 2020-04-30 16:48:46 +02:00
473617f061 cli: add option with default 2020-04-30 12:18:46 +02:00
5481c0fc84 parser: uniform handling of enum field format 2020-04-30 12:18:16 +02:00
81ed6ad2a1 checker: check duplicate consts 2020-04-30 12:17:31 +02:00
4d415e56d6 checker: check enum field name duplicate 2020-04-30 09:34:18 +02:00
50491670af fmt: fix formatting backtick char literal 2020-04-30 09:33:43 +02:00
c4f672454f checker: check import duplicates 2020-04-30 09:33:12 +02:00
f6d74c8a37 checker: error on ternary if type mismatch 2020-04-30 09:32:29 +02:00
54d1a29267 dl: improve module 2020-04-29 21:01:19 +02:00
e5ae4b6454 parser: fix match exprs over C.VALUES (needed for C.GLFW_KEY_UP) 2020-04-29 20:35:57 +03:00
b2a076e8b8 csv: fix last-field-empty error 2020-04-29 16:50:02 +02:00
3e4cd12fd0 .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
03cee3fee0 builder: fix run & is_test check 2020-04-29 16:44:50 +02:00
be0e848ae8 builder: do not allow v run _test.v 2020-04-29 14:52:32 +02:00
1fabb7d5a6 checker: fix string.str() error 2020-04-29 13:51:42 +02:00
390d88f933 parser: fail for section redefinition in struct 2020-04-29 13:32:39 +02:00
98cd013908 cgen: fix interface struct sorting 2020-04-29 21:08:39 +10:00
51d0ce0222 tests: more interface tests; checker: handle zero selectorexpr type error 2020-04-29 12:46:09 +02:00
c500044bae checker: unreachable code warning 2020-04-29 12:31:18 +02:00
2fc05b814c all: interface arrays 2020-04-29 12:21:15 +02:00
3d8853af2b builder: move warning/error printing into print_warnings_and_errors 2020-04-29 13:04:09 +03:00
1e910c6afe tests: add reference_field_must_be_initialized.vv 2020-04-29 12:56:12 +03:00
bf8ed1815c builder: print collected checker warnings too 2020-04-29 12:38:43 +03:00
ad46e1b832 strconv: v_printf documentation
* v_printf documentation

* syntax fix
2020-04-29 12:25:38 +03:00
0e765e34be vfmt: extract v.util.find_working_diff_command, color_compare_files 2020-04-29 11:51:45 +03:00
dd3434598c checker_test: remove generated .v files, when a test is OK 2020-04-29 11:48:51 +03:00
117649f40d checker: check devision by zero (int and float) 2020-04-29 10:07:27 +02:00
2b48ce21df checker: make sure main has no args and doesn't return 2020-04-29 09:19:46 +02:00
a9e33e712a checker: check struct field name duplicate 2020-04-29 09:11:36 +02:00
0dc7a57e1f scanner: prevent panic with string starting on first character 2020-04-28 18:57:16 +02:00
8c526ad05b tests: ignore vlib/v/checker/tests/*.v files (only *.vv are sources there) 2020-04-28 16:45:25 +03:00
0afaef5818 checker: ambiguous function call error
* checker: ambiguous function call error

* checker: ambiguous function call error wording

* checker: ambiguous functions tests newline
2020-04-28 16:27:49 +03:00
8a81aa5c93 errors: disambiguate between variable and fn source_context 2020-04-28 16:20:50 +03:00
7924b4d77c compiler: handle a panic when an error is produced, but source == '' 2020-04-28 16:15:56 +03:00
8ea087f957 vfmt: fix compilation; handle the case when fmt.tabs is not enough 2020-04-28 16:04:37 +03:00
eb9448e59e tests: fix CI, by skipping http_test.v again. 2020-04-28 15:24:41 +03:00
c6a15dba50 compiler: add support for size_t 2020-04-28 15:07:19 +03:00
210b6e36b6 http: mutable request fields 2020-04-28 13:57:48 +02:00