Commit Graph

51 Commits (1ba5996404d43531562820db3c8a709a438abc59)

Author SHA1 Message Date
Delyan Angelov e534f8507b vlib: minor tweaks for various module imports, needed for vdoc 2020-06-06 19:14:10 +03:00
yuyi dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
yuyi 7f4cf08516
parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
Enzo Baldisserri f44a40eee0
checker: check incorrect names 2020-05-16 16:12:23 +02:00
Delyan Angelov 1318c27699 tetris: it now works with v2 (on linux) :-) 2020-04-16 13:30:40 +03:00
Delyan Angelov 554d87f5b0 tetris: part 1 of fixing compilation with v2 2020-04-16 12:37:59 +03:00
Delyan Angelov 4b3c44cfd7 Revert "tetris: part 1 of fixing building it with v2"
This reverts commit d42725aafe.
2020-04-16 01:16:54 +03:00
Delyan Angelov d42725aafe tetris: part 1 of fixing building it with v2 2020-04-16 00:35:16 +03:00
Alexander Medvednikov c0d4503f25 gl/glfw: update C definitions 2020-04-04 12:56:35 +02:00
Alexander Medvednikov 07ea1eff81 glfw: more fn definitions 2020-04-02 02:02:12 +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
yuyi 9fb218d379
glfw: temporary fix 2020-03-28 12:47:24 +01:00
yuyi 6892a3e0a8
glfw: remove excess `glfw.` in module glfw 2020-03-26 17:32:08 +01:00
yuyi aa0643f785
glfw: fix mut scale bug 2020-03-25 13:44:21 +01:00
Chris e78b97652b
glfw: fix "scale is declared as mutable" 2020-03-22 18:39:17 +01:00
Delyan Angelov ba088056ed
solaris: make 'v test-compiler' pass (stage 2) 2020-03-21 09:48:02 +01:00
yuyi 5ae04dca84
glfw: remove global scale variable 2020-03-16 15:44:26 +01:00
yuyi a121dfd23a
glfw: high dpi on windows 2020-03-15 01:16:55 +01:00
vitalyster 0df6eaa927
"#flag mingw ..." support 2020-03-12 18:20:19 +01:00
yuyi 3f67ba08b1
glfw, freetype: remove the display of general information 2020-03-03 14:41:26 +01:00
origel 4d6958381d
glfw: window add set resize callback method 2020-02-04 05:40:16 +01:00
Delyan Angelov e9d3134814 glfw: implement glfw.window.set_should_close 2020-01-26 23:33:12 +01:00
Shun Sakai c8c43a2475 update copyright year 2020-01-23 21:04:46 +01:00
Delyan Angelov f317b65808 ui: fixes so that the ui demo works on linux too
* Implement os.resource_abs_path/1 .
* Implement glfw.get_window_size and glfw.get_framebuffer_size .
2020-01-12 19:35:06 +01:00
Alexander Medvednikov b6c0b22742 interfaces fixes; freetype.text_width(); gl and stbi fixes 2020-01-12 16:11:28 +01:00
vitalyster 3f0f8bac49 windows: do not link gdi32/shell32 to console applications
* read os.args from argv when we have console
* dynamically load CommandLineToArgvW when we are GUI app
* link gdi32/shell32 in glfw module
2019-12-27 11:27:19 +03:00
Alexander Medvednikov 759644ab36 examples: empty gg/freetype project 2019-11-20 07:26:52 +03:00
Alexander Medvednikov 9cddf22fff glfw: make two structs public 2019-10-27 21:23:33 +03:00
Alexander Medvednikov efdadc3758 tetris/glfw: fix warnings 2019-10-27 10:13:40 +03:00
joe-conigliaro fe17dd9a7e
vlib: make more structs, consts, & enums public 2019-10-24 22:35:11 +11:00
joe-conigliaro dd053d79b0 vlib/examples: fix gl/glfw/gg examples. rename init functions 2019-10-12 06:03:15 +03:00
sunnylcw 4b03abdaff compiler: enable FreeBSD's cflags for freetype & glfw 2019-09-28 14:18:04 +03:00
joe-conigliaro 23c84516e2 compiler: error on unused imports 2019-09-23 13:42:20 +03:00
vitalyster f7a0fefe27 glfw: printf -> println 2019-09-16 21:07:34 +03:00
Alexander Medvednikov dcc42c858b glfw: GPU driver info 2019-09-08 15:54:16 +03:00
Delyan Angelov ecb661f719 tetris: fix &Foo instead of *Foo warnings. 2019-09-03 11:39:06 +03:00
Alexander Medvednikov af5b2e1b3c glfw: make Pos fields public 2019-09-01 07:09:18 +03:00
Alexander Medvednikov f61b14584a remove "import const" everywhere 2019-08-23 00:09:03 +03:00
Nicolas Sauzede 4760fea489 examples/tetris: use better unique colors, implement game over/pause 2019-08-17 02:56:09 +03:00
Alexander Medvednikov dc9cebe26c orm fixes; glfw: remove C code 2019-08-16 09:10:03 +03:00
Alexander Medvednikov 8990eb06ec Revert "remove vlib/glfw (it's a vpm module now)"
This reverts commit cdfc4c8372.
2019-08-02 11:33:49 +02:00
Alexander Medvednikov cdfc4c8372 remove vlib/glfw (it's a vpm module now) 2019-08-01 17:31:04 +02:00
Vitaly Takmazov 468aac9750 glfw: add MacPorts library path 2019-07-30 03:49:12 +02:00
Delyan Angelov 9cd2d68505 Fix #1334. Module glfw now imports gl. 2019-07-27 18:36:33 +02:00
Jonathan Vice d69bac5565 glfw: fix typo 2019-07-23 18:27:53 +02:00
Alexander Medvednikov 975286302c fix Tetris onkeydown 2019-07-21 11:56:43 +02:00
Alexander Medvednikov b36a9f7e55 glfw always on top 2019-07-15 19:23:09 +02:00
Alexander Medvednikov 28d379dc7b make glfw work on Windows 2019-07-12 05:04:27 +02:00
Alexander Medvednikov f834644db4 make gg work on Windows; prebuild glad and cJSON; new ft module 2019-07-12 04:50:14 +02:00