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

Commit Graph

  • 5355c67ebe vweb: document live reload Alexander Medvednikov 2023-07-08 19:29:11 +03:00
  • 4f518c2850 cgen: fix dump of map with option value fix (fix #18806) (#18813) Felipe Pena 2023-07-08 01:07:24 -03:00
  • 54635185c4 cgen: ensure that << and >> has higher precedence in the generated C code, than arithmetic operations (diff between C and V precedences) (#18814) Delyan Angelov 2023-07-08 07:02:32 +03:00
  • 17b576227f checker: change 'fail_if_immutable(expr_ ast.Expr)' to 'fail_if_immutable(mut expr ast.Expr)' (#18811) yuyi 2023-07-08 04:27:52 +08:00
  • b3a6b73306 eventbus: add generic support for event name (#18805) kbkpbot 2023-07-08 03:33:57 +08:00
  • 97a726b188 cgen: fix nested or expr call (fix #18803) (#18807) yuyi 2023-07-08 03:06:10 +08:00
  • 7fe794a974 json: fix option alias support (#18801) Felipe Pena 2023-07-07 16:03:41 -03:00
  • e7e5a07aa2 arrays: add more util functions and tests for them - find_first, find_last, join_to_string (#18784) encyclopaedia 2023-07-06 22:52:08 -05:00
  • 7d6e15fa66 net.ftp: fix dir() for file names, which contain spaces (fix #18800) (#18804) okk 2023-07-07 03:50:20 +00:00
  • ded6c38061 vlib: add a new module builtin.wchar, to ease dealing with C APIs that accept wchar_t* (#18794) Delyan Angelov 2023-07-07 02:40:11 +03:00
  • de392003be cgen: fix code generation for array.clear (#18792) Felipe Pena 2023-07-06 18:28:06 -03:00
  • 11f06e41c0 ast: clean up in types.v (#18793) yuyi 2023-07-07 05:27:21 +08:00
  • 2d838d5178 v: use autocasting in complex conditions (#18797) yuyi 2023-07-07 00:18:57 +08:00
  • b3f89e1417 ast: minor simplification of new_table() (#18795) yuyi 2023-07-06 18:51:46 +08:00
  • 8f7f2c8cf7 checker: fix try_pop with fixed array (#18789) Felipe Pena 2023-07-05 20:34:22 -03:00
  • d851ecffb7 parser: fix anonymous fns parameter checks, behaving differently than named fns (fix #18779) (#18785) Delyan Angelov 2023-07-06 02:30:26 +03:00
  • cd6330e218 parser: fix compiler error when match returns reference (#18728) (#18783) shove 2023-07-06 04:28:58 +08:00
  • 072364fc59 checker: fix interface param resolution (#18780) Felipe Pena 2023-07-05 17:26:44 -03:00
  • 4a196989a9 doc: cleanup with 'mut expr ast.Expr' (#18787) yuyi 2023-07-06 04:26:02 +08:00
  • aa61fcb3dc orm: fix inserting sequential values (id=0), in tables with an i64 primary field (#18791) Delyan Angelov 2023-07-05 23:25:22 +03:00
  • 7f8749afdd checker: change 'expr(expr_ ast.Expr)' to 'expr(mut expr ast.Expr)' (#18781) yuyi 2023-07-05 22:02:22 +08:00
  • a204fb4a68 Update ROADMAP.md Alexander Medvednikov 2023-07-05 16:59:48 +03:00
  • b0323c79ad native: move for_in_stmt to stmt.v (#18705) Eliyaan (Nopana) 2023-07-04 21:43:23 +02:00
  • 578264c815 checker: fix comptime selector evaluate when checked against type of array (#18774) Felipe Pena 2023-07-04 16:42:55 -03:00
  • 838d0e8960 contributing.md: add an optional step, describing how to setup a pre-commit hook to keep the commited code formatted automatically Delyan Angelov 2023-07-04 22:11:00 +03:00
  • 5fd0338399 checker: change smartcast(expr_ ast.Expr,..) to smartcast(mut expr ast.Expr,..) (#18777) yuyi 2023-07-04 21:29:11 +08:00
  • 52ddefbdc5 checker: fix comptime evaluation is/!is operator with typenode (#18773) Felipe Pena 2023-07-04 10:28:35 -03:00
  • 884fbb0a98 builtin: implement string_from_wide/1 and string_from_wide2/2 on *nix too (#18776) Delyan Angelov 2023-07-04 15:49:15 +03:00
  • 5d269ba703 cli: fix custom help without execute handler (#18732) Felipe Pena 2023-07-04 00:48:53 -03:00
  • 7279e49077 checker: clean up in assign_stmt() (#18759) yuyi 2023-07-04 11:48:01 +08:00
  • 2fb561ba7f checker, cgen: allow comptime ident is array of types (#18765) phoebe 2023-07-04 05:45:30 +02:00
  • 1db67f7505 checker: allow no return in compile_error else block (#18758) phoebe 2023-07-04 05:44:24 +02:00
  • 6eaa06c0c7 ci: remove the job testing that vls builds (#18762) JalonSolov 2023-07-03 23:42:28 -04:00
  • 9bf2449a7b cgen: fix memleak for [][]T{len: x}, or []Struct{len: x} (#18763) Delyan Angelov 2023-07-04 06:32:19 +03:00
  • 2e9f8e6633 docs: add compile time types (#18761) phoebe 2023-07-03 22:19:08 +02:00
  • 3f5995ace8 cgen: fix regression with unalised naming conflict with C interop (#18752) Felipe Pena 2023-07-03 17:12:20 -03:00
  • c1550b3efa ast, checker: change stmt(node_ ast.Stmt) to stmt(mut node ast.Stmt) (#18756) yuyi 2023-07-04 04:10:00 +08:00
  • ab258aebfb checker: disallow invalid prefix on left side of assign stmt (#18750) Swastik Baranwal 2023-07-03 21:24:23 +05:30
  • df3c85eb36 checker: use autocasting in complex if conditions (#18753) weekly.2023.27 yuyi 2023-07-03 16:03:05 +08:00
  • c48ae86132 cgen: fix autofree inserting string declarations for multiple functions calls (#18723) Mark aka walkingdevel 2023-07-03 05:01:55 +00:00
  • e01d973c27 checker: fix comptime "ident is type" (#18747) phoebe 2023-07-03 07:01:34 +02:00
  • ad1d5e7adb cgen: remove 'mut mut_table := unsafe { &ast.Table(g.table) }' (#18742) yuyi 2023-07-03 04:54:44 +08:00
  • fd6983fcb4 checker: fix autocast in complex if condtions 4 (#18744) yuyi 2023-07-03 04:54:17 +08:00
  • c75382ad23 term: fix typo in term_windows.c.v (#18745) Ikko Eltociear Ashimine 2023-07-03 05:53:56 +09:00
  • af38f8b3ba channels: refactor the channel_select function (#18711) Herman 2023-07-02 15:45:30 +03:00
  • 329e063752 checker: fix wrong interface parameter resolution for anonymous fn (#18724) Felipe Pena 2023-07-02 08:18:53 -03:00
  • f3942417c4 native, builder: enable processing of .v files in the builtin module (for now most functions there are blacklisted) (#18735) Spydr 2023-07-02 13:16:15 +02:00
  • 0ce3e46823 checker: disallow assigning nil to struct fields (#18725) Swastik Baranwal 2023-07-02 16:34:28 +05:30
  • 44a6741bc3 ast, checker: change check(ast.file &ast.File) to check(mut ast.file ast.File) (#18729) yuyi 2023-07-02 14:41:04 +08:00
  • a27f2ddcc3 term.ui, vweb, v: update deprecated functions (#18726) Turiiya 2023-07-02 08:38:33 +02:00
  • 5d4c2cd832 v: use autocasting in complex conditions (#18731) yuyi 2023-07-02 14:23:15 +08:00
  • 29c8aaeb89 cgen: fix selector code to use interface method table on closure when needed (#18736) Felipe Pena 2023-07-02 00:54:52 -03:00
  • 7ce96b2c41 ci: fix ./v check-md -hide-warnings changelogs0.x/0.4.md Delyan Angelov 2023-07-02 06:40:02 +03:00
  • 049d6853b7 changelog: add a missing link Alexander Medvednikov 2023-07-01 14:07:51 +03:00
  • a0ec8165ff changelog: clean up Alexander Medvednikov 2023-07-01 14:00:16 +03:00
  • e407579e99 V 0.4 0.4 Alexander Medvednikov 2023-07-01 13:50:33 +03:00
  • ee9deb121a changelog: 0.4 Alexander Medvednikov 2023-07-01 13:47:57 +03:00
  • f7da224bf3 changelog: categorize 0.3.1 changes Alexander Medvednikov 2023-07-01 13:24:41 +03:00
  • b9637273f8 changelog: categorize 0.3.2 changes Alexander Medvednikov 2023-07-01 13:18:42 +03:00
  • 43673347d4 changelog: categorize 0.3.3 changes Alexander Medvednikov 2023-07-01 13:01:36 +03:00
  • 049fa3c70f cgen: minor cleanup in ref_or_deref_arg() (#18713) yuyi 2023-07-01 17:07:53 +08:00
  • 36577eed09 checker: fix autocast in complex if conditions 3 (#18715) yuyi 2023-07-01 17:07:17 +08:00
  • 1f8e13a497 changelog: remove duplicate entry for fixed array returns (#18717) Thomas Peißl 2023-07-01 11:06:50 +02:00
  • 20c6d87fd4 fmt: fix formatting of imported static methods (#18720) Isaiah 2023-07-01 05:04:52 -04:00
  • ee429bb51d native: increase support for ast.Alias and ast.TypeOf (#18722) Spydr 2023-07-01 10:39:39 +02:00
  • 015ccc2a7f V 0.3.5 0.3.5 Alexander Medvednikov 2023-06-29 22:16:34 +03:00
  • 1c8adc87e9 changelog: 0.3.5 (p. 2) Alexander Medvednikov 2023-06-29 22:14:33 +03:00
  • 7ab11097be rand: fix edge case, when bit length is 31 and 63, add tests for rand.intn(2147483647)! etc (#18714) Subhomoy Haldar 2023-06-29 20:11:27 +01:00
  • cf323cd0ef Revert "checker: fix autocast in complex if conditions 3 (#18710)" Alexander Medvednikov 2023-06-29 21:37:11 +03:00
  • 357a4a00bf checker: fix generic infix expr type mismatch error (#18706) Turiiya 2023-06-29 20:32:21 +02:00
  • e74723c1e7 checker: fix autocast in complex if conditions 3 (#18710) yuyi 2023-06-30 02:31:40 +08:00
  • c4ba47a131 native: inital support for aliased types (#18703) Spydr 2023-06-29 20:30:48 +02:00
  • f122703a43 v: use autocasting in if conditions inside the compiler (#18708) yuyi 2023-06-30 00:37:36 +08:00
  • 85160923b6 changelog: 0.3.5 (p. 1) Alexander Medvednikov 2023-06-29 19:28:38 +03:00
  • 60f9f53e36 checker: fix autocast in complex if condtions 2 (#18702) yuyi 2023-06-29 12:01:21 +08:00
  • 7ee25843c2 db.mysql: fix the support for TIMESTAMP columns (#18704) Mark aka walkingdevel 2023-06-29 03:49:58 +00:00
  • f0fb86f76e checker,orm: skip compile-time error msg for fields tagged with [skip] and [sql: '-'] (#18700) Daniel Daudysh 2023-06-29 06:43:24 +03:00
  • 499d0526fc checker,orm: add compile error for unsupported field data types like field []int etc (#18537) Swastik Baranwal 2023-06-28 16:10:36 +05:30
  • 2b2aca6eb7 checker: fix autocast in complex if condtions (#18699) yuyi 2023-06-28 18:37:20 +08:00
  • 735654296c math.big: refactor big_test.v for scalability (#18696) phoebe 2023-06-28 12:35:13 +02:00
  • 89c56fb5ee parser, checker: fix static method naming and generic call (#18694) Felipe Pena 2023-06-28 01:07:07 -03:00
  • 83ee2827d4 cgen: fix alias to struct ptr on structinit (#18571) Felipe Pena 2023-06-28 01:02:32 -03:00
  • b2ca3ac089 net.html: fix semantic inconsistencies of tag retrieving functions (#18558) Turiiya 2023-06-27 19:10:31 +02:00
  • 1bae9e4538 math.big: minor gcd improvements/fixups and internal rsh_to_set_bit (#18569) phoebe 2023-06-27 19:09:22 +02:00
  • 8508c552d2 checker: implement autocast in if conditions (#18573) yuyi 2023-06-28 01:08:50 +08:00
  • e48b55fc80 checker: disallow Result type aliases (#18693) Swastik Baranwal 2023-06-27 22:38:37 +05:30
  • aeebb4f118 json2: small refactor (#16913) Hitalo Souza 2023-06-27 14:07:44 -03:00
  • d523bb0306 checker: fix missing check for taking address of literal value member (#18570) Felipe Pena 2023-06-27 04:54:03 -03:00
  • 3558e05bfb tests: fix reflection_sym_test.v (#18574) yuyi 2023-06-27 15:53:35 +08:00
  • 02c382569c gen.golang: fix anon fn Alexander Medvednikov 2023-06-27 02:17:09 +03:00
  • 21ccb9b48e doc: clarify new static type methods a bit Alexander Medvednikov 2023-06-27 01:38:31 +03:00
  • d52bac8ee9 doc: document new static type methods Alexander Medvednikov 2023-06-27 01:31:48 +03:00
  • 21d9730cde context, vweb: add ability to set and get values on vweb.Context (#18564) Casper Kuethe 2023-06-27 00:25:45 +02:00
  • 7a9c885b31 native: replace abs() with mathutils.abs() (#18568) Eliyaan (Nopana) 2023-06-27 00:25:12 +02:00
  • a67342d05b checker: minor cleanup in infix_expr() (#18567) yuyi 2023-06-27 06:24:46 +08:00
  • a9f8b5dadc all: static type methods Alexander Medvednikov 2023-06-27 01:23:24 +03:00
  • aacdd61e67 vls: fix official repository source (#18561) weekly.2023.26 werkzeug 2023-06-26 09:40:44 +02:00
  • dd24e8a63e vpm: fix installation of mixed modules (#18545) Artem Yurchenko 2023-06-25 21:31:39 +02:00
  • ec35d76574 cgen: cleanup return comments in generated code after dbd2517 (-32KB for v.c) Delyan Angelov 2023-06-24 10:16:21 +03:00
  • 1ee83bf639 checker: disallow using Result !Type as a map[Key]!Type (#18543) Felipe Pena 2023-06-25 03:51:10 -03:00