Commit Graph

13347 Commits (dbc51a4579c21968c5cb4c2d7acf83ee9663ec1a)

Author SHA1 Message Date
Henrixounez 2ba1edaa80 repl: default printing fix and test 2019-08-12 16:19:56 +03:00
Emily Hudson decdd8be9f Prevent people on platforms that arent 'windows' from being able to build with msvc 2019-08-12 15:11:13 +03:00
Alexander Medvednikov 15a42f1f35 array.clone() 2019-08-12 14:41:40 +03:00
Alexander Medvednikov 32754e3b4c small sql fix 2019-08-12 14:41:40 +03:00
joe-conigliaro 8a2714b35a fix typo 2019-08-12 11:03:49 +03:00
Alexander Medvednikov e03162bf4b
readme: minor changes 2019-08-12 11:00:29 +03:00
Alexander Medvednikov 02971a7eb3
readme: simpler structure 2019-08-12 10:54:35 +03:00
Alexander Medvednikov 98b108a45c
readme: use symlink 2019-08-12 10:49:20 +03:00
Henrixounez 872aa536d8 compiler: unsigned number properly printed and converted to string
fix: array accessing now works with unsigned numbers
2019-08-12 09:15:53 +03:00
iRedMail 92cb199e8c readme: add libssl-dev on Debian/Ubuntu 2019-08-12 09:14:48 +03:00
Delyan Angelov e96f0b5409 Makefile: use simpler shell syntax. 2019-08-12 09:13:44 +03:00
Alexander Medvednikov 3c6a11eb0b fix mut_test.v 2019-08-11 22:45:21 +03:00
Zaoqi 4d44de7685 Docker: minor fixes 2019-08-11 22:41:27 +03:00
Alexander Medvednikov 8c3475b902 generate `.str()` for all arrays 2019-08-11 22:39:45 +03:00
Emily Hudson f628d6d35d Bootstrap twice on windows 2019-08-11 21:04:39 +03:00
Nick Treleaven ea30ba4555 map: remove temporary fields _keys, key_i 2019-08-11 19:43:21 +02:00
Delyan Angelov 7957ec3186 v install: fix installing a single module 2019-08-11 17:35:55 +02:00
Carlos Esquerdo Bernat d526cfc205 vweb: fix V panic: array index out of range: 1/0 2019-08-11 14:07:22 +02:00
Alexander Medvednikov 72a7eb6e35 parser: do not allow `1 % 0` 2019-08-11 14:47:34 +03:00
Stefanos Baziotis 02ea168f71 Fix deprecated error 2019-08-11 13:24:31 +02:00
Delyan Angelov 891913e182 vget: handle more errors. 2019-08-11 13:22:13 +02:00
Delyan Angelov 2197c210e7 http: remove superfluous new line in stdout, when making a http request. 2019-08-11 13:15:29 +02:00
joe-conigliaro 5a84a4e507 vlib.http: schannel cleanup. use ctx struct instead of passing args everywhere 2019-08-11 13:13:33 +02:00
Alexander Medvednikov 68a4c125c5 examples/tetris: ttf font for printing the score 2019-08-10 13:37:15 +02:00
Alexander Medvednikov 8f8e0dfad7 V ORM 2019-08-10 13:35:29 +02:00
iRedMail c67783bcd1 v install: install multiple modules in one command: 'v install m1 m2 m3 …' 2019-08-10 12:21:31 +02:00
Alexander Medvednikov a0b583d8c8 fix vget 2019-08-10 12:05:18 +02:00
Alexander Medvednikov cb1c177d49
Update README.md 2019-08-10 11:51:55 +02:00
Zaoqi 2e4e9dbc6f readme: add Debian,Manjaro,Fedora 2019-08-10 11:50:39 +02:00
iRedMail 5a76255297 Allow extra http methods with form: PUT, PATCH
- Allow extra http methods with form: PUT, PATCH
- Rename `post_form` to `form`
2019-08-10 11:44:54 +02:00
Julian Schurhammer 1864e92ff4 parser: disallow statements after a return, branch check $if, $else, switch, and loops correctly 2019-08-10 10:26:42 +02:00
Delyan Angelov 58b52aa9fb Makefile: 'make install' should build v too. 2019-08-10 10:20:59 +02:00
Alexander Medvednikov cb7e87589c
Update Makefile 2019-08-10 10:17:58 +02:00
Alexander Medvednikov 25d97ebbe4 v install: always build vget 2019-08-10 10:14:49 +02:00
joe-conigliaro a0b59783a2 vlib.http: fix http schannel & follow redirects & cleanup 2019-08-10 10:05:59 +02:00
iRedMail 2ebfc8ab73 Fix copy issue and symbol link
- Fix the issue while running `make install` on Debian 10:

```
# make install
rm -rf /usr/local/{bin/v,lib/vlang}
mkdir -p /usr/local/lib/vlang /usr/local/bin
cp -fr {v,vlib,thirdparty} /usr/local/lib/vlang
cp: cannot stat '{v,vlib,thirdparty}': No such file or directory
make: *** [Makefile:49: install] Error 1
```

- Force to create symbol link if `${PREFIX}/bin/v` already exists.
2019-08-10 08:37:25 +02:00
Alexander Medvednikov 5a80d587d5 makefile: use latest v.c 2019-08-10 08:21:32 +02:00
Rendims 45766dcb2e main: generate main body on new line
Fix issue #1551
2019-08-10 07:14:44 +02:00
Alexander Medvednikov d4441e4353 freetype: clean up new_context() 2019-08-10 07:13:25 +02:00
Alexander Medvednikov 11c2f634f3 examples/tetris: better font initialization 2019-08-10 07:13:25 +02:00
Henrixounez 7879bde8bb repl: enabled back and added automated tests
fixed typos and macos errors
2019-08-10 07:01:40 +02:00
Rendims fdb1433c24 Makefile: rebuild compiler when sources change 2019-08-10 00:11:17 +02:00
Henrixounez a81875b24b REPL: checks if EOF
Check if newline to not create empty println
2019-08-10 00:10:42 +02:00
Delyan Angelov 7d8b296943 freetype,gg: option to pass a custom font_path to freetype.new_context . 2019-08-10 00:10:26 +02:00
Vitaly Takmazov 6f03ed0b13 darwin: fix freetype include path for Homebrew and Macports 2019-08-10 00:09:15 +02:00
Henrixounez 146a9507c6 REPL: fix repl using older binary on piping
repl: delete binary files when exiting
2019-08-10 00:08:21 +02:00
Henrixounez 81cdda842c compiler: fix panic on open bracket without newline 2019-08-09 22:39:29 +02:00
Delyan Angelov 5c29a7ef7d v run: windows and repl fixes 2019-08-09 22:37:31 +02:00
Nicolas Sauzede efa540e883 examples: tetris: draw score 2019-08-09 13:03:29 +02:00
Delyan Angelov 796b9dab74 compiler: passing -show_c_cmd should always print the C compiler command. 2019-08-09 13:02:25 +02:00