1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

965 Commits

Author SHA1 Message Date
Delyan Angelov
f1373874ef compiler: fix issue #1350 - an error is produced, when a void fn returns a value 2019-07-29 16:35:56 +02:00
Mike 'Fuzzy' Partin
ff72d9104d log: added timestamps 2019-07-29 16:34:22 +02:00
joe-conigliaro
d87030972e crypto: use new copy & clone 2019-07-29 16:33:35 +02:00
Richard Warburton
6701c3b263 Fixes #1362 2019-07-29 16:32:39 +02:00
Vitalie Ciubotaru
4100cca613 bf: fix a bug in bf.resize() (var name coincides with function name) 2019-07-29 16:31:48 +02:00
Alvydas Vitkauskas
8484de86c7 fix #1353 os.get_line 2019-07-29 04:44:54 +02:00
joe-conigliaro
45029f8c86 term: move enable_term_color_win() to colors_win.v 2019-07-29 04:44:21 +02:00
joe-conigliaro
1a22482c09 move module tests 2019-07-28 17:20:24 +02:00
joe-conigliaro
df06eee5e8 fn copy(dst, src) []byte 2019-07-28 17:19:59 +02:00
joe-conigliaro
c7edeb00a8 term: add better error detection on Windows 2019-07-28 17:19:03 +02:00
Joe Conigliaro
2a30564ed1 fix 2019-07-28 17:15:24 +02:00
Alexander Medvednikov
dbb64ec149 Revert "modules: fix "is not a directory" error"
This reverts commit d38940ad57.
2019-07-28 01:22:15 +02:00
Alexander Medvednikov
d38940ad57 modules: fix "is not a directory" error 2019-07-28 01:11:38 +02:00
Delyan Angelov
9cd2d68505 Fix #1334. Module glfw now imports gl. 2019-07-27 18:36:33 +02:00
Alexander Medvednikov
b0913dc5a8
print "running [exe name]" only in verbose mode 2019-07-27 16:42:17 +02:00
F1ssi0N
720648703b Hack interfaces into working with arguments 2019-07-27 16:30:57 +02:00
joe-conigliaro
26a1762156 make empty module dir error less confusing 2019-07-27 02:18:56 +02:00
Martin Rauscher
80ec11edcb use /opt/ instead of /etc/ for binary storage 2019-07-27 01:15:20 +02:00
Joe Conigliaro
3850227b46 use mod var 2019-07-27 01:14:35 +02:00
joe-conigliaro
7b95f09f86 detect import of non existent modules 2019-07-26 18:24:40 +02:00
joe-conigliaro
979917144f internal modules 2019-07-26 18:02:58 +02:00
joe-conigliaro
920ac3f92e crypto.rc4 module 2019-07-26 16:48:49 +02:00
Emily Hudson
90bb48db5d interactive debugging 2019-07-26 16:45:16 +02:00
Martin Rauscher
8b195ba32a Make building with docker more effecient
- cleaning up apt cache will reduce image size
- doing COPY after apt will allow to reuse previous layer on recompile
2019-07-25 22:16:19 +02:00
joe-conigliaro
ebf858b9ae crypto: remove unnecessary casts and comments 2019-07-25 18:41:38 +02:00
Joe Conigliaro
655cad58b2 add note & fix typo 2019-07-25 18:13:29 +02:00
Alexander Medvednikov
20a885ff1d []byte.clone() 2019-07-25 18:07:25 +02:00
Alexander Medvednikov
d8b83bdd00 crypto: add Go's license 2019-07-25 18:07:25 +02:00
joe-conigliaro
61f3982ee8 crypto.aes module 2019-07-25 17:49:57 +02:00
Alexander Medvednikov
f7530234c7 fix Windows build 2019-07-25 15:05:44 +02:00
Alexander Medvednikov
2ac579ca0a wrap up the new mut check 2019-07-25 14:13:35 +02:00
Alexander Medvednikov
ceb0139329 fix tests 2019-07-25 14:06:26 +02:00
Alexander Medvednikov
2ad0d0200d make the new mut check work with fn foo(mut bar) 2019-07-25 14:04:45 +02:00
Alexander Medvednikov
9ccd3bde01 do not allow declaring a mutable variable if it's never modified 2019-07-25 13:44:34 +02:00
Emily Hudson
dbf027acb8 MSVC: Use vswhere instead of mscrazy (#1307)
* Use vswhere + our own reg stuff instead of microsoft_craziness

* Cleanup code

* HKEY is a pointer so RegKey should be a pointer
2019-07-25 12:29:24 +02:00
Delyan Angelov
61fea2d82a #! support on Unix systems 2019-07-25 12:27:59 +02:00
unknown-v
082098ab67 sync_win.v : Add a Missing Closing Bracket 2019-07-25 12:25:38 +02:00
Mike 'Fuzzy' Partin
094f097e26 test.zsh: Renamed and made more portable 2019-07-25 12:25:12 +02:00
Alexander Medvednikov
3a8cdadcf5 free strings 2019-07-25 01:22:45 +02:00
Alexander Medvednikov
d1b732cbcc function argument benchmark 2019-07-25 00:13:54 +02:00
Alexander Medvednikov
9837d6cf69 fix option_test.v 2019-07-24 22:49:16 +02:00
Alexander Medvednikov
299d41e3b9 os: fix a memory leak in File.write(string) 2019-07-24 22:47:06 +02:00
Alexander Medvednikov
d2b33397cc optionals: better errors 2019-07-24 22:41:46 +02:00
0x9ef
a3e9a36553 Fix returned hash sum type 2019-07-24 20:29:11 +02:00
F1ssi0N
ca70d1f8a3 os: Make windows allocations more consistent & LocalFree args_list
if max is 512 then allocate `max * sizeof(wchar_t)`
2019-07-24 19:10:06 +02:00
F1ssi0N
f8bc893972 Re-add the case for msvc now that it is a valid comp-time option 2019-07-24 18:14:44 +02:00
AtjonTV
99355ae8b2 os: Implement a read-all for STDIN 2019-07-24 18:14:13 +02:00
Alexander Medvednikov
505f784047 fix log example 2019-07-24 17:59:54 +02:00
yep84
94a599d630 log: allow file logging 2019-07-24 17:50:29 +02:00
Emily Hudson
049d78a78d Change CGen so that v.c is compileable with msvc 2019-07-24 17:46:41 +02:00