Commit Graph

1111 Commits (624a9324209555b1d68362a2153362451a61ddc1)

Author SHA1 Message Date
Joe Conigliaro 5eee980499 auto init struct map fields 2019-08-14 23:54:45 +03:00
Henrixounez 772c0c3f93 compiler: prevent string to byte cast 2019-08-14 09:48:05 +03:00
Henrixounez 437ba14521 compiler: prompts an error when accessing a map with wrong type 2019-08-14 09:46:46 +03:00
joe-conigliaro 7b48f7ac9e encoding.csv module 2019-08-14 09:45:56 +03:00
Emily Hudson f52c68a510 compiler: bootstrap with MSVC
Add make_msvc.bat to bootstrap with msvc and test it with travis
2019-08-13 23:04:20 +03:00
Delyan Angelov a0c8fa5bbc http openssl: on linux, prefer newer openssl installations when available 2019-08-13 10:49:07 +03:00
Alexander Medvednikov 89d0b75311 vweb: remove the broken test for now 2019-08-13 01:15:09 +03:00
Alexander Medvednikov 287ab1ffb0
Makefile: don't build vget (openssl dependency) 2019-08-13 01:07:21 +03:00
Alexander Medvednikov a11961b0d3 vweb: make mime_types a const 2019-08-13 01:04:26 +03:00
Alexander Medvednikov bc563930f7 string: remove abs() 2019-08-12 21:16:01 +03:00
Alexander Medvednikov ef2ab31e88 sql: only accept strings and ints for now 2019-08-12 21:07:03 +03:00
Alexander Medvednikov cba4d59712 vweb: make app_test.v compile 2019-08-12 17:38:30 +03:00
Alexander Medvednikov 6002511052 pg: remove printf 2019-08-12 16:41:41 +03:00
Alexander Medvednikov baa537bfd5
remove azure-pipelines.yml for now 2019-08-12 16:38:58 +03:00
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