Commit Graph

1127 Commits (ad32a3770bfee9ee5ffe9152a80e49bbb94d41d4)

Author SHA1 Message Date
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
joe-conigliaro d9a83481a5 http: initial windows schannel http support 2019-08-09 12:52:14 +02:00
Alexander Medvednikov 181a39d752 fix int_test.v 2019-08-09 10:21:21 +02:00
Alexander Medvednikov ae0e3efb8e scanner: experimental ≠ etc support 2019-08-09 09:32:51 +02:00
Julian Schurhammer 6a9bda806f parser: panic and exit count as returns 2019-08-09 08:17:31 +02:00
Alexander Medvednikov fbc480fbed ft: rename to freetype 2019-08-08 16:43:11 +02:00
Alexander Medvednikov 865eee2f6b gg: remove draw_text() 2019-08-08 16:09:04 +02:00
Alexander Medvednikov 5ea1c538b6 fn: fix & argument bug 2019-08-08 16:09:04 +02:00
Alexander Medvednikov 5e7d3c6aa9
Travis: fix macos 2019-08-08 15:42:24 +02:00
Alexander Medvednikov 2f29246c3f
Travis: build Vid 2019-08-08 15:17:10 +02:00
joe-conigliaro 66ffa764dd compiler: properly add submodule to types 2019-08-08 14:35:53 +02:00
joe-conigliaro b8d37e0d53 properly add submodule to type 2019-08-08 10:33:47 +02:00
Alexander Medvednikov 27fad0f19b ft: clean up 2019-08-08 10:08:44 +02:00
Julian Schurhammer 61983a6799 parser: check that functions return in all if/else branches 2019-08-08 09:49:56 +02:00
Julian Schurhammer 28147c0930 os.exec: return ?string instead of string 2019-08-08 07:30:05 +02:00
Alexander Medvednikov 1470b3da11 parser: better immutability error messages 2019-08-08 07:00:36 +02:00
dm1try 1c38661ff7 openssl: add Brew openssl path
closes #1509
2019-08-08 06:26:28 +02:00
Emily Hudson 802ff1d012 compiler: scoped defer + build tests with msvc 2019-08-07 17:51:21 +02:00
Marco Böttcher c924a6cf00 flag: allow to define flags with abbreviation
* flag: allow to check the count of the free args to produce an error

* flag: allow to define flags with abbreviation

flags could be defined to use a single char as abbreviation like
'--output' or '-o'
'--help' or '-h'
2019-08-07 16:52:10 +02:00
Joe Conigliaro 1270e8a9f2 fix error in msvc_win 2019-08-07 16:31:19 +02:00
Alexander Medvednikov 4b69d43f9f fix examples 2019-08-07 14:16:10 +02:00