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

89 Commits

Author SHA1 Message Date
48892a52fa strings: make valgrind reports for strings builders more usefull (#8553) 2021-02-04 20:45:35 +01:00
dbaccd4272 vfmt: shorten main.const_name to just const_name 2021-01-25 20:57:33 +02:00
29d6e40f29 all: vfmt (new const rule) 2021-01-24 10:54:27 +01:00
ac2c3847af all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
33694665f0 fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
214290d55b fmt: add a space around single-line unsafe expressions (#7505) 2020-12-23 19:13:42 +01:00
6c341a77f5 strings: run v fmt (#7438) 2020-12-21 22:00:32 +02:00
7da1afa140 all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests 2020-10-15 12:32:28 +02:00
6921d46185 all: rune type for `` literals 2020-08-27 06:46:37 +02:00
36eae1c175 builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
f5e6a83a05 builtin: unsafe vlib pointer indexing (#5836) 2020-07-15 21:56:50 +02:00
c563168d69 rand: string() 2020-07-15 21:36:09 +02:00
1c682d7b89 cgen/autofree: sb.writeln() optimization fixes 2020-07-13 18:59:47 +02:00
d94a02ba79 strings: builder.writeln() optimization 2020-07-11 12:03:24 +02:00
5de0f944bd vweb: fix a template leak 2020-07-01 17:04:30 +02:00
e78dc4d682 strings: fix a leak in builder 2020-07-01 16:52:04 +02:00
78e1127d99 cgen: treat the main module like any other v module 2020-07-01 00:53:53 +02:00
3f59f23427 vweb: fix a leak 2020-06-28 19:55:53 +02:00
0138f46797 vweb: fix a leak 2020-06-28 13:56:38 +02:00
fb5cae7376 orm: select where id = x 2020-06-17 04:05:20 +02:00
ed58192e4c v orm: select 2020-06-17 00:59:37 +02:00
b3e416fb52 vweb: fix duplicate fn error with multiple templates 2020-06-09 12:43:20 +02:00
013fdb8a4b checker: restrict numeric promotions to cases where no data is lost 2020-05-27 05:42:48 +02:00
2635be511f all: re-apply C++ support 2020-05-18 21:38:06 +02:00
07a78b2843 Revert "all: C++ compiler support"
This reverts commit 9a237c3e82.
2020-05-18 17:05:48 +02:00
9a237c3e82 all: C++ compiler support 2020-05-18 15:51:36 +02:00
7f4cf08516 parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
c64f8b0d1f parser/checker: pub: struct fields 2020-05-09 15:16:48 +02:00
207324d15b strings.builder: remove unused var; clipboard: linux fixes 2020-05-06 11:44:08 +00:00
25db5e96a3 strings.builder: fix a memory leak 2020-05-06 11:12:00 +00:00
1e4e882bc2 cc/cgen: cached modules fixes 2020-04-28 13:15:37 +02:00
7bf8731778 checker: check variable mutability for postfix exprs 2020-04-28 11:20:19 +02:00
54b71242fe builder: add autofree compatibility; protect against b.str() twice in a row 2020-04-28 11:03:43 +03:00
83552a0d58 array: replace make() with the new init syntax 2020-04-26 17:52:27 +02:00
dc4db87be3 vlib: use new filename format 2020-04-11 19:51:32 +02:00
35fbac8d56 parser/cgen: default struct field values 2020-04-06 14:45:48 +02:00
eed7c91e87 move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
e57804e6c2 cgen: generate init() 2020-03-21 09:29:16 +01:00
5f61fbcbe3 fix prod build 2020-03-21 07:04:53 +01:00
5072320803 cgen/ast/checker: string interpolation 2020-03-21 07:01:11 +01:00
083964522b cgen/fmt: fix assign_stmt fix & cgen test & hash tests & fmt 2020-03-11 11:31:24 +11:00
de55a26cfe cgen: lots of fixes 2020-03-10 23:21:29 +01:00
7a72167eb7 strings: optimization of repeat + repeat_string() 2020-02-26 13:22:12 +01:00
ef8c1203b4 cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
75eebb516f fix bug in levenshtein distance & add tests 2020-02-04 04:21:40 +01:00
7f709c3285 update copyright years 2020-02-03 05:00:36 +01:00
8d9f89e728 compiler2: proof of concept cgen 2019-12-26 07:47:33 +03:00
b88cb1ca69 extend tests for strings module 2019-12-22 02:05:30 +03:00
6210984c97 run vfmt 2019-12-20 02:09:56 +03:00
df2f98e276 run vfmt on more files 2019-12-19 02:38:54 +03:00