17665 Commits

Author SHA1 Message Date
Felipe Pena
293dd36f92
cgen: fix const fixed array init with index (#20950) 2024-03-04 10:28:40 +02:00
Felipe Pena
a3bb422ec4
cgen: fix comptime is condition when using interface (#20952) 2024-03-04 10:20:19 +02:00
Kim Shrier
0211a0d548
doc: fix wording in the description of the #pkgconfig directive (#20956) 2024-03-04 10:12:16 +02:00
Felipe Pena
b638f587e8
cgen: fix global initializer of fixed array on gcc (#20934) 2024-03-03 23:17:52 +02:00
Hitalo Souza
ac9b724b3b
x.json2: improve performance of string encoding for unicode special characters and emojis (#20867) 2024-03-03 12:02:44 +02:00
yuyi
6fae1fad84
cgen: fix returning option call in non-option fn (#20943) 2024-03-03 11:24:03 +02:00
Kim Shrier
6e52336f0e
doc: fix minor grammar error in attribute comment (#20945) 2024-03-03 11:21:54 +02:00
Delyan Angelov
065e5e22cc
checker: silence "assigning 0 to a reference field" and "uninitialized fn struct fields" notices for @[translated]\nmodule ... files (#20938) 2024-03-02 01:33:55 +02:00
MCausc78
febc4a7eaa
checker: remove notice when shifting signed int for @[translated] (#20935) 2024-03-01 21:44:35 +02:00
GGRei
a87ba9e3ca
checker: fix some specific interface generic inference within generics struct and method (#20932) 2024-03-01 15:15:47 +02:00
Swastik Baranwal
cc443e50bb
checker: support Flags.bit ^ Flags.bit1 and ~Flags.bit (flagged enums) (fix #20925) (#20929) 2024-03-01 14:30:55 +02:00
yuyi
a2d23306c2
parser: fix formatting comptime if expr, after inc expr (fix #20927) (#20931) 2024-03-01 14:24:33 +02:00
Hitalo Souza
d5370bd220
time: microoptimise the Time formating methods (use custom number->string conversion, instead of string interpolation) (#20917) 2024-02-28 11:55:33 +02:00
johnpgr
87320f8f93
x.json2: fix encoder commas (#20916) 2024-02-27 19:55:02 +02:00
Rodrigo Abt
aa002a4019
toml: return an error from toml.parse_file(), when the passed file path does not exist (#20912) 2024-02-27 14:22:48 +02:00
Casper Küthe
d8c4a84f71
io: add a string_reader submodule (#20893) weekly.2024.09 2024-02-27 09:38:30 +02:00
Hitalo Souza
a9c10428d2
time: rename identifiers and parameter names (#20913) 2024-02-27 03:09:24 +02:00
Delyan Angelov
d2dcf6a307
sync: support more gcc version specific search locations on linux with tcc 2024-02-26 23:05:22 +02:00
johnpgr
c6048d50bf
x.json2: add skippable field attr @[json: '-'] (improve backwards compatibility with the json module) (#20892) 2024-02-26 21:05:38 +02:00
yuyi
71bd94aa9e
checker: fix checking match branch call expr twice (#20910) 2024-02-26 19:49:17 +02:00
Hitalo Souza
c9ea6226a2
picohttpparser: add tests for the Request methods (#20906) 2024-02-26 11:52:51 +02:00
Hitalo Souza
8c9003fbd3
time: add a tm_gmtoff field to C.tm (a BSD and GNU extension) (#20907) 2024-02-26 11:49:12 +02:00
Hitalo Souza
43fd568874
picoev: remove fmt off tags (#20569) 2024-02-26 09:03:03 +02:00
Swastik Baranwal
43e96ce5bb
parser: disallow defining map key more than once (#20905) 2024-02-25 22:39:56 +02:00
Hitalo Souza
9703029dbe
picoev: add more logging of errors (#20558) 2024-02-25 22:35:13 +02:00
GGRei
0367f343b0
ast,checker,cgen: fix generics function with embedded structs, ensure correct link generation in cgen (#20900) 2024-02-25 18:47:27 +02:00
yuyi
ac6231709d
cgen: fix multiple fixed array variable init (fix #20895) (#20902) 2024-02-25 18:46:34 +02:00
Alexander Medvednikov
ee045eda68 veb.auth: detailed documentation with examples 2024-02-24 15:38:46 +03:00
yuyi
1733dab29b
ast, parser, fmt: fix alias array no cast init (#20898) 2024-02-24 11:56:01 +02:00
Jan Kåre Vatne
cf7dcfe287
gg: handle dpi change, when moving window to another monitor (#20886) 2024-02-24 05:08:43 +02:00
yuyi
0514de7541
checker: fix struct field init with generic anon fn (add the test from #18294) (#20888) 2024-02-23 10:50:44 +02:00
Kim Shrier
10c2f9e010
os: don't check rdev equality on FreeBSD, inside vlib/os/os_stat_test.v (#20885) 2024-02-22 19:31:12 +02:00
yuyi
667f65bb5f
checker: check assigning immutable reference struct field (fix #20814) (#20883) 2024-02-22 19:22:13 +02:00
blackshirt
1d80cb9157
sha256,sha512: fix behavioral bug in .checksum (#20884) 2024-02-22 10:30:45 +02:00
gym603
27e6fefc5f
tests: fix init_global_test.v failing occasionally (#20879) 2024-02-21 12:50:46 +02:00
yuyi
b83ce21cc7
checker: cleanup in assign_stmt() (#20880) 2024-02-20 17:38:44 +02:00
yuyi
13fbf35f66
checker: fix struct field init with generic fn variable (fix #20847) (#20878) 2024-02-20 17:34:55 +02:00
yuyi
0b792c541a
cgen: fix comptime selector of interface (#20876) 2024-02-20 08:35:30 +02:00
Delyan Angelov
c60a869fb4
vlib: add encoding.txtar (port of Go's txtar module) (#20874) 2024-02-20 02:41:20 +02:00
Delyan Angelov
efa98d9234
parser: fix infinite loop in Parser.sql stmt in -silent -print-watched-files mode (used by v watch) (#20873) 2024-02-19 18:17:15 +02:00
gym603
d198a89897
tests: add 'aligned_attr_gcc_windows.vv' for gcc (#20870) 2024-02-19 15:21:27 +02:00
kbkpbot
50e271a77e
net: workaround a -prod -cc gcc bug (#20872) 2024-02-19 15:19:11 +02:00
Alexander Medvednikov
fffb82d0dc roadmap: update weekly.2024.08 2024-02-19 10:07:19 +03:00
Alexander Medvednikov
88bc620315 veb.auth: make work with any db 2024-02-19 10:05:10 +03:00
Alexander Medvednikov
fa7af809fc veb: a new module veb.auth for authentication logic (tokens, hashed passwords) 2024-02-18 23:23:57 +03:00
Felipe Pena
c6cc2d2fac
docs: update v.debug docs - callstack+trace (#20854) 2024-02-18 19:39:20 +02:00
Hitalo Souza
f472355ef7
json2: reorganize encode string (#20862) 2024-02-18 15:43:15 +02:00
David Legrand
2568d336f8
x.vweb: fix handling of static URL paths like /sub.folder/a_folder (#20863) 2024-02-18 15:36:22 +02:00
David Legrand
38cf923537
time: add a .http_header_string() method on Time (#20861) 2024-02-18 14:45:37 +02:00
David Legrand
2190b604a1
x.vweb: fix typos in README.md (#20856) 2024-02-17 17:59:58 +02:00