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

3470 Commits

Author SHA1 Message Date
Henrixounez
c83ebe2c66 compiler & builtin: bitshifts CAO fix and C code removal in utf8
utf8: removed bitshift cao in code

utf8: added pub on functions

utf8: byteptr to voidptr

utf8: converts voidptr to byteptr
2019-06-27 15:10:28 +02:00
Alexander Medvednikov
959cc2ea03 some more tests 2019-06-27 15:01:09 +02:00
musou1500
8c4f7749df add setenv, unsetenv function to os 2019-06-27 13:51:03 +02:00
lutherwenxu
b464adec43 Add the log example to .gitignore of examples
The compiled log file should no longer cause a file to be added to the git repo during `make test`.
2019-06-27 13:49:57 +02:00
Alexander Medvednikov
76bf732e63 builtin: public/private functions, remove lots of duplicate functionality
(string.eq, compare_strings, etc)
2019-06-27 13:29:31 +02:00
Alexander Medvednikov
b846d02cb2 V 0.1.5 2019-06-27 12:52:06 +02:00
Alexander Medvednikov
b018237c72 1 2019-06-27 12:51:53 +02:00
Alexander Medvednikov
90c0791345 replace ugly tos2(bytes) with string(bytes) 2019-06-27 12:50:02 +02:00
Henrixounez
fda7caef93 os.v: getline fixed conditional jump on uninitialized values 2019-06-27 12:14:33 +02:00
Alexander Medvednikov
b61d2ac346 Revert "compiler & builtin: bitshifts CAO fix and C code removal in utf8"
This reverts commit 223c35ffb9.
2019-06-27 12:06:32 +02:00
ofunc
2ee6ca1b8b Rewrite time module 2019-06-27 12:02:47 +02:00
Henrixounez
223c35ffb9 compiler & builtin: bitshifts CAO fix and C code removal in utf8 2019-06-27 12:01:48 +02:00
Json Lee
e8238ee16e fix README faster build 2019-06-27 12:01:15 +02:00
Ryota Ikezawa
1b8e2785ea 👍 Continuous integration; runs build on every pull requests 2019-06-27 12:00:44 +02:00
Alexander Medvednikov
cc1ecd1996 Revert "add unsetenv, setenv, clearenv to os module (#583)"
This reverts commit 6cb5eee1b2.
2019-06-27 02:27:54 +02:00
drswinghead
7ca00c8f5e Fix decl c struct follow a v struct
struct C.CURL

struct Curl {
    h *C.CURL
}
2019-06-27 02:25:39 +02:00
musou1500
6cb5eee1b2 add unsetenv, setenv, clearenv to os module (#583) 2019-06-27 02:24:09 +02:00
wfhtqp
9ac653c3e3 add log and rename colors 2019-06-27 02:20:04 +02:00
Undumendil
d1a1f74d33 Make string.index() use a linear KMP search 2019-06-27 02:18:10 +02:00
Alexander Medvednikov
fc7ac25a98 Revert "Revert "getline: check if newline at the end to not cut end of line""
This reverts commit bda50e96f0.
2019-06-27 02:12:50 +02:00
Alexander Medvednikov
b9011804fc Revert "removed bits C code inside utf8 builtin"
This reverts commit f6a401aa02.
2019-06-27 02:12:28 +02:00
Alexander Medvednikov
bda50e96f0 Revert "getline: check if newline at the end to not cut end of line"
This reverts commit d24be8cf6c.
2019-06-27 02:11:07 +02:00
Henrixounez
f6a401aa02 removed bits C code inside utf8 builtin 2019-06-27 02:10:15 +02:00
Henrixounez
d24be8cf6c getline: check if newline at the end to not cut end of line 2019-06-27 02:08:36 +02:00
thomas-senechal
e57fbeee41 examples: VCasino 2019-06-27 02:05:05 +02:00
Robin Martijn
a409a60b11 string.reverse() (#641) 2019-06-27 02:03:19 +02:00
Henrixounez
8b3802d9b8 help: cleaner help informations
help: added repl informations
2019-06-27 02:00:08 +02:00
Henrixounez
b1183dfe2c parser: prompt error if struct is made public and if pub is wrongly used
added *yet* to the pub struct error
2019-06-27 01:56:19 +02:00
Alexander Medvednikov
7e641cd5ba structure printing: minor fixes 2019-06-27 01:55:37 +02:00
Henrixounez
40df91fc08 compiler: added structure printing capabilities 2019-06-27 01:47:45 +02:00
Alexander Medvednikov
694b34a995
Update azure-pipelines.yml 2019-06-27 01:37:12 +02:00
Alexander Medvednikov
4fe5a13239
Update azure-pipelines.yml 2019-06-27 01:32:39 +02:00
Alexander Medvednikov
7cd771af24
Update azure-pipelines.yml 2019-06-27 01:30:40 +02:00
Alexander Medvednikov
c7e2c4a353
Update azure-pipelines.yml 2019-06-26 23:00:08 +02:00
Bowero
821c5934cc Changed position and made function public 2019-06-26 22:23:21 +02:00
Bowero
7ff0e48434 Added option to clear screen / clear() 2019-06-26 22:23:21 +02:00
Henrixounez
142d3deab4 base64: make encode and decode public 2019-06-26 22:22:06 +02:00
Henrixounez
c1400f725f parsing: fixed compound assignment operator bug on for loops 2019-06-26 22:21:54 +02:00
Alexander Medvednikov
ef737c5e61 parser.v: document "e" check 2019-06-26 21:44:08 +02:00
Henrixounez
6c7eaa7fd3 parser: fixed problem hexa being casted into float 2019-06-26 21:39:30 +02:00
Alexander Medvednikov
ee09cde583 CI test successful 2019-06-26 21:36:44 +02:00
Alexander Medvednikov
fcf60306c4 CI test: break tetris 2019-06-26 21:33:21 +02:00
Alexander Medvednikov
876715dd2a
Update azure-pipelines.yml 2019-06-26 21:24:27 +02:00
Alexander Medvednikov
2de24de948
Update .travis.yml 2019-06-26 21:14:31 +02:00
Alexander Medvednikov
bec44af7fc
Update .travis.yml 2019-06-26 21:05:10 +02:00
Alexander Medvednikov
eee8838078
Update azure-pipelines.yml 2019-06-26 21:02:30 +02:00
Alexander Medvednikov
14936e8ee8
Update azure-pipelines.yml 2019-06-26 20:59:14 +02:00
Alexander Medvednikov
55c78b67b8
Update azure-pipelines.yml 2019-06-26 20:54:47 +02:00
Alexander Medvednikov
5e89c1399a make test: build examples 2019-06-26 20:44:20 +02:00
shamofu
5177e11a98 Add Travis build status 2019-06-26 19:38:41 +02:00