480 Commits

Author SHA1 Message Date
Hitalo Souza
cd244757db
x.json2: update tests to integrate decoder2 in json2 (#24551) 2025-05-29 13:01:50 +03:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Delyan Angelov
e983d75b64
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +02:00
Delyan Angelov
a189d7f8e8
net: fix resolving of ::1:48872 (pass the *should_listen_on_both_ipv4_and_ipv6_by_default_test.v tests) (#22715) 2024-10-31 18:22:25 +02:00
yuyi
e97036a25b
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159) (#22547) 2024-10-17 11:04:23 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
Alexander Medvednikov
c004d0c899 examples: migrate vweb examples to veb 2024-09-17 09:15:07 +03:00
yuyi
cc7665ff32
tests: add a test for short enum syntax across modules (related #12183) (#22210) 2024-09-13 17:07:01 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
Carlos Esquerdo Bernat
8ebc288972
vweb: mark vweb as deprecated in its README, recommending using veb instead (#22131) 2024-08-30 14:32:44 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Delyan Angelov
a741db43f3
checker: add a deprecation warning for const () groups (an error after 2025-01-01) (#22019) 2024-08-10 22:04:49 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Delyan Angelov
fbdc992b30
net.http, veb, vweb, x.vweb: add mime type text/x-vlang, for .v and .vsh file extensions (#21851) 2024-07-12 14:23:50 +03:00
yuyi
209063ffd0
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
poggingfish
1a685c30aa
vweb, veb, x.vweb: add m3u8 MIME type application/vnd.apple.mpegurl for multimedia playlists (#21688) 2024-06-16 22:21:43 +03:00
Turiiya
dfc0c91295
checker: turn warnings for private fields into errors (#21296) 2024-06-09 10:19:52 +03:00
Delyan Angelov
dbc6b50cda
vlib: make ./v -Wimpure-v -W test vlib/ pass on Linux (#21554) 2024-05-23 16:21:01 +03:00
Delyan Angelov
3a3a1085cf
builtin: simplify MessageError.msg() (#21524) 2024-05-18 22:36:24 +03:00
Turiiya
8aa9314a99
vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
Turiiya
1363cc85fd
time: update unix time acces, fix issues related to deviating unix times (#21293) 2024-04-17 00:33:37 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Delyan Angelov
cd0e0b18ea
ci: mark both vweb and x.vweb versions of vweb_should_listen_on_both_ipv4_and_ipv6_by_default_test.v as flaky
Both started failing randomly near a1d4712b from 2024-04-02 (mainly on the macos runner).
2024-04-04 16:15:47 +03:00
Delyan Angelov
4d24f8c3fc
ci: change listen ports in vweb_should_listen_on_both_ipv4_and_ipv6_by_default_test.v for both vweb and x.vweb, to reduce probability of network errors 2024-04-03 17:51:02 +03:00
Kim Shrier
ecbd214ee1
vweb, x.vweb: improve descriptions (#21155) 2024-04-01 19:48:46 +03:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Alexander Medvednikov
fa7af809fc veb: a new module veb.auth for authentication logic (tokens, hashed passwords) 2024-02-18 23:23:57 +03:00
GGRei
2f4858c5f7
dtm: redesign certain parts (#20735) 2024-02-06 18:16:18 +02:00
GGRei
07016fb3d5
vlib: add a new Dynamic Template Manager module in x.templating.dtm and an example vweb server that uses it (#20468) 2024-02-02 16:14:51 +02:00
Kim Shrier
7e5ffb71d6
vweb: fix typo in README.md (#20679) 2024-01-28 01:34:01 +02:00
Casper Küthe
8714233f79
vweb, x.vweb: update error checking for new error io.Eof (#20656) 2024-01-26 02:47:25 +02:00
Guilherme J. Tramontina
d750d1f5a0
vweb: fix quickstart docs in the module's README.md on how to create a new vweb project (#20644) 2024-01-24 18:41:05 +02:00
Muhammad Saleh Solahudin
7b6349f0a4
vweb,x.vweb: fix typos in README files (#20604) 2024-01-21 11:48:04 +02:00
Delyan Angelov
3a66355d5d
vweb: make vweb_test.v more robust and faster, by embedding its server as a module 2024-01-16 10:27:50 +02:00
Hitalo Souza
3b19864aa3
vweb: fix routes without results in vweb_app_test.v (#20548) 2024-01-15 22:00:07 +02:00
Delyan Angelov
6cfca66e73
vweb: add an optional Context.before_accept_loop/0 method, to make testing easier and more robust (#20538) 2024-01-15 11:42:41 +02:00
Delyan Angelov
fc9b743c27
vweb: partial revert of fd19458, so that vweb.run listens again on both ipv4 and ipv6, by default, not just on ipv6 ::1 2024-01-14 23:59:45 +02:00
Carlos Esquerdo Bernat
fd19458ca7
vweb: unify listen addres from tcp and print (#20448) 2024-01-14 11:13:37 +02:00
shove
abc9e06ed1
net.urllib: fix parsing url error, when querypath is '//' (fix #20476) (#20504) 2024-01-12 22:51:48 +02:00
Juan de Bruin
d3e62b4f24
vweb: update docstrings for response functions (#20422) 2024-01-07 05:13:18 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Delyan Angelov
423b34f03e
vweb: support a startup_message field too in app.run_at 2023-12-11 16:55:22 +02:00
balloondude2
d9e9c71b29
vweb: add an optional parameter to the .redirect/2 method, to be able to set the http code for the redirects (#20082) 2023-12-04 13:33:31 +02:00
Alexander Medvednikov
51bb2768ca vweb: .html('custom_template.html') 2023-11-26 03:01:48 +03:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
b347f546f2
all: update remaining deprecated attr syntax (#19908) 2023-11-17 12:03:51 +02:00
Joe C
1e3d38255f
parser: deprecate old attribute syntax & update remaining (missed) attributes (#19879) 2023-11-15 13:07:59 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
koplenov
b5673c6172
vweb: add the mime type for .toml files (#19875) 2023-11-14 23:02:38 +02:00