Delyan Angelov
2d86c50d49
ci: fix autobahn integration tests job
2021-01-26 20:12:12 +02:00
Delyan Angelov
e5a84719ca
all: require calling optfn() ?
/ optfn() or {...}
for fn optfn() ? {}
2021-01-26 16:43:17 +02:00
Delyan Angelov
728344ff65
ci: fix v test-cleancode
2021-01-25 12:55:01 +02:00
Tomas Hellström
39e5f6e9df
x.websocket: websocket server fix and bring back server autobahn ( #8291 )
2021-01-23 16:56:38 +01:00
Alexander Medvednikov
d991712b3c
gg: native rendering mode on macOS
2021-01-23 10:25:43 +01:00
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping ( #8201 )
2021-01-23 10:33:22 +02:00
Tomas Hellström
970c03987d
ci: temporarily comment the server tests for autobahn ( #8272 )
2021-01-22 22:30:53 +02:00
Delyan Angelov
d92f5c55ba
net: use mut and refs as receivers consistently ( #8205 )
2021-01-20 11:11:01 +01:00
Tomas Hellström
da93666cd8
x.websocket: bring back shift operators ( #8197 )
2021-01-19 10:42:59 +01:00
Tomas Hellström
874885c87d
x.websocket: fix weird shift operator bug in clang -prod flag ( #8192 )
2021-01-19 05:49:37 +01:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 ( #8029 )
2021-01-18 13:20:06 +01:00
penguindark
ee9f9c9d81
x.ttf: add README, some improvements ( #8157 )
2021-01-17 03:11:47 +01:00
Daniel Däschle
53941c4a0a
fmt: fix if cond break readability ( #8132 )
2021-01-16 02:12:17 +01:00
penguindark
1d1fda9522
x.ttf: fix for the MSVC get_string
pointer issue ( #8139 )
...
* fix tab and spaces in indentation
* fix for glyph not found error
* fix for get_String in ttf.v pointer problems with MSVC
* avoid second return in get_string
* move from u32 to u64 to byteptr in 64 bit systems
2021-01-15 20:40:56 +02:00
Daniel Däschle
3289dff7ff
checker: require explicit return none ( #8060 )
2021-01-12 11:43:55 +01:00
zakuro
33694665f0
fmt: align each contiguous field of struct. not the whole. ( #7981 )
2021-01-12 04:38:43 +01:00
penguindark
55e3e50b9b
ttf: improvement on not found glyphs ( #8050 )
2021-01-12 00:49:58 +01:00
Tomas Hellström
cc17f145c5
websocket: make compile with autofree ( #8023 )
2021-01-11 09:03:10 +01:00
Delyan Angelov
692a718428
examples: use os.resource_abs_path, so v run examples/ttf_font/example_ttf.v
works
2021-01-10 20:36:50 +02:00
penguindark
c067cc0357
vlib: add a TTF font loader and render in x.ttf
( #7995 )
2021-01-10 20:14:41 +02:00
Uwe Krüger
cbe7740d97
fmt: do not generate import
statements for auto imports ( #7966 )
2021-01-08 17:42:40 +01:00
Swastik Baranwal
9291fb5e0c
checker: disallow comparison between enum and int ( #7886 )
2021-01-08 17:41:52 +01:00
Tomas Hellström
f9a873736e
x.websocket: server broadcast plus examples ( #7922 )
2021-01-06 15:43:54 +01:00
zakuro
dd516858d4
fmt: align struct field comments ( #7632 )
2021-01-03 21:10:25 +01:00
Swastik Baranwal
a9ab79d301
checker: ban any_int/any_float outside buitlin ( #7675 )
2020-12-31 12:41:30 +01:00
joe-conigliaro
02965e753e
all: re-implement variadics using arrays & implement array decomposition to varg ( #7689 )
2020-12-29 16:14:08 +01:00
Lukas Neubert
ef6011b94c
fmt: keep comments after struct decl default value ( #7648 )
2020-12-28 15:38:21 +02:00
Delyan Angelov
b7a5dbf7b4
test-cleancode: add the rest of vlib/x/websocket/
2020-12-28 07:25:46 +02:00
Delyan Angelov
b65353794c
ci: run vfmt over websocket_client.v and websocket_server.v
2020-12-28 07:14:06 +02:00
Alexander Medvednikov
bd67b647f2
websocket: vfmt
2020-12-28 01:06:57 +01:00
Tomas Hellström
3eb1550b43
x.websocket: Fixes wss connection failures to certain addresses ( #7247 )
2020-12-11 02:04:12 +02:00
Lukas Neubert
8adb1acf31
check-md: verify code example formatting ( #7143 )
2020-12-05 22:54:41 +01:00
Tomas Hellström
d12f5f7ba0
x.websocket: vdoc ( #7091 )
2020-12-04 01:52:26 +01:00
Tomas Hellström
7c394b9d58
x.websocket: docs and cleanup ( #7078 )
2020-12-02 04:02:53 +01:00
Ned Palacios
54e03f60b9
x.json2: remove builder methods ( #7008 )
2020-12-01 16:23:59 +02:00
Ned Palacios
6c634086b0
json2: decode fn returns ?T
; add new tests ( #6933 )
2020-11-29 14:54:45 +01:00
Takahiro Yaota
258f8f6af9
parser: report unused expression error in if and or blocks ( #6953 )
2020-11-26 00:28:41 +01:00
Daniel Däschle
7d6f97259f
all: refactor UnionSumType to SumType ( #6944 )
2020-11-25 13:09:40 +02:00
Daniel Däschle
aa6303f0b2
all: use the new types with old syntax ( #6922 )
2020-11-24 13:58:29 +01:00
Tomas Hellström
155aa6dac5
x.websocket: fix autobahn tests for wss and wss close behavor ( #6901 )
2020-11-21 15:45:45 +02:00
Delyan Angelov
3c4b87bfec
checker: add check against fn test_opt() ?{}
2020-11-20 15:12:53 +02:00
Lukas Neubert
df4165c7ee
docs_ci: check all md files except thirdparty ( #6855 )
2020-11-18 18:28:28 +01:00
Anton Zavodchikov
6d99f0af50
x.websocket: expose log field ( #6866 )
2020-11-18 18:22:44 +01:00
Carlos Esquerdo Bernat
b4ae332e0c
web socket: fix wss
2020-11-18 18:21:49 +01:00
Emily Hudson
cd2a2cef25
vlib/net: add buffered IO, x.net -> net ( #6754 )
2020-11-15 22:54:47 +02:00
Anton Zavodchikov
fe3d2a9aba
json2: unescape characters ( #6836 )
2020-11-15 14:58:17 +02:00
div72
b0053d8910
x.json2: change default number type to i64 ( #6773 )
2020-11-09 07:37:53 +01:00
Carlos Esquerdo Bernat
ba366b126f
ws: handle close on client quit ( #6776 )
2020-11-08 20:36:42 +02:00
Tomas Hellström
68cfbd6d66
websocket: fix autobahn test to always use latest v( #6780 )
2020-11-08 17:46:06 +01:00
Tomas Hellström
b47c23b73e
x.websocket: fix the uri port parsing problem. Make failures more informative ( #6775 )
2020-11-07 18:14:33 +02:00