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

4178 Commits

Author SHA1 Message Date
Kriyszig
801e06318f Factorial doesn't accept negative numbers
Previously factorial could accept negative number which isn't defined
2019-07-04 12:59:06 +02:00
Alexander Medvednikov
ebbd63811d
readme: move Windows instructions to a wiki 2019-07-04 12:40:07 +02:00
Alexander Medvednikov
fcf071b630
readme: Visual Studio build instructions 2019-07-04 12:36:42 +02:00
Alexander Medvednikov
d117c0a742
Update README.md 2019-07-04 02:50:33 +02:00
Alexander Medvednikov
cbd78a9bc0
Update CHANGELOG.md 2019-07-04 02:39:14 +02:00
Alexander Medvednikov
04d7b08444
V 0.1.12 changelog 2019-07-04 02:38:28 +02:00
Alexander Medvednikov
68ed555e91 V 0.1.12 2019-07-04 02:21:27 +02:00
joe-conigliaro
4d9c6197fd initial Implementation of ls() for windows 2019-07-04 02:16:39 +02:00
marco
155e1fa961 FIX #202
allow interface method with empty (void) return type

-> only look for type declaration if no new line has been
   while skipping whitespace
2019-07-04 01:04:10 +02:00
Alexander Medvednikov
7fdd94fcbb println: fix a bug with u64 etc and newlines 2019-07-04 00:54:40 +02:00
Alexander Medvednikov
1e32a4cec4 println: optimize and remove memory leaks 2019-07-04 00:40:30 +02:00
Alexander Medvednikov
5d4d3b838b StringsBuilder => strings.Builder; strings.repeat() 2019-07-03 22:18:46 +02:00
Archan Patkar
e35ff0533b math: adopted i64 in Fraction and typo fixed 2019-07-03 21:50:54 +02:00
Alexander Medvednikov
8c36b9499d make json work with new optionals 2019-07-03 21:50:06 +02:00
Alexander Medvednikov
dec0d961f5 os: clean up file functions, use optionals 2019-07-03 21:37:12 +02:00
archanpatkar
ffb4da791d math: converted gcd and lcm to support i64 2019-07-03 19:40:44 +02:00
Ivan Sharavuev
290e1df893 Move token string length from magic number to constant. 2019-07-03 18:58:50 +02:00
nxshock
b3e5c89ba9 time: add is_leap_year(year int) 2019-07-03 18:55:07 +02:00
Alexander Medvednikov
d9753ee2c6 lots of vfmt fixes 2019-07-03 16:37:21 +02:00
pverghese
05ef1e0681 Removed unnecessary printf statement which corrupts output of http.get 2019-07-03 16:13:52 +02:00
archanpatkar
5e0ae9a429 net: added listen_backlog to enable custom backlog 2019-07-03 16:13:02 +02:00
Zaoqi
015467778d Update .gitignore 2019-07-03 16:12:37 +02:00
Justice Suh
a25c4bb59f compiler: add debug flag 2019-07-03 16:10:21 +02:00
archanpatkar
4037019bb7 Added support for Fractions 2019-07-03 16:07:59 +02:00
Alexander Medvednikov
7a3b5c20dd time: fix empty unix 2019-07-03 01:27:38 +02:00
Justice Suh
5c42a31b9b os: capture signals 2019-07-02 23:08:57 +02:00
AtjonTV
ab20db8e6e look for modules in current path 2019-07-02 21:55:57 +02:00
Nick Treleaven
75da1e4240 Speed up and simplify string.replace 2019-07-02 21:51:40 +02:00
S-YOU
53e439bc99 setsockopt arg optvalue supposed to be ptr 2019-07-02 21:49:05 +02:00
Alexander Medvednikov
1bbf3a3a0c make compiler 2019-07-02 21:45:51 +02:00
Alexander Medvednikov
a9b8bc067f enums (mode == .default_mode syntax); fix foo.bar[0].baz = val 2019-07-02 21:39:26 +02:00
Justice Suh
859c8ffdb8 net: socket send and recv 2019-07-02 19:45:38 +02:00
RustemB
cd4fe63355 math: digits function; SqrtTau; extra spaces; re writed doc's to correct form; test for factorial 2019-07-02 19:19:02 +02:00
joe-conigliaro
4ed67fbe7e implement get_line & get_raw_line for windows + REPL 2019-07-02 16:39:40 +02:00
lemoncmd
b9586a4017 builtin : fix buffer overflow and i64 issue with hex() 2019-07-02 15:18:56 +02:00
yep84
b57d227aa0 Allow to parse uppercase hex number 2019-07-02 15:03:01 +02:00
jiro4989
30633ff14f Fix "Nested comments won't compile" (#908) 2019-07-02 02:19:15 +02:00
aguspiza
1cd95091f2 remove additional line from write_file 2019-07-01 23:46:06 +02:00
Henrixounez
dc8c84a2a8 compiler: tmp variables on scripts inside generated main function 2019-07-01 23:42:09 +02:00
0x9ef
01d5f4d744 Change permission from 'r' to 'rb'
it is preferable to open the file in binary mode.
2019-07-01 23:41:32 +02:00
yep84
2ca9866f86 Handle --version arg as it already do for help 2019-07-01 22:04:28 +02:00
d2verb
e27a3b65f1 Fix #898 2019-07-01 20:56:31 +02:00
0x9ef
1ca20196d0 Created os_win.v and added get_file_handle 2019-07-01 17:57:55 +02:00
Alexander Medvednikov
95841a31d4 Revert "Added permission bits."
This reverts commit ae1313a35c.
2019-07-01 17:46:28 +02:00
0x9ef
ae1313a35c Added permission bits. 2019-07-01 17:37:01 +02:00
musou1500
668646f8f9 add str function for rune 2019-07-01 17:36:23 +02:00
Justice Suh
571410dd48 net: low level socket api 2019-07-01 17:31:38 +02:00
Alexander Medvednikov
d09758f723 fix a typo 2019-07-01 17:29:29 +02:00
archanpatkar
235a7ecd7f Restructured termcolor to term module 2019-07-01 17:26:23 +02:00
Alexander Medvednikov
6ddc57c190 fix cc_windows_cross() 2019-07-01 17:23:30 +02:00