Commit Graph

263 Commits (7955181c6c2669143b7cdce6d4969e29fe613baf)

Author SHA1 Message Date
yuyi 541b058e90
all: use `a !in b` instead of `!(a in b)` 2020-04-26 06:39:23 +02:00
joe-conigliaro 900d96c638
parser: allow deref assign without parens pt2 update vlib 2020-04-25 18:14:01 +10:00
joe-conigliaro 7177e71444
revert parser: allow deref assign without parens pt2 update vlib 2020-04-25 18:11:14 +10:00
joe-conigliaro f92cf69e60
parser: allow deref assign without parens pt2 update vlib 2020-04-25 18:09:52 +10:00
Delyan Angelov fb97c2e01e examples: fix path_tracing.v compilation, using (*ptr) = expression 2020-04-23 12:28:16 +03:00
yuyi 4e1abc8503
all: remove commas between enum vals 2020-04-23 01:16:16 +02:00
Enzo Baldisserri fe249ab0c3
vtest: remove `pub` before main 2020-04-17 21:41:54 +02:00
Delyan Angelov aed8370d87 tetris: enable compilation with -prod; cleanup of font loading errors 2020-04-16 19:44:15 +03:00
Alexey 54226e74cf
sokol: add missing `C` prefixes 2020-04-16 15:53:34 +02:00
Delyan Angelov 1318c27699 tetris: it now works with v2 (on linux) :-) 2020-04-16 13:30:40 +03:00
morganwu 5deb86de4f
examples: fix customer pg table name 2020-04-12 21:51:10 +02:00
yuyi 4d5fe14968
log: fix example error 2020-04-06 17:22:53 +02:00
Alexander Medvednikov c0d4503f25 gl/glfw: update C definitions 2020-04-04 12:56:35 +02:00
Alexander Medvednikov 88d15c6611 gl, glfw, freetype fixes 2020-04-02 01:45:22 +02:00
Alexander Medvednikov c6cf8ace22 glfw and tetris fixes; temporary ci fixes 2020-04-01 23:49:11 +02:00
Alexander Medvednikov 3dae1cc131 move sdl module to github.com/vlang/sdl 2020-04-01 15:27:28 +02:00
SleepyRoy 7bbcc484fb
examples: calculator 2020-04-01 14:19:57 +02:00
Alexey bf9f3057da
gitignore: ignore tcp_echo_server executable 2020-03-29 10:10:24 +02:00
Alexey a333ac1888
all: remove redundant parentheses in `if` statements 2020-03-29 10:08:42 +02:00
Delyan Angelov fa02130359
examples/tcp_echo_server: cleanup, use defer{} 2020-03-28 18:10:48 +01:00
Delyan Angelov 784d27f41b
examples: add a simple self contained tcp echo server 2020-03-28 10:21:22 +01:00
Alexander Medvednikov eed7c91e87 move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
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
Alexey a5c0d89c71
examples: reorganize 2020-03-21 09:47:38 +01:00
yuyi 2f27758a4b
os: realpath => real_path 2020-03-20 16:41:18 +01:00
SleepyRoy f798a0937a
expression: set floats as f64 by default 2020-03-19 07:24:49 +01:00
Wing-Kam f1274e34c2
cli: add pre_execute & post_execute 2020-03-10 16:11:17 +01:00
yuyi 783dee1f48
os: merge with filepath 2020-03-07 22:26:26 +01:00
Ian M. Jones 750f37fde7
vweb: fix serving static files 2020-03-07 14:16:03 +01:00
Alexey 5827ff0a01
examples: add license files for fonts 2020-03-07 14:14:37 +01:00
Alexander Medvednikov a277f7d6ab cgen: string[i]; pointers 2020-03-06 20:23:01 +01:00
Alexey 5142747ceb
examples: move SDL examples from vlib to examples dir 2020-03-06 18:39:40 +01:00
Alexander Medvednikov a8e45251c4
sync.pool: simplify usages of pool.work_on_items 2020-03-05 18:37:57 +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 59a65d757b examples: use vcalloc 2020-03-04 17:28:05 +01:00
Hugo Locurcio 69f256b900
use LF line endings in examples/quick_sort.v 2020-03-03 14:41:05 +01:00
Delyan Angelov f9d5c0110f
compiler: @VMODULE 2020-02-29 14:23:45 +01:00
SleepyRoy c26016b132
examples: add quick_sort example 2020-02-26 13:32:39 +01:00
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Delyan Angelov 195f3f465b
option to disable bounds checking; examples/path_tracing.v: optimizations 2020-02-16 16:13:45 +01:00
penguindark ce6ee1505f
path tracing example 2020-02-13 19:22:35 +01:00
Mahmoud Samir Fayed 99217da6ca
examples: update tetris readme 2020-02-07 18:47:05 +01:00
Delyan Angelov 1618596218
os: fix compiler warnings when just importing os 2020-02-05 11:23:49 +01:00
Exa Stencil 1db07f52d1
Improve vweb example to output the cookie 2020-02-05 10:53:16 +01:00
joe-conigliaro 7f709c3285
update copyright years 2020-02-03 05:00:36 +01:00
toman222 932392a7fd
sqlite: modify exec functions + other fixes 2020-02-02 02:56:09 +01:00
kemalcan bora c90b53b89d
examples: simple linear regression 2020-01-31 02:44:38 +01:00
Steve Phillips c617cf8e05 examples: fizz_buzz.v 2020-01-27 16:56:46 +01:00