penguindark
a2ef9967fe
examples: add .obj viewer as a sokol example ( #9456 )
2021-03-25 16:53:13 +01:00
Delyan Angelov
9e48826bcb
dl: add dl.open_opt/2, dl.sym_opt/2 and dl.dlerror/0 utility functions
2021-03-24 11:47:04 +02:00
zakuro
c8416f9a54
all: deprecate write_str and replace it with write_string ( #9369 )
2021-03-20 17:25:51 +01:00
zakuro
e3c0f305b2
os: deprecate `os.File.write_bytes` and add `os.File.write_ptr` ( #9370 )
2021-03-20 09:02:28 +02:00
Delyan Angelov
4f6306f6d4
examples: fix `v -cflags "-Werror" test examples/`
2021-03-19 13:13:56 +02:00
Emeric MARTINEAU
125236694f
cli: improve multiple value management ( #8310 )
2021-03-19 13:09:56 +02:00
Delyan Angelov
04095f4088
ci: fix failing `v -W build-tools` and `v -W build-examples`; run vfmt.
2021-03-19 09:49:26 +02:00
Delyan Angelov
c2b574384f
examples: fix dropping pieces with -autofree for tetris.v
2021-03-17 14:45:32 +02:00
crthpl
fafb035fb5
all: reimplement inline assembly ( #8645 )
2021-03-17 01:43:17 +01:00
Leah Lundqvist
64d0006ff9
jsgen: fix string and array for loops and improve casting ( #9295 )
2021-03-14 08:20:01 +02:00
Delyan Angelov
2fbacd0e79
examples: remove unused 629KB demo.gif animation
2021-03-12 11:57:47 +02:00
Lukas Neubert
a67d49050c
math: add a pure V `math.mathutil`, with generic `min`, `max` and `abs` functions ( #9176 ), and use it consistently
2021-03-12 11:28:04 +02:00
Delyan Angelov
d7049ae2da
os: deprecate os.exec (returning ?os.Result), in favour of os.execute, which returns os.Result ( #8974 )
2021-03-08 20:52:13 +02:00
StunxFS
9a7d9e047b
dl: move 'example' to 'examples/dynamic_library_loading' ( #9187 )
2021-03-08 18:21:43 +02:00
Delyan Angelov
849cde245c
v: support dump(expr) ( #9160 )
2021-03-06 18:09:28 +01:00
joe-conigliaro
2d73411396
checker: define missing C fn args & check C & JS args ( #8770 )
2021-03-05 17:41:11 +03:00
Delyan Angelov
cd423251da
vweb: add .mount_static_folder_at/2 , use it instead of app.handle_static in the server_sent_events example
2021-03-02 21:30:18 +02:00
Miccah
d0fab60981
vweb: refactor routing logic ( #9025 )
2021-03-01 11:50:52 +01:00
spaceface
b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` ( #9022 )
2021-03-01 00:18:14 +01:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax ( #8950 )
2021-02-28 23:20:21 +03:00
Miccah
7e08e84bc1
vweb: refactor HTTP request parsing ( #8874 )
2021-02-27 23:18:25 +01:00
penguindark
1d69a0bd22
gg: window_size_real_pixels that for 3D without dpi scaling ( #9004 )
2021-02-27 22:11:26 +01:00
Alexander Medvednikov
3a2d696fac
time: time.wait() => time.sleep()
2021-02-27 20:41:06 +03:00
Uwe Krüger
f67bff1696
all: support `thread` handles and `wait()` for functions returning optionals ( #8990 )
2021-02-27 10:16:55 +02:00
Nick Treleaven
aed348fb80
os: tag some File methods that take voidptr as unsafe - write_bytes, write_bytes_at ( #8985 )
2021-02-27 10:11:17 +02:00
Miccah
66c85aa5cb
docs: update concurrency docs and examples to use []thread{} ( #8933 )
2021-02-24 10:41:12 +01:00
Delyan Angelov
9e06af8bf9
vfmt: vfmt examples/*.v
2021-02-23 20:21:50 +02:00
Delyan Angelov
d1cebcb608
2048: remove `[no_inline]` (no longer needed)
2021-02-22 21:40:55 +02:00
spaceface
b4dc6c83cd
gg: handle Android's own native dpi scaling factor ( #8908 )
2021-02-22 21:24:18 +02:00
spaceface
8033203ef6
builtin: add an Option2 struct ( #8890 )
2021-02-22 18:44:15 +02:00
Louis Schmieder
7a35131721
vweb: add handle static root & documentation ( #8865 )
2021-02-21 20:01:29 +02:00
zakuro
ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) ( #8853 )
2021-02-21 17:05:03 +02:00
spaceface
260f677469
term.ui: use the new `[flag]` enums ( #8881 )
2021-02-21 16:07:49 +02:00
Delyan Angelov
3a65ccd060
examples: make examples/templates/templates.v runable from everywhere, not just .
2021-02-19 17:29:35 +02:00
Miccah
a153ec5951
cli: ensure that required flags are set ( #8826 )
2021-02-19 12:43:18 +02:00
kristof de spiegeleer
3f3bec45fa
examples: add a template example, update the regex examples ( #8829 )
2021-02-19 12:39:15 +02:00
penguindark
198b395cde
examples: add examples/sokol/05_instancing_glsl, cleanup code ( #8809 )
2021-02-18 11:11:26 +02:00
Alexander Medvednikov
e662d61573
examples: fix 2048 scaling
2021-02-17 16:18:33 +01:00
Delyan Angelov
217e8c9146
ci,examples: fix compilation of 03_march_tracing_glsl/rt_glsl.v
2021-02-17 11:07:31 +02:00
Alexander Medvednikov
023f6829a1
examples: fix rt_glsl.v
2021-02-17 06:57:32 +01:00
Alexander Medvednikov
2f328f952e
examples: fix fireworks.v
2021-02-17 06:50:09 +01:00
Alexander Medvednikov
60a8881326
examples: fix and vfmt cube_glsl example
2021-02-17 06:47:41 +01:00
Alexander Medvednikov
d4a05bebde
gg: use gg types for Events instead of sapp
2021-02-17 06:44:01 +01:00
Delyan Angelov
4961d3ea17
io: fix detection of end_of_stream, when reading files through io.new_buffered_reader(reader: io.make_reader(f))
2021-02-16 23:22:17 +02:00
AAAA
4213851e22
cli: fix typo ( #8742 )
2021-02-15 17:25:30 +02:00
penguindark
325aef6d41
gg: add gg.m4, use it in the sokol GLSL examples ( #8755 )
2021-02-15 15:40:28 +02:00
Nick Treleaven
ea803113c3
checker: check `unsafe` V function calls ( #8752 )
2021-02-14 19:31:42 +01:00
penguindark
9d5243a410
examples: add an example of march tracing in glsl, first release ( #8689 )
2021-02-12 01:42:10 +02:00
Delyan Angelov
578de634fe
sync: move pool related code to `sync.pool`, cleanup, add a README.md
2021-02-11 10:55:23 +02:00
Mohammad Ali Chraghi
86e6b4f926
examples: improve the pg and vweb output ( #8640 )
2021-02-09 11:31:25 +02:00
Larpon
d62918581e
example: support running flappylearning on Android ( #8612 )
2021-02-07 12:40:12 +02:00
Alexander Medvednikov
f589a70874
examples: make a process example compile with -prod
2021-02-07 05:23:45 +01:00
kristof de spiegeleer
2d875260e8
examples: Process examples ( #8598 )
2021-02-07 05:19:05 +01:00
Delyan Angelov
576492af4e
examples: fix 2048 on Apple M1
2021-02-05 19:35:51 +02:00
Louis Schmieder
97c0ef3505
orm: struct field support ( #8517 )
2021-02-04 20:28:33 +01:00
Delyan Angelov
32cc95a340
test-cleancode: check some of the examples too
2021-02-04 17:34:59 +02:00
Delyan Angelov
f4b757e47d
examples: add examples/vweb/server_sent_events; implement vweb.sse
2021-02-03 16:03:06 +02:00
Larpon
c818ad97eb
examples: tetris: better mobile device support ( #8519 )
2021-02-02 18:37:43 +01:00
Larpon
975206f38e
examples: support better placment and scaling on nonsquare viewports in cube.v ( #8513 )
2021-02-02 14:09:40 +02:00
Delyan Angelov
d57a9c419d
examples: add net_udp_server_and_client.v
2021-02-02 10:36:56 +02:00
Lucas Hernán Tarche
7813ecbb75
gg: add draw_convex_poly/2 and draw_empty_poly/2 methods ( #8487 )
2021-02-01 18:18:23 +02:00
Alexander Medvednikov
96466e2b15
examples: move websocket example from x/
2021-01-31 15:18:54 +01:00
Alexander Medvednikov
c91f7746fd
websocket: minor improvements in the server example
2021-01-31 15:18:04 +01:00
Tomas Hellström
7eb7d042ec
x.websocket: workaround `for _, item in a_map{}` bug, causing panic ( #8463 )
2021-01-31 11:37:32 +02:00
Delyan Angelov
89bf48e3ba
ci: fix `v -W build-examples`
2021-01-31 10:43:49 +02:00
Hitalo de Jesus do Rosário Souza
8dff63b824
vweb: example: make css in vweb_assets.v work ( #8090 )
2021-01-30 14:20:13 +01:00
Larpon
afddcda7a3
examples: make raven text run on android, fix text scaling ( #8394 )
2021-01-29 12:13:06 +02:00
spaceface
e233911a7b
term.ui: native Windows console implementation ( #8359 )
2021-01-27 13:52:39 +01:00
Delyan Angelov
1f4e8254b9
examples: enable maximization
2021-01-26 23:40:30 +02:00
Delyan Angelov
06b660666b
examples: fix font does not exist message in fireworks
2021-01-26 23:21:10 +02:00
shadowninja55
ba3342a034
examples: add fireworks example ( #8358 )
2021-01-26 23:13:11 +02:00
Delyan Angelov
e5a84719ca
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}`
2021-01-26 16:43:17 +02:00
penguindark
ebda57fa6f
examples: 3d cube sokol example ( #8327 )
2021-01-24 23:17:50 +01:00
Jordan Bonecutter
1c8c3a109d
examples: fix typos/grammar and chmod u+x v_script.vsh ( #8304 )
2021-01-24 11:15:11 +02:00
Alexander Medvednikov
d991712b3c
gg: native rendering mode on macOS
2021-01-23 10:25:43 +01:00
Daniel Däschle
dbf84520f1
all: update assoc syntax ( #8274 )
2021-01-22 23:24:48 +01:00
Delyan Angelov
12897d1e2b
examples: fix `./v -W -Wfatal-errors build-examples`, run vfmt
2021-01-22 22:33:37 +02:00
Emeric MARTINEAU
081e3c46b4
cli: allow flag to be set multi time ( #8256 )
2021-01-22 19:03:02 +02:00
shadowninja55
a569dc17e8
gg: allow fonts loaded with $embed_file() to be used ( #8263 )
2021-01-21 23:07:47 +02:00
shadowninja55
d1286dbf18
examples: add snek (a snake game) ( #8257 )
2021-01-21 18:34:42 +02:00
Louis Schmieder
f7c251f8f3
vweb: add multipart/form-data parser and file upload ( #8160 )
2021-01-21 11:08:51 +01:00
Delyan Angelov
d9532eda30
checker: error on a.slice(x,y) outside `builtin`
2021-01-19 15:55:52 +02:00
Ruofan XU
103901a5cb
example/test: add a binary search tree example and test ( #8145 )
2021-01-19 15:18:38 +02:00
Sun Junyi
048d8edf62
examples: update mini_calculator.v ( #8182 )
2021-01-18 18:40:47 +02:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 ( #8029 )
2021-01-18 13:20:06 +01:00
Louis Schmieder
38881e4b20
vweb: Implement chunked encoding transfer ( #8179 )
2021-01-18 13:04:21 +01:00
Larpon
512f62b7a1
android: enable custom (e)println output via android log system ( #8135 )
2021-01-17 05:32:59 +01:00
Larpon
4044abef0e
tetris: enable to run on android, run v fmt ( #8136 )
2021-01-17 05:28:09 +01:00
Delyan Angelov
5c3ef588c3
live: move to vlib/v/live
2021-01-16 15:05:01 +02:00
Delyan Angelov
0da40c4ea9
examples: use Empty instead of Leaf in tree_of_nodes.v
2021-01-15 11:15:29 +02:00
Delyan Angelov
944bb294e3
examples: add tree_of_nodes.v, based on a `type Tree = Leaf | Node` sumtype
2021-01-15 10:09:44 +02:00
yuyi
a2efb5319d
all: change `[1,2,3]!!` to `[1,2,3]!` ( #8101 )
2021-01-14 03:51:13 +01:00
yuyi
a1c67232d0
checker: fix duplicate variable name ( fix #265 ) ( #7982 )
2021-01-10 21:41:29 +01:00
Delyan Angelov
692a718428
examples: use os.resource_abs_path, so `v run examples/ttf_font/example_ttf.v` works
2021-01-10 20:36:50 +02:00
penguindark
c067cc0357
vlib: add a TTF font loader and render in `x.ttf` ( #7995 )
2021-01-10 20:14:41 +02:00
Don Alfons Nisnoni
d645e45752
mysql: add more documentation ( #7846 )
2021-01-09 10:40:21 +02:00
Swastik Baranwal
9291fb5e0c
checker: disallow comparison between enum and int ( #7886 )
2021-01-08 17:41:52 +01:00
Daniel Däschle
5dbc19410c
examples: fix vweb assets example ( #7949 )
2021-01-07 20:46:23 +01:00
Tomas Hellström
f9a873736e
x.websocket: server broadcast plus examples ( #7922 )
2021-01-06 15:43:54 +01:00
Delyan Angelov
3a357d9718
gg: add examples/gg/stars.v
2021-01-04 12:19:05 +02:00
Leandro Silva
86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox ( #7751 )
2021-01-03 16:56:55 +01:00
Don Alfons Nisnoni
e943d03298
mysql: migrate connection flags to enum instead of const, fix example ( #7803 )
2021-01-02 15:09:20 +02:00
Alexander Medvednikov
7bcc5afbb6
ci: run tutorial
2021-01-01 20:25:49 +01:00
Daniel Däschle
5ae3637d27
checker: revert embedded methods fix ( #7780 )
2021-01-01 14:36:07 +01:00
spaceface
480d78de2e
examples/2048: make tiles have rounded corners ( #7763 )
2021-01-01 13:04:51 +02:00
Alexander Medvednikov
2bc9ee4d88
vweb: more updates
2020-12-31 17:47:20 +01:00
Alexander Medvednikov
2533c706ae
vweb: migrate all tests and examples to the new syntax
2020-12-31 17:22:47 +01:00
Alexander Medvednikov
3ffdcd8910
vweb: embed context
2020-12-31 17:07:27 +01:00
Delyan Angelov
cf978ca1ac
flappylearning: set app.timer_period_ms to 0 with `0` key
2020-12-31 17:51:52 +02:00
Delyan Angelov
06766fd0eb
flappylearning: toggle update period with `space`, exit with `esc`
2020-12-31 17:46:50 +02:00
Alexander Medvednikov
0d43ff2453
parser: fix `for i, mut val in vals {; examples: vfmt flappybird
2020-12-27 12:02:18 +01:00
uxnow
e69e5c5b91
examples: add flappylearning to examples ( #7605 )
2020-12-27 11:19:32 +01:00
Alexander Medvednikov
9f964c9ce0
examples: fix spectral.v
2020-12-21 08:50:31 +01:00
Delyan Angelov
c2064b2cc0
ci: more args = os.args fixes
2020-12-20 19:01:15 +02:00
penguindark
a6baffcb8c
regex: lots of fixes ( #7380 )
2020-12-18 05:57:31 +01:00
Emily Hudson
553ecf63e7
vlib/io: fix reader bugs, make read_all take a config struct ( #7361 )
2020-12-16 18:22:26 +01:00
Delyan Angelov
e3a1756b11
net: add tcp_default_read_timeout and tcp_default_write_timeout and use them consistently
2020-12-15 17:54:51 +02:00
Daniel Däschle
11808f9fa3
parser: fix silent errors ( #7271 )
2020-12-12 04:06:09 +01:00
penguindark
6b7d7cee0c
regex: new examples, new utility functions ( #7150 )
2020-12-05 22:24:08 +01:00
Delyan Angelov
3f2133c65e
examples,tools: cleanup most warnings
2020-12-04 16:05:39 +02:00
nyx-litenite
36240b2284
examples: term.ui: vyper (a simple snake game) ( #6943 )
2020-11-27 20:55:53 +01:00
Alexander Medvednikov
f135a9949c
ci: build tetris with -autofree
2020-11-27 20:41:17 +01:00
Alexander Medvednikov
5efd393af2
all: make comptime templates usable outside of vweb via $tmpl
2020-11-26 18:40:35 +01:00
spaceface777
e03ae19372
term.ui: approximate colors into ansi if rgb isn't supported ( #6951 )
2020-11-26 00:28:57 +01:00
Alexander Medvednikov
23c9563600
examples/tetris: remove old array hacks
2020-11-24 18:14:44 +01:00
Lukas Neubert
df4165c7ee
docs_ci: check all md files except thirdparty ( #6855 )
2020-11-18 18:28:28 +01:00
Larpon
9f5a3b52a7
all: optimize png images ( #6860 )
2020-11-17 17:42:21 +01:00
Larpon
4a31b5702e
examples: term.ui: add readme, copyright, and pong screenshot ( #6858 )
2020-11-17 17:41:54 +01:00
Larpon
f44853a87f
examples: term.ui - add a pong clone ( #6857 )
2020-11-17 15:25:41 +01:00
Larpon
0c54ebdf41
text_editor: add magnet cursor position ( #6843 )
2020-11-16 14:51:39 +02:00
Emily Hudson
cd2a2cef25
vlib/net: add buffered IO, x.net -> net ( #6754 )
2020-11-15 22:54:47 +02:00
Delyan Angelov
c8b7cfc297
examples: small fix for ctrl-right at the last word of a line
2020-11-15 14:49:55 +02:00
spaceface777
dcbb285ae4
examples: text editor: implement ctrl+arrows to move by word ( #6838 )
2020-11-15 13:33:08 +01:00
spaceface777
1ead130eed
term.ui: render to the alternate buffer ( #6832 )
2020-11-14 21:05:22 +02:00
Carlos Esquerdo Bernat
827fb62c29
examples/text_editor: edit multiple files ( #6827 )
2020-11-14 19:39:59 +02:00
spaceface777
ec3b96924f
examples/text_editor: make scrolling smoother ( #6819 )
2020-11-14 09:21:46 +02:00
spaceface777
6b47c61fe4
term.ui: handle middle mouse button events and modifier keys ( #6821 )
2020-11-14 09:14:54 +02:00
spaceface777
eacd6b5d54
examples/text_editor: minor cleanup and simplifications ( #6818 )
2020-11-13 19:18:05 +02:00
Larpon
b02f03e20a
examples: add a simple text editor example to term.ui ( #6808 )
2020-11-13 15:27:12 +01:00
spaceface777
c315218ed1
term.ui: allow setting the terminal title ( #6809 )
2020-11-13 15:30:47 +02:00
Delyan Angelov
a3404a38c6
term_drawing.v: support arrows, 1, 2 and space
2020-11-13 13:08:28 +02:00
pancake
862cae5b02
term: handle keyboard keys in the term_drawing example ( #6810 )
2020-11-13 11:49:09 +02:00
spaceface777
24f743ee12
term: add `term.ui` module (part 2) ( #6798 )
2020-11-12 12:12:51 +01:00
Delyan Angelov
cd399b7e6e
examples: cleanup up the life automaton implementation
2020-11-04 10:00:59 +02:00
Delyan Angelov
9772eb7c96
examples: fix warnings when doing `./v -W -progress -check-syntax build-examples`
2020-10-26 13:14:26 +02:00
Quentin Champ
4bc38a2f6c
examples: apply todo suggestion in word counter ( #6640 )
2020-10-18 22:46:13 +02:00
Delyan Angelov
2f149e6984
vfmt: fix merged param warnings in sokol's particles example and vlib/x/net/udp.v
2020-10-18 13:45:13 +03:00
Delyan Angelov
8b2e704741
examples: make `v -prod build-examples` pass without warnings/errors
2020-10-18 09:48:13 +03:00
Delyan Angelov
67ecc04580
examples: build examples/hello_v_js.v without warnings/errors
2020-10-18 09:33:55 +03:00
Delyan Angelov
b7233a23d7
examples: build examples/path_tracing.v with -prod, with no warnings/errors
2020-10-18 09:00:30 +03:00
Delyan Angelov
3795aaab5c
v test-fmt: reformat some skipped files, comment on the remaining ones
2020-10-15 00:39:09 +03:00
Delyan Angelov
46c5a2c8fc
v test-fmt: fix some embedded comments in expressions
2020-10-14 22:52:33 +03:00
Larpon
05ec32c331
examples: fix sokol/particles to start up faster ( #6610 )
2020-10-13 13:16:51 +03:00
Delyan Angelov
77c29c6b6f
examples: add simple visual rendering of the samples in melody.v
2020-10-10 23:45:40 +03:00
Delyan Angelov
86816b1aad
examples: add bytebeat melody using sokol.audio
2020-10-10 19:37:03 +03:00
Nicolas Sauzede
8d2f22affe
tetris: display lines ( #6533 )
2020-10-02 16:42:05 +03:00
Nicolas Sauzede
a0aedfbe5c
tetris: display next tetro ( #6532 )
2020-10-02 16:37:00 +03:00
Nicolas Sauzede
1ddf46f3c6
tetris: add ghost piece ( #6531 )
2020-10-02 09:30:15 +02:00
Lukas Neubert
94cf8ef1d8
examples: update v_script.vsh ( #6515 )
2020-10-02 05:18:08 +02:00
Larpon
0e2f267805
examples: add support for transparency / opacity / alpha in particle example ( #6488 )
2020-09-28 06:14:15 +02:00
Daniel Däschle
06cade6c31
all: change .ReturnType and .Type to .return_type and .typ ( #6494 )
2020-09-28 06:13:38 +02:00
Delyan Angelov
71e1ca72ec
examples/2048: run `v -w fmt 2048.v`
2020-09-27 22:47:26 +03:00
spaceface777
faca9e2f06
examples/2048: new end screens with alpha, better touch support ( #6482 )
2020-09-26 09:54:04 +03:00
Alexander Medvednikov
0cdeaaff6b
examples: make 2048 compile
2020-09-23 20:50:03 +02:00
Delyan Angelov
99e607d3ac
examples/2048: limit the simulation depth in auto mode to 8
2020-09-23 09:26:22 +03:00
Delyan Angelov
46be0710ac
examples/2048: add a simple Monte Carlo player on `a`
2020-09-22 17:32:35 +03:00
Alexander Medvednikov
8c8fe02000
gg: mouse_move, mouse_down
2020-09-21 02:42:53 +02:00
Alexander Medvednikov
6bf1865678
examples: add a link to the 2048 WA demo
2020-09-20 19:31:16 +02:00
Delyan Angelov
d4fbf422b3
gg: support transparency for rect/triangle/etc primitives too
2020-09-20 12:05:30 +03:00
Delyan Angelov
b4535acbac
examples: move the particle module in modules/particle
...
The goal is enabling running `v build-examples` from outside vroot.
The modules/ folders are already skipped when building examples.
2020-09-18 19:06:04 +03:00
Ruofan XU
11f10fdce2
examples: minor optimization of calculator ( #6367 )
2020-09-17 02:14:26 +03:00
Lukas Neubert
2464deec82
cli: improvements to help and error messages ( #6375 )
2020-09-16 22:01:44 +02:00
Ruofan XU
e8909cced0
examples: add regex_with_memoization.v ( #6355 )
2020-09-12 09:51:30 +03:00
Major Taylor
99a46c8657
2048: fixed movement bug and show score at end ( #6353 )
2020-09-12 09:25:44 +03:00
spaceface777
4aaeaa4331
examples/2048: some updates and improvements ( #6343 )
2020-09-11 13:19:38 +03:00
bpryer
3f7970db52
term: add get_cursor_position and set_terminal_title ( #6279 )
...
* added functions
added:
- get_cursor_position()
- set_terminal_title(title string)
* implement term.get_cursor_position and term.set_terminal_title on unix
* Cleanup
* make x,y fields of term.Coord mutable
* fix vrepl compilation
* use more descriptive var names in term_test.v
* do not change the current terminal title in dumb terminals; do not test term.set_terminal_title outside of CI
* unix: in term.set_terminal_title, return true even for dumb terminals
Co-authored-by: Brent Pryer <brent@pryermachine.com>
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2020-09-08 22:00:10 +03:00
Enzo
18034bb95c
gen: fix multiple call of expression in match ( #6324 )
2020-09-08 00:38:24 +02:00
spaceface777
35cbca96e1
checker: implement `[required]` struct field attribute ( #6276 )
2020-08-31 23:15:40 +02:00
Delyan Angelov
ea31c2a643
examples: fix graph for hdpi screens
2020-08-30 19:58:15 +03:00
pancake
a1dcc3bb9f
examples: make the graph example resizable, use cooler lines ( #6267 )
2020-08-30 19:11:59 +03:00
Delyan Angelov
2b545f6b90
examples: fix compilation of the graph.v example
2020-08-29 10:14:25 +03:00
Allie
1d39116a6e
examples: fix a typo in the cli example ( #6237 )
2020-08-27 23:15:49 +03:00
spaceface777
eff319f869
comp_for: allow checking full mehod and arg types ( #5997 )
2020-08-27 15:00:44 +02:00
Delyan Angelov
f5c245ceb8
ci: fix `v build-examples` too
2020-08-27 14:35:26 +03:00
Alexander Medvednikov
6921d46185
all: rune type for `` literals
2020-08-27 06:46:37 +02:00
Delyan Angelov
912bc8bca1
2048: fix crash, when compiled with gcc > 6 and -prod
2020-08-24 11:12:52 +03:00
Delyan Angelov
dad2c6608e
examples: implement examples/sokol/sounds/wav_player.v
2020-08-23 20:49:37 +03:00
Charadon
bb60b4227e
examples: vfmt calculator.v
2020-08-23 16:18:37 +02:00
Delyan Angelov
1c9e02094c
sokol.audio: add simple_sin_tones.v example
2020-08-23 15:28:07 +03:00
Alexander Medvednikov
542b149290
sokol: fix examples and remove copy pasta
2020-08-23 07:47:50 +02:00
Swastik Baranwal
b2e79dbebd
parser: add an error for `import mod.sub as mod` and `import mod as mod` ( #6194 )
2020-08-23 02:12:25 +02:00
Daniel Däschle
fcc61a981d
all: TypeSymbol.source_name ( #6187 )
2020-08-22 12:29:15 +02:00
Tomas Hellström
fb148e0b61
x.websockets: new websockets module on top of x.net ( #6189 )
2020-08-22 00:50:38 +02:00
Lukas Neubert
93e6c3df6a
cli: various improvements ( #6180 )
2020-08-20 23:14:53 +02:00
Emily Hudson
b88569c845
x.net: new net module ( #6130 )
2020-08-20 23:01:37 +02:00
Lukas Neubert
eabc2daf86
v.mod: remove commas; add example for v.vmod ( #6169 )
2020-08-19 16:07:10 +02:00
Lukas Neubert
e6e1011e47
examples: cli: more readable and informative program output ( #6168 )
2020-08-19 14:38:45 +02:00
Larpon
d9aae023b1
android: initial support for C output using sokol_main ( #6164 )
2020-08-19 11:00:15 +02:00
spaceface777
c1651bd271
gg: fixes and Android support ( #6161 )
2020-08-19 07:10:42 +02:00
Delyan Angelov
ed156838e6
examples: add 2048 game
2020-08-18 09:29:43 +03:00