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

37 Commits

Author SHA1 Message Date
Benjamin Stigsen
546c388b02
gg: renaming drawing functions (#12913) 2021-12-23 13:31:25 +02:00
Delyan Angelov
f18265e6a8
gg: remove obsolete usages of use_ortho: true 2021-06-24 11:15:12 +03:00
Lukas Neubert
16e79bc3ca
tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +03:00
Alexander Medvednikov
3a2d696fac time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
zakuro
ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
Alexander Medvednikov
d4a05bebde gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
Delyan Angelov
5c3ef588c3
live: move to vlib/v/live 2021-01-16 15:05:01 +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
Alexander Medvednikov
6921d46185 all: rune type for `` literals 2020-08-27 06:46:37 +02:00
Alexander Medvednikov
36183660e6 remove oldgg, gl, glfw, freetype from vlib now that we have the new sokol based gg 2020-07-05 16:44:28 +02:00
Alexander Medvednikov
13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
Alexander Medvednikov
c4a6ba76a1 examples: fix bounce.v; clean up tetris.v 2020-06-04 16:53:21 +02:00
Alexander Medvednikov
7496c1be2a examples: fix remaining examples and add them to CI 2020-06-02 19:47:28 +02:00
Alexander Medvednikov
b1bbb17254 examples: remove glfw3.dll 2020-05-26 02:11:45 +02:00
Delyan Angelov
104359365f examples: fix const name warnings due to gx.White, etc... 2020-05-22 20:00:46 +03:00
yuyi
dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
Alexander Medvednikov
0f0b6a0ccd examples: minor bounce.v improvements for the demo 2020-05-04 12:26:39 +02:00
Delyan Angelov
845ffb59a6 live: use mostly pure V code for reloading, eases customization 2020-05-03 20:22:24 +03:00
Delyan Angelov
aa9bb6f71a compiler: fix -live compilation of bounce example with gcc-9 & clang 2020-05-02 02:36:29 +03:00
Delyan Angelov
d6c1ee0202 hot_reload: cleanup message.v 2020-05-02 01:14:44 +03:00
Delyan Angelov
13e0e63514 hot_reload: fix graph.v compilation 2020-05-01 14:44:22 +03:00
Tim Basel
3e4cd12fd0
.gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
Alexander Medvednikov
d5f6e37c65 fix graph.v example 2020-01-16 00:07:59 +01:00
Delyan Angelov
4838dda59a compiler: make [live] fn unlock its mutex on early return 2020-01-14 18:58:46 +01:00
Delyan Angelov
32b0225079 remove os/time references from live programs, fix warnings 2019-12-09 18:53:17 +03:00
Alexander Medvednikov
f6d06fcda2 update tests and examples after the mutability fix 2019-11-06 06:57:04 +03:00
Simon Heuser
8a31ee4b53 generic functions 2019-10-20 10:19:37 +03:00
joe-conigliaro
9a2b8a0814
compiler: move msvc compiler to -cc flag instead of -os (#2338)
* move msvc to -cc flag instead of -os

* undo unrelated change

* do first build without msvc

* remvove flags temp

* fix comment
2019-10-14 16:41:46 +11:00
joe-conigliaro
8e90724684
compiler: optimize parse_lib_imports (#2319)
* optimize parse_lib_imports
* comment unused import
2019-10-13 15:11:40 +11:00
joe-conigliaro
dd053d79b0 vlib/examples: fix gl/glfw/gg examples. rename init functions 2019-10-12 06:03:15 +03:00
Delyan Angelov
a4cbe78d97 compiler: streamline main function handling
* compiler: streamline C main function generation

* fix most tests

* compiler: fix for 'go update()' in graph.v . More precise parser error messages.

* Fix temporarily examples/hot_reload/message.v by using os inside it (os.clear).

* Make graph.v easier to quickly modify by defining y outside the loop.

* Fix failure of /v/nv/compiler/tests/defer_test.v when run with 'v -g' (#line directive was not on its own line, but right after } ).

* Do not pass the os.args to tests, even if the tests import os (they are more stable when run in a controlled environment).

* fix declared and not used in the js backend.

* fix js main => main__main too.
2019-09-28 20:42:29 +03:00
Alexander Medvednikov
bf1ee28194 ui: Objective-C @interface support for Cocoa; minor clean-ups 2019-09-23 15:54:17 +03:00
joe-conigliaro
23c84516e2 compiler: error on unused imports 2019-09-23 13:42:20 +03:00
Joe Conigliaro
2ae2ede06a fix *Type warning in examples 2019-09-04 19:48:19 +03:00
Alexander Medvednikov
707ddba143 examples: rename hot_code_reloading to hot_reload 2019-08-20 00:08:45 +03:00