Commit Graph

981 Commits (7957ec318652f74a3c6393adc63698f84bf01469)

Author SHA1 Message Date
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
Alexander Medvednikov b5d67f226f openssl: use system headers on non-Windows systems 2019-08-07 14:09:15 +02:00
Joe Conigliaro 25d84f72a9 last mut fixes 2019-08-07 14:07:37 +02:00
Alexander Medvednikov 78c20e02ee tmp test fix 2019-08-07 13:50:28 +02:00
Alexander Medvednikov 4b86ba6f6a main.v: fix msvc 2019-08-07 13:41:40 +02:00
Alexander Medvednikov cebb6cd537 ft: minor fixes 2019-08-07 13:39:54 +02:00
Alexander Medvednikov ff6e0df0a5 array: minor fixes 2019-08-07 13:39:54 +02:00
joe-conigliaro 511a3d3901 vlib.crypto+other: fix mut args 2019-08-07 13:37:07 +02:00
Alexander Medvednikov 818c4a14e5 compiler: fix a bug with mutable array args 2019-08-07 12:36:45 +02:00
joe-conigliaro 0bcc53c366 vlib: fix mutable args 2019-08-07 09:53:33 +02:00
Alexander Medvednikov 34e0b164eb make function arguments immutable by default 2019-08-07 08:59:00 +02:00
Cody Ley-Han 06b8bd9382 Add a logger interface to the std modules 2019-08-07 08:06:53 +02:00
Delyan Angelov d072178cef v run: recompile and execute changed file.v just once. 2019-08-07 08:04:40 +02:00
Zaoqi c7312d9d1c Update Makefile 2019-08-07 06:01:03 +02:00
Alexander Medvednikov 52f473d1c7 all: fix immutable fn args 2019-08-07 05:28:00 +02:00
Alexander Medvednikov 76def48f01 compiler: make Windows headers work with clang-format 2019-08-07 05:28:00 +02:00
FoXy fa99402314 VGet: Fix for dot folder name import 2019-08-07 04:28:55 +02:00
Vitaly Takmazov 8d35649d90 openssl_backend: add MacPorts libssl path 2019-08-07 04:28:15 +02:00
Delyan Angelov 7607b00952 http: chunked decoding support 2019-08-07 03:57:47 +02:00
Alexander Medvednikov 6bde860043 http test: not today 2019-08-06 17:31:48 +02:00
Alexander Medvednikov 0851848080
Travis: windows openssl fix 2019-08-06 17:23:41 +02:00
Alexander Medvednikov 9642d03e2b
Travis: replace curl with openssl on Linux 2019-08-06 17:21:30 +02:00
Alexander Medvednikov ac335269b3 bring back the http test 2019-08-06 17:06:44 +02:00
Alexander Medvednikov 0a0bd4014c
Travis: install openssl on Windows 2019-08-06 17:03:45 +02:00
Alexander Medvednikov b7a6c761b3 openssl: make compile on Linux 2019-08-06 16:35:49 +02:00
FoXy 67d6702c1f Create VModules directory before Clone 2019-08-06 16:09:44 +02:00
joe-conigliaro 60d206c29d http: use urllib.parse 2019-08-06 14:43:09 +02:00
Alexander Medvednikov 1b2e49be1c http: disable the test until windows is fixed 2019-08-06 14:28:27 +02:00
Alexander Medvednikov 3316968266 http: only run the get test on linux/macos for now 2019-08-06 14:15:42 +02:00
Alexander Medvednikov 8b75f2125a http: init_module() to init openssl once 2019-08-06 14:03:01 +02:00
Alexander Medvednikov eece058f18 h1 2019-08-06 14:03:01 +02:00
Alexander Medvednikov e7fcc33597
Travis: macos fix 2019-08-06 13:49:13 +02:00
Alexander Medvednikov a3f7459963
Travis: install openssl on macOS 2019-08-06 13:37:25 +02:00
Alexander Medvednikov e6d4708b5a thirdparty/openssl headers 2019-08-06 13:32:09 +02:00
Alexander Medvednikov bea8f6d7e5 http: remove libcurl dependency; replace it with a simple OpenSSL backend 2019-08-06 13:32:09 +02:00
joe-conigliaro 69932758db net.urllib: update enum / const style 2019-08-06 13:01:05 +02:00
Henrixounez 347e59d604 compiler: fix scanner overflowing string on numbers without newline 2019-08-06 11:50:09 +02:00
Alexander Medvednikov 7a7b5040e2 http: fix response headers and status code; clean up ft and gg 2019-08-06 03:06:27 +02:00
Marco Böttcher ff730b4eb0 flag: allow to check the count of the free args to produce an error 2019-08-06 01:56:42 +02:00
Vitaly Takmazov 43b81688f6 socket: WSACleanup should not be called on socket close 2019-08-06 01:50:45 +02:00
catull 3f3b7665ca Makefile: fix /usr/local 2019-08-06 01:49:11 +02:00
Marco Böttcher aff8d05040 compiler: add a test case to ensure more stable local modules 2019-08-05 10:05:00 +02:00
Emily Hudson 3e31e116f3 CI: Windows - build and test both msvc and gcc (#1466) 2019-08-05 10:03:38 +02:00
Zaoqi afac2bf4de readme: Building without make: add `git clone` (#1468) 2019-08-05 09:59:48 +02:00
unknown-v 22eaceb17c http_win: set status_code ,remove unused var 2019-08-05 09:59:07 +02:00
joe-conigliaro 01c2d25ae5 compiler: rename pkg to mod and auto save file import table 2019-08-05 09:49:52 +02:00
S-YOU 5939238655 add @VMOD to resolve modules path 2019-08-05 09:42:50 +02:00